


/*
------------------------------------------------------------
1200px - 1319px
------------------------------------------------------------
*/



@media all and (min-width: 1200px) and (max-width: 1319px){
    header.compact nav a, header.compact nav button {
        margin: 0;
    }
    .stores-map .head h2 {
        font-size: 46px;
        margin-right: 35px;
    }

    .container {
        width: 1100px !important;
    }
}



/*
------------------------------------------------------------
992px - 1199px
------------------------------------------------------------
*/



@media all and (min-width: 992px) and (max-width: 1199px){

    header.compact .top .brand {
        width: 130px;
    }
    .products-category-nav.sticky {
        top: 90px;
    }
    header.compact nav a, header.compact nav button {
        margin: 0;
        font-size: 16px;
        padding: 23px 10px 15px;
    }
    .page-box figure {
        max-width: 400px;
    }
    .stores-map .head {
        padding: 60px 25px 35px;
    }
    .stores-map .head h2 {
        font-size: 42px;
        margin-right: 25px;
    }

    .container {
        width: 900px !important;
    }
}



/*
------------------------------------------------------------
768px - 991px
------------------------------------------------------------
*/



@media all and (min-width: 768px) and (max-width: 991px){

    .sm-order-n1 {
        order: -1;
    }
    .sm-order-1 {
        order: 1;
    }

    header nav.main > a, header nav.main > button {
        font-size: 20px;
        padding: 23px 20px 15px;
    }
    header.compact .top .brand {
        width: 130px;
    }
    .products-category-nav.sticky {
        top: 90px;
    }
    header.compact nav a, header.compact nav button {
        margin: 0;
        font-size: 16px;
        padding: 23px 10px 15px;
    }
    .home-highlight h4 {
        font-size: 38px;
        line-height: 46px;
    }

    .link-strip h4 {
        font-size: 36px;
    }
    .product-details .main .thumb {
        width: 250px;
    }

    .contacts-highlight h4 {
        font-size: 30px;
        line-height: 44px;
    }
    .contacts-highlight h4 strong {
        font-size: 40px;
    }

    .catalogues-head h4 {
        font-size: 22px;
        line-height: 30px;
    }
    .download-group .download-list a h4 {
        font-size: 22px;
        line-height: 30px;
    }

    .contacts-form {
        padding: 40px 0;
    }

    .page-intro h4 br {
        display: none;
    }
    
    .page-box .flex {
        flex-direction: column;
    }    

    /* figure */
    .page-box figure {
        width: 100%;
        max-width: 100%;
    }
    .page-box figure,
    .page-box .content + figure {
        text-align: center;
    }
    .page-box figure + .content, 
    .page-box .content + figure {
        margin: 40px 0 0;
    }
    .stores-map .map-wrapper {
        display: block;
    }
    .stores-map .head {
        flex-direction: column;
        padding: 60px 0 35px;
    }
    .stores-map .head h2 {
        font-size: 46px;
        margin: 0 auto 25px;
    }
    .stores-map .map-wrapper .map-widget {
        width: 100%;
    }
    footer .copy .container {
        padding: 0 15px;
        flex-direction: column;
    }
    footer .copy .q8-oils {
        margin-bottom: 15px;
    }
    footer .copy .links {
        display: block;
        text-align: left;
    }
}



/*
------------------------------------------------------------
< 768px
------------------------------------------------------------
*/



