body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background: url('/images/body_back.png');
    -webkit-user-select: none;
    cursor: default;
    color: #455A64;
    overflow-x: hidden;
    overflow-y: scroll;
}

.upmenu a {
    color: #fff;
}

*:focus {
    outline: none !important;
    outline-offset: 0 !important;
}

p {
    font-weight: 400;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.header-section {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizequality;
    position: relative;
    border-bottom: 1px solid rgb(250, 250, 250);
    z-index: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.35);
    margin-bottom: 8px;
    color: white;
    overflow: hidden;
}

.blue-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(30, 136, 229, 0.15) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.white-glow {
    position: absolute;
    z-index: 2;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 35%, rgba(255, 255, 255, 0) 35.1%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.logo-p {
    position: relative;
    width: 57%;
    display: inline-block;
    padding: 28px 0 0 24px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
    font-size: 18px!important;
    line-height: 19px!important;
    margin-bottom: 0;
}

.header-text {
    background: rgba(30, 136, 229, 0.7);
    border-radius: 8px;
    margin-bottom: 48px;
    margin-top: 16px;
    padding: 36px;
    text-align: right;
    position: relative;
    z-index: 5;
}

.header-section h1 {
    font-size: 60px;
}

.header-section h3 {
    font-size: 36px;
    font-weight: 500;
    line-height: 34px;
    margin: 24px 0;
}

.header-section p {
    font-size: 18px;
    line-height: 20px;
}

.header-text span {
    border-bottom: 1px dashed;
}

.nedoma-logo {
    margin: 16px;
    width: 35%;
    max-width: 256px;
    image-rendering: -webkit-optimize-contrast;
    -webkit-filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.16));
    position: relative;
    z-index: 5;
}

.flex-container {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-box-pack: justify;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    /*margin: 0 -15px;*/
}

.flex-card {
    /*flex-grow: 1;
  flex: 1;*/
    background-image: url("https://www.justleadershipusa.org/wp-content/plugins/post-grid/assets/frontend/css/images/placeholder.png");
    overflow: hidden;
    background-color: lightgrey;
    background-size: cover;
    background-repeat: no-repeat;
    /*background-position: 500% 500%;*/
    background-position: 50% 50%;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizequality;
    color: white;
    border-radius: 8px;
    position: relative;
    margin: 15px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.45);
    transition: all 100ms ease-in-out 25ms;
    cursor: pointer;
}

