*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

/*CUSTOMERS REGISTER FORM*/

div.cust-register{
    text-align: center;
    margin: 0px auto;
    margin-bottom: 100px;
    width: 100%;
}

div.enter-img{
    width: 100%;
    height: 200px;
    background: url('../images/site_images/new_customer/bg1.jpg') no-repeat center center;
    background-size: cover;
}

div.new-cust-header,
div.new-cust-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-cust-header{
    margin-bottom: 30px;
}

div.new-cust-header2{
    margin-top: 30px;
}

div.new-cust-header h1,
div.new-cust-header2 h1{
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding-top: 7px;
}

@media only screen and (max-width: 1200px){
    
    div.new-cust-header,
    div.new-cust-header2{
        max-width: 100%;
        height: auto;
    }

    div.new-cust-header h1,
    div.new-cust-header2 h1{
        font-size: 14px;
        padding: 5px 10px;
    }
}

div.cust-form-wrap1, div.cust-form-wrap2{
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

div.cust-form-wrap1 input{
    width: 29%;
    margin-left: 15px;
}

p.cust-reg-comment1{
    text-align: center;
    color: #400000;
    margin-bottom: 20px;
}

h6.choose-mazik{
    background-color: #fbf4df;
    padding: 10px 25px;
    width: 50%;
    margin: 5px auto;
}

div.cust-form-wrap2 input, div.cust-form-wrap2 select{
    width: 29%;
    margin-left: 15px;
}

select#israelArea,
input#custTel{
    margin-left: 0;
}

input#custCity{
    width: 90%;
    margin: 5px auto;
}

form.cust-register-form{
    position: relative;
}

form.cust-register-form h5{
    font-size: 24px;
    color: #400000;
}

form.cust-register-form h6{
    text-align: center;
    font-size: 15px;
    color: #400000;
    margin-bottom: 20px;
}

table.mazikim-table{
    width: 650px;
    margin: 25px auto;
    border: none;
    border-spacing: 20px;
    border-collapse: separate;
}

table.mazikim-table td{
    height: 200px;
    width: 200px;
    border: 2px solid #dcdcdc;
    background-color:#fff;
    padding: 10px;
}

table.mazikim-table p.mazik-name{
    background-color: #3e0001;
    color: #fff;
    padding: 5px 10px;
    margin: 3px auto;
    margin-top: 10px;
    width: 150px;
}

form.cust-register-form input[type="radio"]:before{
    content: '';
    position: absolute;
    top: -20px;
    right: -75px;
    width: 150px;
    height: 150px;
    /*background-color: black;*/
}
/*
form.cust-register-form input[type="radio"].mazik-type1:before{
    content: '';
    background: url(../images/mazikim_images/זבוב\ הבית.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type2:before{
    content: '';
    background: url(../images/mazikim_images/זבוב\ החול.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type3:before{
    content: '';
    background: url(../images/mazikim_images/חדקונית\ האורז.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type4:before{
    content: '';
    background: url(../images/mazikim_images/חיפושית\ הקמח\ \(הערמונית\).PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type5:before{
    content: '';
    background: url(../images/mazikim_images/חשופית\ צהובה.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type6:before{
    content: '';
    background: url(../images/mazikim_images/טרמיט.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type7:before{
    content: '';
    background: url(../images/mazikim_images/יתוש.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type8:before{
    content: '';
    background: url(../images/mazikim_images/נדל\ ארסי.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type9:before{
    content: '';
    background: url(../images/mazikim_images/עכבר\ הבית.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type10:before{
    content: '';
    background: url(../images/mazikim_images/פרעוש\ החתול.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type11:before{
    content: '';
    background: url(../images/mazikim_images/פשפש\ מיטה.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type12:before{
    content: '';
    background: url(../images/mazikim_images/צרעה\ מזרחית.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type13:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type14:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type15:before{
    content: '';
    background: url(../images/mazikim_images/תהלוכן\ האורן.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type16:before{
    content: '';
    background: url(../images/mazikim_images/תיקן\ אמריקאי.PNG) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type17:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type18:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type19:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type20:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}

form.cust-register-form input[type="radio"].mazik-type20:before,
form.cust-register-form input[type="radio"].mazik-type21:before,
form.cust-register-form input[type="radio"].mazik-type22:before,
form.cust-register-form input[type="radio"].mazik-type23:before,
form.cust-register-form input[type="radio"].mazik-type24:before,
form.cust-register-form input[type="radio"].mazik-type25:before,
form.cust-register-form input[type="radio"].mazik-type26:before,
form.cust-register-form input[type="radio"].mazik-type27:before,
form.cust-register-form input[type="radio"].mazik-type28:before{
    content: '';
    background: url(../images/site_images/new_customer/NoBug.png) no-repeat center center;
    background-size: 150px 125px;
    margin-left: 15px;
}
*/

form.cust-register-form .row{
    justify-content: center;
}

form.cust-register-form .wrap-radio{
    margin-bottom: 50px;
}

div#priceMsg {
    color: #fff;
    background-color: #008c00;
    border-color: none;
    width: 50%;
    margin: 10px auto;
}

form.cust-register-form select#custExtEraeSize,
form.cust-register-form #custImg1,
form.cust-register-form textarea{
    width: 65%;
    margin: 10px auto;
    border: 1px solid black;
}

label.upload-mazik{
    background-color: #fbf4df;
    padding: 10px 25px;
    width: 35%;
    margin: 10px auto;
}

form.cust-register-form textarea{
    height: 150px;
}

form.cust-register-form input#custRegSubmit{
    background-color: #008c00;
    color: #fff !important;
    height: 50px;
    width: 65%;
    margin: 10px auto;
}

form.cust-register-form input#custRegSubmit:hover{
    background-color: black;
    transition: background-color 2s;
}

@media only screen and (max-width: 922px){


    p.cust-reg-comment1 {
        margin-bottom: 0;
    }

    div.cust-form-wrap1, div.cust-form-wrap2 {
        flex-wrap: wrap;
    }

    div.cust-form-wrap1 input,
    div.cust-form-wrap2 input, 
    div.cust-form-wrap2 select{
        width: 100% !important;
    }

    input#custTel,
    input#custEmail{
        margin-left: 15px;
        width: 100% !important;
    }

    select#israelArea{
        width: 100% !important;
    }

    input#custCity{
        width: 100% !important;
        margin-right: 0;
    }

    select#israelArea{
        margin-left: 15px;
    }

    form.cust-register-form .wrap-radio {
        margin-bottom: 0;
    }

    
    select#custExtEraeSize,
    div#priceMsg,
    label.upload-mazik,
    input#custImg1,
    textarea#custMoreDetails,
    input#custRegSubmit{
        width: 100% !important;
    }

    h6.choose-mazik{
        width: 100%;
    }

}

@media only screen and (max-width: 850px){

    table.mazikim-table {
        width: 100%;
    }

    table.mazikim-table td {
        display: block;
        margin: 20px auto;
        height: auto;
    }

    form.cust-register-form input[type="radio"]{
        right: 50%;
    }
}

@media only screen and (max-width: 685px){

    form.cust-register-form input[type="radio"]{
        text-align: center;
        margin: 0px auto;
        position: relative;
        top: 5%;
        right: 5%;
    }

}