body {
    font-family: 'AvenirNext-Regular', sans-serif;
    font-weight: 400;
}

@font-face {
    font-family: Avenir Next;
    src: url('Avenir Next.ttc');
}

@font-face {
    font-family: AvenirNext-Regular;
    src: url('AvenirNext-Regular.ttf'),
         url('AvenirNext-Regular.woff');
}

@font-face {
    font-family: AvenirNext-DemiBold;
    src: url('AvenirNext-DemiBold.ttf'),
         url('AvenirNext-DemiBold.woff');
}

@font-face {
    font-family: AvenirNext-Medium;
    src: url('AvenirNext-Medium.ttf'),
         url('AvenirNext-Medium.woff');
}

h2 {
    font-family: 'AvenirNext-DemiBold';
}

h3 {
    font-family: 'AvenirNext-DemiBold';
}

#wrapper {
    background: white;
}

.navbar-toggle {
    border: none;
    padding: 10px 10px;
}

.navbar-toggle:hover {
    background-color: #FFBB3A !important;
}

.navbar-default .navbar-toggle:hover .icon-bar {
    background: white;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFBB3A;
    color: #FFBB3A;
}

a.client-portal {
    font-family: "AvenirNext-Medium";
}

.p2p-btn-green {
    background-color: rgb(57,181,74);
    padding: 10px 25px;
}

.p2p-btn-yellow {
    background-color: #FFCA3A;
    padding: 10px 25px;
}

.p2p-btn-red {
    background-color: rgb(243,107,49);
    padding: 10px 25px;
}

.p2p-btn {
    background-color: #FFBB3A;
    color: #fff;
    border-radius: 0;
}

.p2p-btn:hover, .p2p-btn:focus, .p2p-btn:active, .p2p-btn.active, .open>.dropdown-toggle.p2p-btn {
    color: #fff;
    background-color: #FFBB3A;
}

.white {
    color: #fff;
}

.light-green {
    color:#88BE2D;
}

.green {
    color: rgb(57,181,74);
}

.green:hover {
    color: rgb(57,181,74);
}

.green:focus {
    color: rgb(57,181,74);
}

.yellow {
    color: #FFCA3A;
}

.red {
    color: rgb(243,107,49);
}

.grey {
    color: #8c8c8c;
}


.p2p-container {
    margin-bottom: 15px;
}

#wrapper {
    /*margin-left: -15px;*/
}

.container {
    background: #fff;
}

.row-no-padding {
  margin-left: 0;
  margin-right: 0;
}

.p2p-banner {
    position: relative;
}

.p2p-banner img {
    width: 100%;
}

.navbar-brand {
    padding: 0;
}

.navbar-default .navbar-nav > li > a {
    margin-top: 5px;
    padding-top: 12px;
    padding-bottom: 12px;
    color: rgb(255, 99, 0);
    font-size: 16px;
    font-family: "AvenirNext-DemiBold";
}

span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container {
    padding-top: 12px;
    padding-bottom: 12px;
}

li.select-schedule.hidden-xs.active {
    height: 49px;
    background-color: #FFBB3A !important;
}



.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: white !important;
    background-color: #FFBB3A;
}

.p2p-navbar {
    margin-bottom: 0 !important;
}

label.schedule-label {
    display: none;
}

label.email-label {
    display: none;
}

select#select-schedule {
    display: none;
}

span#select2-select-schedule-container {
    color: rgb(255, 99, 0) !important;
    font-family: AvenirNext-DemiBold;
}

span.select2-selection__clear {
    display: none;
}

span.select2-selection.select2-selection--single.select-schedule[aria-expanded="true"] span#select2-select-schedule-container {
    color: white !important;
    font-family: AvenirNext-DemiBold;
}

ul.sidebar-nav li a {
    font-family: AvenirNext-DemiBold;
}

span.select-schedule span.select2-results ul.select2-results__options li.select2-results__option{
    color: rgb(255, 99, 0) !important;
}

