@media (max-width: 395px) {
    .logged .mm.logo {
        background-image: none;
    }
}

@media (max-width: 767px) {

    .xs-zero-width {
        width: 0;
        overflow: hidden;
    }

    .xs-zero-height {
        width: 0;
        overflow: hidden;
    }

    .xs-non-visible {
        opacity: 0;
        pointer-events: none;
    }

    .logged .mm.logo {
        background-position-x: 65px;
    }

    #user ul {
        font-size: 18px;
    }

    .form-horizontal .control-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }
}

@media (min-width: 768px) {

    #mm {
        margin-left: 180px; /*for logotype*/
    }
    .modal-dialog {
        width: 700px;
    }
}

/* tables */
.table-responsive .table td {
    border: none;
}

@media screen and (max-width: 767px) {
    .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }
}

/* table editor plugin */
.shdTableEditor.table-bordered th,
.shdTableEditor.table-bordered td {
    border: 1px solid #bbb;
}

.shdTableEditor tr[data-type=controls] td {
    padding: 0;
    border-bottom-color: transparent;
    box-shadow: inset #9c9c9c 0 -1px 2px 0;
}

.shdTableEditor[data-mode="view"][data-editable] tr[data-type="row"]:hover {
    cursor: pointer;
}
.shdTableEditor[data-mode="view"] tr[data-type="row"]:hover {
    background: #c6ecff;
}

.shdTableEditor tr[data-type="row"] td.al {
    text-align: left;
}

.shdTableEditor tr[data-type="row"] td.ar {
    text-align: right;
}

.shdTableEditor tr[data-type="row"] td.ac {
    text-align: center;
}

.shdTableEditor:not([data-mode="view"]) tr[data-type="pagination"] a {
    cursor: not-allowed;
}

.shdTableEditor tr[data-type="controls"] button  {
    margin: 8px 8px 9px 1px;
}

.shdTableEditor[data-mode="view"] tr[data-type="controls"] button:not([data-action="add-record"]),
.shdTableEditor[data-mode="edit"] tr[data-type="controls"] button[data-action="add-record"],
.shdTableEditor[data-mode="edit"] tr[data-key="new"] + tr[data-type="controls"] button[data-action="delete-record"] {
    display: none;
}

/* table editor help classes */

tr[data-prepared=transfer] {
    box-shadow: inset 0 0 5px;
}


td.disable-next + td > input,
td.disable-next + td > input[required] {
    opacity: 0.7;
    -moz-box-shadow: none;
    box-shadow: none;
    pointer-events: none;
    border: none;
    text-align: right;
    padding: 3px 0;
}


.table > tbody > tr > td.do-edit-right {
    white-space: nowrap;
    padding-right: 2em;
    text-align: right;
}

.table > tbody > tr > td.with-controls,
.table > tbody > tr > td.do-edit {
  position: relative;
}
.shdTableEditor[data-mode="view"] tr:hover > td.with-controls > div,
.shdTableEditor[data-mode="view"] tr:hover > td.do-edit i {
     visibility: visible;
}

tr > td.do-edit i {
    margin: -1px 0 0 3px;
    visibility: hidden;
    position: absolute;
    padding: 4px;
    right: 4px;
    border-radius: 3px;
}

.shdTableEditor[data-mode="edit"] tr > td.with-controls > div {
    visibility: hidden;
}

.with-controls > div {
    position: absolute;
    /*visibility: hidden;*/

    height: 100%;
    top: 0;
    padding-top: 4px;
}

.with-controls.ar > div{
    left: 4px;
}
.with-controls.al > div{
    right: 4px;
}

.with-controls > div:after {
    display: inline-block;
    height: 100%;
    vertical-align: top;
    content: "";
}

.with-controls > div > i {
    opacity: 0.15;
    width: 2em;
    line-height: 2em;
    border-radius: 4px;
    text-align: center;
    vertical-align: top;
}

.with-controls > div > i:not(:first-child) {
    margin-left: 4px;
}

.with-controls > div > i:hover {
    cursor: pointer;
    opacity: 1;
}

/* shdTree plugin */

.hcb-tree {
    margin-top: 12px;
}

.hcb-tree tr[data-type^="action"] td:first-child .fa {
    margin-right: 4px;
    cursor: pointer;
}

