@media (max-width: 1300px){
/*    mobile menu */
    .header-menu .header-search form,
    .header-menu .header-nav,
    .header-menu .header-professionals {
        display: none;
    }
    .header-search {
        padding: 0;
    }
    .header-compare {
        margin: auto;
        padding: 10px 15px;
    }
    .header-button {
        display: inline-block;
        margin: 23px 0 0 15px;
    }
    .mobile-menu-top .search-input {
        width: 168px;
    }
    .mobile-menu-ul {
        margin: 10px 0;
    }
    .mobile-menu-li {
        list-style-type: none;
        border-bottom: 1px solid #ddd;
    }
    .mobile-menu-a {
        display: inline-block;
        padding: 5px 14px;
    }
    .header-professionals-ul {
        position: relative;
        display: inline-block;
        top: 0;
        margin-top: 20px;
        padding: 20px 10px;
        min-width: 220px;
    }
    .content-container .width {
        padding: 0;
    }
    .partner-logo {
        width: 320px;
    }
    .banner {
        padding-bottom: 30px;
    }
    .search {
        width: 100%;
    }
    .search-button {
        width: 58px;
    }
    
    
    .team {
        width: 50%;
        padding: 15px 0;
    }
    .about-row-content-logotype {padding-right: 0;}
}


@media (max-width: 1280px) {
    .green-message {
        padding: 70px 20px;
    }
}


