/* Lightbox */

#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    outline: none;
}
#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}
#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}
#cboxContent{
    position: relative;
    overflow: hidden;
}
#cboxContent:focus, #cboxWrapper:focus, #colorbox:focus {
    outline-color: #0A1720;
}
#cboxLoadedContent {
    overflow: auto;
}
#cboxLoadedContent iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
#cboxTitle {
    margin: 0;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow, #explanationClose {
    cursor: pointer;
}
#cboxOverlay {
    background: #000;
}
#cboxLoadedContent {
    margin: 0;
}
#cboxTitle {
    position: absolute;
    top: 7px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #949494;
}
#cboxCurrent {
    position: absolute;
    top: 7px;
    left: 58px;
    color: #949494;
}
#cboxClose, #explanationClose {
    width: 30px;
    height: 30px;
    text-indent: -999em;
    background: url(../img/x.svg) center center no-repeat;
    background-size: 10px auto;
    opacity: 0.3;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#cboxClose:hover, #explanationClose:hover {
    opacity: 1;
}

.lightbox {
    width: 1024px;
    margin: 0 auto;
    padding: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.lbox-body {
    margin: 0 auto;
    padding: 40px;
    font-size: 15px;
    line-height: 24px;
    background: #FFF;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.lbox-h1 {
    margin: 30px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}
.lbox-h2 {
    margin: 30px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}
.lbox-btns {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 25px -5px -5px -5px;
}
body .lbox-btns {
    margin-bottom: -5px;
}
.lbox-btns .btn {
    flex: 0 1 auto;
    min-width: 240px;
    margin: 5px;
    padding: 14px 20px;
    font-size: 20px;
    line-height: 22px;
}



.lightbox .form .col.short {
    flex-basis: 15%;
}

.lightbox.disclaimer,
.lightbox.modify {
    max-width: 800px;
}

/* Narrow Search Lightbox */

#cboxOverlay.ns-lightbox {
    background: #000 url(../img/lightbox_narrow_search2.jpg) center center no-repeat;
    background-size: cover;
    opacity: 1 !important;
}
#cboxOverlay.ns-lightbox:before {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: url(../img/lightbox_narrow_search.jpg) center center no-repeat;
    background-size: auto;
    opacity: 1 !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.narrow-search-lbox {
    max-width: 440px;
}
.narrow-search-lbox h2 {
    margin: 0 0 10px 0;
    text-align: center;
}
.narrow-search-lbox h3 {
    margin: 10px 0 30px 0;
    font-weight: 600;
    text-align: center;
}

.plate-info-lightbox {
    max-width: 820px;
}
.plate-info-lightbox .lbox-body {
    font-size: 14px;
    line-height: 20px;
}
@media only screen and (max-width: 767px) {
    .plate-info-lightbox .lbox-body {
        font-size: 12px;
        line-height: 16px;
    }
}
.plate-info-lightbox .form-check-radio {
    display: inline-block;
    padding-left: 32px;
    font-size: 18px;
    line-height: 20px;
    vertical-align: top;
}
.plate-info-lightbox .form-check-radio .checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #0077CC;
    top: 0;
}



/* Exit Sale */

.exit-sale-lbox {
    width: 840px;
}
.exit-sale-lbox .lbox-body {
    border: 3px solid #0077CC;
    position: relative;
}
.es-logo {
    width: 156px;
    height: 36px;
    background: url(../img/es_logo.svg) 0 0 no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 10px;
    left: 10px;
}
.es-try {
    width: 494px;
    height: 90px;
    margin: 0 auto;
    padding: 30px;
    color: #000;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    background: url(../img/es_line.svg) center center no-repeat;
    background-size: 100% auto;
}
.es-try span {
    color: #EA0000;
    font-weight: 800;
    white-space: nowrap;
}
.es-try.v2 {
    padding-top: 19px;
    padding-bottom: 19px;
    line-height: 26px;
}
.es-get {
    margin-top: 25px;
    color: #215691;
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
}
.es-get span {
    color: #0077CC;
}
.es-get .price {
    font-weight: 800;
    font-size: 36px;
    line-height: 36px;
}
.es-save {
    margin-top: 25px;
    color: #000;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}
.es-save span {
    display: inline-block;
    font-weight: 800;
    position: relative;
    vertical-align: top;
}
.es-save span:before {
    display: block;
    content: "";
    width: 100px;
    height: 2px;
    background: #EA0000;
    opacity: 0.7;
    position: absolute;
    top: 12px;
    left: -2px;
    -webkit-transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -o-transform: rotate(-10deg);
    -ms-transform: rotate(-10deg);
    transform: rotate(-10deg);
}
.es-save strong {
    font-weight: 800;
}
.es-btn {
    margin-top: 35px;
}
.es-btn .btn {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    max-width: 380px;
    margin: 0 auto;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
}
.es-btn .btn .text1 {
    font-size: 48px;
    line-height: 50px;
}
.es-btn .btn .text2 {
    margin-left: 18px;
    font-size: 24px;
    line-height: 26px;
    white-space: nowrap;
}
.es-btn .btn .text2:after {
    display: inline-block;
    content: "";
    width: 16px;
    height: 17px;
    margin: 6px 0 0 18px;
    background: url(../img/es_btn.svg) 0 0 no-repeat;
    background-size: 100% auto;
    vertical-align: top;
}
.es-no {
    margin-top: 15px;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}
.es-cont #cboxClose {
    width: 30px;
    height: 30px;
    background-position: center center;
    top: 23px;
    right: 23px;
}
.es-cont #cboxClose:hover {
    background-color: #EEE;
}



