/*
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: 'Savory';
    src: url(/wp-content/themes/salient-child/font/Savory.ttf),
		url("/wp-content/themes/salient-child/font/Savory.woff") format("woff");
    font-weight: normal; 
}

.megamenu__link p {
    font-family: Savory;
    font-size: 65px;
    line-height: 1.1;
}

.megamenu-images {
    position:absolute;
    z-index: -9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.megamenu-image.image1 {
    width: 420px;
    height: 270px;
    position: absolute;
    background-size: cover;
    background-position: center;
    left: -50px;
    top: 0px;
    opacity: 0;
    transition: all 0.5s;
    transform: scale(0.9);
    z-index: -1;
}

.megamenu-image-stay.image1 {
    width: 420px;
    height: 270px;
    position: absolute;
    background-size: cover;
    background-position: center;
    left: -50px;
    top: 0px;
    transition: all 0.5s;
    z-index: -1;
}

.megamenu-image.image1.megamenu-image--active {
    opacity: 1;
    transform: scale(1);
}

.megamenu-image.image2 {
    width: 250px;
    height: 160px;
    position: absolute;
    background-size: cover;
    background-position: center;
    left: 140px; 
    top: 500px;
    opacity: 0;
    transition: all 0.5s;
    transform: scale(0.9);
    z-index: -1;
}

.megamenu-image-stay.image2 {
    width: 250px;
    height: 160px;
    position: absolute;
    background-size: cover;
    background-position: center;
    left: 140px; 
    top: 500px;
    transition: all 0.5s;
    z-index: -1;
}

.megamenu-image.image2.megamenu-image--active {
     opacity: 1;
    transform: scale(1);
}

.megamenu-image.image3 {
    width: 330px;
    height: 440px;
    position: absolute;
    background-size: cover;
    background-position: center;
    right: -40px;
    top: 150px;
    opacity: 0;
    transition: all 0.5s;
    transform: scale(0.9);
    z-index: -1;
}

.megamenu-image-stay.image3 {
    width: 330px;
    height: 440px;
    position: absolute;
    background-size: cover;
    background-position: center;
    right: -40px;
    top: 150px;
    transition: all 0.5s;
    z-index: -1;
}

.megamenu-image.image3.megamenu-image--active {
     opacity: 1;
    transform: scale(1);
}

.nectar-scrolling-text[data-s-speed=slow] .nectar-scrolling-text-inner>* {
    animation-duration: 16s;
}

@media (max-width: 1000px) {
.main-row,
.main-row .row_col_wrap_12.col.span_12.light {
    height: 90vh;
    justify-content: flex-end;
}
	
.megamenu__link p {
    font-size: 30px;
}

.megamenu-image.image1,
.megamenu-image-stay.image1 {
    width: 120px;
    height: 80px;
    left: -20px;
    top: -5px;
}

.megamenu-image.image2,
.megamenu-image-stay.image2 {
    width: 100px;
    height: 100px;
    left: -20px;
    top: 270px;
}

.megamenu-image.image3,
.megamenu-image-stay.image3 {
    width: 90px;
    height: 120px;
    right: -20px;
    top: 90px;
}
	
.portfolio-items .elastic-portfolio-item {
        width: 48.6% !important;
    }
	
.obedovemenu p{
    font-size: 14px;
    line-height: 1.5;
}

.wpb_wrapper .date-day p {
    font-size: 18px;
}
}