.shdTree.table-bordered th,
.shdTree.table-bordered td {
    border: 1px solid #bbb;
}

.shdTree tr[data-type=controls] td {
    padding: 0;
    border-bottom-color: transparent;
    box-shadow: inset #9c9c9c 0 -1px 2px 0;
}


.shdTree[data-mode="view"] tr[data-type^="action"]:hover {
    background: #c6ecff;
    cursor: default;
}

.shdTree tr[data-type^="action"] td.al {
    text-align: left;
}

.shdTree tr[data-type^="action"] td.ar {
    text-align: right;
}

.shdTree tr[data-type^="action"] td.ac {
    text-align: center;
}

.shdTree:not([data-mode="view"]) tr[data-type="pagination"] a {
    cursor: not-allowed;
}

.shdTree tr[data-type="controls"] button  {
    margin: 8px 8px 9px 1px;
}

.shdTree[data-mode="view"] tr[data-type="controls"] button:not([data-action="add-record"]),
.shdTree[data-mode="edit"] tr[data-type="controls"] button[data-action="add-record"],
.shdTree[data-mode="edit"] tr[data-key="new"] + tr[data-type="controls"] button[data-action="delete-record"] {
    display: none;
}



/* BS3 design fixes*/

.form-group .radio-inline {
    color: #555;
}

.list-group-item.bg-danger {
    background-color: #f2dede;
}

a.list-group-item.bg-danger:hover,
a.list-group-item.bg-danger:focus {
    background-color: #e4b9b9;
}

.list-group-item.bg-success {
    background-color: #dff0d8;
}

a.list-group-item.bg-success:hover,
a.list-group-item.bg-success:focus {
    background-color: #c1e2b3;
}

.list-group-item.bg-warning {
    background-color: #fcf8e3;
}

a.list-group-item.bg-warning:hover,
a.list-group-item.bg-warning:focus {
    background-color: #f7ecb5;
}


.pagination {
    margin: 8px 8px 0;
}

.pagination > li > a, .pagination > li > span {
    background-color: #ffffff;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #c6ecff;
    border-color: #dddddd;
}

.label {
    font-size: 90%;
}

/* headers */
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}
/* shadows */
.shadow {
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

/* buttons */
.btn {
    padding: 6px 6px;
}

/* transforms */

.x-scale-1-3-rotate-45 {
    -webkit-transform: scale(1.3) rotate(45deg);
    -ms-transform: scale(1.3) rotate(45deg);
    transform: scale(1.3) rotate(45deg);
}

.x-1-3 {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

.x-2 {
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
}

.moveX-0 {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/* back to top button*/
#main-to-top {
    display: inline-block;
    position: fixed;
    z-index: 11;
    right: 0;
    bottom: 0;
}

#main-to-top i {
    cursor: pointer;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.8);
}

#main-to-top i:hover {
    opacity: 1;
}

/* logotype */
.logo {
    background-repeat: no-repeat;
    background-position: 5px center;
    background-image: url(../img/logo-wide-64.png);
    height: 100%;
    background-size: contain;
}

/* left/right menu */
#mml:not(.moveX-0) {
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

#mmr:not(.moveX-0) {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.slide-menu {
    transition: all 0.2s ease-in-out;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: scroll;
    z-index: 1001;
    font-size: 18px;
}

.slide-menu .panel-heading {
    font-size: 24px;
}

.slide-menu .panel-heading a {
    font-size: 36px;
    color: #fff;
}

.slide-menu .panel, .slide-menu .panel-heading {
    border-radius: 0;
    margin-bottom: 0;
}

/*main menu*/
.row.mm {
    margin-top: 6px;
    margin-bottom: 6px;
    padding: 5px 0;
}
#mm + a {
    margin-left: 10px;
}

#mm {
    font-size: 0;
    white-space: nowrap;
    display: block;
    float: left;
}

#mm button:hover i.fa {
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
}

#mm > .btn,
#mm > .btn-group {
    float: none;
}

#tabs-box ul,
#mm ul,
#user ul {
    margin: 0;
    padding: 0;
    min-width: 0;
    right: 0;
    left: inherit;
    border: none;
}

/* tabs */
.nav-tabs {
    border-bottom: 1px solid #aaa;
    white-space: nowrap;
    font-size: 0;
    position: relative;
}
.nav-tabs ~ div {
    margin-top: -1px;
    position: relative;
    border: 1px solid #aaa;
    border-top: none;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border: 1px solid #aaa;
    border-bottom-color: transparent;}