@media only screen and (max-width: 1023px) {
    .lightbox {
        width: 768px;
    }
    /* Exit Sale */
    .es-get {
        font-size: 24px;
        line-height: 30px;
    }
    .es-get .price {
        font-size: 30px;
        line-height: 30px;
    }
}
@media only screen and (max-width: 767px) {
    #cboxClose,
    #explanationClose {
        top: 10px;
        right: 10px;
    }
    .lightbox {
        width: 640px;
        padding: 10px;
    }
    .lbox-body {
        padding: 30px;
    }
    .lbox-h1 {
        margin: 25px 0;
    }
    .lbox-btns {
        margin-top: 20px;
    }
    /* Exit Sale */
    .es-try,
    .es-try.v2 {
        width: auto;
        height: auto;
        padding: 30px 0 0 0;
        font-size: 16px;
        line-height: 24px;
        background: none;
    }
    .es-get {
        margin-top: 15px;
        font-size: 20px;
        line-height: 26px;
    }
    .es-get br {
        display: none;
    }
    .es-get .price {
        font-size: 26px;
        line-height: 26px;
    }
    .es-save {
        margin-top: 15px;
        font-size: 14px;
        line-height: 20px;
    }
    .es-save span:before {
        width: 80px;
        height: 1px;
        opacity: 1;
        top: 11px;
        left: -3px;
    }
    .es-btn {
        margin-top: 20px;
    }
    .es-btn .btn {
        padding: 15px 20px;
    }
    .es-btn .btn .text1 {
        font-size: 30px;
        line-height: 32px;
    }
    .es-btn .btn .text2 {
        margin-left: 12px;
        font-size: 18px;
        line-height: 20px;
    }
    .es-btn .btn .text2:after {
        width: 12px;
        height: 13px;
        margin: 4px 0 0 12px;
    }
    .es-cont #cboxClose {
        top: 13px;
        right: 13px;
    }
}
@media only screen and (max-width: 639px) {
    .lightbox {
        width: 560px;
    }
    .lbox-btns .btn.no {
        order: 10;
    }
}
@media only screen and (max-width: 559px) {
    .lightbox {
        width: 480px;
    }
}
@media only screen and (max-width: 479px) {
    .lightbox {
        width: 414px;
    }
    .lbox-body {
        padding: 20px;
        font-size: 12px;
        line-height: 16px;
    }
    .lbox-h1 {
        margin: 15px 0;
        font-size: 18px;
        line-height: 22px;
    }
    .lbox-body p {
        margin: 10px 0;
    }
    .lbox-btns {
        margin-top: 15px;
    }
}
@media only screen and (max-width: 413px) {
    .lightbox {
        width: 375px;
    }
}
@media only screen and (max-width: 374px) {
    .lightbox {
        width: 360px;
    }
}
@media only screen and (max-width: 359px) {
    .lightbox {
        width: 320px;
    }
}



/* Lightbox V2 */

body.no-overflow {
    overflow: hidden;
}
.lbox-link {
    cursor: pointer;
}
.lbox-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
@media (max-width: 767px) {
    .lbox-container {
        padding: 10px;
        align-items: flex-start;
    }
}
.lbox-container.show {
    visibility: visible;
    opacity: 1;
}
.lbox-container-inn {
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}
@media (max-width: 767px) {
    .lbox-container-inn {
        padding: 30px;
    }
}
body .lbox-container-inn {
    margin: auto;
}
.lbox-hide {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
}
.lbox-close {
    display: block;
    width: 32px;
    height: 32px;
    font-size: 0;
    cursor: pointer;
    text-decoration: none;
    text-indent: -999em;
    background: url(../img/x.svg) center center no-repeat;
    background-size: 12px auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
}
.lbox-close:hover {
    opacity: 0.5;
}
.lbox-close-link {
    cursor: pointer;
}



/* Search Disclaimer */

.disclaimer p {
    font-size: 14px;
    line-height: 22px;
    text-align: left;
}
@media (max-width: 767px) {
    .disclaimer p {
        margin: 3px 0;
        font-size: 12px;
        line-height: 15px;
    }
}

.ntc-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
@media (max-width: 767px) {
    .ntc-header {
        gap: 12px;
        margin-bottom: 15px;
    }
}
.ntc-icn {
    flex: 0 0 auto;
    width: 40px;
    height: 46px;
    background: url(../img/ntc_shield.svg) center center no-repeat;
    background-size: 100% auto;
}
@media (max-width: 767px) {
    .ntc-icn {
        width: 24px;
        height: 28px;
    }
}
.ntc-ttl {
    color: #215691;
    font-size: 30px;
    font-weight: 900;
    line-height: calc(1em + 6px);
    text-transform: uppercase;
    border-bottom: 2px solid #215691;
}
@media (max-width: 767px) {
    .ntc-ttl {
        font-size: 20px;
        line-height: calc(1em + 2px);
    }
}

@media (max-width: 767px) {
    .disclaimer .lbox-container-inn {
        padding: 20px;
        font-size: 12px;
        line-height: 16px;
    }
}

.disclaimer-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
@media (max-width: 767px) {
    .disclaimer-btns {
        margin-top: 15px;
    }
}
.disclaimer-btns .btn {
    flex: 0 1 auto;
    padding: 16px 50px;
    font-size: 24px;
    line-height: calc(1em + 2px);
}
@media (max-width: 767px) {
    .disclaimer-btns .btn {
        padding: 12px 30px;
        font-size: 18px;
    }
}
.disclaimer-btns .btn.no {
    padding: 12px 30px;
    font-size: 16px;
}
@media (max-width: 767px) {
    .disclaimer-btns .btn.no {
        padding: 8px 20px;
        font-size: 13px;
    }
}
