html,
body {
    height: 100%;
}

h2, .h2{
    margin-bottom: 20px;
}

.breadcrumbs{
    margin-bottom: 5px;
}

*,
:active,
:focus{
    outline: none!important;
}

button::-moz-focus-inner{
    border: 0;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

footer.footer {
    height: 120px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 0px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* 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;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:769px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    .user-nav__warning {
        display: none;
    }
    .user-nav__mail {
        max-width: 220px;
        overflow: hidden;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.notify{
    width: 300px;
    min-height: 50px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    background-color: #b3f7ff;
    color: #000;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.notify + .notify{
    bottom: 300px;
}

.notify + .notify + .notify{
    bottom: 600px;
}

.notify + .notify + .notify + .notify{
    bottom: 900px;
}

.notify._hidden{
    transform: translate(300px, 0);
    opacity: 0;
}

.notify-title{
    font-size: 18px;
    padding: 8px 12px;
    font-weight: bold;
    background-color: #80f2ff;
    flex: 0 1 auto;
}

.notify-message{
    font-size: 14px;
    padding: 8px 12px 45px 12px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.notify-message-errors{
    margin-top: 10px;
    flex: 1 0 auto;
}

.notify._success{
    background-color: #b8ffb2;
}

.notify._success > .notify-title{
    background-color: #88ff80;
}

.notify._error{
    background-color: #ffb2b2;
}

.notify._error > .notify-title{
    background-color: #ff8080;
}

.notifyErrors-title{
    margin-bottom: 3px;
}

.notifyErrors-content{
}

.notifyErrors-content-item{
    background-color: #ff9999;
    margin-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    list-style: disc;
}

.notify-message-actionButtons{
    margin-top: 20px;
    flex: 0 0 auto;
}

.actionButtons{

}

.actionButtons-item{
    padding: 0px 6px;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #ffffff5e;
    cursor: pointer;
    border: 1px solid #ffffff59;
    border-radius: 5px;
}

.actionButtons-item:hover{
    background-color: #ffffffbd;
    border: 1px solid #3951fd38;
}

a.actionButtons-item {
    color: inherit;
}

.actionButtons-item:last-child{
    margin-right: 0px;
}

.notify._success .actionButtons-item{
    background-color: #a0ff99;
    border: 2px solid #88ff80;
}

.notify._success .actionButtons-item:hover{
    background-color: #88ff80;
}

.notify._error .actionButtons-item{
    background-color: #ff9999;
    border: 2px solid #ff8080;
}

.notify._error .actionButtons-item{
    background-color: #ff8080;
}
.legend{position: relative; background: #ffd9002b; padding: 15px; width: 200px; margin: 20px; border-radius: 15px; margin-left: 0px;}
.legend-notif-1 .inside-pic{  background: url('../images/icons/notif_legend.png') 0px -20px no-repeat; height: 20px; width: 20px; float: left; margin-top: 4px; margin-right: 10px;}
.legend-notif-2 .inside-pic{  background: url('../images/icons/notif_legend.png') 0px 0px no-repeat; height: 20px; width: 20px; float: left; margin-top: 4px; margin-right: 10px;}
.legend-notif-3 .inside-pic{  background: url('../images/icons/notif_legend.png') 0px -40px no-repeat; height: 20px; width: 20px; float: left; margin-top: 4px; margin-right: 10px;}

.menu__list{
    padding-top: 10px;
    padding-bottom: 10px;
}

.menu__list-title{
    padding: 15px 15px 15px 20px;
}

.menu__link{
    padding-left: 40px;
}

.application,
.menu,
.ex-application__service,
.new-application{
    box-shadow: 0 1px 13px -2px rgba(0,0,0,.3);
}
.menu{
    margin-right: 10px;
    box-shadow: none;
}
.ex-application__service-wrapper{
    margin-left: 0px;
    padding: 30px;
    width: auto;
}

.service-residence-update .ex-application__service-wrapper{
    padding-left: 0px;
}

.ex-application__price{
    margin-right: 20px;
}

.ex-application__service .new-application__input-wrapper--price{
    width: 100%;
}

.ex-application__input-wrapper{
    padding-left: 0px;
    padding-right: 0px;
}

.ex-application__input-wrapper .check_in_date_field,
.ex-application__input-wrapper .check_out_date_field{
    width: 100%;
}


.ex-application__arrival-buttons{
    margin-bottom: 0px;
}

.ex-application__add-guest{
    padding: 4px 10px;
    height: auto;
    font-size: 14px;
    background-color: transparent;
    margin-bottom: 10px;
    margin-top: 5px;
}

.application__guest-dynamicField{
    margin-left: 5px;
}

.application__guest-deleteButton{
    margin-left: 5px;
}

.ex-application__guest .form-group{
    margin-bottom: 0px;
}

.new-application__input-wrapper--name .form-group .help-block{
    font-size: 12px;
    line-height: 16px;
}

.new-application__input-wrapper_hidden{
    display: none;
}

.ex-application__reservation{
    margin-bottom: 5px;
}

.new-application__title{
    margin-bottom: 20px;
}

.application__title-wrapper{
    padding: 10px 20px 10px 20px;
}

.application__title{
    margin: 0px 0px 20px 0px;
}

.request-tag-widget{
    margin-bottom: 0px;
    margin-top: 0px;
}

.application__wrapper .request-tag-widget{
    margin-left: 30px;
    margin-right: 30px;
}

#add_request_tag_cancel{
    margin-left: 20px;
}

.application__first-line, .application__second-line{
    padding: 0px 30px;
}

.application__first-line{
    margin-bottom: 10px;
}

.application__second-line{
    margin-bottom: 20px;
}

.application__first-line{
    margin-bottom: 20px;
}

.application__table{
    align-items: flex-end;
    margin-bottom: 20px;
}

.application__text{
    margin: 10px 0px;
}

.application__button--write{
    width: 240px;
    margin-left: 6px;
}

.application__chat{
    margin-right: 0px;
    overflow-y: auto;
    height: auto;
    min-height: 100px;
    padding: 5px;
    border: 1px solid #EEE;
}

.application__info{
    padding-bottom: 0px;
    margin-bottom: 20px;
}

.application__info .application__wrapper{
    padding: 5px 5px 10px 15px;
    border-bottom: 5px dashed #84827e;
}

.application__bottom .application__button--write{
    margin-left: 0px;
}

.application > h3{
    padding: 10px 30px 20px 30px;
}

.application > .well{
    padding: 10px 30px;
}

.application > .add_document{
    margin-left: 30px;
}

.application > .application__bottom{
    padding: 30px 30px 0px 30px;
}

.application > .application__bottom > .application__chat{
    margin-top: 0px;
    width: 600px;
}

.application__guests{
    min-width: 367px;
}

.application__bottom .application__comment{
    width: 240px;
}

.application__guests .application__text{
    margin-top: 0px;
}

.application__services{
    padding: 0px 30px;
}

.application__info-bottom{
    padding-left: 30px;
}

.popupUpdatePrice{

}

.popupUpdatePrice-title{
    font-weight: bold;
    margin-bottom: 10px;
}

.popupUpdatePrice-content{

}

.popupUpdatePrice-content-button{
    display: inline-block;
    margin-right: 10px;
}

.popupUpdatePrice-content-button:last-child{
    margin-right: 0px;
}

.modal-footer .field-comment-private{
    width: 45%;
    float: left;
    text-align: left;
    margin-bottom: 0px;
}

.modal-footer .field-comment-private label{
    font-weight: normal;
    cursor: pointer;
}

.modal-footer .field-comment-private label input{
    position: relative;
    top: 1px;
}

.ex-application__header{
    padding: 10px 30px;
}

.table td a.not-set{
    color: #c55;
}

.table thead th.action-column{
    width: 50px;
}

a.anchor{
    display: block;
    height: 0px;
}

.tabsBlock{

}

.tabsBlock-tabs{

}

.tabsBlock-tabs-tab{
    border-color: #9cbbae;
}

.tabsBlock-tabs-tab:hover{
    border-color: #9cbbae;
}

.tabsBlock-tabs-tab._active{
    border-color: #9cbbae;
    background-color: #9cbbae;
}

.tabsBlock-tabs-tab._active:hover{
    border-color: #9cbbae;
}

.tabsBlock-tabs-tab._active i{
    color: #4b7865;
}

.tabsBlock-contents{

}

.tabsBlock-contents-content{
    display: none;
}

.tabsBlock-contents-content._active{
    display: block;
}

.requestDocuments{
    height: 35px;
    padding-top: 5px;
    font-weight: bold;
}

.requestDocuments-item{
    border: 1px solid #dddddd;
    padding: 5px 13px;
    white-space: nowrap;
    font-weight: normal;
    display: inline-block;
    margin: 2px 0px;
}
.requestDocuments-item:first-child{
    margin-left: 0px;
}

a.application__button--document{
    color: #337ab7;
}

a.application__button--document:focus,
a.application__button--document:hover{
    color: #3a5747;
}

.remove-service-residence-guest{
    cursor: pointer;
}

.application__header_number {
    font-size: 2em;
    color: #3a5747;
}
.js__closed {
    margin-left: -330px;
}
.table.table-striped.table-bordered.detail-view td {
    width: auto;
}
.table td:last-child{
    text-align: center;
    width: 50px;
}
.application__info-header{
    min-width: auto;
    padding: 8px;
}
.small_list {
    font-size: 10px;
    height: 22px;
    width: 100%;
}
button.col-xs-2#status_button_id {
    height: 2.2em;
    padding: 0px;
}
.mt-15 {
    margin-top: 15px;
}
.del-tag{
    font-size: 1.3em;
    color: #b9abab;
    vertical-align: text-bottom;
}
.datepicker table tr td.disabled.day, .datepicker table tr td.disabled.day:hover {
    color: #d4d4d4;
}

/*
    Кнопка "наверх"
*/

.go_to_top_button{
    position: fixed;
    bottom: 10px;
    left: 30px;
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #8c9893 0%, #ffffff 53%, #bfd0c9 100%) repeat fixed 0 0;
    font-size: 20px;
    padding: 5px 10px;
    border: 1px solid #b0d3be;
    cursor: pointer;
    display: none;
    z-index: 10000;
}

.go_to_top_button:hover{
    opacity: 0.9;
}

ul#service_tabs {
    margin: 0px;
}

.dealer_part h3 {
    margin-top: 0px;
}

[data-notify="title"]{
    display: block;
    font-weight: 700;
    font-size: 1.1em;
}

.large-fa i.fa, .large-fa i.fas, .large-fa i.far {
    font-size: 1.3em;
    padding: 0px 1px;
}


.large-fa td:nth-child(6)>a span.class_name {
    max-width: 170px;
    max-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: normal;
    display: inline-flex;
    color: #5b6dc5;
}

.krajee-default .file-caption-info, .krajee-default .file-size-info{
    line-height: initial;
}
.krajee-default .file-thumb-progress .progress, .krajee-default .file-thumb-progress .progress-bar {
    line-height: initial;
}

[data-notify="dismiss"].close {
    font-size: 35px;
    margin: 10px;
}

.select2-container--krajee .select2-selection--multiple .select2-search--inline .select2-search__field{
    min-width: 200px;
}

.tpl-component-bill table textarea {
    font-size: 16px!important;
}
.tpl-component-bill table {
    font-size: 16px!important;
}

.file-highlighted {
    border: 7px dashed #e67d4b !important;
    background-color: #eee;
}
.file-highlighted td {
    background: #bff1c7;
}
.label.label-default {
    background-color: #c3cac5;
}
.dealer_part .file-drop-zone-title {
    padding: 35px 10px;
}
.file-preview-thumbnails td:last-child {
    width: 130px;
}
.tt-suggestion .tt-selectable{
    padding: 8px 18px;
}
p.typhead-search-name {
    font-size: 1.2em;
    color: #5271a9;
}
p.typhead-search-description {
    float: right;
    font-style: italic;
    color: #ababab;
    font-size: 0.9em;
}
.typhead-search-place span {
    border-bottom: 1px dotted #5271a9;
    display: inline-block;
    font-weight: bold;
}
p.typhead-search-place {
    font-size: 0.8em;
    overflow: hidden;
}
.tt-scrollable-menu .tt-menu {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}
tr.row-background-new td {
    background-color: #ffe6d0;
}
tr.row-background-booking td {
    background-color: #e8faeb;
}
tr.row-background-booking-close td {
    background-color: #dfdfdf;
    color: #7f7f7f;
}
tr.row-background-booking-close a {
    color: #7f7f7f;
}
tr.row-background-penalty td {
    background-color: #feeedc;
}
.row-background-accept td {
    background-color: #f2fdc5;
}
.row-background-accept-for-client td {
    background-color: #f6fffb;
}
.row-background-refund td {
    background-color: #a8c1c1;
}
.large-fa .row-background-booking-close td:nth-child(6)>a span.class_name {
    color: #808080;
}
.bid__wrapper.rewiring {
    background: #ffccba;
}
.rewiring .application__info-header {
    background: #d79266;
}
.request-index {
    overflow: auto;
}
.own_collapse {
    cursor: pointer;
}
.pulse_circle {
    background: green;
    border-radius: 100%;
    width: 10px;
    height: 10px;
    -webkit-animation: pulsing 2s infinite;
    animation: pulsing 2s infinite;
}
.travelline_pulse{
    background: #37c52d;
    margin: 15px 5px;
    float:left;
}

@-webkit-keyframes pulsing {
    0% {
        -webkit-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5)
    }
    50% {
        -webkit-transform: scale(1.0, 1.0);
        transform: scale(1.0, 1.0);
    }
    100% {
        -webkit-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5);
    }
}