.nav-tabs li {
    float: none;
    display: inline-block;
    font-size: 14px;
    top: 1px;
}

.nav-tabs li > a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 7px 8px;
    margin-right: 0;
}

#tabs-box {
    position: absolute;
    right: 5px;
    z-index: 1;
}
#tabs-box > a {
    padding: 0 12px;
}

/* group number displaying by parent class group */
.group1 .group2 {
    display: none;
}
.group2 .group1 {
    display: none;
}

/* shared */



li.context-menu-item.no-icon {
    padding: .4em .2em;
}

li.context-menu-item.no-icon::before {
    display: none;
}


.call.btn-success,
.call.btn-warning,
.call.btn-danger,
.call.label-green,
.call.label-yellow,
.call.label-red,
.label-blue,
.label-yellow{
    padding: 3px 5px;
    border-radius: 4px;
    color: #fff;
    font-size: 95%;
    margin: 0 3px;
}
.call.btn-success .text-warning {
    color: #ffa60e;
}
.call.btn-success .text-success {
    color: #2b712b;
}

.label-red {
    background: #de4f5b;
}
.label-green {
    background: #7ede7e;
}
.label-blue {
    background: #5bc0de;
}
.label-yellow {
    background: #e4c54f;
}

.grayHoverBlack {
    color: #777;
}

.grayHoverBlack:hover {
    cursor: pointer;
    color: #111;
}

.section {
    position: relative;
    padding-top: 20px;

}

.section::before {
    content: "";
    position: absolute;
    top: 5px;
    width: 100%;
    height: 2px;
    background: #999;
}

