.wnps-base-block{
    background: #FFFFFF;
    margin-top: 30px;
    margin-right: 30px;
    margin-left: 10px;
    padding: 20px;
    position: relative;
    box-shadow: -3px 3px 10px -2px grey;
}

.wnps-body{
    display: flex;
}

.wnps-load-box{
    padding-left: 200px;
}

.wnps-load-box .load_addresses button{
    margin-top: 11px !important;
}

.wnps-header .wnps-title{
    padding-left: 5px;
}

.wnps-header .wnps-title h1{
    font-weight: 700;
    font-family: "Open Sans", sans-serif;
    color: #ED1C24;
    margin-top: 10px;
}

.wnps-header .wnps-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wnps-wrapper{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wnps-form-row{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wnps-form-row .input-label p{
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    padding-right: 15px;
    color: #23282D;
}

.wnps-form-row .input-box input[type="text"]{
    border: 2px solid #ED1C24;
    padding: 6px 20px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #23282D;
}

.wnps-form-row .input-box input[type="checkbox"]{
    border: 2px solid #ED1C24;
    width: 30px;
    height: 30px;
    position: relative;
}

.wnps-form-row .input-box input[type="checkbox"]::before{
    position: absolute;
    top: 1px;
    left: 1px;
    right: 0;
    bottom: 0;
    color: #ED1C24;
    font-size: 30px;
}

.wnps-form-row .input-box button[type="submit"]{
    padding: 10px 50px;
    background: #ED1C24;
    color: #FFFFFF;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border: 2px solid #ED1C24;
    transition: all .2s ease;
    cursor: pointer;
    margin-top: 20px;
}

.wnps-form-row .input-box button[type="submit"]:hover{
    background: #FFFFFF;
    color: #ED1C24;    
}

.input-label{
    max-width: 160px;
    width: 160px;
}

.wnps-preloader{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 5;
    display: none;
    justify-content: center;
    align-items: center;
}

.toplevel_page_nova_poshta .wp-menu-image img {
    padding: 2px 0 0 0!important;
    width: 100%;
    height: 100%;
}

.valid-notice-area,
.valid-notice-city,
.valid-notice-warehouse,
.valid-notice{
    display: none;
    opacity: 0;
    margin: 5px 15px 2px;
    padding: 1px 12px;
}

.valid-notice-area.error,
.valid-notice-city.error,
.valid-notice-warehouse.error,
.valid-notice.error{
    display: inline-block;
    opacity: 1;
    margin: 5px 15px 2px;
    padding: 1px 12px;
}

.valid-notice.error,
.valid-notice{
    margin: 5px 15px 2px;
    padding: 1px 12px;
}

.wnps-settings-form .select2-container{
    min-width: 200px;
}

#toplevel_page_nova_poshta .wp-menu-image{
    width: 29px !important;
    height: 29px !important;
}

#toplevel_page_nova_poshta .wp-menu-image img{
    opacity: 1 !important;
    margin-left: 7px;
}

#toplevel_page_nova_poshta .wp-menu-name{
    padding-left: 45px !important;
}

@media (max-width: 575.98px) {
    .wnps-form-row{
        flex-direction: column;
        align-items: unset;
    }
    .wnps-settings-form .select2-container{
        max-width: 290px;
    }
    .wnps-base-block{
        margin-right: 20px;
    }
    .wnps-body{
        flex-direction: column;
    }
    .wnps-load-box{
        padding-left: unset;
    }
    .wnps-form-row .input-box button[type="submit"]{
        padding: 4px 26px;
    }
    .wnps-form-row:first-child{
        flex-direction: row;
        align-items: center;
    }

    .wnps-form-row:first-child .input-label{
        max-width: 119px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .wnps-load-box{
        padding-left: unset;
    }
    .wnps-form-row .input-box button[type="submit"]{
        padding: 9px 9px;
    }
    .wnps-form-row{
        max-width: 330px;
    }
}