/* Events Page */
.post-type-archive-mec-events .ast-container h1 {
    margin: 0 0 10px;
	text-align: center;
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-o-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
    font-family: Droid Serif,serif;
    font-size: 33px;
}

.post-type-archive-mec-events h1 .marked {
    color: #f7b5bf
}

.mec-has-event-a {
    position: relative;
}

.fa-angle-double-right {
    position: absolute;
    width: 100%;
    display: block;
    bottom: -5px;
}

.fa-angle-double-right::before {
    font-family: Fontello;
    content: '\e800';
    font-size: 7px;
}

.post-type-archive-mec-events h1 .marked {
    font-size: 33px;
    color: #de9ca6;
}

.mec-container .mec-wrap .mec-totalcal-box .mec-totalcal-view {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: left;
        -ms-flex-pack: left;
            justify-content: left;
    margin-bottom: 10px;
    width: 100%;
}

#content .post-event-btn {
	margin-right: auto;
}

#content .post-event-btn span,
#content .mec-totalcal-view > * {
    font-weight: 700;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    min-height: 36px;
    line-height: 1.9em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#content .post-event-btn span {
    font-size: 10px;
    color: #000;
    padding: 0 5em;
    background-color: #f7b5bf;
    border: 1px solid #f7b5bf;
}

#content .post-event-btn span:hover {
    background-color: #f8bec7;
}

.mec-wrap .mec-tab-loader {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.mec-totalcal-view > * {
	margin-top: 0 !important;
}

.post-type-archive-mec-events .site-content .ast-container {
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
    padding: 40px 20px;
    background-color: #fff;
}

.post-type-archive-mec-events #content .ast-container > *:first-child {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 0px;
	        flex: 1 1 0;
	width: unset;
}

.post-type-archive-mec-events #content .ast-container > *:last-child {
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 300px;
	        flex: 0 0 300px;
	width: unset;
}

#content .mec-calendar-table {
    border: none;
    min-height: 0;
}

#content .mec-calendar dl,
#content .mec-calendar-side,
#content .mec-calendar-header {
    width: 100%;
}

#content .mec-calendar-side {
    padding: 70px 20px 20px 20px;
}

#content .mec-calendar-day,
#content .mec-table-nullday {
    width: 100%;
}

#content .mec-calendar-topsec {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.widget-area .sidebar-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: transparent;
    padding-bottom: 0;
}

.mec-calendar-header {
    display: none !important;
}

#content .mec-calendar dt {
    font-family: 'Roboto',sans-serif;
    font-size: 17px;
    border-radius: 0;
    padding-bottom: 10px;
}

.mec-calendar-row dt {
    background: -o-linear-gradient(bottom, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(238,238,238,1)), to(rgba(255,255,255,1)));
    background: linear-gradient(0deg, rgba(238,238,238,1) 0%, rgba(255,255,255,1) 100%);
}

#content .mec-calendar dt.mec-calendar-day-head {
    font-size: 10px;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-weight: 400;
    height: auto;
    line-height: inherit;
    padding: 8px;
}

#content .mec-totalcal-view > * {
    font-size: 9px;
    padding: 0 2em;
    background-color: #fff;
    color: #000;
    border: 1px solid #dee6eb;
    width: auto;
}

#content .mec-totalcal-view .mec-totalcalview-selected {
    border: 1px solid #f49bbc;
    background-color: #fce2e6;
}

#content .mec-totalcal-view .mec-totalcalview-selected:hover {
    color: #000 !important;
}

#content dt.mec-has-event::after {
    content: '';
    width: 0;
    height: 0;
}

#content dt.mec-has-event:hover::after {
    background-color: #fff;
}

.calendar-header__buttons {
    margin-bottom: 20px;
}

#main-content .calendar-header__buttons button {
    border-radius: 0;
    background-color: #fce2e6;
    color: #000;
    border: 3px solid #f8c5cc;
    padding: 15px 10px;
    font-size: 14px;
    margin: 0;
    width: 100%;
}