span.select2-selection.select2-selection--single.select-schedule {
    border: 0;
    background-color: transparent;
}

li.select-schedule.hidden-xs.active span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container span.select2-selection__placeholder {
    color: white !important;
}

span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container span.select2-selection__placeholder {
    color: rgb(255, 99, 0);
    font-weight: 400;
    font-family: "AvenirNext-DemiBold";
}

span.select2-selection.select2-selection--single.select-schedule:after{
    display: none;
}

span.select2-dropdown.select-schedule.select2-dropdown--below span.select2-results ul#select2-select-schedule-results {
    width: 200px;
}

span.select2-dropdown.select-schedule.select2-dropdown--below {
    margin-top: -1px;
}

.select2-container--default .select2-results>.select2-results__options {
    overflow-y: hidden !important;
}

.select2-dropdown {
    border: 0 !important;
}

span.select2-selection.select2-selection--single.select-schedule[aria-expanded="true"] {
    background-color: #FFBB3A !important;
    height: 46px;
}

span.select2-selection.select2-selection--single.select-schedule[aria-expanded="true"] span.select2-selection__placeholder {
    color: white !important;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: rgb(255, 99, 0) !important;
    background-color: transparent;
}

.p2p-footer-logo {
    margin-bottom: 30px;
}

.p2p-signup p {
    margin: 0;
    font-size: 18px !important;
    font-family: AvenirNext-Medium;
}

.p2p-phrase p {
    font-size: 22px;
    font-family: "AvenirNext-DemiBold";
    letter-spacing: 0.05em;
    text-transform: lowercase;
    margin-bottom: 0;
}

.footer {
    padding-top: 40px;
}

input, button, textarea {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

.wrapper, .container {
    width: 100%;
}

.hide-overflow {
    overflow: hidden;
}

#email-form .btn.disabled {
    opacity: 1.0;
}

#email-form .btn.disabled:hover {
    cursor: pointer;
}

.class-btn {
    font-size: 18px;
    padding: 8px 22px;
    font-weight: 600;
}

.class-detail-btn {
    font-size: 18px;
    padding: 10px 60px;
    font-weight: 600;
}

.class-detail-btn-banner {
    position: absolute;
    margin-top: -8%;
    margin-left: 12%;
}

span.schedule-location-bold {
    font-family: 'AvenirNext-DemiBold';
}

.select2-selection:after {
    content: '\f078';
    font: 20px/1 FontAwesome;
    color: #8c8c8c;
    right: 5px;
    top: 12px;
    height: 26px;
    padding: 3px 20px 0px 22px;
    border-left: 3px solid #FFBB3A;
    position: absolute;
    pointer-events: none;
}

.select-date .select2-container .select2-selection {
    line-height: 50px;
    height: 50px;
    border: 3px solid #ffbb3a;
}

.select-date2 .select2-container .select2-selection {
    line-height: 50px;
    height: 50px;
    border: 3px solid #ffbb3a;
}

.select-date3 .select2-container .select2-selection {
    line-height: 50px;
    height: 50px;
    border: 3px solid #ffbb3a;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-right: 90px !important;
    padding-left: 15px !important;
    color: #8c8c8c !important;
    font-weight: 600;
    font-size: 18px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px !important;
}

span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container {
    margin-top: 3px;
    padding: 0 !important;
}

span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container span.select2-selection__placeholder {
    color: rgb(255, 99, 0);
}

span.select2-selection.select2-selection--single:focus {
    outline: none;
}

li.select2-results__option {
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    font-family: "AvenirNext-DemiBold" !important;
    font-weight: 400;
    padding-left: 14px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff !important;
    color: #8c8c8c !important;
    border-style: solid;
    border-width: 1.5px 3px 1.5px 3px;
    border-color: #ffbb3a;
}

span.select2-dropdown.select2-dropdown--above li.select2-results__option:nth-child(-n+1) {
    border-color: #ffbb3a #ffbb3a #ffbb3a #ffbb3a;
    border-width: 3px;
}

