html,
body {
    height: 100%;
    background-color: #fbfbfb;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer-copy {
    font-size: 80%;
}

.modal-lg {
    max-width: 96% !important;
}

.modal-lg .modal-content {
    height: 96vh;
}

.modal-lg .modal-header {
    flex: 0 0 auto;
}

.modal-lg .modal-body {
    overflow-y: scroll;
}

.modal-lg .modal-footer {
    flex: 0 0 auto;
}

.list-menu .item:hover {
    cursor: pointer;
    background: #e5e5e5;
}

.modal-lg .ready-services-collapse {
    max-height: 350px;
    overflow-y: scroll;
}




button.is-active {
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

.f-red {
    background: #ff4136;
}
.f-red:hover {
    background: #e90d00;
}

.f-green {
    background: #2ecc40;
}
.f-green:hover {
    background: #208e2c;
}

.f-blue {
    background: #0074d9;
}
.f-blue:hover {
    background: #004b8d;
}

.f-all {
    background: #333;
}
.f-all:hover {
    background: #0d0d0d;
}

.red, .green, .blue {
    color: #fff;
    padding: 1em;
    margin-bottom: 0.25em;
}

.red {
    background: #ff4136;
}

.green {
    background: #2ecc40;
}

.blue {
    background: #0074d9;
}




.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

hr {
    border-top: 1px solid #abafb7 !important;
}

h5 a {
    color: #323d46;
}
h5 a:hover {
    color: #212529;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* REPORT Section */
#report .error-text {
    padding-top: 30px;
    color: #0071bd;
    font-weight: bold;
}

#report .section {
    margin-bottom: 20px;
}

#report .block {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 40px;
}

#report .title--main {
    color: #333333;
    text-transform: uppercase;
    font-size: 25px;
    font-weight: 400;
}

@media(max-width:1024px) {
    #report .title--main {
        font-size: 26px;
        font-weight: 400;
        line-height: 36px;
        padding-right: 12px;
    }
}

#report .title--block {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    margin-top: 6px;
}

#report .title--block:only-child {
    display: none;
}

#report .marker__item {
    position: relative;
    padding: 5px 0 0 20px;
    margin-bottom: 20px;
    list-style: none;
}

#report .marker__item::before {
    position: absolute;
    top: 6px;
    left: -5px;
    display: block;
    content: "● ";
    color: #a0a0a0;
    line-height: .4;
    font-size: 30px;
}

#report .marker__item--Alert:before {
    content: "● ";
    color: #cf5251;
}

#report .marker__item--Exclamation:before {
    content: "● ";
    color: #ffdb59;
}

#report .marker__item--Tick:before {
    content: "● ";
    color: #b4e385;
}

#report .marker__title {
    font-size: 14px;
    font-weight: 600;
}

#report li {
    display: list-item;
    text-align: -webkit-match-parent;
}

#report .list {
    padding: 0;
    margin: 0;
    list-style: none;
}

#report .list__item {
    position: relative;
    padding: 5px 0 0 20px;
    list-style-type: none;
}

#report .list__item::before {
    position: absolute;
    top: 4px;
    left: 0;
    display: block;
    content: "—";
}

#report .panel-body {

}

#report .panel-body>table>tbody>tr>td {
    padding-right: 20px !important;
}

#report .panel-body>table>tbody>tr>td:nth-child(2) {
    width: 15% !important;
    font-weight: 600;
}


/* CUSTOM */


.chat-app .people-list {
    width: 280px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
    z-index: 7
}

.chat-app .chat {
    margin-left: 280px;
    border-left: 1px solid #eaeaea
}

.people-list {
    -moz-transition: .5s;
    -o-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s
}

.people-list .chat-list li {
    padding: 10px 15px;
    list-style: none;
    border-radius: 3px
}

.people-list .chat-list li:hover {
    background: #efefef;
    cursor: pointer
}

.people-list .chat-list li.active {
    background: #efefef
}

.people-list .chat-list li .name {
    font-size: 15px
}

.people-list .chat-list img {
    width: 45px;
    border-radius: 50%
}

.people-list img {
    float: left;
    border-radius: 50%
}

.people-list .about {
    float: left;
    padding-left: 8px
}

.people-list .status {
    color: #999;
    font-size: 13px
}