.markBgDefault {
    background: #ffffff;
}
.markBgDefaultTransparent {
    background: none;
    background: -moz-linear-gradient(left, #ffffff 0%, transparent 8px);
    background: -webkit-linear-gradient(left, #ffffff 0%, transparent 8px);
    background: linear-gradient(to right, #ffffff 0%, transparent 8px);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='transparent', GradientType=1);
}
.markBgSuccess {
    background: #32ff32;
    background: -moz-linear-gradient(left, #32ff32 0%, #ffffff 8px);
    background: -webkit-linear-gradient(left, #32ff32 0%,#ffffff 8px);
    background: linear-gradient(to right, #32ff32 0%,#ffffff 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#32ff32', endColorstr='#ffffff',GradientType=1 );
}
.markBgSuccessTransparent {
    background: #32ff32;
    background: -moz-linear-gradient(left, #32ff32 0%, transparent 8px);
    background: -webkit-linear-gradient(left, #32ff32 0%, transparent 8px);
    background: linear-gradient(to right, #32ff32 0%,transparent 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#32ff32', endColorstr='transparent',GradientType=1 );
}
.markBgAccepted {
    background: #ffff32;
    background: -moz-linear-gradient(left, #ffff32 0%, #ffffff 8px);
    background: -webkit-linear-gradient(left, #ffff32 0%,#ffffff 8px);
    background: linear-gradient(to right, #ffff32 0%,#ffffff 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff32', endColorstr='#ffffff',GradientType=1 );
}
.markBgAcceptedTransparent {
    background: #ffff32;
    background: -moz-linear-gradient(left, #ffff32 0%, transparent 8px);
    background: -webkit-linear-gradient(left, #ffff32 0%,transparent 8px);
    background: linear-gradient(to right, #ffff32 0%,transparent 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff32', endColorstr='transparent',GradientType=1 );
}
.markBgWarning {
    background: #fba704;
    background: -moz-linear-gradient(left, #fba704 0%, #ffffff 8px);
    background: -webkit-linear-gradient(left, #fba704 0%,#ffffff 8px);
    background: linear-gradient(to right, #fba704 0%,#ffffff 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fba704', endColorstr='#ffffff',GradientType=1 );
}
.markBgWarningTransparent {
    background: #fba704;
    background: -moz-linear-gradient(left, #fba704 0%, transparent 8px);
    background: -webkit-linear-gradient(left, #fba704 0%,transparent 8px);
    background: linear-gradient(to right, #fba704 0%,transparent 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fba704', endColorstr='transparent',GradientType=1 );
}
.markBgDanger {
    background: #ff3232;
    background: -moz-linear-gradient(left, #ff3232 0%, #ffffff 8px);
    background: -webkit-linear-gradient(left, #ff3232 0%,#ffffff 8px);
    background: linear-gradient(to right, #ff3232 0%,#ffffff 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3232', endColorstr='#ffffff',GradientType=1 );
}
.markBgDangerTransparent {
    background: #ff3232;
    background: -moz-linear-gradient(left, #ff3232 0%, transparent 8px);
    background: -webkit-linear-gradient(left, #ff3232 0%,transparent 8px);
    background: linear-gradient(to right, #ff3232 0%,transparent 8px);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3232', endColorstr='transparent',GradientType=1 );
}

.table-basic {
    color: #555555;
}

.bg-default {
    color: #333333;
    background: #ffffff;
}

.no-select {
    user-select: none;
}

.panelRounded {
    border-radius: 4px;
    border: 1px solid #bbb;
    padding: 2px 4px;
    margin-top: 1px;
}

.hover:hover {
    background-color: #c6ecff;
    cursor: pointer;
}
.hoverDefault:hover {
    background-color: #c6ecff;
}


.table > tbody > tr.hover:hover > td {
    background-color: #c6ecff;
    /*cursor: pointer;*/
}

.hoverPointer {
    cursor: pointer;
}

.quickList {
    position: absolute;
    left: -2px;
    right: 0;
    margin-top: 5px;
    max-height: 300px;
    background-color: #fff;
    box-shadow: 0 0 0 2px #ccc inset;
    border-radius: 4px;
    padding: 5px;
    z-index: 3;
}

.quickList *:last-child {
    margin-bottom: 0;
}

.h100 {
    height: 100%;
    margin: 0;
}

.wideBlock {
    display: block;
    width: 100%;
}

.p-relative {
    position: relative;
}

.asCheckBox {
    cursor: pointer;
}
.asCheckBox::after {
    content: "\f096";
    font-family: FontAwesome, fantasy;
    position: relative;
    left: 5px;
    top: 2px;
    font-size: large;
    padding-right: 3px;
}

.asCheckBox.active::after,
.asCheckBox.checked::after {
    content: "\f046";
}

.marginWide {
    margin-left: 5px;
    margin-right: 5px;
}

.marginVertical {
    margin-top: 5px;
    margin-bottom: 5px;
}

.marginTop {
    margin-top: 5px;
}

.marginNone {
    margin: 0;
}

.marginItem {
    margin: 0 6px 6px 0;
}

.center-screen {
    max-width: 300px;
    float: none;
    margin: 0 auto;
    margin-top: 50px;
}

/* messages */
#not-found {
    display: none;
    color: red;
}

/* account forms */

/* accordion */
.panel-heading.collapsed + .panel-body {
    display: none;
}

.accordion-stay .panel-heading,
.accordion .panel-heading {
    position: relative;
    cursor: pointer;
}

.accordion-stay .panel-heading::before,
.accordion .panel-heading::before {
    font-size: 24px;
    display: block;
    position: absolute;
    font-family: FontAwesome, fantasy;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /*noinspection CssUnknownProperty*/
    -moz-osx-font-smoothing: grayscale;
}

.accordion-stay .panel-heading::before,
.accordion .panel-heading::before {
    content: "\f0d7";
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-stay .panel-heading.collapsed::before,
.accordion .panel-heading.collapsed::before {
    content: "\f0da";
}

/* panels */
.panel-body.list-group {
    padding: 1px;
}

/* unsorted */

.closeable, .deletable {
    position: relative;
}

.closeable > i:first-child,
.deletable > i:first-child {
    font-size: 16px;
    display: none;
    position: absolute;
    border-radius: 100%;
    color: #999;
    background-color: #eee;
    z-index: 1;
}

.editable .deletable:hover > i:first-child {
    display: block;
    color: #f55;
    cursor: pointer;
}

.closeable:hover > i:first-child {
    color: #fff;
    background-color: #f55;
    cursor: pointer;
    display: block;
}



.closeable > i:first-child {
    right: -1px;
    top: -1px;
    font-size: 12px;
    line-height: 14px;
    padding-left: 3px;
    width: 15px;
    height: 14px;
}

.deletable > i:first-child {
    bottom: 1px;
    right: 1px;

}

.loading {
    position: relative;
}

.hidden-content > div {
    display: none;
}

.loading::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: url("../img/ajax-loader.gif") no-repeat center 100px #fff;
    border-radius: 5px;
}

.selfLoading {
    background: url("../img/ajax-loader.gif") no-repeat center center #fff;
}

.selfLoading > *{
    visibility: hidden;
}


.loading.narrow {
    height: 30px;
}
.loading.narrow::after, td.loading::after {
    background-position: center center;
}

label {
    color: #7d7d7d;
    text-align: right;
    font-weight: normal;
    margin-bottom: 0;
}

label textarea {
    color: #555555;
    text-align: left;
}

.no-editable [draggable] {
    pointer-events: none;
}

.no-editable .hidden-under-no-editable {
    display: none;
}

.no-editable button[name="undo"],
.no-editable button[name="save"]{
    display: none;
}

.editable a[name="select"],
.editable button[name="edit"],
.editable button[name="delete"] {
    display: none;
}

.no-editable .asCheckBox,
.no-editable input,
.no-editable select,
.no-editable label.check,
.no-editable textarea[required]:invalid,
.no-editable textarea[required]:valid,
.no-editable input[required]:invalid,
.no-editable input[required]:valid {
    -moz-box-shadow: none;
    box-shadow: none;
    pointer-events: none;
    border: none;
}

.no-editable .editable.asCheckBox  {
    pointer-events: auto;
    border: initial;
}

.no-editable input::-webkit-input-placeholder,
.no-editable textarea::-webkit-input-placeholder {
    color: transparent;
}
.no-editable input::-moz-placeholder,
.no-editable textarea::-moz-placeholder {
    color: transparent;
}
.no-editable input:-moz-placeholder,
.no-editable textarea:-moz-placeholder {
    color: transparent;
}
.no-editable input:-ms-input-placeholder,
.no-editable textarea:-ms-input-placeholder {
    color: transparent;
}

.no-editable textarea {
    -moz-box-shadow: none;
    box-shadow: none;
    pointer-events: none;
}

.no-editable select  {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea[required]:invalid,
input[required]:invalid  {
    /*animation: rent 4s infinite;*/
    -moz-box-shadow: 0 0 1px 1px red;
    box-shadow: 0 0 1px 1px red;
}

textarea[required]:valid,
input[required]:valid  {
    -moz-box-shadow: 0 0 1px 1px green;
    box-shadow: 0 0 1px 1px green;
}

input[required].input-error,
input[required]:valid.input-error {
    -moz-box-shadow: 0 0 1px 1px red;
    box-shadow: 0 0 1px 1px red;
}

.input-status + i {
    position: absolute;
    display: none;
    opacity: 0.7;
    margin-left: -16px;
    font-style: normal;
}

.input-error + i,
.input-loading + i,
.input-success + i {
    display: inline-block;
}

.input-error + i:before {
    content: "\f06a";
    color: red;
}

.input-loading + i:before {
    content: "\f021";
    color: blue;
    pointer-events: none;
}

.input-success + i:before {
    content: "\f058";
    color: green;
}

.input-error + i:before,
.input-loading + i:before,
.input-success + i:before {
    display: block;
    font-family: FontAwesome, fantasy;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    /*noinspection CssUnknownProperty*/
    -moz-osx-font-smoothing: grayscale;
}

@keyframes rent {
    0% {
        -moz-box-shadow: 0 0 0 0 red;
        box-shadow: 0 0 0 0 red;
    }

    70% {
        -moz-box-shadow: 0 0 3px 3px transparent;
        box-shadow: 0 0 3px 3px transparent;
    }

    100% {
        -moz-box-shadow: 0 0 0 0 transparent;
        box-shadow: 0 0 0 0 transparent;
    }
}

/* colors */

.text-purple {
    color: #909;
}

.text-gray {
    color: #666;
}

.bg-purple {
    color: #fff;
    background-color: #a7a;
    border-color: #a7a;
}
.bg-gray {
    color: #fff;
    background-color: #777;
    border-color: #777;
}

/* forms, controls */
.form-inline .date-picker {
    width: 7em;
    text-align: center;
}

.form-control {
    padding: 3px 8px;
    height: 26px;
}
.form-group {
    margin-bottom: 7px;
}

.width15,
.width20,
.width25,
.width30,
.width35,
.width40,
.width50,
.width60,
.width70,
.width75  {
    display: inline-block;
    vertical-align: middle;
}

.form-control.width15, .width15 {
    width: 14%;
}

.form-control.width20, .width20 {
    width: 19%;
}

.form-control.width25, .width25 {
    width: 24%;
}

.form-control.width30, .width30 {
    width: 29%;
}

.form-control.width35, .width35 {
    width: 34%;
}

.form-control.width40, .width40 {
    width: 39%;
}

.form-control.width50, .width50 {
    width: 49%;
}

.form-control.width60, .width60 {
    width: 59%;
}

.form-control.width70, .width70 {
    width: 69%;
}

.form-control.width75, .width75 {
    width: 74%;
}

.employees {
    max-width: 810px;
}

#employee-roles {
    width: 251px;
}

#employee-data {
    width: 550px;
    min-width: 550px;
}

.tab-content {
    text-align: center;
    padding: 12px 6px;
}

label.check {
    -webkit-user-select: none;
    text-align: left;
    cursor: pointer;
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 4px;
}

label.check.checked {
    color: white;
    background-color: #3eade8;
}

label.check input[type="checkbox"] {
    display: none;
}

.disabled {
    pointer-events: none;
}

.disabledGrayed {
    pointer-events: none;
    opacity: 0.7;
}

.disabledControl button {
    pointer-events: none;
    opacity: 0.7;
}

.absolute {
    position: absolute;
    margin-left: 10px;
}

.modal-header .close {
    font-size: 32px;
    margin-top: -4px;
}

.modal-header {
    padding: 10px 15px 3px;
}

.modal-footer button {
    min-width: 90px;
}

#d70 img {
    width: 35px;
}
#d70 td.personnel,
#d70 td.tandems {
    width: 200px;
    min-width: 200px;
}

#d70 td.tandems .tandem {
    position: relative;
    height: 65px;
    margin: 5px;
    border: 2px solid #bbb;
    border-radius: 5px;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

#d70 td.tandems .tandem:not(.tandem-creator):hover,
#d70 td.personnel .media:hover {
    border-color: #999;
    cursor: move;
}

#d70 td.tandems .media {
    user-select: none;
    -webkit-user-select: none;
    margin: 0;
}

#d70 td.tandems img {
    border-top-left-radius: 5px;
}

#d70 td.tandems .media:nth-child(even) {
    white-space: nowrap;

}
#d70 td.tandems .media:nth-child(odd) {
    position: absolute;
    left: 12px;
    right: 0;
    top: 20px;
}

#d70 td.personnel .media {
    border: 2px solid #bbb;
    border-radius: 5px;
    margin: 5px;
}

#d70 table.schedule td:not(:first-child) {
    min-width: 350px;
}

#d70 table.schedule td {
    padding: 2px;
    border: 1px solid #ccc;
}

#d70 table.schedule td.shift-time {
    padding: 2px;
    border: 1px solid #ccc;
}

#d70 button {
    margin: 0 5px;
}

#d70 table.schedule td div {
    border: 1px solid transparent;
    border-radius: 5px;
    text-align: center;
}

#d70 table.schedule td.shift-time div {
    white-space: nowrap;
    border: none;
    padding: 4px 0;
}

#d70 table.schedule td .doctor,
#d70 table.schedule td .assist {
    padding: 4px 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border: 2px solid #ccc;
    color: #666;
}

#d70 table.schedule td .doctor.dragover,
#d70 table.schedule td .assist.dragover {
    border-color: orangered;
}

#d70 table.schedule td .assist {
    color: #909;
}

#d70 .schedule-selector {
    margin-bottom: 5px;
    min-width: 800px;
}

#d70 td[data-schedule-id].loading::after {
    top: 42px;
}

#d70 .schedule-selector .form-group {
    border-radius: 5px;
    padding: 0 0 0 10px;
    margin-right: 5px;
    position: relative;
}

#d70 .schedule-selector .form-group button {
    margin: 0;
}

#d70 .schedule-selector button {
    margin: 0 2px;
}

#d70 .schedule-selector a.dropdown-toggle {
    padding: 2px 8px 1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#d70 .schedule-selector .dropdown-menu.bg-primary {
    background-color: #337ab7;
    padding: 0;
    border-color: #337ab7;
    border-radius: 5px;
}

#d70 .shift-item {
    white-space: nowrap;
    background-color: #337ab7;
    border-color: transparent;
    padding: 5px 10px;
}

#d70 .shift-item.active {
    background-color: #337a7A;
    pointer-events: none;
}

