/* Begin: Page container & hero area */
.MT-page {
	margin: 0px auto;
}
.MT-page .MT-container {
    margin: 30px auto;
    max-width: 83%;
    width: 76rem;
}
.MT-page .hero{
    height: 200px;
}
/* End: Page container & hero area */

/* Begin: Header styling */
.MT-page .dynamicLoginBTN {
    float: right;
}
header .registration {
	padding: 10px 0;
}
header .registration > a:first-child {
    line-height: 39px;
}
header .registration .dynamicLoginBTN {
    float: right;
    position: relative;
}
header .dynamicLoginBTN .mariana-auth-link-binding {
    float: right;
    outline: 0;
    width: 100%;
    border: 2px solid #4e674a;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    background: #4f6648;
    color: #fff;
    font-weight: bold;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    width: auto;
    text-align: left !important;
}
header a.nav__item.MT_authenticated-block .mariana-logout-button-binding {
    width: calc(100% - 40px);
    padding: 5px 20px;  
    display: none;
    margin: 0px !important;
    float: left;
    text-align: left;
    position: absolute;
    top: 37px;
    background: white;
    box-shadow: inset 0 0 0px 1px #f6f6f6;
    border-radius: 3px;
}
header a.nav__item.MT_authenticated-block .mariana-logout-button-binding * {
        text-align: center !important;
    width: 100% !important;
    float: left !important;
    background: transparent !important;
}
header .registration .dynamicLoginBTN:hover .mariana-logout-button-binding {
    display: block;
}
header a.nav__item.MT_authenticated-block .mariana-logout-button-binding button {
    background: inherit;
    color: #515151;
}
header .registration .dynamicLoginBTN a.MT_auth-link__text {
	margin: 0px;
}
header a.nav__item.MT_authenticated-block:hover,
header a.nav__item.MT_authenticated-block:hover .mariana-logout-button-binding {
    color: #4d4d4d;
    background: #f7f7f7;
    box-shadow: none;
    border-radius: 3px;
    box-shadow: none;
}
header .dynamicLoginBTN .mariana-auth-link-binding:hover,
header .registration .dynamicLoginBTN:hover, 
.registration .dynamicLoginBTN a:hover {
    background-color: #607958;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    text-decoration: none;
    border-color: #607958;

}
/* End: Header styling */

/* Begin: Products Cards Styling */
.MT_product-card__info .MT_product-card__price {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}
.MT_product-card__info .MT_product-card__payment-interval {
    color: #57605d;
}
.MT_product-card__info .MT_product-card__action-container a {
    background: #57605d;
    padding: 8px 16px;
    color: white !important;
    text-shadow: none;
}
.MT_product-card__info .MT_product-card__action-container a:hover {
    background: black;
    text-decoration: none;
    cursor: pointer;
}
.MT_product-card__info .MT_product-card__action-container a:hover {
    background: #4e674a;
}
/* End: Products Cards Styling */

