body {
    background-color: #eee;
}

#myModal{
    font-family: Helvetica;
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
}
#myModal .modal-dialog{
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}
#myModal  .modal-content{
    max-width:624px;
    width:100%;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
}
.modal-backdrop.in{
    opacity: 0.15;
}
.modal-header{
    border-bottom: none;
    padding-top:28px;
}
.modal-header span{
    color: #f0f0f0;
    font-size: 12px;
    margin-left:7px;
}

.modal-footer{
    border-top: none;
}
.step-modal:nth-child(1){
    padding-right: 0;
}
.step-modal:nth-child(2){
    padding-right: 1px;
    padding-left: 1px;

}
.step-modal:nth-child(3){
    padding-left:0;
}
.selected-step-modal span{
    color: #7ac2ef;
}
.progress-modal{
    height: 6px;
    width: 100%;
    background-color: #f0f0f0;
}
.selected-step-modal .progress-modal{
    background: #7ac2ef;
}

.progress-modal.first{
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    padding-right: 0px;
}
.progress-modal.last{
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    padding-left: 0px;
}
.modal-close{
    position: absolute;
    right: -25px;
    top: -25px;
    opacity: 1;
    cursor: pointer;
}
#step1, #step1a, #step1b, #step2, #step2b, #step3, #step3b{
    display:none;
}
#step1, #step2{
    padding:0px 50px;
}
#step1 p, #step1a p, #step1b p, #step2 p, #step2b p, #step3 p{
    font-size:20px;
    font-weight: bold;
    text-align: center;
    color: #2e2e2e;
    padding-top:30px;
    padding-bottom:30px;
}
#step1 input, #step2 input{
    width: 464px;
    height: 48px;
    border-radius: 24px;
    border: solid 1px #c1c1c1;
}
#step1 label, #step2 label{
    font-weight: normal;
    width: 100%;
    height: 19px;
    font-size: 16px;
    text-align: left;
    color: #2e2e2e;
    margin-left: 18px;
}
#step1 small, #step2 small{
    font-size: 12px;
    text-align: left;
    color: #6c6c6c;
    margin-top: 7px;
    margin-right: 20px;
}
#step1 small a, #step2 small a{
    color: inherit;

}
.btn-modal{
    width: 224px;
    height: 48px;
    border-radius: 24px;
    font-size: 16px;
}
.btn-next{
    font-weight: 600;
}
#btnUnderstood{
    /*margin: 20px 200px 8px;*/
    color:white;
}
.refund-explanation{
    width: 376px;
    height: 14px;
    font-family: Helvetica;
    font-size: 12px;
    text-align: center;
    color: #505050;
}
.alter-modal{
    display:flex;
    margin: 24px 0px;
}
.alter-modal span{
    width:15px;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    font-size: 16px;
}
.divide-line{
    height: 2px;
    border-radius: 1px;
    background-color: #d8d8d8;
    width:100%;
    margin-top: 8px;
}
#footer1{
    text-align: center;
    /*padding:18px; */
    margin-top: 35px
}
.btnStep1a, .btnStep12, .btnStepContact, .button-flex{
    margin: 30px 64px;
    text-align: center;
    display: flex;
    justify-content: center;
}
.buttonsStep3{
    margin: 20px 0px 37px;
    text-align:center;
}
.btnStepContact{
    margin:36px 64px !important
}
.buttonsStep3, .btnStepContact, .btnStep1a {
    display: none;
}
.svg-container{
    margin: 65px 0px 9px;
    text-align: center;
}
.btn-step2-option{
    width: 143px;
    height: 142px;
    border-radius: 8px;
    border: solid 1px #d7d7d7;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    white-space: normal;
}
.btn-step2-option.selected-step2-option{
    color: white;
    background-color: #7ac2ef;
    border: solid 1px #7ac2ef;
}

#step2bExp{
    text-align: center;
    font-size: 16px;
}