span.select2-dropdown.select2-dropdown--above li.select2-results__option:nth-last-child(-n+1) {
    border-color: #ffbb3a #ffbb3a #ffbb3a #ffbb3a;
    border-width: 3px;

}

span.select2-dropdown.select2-dropdown--below li.select2-results__option:nth-child(-n+1) {
    border-color: #ffbb3a #ffbb3a #ffbb3a #ffbb3a;
    border-width: 3px

}

span.select2-dropdown.select2-dropdown--below li.select2-results__option:nth-last-child(-n+1) {
    border-color: #ffbb3a #ffbb3a #ffbb3a #ffbb3a;
    border-width: 3px

}

@media(min-width: 426px) and (max-width: 767px) {
    .p2p-phrase {
        margin-bottom: 20px;
        margin-top: 15px;
    }

    .p2p-navbar .navbar-brand {
        margin-left: 15px !important;
    }

    ul.sidebar-nav li a {
        font-size: 3vw;
    }
}

@media(max-width: 425px) {
    .p2p-navbar .navbar-brand {
        margin-left: 0 !important;
    }

    ul.sidebar-nav li a {
        font-size: 4vw;
    }

    .p2p-phrase {
        margin-bottom: 45px;
        margin-top: 0;
    }

    .p2p-footer-logo {
        margin-bottom: 20px;
        width: 140px;
    }

    .p2p-form-group {
        white-space: nowrap;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-right: 12vw !important;
        padding-left: 15px !important;
        font-size: 4vw !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        width: 10vw !important;
    }

    .select2-selection:after {
        font: 15px/1 FontAwesome;
        padding: 6px 2vw 0px 2vw;
    }

    li.select2-results__option {
        font-size: 4vw;
    }

    .class-detail-btn {
        width: 100%;
    }
}

@media(min-width: 768px) {
    .row {
        margin-left: -30px;
    }

    [class*="col-"],  /* Elements whose class attribute begins with "col-" */
    [class^="col-"] { /* Elements whose class attribute contains the substring "col-" */
        padding-right: 0;
    }

    .p2p-navbar {
        background-color: #FFBB3A;
        border: 0;
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
    }

    .p2p-navbar .navbar-brand {
        margin-left: 0 !important;
        display: block;
        line-height: 42px;
        padding-left: 20px;
    }

    .p2p-navbar .navbar-right {
        padding: 0;
        margin-right: 15px;
    }

    .p2p-navbar > div.container {
        padding-left: 0;
        padding-right: 0;
        background: #fff;
    }

    .client-portal-container {
        float: right;
    }

    .p2p-content {
        padding-top: 15px;
        margin-bottom: 0;
    }

    #email-form input {
        margin-right: 10px;
        padding-right: 0;
        font-size: 18px;
        height: 50px
    }

    #email-form .btn {
        letter-spacing: 0.05em;
        font-size: 20px;
        padding: 10px 20px;
        margin-top: -1px;
        font-weight: bold;
    }
    
    .footer {
        display: flex;
        align-items: flex-end;
    }

    .footer .p2p-copyright {
        height: 24px;
        position: relative;
        line-height: 0.75em;
    }

    .footer .p2p-copyright p {
        position: absolute;
        bottom: 0;
        right: 30px;
        letter-spacing: 0.05em;
    }

    .footer .p2p-social-media {
        padding-left: 30px;
        margin-bottom: 5px;
    }

    .p2p-phrase {
        margin-bottom: 20px;
        margin-top: 70px;
    }

    h2.yellow.signup-more-info {
        margin-top: 40px;
    }
}

