html {
    overflow-y: scroll;
}

.x-navigation > li.xn-logo > a:first-child {
    background-color: transparent;
}
.x-navigation > li.xn-logo > a:first-child:hover {
    background-color: transparent;
}

.page-content-wrap {
    padding-bottom: 30px;
}
.footer-main {
    padding: 10px 0;
}
.order-item {
    padding:10px 0;
    margin-bottom: 2px;
    border-top: 1px dashed #e8e8e8;
}
.order-item:first-child {
    border-top: none;
}
.order-item.viewed {
    background-color: #feffe1;
}
.order-item .row:first-child {
    margin-bottom: 10px;
}
#login-form .error {
    font-weight: bold;
}
.xn-logo {
    height: 50px;
}
.x-navigation .xn-logo {
    margin-top: 15px;
}

.footer-main {
    background-color: #33414e;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}
.footer-main .copyright {
    padding-left: 215px;
}
.mobile_menu, #menu_toggle {
    display: none;
}
.mb-0 {
    margin-bottom: 0;
}
.mt-0 {
    margin-top: 0;
}
.panel .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.group-panel {

}
.group-panel.panel-warning .group-panel-heading {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
    margin-bottom: 20px;
    float: left;
    width: 100%;
    padding: 10px;
}
.group-panel.panel-warning {
    border-color: #faebcc;
    box-shadow: 0 4px 10px 2px #faebcc;
}
.group-panel.panel-warning .group-panel-heading .group-panel-title {
    color: inherit;
    margin-bottom: 5px;
}
/**/
.group-panel.panel-danger .group-panel-heading {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    margin-bottom: 20px;
    float: left;
    width: 100%;
    padding: 10px;
}
.group-panel.panel-danger {
    border-color: #ebccd1;
    box-shadow: 0 4px 10px 2px #ebccd1;
}
.group-panel.panel-danger .group-panel-heading .group-panel-title {
    color: inherit;
    margin-bottom: 5px;
}
.flex {
    display: flex;
    display: -webkit-flex;
}
.space-between{
    justify-content: space-between;
}
.flex-end {
    align-content: flex-end;
}
.nav-tabs.nav-justified .tab-button {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.w100 {
    width: 100%;
}
.flex-column {
    flex-direction: column;
}
.modal-backdrop {
    z-index: 100!important;
}
.modal-alert {
    padding: 1em;
    text-align: center;
    display: none;
}
.mb-form-control {
    min-width: 200px;
}
.list-group-item label {
    font-size: 1.3em;
}
.list-group-item.active {
    font-size: 1.4em;
}
.br-bottom-1 {
    border-bottom: 1px solid #eee;
}
/*Panel Alerts */
.pt-1em {
    padding-top: 1em;
}
.pb-1em {
    padding-bottom: 1em;
}
.pt-2em {
    padding-top: 2em;
}
.pb-2em {
    padding-bottom: 2em;
}
.mr-1em {
    margin-right: 1em;
}
.ml-1em {
    margin-left: 1em;
}
.condition-block {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}
.condition-block > input {
    margin: .5em 0;
}
.panel .panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.panel .panel-heading-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex {
    display: flex;
    display: -webkit-flex;
}
.space-between{
    justify-content: space-between;
}
.flex-end {
    align-content: flex-end;
}
.items-center {
    align-items: center;
}
.buttons-block a.btn:first-child {
    margin-right: 15px;
}
.alert--parent > div {
    margin-right: 1em;
}
.alert--parent .fa {
    font-size: 2.8em;
}
.alert--parent .danger {
    color: #b64645;
}
.alert--parent .warning {
    color: #fea223;
}

.orderItem {
    margin-top: 10px;
}
.add-order-item {
    position: relative;
    top: -28px;
    margin-right: 160px;
}
.remove-order-item {
    margin-top: 23px;
}

.order-item .row {
    min-height: 75px;
}

.row.stacked-custom [class^='col-xs-']:last-child,
.row.stacked-custom [class^='col-sm-']:last-child,
.row.stacked-custom [class^='col-md-']:last-child,
.row.stacked-custom [class^='col-lg-']:last-child {
    padding-right: 0;
}

.row.stacked-custom [class^='col-xs-']:first-child,
.row.stacked-custom [class^='col-sm-']:first-child,
.row.stacked-custom [class^='col-md-']:first-child,
.row.stacked-custom [class^='col-lg-']:first-child {
    padding-left: 0;
}

.create-supplier-address,
.create-delivery-address {
    position: relative;
    top: 22px;
}

.btn-print{
    margin-right: 30px;
}
#logdiv > div[class^="col-"]:first-child {
    padding-left:0;
}

