/*
Theme Name: Leisure Child
Theme URI: 
Author: Curly Themes
Author URI: 
Description: Child Theme for Leisure
Version: 1
Template: leisure

*/

@import url("../leisure/style.css");




.search-button {
    display: none !important;
}

#mega-menu-wrap-menuMainMenu {
    left: 0;
    width: 100%;
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu li.mega-menu-item {
    position: static;
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu[data-effect="fade_up"] li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu {
    /* opacity: 0.94 !important; */
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu li.mega-menu-item ul.mega-sub-menu {
    top: 0;
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu > li.mega-menu-item > ul.mega-sub-menu {
    left: 0;
    top: 65px;
    margin: 15px 0 0 -55px;
    width: -moz-calc(100% + 110px);
    width: -webkit-calc(100% + 110px);
    width: calc(100% + 110px);
    padding: 0 55px;
    background: rgba(82, 41, 28, 0.94) none;
    color: #52291c;
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu,
#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu li.mega-menu-item {
    opacity: 0.94;
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu li.mega-menu-item ul.mega-sub-menu li a {
    /* background: rgba(82, 41, 28, 0.94) none; */
    color: #52291c;
}

#mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu li.mega-menu-item ul.mega-sub-menu li a:hover {
    background: rgba(210, 188, 142, 0.94) none;
    color: red;
}

.sticky-wrapper #main-nav.stuck {
    height: 75px;
}

header.header-content .header-row {
    background-color: rgba(170, 146, 92, 0.75);
    color: #52291c;
}

#secondary-nav .sub-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    position: absolute;
    margin: -7px 0 0 0;
    padding: 15px 28px 28px 28px;
    top: 70px;
    width: 450px;
    min-height: 300px;
    box-shadow: none;
    background-size: cover;
    text-align: left;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    z-index: 1;
    border: 2px solid rgba(251, 243, 227, 0.75);
    background-color: #ac9668 !important;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    overflow: hidden;
}

#secondary-nav .sub-menu:before {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    background: -moz-linear-gradient(left, rgba(170, 146, 92, 0.8) 0%, rgba(170, 146, 92, 0.8) 1%, transparent 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(170, 146, 92, 0.8)), color-stop(1%, rgba(170, 146, 92, 0.8)), color-stop(100%, transparent));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(170, 146, 92, 0.8) 0%, rgba(170, 146, 92, 0.8) 1%, transparent 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(170, 146, 92, 0.8) 0%, rgba(170, 146, 92, 0.8) 1%, transparent 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(170, 146, 92, 0.8) 0%, rgba(170, 146, 92, 0.8) 1%, transparent 100%);
    /* IE10+ */
    background: linear-gradient(to right, rgba(170, 146, 92, 0.8) 0%, rgba(170, 146, 92, 0.8) 1%, transparent 100%);
    /* W3C */
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
}

#secondary-nav .museum-sub .sub-menu {
    background-image: url('img/navi1.jpg');
}

#secondary-nav .life-sub .sub-menu {
    background-image: url('img/navi2.jpg');
}

#secondary-nav .edu-sub .sub-menu {
    background-image: url('img/navi3.jpg');
}

#secondary-nav .trip-sub .sub-menu {
    background-image: url('img/navi4.jpg');
}

#secondary-nav .sub-menu .menu-item > a {
    color: rgba(251, 243, 227, 1);
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.sticky-wrapper #secondary-nav.stuck {
    width: 100%;
    top: 95px;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: fixed !important;
    box-shadow: 0 1px 4px -2px rgba(0, 0, 0, 0.15);
    background-color: rgba(170, 146, 92, 0.96);
    color: #52291c;
}

.sticky-wrapper #main-nav.stuck {
    height: 95px !important;
}

header#header .sticky-wrapper {
    min-height: inherit !important;;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5 {
    color: #52291C;
}

.overview-container h1,
.overview-container h2 {
    color: #fff;
}

#main-nav #logo {
    position: relative;
    z-index: 100;
    width: 470px;
    height: 100px;
    line-height: 100px;
}

#logo img {
    width: 100%;
}

#mega-menu-wrap-menuMainMenu {
    top: 30px;
}