@media all and (max-width: 767px){

    .xs-order-n1 {
        order: -1;
    }
    .xs-order-1 {
        order: 1;
    }

    main {
        padding-top: 74px;
    }

    .brand-nav-wrapper {
        position: fixed;
        top: 74px !important;
        width: 100%;
        z-index: 500;
        background-color: #FFF;
    }

    /* Header
    ------------------------------------------------------------ */

    header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
    }

    
    /* Header > Top
    ------------------------------------------------------------ */

    header .top {
        background: #FFF;
    }
    header .top .mob-sp {
        display: block;
        flex: 0 0 30px;
    }

    body header nav.main {
        display: none;
    }

    body.brand header .top .mobile-nav-trigger,
    body.brand header .top .brand {
        flex: 0 1 80px;
    }
    body.brand header .top .mob-brand-logo {
        display: block;
        flex: 0 1 180px;
    }
    body.brand header .top .mob-sp {
        display: none;
    }

    header .top .rete {
        display: none;
    }


    /* Header > Top > Mobile nav trigger
    ------------------------------------------------------------ */

    header .top .mobile-nav-trigger {
        display: block;
    }


    /* Header > Top > Social
    ------------------------------------------------------------ */

    header .top .social {
        display: none;
    }


    /* Header > Top > Brand
    ------------------------------------------------------------ */

    header .top .brand {
        height: 50px;
        background-image: url(../images/logo-selva-commerciale-mobile.png?v=2);
    }
    /* Retina images */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
        .header .top .brand {
            background-image: url(../images/logo-selva-commerciale-mobile@x3.png?v=2);
        }
    }

    
    /* Header > Main
    ------------------------------------------------------------ */
    
    header div.main {
        padding: 0;
        overflow-y: auto;
    }


    /* Header > Nav
    ------------------------------------------------------------ */

    header nav.main,
    body.brand header nav.main {
        display: none;
    }
    header nav.main > a,
    header nav.main > button {
        display: block;
        position: relative;
        width: 100%;
        padding: 22px 107px 22px 56px;
        font-size: 28px;
        text-align: left;
        margin: 0;
        border-bottom: 1px solid #424242;
    }
    header nav.main > a:last-child,
    header nav.main > button:last-child {
        border-bottom: none;
    }
    
    header nav.main > a:after,
    header nav.main > button:after {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -18px;
        right: 56px;
        width: 36px;
        height: 36px;
        border: 1px solid #424242;
        border-radius: 50%;
        margin-left: 70px;
        background-image: url(../images/ico-angle-right.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 10px;
    }
    
    
    /* Footer > Contacts Highlight
    ------------------------------------------------------------ */
    .contacts-highlight {
        padding: 30px 15px;
    }
    .contacts-highlight h4 {
        margin: 0;
        font-size: 30px;
        line-height: 44px;
    }
    .contacts-highlight h4 strong {
        font-size: 55px;
        margin-top: 20px;
    }


    /* Footer > Main > Social
    ------------------------------------------------------------ */
    
    footer .main .social-wrapper {
        display: none;
    }


    /* Footer > Copy
    ------------------------------------------------------------ */
    
    footer .copy .container {
        padding: 0 35px;
    }
    footer .copy .q8-oils {
        display: none;
    }
    footer .copy .links li {
        display: block;
        padding: 5px 0;
        margin: 0;
    }
    footer .copy .links li + li {
        border: none;
        padding: 5px 0;
        margin: 0;
    }


    /* Home > Highlight 
    ------------------------------------------------------------ */

    .home-highlight h4 {
        font-size: 54px;
    }
    .home-highlight h4 span {
        font-size: 34px;
    }

    .home-brands .home-brands-list {
        margin-left: 0;
        margin-right: 0;
    }
    .home-brands .container .home-brand {
        padding: 15px;
    }
    .home-brands .container .home-brand .inner {
        padding: 15px;
    }


    /* Products > Carousel
    ------------------------------------------------------------ */
    
    .products-carousel-section.toggle-xs {
        display: none;
    }


    /* Product > Details
    ------------------------------------------------------------ */
    
    .product-details .main {
        flex-direction: column;
    }
    .product-details .main .thumb {
        margin: 0 0 40px;
    }
    .product-details .main .content {
        text-align: center;
    }


    /* Catalogues > Head
    ------------------------------------------------------------ */
    
    .catalogues-head h4 {
        font-size: 30px;
    }


    /* Catalogues > Download Group
    ------------------------------------------------------------ */
    
    .download-group .download-list a {
        padding-right: 0;
        padding-left: 0;
    }


    /* Stores
    ------------------------------------------------------------ */
    
    .stores-map .map-wrapper {
        display: block;
    }


    /* Stores > Head
    ------------------------------------------------------------ */
    
    .stores-map .head {
        flex-direction: column;
        padding: 25px 0;
    }
    .stores-map .head h2 {
        font-size: 38px;
        margin: 0 auto 15px;
    }


    /* Stores > Map Wrapper > Map
    ------------------------------------------------------------ */
    

    .stores-map .map-wrapper .map{
        height: 450px;
        z-index: 30;
    }


    /* Stores > Map Wrapper > Widget
    ------------------------------------------------------------ */

    .stores-map .map-wrapper .map-widget {
        position: relative;
        width: 100%;
        left: 0;
        margin: 20px 0 0;
    }
    .stores-map .map-wrapper .map-widget .map-widget-list .store .store-inner .legend {
        flex: 0 0;
    }
    .stores-map .map-wrapper .map-widget .map-widget-list .store .store-inner .contacts a, .stores-map .map-wrapper .map-widget .map-widget-list .store .store-inner .contacts span, .infowindow-store-details .contacts a, .infowindow-store-details .contacts span {
        white-space: normal;
        word-break: break-all;
    }


    /* Page > Head
    ------------------------------------------------------------ */

    .page-head h1 {
        font-size: 55px;
    }


    /* Page > Intro
    ------------------------------------------------------------ */
    .page-intro h2 {
        font-size: 55px;
        color: #424242;
    }
    .page-intro h4 {
        font-size: 30px;
    }

    /* Page > Box
    ------------------------------------------------------------ */

    .page-box .flex {
        flex-direction: column;
    }    
    
    /* content */
    .page-box .content h2 {
        font-size: 58px;
    }
    .page-box .content p {
        font-size: 28px;
    }
    
    /* figure */
    .page-box figure {
        width: 100%;
        max-width: 100%;
    }
    .page-box figure,
    .page-box .content + figure {
        text-align: center;
    }
    .page-box figure + .content, 
    .page-box .content + figure {
        margin: 40px 0 0;
    }

    /* box gallery */
    .page-box.gallery figure {
        width: 50%;
    }
    .page-box.gallery .flex {
        flex-direction: row;
    }

    /* box text */
    .page-box.text {
        font-size: 28px;
    }


    /* Page > Highlight
    ------------------------------------------------------------ */

    .page-highlight h4 {
        font-size: 54px;
    }
    .page-highlight p {
        font-size: 28px;
    }
    .page-highlight .btn {
        white-space: normal;
        margin: 0 80px;
    }

    /* Contacts > Form
    ------------------------------------------------------------ */
    
    .contacts-form form > div.half {
        width: 100%;
    }


    /* Link Strip
    ------------------------------------------------------------ */
    
    .link-strip h4 {
        position: relative;
        text-align: left;
        padding-right: 125px;
        font-size: 55px;
    }
    .link-strip h4 strong {
        display: block;
    }
    .link-strip h4 span.icon {
        width: 80px;
        height: 80px;
        line-height: 75px;
        margin: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        margin: 0;
        background-size: 26px;
    }


    /* Not found
    ------------------------------------------------------------ */
    
    .view-not-found main {
        justify-content: center;
    }
    .view-not-found main .content {
        width: 100%;
        padding: 0 30px;
    }
    .view-not-found main .content h1 {
        font-size: 30px;
    }
    .view-not-found main .content h4{
        font-size: 24px;
        line-height: 32px;
    }
    .view-not-found main .content a {
        font-size: 24px;
    }


    /* Brands
    ------------------------------------------------------------ */

    .brand-logo {
        display: none;
    }

    .page-box.intro .btn,
    body.brand-torqeedo .products-batteries .btn {
        word-break: break-all;
        font-size: 16px;
        padding: 10px;
    }

    .page-box.intro .btn {
        margin-top: 15px;
    }

    body.brand-torqeedo .motormap .desc {
        position: relative;
        top: initial;
        left: initial;
        width: auto;
        margin: 30px 0 0;
    }
    body.brand-torqeedo .motormap canvas {
        margin: 40px 0;
    }
    body.brand-torqeedo .motormap .block {
        top: initial;
        /* bottom: 20px; */
        bottom: 150px;
        left: 15px;
        right: 15px;
        width: auto;
        border: 1px solid #ff6e00;
        padding: 35px 16px 25px;
        background-color: #FFF;
    }
    body.brand-torqeedo .motormap .block[data-motormap-box="3"],
    body.brand-torqeedo .motormap .block[data-motormap-box="4"]{
        bottom: 150px;
    }

    .products-carousel-section .products-list div.v1,
    .products-carousel-section .products-list div.v2 {
        display: none;
    }

    body.brand-karnic .products-carousel-section .products-list .product-head > div.img, 
    body.brand-karnic .products-carousel-section .products-list .product > div.img {
        flex: 0 0 120px;
    }
    
    .products-category-nav a div {
        font-size: 36px;
    }
    body.brand-sole-diesel .products-category-nav a div span:nth-child(1){
        display: block;
        font-size: 26px;
        color: #00aeef;
        font-weight: bold;
        margin: 0 0 5px;
    }

    body.brand-sole-diesel .products-category-nav a div span:nth-child(2) {
        font-weight: normal;
        margin: 0;
    }
    body.brand-sole-diesel .products-category-nav a div span:nth-child(3) {
        font-weight: 700;
    }
}