@keyframes pulsing {
    0% {
        -webkit-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5)
    }
    50% {
        -webkit-transform: scale(1.0, 1.0);
        transform: scale(1.0, 1.0);
    }
    100% {
        -webkit-transform: scale(0.5, 0.5);
        transform: scale(0.5, 0.5);
    }
}
tr.hotels__table-hide-room {
    background: #e9e9e9;
}
#susanin_pay_description{
    font-size: 1.3em;
    text-align: left;
    margin-bottom: 2em;
}
#susanin_pay_description span{
    color: #e16767;
}
.metric_collapse {
    background-color: #4b7865;
    color: white;
    padding: 9px;
    cursor: pointer;
}
#serviceresidence-tl_tariff > label.btn {
    height: 70px;
}

.who-view-hotel > p {
    color: #e2ac14;
    display: grid;
    align-items: center;
    justify-content: start;
    grid-auto-flow: column;
    grid-gap: 4px;
    margin: 0;
}
.hotels_inner_left_rooms.hotels_inner_left_rooms__rooms_hide {
    padding: 15px;
    font-size: 2em;
    font-weight: bold;
    color: grey;
}
.hotels_inner_under_head_hide {
    -webkit-mask-image: linear-gradient(to top, #eeeeee07 -5%,#e0e0e070 100%);
    mask-image:linear-gradient(to top, #eeeeee07 -5%,#e0e0e070 100%);
}
.highlight_status--request-list{
    background-color: #e37070;
    color: white!important;
    padding: 3px;
}