.fancybox-is-open .fancybox-bg{
    opacity: .2;
}

.fancybox-content{
    padding: 0 !important;
}

.a-modal__top{
    position: relative;
    padding: 33px 0;
    background-color: #ED6C22;
}

.a-modal__top h2{
    text-align: center;
    font-size: 25px;
    letter-spacing: 0;
    color: #FFFFFF;
    text-transform: capitalize;
    margin: 0;
}

.a-modal__close:focus{
    outline: none;
}

.a-modal__close{
    position: absolute;
    top: 33px;
    right: 20px;
    width: 28px;
    height: 28px;
    padding: 3px;
    padding-top: 4px;
    border: 2px solid #ffffff;
    background-color: transparent;
    outline: none;
}

.a-modal__close span{
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    margin: 0px -2px;
}

.a-modal__close span:first-child{
    transform: rotate(134deg);
}

.a-modal__close span:last-child{
    transform: rotate(-134deg);
    bottom: 2px;
}

.a-modal__content{
    border-bottom: 1px solid #707070;
    border-left: 1px solid #707070;
    border-right: 1px solid #707070;
    background-color: #FFFFFF;
    padding: 33px 77px;
}

.a-modal__content h3{
    font-size: 20px;
    text-align: center;
    margin-bottom: 35px;
}

.a-modal__items{
    text-align: center;
}

.a-modal__items img{
    height: 85px;
    margin-bottom: 28px;
}

.a-modal__items h4,
.a-modal__items h5{
    margin: 0;
}

.a-modal__items h4{
    font-size: 20px;
    margin-bottom: 32px;
}

.a-modal__items span{
    font-size: 20px;
    font-weight: 400;
}

.a-modal__btn:disabled{
    background-color: #707070;
}

.a-modal__btn{
    display: block;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    width: 324px;
    height: 55px;
    border-radius: 10px;
    background-color: #ED6C22;
    margin: 44px auto 0 auto;
    border: 0;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="checkbox"]:checked + label,
[type="checkbox"]:not(:checked) + label
{
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="checkbox"]:checked + label:before{
    background-color: #e4e4e3 !important;
}
[type="checkbox"]:checked + label:before,
[type="checkbox"]:not(:checked) + label:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    border: 2px solid #e4e4e3;
    border-radius: 100%;
    background: transparent;
}
[type="checkbox"]:checked + label:after,
[type="checkbox"]:not(:checked) + label:after {
    content: '';
    width: 17px;
    height: 17px;
    position: absolute;
    top: -50%;
    left: 0;
    transform: translate(50%, 50%);
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="checkbox"]:checked + label:after {
    opacity: 1;
}

/* Color */

.a-orange h4{
    color: #ED6C22;
}
.a-modal__top.a-orange {
    background:#ED6C22;
}
.a-red h4{
    color: #CD3433;
}
.a-modal__top.a-red {
    background:#CD3433;
}
.a-light_orange h4{
    color: #FCB95F;
}
.a-modal__top.a-light_orange {
    background:#FCB95F;
}
.a-orange [type="checkbox"]:checked + label:after,
.a-orange [type="checkbox"]:not(:checked) + label:after{
    background-color: #ED6C22;
}

.a-red [type="checkbox"]:checked + label:after,
.a-red [type="checkbox"]:not(:checked) + label:after{
    background-color: #CD3433;
}

.a-light_orange [type="checkbox"]:checked + label:after,
.a-light_orange [type="checkbox"]:not(:checked) + label:after{
    background-color: #FCB95F;
}

.a-orange + div .a-modal__btn {
    background-color: #ED6C22;
}

.a-red + div .a-modal__btn {
    background-color: #CD3433;
}

.a-light_orange + div .a-modal__btn {
    background-color: #FCB95F;
}

@media only screen and (max-width: 991px) {
    .fancybox-content{
        width: 100% !important;
        max-width: 100% !important;
    }
    .a-modal__content h3{
        margin: 0;
    }
    .a-modal__items{
        margin-top: 30px;
    }
}

@media only screen and (max-width: 480px) {
    .a-modal__content{
        padding: 15px;
    }
    .a-modal__top h2{
        font-size: 22px;
    }
    .a-modal__items span{
        font-size: 14px;
    }
    .a-modal__items h4,
    .a-modal__items h5,
    .a-modal__content h3{
        font-size: 16px;
    }
    .a-modal__btn{
        width: 100%;
    }
    .a-modal__close{
        top: 2px;
        right: 5px;
    }
}