/*
------------------------------------------------------------
< 481px
------------------------------------------------------------
*/



@media all and (max-width: 480px){
    body header nav.main {
        display: none;
    }

    .products-carousel-section h3{
        font-size: 26px;
    }
    .product-features .product-features-head h4 {
        font-size: 28px;
    }
    .product-features .product-features-content table tr td {
        padding: 5px 0;
        vertical-align: top;
    }
    .product-features .product-features-content table tr td {
        font-size: 16px;
        padding-right: 10px;
    }
    .product-features .product-features-content table tr td.val {
        font-size: 18px;
    }
    .product-details .main .content .title {
        font-size: 32px;
    }
    .product-details .main .content .description {
        font-size: 20px;
    }
    .product-equipment .product-equipment-head h4 {
        font-size: 28px;
    }
    .product-equipment .product-equipment-content p {
        font-size: 18px;
    }
    .products-category-nav a div {
        font-size: 20px;
    }
    body.brand-sole-diesel .products-category-nav a div span:nth-child(1){
        font-size: 18px;
    }

    /* Link Strip
    ------------------------------------------------------------ */
    
    .link-strip h4 {
        font-size: 40px;
        line-height: 1.2;
        padding-right: 75px;
    }
    .link-strip h4 span.icon {
        width: 60px;
        height: 60px;
        background-size: 20px;
    }


    /* Slick Slider
    ------------------------------------------------------------ */
    
    .slick-slider .slick-dots {
        bottom: 12px;
    }


    /* Main
    ------------------------------------------------------------ */
    
    .download-group {
        margin-top: 0;
        margin-bottom: 40px;
    }
    .download-group .download-head h2 {
        font-size: 32px;
    }
    .download-group .download-list a {
    }
    .download-group .download-list a h4 {
        margin: 0 0 10px;
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }
    .download-group .download-list a span.icon {
        width: 50px;
        height: 50px;
        background-size: 50%;
    }


    /* Header > Nav
    ------------------------------------------------------------ */
    
    header nav.main > a, header nav.main > button {
            
        padding: 12px 66px 12px 20px;
        font-size: 18px;
    }
    header nav.main > a:after, header nav.main > button:after {
        right: 20px;
        width: 28px;
        height: 28px;
    }


    /* Footer > Contacts Highlight
    ------------------------------------------------------------ */    

    .contacts-highlight {
        padding: 30px 0;
    }
    .contacts-highlight h4 {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 0;
    }
    .contacts-highlight h4 br {
        display: none;
    }
    .contacts-highlight h4 strong {
        font-size: 42px;
        line-height: 1.2;
        margin-top: 10px;
    }


    /* Footer > Main > Nav
    ------------------------------------------------------------ */

    footer .main nav {
        width: 100%;
        text-align: center;
    }


    /* Footer > Copy
    ------------------------------------------------------------ */
    
    footer .copy .links {
        width: 100%;
        margin: 0;
        text-align: center;
    }
    

    /* Home > Carousel
    ------------------------------------------------------------ */

    .home-carousel .container {
        padding: 0;
    }
    

    /* Home > Highlight
    ------------------------------------------------------------ */

    .home-highlight {
        padding: 50px 0; 
    }
    .home-highlight h4,
    .home-highlight h4 span {
        font-size: 40px;
        line-height: 1.2;
    }
    .home-brands .container .home-brand {
        width: 100%;
        padding: 15px 0
    }


    /* Product > Head
    ------------------------------------------------------------ */

    .product-head h4 {
        font-size: 40px;
        line-height: 1.2;
    }


    /* Stores > Map Section > Head
    ------------------------------------------------------------ */

    .stores-map .head {
        padding: 30px 0 25px;
    }
    .stores-map .head h2 {
        font-size: 25px;
        line-height: 1.2;
    }

    /* Stores > Map Section > Head
    ------------------------------------------------------------ */
    
    .stores-map .head h2 {
        font-size: 25px;
    }


    /* Stores > Map Wrapper > Widget
    ------------------------------------------------------------ */
    
    .stores-map .map-wrapper .map-widget .map-widget-head h4 {
        font-size: 18px;
        text-align: center;
    }
    .stores-map .map-wrapper .map-widget .map-widget-list .store .store-inner {
        flex-direction: column;
    }
    .stores-map .map-wrapper .map-widget .map-widget-list .store .store-inner .details {
        text-align: center;
    }
    .stores-map .map-wrapper .map-widget .map-widget-list .store .store-inner .legend {
        /* width: auto; */
        margin: 20px auto 0;
    }
    .stores-map .map-wrapper .map-widget .map-widget-legend label {
        display: block;
        text-align: center;
    }
    .stores-map .map-wrapper .map-widget .map-widget-legend span {   
        display: block;
        text-align: center;
        margin: 15px 0 0;
    }
    .stores-map .map-wrapper .map-widget .map-widget-legend label +span, 
    .stores-map .map-wrapper .map-widget .map-widget-legend span +span {
        margin-left: 0;
    }

    
    /* Page > Intro
    ------------------------------------------------------------ */

    .page-intro {
        padding: 50px 0;
    }

    .page-intro h2 {
        font-size: 45px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .page-intro h4 {
        line-height: 1.2;
    }


    /* Page > Box
    ------------------------------------------------------------ */

    .page-box .content h2 {
        font-size: 20px !important;
        line-height: 1.2;
    }
    .page-box .content p {
        font-size: 20px;
        line-height: 1.6;
        margin-top: 20px;
    }
    .page-box.text {
        padding: 50px 0;
        font-size: 22px;
        line-height: 1.2;
    }

        
    /* Page > Highlight
    ------------------------------------------------------------ */

    .page-highlight {
        padding: 50px 0;
    }
    .page-highlight h4 {
        font-size: 32px;
        line-height: 1.2;
    }
    .page-highlight p {
        font-size: 22px;
        line-height: 1.6;
    }
    .page-highlight .btn {
        margin: 0;
        font-size: 20px;
        line-height: 1.2;
        padding: 15px 30px;
    }


    /* Contacts > Form
    ------------------------------------------------------------ */

    .contacts-form {
        padding: 50px 0;
    }
    .contacts-form h3 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    .contacts-form form label, .contacts-form form label a {
        margin-bottom: 5px;
        font-size: 18px;
    }
    .contacts-form form > div {
        margin-bottom: 15px;
    }
    .contacts-form form input.form-control {
        height: 45px;
    }


    /* Brands
    ------------------------------------------------------------ */
    body.brand-karnic main,
    body.brand-torqeedo main,
    body.brand-sole-diesel main {
        padding-top: 144px;
    }

    .page-box.intro .btn,
    body.brand-torqeedo .products-batteries .btn {
        display: block;
    }
}



/*
------------------------------------------------------------
< 321px
------------------------------------------------------------
*/



@media all and (max-width: 320px){

    /* Link Strip
    ------------------------------------------------------------ */
    
    .link-strip h4 {
        font-size: 24px;
    }


    /* Footer > Contacts Highlight
    ------------------------------------------------------------ */
    
    .contacts-highlight h4 strong {
        font-size: 28px;
    }
    

    /* Home > Highlight
    ------------------------------------------------------------ */

    .home-highlight h4, .home-highlight h4 span {
        font-size: 28px;
    }


    /* Product > Head
    ------------------------------------------------------------ */
    
    .product-head h4 {
        font-size: 24px;
    }


    /* Product > Details
    ------------------------------------------------------------ */
    
    .product-details .main .content .title {
        font-size: 38px;
        line-height: 1.4;
    }
    .product-details .main .content .description {
        font-size: 18px;
        line-height: 1.6;
    }


    /* Product > Features
    ------------------------------------------------------------ */

    .product-features .product-features-head {
        padding: 40px 0;
    }
    .product-features .product-features-head h4 {
        font-size: 24px;
    }


    /* Product > Equipments
    ------------------------------------------------------------ */


    .product-equipment .product-equipment-head h4 {
        font-size: 24px;
        line-height: 1.2;
    }
    .product-equipment .product-equipment-content p {
        padding: 10px;
    }


    /* Products > Carousel
    ------------------------------------------------------------ */
    
    .products-carousel-section h3 {
        font-size: 38px;
    }
    .products-carousel-section h4 {
        font-size: 24px;
        line-height: 1.2;
    }


    /* Contacts > Head
    ------------------------------------------------------------ */
    .contacts-highlight.mc-motore h4,
    .contacts-highlight.mc-imbarcazione h4 {
        font-size: 24px;
        line-height: 1.2;
    }
}