#d70 .shift-item:hover {
    cursor: pointer;
    background-color: #3586c5;
}



#d70 .schedule-selector button.select {
    margin: 0 2px;
}


#d70 .schedule-selector .control-label {
    color: #fff;
}


#d70 .editable .schedule select {
    background: white;
    color: #666;
}

#d70 .no-editable .date-picker {
    background: none;
    border: none;
    color: #fff;
}

#d70 .time-picker {
    width: 3.2em;
    text-align: center;
}

#d70 .no-editable .time-picker {
    background: none;
    border-color: transparent;
    color: #777;
}


#d70 .no-editable button[name="shift"],
#d70 .no-editable button[name="cabinets"]{
    display: none;
}

#d70-cabinets button.btn {
    margin: 0 0 0 -1px;
    height: 26px;
    padding: 2px 8px;
}

#d70-cabinets .input-group {
    margin: 0 0 5px 0;
}

#d40 input[name="find"] {
    width: 200px;
}

#d40 span.call {
    cursor: pointer;
}

#d40 .patientList td {
    padding: 5px;
}
#d40 .patientList th {
    color: #777;
}

#d40 .patientList {
    min-width: 951px;
}

#d40 .patientList tr.patient td {
    border: 1px solid #bbb;
}

#d40 .patientList tr.patient:nth-child(odd) {
    background-color: #ddd;
}