/* Heading and buttons customization */
.MT_bg--primary {
    background-color: #57605d !important;
}
.mariana-product-buy-list-binding .MT_bg--primary {
    background-color: #506546;
}
.MT_product-card__info .MT_product-card__action-container a {
    background: #57605d;
}
button.MT_class-register__view-more-classes-button.MT_button.MT_type--h6.MT_bg--text.MT_color--inverse.ember-view {
    border: solid 2px #57605d;
    color: #4d4d4d;
}
button.MT_class-register__view-more-classes-button.MT_button.MT_type--h6.MT_bg--text.MT_color--inverse.ember-view:hover {
    color: #fff;
    border: 2px solid #4e674a;
}
p.MT_color--lowlight.MT_product-card__options, 
p.MT_color--lowlight.MT_product-card__option {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}
.MT_type--note.MT_color--lowlight.MT_product-options__description {
    color: #57605d;
}
.MT_color--lowlight {
    color: #57605d
    fill: #ccc;
}
span.MT_schedule__instructor-name {
    font-size: 20px;
}
p.MT_type--h3.MT_schedule__class-name,
.MT_type--h4.MT_schedule__time {
    color: #4e674a;
    font-weight: bold;
}
p.MT_type--note.MT_color--lowlight.MT_schedule__duration {
    font-size: 16px;
}
td.MT_border--lowlight.MT_schedule__table-cell.MT_schedule__table-cell-register {
    vertical-align: middle;
}
/* End: Heading and buttons customization */
.MT-page .hero {
     background-image: url(/assets/img/home/hero-new-cover.jpg);
}
.MT-page .hero.williamsburg {
    background-image: url(/assets/img/locations/williamsburg.jpg);
}
.MT-page .hero.upper-east-side {
    background-image: url(/assets/img/locations/upper-east-side.jpg);
}
.MT-page .account__nav a {
    color: #506546;
    border-bottom: solid 1px;
    padding: 2px 10px;
    margin: 10px 2px;
    border-radius: 0px;
}
.MT-page .account__nav a:hover {
    background: #506546;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}
span.MT_product-card__subtext {
    color: #4d4d4d;
}
.MT_bg--primary {
    background-color: #506546;
}
.simple-banner-text a:hover {
    color: white;
    text-decoration: underline;
}

.simple-banner-text {
    background: #57605d;
    color: white;
    text-align: center;
    font-size: 14px;
    padding: 10px;
    font-weight: 400 !important;
}

span.MT_schedule__instructor-name, p.MT_type--note.MT_color--lowlight.MT_schedule__classroom-name,
p.MT_type--note.MT_color--lowlight.MT_schedule__duration {
    color: #333;
}

.teachers .results .teacher .zingfit button {
    display: none;
}

/* Teacher page customization after anglar app replacement */
.teacher h3 {
        margin-bottom: 16px;
}
.teacher .name {
    color: #707070;
    font: 24px/32px gotham-book, serif;
}
.teacher strong {
    font-family: gotham-book, serif;
    font-size: 14px;
}
.teacher img {
    width: 100%;
    max-width: 33%;
}
.teacherBox img, .teacherDescription {
    float: left;
}
.teacher, .teacherBox, .interest-list, section.bg-light-gray {
    float: left;
    width: 100%;
}
.teacherDescription {
    width: 63%;
    margin-left: 4%;
}
.teacherBox {
    margin-bottom: 50px;
}
.teacherBox a, .teacherBox img {
    float: left;
    clear: both;
}
.teacherPage footer {
    float: left;
    width: 100%;
}
.teachers .results {    
    display: none;
    margin-bottom: 1em;
    color: #707070;
    font-size: 24px !important;
}
.teachers .query {
    color: #4e674a;
    font-weight: bold;
}
.teacher.list ul.interest-list {
    max-height: 2500px;
    overflow: hidden;
}
a.allTeachers {
    float: left;
    text-align: center;
    width: 100%;
    border-top: solid 1px #d4d4d4;
    padding-top: 15px;
    box-shadow: 0 -50px 150px 50px #f5f5f5;
}
.shrinkList {
    max-height: initial !important;;
} 


.MT_register-flow__heading {
    text-align: center;
}

.MT_class-register__customer-toggle {
    margin-top: 0;
    padding-top: 0;
}


/* Media query */
@media (max-width: 800px) {
    header .registration {
        float: left;
        text-align: center;
        width: 100%;
    }
    header .registration a {
        width: 100%;
    }
    header .registration .dynamicLoginBTN {
        float: left;
        outline: 0;
        width: 100%;
        border: 0px solid #4e674a;
        border-radius: 3px;
        padding: 0.5rem 0rem;
        background: none;
        color: #4e674a;
        font-weight: bold;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        text-align: center !important;
    }
    header .registration .dynamicLoginBTN > div {
        float: left;
        width: 40%;
        background: #57605d;
        padding: 9px 2%;
        color: white;
        margin: 20px 2%;
        border-radius: 3px;
    }
    header .registration .dynamicLoginBTN > div:nth-child(2) {
        background: #ffffff;
        color: #6c6c6c;
        box-shadow: inset 0 0 0px 2px;
        padding: 11px 2%;
    }
    header a.nav__item.MT_authenticated-block .mariana-logout-button-binding {
        width: auto;
        padding: 0;
        display: block;
        margin: 0px !important;
        float: left;
        text-align: center;
        position: initial;
        top: initial;
        background: white;
        box-shadow: none;
        border-radius: 3px;
    }   
    header .registration a {
    width: 100%;
    text-align: center;
    }
    header .registration .dynamicLoginBTN > div * {
        text-align: center !important;
        font-weight: 500 !important;
        width: 100% !important;
    }
    .teacher img {
        width: 100%;
        max-width: 100%;
    }
    .teacherDescription {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }
    .teacher, .teacherBox, .interest-list, section.bg-light-gray {
        padding: 0.8em 0px;
    }

    /* Class Details */
    .MT_register-flow__class-details {
        width: 100%;
        padding: 0px 15px;
    }
    .MT_register-flow__class-details.MT_register-flow__class-details--shown {
        max-height: 212px;
    }


    /* Back button */
    .MT_button__return-button {
        font-size: 12px;
    }
    .MT_schedule-week__flow-class-register .MT_button__return-button {
        margin-top: -15px;
        margin-bottom: 15px;
    }

    /* Schedule Reserve Button */
    table.MT_schedule__table tr td:last-child {
        display: block;
        border: none !important;
        border-bottom: solid 1px #ededed !important;
        border-bottom: none !important;
        padding-bottom: 5px !important;
        padding-top: 15px !important;
    }

    table.MT_schedule__table tr {
        border: solid 10px #ededed !important;
        border-bottom: solid 5px #ededed !important;
        display: block;
        box-shadow: inset 0 0 0px 1px #dadada;
        padding: 10px;
        background: white;
    }

    .MT_week-nav__day {
        font-size: 10px;
    }
    .MT_week-nav__date {
        font-size: 18px;
    }
}


/* Map size on large screens */
@media (min-width: 769px) {
    .MT_register-flow__map {
        overflow-x: auto;
        zoom: 2; 
    }
    .dropdown {
        position: relative;
    }
    .dropdown ul {
        left: -33px;
        width: 200px;
        top: 35px;
    }

}

.MT_layout-spot__name {
    font-size: 10px;
}


.MT_selected-spot {
    width: 40px;
    height: 40px;
}


/* End: Media query */