#overlay{
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.cs-main_header_right1 .but1{
    display:inline-block;
    height:40px !important;
    position:relative;
    z-index:222;
}

.cs-main_header_right1{
    height:auto;
}
#popupDialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 45em;
    height: 40em;
}
@media screen and (max-width:1199px){
     .cs-main_header_right1{
        position:absolute;
        right:60px;
    }
    
    .cs-main_header_right1 .but1 {
    display: inline-block;
    height: 40px !important;
    position: relative;
    z-index: 222;
    margin-top:0 !important;
    font-size: 14px;
    width:130px !important;
}

.cs-nav .cs-nav_list{
    height:350px;
    overflow-y:scroll;
}
}

@media screen and (max-width:767px){
    #popupDialog{
    width:95%;
    height:400px;
    top:20px;
    left:10px;
    transform:none;
    margin:0px auto;
}
}
@media screen and (max-width:575px){
    .cs-main_header_right1{
        position:absolute;
        right:60px;
    }
    
    .cs-main_header_right1 .but1 {
    display: inline-block;
    height: 30px !important;
    position: relative;
    z-index: 222;
    font-size: 12px;
    width:110px !important;
}

#popupDialog{
    width:95%;
    height:400px;
    top:20px;
    left:10px;
    transform:none;
    margin:0px auto;
}
}