.d400 table.patient {
    width: auto;
}
.d400 .primaryData {
    width: 550px;
    min-width: 550px;
}
.d400 .nav-tabs a {
    cursor: pointer;
}

#d10 .appointment {
    margin: 0;
    min-width: 700px;
}

#d10 .appointment td {
    /*box-shadow: 0 0 10px 0 red inset;*/
}
.green-inset {
    box-shadow: 0 0 10px 0 green inset;
}

#d10 .appointment td.doctorList, #d10 .appointment td.calendar  {
    width: 175px;
    min-width: 175px;
}

#d10 .xdsoft_today_button {
    display: none;
}

#d10 .date-picker.noCurrentDate + .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current {
    background: #f5f5f5;
    box-shadow: none;
    font-weight: normal;
    border: none;
    color: #666;

}

#d10 .date-picker + .xdsoft_datetimepicker .xdsoft_year,
#d10 .date-picker + .xdsoft_datetimepicker .xdsoft_month {
    pointer-events: none;
    z-index: 0;
}

#d10 .date-picker + .xdsoft_datetimepicker {
    border-radius: 4px;
}

#d10 .date-picker + .xdsoft_datetimepicker .xdsoft_today_button,
#d10 .date-picker + .xdsoft_datetimepicker .xdsoft_year i,
#d10 .date-picker + .xdsoft_datetimepicker .xdsoft_month i{
    display: none;
}