#logdiv > div[class^="col-"]:first-child > a {
    padding-left:0;
    text-align: left;
}
.form-group.clearfix.custom-phone-button {
    position: relative;
}
.form-group.clearfix.custom-phone-button .add-user-phone {
    position: absolute;
    display: inline-block;
    right: 0;
    top: -25px;
}
button.custom-drop, button.custom-drop:hover {
    width: 100%;
    text-align: left;
    background: #F9F9F9;
}
button.custom-drop:focus, .open button.custom-drop {
    background-color: #FFF!important;
}
.panel-body .orders-parent {
	border: 2px solid #000;
	color: #000;
	margin-bottom: 2em;
}
.panel-body .orders-status {
	display: flex;
    flex-wrap: wrap;
}
.panel-body .orders-status > div {
	display: flex;
	align-items: center;
	padding: 1em;
	margin: 0;
    flex-wrap: wrap;
}
.panel-body .orders-status > div.text-center {
	justify-content: center;
}
.orders-status > [class^='col-']:nth-child(1) {
	border-right: 1px solid #000;
}
.orders-parent .orders-status:not(:last-child) > [class^='col-'] {
	border-bottom: 1px solid #000;
}
.orders-parent  .accept-button {
	padding: .7em;
	margin: 5px;
	font-weight: bold;
	font-size: 1.1em;
	transition: all .3s ease-in-out 0s;
}
.orders-parent  .accept-button:hover, .orders-parent  .accept-button:focus {
	outline: none;
}
.order-bids-group-create .panel table th,
.order-bids-group-create .panel table td {
    padding: 1em;
}
.order-bids-group-create .help-block {
    margin-bottom: 10px;
}
.order-bids-group-create .panel .table-responsive {
    margin-bottom: 15px;
}
body.loading-wrapper {
    overflow: hidden;
    /*position: fixed;*/
    /*padding-right: 17px;*/
}
.loader-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left:0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.8) url("../img/loaders/Double_Ring.svg") no-repeat center center / auto;
    z-index: 1050;
}

.panel .panel-heading-order {
    padding-top: 0px;
}
.btn-center{
    margin-top: 10px;
    margin-bottom: auto;
}
.pull-flex-right {
    margin-left: 10px;
    margin-right: auto;
}
.flex-row-reverse{
    display: flex;
    flex-direction: row-reverse;
}
.flex-justify-end{
    justify-content: flex-end !important;
}
.panel-heading .panel-button{
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: 7px;
}
.panel .panel-heading .panel-title-group{
    margin-left: 7px;
}
.currency-set-modal-body {
 display: flex;
    justify-content: center;
}
.currency-set-modal-body label{
    float: left;
    font-size: 18px;
    margin-right: 15px;
}
.currency-set-modal-body input{
    border: none;
    background: none;
    padding: 0px 5px 0px 5px;
    height: 27px;
    border-bottom: 2px black solid;
    font-size: 18px;
    width: 62px;
    margin-right: 0px;
    float: left;
}
#currency-set-modal .modal-footer {
    text-align: center;
}
.statistic-group{
    margin-bottom: 15px;
}

#Note_text_modal .modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
}

.mce-menu {position:fixed !important}
/*.mce-top-part.mce-first{*/
    /*position:fixed !important*/
/*}*/

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

#delivery-address-grid td{
    position: relative;
}
#delivery-address-grid .icon-question-eventlist{
    margin-left: 20px;
    padding: 0;
    position: absolute;
    bottom: 4px;
}
.group-orders-list td {
    width:100px
}
.img-urgent-search{
    height: 33.6px;
    width: 33.6px;
    padding-bottom: 1px;
}
.btn-danger-lighter {
    color:white;
    background-color: #b64645de;
    border-color: #b64645de;
}
.btn-danger-lighter:focus,
.btn-danger-lighter:active,
.btn-danger-lighter:hover {
    color:white;
    background-color: #a43f3e;
    border-color: #a43f3e;
}
.btn-pink {
    color:white;
    background-color: #ea3c2fbf;
    border-color: #ea3c2fbf;
}
.btn-pink:focus,
.btn-pink:active,
.btn-pink:hover {
    color:white;
    background-color: #e91e63d9;
    border-color: #e91e63d9;

}
.select2-container .select2-choice > .select2-chosen {
    margin-top: 2px;
}
#order-form .switch {
    left: 15px;
}
.switch span {
    height: 20px;
    width: 40px;
}
.switch span:after {
    width: 16px;
    top: 0px;
}
.switch input:checked + span:after {
    left: 21px;
}
.with-white-space {
    white-space: inherit;
}
.margin-bottom-5 {
    margin: 0 0 5px;
}
.mt-5px {
    margin-top: 5px;
}
.mt-10px {
    margin-top: 10px;
}
.mb-20px {
    margin-bottom: 20px;
}
.unset-min-width {
    min-width: unset;
}
svg text {
    font-size: 13px;
    font-weight: bold;
}
.x-navigation > li.xn-logo > a:first-child {
    background-image: url("../img/logo@2xDemo.png");
    background: unset;
    font-size: 24px;
    color: #ced0d3;
    text-indent: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}
