body {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    background: #edeef0;
}

.form-container{
    max-width: 500px;
    margin: 20vh auto;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 0 0 #d3d9de,0 0 0 1px #e7e8ec;
}

.form-btn{
    font-size: 14px;
    line-height: 20px;
    border-radius: 3px;
    width: 100px;
    padding: 7px 16px 8px;
    background-color: rgb(81, 129, 184);
    color: #ffffff;
}

.notice {
    margin: 20px 0;
    border: green 1px solid;
    color: green;
    padding: 30px;
    text-align: center;
}

.error {
    margin: 20px;
    border: red 1px solid;
    color: red;
    padding: 30px;
    text-align: center;
    width: 100%;
}

.btn-action{
    width: 200px;
}

.btn-action i{
    margin-right: 5px;
}

h5{
    margin-top: 30px;
}

.image-delete, .product_delete, .line-var-delete{
    color:red;
}

.image-main{
    color: #555555;
}

.image-main.active{
    color: green;
}

.action-dark{
    width: 80px;
    padding: 5px;
}

.sizes-block{
    height: 100px;
    overflow: auto;
}

.navbar{
    background: #4a76a8;
    border-bottom: 1px solid #4872a3;
    padding: 0;
}

.navbar-brand{
    margin-right: 50px;
}

.nav-item {
    display: block;
    text-align: center;
}

.nav-item a {
    line-height: 27px;
    font-size: 13px;
    color: #285473;
}

.top-nav .dropdown-item{
    padding: 5px;
}

.top-nav li.nav-item:hover, .top-nav li.nav-item:active{
    background: #3d6898;
    text-decoration: none;
    color: #ffffff;
}

li.nav-item:hover, li.nav-item:active{
    background: #e1e5eb;
    text-decoration: none;
    border-radius: 2px; ;
}

.nav-item .user-name{
    font-size: 13px;
    font-weight: bold;
    color: #fefefe;
}

.nav-item .dropdown-menu{
    min-width: auto;
}

.nav-item .button-name{
    font-size: 13px;
}

.top-order-num{
    line-height: 40px;
    margin: 0;
    padding: 0;
    color: #fff;
}

.number-field{
    /*max-width: 50px;*/
    text-align: right;
}

.action-field{
    text-align: right;
}

.form-control{
    font-size: 11px;
}

.btn-dark, .btn-dark.close{
    background-color: #6590c7;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
    width: 100%;
    max-width: 250px;
    margin-bottom: 10px;
    margin-top: 10px;
    float: none;
    font-weight: normal;
    line-height: inherit;
    text-shadow: none;
    opacity: 1;
}

.btn-confirm{
    background-color: #5fb053;
}

.nav .nav-item img{
    opacity: 0.75;
    width: 20px;
    margin: 0 10px;
}

.nav i, .nav span{
    line-height: 25px;
}

.nav i{
    color: #99b0c6;
    width: 35px;
    height: 25px;
    margin: 0 10px;
    font-size: 20px;
    text-align: center;
}

.dropdown-menu{
    font-size: 12px;
}

.content{
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 0 0 #d7d8db, 0 0 0 1px #e3e4e8;
    padding: 15px;
    min-height: calc(100% - 30px);
}

.content table p{
    margin: 0;
}

button.show_modal i, a.icon-button i{
    font-size: 13px;
}

button.show_modal .button-name, a.icon-button .button-name{
    font-size: 10px;
}

.btn-dark:hover, .btn-dark.close:hover{
    background: #2a5885;
    border-color: #6793d3;
}

.btn-confirm:hover{
    background-color: #68b35d;
    opacity: .88;
}

tr.list-table-header th{
    border-top: none;
    border-bottom: 2px solid #2a5885;
    background: #ffffff;
    color: #2a5885;
}

.section-menu{
    border-bottom: 2px solid #cccccc;
    margin: 0 0 50px 0;
}

.section-menu.bottom-menu{
    border-bottom: none;
    border-top: 2px solid #cccccc;
    margin: 50px 0 0 0;
}

.section-menu .section-item{
    display: block;
    padding: 10px;
    font-size: 13px;
    color: #2a5885;
    margin-bottom: -2px;
}

.section-menu.bottom-menu .section-item{
    margin-bottom: 0;
    margin-top: -2px;
}

.section-menu a.section-item:hover{
    text-decoration: none;
}

.section-menu .section-item.active{
    border-left: 2px solid #2a5885;
    background: #e1e5eb;
    text-decoration: none;
    border-radius: 2px;
}

.section-menu .section-item:hover{
    background: #e1e5eb;
    text-decoration: none;
    border-radius: 2px;
}

.section-menu.bottom-menu .section-item.active{
    border-bottom: none;
    border-top: 4px solid #2a5885;
    padding-top: 6px;
}

.footer{
    margin-top: 40px;
    color: rgb(42,88,133);
    font-size: 11px;
    text-align: center;
}

.footer .copyright{
    padding: 24px 15px 35px;
    border-top: 1px solid #dce1e6;
}

h2, h3, h4, h5, .modal-title{
    color: #2a5885;
    font-size: 13px;
    line-height: 32px;
    margin-bottom: 0;
}