.chat .chat-header {
    padding: 15px 20px;
    border-bottom: 2px solid #f4f7f6
}

.chat .chat-header img {
    float: left;
    border-radius: 40px;
    width: 40px
}

.chat .chat-header .chat-about {
    float: left;
    padding-left: 10px
}

.chat .chat-history {
    padding: 20px;
    border-bottom: 2px solid #fff
}

.chat .chat-history ul {
    padding: 0
}

.chat .chat-history ul li {
    list-style: none;
    margin-bottom: 30px
}

.chat .chat-history ul li:last-child {
    margin-bottom: 0px
}

.chat .chat-history .message-data {
    margin-bottom: 15px
}

.chat .chat-history .message-data img {
    border-radius: 40px;
    width: 40px
}

.chat .chat-history .message-data-time {
    color: #434651;
    padding-left: 6px
}

.chat .chat-history .message {
    color: #444;
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    display: inline-block;
    position: relative
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .my-message {
    background: #efefef
}

.chat .chat-history .my-message:after {
    bottom: 100%;
    left: 30px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #efefef;
    border-width: 10px;
    margin-left: -10px
}

.chat .chat-history .other-message {
    background: #e8f1f3;
    text-align: right
}

.chat .chat-history .other-message:after {
    border-bottom-color: #e8f1f3;
    left: 93%
}

.chat .chat-message {
    padding: 20px
}

.online,
.offline,
.me {
    margin-right: 2px;
    font-size: 8px;
    vertical-align: middle
}

.online {
    color: #86c541
}

.offline {
    color: #e47297
}

.me {
    color: #1d8ecd
}

.float-right {
    float: right
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0
}

@media only screen and (max-width: 767px) {
    .chat-app .people-list {
        height: 465px;
        width: 100%;
        overflow-x: auto;
        background: #fff;
        left: -400px;
        display: none
    }
    .chat-app .people-list.open {
        left: 0
    }
    .chat-app .chat {
        margin: 0
    }
    .chat-app .chat .chat-header {
        border-radius: 0.55rem 0.55rem 0 0
    }
    .chat-app .chat-history {
        height: 300px;
        overflow-x: auto
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
    .chat-app .chat-list {
        height: 650px;
        overflow-x: auto
    }
    .chat-app .chat-history {
        height: 600px;
        overflow-x: auto
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
    .chat-app .chat-list {
        height: 480px;
        overflow-x: auto
    }
    .chat-app .chat-history {
        height: calc(100vh - 350px);
        overflow-x: auto
    }
}

@media (max-width: 520px)
    .bs-stepper-header {
        margin: 0 -5px;
        text-align: center;
    }
a {
    color: #003a77;
    text-decoration: none;
    background-color: transparent;
}
a:focus, a:active, .btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none !important;
}
.page-link {
    color: #003a77;
}
.page-item.active .page-link {
    color: #fff;
    background-color: #6c757d;
    border-color: #636b73;
}

/* Bootstrap 4 Buttons */
.btn-success {
    color: #fff;
    background-color: #92bb00;
    border-color: #92bb00;
}
.btn-link {
    color: #003a77;
}

.main-header .navbar-brand {
    font-size: 1.70rem;
    color: #212529;
    max-width: 170px;
}
.main-header img.user-image {
    max-height: 40px;
    border-radius: 25px;
    border: 2px solid #fff;
}
.main-header .dropdown-menu {
    min-width: 13rem;
}

.main-header .nav-pills .nav-link {
    border-radius: 2rem;
    margin: 0 10px;
    font-size: 14pt;
    color: #134579;
}

.main-header .nav-pills .nav-link.active, .main-header .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #0b0682;
}

.table th, .table td {
    padding: 1.25em;
}


.alert {
    padding: 20px 60px;
}

.clients-scroller {
    height:250px;
    overflow-y: scroll;
}

.ref-indicator {
    position: relative;
    left: 2px;
    bottom: 50px;
    color: #ff8181;
}

hr.bg-grey {
    border-color: #d9dadb !important;
}

.main-header .sidebar-toggle {
    padding: 0 15px !important;
}

ul.sidebar-menu>li>span.h4 {
    color: #FFF;
    margin-left: 15px;
}
ul.sidebar-menu.small>li>a {
    padding: 5px 16px 5px 16px;
}
.sidebar-menu.small>li>a>.fa, .sidebar-menu>li>a>.glyphicon, .sidebar-menu>li>a>.ion {
    width: 10px !important;
}

.font-weight-bold {
    font-weight: 700;
}
.font-weight-normal {
    font-weight: 400;
}
.font-weight-light {
    font-weight: 300;
}
.font-italic {
    font-style: italic;
}
.text-underline {
    text-decoration: underline;
}

li button#refreshList {
    display: none;
}

