*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

/*EXT REGISTER FORM*/
body.page-id-8{
    background-color: #edeaea;
}

div.ext-register{
    text-align: center;
    margin-bottom: 50px;
}

div.ext-enter-img{
    width: 100%;
    height: 200px;
    background: url(../images/site_images/new_exterminator/new_ext_header.jpg) no-repeat center center;
    background-size: cover;
}

div.new-ext-header,
div.new-ext-header2{
    background: url('../images/site_images/manager-pz/header_bg.jpg') no-repeat center center;
    background-size: cover;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
}

div.new-ext-header2{
    margin-top: -10px;
}

div.new-ext-header h1,
div.new-ext-header2 h1{
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding-top: 9px;
}

@media only screen and (max-width: 1200px){
    
    div.new-ext-header,
    div.new-ext-header2{
        max-width: 100%;
        height: auto;
    }

    div.new-ext-header h1,
    div.new-ext-header2 h1{
        font-size: 14px;
        padding: 5px 10px;
    }
}

div.ext-form-wrap1,
div.ext-form-wrap2{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 25px;
}

div.ext-form-wrap1{
    padding-top: 25px;
}

div.ext-form-wrap1 input,
div.ext-form-wrap2 input,
div.ext-form-wrap2 select{
    width: 29%;
    margin-left: 15px;
    margin-bottom: 25px;
}

input#extUserName,
input#extPass{
    width: 44%;
}


form.ext-register-form{
    margin: 10px auto;
}

label.work-area-label{
    background-color: black;
    color: #fff;
    width: 220px;
    padding: 10px;
    display: block;
    text-align: center;
}

div.ext-register .row{
    margin-bottom: 20px;
}

div.ext-area-work{
    padding: 20px;
}

img.new-ext-map-img{
    width: 20px;
    height: 20px;
}

input[type="checkbox"].ext-work{
    position: relative;
}

span.ext-work-val{
    margin-right: 10px;
    margin-left: 25px;
    color: #400000;
    font-size: 13px;
}

input[type="checkbox"].ext-work:before{
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 100%;
    padding: 10px 15px;
    height: 20px;
}

/* input[type="checkbox"].ext-work:checked:before{
    background-color: #400000;
    padding: 5px;
    border-right: 13px solid #400000;
    opacity: 0.5;
    color: #fff;
} */

form.ext-register-form p{
    text-align: right;
    font-weight: 600;
}

p.valid-licence1,
p.valid-licence2,
p.valid-licence3{
    width: 30%;
}

input#extLicVal,
select#extIns{
    width: 44%;
}

form.ext-register-form input#extRegSubmit{
    background-color: #008d02;
    color: #fff !important;
    height: 50px;
    width: 70%;
    margin: -2% auto;
    margin-bottom: 100px;
}

form.ext-register-form input#extRegSubmit:hover{
    background-color: black;
    transition: background-color 2s;
}

@media only screen and (max-width: 768px){

    div.reg-ext-header1 div:first-child:after,
    div.reg-ext-header2 div:first-child:after {
        content: '';
        right: 27%;
    }

    div.ext-form-wrap1 input,
    div.ext-form-wrap2 input, 
    div.ext-form-wrap2 select,
    input#extUserName,
    input#extPass,
    input#extLicVal,
    select#extIns{
        width: 100%;
    }

    p.valid-licence2,
    p.valid-licence3{
        display: none;
    }

    p.valid-licence1{
        width: 100%;
    }

    form.ext-register-form input#extRegSubmit {
        margin-top: -16%;
    }

    span.ext-work-val{
        font-size: 18px;
        display: block;
        text-align: center;
    }

    input[type="checkbox"].ext-work:before {
        content: '';
        position: absolute;
        right: -57px;
        top: 23px;
    }

}

@media only screen and (max-width: 455px){

    div.reg-ext-header1 div:first-child:after,
    div.reg-ext-header2 div:first-child:after {
        content: '';
        right: 25%;
    }

    input[type="checkbox"].ext-work:before {
        content: '';
        position: absolute;
        right: -33px;
        top: 22px;
        width: 75px;
        height: 52px;
    }

    span.ext-work-val{
        font-size: 18px;
        display: block;
        text-align: center;
    }

}

@media only screen and (min-width: 455px) and (max-width: 534px){
    
    input[type="checkbox"].ext-work:before {
        content: '';
        position: absolute;
        right: -45px;
        top: 22px;
        width: 90px;
        height: 52px;
    }

}


@media only screen and (max-width: 992px) and (min-width: 768px){

    div.ext-register .row .col-12{
        margin-bottom: 30px;
    }

    input[type="checkbox"].ext-work:before{
        content: '';
        position: absolute;
        right: -58px;
        top: 22px;
    }

    span.ext-work-val{
        font-size: 18px;
        display: block;
        text-align: center;
    }

}