/* xs devices */
@media(max-width: 767px) {
    body {
        background: #fff;
    }

    .navbar-toggle {
        margin-right: 5px;
    }

    .p2p-navbar .navbar-brand {
        height: 50px;
        display: block;
        padding-left: 0;
        padding-top: 16px;
        padding-bottom: 12px;
    }

    .p2p-content {
        padding-top: 18px;
    }

    .p2p-banner {
        padding: 0;
    }

    .p2p-item-container.row {
        padding-left: 15px;
    }

    .p2p-logo {
        margin-top: 9px;
        margin-left: 5px;
    }

    .p2p-navbar {
        height: 0;
        background-color: #ffffff;
        border: 0;
    }

    li.subnavbar-links {
        padding-left: 30px;
    }

    .p2p-social-media {
        font-size: 40px;
    }

    .p2p-banner-item-container {
        margin-bottom: 5px;
        padding: 0px 30px;
    }

    .p2p-phrase p {
        font-size: 18px;
    }

    .footer .p2p-copyright {
        height: auto;
        position: static;
    }

    .footer .p2p-copyright p {
        position: static;
        text-align: center;
        font-size: 13px;
    }

    .footer .p2p-social-media {
        padding-left: 0px;
        text-align: center;
    }

    .signup-more-info {
        font-size: 23px;
        margin-top: 40px;
        margin-bottom: 5px;
    }

    #email-form input {
        margin-right: 10px;
        padding-right: 0;
        font-size: 3.5vw;
        height: 40px
    }

    #email-form .btn {
        letter-spacing: 0.05em;
        font-size: 16px;
        padding: 8px 4.7vw;
        margin-top: -1vw;
        font-weight: bold;
    }

    .p2p-footer-logo {
        margin-top: 35px;
    }
}

/* everything above xs devices */
@media(min-width: 768px) {
    .navbar-links {
        letter-spacing: 0.05em;
    }

    a.client-portal {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
        color: #9b9b9b;
        font-size: 14px;
    }

    span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container {
        letter-spacing: 0.05em;
    }
}


@media(min-width: 768px) and (max-width: 991px) {
    .p2p-social-media {
        font-size:2.5vw;
    }

    .navbar-links {
        margin-left: 15px;
    }

    .nav li.navbar-links a {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 1.7vw;
    }

    span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container {
        font-size: 1.7vw;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    li.select2-results__option {
        font-size: 1.7vw;
    }

    li.select-schedule.hidden-xs {
        margin-left: 15px;
    }

    .nav li.navbar-links:last-child a {
        margin-right: 15px;
    }

}

@media(min-width: 992px) and (max-width: 1199px) {
    .navbar-links {
        margin-left: 10px;
        margin-right: 10px;
    }

    .nav li.navbar-links a {
        padding-left: 10px;
        padding-right: 10px;
    }

    span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container {
        font-size: 16px;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    li.select-schedule.hidden-xs {
        margin-left: 15px;
        margin-right: 15px;
    }

    .nav li.navbar-links:last-child a {
        margin-right: 0px;
    }

    .p2p-social-media {
        font-size: 24px;
    }
}

@media(min-width: 768px) and (max-width: 1199px) {
    a.client-portal {
        margin-right: 23px;
    }
}

@media(min-width: 1200px) {
    .p2p-logo {
        margin-top: 30px;
        margin-left: 15px;
    }

    .navbar-links {
        margin-left: 4px;
        margin-right: 4px;
    }

    .nav li.navbar-links a {
        padding-left: 15px;
        padding-right: 15px;
    }

    span.select2-selection.select2-selection--single.select-schedule span#select2-select-schedule-container {
        font-size: 16px;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 4px;
        margin-right: 4px;
    }

    li.select-schedule.hidden-xs {
        margin-left: 4px;
        margin-right: 4px;
    }

    .nav li.navbar-links:last-child a {
        margin-right: 5px;
    }

    a.client-portal {
        margin-right: 27px;
    }

    .p2p-social-media {
        font-size: 24px;
    }
}

@media (max-width: 345px){
    .navbar-brand img {
        width: 220px !important;
    }
}

@media (min-width: 346px) and (max-width: 991px){
    .navbar-brand img {
        width: 250px;
    }
}

@media (min-width: 992px) {
    .navbar-brand img {
        width: 320px;
    }

}

