/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/



/* WPML */

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    margin-right: 15px; 
}

/* IMAGE - VR */

.riga_imgvr .wpb_text_column .wpvr-cardboard {
    max-width: unset !important;
    height: 800px !important;
}

/* MARCHI */

.riga_marchi .nectar-fancy-box[data-style=image_above_text_underline] .image-wrap {
    border: 1px solid #cccccc;
}

.riga_marchi .nectar-fancy-box .box-bg {
    width: 400px;
    height: 400px;
    padding: 0 !important;
    background-size: 85% auto;
    background-repeat: no-repeat;
    background-position: center;    
}

/* DIVIDER */

.vc_separator.vc_separator_align_center h4 {
    margin-bottom: 12.5px !important;
    font-size: 40px;
    line-height: 40px;
}

/* TEXT WITH MEDIA */

.nectar-text-inline-images__inner h3 {
    margin-bottom: 25px !important; 
    font-size: 26px !important; 
    line-height: 34px !important;
    font-weight: 400 !important; 
}

.nectar-text-inline-images__inner h3:last-of-type {
    margin-bottom: 25px !important; 
}

/* FOOTER */

.footer_col_wpml .wpb_wrapper {
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.footer_col_wpml .wpml-ls-statics-footer {
    padding-left: 15px;
}

.footer_col_wpml .wpml-ls-legacy-list-horizontal a {
    padding: 0 10px 0 0 !important; 
}

/* 404 */

body.error404 .error-404-bg-img,
body.error404 .error-404-bg-img-overlay
{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}

body  #error-404 {
    padding: 0; 
}

body  #error-404,
body #ajax-content-wrap #error-404 h1,
body #ajax-content-wrap #error-404 h2
{
    background: transparent !important;
}

body #ajax-content-wrap #error-404 h1 {
    padding-top: 10%; 
    font-size: 120px; 
    line-height: 120px; 
}

body #ajax-content-wrap #error-404 h2 {
    margin-top: 25px; 
    font-size: 24px; 
    line-height: 24px;    
}

body #error-404 .nectar-button {
    margin-top: 37.5px;
    padding: 20px 50px 14px !important;
    font-size: 16px;
    line-height: 16px;
    text-transform: uppercase !important; 
    border: 1px solid #000000;
    border-radius: 0 !important;
    color: #000000 !important;
    background: #ffffff !important;
    transform: none !important; 
    box-shadow: unset !important; 
}

body #error-404 .nectar-button:hover {
    border: 1px solid #000000;
    color: #ffffff !important;
    background: #000000 !important;
}

body #error-404 .nectar-button span {
    transform: none !important; 
}

body #error-404 i.icon-button-arrow {
    display: none !important; 
}














@media screen and (min-width:768px) {

    .col_brand .gallery_hover img {
        height: 50vh;
    }

    .col_brand .gallery_hover .nectar-slider-wrap,
    .col_brand .gallery_hover .swiper-container,
    .col_brand .gallery_hover .swiper-wrapper,
    .col_brand .gallery_hover .swiper-slide
    {
        width: 400px;
        height: 40vh !important; 
    }

    .col_brand .gallery_hover .swiper-slide .image-bg {
        height: 40vh !important; 
        background-size: 75% !important;
        background-color: #ffffff; 
    }
    
    /* FOOTER */
    
    .riga_footer iframe {
        width: 100%;
        height: 600px;
        display: block !important; 
        margin: 0 !important; 
        border: 0 !important; 
    }
    
}

/* ------ MOBILE ------ */

@media only screen and (max-width: 769px) { 


    /* HEADER */
    
    body #slide-out-widget-area .inner .off-canvas-menu-container li a {
        font-size: 24px !important; 
    }
    
    /* IMAGE - VR */

    .riga_imgvr .wpb_text_column .wpvr-cardboard {
        height: 250px !important;
    }

    /* MARCHI */

    .riga_marchi .nectar-fancy-box .box-bg {
        width: 100%;
        height: 200px;
        background-size: 85% auto;  
    }       
    
    .row_marchi_top {
        display: none !important; 
    }
    
    .col_brand .gallery_hover .swiper-slide .image-bg {
        background-size: contain !important; 
    }    
    
    /* DIVIDER */

    .vc_separator.vc_separator_align_center h4 {
        margin-bottom: 0 !important;
        font-size: 20px;
        line-height: 20px;
    }

    /* TEXT WITH MEDIA */

    .nectar-text-inline-images__inner h3 {
        margin-bottom: 12.5px !important; 
        font-size: 16px !important; 
        line-height: 24px !important;
    }

    .nectar-text-inline-images__inner h3:last-of-type {
        margin-bottom: 0 !important; 
    }    

    /* ELEMENTS - ICONS */
    
    .nectar_icon_wrap[data-padding="10px"] .nectar_icon .fa-instagram::before {
        font-size: 25px;
    }

    /* FOOTER */
    
    .riga_footer iframe {
        width: 100%;
        height: 300px;
        display: block !important; 
        margin: 0 !important; 
        border: 0 !important;         
    }

    /* 404 */

    body #ajax-content-wrap #error-404 h1 {
        padding-top: 20%; 
        font-size: 50px; 
        line-height: 50px; 
    }

    body #ajax-content-wrap #error-404 h2 {
        margin-top: 25px; 
        font-size: 18px; 
        line-height: 18px;    
    }

    body #error-404 .nectar-button {
        margin-top: 25px;
        padding: 16px 25px 10px !important;
        font-size: 15px;
        line-height: 15px;
    }












}