.flex-card::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.flex-card h2 {
    position: relative;
    font-size: 24px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.flex-card i {
    font-family: "fontello";
    font-size: 24px;
}

.blue-gradient {
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.flex-card-content {
    position: absolute;
    top: 0;
    left: 0;
    padding: 24px;
    width: 100%;
}

.icon_set {
    position: relative;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.modal-content .icon_set {
    margin-top: 8px;
}

.modal-content a {
    color: #fff;
}

.icon_set i {
    font-size: 24px;
    vertical-align: middle;
    margin-left: 0;
}

.icon_set span {
    font-size: 14px;
    vertical-align: text-bottom;
    margin: 0 6px 0 4px;
}

.card_price {
    position: relative;
    padding: 8px 16px;
    margin-top: 8px;
    display: inline-block;
    background: #F44336;
    border-radius: 8px;
    font-weight: 700;
    z-index: 2;
}

.card_price span {
	font-weight: 100;
}

.card_search_result {
    position: absolute;
    font-size: 14px;
    text-transform: uppercase;
    bottom: 0;
    text-align: right;
    padding: 8px 16px;
    right: 0;
    width: 100%;
    z-index: 2;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.card_search_result b {
    margin-right: 6px;
    font-size: 16px;
}

.card_search_result i {
    margin-left: 8px;
    vertical-align: middle;
    font-size: 24px;
}

.flex-card:hover {
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.65);
}

.flex-card:hover .blue-gradient {
    background: rgba(30, 136, 229, 0.65);
}

.main-menu {
    color: #546e7a;
    padding: 24px 32px;
}

.main-menu span {
    margin-right: 24px;
    font-size: 16px;
    margin: 0 8px;
}

.main-menu span.variants {
    float: right;
    color: #37474f;
    margin-right: 0;
}

.main-menu-itog {
    vertical-align: middle;
    margin: 8px 0 16px;
    border-bottom: 1px dashed #90A4AE;
    padding-bottom: 24px;
    padding-top: 16px;
    font-size: 18px;
}

.main-menu-itog .btn-red {
    margin: 16px 0 0;
    vertical-align: baseline;
}

.main-menu-itog .btn-red i {
    margin-right: 8px;
}

.main-menu-itog span b {
    border-bottom: 1px dashed #F57C00;
    margin: 0 8px;
    vertical-align: baseline;
    color: #F57C00;
    white-space: nowrap;
    cursor: pointer;
}

#formWindow .modal-content {
    overflow: hidden;
}

.variants b {
    border-bottom: none !important;
}

.calendar-nav {
    display: inline-block;
    padding: 4px 16px;
    font-size: 14px;
}

.calendar-nav:first-child {
    border-right: 2px solid #77b77a;
}

.big-search-button {
    background: #f44336;
    width: 84px;
    height: 84px;
    line-height: 82px;
    text-align: center;
    margin: 42px auto 8px;
    border-radius: 50%;
    /*box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);*/
    cursor: pointer;
    transition: 100ms;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-box-pack: justify;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
}

.big-search-button:hover {
    background: #FF1744;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.big-search-button i {
    font-size: 38px;
    color: white;
}

.biger-search-button {
    background: #f44336;
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    padding: 16px;
    margin: 24px 0 16px;
    border-radius: 8px;
    cursor: pointer;
}

.biger-search-button:hover {
    background-color: #263238;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.biger-search-button i {
    font-size: 24px;
    color: white;
    vertical-align: baseline;
    margin-right: 8px;
}


}
.results {
    font-size: 18px;
    color: #546e7a;
    margin-top: 16px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.results b {
    font-size: 24px;
}
.my-modal-header {
    padding: 26px 44px;
    border-radius: 8px 8px 0 0;
    color: white;
    min-height: 50vh;
    background-size: cover;
    background-position: 50% 20%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizequality;
    position: relative;
}
.my-modal-header h1 {
    /*font-size: 30px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.36);
    position: relative;
    z-index: 2;*/

    font-size: 30px;
    /* text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); */

    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.36);
    padding: 8px 44px 8px 0;
    display: inline-block;
    margin-bottom: 4px;
    margin-top: 8px;
    border-radius: 0 8px 8px 0;
}
.my-modal-header h1::before {
    position: absolute;
    content: "";
    background: rgba(0, 0, 0, 0.36);
    display: block;
    left: -44px;
    height: 100%;
    width: 44px;
    top: 0;
}
.zday {
    float: right;
    color: #1e88e5;
    font-weight: 700;
    margin-right: 0 !important;
}
.zday div {
    width: 16px;
    height: 16px;
    background: #1e88e5;
    float: left;
    margin-right: 12px;
    border-radius: 50%;
    vertical-align: middle;
    margin-top: 8px;
}
.date-selector {
    height: 64px;
    margin: 16px 0;
    border-radius: 8px;
    background: #fff;
    /*background: linear-gradient(to right, rgb(233, 235, 236) 0%, rgb(233, 235, 236) 30%, rgba(255, 255, 255, 1) 30.1%, rgba(255, 255, 255, 1) 100%);*/

    border: 1px solid #cfd8dc;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */

    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */

    display: -ms-flexbox;
    /* TWEENER - IE 10 */

    display: -webkit-flex;
    /* NEW - Chrome */

    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-box-pack: justify;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-items: center;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.15)
}
.date-selector-days {
    max-width: 15%;
    text-align: center;
    color: #2196F3;
    font-size: 16px;
    width: 15%;
}
.date-selector-days span {
    vertical-align: text-bottom;
}
.date-selector-days i {
    color: #a9b6bc;
    font-size: 32px;
}
.date-selector-days b {
    font-size: 24px;
    color: #1e88e5;
}
.date-selector-price {
    color: #F44336;
    font-size: 16px;
    line-height: 14px;
    white-space: nowrap;
    padding: 0 8px;
    width: 15%;
}
.date-selector-price b {
    font-size: 20px;
    margin: 0 4px;
}
.date-selector-price p {
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #546e7a;
    margin-top: 5px;
}
.date-selector-calendar {
    width: 70%;
    height: 100%;
}
.date-selector-calendar-flex {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */

    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */

    display: -ms-flexbox;
    /* TWEENER - IE 10 */

    display: -webkit-flex;
    /* NEW - Chrome */

    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-box-pack: justify;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-items: center;
    /*align-content: center;
    justify-content: space-around;
    -webkit-justify-content: space-around;*/

    flex-direction: row;
    -webkit-flex-direction: row;
    height: 100%;
}
.date-selector-calendar-flex .day {
    border-left: 1px solid #b0bec5;
    text-align: center;
    height: 75%;
    width: 100%;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */

    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */

    display: -ms-flexbox;
    /* TWEENER - IE 10 */

    display: -webkit-flex;
    /* NEW - Chrome */

    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -webkit-box-pack: justify;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
}
.date-selector-calendar-flex .day:first-child {
    /*height: 100%;*/
}
.day.special {
    border-left: 1px solid #bedec0;
    position: relative;
}
.date-selector-calendar-flex .day .number {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #546e7a;
}
.date-selector-calendar-flex .day .special {
    color: #F44336;
}
.date-selector-calendar-flex .day .active {
    background: #1e88e5;
    color: white;
    /*text-decoration: underline;*/

    cursor: pointer;
    transition: 50ms ease-in-out 25ms;
}
.date-selector-calendar-flex .day .active::after {
    border-bottom: 1px solid #90CAF9;
    content: "";
    width: 16px;
    display: block;
    margin: -7px auto;
}
.date-selector-calendar-flex .day .active:hover::after {
    border-bottom: 1px solid #FFF9C4;
}
.date-selector-calendar-flex .day .active:hover {
    background: #FF9100;
}
.date-selector-calendar-flex .half-disabled {}
.date-selector-calendar-flex .disabled {
    background: #e9ebec;
    /*border-left: 1px solid #d5e1ea;*/

    height: 100%;
}
.date-selector-calendar-flex .disabled-after {
    height: 100%;
}
.date-selector-calendar-flex .disabled .number {
    /*color: #b3bcc3;*/
}
.date-selector-calendar-flex .selected {
    background-color: #FFF59D;
    border-left: 1px solid #FFA000 !important;
}
.date-selector-calendar-flex .selected-start {
    border-left: 1px solid #b0bec5;
    background: linear-gradient(135deg, #fff 0%, #fff 50%, #FFF59D 50.1%, #FFF59D 100%);
}
.date-selector-calendar-flex .selected-end {
    border-left: 1px solid #FFA000 !important;
    background: linear-gradient(135deg, #FFF59D 0%, #FFF59D 50%, #fff 50.1%, #fff 100%);
}
.date-selector-calendar-flex .selected-end .number {
    background: none;
    color: #F57C00;
}
.date-selector-calendar-flex .selected .number {
    background: none;
    color: #F57C00;
}
.date-selector-calendar-flex .selected .number {
    color: #F57C00;
}
.date-selector-calendar-flex .selected .active {
    color: #F57C00;
}
.date-selector-calendar-flex .selected .active:hover {
    color: #fff;
}
.modal-body {
    background: #fafafa;
    border-radius: 0 0 8px 8px;
    z-index: 2;
}
.modal-dialog {
    margin: 10vh auto;
}
.modal-content {
    border-radius: 8px;
    /*overflow: hidden;*/

    border: none;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.48);
}
.modal-content .blue-gradient {
    display: none;
}
.modal-backdrop {
    background-color: #eceff1;
}
.modal-backdrop.in {
    opacity: 0.75;
}
.modal-header .close {
    background: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    opacity: 1;
    position: relative;
    z-index: 3;
    color: #4c4c4c;
    font-weight: 100;
    font-size: 38px;
    text-shadow: none;
    position: absolute;
    right: 32px;
    top: -23px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.36)
}
.modal-header .close:hover {
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.36);
    color: white;
    background: #607d8b;
}
.modal-p {
    font-size: 16px;
    padding: 8px 24px 0px;
    color: #6b838e;
    text-align: right;
    margin-bottom: 8px;
}
.modal-p span {
  white-space: nowrap;
}
.ninja-date {
    border-left: 3px solid #77b77a;
    color: #546e7a;
    font-size: 14px;
    position: absolute;
    left: -2px;
    top: -60px;
    width: 300px;
    height: 38px;
    line-height: 34px;
    text-align: left;
    padding-left: 20px;
}
.ninja-date-dec {
    position: absolute;
    left: -116px;
}
.email-me {
    margin: 16px 0 24px;
}
.email-me p {
    clear: both;
    font-size: 18px;
}
.btn-red {
    color: #fff;
    background-color: #f44336;
    border-color: #f44336;
}
.btn-red:hover {
    color: #fff;
    background-color: #263238;
    border-color: #263238;
}
.btn-big {
    padding: 18px 64px;
    margin: 16px;
    color: #fff;
    background-color: #455A64;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}
.btn-big:hover {
    background-color: #f44336;
}
.btn-big i {
    margin-right: 8px;
}
.dates-sectors {
    position: relative;
}
.dates-sectors .date-selector-calendar {
    width: 100%;
    max-width: 100%;
    position: absolute;
    height: 44px;
    z-index: 10;
    margin-top: 23px;
    pointer-events: none;
}
.dates-sectors .date-selector-calendar .date-selector-calendar-flex .day {
    border-left: 1px solid #48b6ad;
    height: 80%;
}
.dates-sectors .date-selector-calendar .date-selector-calendar-flex .day:first-child {
    border-left: none;
}
.dates-sectors .date-selector-calendar .date-selector-calendar-flex .day .number {
    color: #fff;
}
.popover {
    background-color: #263238;
    border: none;
    color: #fff;
    max-width: 380px;
    padding: 0;
}
.popover .popover-title {
    background: none;
    border: none;
    padding: 16px;
    background-color: #546e7b;
    font-weight: 400;
}
.popover-content {
    background-color: #263238;
    border-radius: 0.3em;
}
.popover p {
    margin-bottom: 8px;
    color: #CFD8DC;
}
.popover p span {
    white-space: nowrap;
}
.popover ul {
    -webkit-margin-before: 0;
    -webkit-padding-start: 54px;
    list-style-type: none;
    margin-top: 16px;
}
.popover ul li {
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #546e7b;
}
.popover .zday {
    float: none;
}
.popover .zday div {
    margin-top: 3px;
}
.popover.bs-tether-element-attached-bottom .popover-arrow::after, .popover.popover-top .popover-arrow::after {
    border-top-color: #263238;
}
.tooltip-prices {
    margin: 0 0 16px;
}
.tooltip-prices-endline td {
    border-bottom: 1px solid #546e7b;
    padding: 8px 0 0 !important;
}
.tooltip-prices tr td {
    padding: 8px 0 0;
}
.tooltip-prices tr td:first-child {
    width: 52px;
    color: #90A4AE;
}
.tooltip-prices tr td:last-child {
    text-align: right;
    color: #FFD740;
    width: 75px;
    white-space: nowrap;
}
.tooltip-prices .price_comment{
	color:#757575;
    margin-right: 4px;
}
.popover.bs-tether-element-attached-bottom, .popover.popover-top {
    margin-top: -14px;
}
.icon-place {
    display: inline-block;
    margin-right: 16px;
    position: absolute;
    left: 16px;
}
.nomer-select {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */

    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */

    display: -ms-flexbox;
    /* TWEENER - IE 10 */

    display: -webkit-flex;
    /* NEW - Chrome */

    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */

    -webkit-box-pack: justify;
    align-items: center;
    margin: 16px 8px;
    clear: both;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}
.nomer-select span {
    margin: 12px 0;
}
#RentModal .modal-body {
    padding: 24px;
}
#RentModal h3 {
    padding: 8px 0;
}
#RentModal .slider.slider-horizontal .slider-track {
    height: 36px;
}
#RentModal .slider-handle {
    height: 48px;
    background-size: 100% 100%;
}
#RentModal .dates-sectors .date-selector-calendar {
    height: 24px;
    font-size: 11px;
}
#formWindow .btn-big {
    padding: 16px 24px;
    display: inline-block;
    border-radius: 8px;
    font-size: 12px;
    margin: 16px 8px;
    background: transparent;
    color: #455A64;
    border: 1px solid #90A4AE;
}
#formWindow .btn-big:hover {
    color: #fff;
    background-color: #455A64;
}
#formWindow .btn-big span {
    margin-right: 8px;
    font-size: 20px;
    line-height: 20px;
    vertical-align: bottom;
}
#formWindow .days>div {
    display: inline-block;
    white-space: nowrap;
    margin: 4px 0;
}
#formWindow input {
    color: #F57C00;
    font-size: 18px;
    padding: 7px 12px;
    font-weight: 700;
}
#formWindow .modal-body {
    background: url('/images/body_back.png');
}
.modal-body h3 b {
    /*border-bottom: 1px dashed;*/

    cursor: pointer;
}
.nomer-number {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #ffffff;
    color: #455a64;
    margin-right: 16px;
    border: 1px solid #cccccc;
}
.main_submenu {
    position: absolute;
    display: none;
    background: url('/images/body_back.png');
    padding: 24px 0;
    margin-top: -36px;
    width: 100%;
    left: 0;
    z-index: 10;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
}
#formWindow h4 {
    text-align: center;
    margin-bottom: 36px;
    margin-top: 24px;
    /*padding-left: 32px;*/
}
.main_submenu .row {
    margin: 0;
}
.main_submenu .slider.slider-horizontal .slider-track {
    height: 12px;
    width: 100%;
    /* top: 50%; */

    left: 0;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #cfd8dc;
}
.main_submenu .slider.slider-horizontal {
    height: 12px;
    margin: 24px 0 8px;
    max-width: 316px;
}
.main_submenu .slider-selection {
    background-color: #1e88e5;
}
.input-div {
    max-width: 128px;
    margin: 0 8px;
    display: inline-block;
    vertical-align: middle;
}
.days span {
    vertical-align: middle;
}
.main_submenu .slider-handle {
    height: 24px;
    width: 24px;
    background-image: none;
    background-color: #FFF;
}
.main_submenu .slider-tick-label {
    display: inline-block;
}
.main_submenu .slider.slider-horizontal .slider-handle {
    margin-top: -51px;
}
.main_submenu .tooltip-inner {
    margin-top: -42px;
}
.main_submenu .tooltip-inner {
    background-color: #1565C0;
}
.slider.slider-horizontal {
    width: 100%;
}
.slider.slider-horizontal .slider-tick-label-container {
    white-space: nowrap;
    margin-top: 20px;
}
.slider.slider-horizontal .slider-tick-container {
    white-space: nowrap;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.nomer-red-close {
    margin-left: 16px;
    position: absolute;
    line-height: 39px;
    color: #ff1744;
    opacity: 0.5;
}
.nomer-red-close:hover {
    opacity: 1;
    color: #ff1744;
}
body>div.container-fluid.header-section>div.container>div>div {
    z-index: 10;
}
.upmenu>div {
    display: inline-block;
    margin: 16px 0;
    float: right;
    border-radius: 8px;
}
.upmenu span {
    padding: 8px 16px;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    font-size: 18px;
    border-right: 1px solid #607D8B;
    text-decoration: underline;
    cursor: pointer;
}
.upmenu span:hover {
    border-right: 1px solid #607D8B;
    background: #455A64;
    color: #fff;
}
.upmenu span:last-child {
    border-right: none;
}
.upmenu i {
    margin-right: 8px;
    font-size: 28px;
}
.upmenu div:last-child {
    margin: -8px 0;
}
.upmenu div:last-child a {
    color: #fff;
    font-size: 32px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}
a.white-link {
    color: #fff;
}
#SendM .modal-body {
    padding: 0
}
#mtb tr:first-child {
    background: #2196F3;
    color: white;
}
#mtb td {
    padding: 16px 24px;
}
#mtb th {
    padding: 16px 24px;
    color: #CFD8DC;
}
#mtb .params {
    color: white;
    font-weight: bold;
}
#mtb td .params {
    color: #607d8b;
    font-weight: bold;
}
#mtb .flexible {
    display: none;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity .07s linear;
    -o-transition: opacity .07s linear;
    transition: opacity .07s linear;
}
.scrolldown {
    font-size: 24px;
    width: 48px;
    height: 48px;
    border: 1px solid;
    border-radius: 50%;
    margin: 8px auto 16px;
    line-height: 46px;
}
#formWindow .nomer-select span:nth-child(3) {
    max-width: 128px;
    margin: 0 8px;
}
.flex-card.lazyload {
    opacity: 0;
    transform: translateY(50px);
}
.flex-card.lazyloaded {
    opacity: 1;
    transform: translateY(0px);
    transition: all 500ms;
}
#DetailsModal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}
#DetailsModal .my-modal-dialog {
    margin: 0;
}
#DetailsModal .my-modal-content {
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
}
#DetailsModal .my-modal-body {
    background: #fff;
    padding-bottom: 70px;
    padding-top: 90px;
    padding-left: 24px;
    padding-right: 24px;
    height: 100vh;
    overflow-y: auto;
}
#DetailsModal .modal-header {
    position: absolute;
    background: #fff;
    color: #455A64;
    z-index: 10;
    top: 0;
    width: 100%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