.arrow_box {
    position: absolute;
    /* right: -40px; */
    right: -167px;
    top: 10px;
    padding: 1px;
    border-radius: 5px;
    z-index: 1;
}
/*.arrow_box:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 27%;
    box-sizing: border-box;
    margin-left: -0.5em;
    bottom: 88%;
    border: 8px solid black;
    border-color: transparent transparent white white;
    transform-origin: 0 0;
    transform: rotate(135deg);
    box-shadow: -3px 1px 1px 0 rgba(0, 0, 0, 0.1);
    z-index: 0;
}*/
/*
.arrow_box:after, .arrow_box:before {
    bottom: 100%;
    left: 18%;
    border: solid white;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: white;
    border-width: 15px;
    margin-left: -15px;
}
.arrow_box:before {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: white;
    border-width: 18px;
    margin-left: -18px;

}
*/
#step1HelpIcon{
    position: absolute;
    margin-top: -9px;
    margin-left: 3px;
}
.modal-error input{
    border: solid 1px #ff7d6b !important;
}
.modal-error small{
    color: #ff7d6b !important;
}
.small-error {
    color: #ff7d6b !important;
}
#input1Failed{
    display:none;
}
.input-loading{
    background: url(../assets/img/loader.png) no-repeat scroll 95% 11px !important;
}
.input-success{
    background: url(../assets/img/loader.png) no-repeat scroll 95% 11px;
}
.input-failed{
    background: url(../assets/img/loader.png) no-repeat scroll 95% 11px;
}
.icon-option{
    height: 50%;
    padding-top: 0px;
}
.btn-step2-option:nth-child(1).selected-step2-option g{
    stroke:white;
}
#step2Opt2.selected-step2-option path{
    fill:white !important;
}
.btn-step2-option:nth-child(3).selected-step2-option g{
    fill:white;
}
#refunded-message{
    display:none;
}
#loaderOpt1{
    position: absolute;
    display: none;
    margin-left: 10px;
}
.btn-modal-sm{
    width:48px;
}
#btnPrevious2{
    border:none;
}
#closeTimes{
    fill: white;
}

#step1bBody, .step1a_body, .step3_body {
    text-align: center;
    padding: 0px 62px;
    font-size: 16px;
}
#step1Body{
    margin-bottom: 30px;
}
#opt1RowTitle{
    font-weight: normal;
}


.unsubscribe-dialog{
    position: fixed;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 11;
    top: 0;
}

.dialog-content > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}



.unsubscribe-dialog .overlay{
    width: 100%;
    height: 100%;
    opacity: 0.2;
    background-color: #000000;
    z-index: 2;
    position : absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
}

.unsubscribe-dialog .dialog-content{
    width: 624px;
    height: 381px;
    border-radius: 8px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    position: relative;
}

.dialog-main-text{
    font-family: Helvetica;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #2e2e2e;
}

.close-btn{
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}

.close-btn svg{
    fill: #696969;
}

.close-btn:hover svg{
    fill: #2e2e2e;
}

@media (max-width: 768px){
    #step1bBody, .step1a_body, .step3_body {
        padding: 0px;
        text-align: center;
    }
    #step1Body{
         margin-bottom: 0px;
    }
    #myModal  .modal-content{
        max-width: 100% !important;
        height: 100%;
    }
    #step1, #step2{
        padding: 0px !important;
    }
    #step1 p, #step1b p, #step2 p, #step2b p, #step3 p{
        padding-top:0px;
        padding-right: 0;
        padding-left: 0;
    }

    .modal-body {
        padding: 30px;
    }

    .form-group label{
        text-align: center !important;
        margin-left: auto !important;
    }
    #userInput1{
        width:100% !important;
    }
    .title-mobile{
        border-bottom: 1px solid #d8d8d8;
        padding-bottom: 14px;
    }
    .title-mobile p{
        font-size: 22px;
        font-weight: bold;
        text-align: left;
        color: #505050;
        margin-bottom: 0px;
    }
    .steps-header{
        margin: 10px !important;
    }
    #closeTimes{
        right: 20px;
        top: 20px;
        fill:black;
    }
    .btnStep12 {
        margin: 30px 15px;
    }
    .arrow_box{
        right: -42px;
    }
    .arrow_box:after{
        left: 95%;
    }
    .op3-col{
        text-align: center;
        margin-top:5px;
    }
    #title-step-2{

    }
    .btnStepContact{
        margin:0px !important;
    }
    .hidden-mobile-modal{
        display: none !important;
    }
    #step1 input, #step2 input{
        width: 100%;
    }
    .modal-header{
        padding-top: 14px;
        padding-bottom: 0px;
    }
    #step1 label{
        height: 45px;
        text-align: left !important;
    }
    #step1 label span{
        position: absolute !important;
        right: 30px;
        top: 10px;
    }
    #footer1{
        margin-top:0px;
    }
    #step2Header .headerTitle{
        padding:0px;
    }
    .btn-step2-option{
        width:128px;
    }
    .modal-footer{
        padding: 0;
    }
    .title-step-2{
        padding-bottom: 10px;
    }
    #opt1RowTitle{
        font-weight: normal;
        padding: 0px 0px 0px 0px;
    }
    #mailAddress{
        font-size: 80%;
    }
    #opt2RowBody{
        margin: 0px 0px -15px 0px;
    }

    #opt2RowBody label{
        text-align: left !important;
    }
    #step2b .svg-container{
        margin: 13px 0px 9px;
    }
    #weSentMail{
        padding-bottom:0px !important;
        margin-left: -15px;
        margin-right: -15px;

    }
    #loaderOpt1{
        /*position: relative;*/
    }
    #step3 .svg-container{
        margin-top: 19px !important;
    }
    #step3 p{
        font-size: 16px;
        margin-right: -15px;
        margin-left: -15px;
    }
    .btnStepContact{
        text-align: center;
    }

}