li.active button#refreshList {
    display: inline-block;
}

.tab-content {
    padding-top: 20px;
}

.status-0 {

}

.status-1 {
    color: #00c0ef !important;
}

.status-2 {
    color: #00a65a !important;
}
.status-3 {

}

#banks .bg-danger {
    background-color: #ffffff !important;
    opacity: 0.6;
}

#banks .bg-success {
    background-color: #e5ffdb !important;
}

.pointer {
    cursor: pointer;
}

.fixed-add-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    text-align: center;
}

.fixed-add-button a {
    font-size: 42px;
    background: #003a77;
    border-radius: 50%;
    color: #fff;
    width: 60px;
    height: 60px;
    display: block;
}

canvas#technig {
    width: 100% !important;
    height: auto !important;
}

.fc-day-sun { background-color:#fff8f9; }
.fc-day-sat { background-color:#fff8f9;  }

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    color: #ccc;
    cursor: default;
    background: none !important;
}
.datepicker table tr td.day {
    text-align: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .25rem;
    border: none;
    background: #f7ffd9;
}

/* NAV PILLS CUSTOM */
/* not active */
.nav-pills .pill-1 .nav-link:not(.active) {
    background-color: rgba(255, 0, 0, 0.5);
}

.nav-pills .pill-2 .nav-link:not(.active) {
    background-color: rgba(0, 250, 0, 0.5);
}

.nav-pills .pill-3 .nav-link:not(.active) {
    background-color: rgba(0, 0, 250, 0.5);
    color: white;
}


/* active (faded) */
.nav-pills .pill-1 .nav-link {
    background-color: rgba(255, 0, 0, 0.2) !important;
    color: white;
}

.nav-pills .pill-2 .nav-link {
    background-color: rgba(0, 250, 0, 0.2) !important;
}

.nav-pills .pill-3 .nav-link {
    background-color: rgba(0, 0, 250, 0.2) !important;
    color: white;
}

div#periods_loader {
    background: #FFF;
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.4;
    border-radius: 5px;
}

a.collapse_link {
    border-bottom: 1px dashed;
}

a.collapse_link:hover {
    text-decoration: none !important;
    border-bottom: 1px solid;
}

#bimagecan, #aimagecan {
    max-width: 300px;
    max-height: 300px;
}

div#image_loader {
    width: 100%;
    height: 99%;
    background: rgb(255 255 255 / 50%);
    position: absolute;
    top: 0;
}
.modal-footer .loader {
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
}
.loader-quart {
    border-radius: 50px;
    border: 6px solid #e41338;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    top: 47%;
}
.loader-quart:after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    bottom: -6px;
    right: -6px;
    border-radius: 50px;
    border: 6px solid transparent;
    border-top-color: white;
    animation: spin 1s linear 0s infinite;
}

/* Animations */

@keyframes spin {
    0%{ transform: rotate(0deg);}
    100%{ transform: rotate(360deg);}
}
@keyframes grow {
    0%{ transform: scaleY(0); opacity: 1;}
    50%{ transform: scaleY(1);opacity: 0.5;}
    100%{ transform: scaleY(0);opacity: 1;}
}
@keyframes spinreverse {
    0%{ transform: rotate(0deg);}
    100%{ transform: rotate(-360deg);}
}

.list-wrapper .image-popup-vertical-fit img {
    width: 50px;
    height: auto;
    min-width: 50px;
    min-height: 50px;
}

.orders_timeline .image-popup-vertical-fit>img {
    width: 80px;
    height: auto;
    min-width: 80px;
    min-height: 80px;
}

@media(max-width:768px) {
    .list-wrapper img#beforeCroppedImage, .list-wrapper  img#afterCroppedImage {
        width: 50px;
        height: auto;
        min-width: 50px;
        min-height: 50px;
    }

}