#d10 .cabinets button:not(:first-child) {
    margin-left: 10px;
}

#d10 .schedule table td {
    padding: 8px;
    border: 1px solid #ccc;
    vertical-align: top;
}

#d10 .schedule td:first-child {
    width: 50px;
    padding-left: 0;
    padding-right: 0;
}

#d10 .schedule td.timeSlices div {
    border-top: 1px solid #ccc;
}

#d10 td.receptionBlock {
    min-width: 280px;
    max-width: 281px;
    width: 280px;

}

#d10 .receptionBlock > div {
    position: relative;
    border-radius: 4px;
    box-shadow: 0 0 0 2px #ccc inset;
    cursor: pointer;
}

#d10 .receptionBlock > div > span.label {
    position: absolute;
    right: 20px;
    top: -8px;
    z-index: 3;
}

#d10 .timeHint {
    pointer-events: none;
    position: absolute;
    right: 0;
    left: 0;
    padding-left: 5px;
    background: #a3e5a3;
    z-index: 1;
}

#d10 .visit {
    cursor: default;
    position: absolute;
    right: 0;
    left: 0;
    padding: 2px 3px 0;
    /*z-index: 2;*/
    /*overflow: hidden;*/
}

#d10 .visit a.btn {
    position: absolute;
    right: 5px;
    top: 17px;
    padding: 2px 5px;
}

