/*
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
*/




/* 
@font-face {
    font-family: 'Gerbera Regular';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Regular-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Light';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Light Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Lightitalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Medium';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Medium Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Medium-italic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Bold';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Bold Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Bold-Italic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Black';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Black Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Black-italic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
} */


@font-face {
    font-family: 'Gerbera Regular';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Regular.eot');
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Regular.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Regular.woff2') format('woff2'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Regular.woff') format('woff'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Regular.svg#GerberaRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Regular-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Light';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Light.eot');
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Light.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Light.woff2') format('woff2'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Light.woff') format('woff'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Light.svg#GerberaLight') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Light Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Lightitalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Medium';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Medium.eot');
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Medium.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Medium.woff2') format('woff2'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Medium.woff') format('woff'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Medium.svg#GerberaMedium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Medium Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Medium-italic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Bold';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Bold.eot');
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Bold.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Bold.woff2') format('woff2'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Bold.woff') format('woff'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Bold.svg#GerberaBold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Gerbera Bold Italic';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Bold-Italic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Gerbera Black';
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Black.eot');
    src: url('/wp-content/themes/salient-child/fonts/Gerbera-Black.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Black.woff2') format('woff2'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Black.woff') format('woff'),
         url('/wp-content/themes/salient-child/fonts/Gerbera-Black.svg#GerberaBlack') format('svg');
    font-weight: 900;
    font-style: normal;
}



/* Base Wrapper
.object-fit-cover-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
} */


.has-object-fit-image .wpb_wrapper{
   height: 100%;
}

/* Immagine con altezza responsive e object-fit */
.object-fit-cover-img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: var(--image-height-desktop) !important;
}

@media (max-width: 1000px) {
    .object-fit-cover-img {
        max-height: var(--image-height-tablet) !important;
    }
}

@media (max-width: 690px) {
    .object-fit-cover-img {
        max-height: var(--image-height-mobile) !important;
    }
}