.navbar-nav .dropdown-menu{
    position: absolute;
    top:100%;
    right: 0;
}

.ready-section-icon{
    display: none;
    position: absolute;
    font-size: 30px;
    color: #ffffff;
    background: #4a76a8;
    border-radius: 50%;
}

.mobile-nav{
    background: #ffffff;
    position: fixed;
    top: 0;
    height: 50px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,.05), 0 0 4px 0 rgba(0,0,0,.05);
    z-index: 500;
}

.mobile-nav .navbar-toggler-icon{
    height: 30px;
    width: 30px;
}

.submenu.show{
    right: 0;
    width: 320px;
    overflow: auto;
}

.submenu{
    position: fixed;
    box-shadow: 4px 0 4px 0 rgba(0,0,0,.05), 0 0 4px 0 rgba(0,0,0,.5);
    top: 0;
    bottom: 0;
    right: -320px;
    width: 300px;
    padding: 60px 30px;
    background-color: #ffffff;
    font-size: 16px;
    color: #000000;
    z-index: 10000;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: right 0.5s;
    -o-transition: right 0.5s;
    transition: right 0.5s;
}

.navbar-light .submenu .b-right-menu__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    line-height: 33px;
    text-align: center;
    background-color: #2a5885;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    -webkit-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    transition: transform 0.5s;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    padding: 0;
}

.b-right-menu__close:hover {
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.b-right-menu__close i {
    font-size: 18px;
}

.b-right-menu__close i {
    background-position: 0 -30px;
    width: 14px;
    height: 12px;
}

.submenu .section-menu{
    border-bottom: none;
}

.submenu .section-menu input{
    background-color: #ebedf0;
    border-radius: 8px;
    width: 100%;
    max-width: none;
}

.inf-item{
    margin-bottom: 5px;
    border-bottom: 1px solid #eeeeee;
}

#live_search_input_mobile{
    height: 40px;
    line-height: 40px;
}

#owed_form label{
    line-height: 30px;
}

.list-table-container{
    max-height: 400px;
}

.image-block{
    width: 5vw;
}

.image-block img{
    max-width: 100%;
}

.thanks_block{
    position: absolute;
    bottom:100px;
    right: 0;
}

.zoom-image img{
    -webkit-transform: translate(50%, 50%) scale(5, 5);
    -ms-transform: translate(50%, 50%) scale(5, 5);
    transform: translate(50%, 50%) scale(5, 5);
    z-index: 1000;
}

.zoom-image a{
    display: none;
}

.top-line th, .top-line td{
    border-top: 2px solid #2a5885;
}

.show_line_content, .hide_line_content{
    display: inline-block;
    width: 80px;
}

a.owed-history{
    display: none;
}

input.discount{
    width: 50px;
}

.form-error-icon{
    display: none;
}

.addition-create-form{
    max-width: 1000px;
}

.remove-row i{
    color: red;
    cursor: pointer;
    font-size: 16px;
    line-height: 28px;
    width: 25px;
}

.add-addition-row i{
    color: #5fb053;
    cursor: pointer;
    font-size: 28px;
    line-height: 28px;
}

.red-text{
    color: red;
}

label.required:before {
    content: "* ";
    color: darkred;
}

.replacement_item{
    display: none;
}

.replacement_item td{
    background: #333333;
    color: #ffffff;
}

.action-field select{
    max-width: 250px;
    float:right;
}

.action-field form::after{
    content: '';
    clear: both;
}

.btn-icon{
    width: 30px;
    height: 30px;
    color: #ffffff;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
}

.comment-form textarea{
    padding-right: 30px;
    height: 30px;
}

.comment-error{
    font-size: 10px;
    color: green;
    display: none;
}

.green-text{
    color: #008000;
}

.big-table-text{
    font-size: 20px;
}

.border-left-dark{
    border-left-color: #343a40 !important;
}

.border-right-dark{
    border-right-color: #343a40 !important;
}

.border-top-dark{
    border-top-color: #343a40 !important;
}

.border-bottom-dark{
    border-bottom-color: #343a40 !important;
}

.waybill-table td, .waybill-table th{
    text-align: center;
    vertical-align: middle
}

.image-modal{
    padding: 15px;
}

.image-modal .modal-dialog{
    max-width: none;
    text-align: center;
    margin: 0;
}

.image-modal .modal-content{
    background-color: rgba(255,255,255,0.2);
}

.image-modal .modal-header{
    background-color: #ffffff;
}

.image-modal img{
    max-width: 90vw;
    max-height: 80vh;
}

legend.required::before {
    content: "* ";
    color: darkred;
}

.nav span.element_count{
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 10px;
    background: #dddddd;
    line-height: 22px;
    text-align: center;
}

@media screen and (max-width:767px)
{
    .zoom-image img {
        -webkit-transform: scale(1.2, 1.2);
        -ms-transform: scale(1.2, 1.2);
        transform: scale(1.2, 1.2);
    }
}

@media (min-width:576px) {
    .modal-dialog {
        max-width: 570px;
    }
}