#d10 .visit a.btn {
    position: absolute;
    right: 5px;
    top: 17px;
    padding: 2px 5px;
    z-index: 1;
}

#d10 .visit a.btn + .dropdown-menu {
    right: 0;
    top: 53px;
}

#d10 .visit a.patient {
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

#d10 .visit span.patient {
    display: block;
    position: absolute;
}

#d10 .visit span.patient:nth-child(2) {
    margin-top: -6px;
}

#d10 .visit span.patient:nth-child(1) {
    margin-top: 2px;
}

#d10 .visit div.infoContainer {
    position: absolute;
    top: 34px;
    bottom: 2px;
    overflow: hidden;
    right: 45px;
    left: 8px;
}

#d10 .visit div.infoContainer:hover {
    overflow: visible;
    z-index: 5;
}

#d10 .visit div.infoContainer:hover span.patient {
    background: #fff;
    box-shadow: 0 0 0 1px #ccc inset;
    padding: 0 3px;
    left: -3px;
}

#d10 .visit > div {
    padding: 10px 7px 2px;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 0 0 1px #ccc inset;
    cursor: default;
    position: relative;
}

#d10 .visit .label {
    margin: 8px 0 0;
    display: inline-block;
}

#d10 .visit .time {
    position: absolute;
    top: -5px;
    left: 7px;
    color: #fff;
    background-color: #5bdec0;
    padding: 0 4px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1;
}
#d10 .visit .time:hover {
    background-color: #31d5b0;
}

#d10 .visit li a {
    font-size: 16px;
}

#d10 .visit li > a:hover,
#d10 .visit li > a:focus {
    background: none;
    background: -moz-linear-gradient(left, #32ff32 0%, #dedede 4%);
    background: -webkit-linear-gradient(left, #32ff32 0%,#dedede 4%);
    background: linear-gradient(to right, transparent 4%,#dedede 4%);
}

#d10 .buffered {
    cursor: default;
    width: 240px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


#d20 .panel.hideBgSuccess .bg-success {
    display: none;
}





@media (max-width: 767px) {
    .modal-dialog .modal-content .control-label {
        width: 99%;
        text-align: left;
    }
    .modal-dialog .modal-content .form-control {
        width: 99%;
    }
    .modal-dialog .modal-content .form-control+.form-control {
        margin-top: 7px;
    }

    .panel-heading button.close {
        font-size: 32px;
        margin-top: -4px;
    }
}

@media (max-height: 568px) {

    .modal-body,
    .modal-footer {
        padding: 7px 15px;
    }

}

/*begin fix for date-box plugin */
div.form-control {
    padding: 0;
}

div.form-control input.time-picker {
    border: none;
    background: none;
    padding-top: 0;
}
/*end fix for date-box plugin */

.countdown-timer {
    max-width: 200px;
    display: inline-block;
    margin-bottom: -6px;
    margin-left: 10px;
}
.bs-countdown-timer {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: #99ff99;
    color: #009900;
    font-family: "Courier New", monospace;
}
.bs-countdown-timer.overdue {
    background-color: #ff9999;
    color: #bb0000;
}

.bs-countdown-timer .col-xs-3 {
    text-align: center;
}
.bs-countdown-timer .col-xs-3:after {
    /*content: '';*/
    /*font-size: 12px;*/
    /*color: rgba(0,0,0,0.4);*/
    /*position: absolute;*/
    /*right: -6px;*/
    /*top: 0;*/
}
.bs-countdown-timer .col-xs-3:last-child::after {
    content: '';
    display: none;
}
.bs-countdown-timer .numcard {
    /*border: none;*/
    /*border-radius: 8px;*/
    /*background: rgba(0,0,0,.05);*/
}
.bs-countdown-timer .numcard-number {
    font-size: 12px;
    line-height: 16px;
}
.bs-countdown-timer .numcard-desc {
    font-size: 12px;
    padding: 0;
    /*color: rgba(0,0,0,.5);*/
}

/* begin chosen toggles extension */
.chosen-select-toggle {
    background-color: #e8e8e8;
    padding: 5px 0;
}

.chosen-select-toggle button {
    padding: 3px 8px 3px 5px;
    margin-left: 6px;
}


/* end chosen toggles extension */


#d55 .nav-tabs a {
    cursor: pointer;
}