/* cmsms stylesheet: Restaurant CUSTOM CSS modified: 2021-12-14 15:44:37 */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

h1, h2 {
    font-family: 'Gwendolyn', cursive;
}

.hero_single .opacity-mask h1, .hero_single .opacity-mask h3 {
    font-size: 5rem;
}

.main_title h2 {
    font-size: 3.5rem;
}

.main_title.center h2 {
    font-size: 3rem;
}

article.blog .post_info h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.box_contacts h2 {
    font-size: 2rem;
    font-weight: 700;
}

#slider.flexslider li.flex-active-slide .meta h3 {
    font-family: 'Gwendolyn', cursive;
    font-size: 4rem;
}

footer h3 {
    font-size: 2rem;
    font-family: 'Gwendolyn', cursive;
}

main {
    flex: 1;
    overflow-x: hidden;
}

.frame {
    bottom: -0.5px;
    height: 35px;
    opacity: 0.2;
    background-repeat-x: repeat;
    background-repeat-y: no-repeat;
}

.frame.white {
    background-image: url(https://rozsakert-etterem-egervar.hu/uploads/images/barokk-disz-white.png);
    background-size: 300px;
}

.frame.black {
    background-image: url(https://rozsakert-etterem-egervar.hu/uploads/images/barokk-disz-black.png);
    background-size: 300px;
    top: -34.5px;
}

.gold-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: rgb(255,208,104);
    background: linear-gradient(90deg, rgba(255,208,104,1) 0%, rgba(213,139,7,1) 50%, rgba(255,208,104,1) 100%);
}

.gold-line.foot {
    top: 0;
}

.hero_single.inner_pages {
    height: 40vh;
    background-attachment: unset;
}

.grid ul li {
    margin: 0 -3px;
}

#logo {
    float: none;
}

.home-logo {
    width: 45%;
    height: auto;
    margin-bottom: 2em;
}

#slider.flexslider ul.slides li img {
    opacity: 0.65;
    object-position: center center;
    position: unset;
    left: unset;
    top: unset;
    -webkit-transform: unset;
    -moz-transform: unset;
    -ms-transform: unset;
    -o-transform: unset;
    transform: unset;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.parentlink {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}

.parentlink > div {
    position: relative;
    font-size: 2.5em;
    color: #978667;
}

.parentlink > div:hover {
    color: #444;
}

.parentlink > div i {
    z-index: 1;
}

.parentlink > div a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    z-index: 2;
}

.menu_item {
    padding: 0;
    display: flex;
    align-items: center;
}

.menu_item figure {
    position: relative;
    left: unset;
    top: unset;
    margin: 0 1em 0 0;
}

.menu_item .menu_title {
    flex: 1;
}

article.blog {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

article.blog figure {
    width: 100%;
}

article.blog figure > a.list {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.calendar-event article.blog figure {
    height: auto;
}

article.blog figure img {
    -webkit-transform: unset;
    -moz-transform: unset;
    -ms-transform: unset;
    -o-transform: unset;
    transform: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    left: unset;
    top: unset;
}

article.blog figure img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

article.blog .post_info .datum {
    font-weight: 500;
    color: #978667;
    border: 2px solid #978667;
    padding: 0.25em 1em;
    border-radius: 2em;
    margin-bottom: 1em;
    text-align: center;
}

h4.date {
    color: #978667;
}

span.datum-ora {
    opacity: 0.5;
}

.kapcsolat iframe {
    width: 100%;
    height: 50vh;
    -webkit-box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 15%);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 15%);
    overflow: hidden;
    border-radius: 5px;
}

@media (orientation: landscape) {
    #slider.flexslider ul.slides li {
        height: 65vh !important;
    }
}

@media (orientation: portrait) {
    #slider.flexslider ul.slides li {
        height: 45vh !important;
    }
}

@media only screen and (min-width: 992px) {
    .main-menu ul ul:before {
        bottom: calc(100% + 0.5px);
    }
}

@media (max-width: 1199px) AND (orientation: landscape) {
    #slider.flexslider ul.slides li {
        height: 70vh !important;
    }
}

@media (max-width: 1199px) AND (orientation: portrait) {
    #slider.flexslider ul.slides li {
        height: 45vh !important;
    }
}

@media (max-width: 767px) {
    h1, .hero_single .opacity-mask h1, .hero_single .opacity-mask h3 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.4rem;
    }

    .hero_single .opacity-mask p {
        font-size: 1.3rem;
    }

    .frame {
        bottom: -0.5px;
        height: 25px;
    }

    .frame.black {
        top: -24.5px;
        background-size: 200px;
    }

    .frame.white {
        background-size: 200px;
    }

    #slider.flexslider ul.slides li {
        height: 500px !important;
    }

    .menu_item figure {
        width: 30px;
        height: 30px;
    }

    .menu_item figure img {
        width: 30px;
        height: auto;
    }

    .home-logo {
        width: 100%;
    }

    #slider.flexslider li.flex-active-slide .meta h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) AND (orientation: landscape) {
    #slider.flexslider ul.slides li {
        height: 80vh !important;
    }
}

@media (max-width: 767px) AND (orientation: portrait) {
    #slider.flexslider ul.slides li {
        height: 45vh !important;
    }
}

@media (max-width: 991px) {
    #logo img {
        height: 38px;
    }
}
