/*!
Theme Name: restoran
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: restoran
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

restoran is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
body {
    font-family: "Chocolate Classical Sans", sans-serif;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant", serif;
}

.block_1 {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
}

.my_color {
    color: #d7af5b;
}


.header__menu {
    position: relative;
    width: 41px;
    height: 24px;
    cursor: pointer;
}

/* Общие стили для линий */
.header__menu span {
    position: absolute;
    height: 1px;
    background-color: #fff;
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease;
}

.block_nav.sticky .header__menu span {
    background-color: #000;
}

.header__menu span:first-child {
    top: 0;
    width: 41px;
}

.header__menu span:nth-child(2) {
    top: 9px;
    width: 26px;
}

.header__menu span:last-child {
    top: 18px;
    width: 41px;
}



/* dropdown */
.dropdown {
    width: 100%;
    display: inline-block;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 2px;
    box-shadow: 0 0 2px rgb(204, 204, 204);
    transition: all .5s ease;
    position: relative;
    color: #fff;
    height: 100%;
    text-align: left;
}


.block_nav.sticky .dropdown {
    background-color: #fff;
    box-shadow: 0 0 2px #d7af5b;
    color: #d7af5b;
}

.dropdown .select {
    cursor: pointer;
    display: block;
    padding: 10px
}

.dropdown .select>i {
    font-size: 13px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    float: right;
    line-height: 20px
}

.dropdown:hover {}

.dropdown:active {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.dropdown.active:hover,
.dropdown.active {
    border-radius: 2px 2px 0 0;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.dropdown.active .select>i {
    transform: rotate(-90deg);
}

.dropdown .dropdown-menu {
    position: absolute;
    width: 100%;
    border-radius: 2px;
    left: 0;
    margin-top: 5px;
    box-shadow: 0 1px 2px rgb(204, 204, 204);
    overflow: hidden;
    display: none;
    max-height: 144px;
    overflow-y: auto;
    z-index: 9;

}

.dropdown-blure {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.dropdown .dropdown-menu li {
    padding: 10px;
    transition: all .2s ease-in-out;
    cursor: pointer
}

.dropdown .dropdown-menu {
    padding: 0;
    list-style: none
}

.dropdown .dropdown-menu li:hover {
    background-color: #f2f2f2
}

.dropdown .dropdown-menu li:active {
    background-color: #e2e2e2
}

.block_1 .nav-link {
    color: #fff;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 2px;
    box-shadow: 0 0 2px rgb(204, 204, 204);
}

.block_nav.sticky .nav-link {
    color: #d7af5b;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 0 2px #d7af5b;
}



.block_1 .nav-link:hover {
    color: #f7f7f7;
}

.block_nav.sticky .nav-link:hover {
    color: #000;
}



.restik {
    min-height: 80vh;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 100;
}

.restik .col-lx-10 {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.display-1 {
    font-family: "Cormorant", serif;
}

.display-2 {
    font-family: "Cormorant", serif;
}

.display-3 {
    font-family: "Cormorant", serif;
}

.section__title {
    position: relative;
    padding: 20px 0;
}

.section__title::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background-color: #d7af5b;
    z-index: 1;
}

.block_nav {
    transition: all 0.3s ease;
    background-color: transparent;
    height: auto;
}

.block_nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.block_nav.sticky .main_logo {
    transform: scale(0.5);
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Стили для логотипов в шапке */

.block_nav .logotip_restorana {
    display: block;
}

.block_nav .logotip_na_prokrutke {
    display: none;
}

.block_nav.sticky .logotip_restorana {
    display: none;
}

.block_nav.sticky .logotip_na_prokrutke {
    display: block;
}



.block_nav .logotip_restorana {
    visibility: visible;
}

.block_nav .logotip_na_prokrutke {
    visibility: hidden;
}

.block_nav.sticky .logotip_restorana {
    visibility: hidden;
}

.block_nav.sticky .logotip_na_prokrutke {
    visibility: visible;
}

*/ .block_nav .logotip_restorana,
.block_nav .logotip_na_prokrutke {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Если используем opacity/visibility */
    /* transition: display 0.3s ease; - display не анимируется, поэтому используем visibility или opacity */
}



.block_nav.sticky .container>.row {
    align-items: center;
    min-height: 60px;
    margin-top: -45px;
    margin-bottom: -45px;
}


.border_color {
    border: 2px solid #d7af5b;
}

.block_6 iframe {
    filter: grayscale(100%);
}


.swiper-button-next,
.swiper-button-prev {
    background-color: #d7af5b;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    color: white !important;
    fill: white !important;
    stroke: white !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}


.swiper-button-next,
.swiper-button-prev {
    svg {
        height: 50%;
        object-fit: contain;
        transform-origin: center;
        width: 100%;
        fill: currentColor;
        pointer-events: none;
    }
}

/* xl-размер (<=1200px) */
@media (max-width: 1399px) {}

/* lg-размер (<=1199px) */
@media (max-width: 1199px) {
    .block_nav.sticky .container>.row {
        margin-top: -20px;
        margin-bottom: -20px;
    }



}

/* md-размер (<=991px) */
@media (max-width: 991px) {
    .block_nav.sticky .container>.row {
        margin-top: -35px;
        margin-bottom: -35px;
    }


    .offcanvas.offcanvas-top {
        min-height: 100vh;
    }

}

/* sm-размер (<=768px) */
@media (max-width: 767px) {

    .block_nav.sticky .block_nav__select {
        display: none;
    }


    .block_nav.sticky .container>.row {
        margin-top: -10px;
        margin-bottom: -10px;
    }

}

/* xs-размер (<=575px) */
@media (max-width: 575px) {
    .block_nav.sticky .container>.row {
        margin-top: 0px;
        margin-bottom: 0px;
    }

}