#jPopup {
    position:fixed;
    background:rgba(0,0,0,0.7);
    z-index:9999;
    width:100%;
    height:100%;
    display:none;
}

.note_out {
    margin: 0px auto;    
}

.fixed_class {
    padding-top : 18px;
    padding-bottom : 18px;
}

.inside_class {
    margin-top: 110px; 
    background-color: white; 
    height:40%; 
    width: 36%;
    border-radius: 25px;
}

.btn_color {
    
    border: none;
    color: white;
    padding: 12px 23px;
    font-weight:700;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    margin: 4px 2px;
    cursor: pointer;
}

.btn_green {
    
}

.btn_red {
    background-color: #f44336;
}

.note_class {
	width:100%;
	float:left;
    padding: 15px; 
    font-size: 16px;  
    line-height: 110%;
    word-wrap: break-word;
}

.image_class {
    width:30%;
    height:30%;
    padding-bottom:15px;
}

.enter_dob_class{
    padding-bottom: 10px;
    font-size:18px;
}

.date_input {
    padding-bottom: 12px;
}

.term_class{
    
/*    padding-bottom:22px;*/
    margin-left: 25%;
    line-height: 0.8;
    padding-top: 10px;
    float:left;
    

}

#term_a {
    margin-left: 1%;
    text-decoration: none;
    line-height: 2.4;
    float:left;
    font-size:90%;
    color: #2fb5d2;
    cursor:pointer;
}

#dob_div{
    background: #dddfe2;
/*    width: 55%;*/
    padding-top: 10px;
}

.term_check_class{
    float:left;

}

a.iframe {
    font-size: 15px;
    font-weight:500;
}

.error_class{
    clear:both;
    color:red !important;
    font-size:14px !important;
    padding-bottom: 5px;
}

.btns_class{
    margin-left:23%;
    clear:both;

}

.enter_align {
    float:left;
}

.fancybox-overlay {
    z-index:999999 !important;
}

#cms form #jPopup{
    display : none !important;
}

#leave_btn {
    padding: 12px 23px; 
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}
@media (min-width: 1024px) and  (max-width:1280px) {

    .term_class {
        margin-left: 19%;
    }

    .btns_class{
        margin-left: 19%;
    }

    .note_class {
        font-size: 22px;   
    }

    .btn_color {
        padding: 12px 25px;
        font-size: 14px;
    }


    .enter_dob_class {
        font-size: 17px;
    }

    #leave_btn {
        padding: 12px 30px;  
    }

    #dob_div {
        width: 70%;
    }
}

@media (min-width: 768px) and  (max-width:1024px) {

    .inside_class {
        margin-top:110px;
        width: 58%;
    }

    .fixed_class {
        padding-top : 15px;
        padding-bottom : 15px;
    }

    .note_class {
        padding-bottom: 13px; 
        font-size: 21px;
    }

    .image_class {
        padding-bottom: 10px;
    }

    .term_class{

/*        padding-bottom:18px;*/
        margin-left: 22%;
        line-height: 1;
    }

    
    .enter_dob_class{
        padding-bottom: 10px;
        font-size:16px;
    }

    #dob_div {
        width: 68%;
    }
    
    a.iframe {
        font-size: 13px;
    }

    .error_class {
        font-size: 13px !important;
        
    }

    .btns_class{
        margin-left: 20%;
    }

    .btn_color {
        padding: 10px 22px;
        font-size: 14px;
    }

    #leave_btn {
        padding: 10px 28px;
    }
}

@media (min-width: 480px) and  (max-width:768px) {
    .inside_class{
        margin-top: 120px;
        /*        width: 48%; */
        width: 60%;
    }

    .fixed_class {
        padding-top : 13px;
        padding-bottom : 13px;
    }

    .note_class {

        padding-bottom: 12px;
        font-size: 19px;
    }

    .enter_dob_class {
        padding-bottom: 7px;
        font-size: 16px;
    }
    
    #dob_div {
        width: 84%;
    }

    select {
        font-size: 90% !important;
    }

    .term_class{
        margin-left: 8%;
    }
    
    #term_a {
        font-size:80%;
    }

    .btns_class {
        margin-left: 18%;
    }

    a.iframe {
        font-size: 11px;
    }

    .error_class {
        font-size: 12px !important;
        margin-left: 8px;
    }

    .btn_color {
        padding: 8px 18px;
        font-size: 15px;
    }

    #leave_btn {
        padding: 8px 22px;
    }
}

@media (min-width: 320px) and  (max-width:480px) {

    .inside_class {
        margin-top: 130px;
        width: 56%; 
    }

    .fixed_class {
        padding-top : 15px;
        padding-bottom : 15px;
    }

     .term_class{
        margin-left: 6%;
    }
    
    #term_a {
        font-size:53%;
        margin-top:4%;
    }
    
    .note_class {

        padding-bottom: 5px;
        font-size: 11px;
    }

    .image_class {
        padding-bottom: 5px;
    }

    .enter_dob_class {
        padding-bottom: 1px;
        font-size: 9px;
    }

    select{
        font-size: 56% !important;
        padding: 4px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.93);    
    }
    
    

/*    .term_class {
        padding-bottom: 15px;
        margin-left: 17%;
        line-height: 0.4;
    }*/

    .date_input {
        padding-bottom: 7px;
    }
    
    .btns_class {
        /*        margin-left: 17%;*/
        margin-left: 13%;

    }

    a.iframe {
        font-size: 7px;
    }

    .error_class {
        font-size: 9px !important;
        margin-left: 8px;
    }

    .btn_color {
        padding: 0px 10px;
    }

    #leave_btn {
        padding: 0px 12px;
    }
    
    #dob_div {
        background: #dddfe2;
        width: 80%;
        padding-top: 4px;
    }
}


@media (min-width: 240px) and  (max-width:320px) {

    .inside_class {
        margin-top: 140px;
        width: 53%;
    }

    .fixed_class {
        padding-top : 15px;
        padding-bottom : 15px;
    }

    .note_class {
        padding-bottom: 3px;
        font-size: 9px;
    }

/*     .term_class{
        margin-left: 5%;
        
    }*/
    
    #term_a {
        margin-top :9%;
        font-size:34%;
    }
    
    .image_class {
        padding-bottom: 1px;
    }

    .enter_dob_class {
        padding-bottom: 0px;
        font-size: 6px;
    }

/*    .term_class {
        margin-left: 20px;
    }*/

    button, input, select, textarea {
        font-size: 30% !important;
    }

    .term_class {
        line-height: 0.4 ;
        margin-left: 14%;
/*        padding-bottom: 15px;*/
    }

    .btns_class {
        margin-left: 19%;
    }

    a.iframe {
        font-size: 5px;
    }

    .error_class {
        font-size: 6px !important;
        margin-left: 8px;
    }

    .date_input {
        padding-top: 0px;
        margin-top:0px;
        padding-bottom: 5px;
    }

    .btn_color {
        padding: 0px 8px;
    }

    #leave_btn {
        padding: 0px 10px;
    }

    #dob_div {
        padding-top: 2px;
    }
    
    .date_input{
        padding-bottom: 6px;
    }
}

.small-select-box{
    padding: 4px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.93) !important;
    }
    
div#term_label div.modal-dialog {
    max-width: 90%;
}

div.modal-content{
    line-height:1.25;
    background: none repeat scroll 0% 0% #FFF;
    text-align: justify;
}

div.modal-content div#av_term_body img{
    width:100%;
}