.x-navigation .xn-logo {
    margin-top: 0px;
}
.login-container {
    background:  linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.07)), url(../img/logistic_intro.jpg) fixed no-repeat 50% 0px rgba(225, 225, 225, .1);
    background-size: cover;
    color: #000000;
}
.login-body{
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.login-font-demo{
    font-size: 15px;
}
.logo-header-demo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    padding: .6rem 1rem;
    background-color: rgba(44, 125, 174, 1);
    -webkit-box-shadow: 0 .5rem .5rem -.5rem rgba(0,0,0,.2);
    box-shadow: 0 .5rem .5rem -.5rem rgba(0,0,0,.2);
}
.logo-image-demo{
    height: 50px;
    font-size: 24px;
    text-transform: uppercase;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    text-align: center;
}
.login-footer-demo{
    padding: .7rem;
    color: #fff;
    background-color: rgba(44, 125, 174, 1);
}
.login-footer-demo a{
    color: #fff;
}
.languages{
    min-width: 220px;
}
.languages a{
    margin-right: 0.5em;
    color: #fff;
}
.lang_ru:after {
    display: inline-block;
    content: "";
    width: 2.3em;
    height: 2.0em;
    margin-bottom: -0.6em;
    margin-left: 0.5em;
    background: url(../img/flags_demo/ru.png) no-repeat center center / contain;
}
.lang_ro:after {
    display: inline-block;
    content: "";
    width: 2.3em;
    height: 2.0em;
    margin-bottom: -0.6em;
    margin-left: 0.5em;
    background: url(../img/flags_demo/ro.png) no-repeat center center / contain;
}
.lang_en:after {
    display: inline-block;
    content: "";
    width: 2.3em;
    height: 2.0em;
    margin-bottom: -0.6em;
    margin-left: 0.5em;
    background: url(../img/flags_demo/en.png) no-repeat center center / contain;
}
.login-container .login-box .login-body {
    float: unset;
    background: rgba(119, 62, 156, 1);
    border-radius: 20px;
}
.login-container .login-box .login-body {
    float: unset;
    color: #000000;
    background: rgba(243, 243, 243, 1);
    font-size: 20px;
    font-weight: 600;
    padding: 1rem 4rem 1rem 4rem;
}
.user-box-container-demo{
    margin-top: 1.3rem;
    margin-bottom: 3rem;
    margin-left: 7%;
    margin-right: 7%;
    display: flex;
    justify-content: space-evenly;
}
.user-box-demo{
    width: 200px;
    display: inline-block;
    padding: .7rem .7rem .7rem .7rem;
}
.user-box-inner-demo{
    flex-direction: column;
    display: flex;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    padding: .8rem 1.5rem .5rem 1.5rem;
    min-height: 173px;
    background: rgba(243, 243, 243, 1);
    -webkit-box-shadow: 0 .5rem .5rem -.5rem rgba(0,0,0,.2);
    box-shadow: 0 .5rem .5rem -.5rem rgba(0,0,0,.2);
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
.user-box-inner-demo p,
.user-box-inner-demo h3{
    color: inherit;
    text-align: center;
}
.user-box-inner-demo h3{
    margin-bottom: 15px;
}
.user-role-text-demo{
    font-weight: bold;
    font-size: 14px;
}
.user-box-inner-demo:hover {
    -webkit-transform: translateY(-.2rem);
    -ms-transform: translateY(-.2rem);
    transform: translateY(-.2rem);
    -webkit-box-shadow: 0 1rem 4rem rgba(0,0,0,.175);
    box-shadow: 0 1rem 4rem rgba(0,0,0,.175);
}
.user-demo-button{
    width: 100%;
    font-size: 14px;
    margin-top: auto;
    border: 1px solid #4daa7b;
    border-radius: 50rem;
    padding: .3rem 1.25rem;
}
.user-demo-button:hover{
    background-color: #218121;
    color: #FFFFFF;
}
.logo-demo{
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.login-container .login-box {
    width: 40%;
    margin: 0px auto;
    padding-top: 85px;
}
.login-container .logo-text-box{
    padding: .5rem 3rem 1rem 3rem;
    background: rgba(243, 243, 243, 1);
    width: 50%;
    margin: 10px auto 10px auto;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
}
.login-container .logo-text-box.text1{
    margin-top: 15px;
}
.login-container .logo-text-box.text1 p{
    margin: 5px 0 0 0;
}
.login-container .logo-text-box.text2{
    width: fit-content;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: .8rem 2rem .8rem 2rem;
}
@media only screen and (min-width: 1300px) {
    .login-container .login-box {
        width: 40%;
    }
}
@media only screen and (max-width: 1024px) {
    .footer-main .copyright {
        padding-left: 0;
    }
    #menu_toggle {
        position: absolute;
        right: 2%;
        top: 1em;
        cursor: pointer;
        width: 40px;
        height: 26px;
        display: block !important;
        z-index: 100;
    }
    #menu_toggle button {
        position: absolute;
        left: 0;
        top: 50%;
        background: #fff;
        height: 3px;
        margin: 0;
        padding: 0;
        border: none;
        width: 100%;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        outline: none !important;
        border-radius: 5px;
    }
    #menu_toggle button:before {
        content: '';
        position: absolute;
        left: 0;
        top: -10px;
        width: 40px;
        height: 3px;
        background: #fff;
        -webkit-transform-origin: 1.5px center;
        -moz-transform-origin: 1.5px center;
        -o-transform-origin: 1.5px center;
        transform-origin: 1.5px center;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        border-radius: 5px;
    }
    #menu_toggle button:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 40px;
        height: 3px;
        background: #fff;
        -webkit-transform-origin: 1.5px center;
        -moz-transform-origin: 1.5px center;
        -o-transform-origin: 1.5px center;
        transform-origin: 1.5px center;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        border-radius: 5px;
    }
    #menu_toggle.open button {
        background: transparent !important;
    }
    #menu_toggle.open button:before {
        top: 0;
        -webkit-transform: rotate3d(0,0,1,-45deg);
        -moz-transform: rotate3d(0,0,1,-45deg);
        -o-transform: rotate3d(0,0,1,-45deg);
        transform: rotate3d(0,0,1,-45deg);
        -webkit-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 50%;
        -o-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }
    #menu_toggle.open button:after {
        bottom: 0;
        -webkit-transform: rotate3d(0,0,1,45deg);
        -moz-transform: rotate3d(0,0,1,45deg);
        -o-transform: rotate3d(0,0,1,45deg);
        transform: rotate3d(0,0,1,45deg);
        transform-origin: 50% 50%;
        -webkit-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 50%;
        -o-transform-origin: 50% 50%;
    }
    .mobile_menu > .x-navigation {

        max-height: none;
    }
    .mobile_menu > .x-navigation > li:first-child {
        display: none;
    }
}
@media all and (min-width: 768px) and (max-width: 992px) {
    .user-box-inner-demo{
        min-height: 170px;
    }
}