@media only screen and (max-width: 500px) {
    #main-nav #logo {
        width: 100%;
    }
}

@media only screen and (max-width: 950px) {
    #mega-menu-wrap-menuMainMenu .mega-menu-toggle {
        display: none;
    }

    .rev_slider_wrapper {
        margin-top: 225px !important;
    }

}

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

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu {
        display: block;
        text-align: right;
    }

    #mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu > li.mega-menu-item {
        display: inline-block;
        clear: none;
    }

}

@media (max-width: 767px) {

    .visible-xs-block {
        display: none !important;
    }

    #secondary-nav .sub-menu > .menu-item > a {
        padding: 10px;
        border-bottom: inherit;
        width: 100%;
        max-width: 100% !important;
        text-align: left;
        background-color: transparent;
    }

    #secondary-nav .sub-menu {
        width: 100%;
    }

    #secondary-nav .sub-menu:before {
        width: 100%;
        top: 30px;
        height: auto;
        bottom: 0;
    }

    #mega-menu-wrap-menuMainMenu #mega-menu-menuMainMenu > li.mega-menu-item > ul.mega-sub-menu {
        margin-left: -50%;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li:last-of-type {
        display: none;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu {
        display: block;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li.mega-menu-item.mega-toggle-on > ul.mega-sub-menu,
    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li.mega-menu-item.mega-menu-megamenu.mega-toggle-on ul.mega-sub-menu {
        display: block;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li {
        display: none;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li#mega-menu-item-3864 {
        display: block;
        position: absolute;
        left: 50%;
        top: 65px;
        width: 100%;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li#mega-menu-item-3864 > a {
        color: transparent;
        display: block;
        height: 60px;
        width: 100%;
    }

    #mega-menu-wrap-menuMainMenu .mega-menu-toggle + #mega-menu-menuMainMenu li ul li {
        display: block;
    }

    .rev_slider_wrapper {
        margin-top: 255px !important;
    }
}

#content .events-table th {
    padding-bottom: 20px;
}

#content .events-table td {
    vertical-align: top;
    padding-right: 15px;
    padding-bottom: 15px;
}

#content .events-table .event-img {
    padding-top: 5px;
}

#content .events-table .event-date .event-time {
    font-size: 11px;
}

#content .events-table .event-text {
    color: #233823;
}

#content .events-table .event-text .event-desc {
    font-size: 13px;
    color: #636f75;
}

#footer #main-footer .widget-title,
#footer #main-footer .textwidget,
#footer #main-footer .textwidget label {
    font-family: "Ubuntu", sans-serif;
    font-size: 16px;
    color: #fbf4e3;
    font-weight: bold;
}

#footer #main-footer .textwidget,
#footer #main-footer .textwidget label {
    font-weight: normal;
}

body.single-event #page-heading {
    display: none;
}

.single-event h1.post-title {
    width: 80%;
    border-bottom: 5px solid;
}

.single-event .event-meta {
    margin: 40px 0;
}

.single-event .event-row {
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

.single-event .event-label,
.single-event .event-value {
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    color: #52291c;
    display: block;
    float: left;
}

.single-event .event-label {
    font-weight: bold;
    width: 200px;
}

.single-event .event-value {
    font-weight: normal;
    color: #7f7f7f
}

.single-event .event-value ul.event-categories {
    list-style-type: none;
    font-weight: normal;
    color: #7f7f7f;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.single-event .event-value ul.event-categories li a {
    color: #7f7f7f;
    font-size: 14px;
}

.single-event .event-image {
    margin-bottom: 40px;
}

.single-event .event-image img {
    max-width: 500px;
    width: 100%;
}

.single-event .event-description,
.single-event .event-description p {
    font-family: "Ubuntu", sans-serif;
    color: #7f7f7f;
    font-size: 14px;
    font-weight: normal;
}

.single-event #content .event-description h2 {
    font-size: 18px;
    color: #7f7f7f;
    font-weight: bold;
}

body {
    overflow-x: hidden;
}

/* 14.04.2020 */
.ws-wyswyg p {
	font-size:14px;	
	font-style:normal;
	font-weight:700;
	margin: 0;
	padding: 0;
}
.absolute-header .ws-wyswyg a {
	color: #52291c;
}