.cursor-pointer:hover {
    cursor: pointer;
}

.fixed-bottom {
    background: #f2f6f8 !important;
    position: fixed;
    margin: auto;
    height: 58px;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
}









/* TIMELINE */

.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide:hover {
    background: #eaf7ff;
}

.swiper-slide.today {
    background: #fff9fa;
    margin-left: 15px;
}
.calendar-section {
    margin-right: -15px;
    margin-left: -15px;
    border-left: 0;
    border-right: 0;
    border-color: #d7dfe3;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05); }
}
.swiper-slide.today:hover {
    background: #eaf7ff;
}

.swiper-slide {
    padding-bottom: 10px;
    border-radius: 5px;
    /*border: 1px solid #eaf7ff;*/
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width:768px) {
    .swiper-slide h2 {
        margin-bottom: 0;
        font-size: 16px;
        line-height: 24px;
    }
}


.modal-loader {
    background: #ffffff;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0.6;
}


.editable-click, a.editable-click, a.editable-click:hover {
    text-decoration: none;
    border-bottom: dashed 1px #ffd2da !important;
}

.sidebar-nav ul li a.active {
    color: #f62d51 !important;
}

/* ЗАПИСИ */
@media(max-width:768px) {
    small.order-icons {
        font-size: 24px !important;
        opacity: 0.6;
        line-height: 1.2;
    }
    /* Fullcalendar  */
    .fc table {
        font-size: 0.8em;
    }
    .fc-event {
        border-radius: 3px !important;
        border: none;
        color: #ffffff !important;
        font-size: 12px;
        margin: 2px 2px 0px 2px !important;
        padding: 2px 2px 0px 2px !important;
        text-align: center;
        background: #1e88e5;
    }
    .fc-day-grid-event .fc-content .fc-title {
        display: none;
    }
    .fc-day-grid-event .fc-time {
        font-weight: 400;
    }

}
small.order-icons {
    font-size: 30px;
    opacity: 0.6;
}
div#addedMessage {
    height: 200px;
    text-align: center;
    padding-top: 70px;
    font-size: 16px;
}



/* ЗАПИСИ */
.content .mdi-camera-off {
    width: 50px;
    height: 50px;
    display: block;
    font-size: 32px;
    opacity: 0.6;
}

.blink {
    animation-name: col;
    animation-duration: 1s;
}

@keyframes col {
    0%   {background-color:red;}
    100% {background-color:white;}
}

/* Fullcalendar  */
.fc table {
    font-size: 0.9em;
}

.fc-day-grid-event .fc-time {
    font-weight: 400;
}



/*****************************************************************************************************/
input[type=time] {
    border: none;
    color: #000;
    font-size: 14px;
    font-family: helvetica;
    width: 130px;
}

input[type=time]:hover {
    cursor:pointer;
}
input[type=time]:focus {
    cursor:pointer;
    color: #000;
}

/* Wrapper around the hour, minute, second, and am/pm fields as well as
the up and down buttons and the 'X' button */
input[type=time]::-webkit-datetime-edit-fields-wrapper {
    display: flex;color: #000;
}

/* The space between the fields - between hour and minute, the minute and
second, second and am/pm */
input[type=time]::-webkit-datetime-edit-text {
    padding: 15px 4px;
    color: #000;
}

/* The naming convention for the hour, minute, second, and am/pm field is
`-webkit-datetime-edit-{field}-field` */

/* Hour */
input[type=time]::-webkit-datetime-edit-hour-field {
    background-color: #f2f4f5;
    border-radius: 15%;
    padding: 15px 13px;
}

/* Minute */
input[type=time]::-webkit-datetime-edit-minute-field {
    background-color: #f2f4f5;
    border-radius: 15%;
    padding: 15px 13px;
}

/* AM/PM */
input[type=time]::-webkit-datetime-edit-ampm-field {
    background-color: #7155d3;
    border-radius: 15%;
    color: #000;
    padding: 15px 13px;
}

/* 'X' button for resetting/clearing time */
input[type=time]::-webkit-clear-button {
    display: none;
}

/* Up/Down arrows for incrementing/decrementing the value */
input[type=time]::-webkit-inner-spin-button {
    display: none;
}