@media all and (max-width: 768px) {
    .login-container .login-box {
        padding-top: 110px;
        width: 100%;
    }
    .login-container .logo-text-box.text1 {
        width: 100%;
    }
    .logo-header-demo {
        flex-direction: column;
    }
    .user-box-inner-demo{
        min-height: auto;
    }
    .user-box-container-demo{
        flex-direction: column;
    }
    .user-box-demo {
        width: auto;
    }
    .logo-demo {
        flex-direction: column;
        margin-bottom: 7px;
    }
    .logo-image-demo{
        height: auto;
    }
}

@media all and (max-width: 767px) {
    .order-detail > div {
        padding-bottom: 1em;
        border-bottom: 1px solid #999;
    }
    .md-mb-20px {
        margin-bottom: 20px;
    }
}
@media all and (max-width: 600px) {
    .panel-heading > div {
        display: flex;
        flex-direction: column;
        margin-top: 15px;
    }
    .panel-heading .alert--parent{
        flex-direction: unset;
    }
    .btn-center{
        margin-top: 10px;
        margin-bottom: auto;
    }
    .panel-statistic-button .panel-heading,
    .panel .panel-heading {
        flex-direction: column;
    }
    .panel-statistic-button .panel-heading a{
        margin-left: auto;
        margin-right: auto;
    }
    .panel-heading .panel-button{
        display: flex;
        flex-direction: column-reverse;
        margin-top: 0px;
    }
    .panel .panel-heading .panel-title-group,
    .panel .panel-heading .panel-title{
        margin-left: 7px;
        margin-top: 0px;
        margin-right: unset;
    }
    .btn-print {
        margin-top: 10px;
        margin-right: 0;
    }
    .panel-footer .btn {
        margin-bottom: 10px;
        display: block;
    }
    .buttons-block .btn {
        display: block;
        margin: 0 0 10px;
        font-size: 14px;
    }
    .sm-mb-20px {
        margin-bottom: 20px;
    }
    .sm-mt-10px {
        margin-top: 10px;
    }
    .login-container .login-box {
        padding-top: 160px;
    }
}
.p-4 {
    padding: 4px !important;
}

