/* EXTERMINATORS PRIVATE ZONE*/

body.customize-support{
    overflow-x: auto;
}

/*tabs*/
div.open_orders2,
div.orders_to_excute2,
div.excuted_orders2{
    display: none;
}

div.tab-active{
    display: flex;
    justify-content: flex-start;    
    flex-wrap: wrap;
}

div.ext-bg-img{
    width: 100%;
    height: 250px;
    background: url('../images/site_images/ext-pz/ext-header-bg.jpg') no-repeat center center;
    background-size: cover;
}

@media only screen and (max-width: 768px){
    div.ext-bg-img{
        max-width: 100%;
        height: 100px;
    }
}

/* ext pz header style */
div.ext-pz-header{
    background: url('../images/site_images/ext-pz/header_bg.jpg') no-repeat center center;
    background-size: cover;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
}

div.ext-pz-header h1{
    color: #fff;
    text-align: center;
    font-size: 24px;
    padding-top: 5px;
}

@media only screen and (max-width: 768px){
    div.ext-pz-header{
        max-width: 100%;
        height: auto;
    }

    div.ext-pz-header h1{
        font-size: 14px;
    }
}

div.ext-details, div.ext-user-details{
    text-align: right;
    border-top: 4px solid #3e0001;
    margin: 30px 0px;
    width: 100%;
    padding: 10px;
    padding-top: 20px;
}

div.ext-user-details{
    text-align: center;
    padding-top: 4%;
    margin-bottom: 5px;
}

div.ext-user-details a{
    border: 2px solid black;
    padding: 5px 10px;
    border-radius: 20px;
    color: black;
    font-size: 14px;
    display: block;
    width: 240px;
    margin-right: auto;
    margin-left: auto;
}

div.ext-details p:last-child{
    border: none;
    padding-bottom: 4px;
}

/* send message to site manager win */
div#contactManager{
    margin-top: 25px;
}

div#contactManager div.modal-dialog{
    border-bottom: 4px solid #008c00;
}

button.send-manager-msg{
    border-radius: 20px;
    color: #fff;
    background-color: #008c00;
    width: 240px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

div.contact-site-manager div.modal-header{
    background-color: #fff;
    color: black;
    display: block;
    text-align: center;
    border: none;
    position: relative;
}

div.contact-site-manager div.modal-header .modal-title{
    margin-top: 15px;
}

div.contact-site-manager div.modal-header .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: black;
    opacity: 0.9;
    font-size: 34px;
    font-weight: 400;
}

p#sendManagerMore,
p#sendManagerSubject{
    text-align: right;
    font-size: 16px;
    color: black;
}

input.btn-send-manager{
    background-color: #008c00;
    color: #fff;
    padding: 7px 10px;
    font-size: 16px;
    float: left;
    margin-left: 10px;
    border-radius: 20px;
    width: 150px;
}


@media only screen and (max-width: 768px){
 
    div.contact-site-manager .modal-dialog {
        max-width: 400px;
    } 
}

div.ext-orders{
    padding: 0;
    margin: 0;
    margin: 40px auto;
    width: 100%;
    height: auto;
}

div.ext-orders ul.list-tabs{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
    margin-bottom: -18px;
    margin-right: -14px;
}

div.ext-orders ul.list-tabs a.active{
    background-color: #3e0001;
    color: #fff;
}

div.ext-orders li.list-item{
    background-color: #efefef;
    width: 200px;
    color: black;
    text-align: center;
    border-left: 2px solid #dcdcdc;
}

div.ext-orders li.list-item:last-child{
    border-left: none;
}

div.ext-orders a.list-link{
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    cursor: pointer;
}

div.ext-orders div.list-content{
    padding: 0;
    margin: 0;
    padding: 20px;
    text-align: right;
    border: 2px solid #dcdcdc;
    margin: 20px auto;
    margin-bottom: 70px;
}

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

    div.ext-orders ul.list-tabs{
        margin-right: 0;
        display: block;
        width: 100%;
    }

    div.ext-orders li.list-item{
        display: block;
        width: 100%;
    }
}

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

    div.ext-user-details{
        float: none;
    }

    div.ext-details,
    div.ext-user-details{
        width: 100%;
    }

    div.ext-pz h2 {
        width: 100%;
    }
    
    div.ext-orders ul.list-tabs{
        margin: -17px auto;
    }

    div.ext-orders{
        max-width: 100%;
    }

    table.open-orders-table {
        width: 100% !important;
    }

    div.excuted_orders2 table{
        width: 100% !important;
    }

}

/* open orders */
/*orders to excute*/
div.orders_to_excute2 p{
    float: right;
    font-weight: bold;
    font-size: 15px;
}

table.open-orders-table{
    width: 47%;
    margin: 10px;
    border: 2px solid #dcdcdc;
}

table.open-orders-table tr:nth-child(1),
table.open-orders-table tr:nth-child(2){
    background-color: #f0efef;
    border: 2px solid #ecedef;
    font-weight: bold;
}

input.btn-open-order{
    background-color: #008c00;
    color: #fff;
    display: block;
    width: 270px;
    margin: 10px auto;
    border-radius: 20px;
    text-align: center;
}

td.ext-take-order,
td.ext_close_order_header{
    background-color: #fbf4df;
    color: black;
    font-weight: bold;
    text-align: center;
    padding: 15px;
}

div.wrap-two-cols{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    margin: 15px 0;
}

form.tooken_order_form p{
    font-size: 17px !important;
    font-weight: 400 !important;
}

input.btn_tooken_order{
    background-color: #008c00 !important;
    color: #fff;
    display: block;
    width: 300px;
    text-align: center;
    margin: 10px auto;
    border-radius: 20px;
    padding: 10px;
    font-size: 18px;
}

input.btn_tooken_order_ok{
    background-color: #f0efef !important;
    color: black !important;
    border: none !important;
    display: block;
    width: 300px;
    text-align: center;
    margin: 10px auto;
    border-radius: 20px;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
}

/*date fields */
div.wrap-date input{
  display: block;	
  width: 85%;
  margin: 15px auto;
}


/*CLOSE ORDERS*/
div.excuted_orders2 h3{
    color: black;
    width: 100%;
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

div.excuted_orders2 table{
    width: 47%;
    border: 2px solid #dcdcdc;
    margin-left: 15px;
    margin-bottom: 30px;
}

div.excuted_orders2 table tr:nth-child(1){
    background-color: #efefef;
    border: 2px solid #dcdcdc;
}

div.excuted_orders2 table tr td:first-child{
    width: 30%;
}

div.excuted_orders2 table tr td:last-child{
    width: 70%;
}

textarea[name="close_order_more_details"]{
    height: 100px;
}

input.btn-close-order{
    background-color: #008c00 !important;
    color: #fff;
    display: block;
    width: 300px;
    text-align: center;
    margin: 10px auto;
    border-radius: 20px;
    padding: 10px;
    font-size: 18px;
}



/*MSG TO NOT LOGEED IN CUST IN CUST PRIVATE ZONE*/
p.not-ext{
    text-align: center;
    color: darkcyan;
    font-size: 20px;
    border: 2px solid #262626;
    padding: 20px;
    width: 400px;
    max-width: 800px;
    margin: 40px auto;
    width: 100%;
}