/* menu */

#mega_main_menu.header5 > .menu_holder > .menu_inner > ul > li.current-menu-item > .item_link *,
#mega_main_menu.header5 > .menu_holder > .menu_inner > ul > li:hover > .item_link *,
#mega_main_menu.header5 > .menu_holder > .menu_inner > ul > li:active > .item_link * {
    color: #823b8f;
}

#wrapper #mobile-advanced #mega_main_menu li.current-menu-item > .item_link * {
    color: white;
}

@media only screen and (max-width: 992px) {
    li.menu-item-empty {
        display: none !important;
    }
}

/* logo */

.ys-logo.logo {
    top: 16px;
}

.ys-logo.logo > img {
    width: 80px;
    margin: 8px;
}

footer li.menu-item-empty {
        display: none !important;
    }

/* footer logo */
footer .logo {
    position: relative;
    padding-top: 96px;
}

/* header login / register */
header.ys-type-5 .login-area {
    display: none;
}

@media only screen and (max-width: 480px) {
    .header .menu-wrap {
        justify-content: flex-end;
    }
}

@media only screen and (min-width: 375px) and (max-width: 1024px) {
    .header.style-4.var2 .pre-header .flex-row > * {
        padding: 0 16px !important;
    }
}



/* header logo position */
.header.style-4.var2 .logo {
    top: 0;
    z-index: 1000;
}

header.ys-type-5.sticky-header.clone-fixed.slideDown .logo,
header.ys-type-5.sticky-header.clone-fixed .logo {
    top: 0;
}

#mega_main_menu.header5 > .menu_holder > .menu_inner > ul > li > .item_link .link_text {
    font-size: 12px;
}

@media only screen and (max-width: 1024px) {
    .header.style-4.var2 .pre-header .flex-row > * {
        padding: 0 64px;
    }
}

@media only screen and (min-width: 993px) {
    li.menu__item-right {
        left: -48px;
    }
}

.boxes .ys-info-box-item {
    padding: 32px !important;
}

.boxes .info-boxes {
    margin: 0 !important;
}

.boxes .info-box p {
    text-align: left;
    line-height: 1.4;
    margin-bottom: 16px;
    padding: 0 !important;
}

.boxes .info-box h3.box-title {
    text-align: left;
    font-weight: 700;
}

.boxes .info-box h3.box-title a {
    color: white;
}

tr.mptt-shortcode-row-9 td.mptt-shortcode-event.mptt-event-vertical-middle.event {
    height: 220px !important;
}

tr.mptt-shortcode-row-17 td.mptt-shortcode-event.mptt-event-vertical-middle.event {
    height: 264px !important;
}
tr.mptt-shortcode-row-18 td.mptt-shortcode-event.mptt-event-vertical-middle.event,
tr.mptt-shortcode-row-19 td.mptt-shortcode-event.mptt-event-vertical-middle.event{
    height: 232px !important;
}

div.id-12,
div.id-18,
div.id-20,
div.id-24,
div.id-27,
div.id-31 {
    border-top: 1px solid white;
}

.ys-classes-filter.content-element6 {
    display: none;
}

.breadcrumbs-wrap {
    padding: 48px 0 !important;
}

.caption-color > div {
    width: 48px !important;
    height: 48px !important;
}

.caption-color-wrapper {
    width: 48px !important;
}

.caption-color-wrapper > div > div > div > div {
    display: flex;
    /* justify-content: flex-end; */
    align-content: center;
}

.front-text-wrapper {
    display: flex;
    justify-content: center;
}

.front-text-wrapper > div {
    max-width: 960px !important;
}

.ajurweda-contact-button-wrapper .wpb_wrapper {
    display: flex;
    justify-content: center;
}

.home-classes .pagination > li > a,
.home-classes .pagination .prev-page a,
.home-classes .pagination .next-page a {
    color: white !important;
}

.ys-table-holder.wpb_mad_table.wpb_content_element.schedule-legend {
    border-radius: 0;
}

.ys-table-holder.wpb_mad_table.wpb_content_element.schedule-legend table tr.vc-th {
    display: flex;
    flex-wrap: wrap;
}

.ys-table-holder.wpb_mad_table.wpb_content_element.schedule-legend table tr.vc-th > td {
    width: 100%;
}

@media only screen and (min-width: 768px) {
    .ys-table-holder.wpb_mad_table.wpb_content_element.schedule-legend table tr.vc-th > td {
    width: 20%;
}
}

.mptt-shortcode-wrapper .mptt-shortcode-list .mptt-column .mptt-events-list .mptt-list-event {
    border-left-width: 6px;
}

.header.style-4 .pre-header {
    display: none;
}

/* #########################
/* Squares
/* ######################### */
.square_elements .ultb3-box .ultb3-title {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
}

.square_elements a.ultb3-btn {
    margin-top: 16px;
}

@media all and (min-width: 1200px) {
    .square_elements > div > .vc_column-inner {
        padding: 0 !important;
    }
    
    .square_elements > div .wpb_wrapper {
        width: calc(380px - 16px);
        height: calc(380px - 16px);
        margin-bottom: 16px;
    }
    
    .square_elements > div .wpb_wrapper .ultb3-box {
        margin-bottom: 0 !important;
        height: 100%;
    }
    .square_elements > div .ultb3-info {
        top: 0 !important;
    }
}

/* Mobile menu background */

@media only screen and (max-width: 992px) {
    #mobile-advanced #mega_main_menu>.menu_holder>.menu_inner>ul>li {
        background-color: #865792;
    }
}