@media (max-width: 1220px) {
    .main {
        width: 100%;
    }
    .categories-item {
        width: 32%;
    }
    .banner-title {
        width: 100%;
        max-width: 100%;
    }
    .more-price .table-row {min-width: 140px;}
    .more-price .table-row-title {min-width: 300px;}
    .content-1220 {
        padding: 0;
    }
    .article-preview,
    .article-preview-new {
        width: 49%;
    }
    .footer-menu-container {padding-top: 15px;}
    .footer-links,
    .partner,
    .home-video-container {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .article-content {
        text-align: center;
    }
    .home-video-player {
        margin: 0 auto;
        padding: 0;
    }
    .categories-row {
        padding: 0 40px 40px;
    }
    .partner-content {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
    .partner-logo {
        width: 100%;
        padding-left: 0;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    .header-vintage h2 {
        width: 100%;
        text-align: center;
    }
    
    
    
}





@media (max-width: 1160px) {
    .home-icon {width: 33%;}
    .product-preview-image {
        width: 242px;
        min-height: auto;
    }
}




@media (max-width: 1024px) {
    h1 {font-size: 48px;}
    .how-work-container,
    .about-row-content-container:not(.team-container) {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .how-work-row {
        width: 100%;
        padding: 0 35px;
    }
    .green-message {padding: 50px 20px 55px;}
    .how-work-row-content {text-align: left;}
    .how-work-row-content li {margin-bottom: 20px;}
    .how-work {padding-bottom: 20px;}
    .green-message-title {margin-bottom: 0;}
    .home h2 {margin: 40px 0;}
    
    .home .header-container {min-height: 740px;}
    .home .banner {padding-left: 4%;}
    .home .banner-title h1 {
        font-size: 52px;
        margin-bottom: 10px;
    }
    .home .banner-title p strong {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .home .banner-title p {
        font-size: 20px;
        max-width: 400px;
    }
    .about-row-content-logotype:not(.team-lead) {
        max-width: 100%;
        width: 100%;
        border: 0;
        order: 2;
        text-align: left;
    }
    .about-row-content:not(.team-all) {
        max-width: 100%;
        width: 100%;
        padding: 0;
        order: 1;
    }
    .about-row {margin-bottom: 0;}
    
    .article-preview.article-new {width: 100%;}
}

@media (max-width: 970px) {
    .price-tables .table-container {
        width: 50%;
        margin: 20px auto 0;
    }
    .header-vintage:before, 
    .header-vintage:after {
        display: none;
    }
    .footer .flexbox,
    .price-tables {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .price-tables {
        margin: 0 auto 40px;
    }
    .footer-logo {
        margin: 0 auto;
    }
    .footer-menu-container {
        width: 100%;
        padding: 20px 0 0 0;
    }
    .footer-links {
        padding-bottom: 10px;
    }
    .footer-menu {
        padding-left: 0;
        width: 100%;
        max-width: 470px;
        margin: 0 auto;
    }
    .footer-contacts {
        width: 100%;
        padding-top: 0;
        text-align: center;
    }
    .footer-adress {
        margin: 0 auto;
    }
    .footer-adress-line {
        text-align: center;
    }
    .footer .search {
        width: 220px;
        margin: 0 auto 10px;
    }
    .footer-menu-ul {
        padding-right: 25px;
    }
    
    .team-lead {max-width: 100%;}
    .team-lead .team {
        text-align: center;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .team-info-desc {padding: 0 20px;}
    .team-info-name {
        padding: 20px;
        margin: 0;
    }
    .team-all {
        max-width: 100%;
        padding: 0;
    }
    .team {width: 33%;}
    .team-lead .team-info-name {text-align: left;}
    .team-lead .team-info-desc {text-align: left;}
    .team-lead .team-photo {min-width: 240px;}
}



@media (max-width: 890px) {
    .content-container .width,
    .home-icon {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .green-form.green-message .width {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .main {
        width: 100%;
        padding: 30px;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    .aside {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        width: 100%;
        margin-bottom: 0;
    }
    .aside-nav {
        display: none;
    }
    .icon-spoiler,
    .aside-nav.active {
        display: block;
    }
    .aside-row:before {
        left: 0;
    }
    .aside-title:not(.active) {
        padding-bottom: 0;
    }
    .aside-row {
        padding-top: 40px;
        padding-bottom: 20px;
    }
    .home-icon,
    .green-message-icon {
        text-align: center;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .home-icon span {padding: 15px 0 0 0;}
    .home-icon .icon,
    .article-video-wrap {
        margin: 0 auto;
    }
    .green-message-text {padding-left: 20px;}
    .green-message-text .green-message-desc {line-height: 24px}
    .green-message-text .green-message-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    .icon-professional-title {
        width: 90px;
        height: 90px;
        margin: auto;
    }
    .button-vensel:before {
        top: -61px;
    }
    .button-vensel:after {
        bottom: -65px;
    }
    .button-vensel:after, 
    .button-vensel:before {
        width: 185px;
        left: -10px;
    }
    .categories-row {padding: 0 25px 40px;}
    
}



@media (max-width: 768px) {
    h1 {
        font-size: 40px;
        line-height: 44px;
    }
    .categories-item {
        width: 50%;
    }
    .team {width: 50%;}
    .green-message-title {
        font-size: 22px;
        font-weight: 400;
        line-height: 30px;
    }
}


@media (max-width: 690px) {
    .green-form.green-message .width,
    .green-message-content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .green-message-text {
        text-align: center;
        padding: 20px 0;
    }
    .green-message-button {
        padding: 40px;
        margin-top: 10px;
    }
    .article-preview, 
    .article-preview-new,
    .price-tables .table-container,
    .home-video-player {
        width: 100%;
    }
    .breadcrumbs-li {
        float: none;
        display: inline-block;
    }
    .icon-fire {
        margin: 0;
    }
    .home-icon {
        width: 50%;
    }
    .home-video-player {
        height: auto;
    }
    .welcome, 
    .home-professionals {
        padding: 0 20px 40px;
    }
    .home-professionals {
        padding-top: 50px;
    }
    
}




@media (max-width: 590px) {
    .header-compare,
    .icon-profile,
    .header-profile {display: none;}
    .mobile-menu-user {
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .header-profile {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    .header-compare {
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }
    .mobile-menu-user .icon-profile,
    .mobile-menu-user .header-compare,
    .mobile-menu-user .header-profile {display: inline-block;}
    .mobile-menu-overflow {padding-bottom: 80px;}
    .header-compare {padding: 7px 15px;}
    .home .header-container {background-size: cover;}
    .home .header-container {min-height: 540px;}
    
    .team-lead .team {display: block;}
    .team-lead .team-photo {
        width: 240px;
        margin:  0 auto;
        text-align: center;
    }
    .team-lead .team-info-name,
    .team-lead .team-info-desc {
        text-align: center;
    }
    .team {
        width: 100%;
        text-align: center;
    }
    
    .product-preview-image {
        width: 242px;
        min-height: auto;
    }
    .product-preview {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .product-preview-image,
    .product-preview-image img {
        width: 100%;
    }
    
}

    
    

@media (max-width: 520px) {
    .header-logo-title {
        font-size: 24px;
        margin-top: 10px;
    }
    .header-logo-image {
        width: 130px;
        height: 85px;
        background-size: contain;
    }
    .header-logo {
        width: 280px;
    }
    .footer-menu {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .footer-menu-ul {
        text-align: center;
        padding-right: 0;
        width: 100%;
    }
    .aside-row:before {
        width: 100%;
    }
    .header-button {
        margin-top: 15px;
    }
}


@media (max-width: 425px) {
    .how-work-title-icon {display: none;}
    .how-work-title-text {padding-bottom: 10px;}
    .green-message-button {margin: 10px 0 auto;}
    .eventsCalendar2-calendar {padding: 20px 0;}
    .main,
    .aside {
        padding-right: 20px;
        padding-left: 20px;
    }
    .popular-article-content {
        padding-right: 0;
        padding-left: 0;
    }
    .footer-adress-line:first-child {
        width: 90%;
    }
    .green-message:not(.green-form) {
        padding: 30px 20px;
    }
    .home-icon,
    .categories-item {
        width: 100%;
    }
    .home .banner-title h1 {
        font-size: 34px;
        line-height: 28px;
    }
    .home .banner-title p strong {
        font-size: 22px;
        margin: 10px 0 15px;
        line-height: 28px;
    }
    .home .banner-title p {font-size: 18px;}
    .home h2 {
        margin: 30px 0;
        font-size: 28px;
    }
    
    .home-h2-vintage h2:before, 
    .home-h2-vintage h2:after {
        width: 270px;
        height: 52px;
        background-size: contain;
    }
    .home-h2-vintage h2:before {
        top: -48px;
    }
    .home-h2-vintage h2:after {
        bottom: -50px;
    }
    .categories-row {
        padding: 0 10px 30px;
    }
    
} 


@media (max-width: 375px) {
    .home h2 {
        font-size: 24px;
    }
    #comment-form input, 
    #comment-form textarea {margin: 0;}
    .salon-info-options .salon-info-row {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .salon-info-row dt, 
    .salon-info-row dd {
        border-bottom: 0;
    }
    .salon-info-row {
        border-bottom: 1px solid #ddd;
    }
}