#main-content .calendar-header__buttons button:hover {
    background-color: #fbdadf;
}

#main-content .weekend-link button {
    margin-bottom: 15px;
}

.calendar-header__buttons span {
    font-family: 'Roboto', sans-serif;
}

.calendar-header__buttons span:first-child {
    font-weight: 900;
}

.calendar-header__buttons span:last-child {
    font-weight: 300;
}

.mec-calendar-events-side .mec-calendar-events-sec .mec-event-time,
.mec-calendar-events-side .mec-calendar-events-sec .mec-color-hover,
.mec-event-loc-place {
    font-size: 18px;
}

.ast-breadcrumbs {
    padding-top: 15px;
}

.title-wrap .share-icons {
    margin: 0 auto 20px;
}

.title-wrap {
    margin-top: 30px;
    margin-bottom: 15px;
}

.mec-wrap .note {
    font-size: 12px;
    margin-bottom: 0;
}

.mec-wrap .mec-search-form .mec-dropdown-wrap .mec-dropdown-search:last-child select {
    margin-bottom: 0;
}

@media only screen and (min-width: 481px) {

    #content .mec-calendar dt {
        border-bottom: 1px solid #dee6eb;
        border-right: 1px solid #dee6eb;
        font-size: 34px;
        padding-bottom: 20px;
    }

    .fa-angle-double-right {
        bottom: -7px;
    }

    .fa-angle-double-right::before {
        font-size: 12px;
    }

    #content .mec-calendar dt:first-child {
        border-left: 1px solid #dee6eb;
    }

    #content .mec-calendar dt.mec-calendar-day-head {
        font-size: 19px;
        border: none;
    }

    #content .mec-calendar-side {
        padding: 70px 30px 30px 30px;
    }

    .mec-wrap .mec-search-form .mec-dropdown-wrap .mec-dropdown-search select {
        margin-bottom: 0;
    }

    .mec-search-form .mec-dropdown-search {
        margin-bottom: 10px;
    }
    
    .mec-search-form .mec-dropdown-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }
    
    .mec-search-form .mec-dropdown-wrap > * {
        -webkit-box-flex: 1;
            -ms-flex: 1 1 45%;
                flex: 1 1 45%;
    }
    
    .mec-search-form .mec-dropdown-wrap > *:last-child {
        -webkit-box-flex: 1;
            -ms-flex: 1 1 55%;
                flex: 1 1 55%;
    }
}

@media screen and (min-width: 769px) {

    .post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view span {
        margin-bottom: 0;
    }

    .mec-container .mec-wrap .mec-totalcal-box .mec-totalcal-view {
        margin-bottom: 0;
        width: auto;
    }

    #content .post-event-btn span {
        margin-left: 10px;
    }

    .mec-wrap .mec-tab-loader {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
    
    .calendar-header-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .calendar-header-wrap > *:first-child {
        -webkit-box-flex: 1;
            -ms-flex: 1 0 0px;
                flex: 1 0 0;
    }

    .calendar-header-wrap > *:last-child{
        -webkit-box-flex: 0;
            -ms-flex: 0 0 30%;
                flex: 0 0 30%;
        margin-left: 20px;
    }

    .title-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }

    .title-wrap > *:first-child {
        -webkit-box-flex: 0;
            -ms-flex: 0 1 75%;
                flex: 0 1 75%;
    }

    .title-wrap > *:last-child {
        -webkit-box-flex: 0;
            -ms-flex: 0 1 25%;
                flex: 0 1 25%;
    }

    .title-wrap .share-icons {
        margin: 0 0 0 auto;
    }

    .post-type-archive-mec-events .ast-container h1 {
        text-align: left;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1200px) {
    .post-type-archive-mec-events #content .ast-container > *:first-child {
        padding-left: 0;
    }

    #content .ast-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}