#DetailsModal .modal-footer {
    position: absolute;
    background: #fff;
    z-index: 10;
    bottom: 0;
    width: 100%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}
#DetailsModal .close {
    display: none;
}
#DetailsModal .tooltip-prices tr td:last-child {
    color: #009688;
    font-weight: bold;
}
#DetailsModal .tooltip-prices-endline td {
    border-bottom: 1px solid #cfd8dc;
}
.popover .btn {
    float: right;
    margin: 8px auto 16px;
    display: block;
}

/* Медиа квориз мои */
@media (max-width: 767px) {
    .flex-card {
        width: 100%;
        margin: 15px 0;
        /*min-height: 60vw;*/
    }

    .logo-p {
        width: 35%;
        padding: 18px 0 0 18px;
        font-size: 14px!important;
        line-height: 17px!important;
    }

    .nedoma-logo {
        margin: 16px 0;
        width: 60%;
    }

    .logo-place {
        padding: 0
    }

    .upmenu div {
        margin: 0 !important;
        width: 100%;
        text-align: center;
    }

    .upmenu div a {
        font-size: 24px !important;
    }

    .header-text {
        margin-bottom: 16px;
    }

    .header-text h1 {
        font-size: 44px;
    }

    .header-text h3 {
        font-size: 24px;
        font-weight: 500;
        line-height: 25px;
        margin: 8px 0;
    }

    .header-text p {
        display: none;
    }

    .modal-dialog {
        margin: 0!important;
    }

    #formWindow .modal-header {
        display: none;
        border-radius: 0;
    }

    .modal-content {
        border-radius: 0;
    }

    .main-menu {
        padding: 24px;
    }

    #formWindow .ninja-date {
        top: -48px;
    }

    #formWindow .date-selector-calendar {
        height: inherit;
        margin: 23px 0 0;
    }

    #formWindow .date-selector-calendar-flex {
        max-width: 100%;
        -webkit-flex-wrap: nowrap;
        -moz-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        -o-flex-wrap: nowrap;
        flex-wrap: nowrap;
        justify-content: space-between;
        -webkit-justify-content: space-between;
    }

    #formWindow .date-selector-calendar-flex .day {
        font-size: 12px;
        min-height: 42px;
        border-bottom: none;
        border-right: none;
        border-top: 0;
        margin: 0;
    }

    #formWindow .date-selector-calendar-flex .day .number {
        width: inherit;
        height: inherit;
    }

    #formWindow .nomer-select {
        /*justify-content: center;*/
    }

    #formWindow .nomer-select span:nth-child(2) {
        flex-grow: 1;
        -webkit-flex-grow: 1;
        flex-basis: calc(100% - 48px);
        text-align: left;
    }

    #formWindow .nomer-select span:nth-child(3) {
        margin-left: 48px;
    }

    #formWindow .nomer-red-close {
        /*  position: relative;*/
    }

    .date-selector-calendar-flex .day {
        font-size: 14px;
        max-width: 44px;
        width: 100%;
        /*flex-grow: 1;
        -webkit-flex-grow: 1;*/
        min-height: 48px;
        border: 1px solid #b0bec5;
        margin-top: -1px;
        margin-left: -1px;
    }

    .date-selector-calendar-flex {
        max-width: 100%;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: flex-start;
        -webkit-justify-content: flex-start;
    }

    .date-selector-calendar-flex .day .number {}

    .date-selector-calendar-flex .day .active::after {}

    .ninja-date {
        font-size: 10px;
        top: -104px;
        height: 30px;
        line-height: 30px;
        padding-left: 16px;
    }

    .ninja-date-dec {
        display: none;
    }

    .nomer-red-close {
        font-size: 32px;
        line-height: 46px;
    }

    .flex-card {
        margin: 15px;
    }

    .flex-card::before {
        padding-top: 73%;
    }

    .flex-card h2 {
        font-size: 20px;
    }

    .modal-header .close {
        right: 16px;
        top: 12px;
    }

    .my-modal-header h1 {
        font-size: 18px;
        line-height: 20px;
    }

    .my-modal-header {
        min-height: 38vh;
        border-radius: 0;
    }

    .zday {
        float: left;
        font-size: 13px !important;
        margin: -8px 8px 24px !important;
    }

    .zday div {
        width: 12px;
        height: 12px;
        margin-right: 8px;
        margin-top: 5px;
    }

    .date-selector {
        height: inherit;
        display: -webkit-box;
        /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;
        /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;
        /* TWEENER - IE 10 */
        display: -webkit-flex;
        /* NEW - Chrome */
        display: flex;
        /* NEW, Spec - Opera 12.1, Firefox 20+ */
        -webkit-box-pack: justify;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
        align-items: center;
    }

    .date-selector-days {
        max-width: inherit;
        flex-grow: 1;
        -webkit-flex-grow: 1;
        margin-top: 8px;
    }

    .date-selector-price {
        flex-grow: 1;
        -webkit-flex-grow: 1;
        margin-top: 8px;
    }

    .date-selector-calendar {
        flex-grow: 2;
        -webkit-flex-grow: 2;
        max-width: inherit;
        margin: 8px;
    }

    .date-selector-calendar-flex .day:first-child {
        /*  border-left: none;*/
    }

    .modal-p {
        font-size: 12px;
        line-height: 14px;
        padding: inherit;
    }

    .btn-big {
        /*font-size: 12px;*/
    }

    .popover {
        max-width: 320px;
    }
}
@media (min-width: 768px) {
    .flex-card {
        width: calc(50% - 30px);
        /*min-height:  44vw;*/
    }

    .modal-sm {
        max-width: 640px;
    }

    .flex-container {
        margin: 0 -15px;
    }

    .main-menu {
        padding: 24px 0;
    }
}
@media (min-width: 992px) {
    .flex-card {
        width: calc(33.33% - 30px);
        /*min-height: 30vw;*/
    }

    .modal-dialog {
        max-width: 860px;
    }

    .modal-sm {
        max-width: 640px;
    }
}
@media (min-width: 1200px) {
    .flex-card {
        width: calc(33.33% - 30px);
        /*min-height: 20vw;*/
    }

    .modal-dialog {
        max-width: 960px;
    }

    .modal-sm {
        max-width: 720px;
    }
}

/* Safari 6.1+ (9.0 is the latest version of Safari at this time) */

@media screen and (min-color-index:0)
and(-webkit-min-device-pixel-ratio:0) { @media
{
  .date-selector-calendar-flex .day {
      width: 44px;
      height: 44px;
  }
  #formWindow .date-selector-calendar-flex .day {
    width: 100%;
  }
}
}
