html,
body,
body.fancybox-active{
    height: 100%;
}

body,
.label,
.fancy_modal,
.btn {
    font-family: 'ALS_Ekibastuz', sans-serif;
}

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

}

.logo_color_one {
    color: #0062b2;
}
.logo_color_two {
    color: #fd3552;
}
.navbar-brand {
    line-height: 50px;
    padding: 0 15px;
}
.navbar-brand > img {
    display: inline-block;
    margin-top: -5px;
    max-height: 42px;
}
.footer {
    min-height: 90px;
    background: #EEEEEE;
    color: #424242;
    padding: 15px 0;
}

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

a {
    color: #1565C0;
}
a:hover, a:focus {
    color: #2196F3;
}
/* 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;
}

.alerts-container {
    position: absolute;
    padding: 20px;
    width: 100%;
    top: 80px;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.top_nav {
    margin-bottom: 0;
    background: #ffffff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #e7e7e7;
}
.top_nav .navbar-brand {
    font-weight: 900;
    font-size: 24px;
}
.top_nav .navbar-nav > li > a {
    color: #0263b2;
}

.top_nav-small_nav {
    float: right;
    list-style: none;
    padding: 8px;
    margin: 0;
}

.top_nav-small_nav li {
    float: left;
    margin-left: 10px;
}

.top_nav-small_nav li:first-child {
    margin-left: 0;
}


.btn-egrn-one {
    font-weight: 300;
    color: #ffffff;
    border-color: #0263b2;
    background: #0263b2;
}

.btn-egrn-one:focus,
.btn-egrn-one:hover {
    color: #ffffff;
    border-color: #004e8c;
    background: #004e8c;
}

.btn-egrn-two {
    font-weight: 300;
    color: #0263b2;
    border-color: #ffffff;
    background: #ffffff;
}

.btn-egrn-two:focus,
.btn-egrn-two:hover {
    color: #004e8c;
    border-color: #f8fbff;
    background: #f8fbff;
}

.input-with-button {
    position: relative;
}

.input-with-button .form-control {
    padding-right: 60px;
    position: relative;
}
.input-with-button .input-btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 0;
}
.input-with-button .input-btn .btn {
    display: block;
    height: 100%;
    padding: 5px 15px;
    width: 100%;
    line-height: 100%;
}

@-webkit-keyframes load_spinner {
    0%,
    100% {
        box-shadow: 0 12px 0 -10px;
    }
    50% {
        box-shadow: 0 12px 0 0;
    }
}

@keyframes load_spinner {
    0%,
    100% {
        box-shadow: 0 12px 0 -10px;
    }
    50% {
        box-shadow: 0 12px 0 0;
    }
}

.load_spinner, .load_spinner:before, .load_spinner:after {
    width: 12px;
    height: 12px;
    color: #333;
    border-radius: 4px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load_spinner 0.9s infinite ease-in-out;
    animation: load_spinner 0.9s infinite ease-in-out;
}

.load_spinner {
    position: relative;
    top: -12px;
    margin: 30px auto;
    -webkit-animation-delay: -0.15s;
    animation-delay: -0.15s;
}

.load_spinner:before, .load_spinner:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
}

.load_spinner:before {
    left: -16px;
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.load_spinner:after {
    right: -16px;
}

.inline_checkboxes .checkbox {
    display: inline-block; margin-right: 20px;
}

[data-toggle="collapse"] .glyphicon-menu-down {
    display: none;
}
.collapsed .glyphicon-menu-down {
    display: inline-block;
}
.collapsed .glyphicon-menu-up {
    display: none;
}

.anchor {
    display: block;
    position: relative;
}


.screen {
    padding: 50px 0 50px 0;
    position: relative;
}

.screen_scrollDown {
    cursor: pointer;
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-left: 3px solid #0062b2;
    border-bottom: 3px solid #0062b2;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: border-box;
    animation: blinkerAnimation 2s linear infinite;
}

.screen-header {
    text-align: left;
    font-weight: 400;
    font-size: 32px;
    margin: 0 0 20px 0;
}

.screen-search {
    background: #ffffff;
    color: #171717;
}

.screen-search_description {
    text-align: left !important;
}
.screen-search_description_big {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.screen-search_description_small {
    font-size: 15px;
    margin: 0 0 30px 0;
}

.search-address-block {
    margin-top: 40px;
    padding: 15px;
    border: 1px solid #ffffff;
    border-radius: 3px;
}

.search-info-block {
    padding: 15px;
    background: #ffffff;
    color: #171717;
    margin-top: 30px;
    box-shadow: rgba(0,0,0,0.1) 0 0 20px;
}

.search-info-block-tale {
    text-align: center;
    font-size: 15px;float: left;
    width: 50%;
    padding: 15px;
}
.search-info-block-tale:first-child {
    border-right: 1px solid #ececec;
}

.search-info-block-tale-big-text {
    font-size: 24px;
    font-weight: 400;
}

.modal-bottom {
    top: auto;
}

.fancy_modal {
    padding-top: 40px;
}
.fancy_modal.fancybox-content {
    margin: 0;
}
.fancy_modal_wrap {
    overflow: auto;
}
.fancy_modal_body {
    min-width: 160px;
}
.fancy_modal .fancybox-close-small {
    padding: 0;
    width: 32px;
    height: 32px;
}

.screen-prices {
    background: #fbfbfb;
}

.screen-examples {
    text-align: left;
    background: #ffffff;
}

.screen-examples .slick-slide {
    text-align: center;
}
.example-slick-container .slick-track {
    display: flex;
    align-items: center;
}

.example-image {
    display: inline-block;
    /*border: 1px solid grey;*/
    cursor: pointer;
    position: relative;
    margin: 10px;
}
.example-image img {
    max-width: 100%;
}
.example-image .glyphicon {
    font-size: 40px;
    position: absolute;
    color: #000000;
    left: 50%;
    top: 50%;
    margin-left: -1em;
    margin-top: -1em;
    opacity: 0.7;
    padding: 0.5em;
    background: #ffffff;
    border-radius: 100%;
}

.screen-howitworks {
    background: #1a77c4;
    color: #ffffff;
}
.howitworks-tale {
    margin-top: 30px;
}
.howitworks-tale-number {
    background: url('/static/img/shestigrannik.png') no-repeat center;
    text-align: center;
    font-weight: 300;
    font-size: 42px;
    line-height: 40px;
    padding: 36px 0;
    width: 100px;
    margin: 0 auto;
}
.howitworks-tale-text {
    text-align: center;
}
.howitworks-tale-header {
    margin: 10px 0;
    font-weight: 700;
    font-size: 16px;
}

.cart-price_block {
    display: inline-block;
    margin: 10px;
    border: 1px solid #0263b2;
    padding: 20px;
}
.cart-price_price {
    font-weight: 500;
    color: #0263b2;
    font-size: 32px;
}
.old_price {
    text-decoration: line-through;
    color: darkgrey;
}
.new_price {
    color: crimson;
    font-weight: 900;
}

.search-nav-pills.nav-pills {
    margin-bottom: 10px;
}

.search-nav-pills.nav-pills > li > a {
    color: #0263b2;
    border-bottom: 1px dotted;
    padding: 0;
    margin: 5px 10px;
    border-radius: 0;
    line-height: 1;
}

.search-nav-pills.nav-pills > li > a:hover {
    background: none;
}

.search-nav-pills.nav-pills > li.active > a {
    background: none;
    font-weight: bold;
    border: none;
}

.search-nav-pills.nav-pills > li > a,
.search-nav-pills.nav-pills > li.active > a,
.search-nav-pills.nav-pills > li.active > a:hover,
.search-nav-pills.nav-pills > li > a:hover {
    color: #004e8c;
    background: none;
}

.top_bar {
    background: #004e8c;
    border: none;
    border-radius: 0;
    margin: 0;
    color: #ffffff;
}

.wrap {
    padding-top: 80px;
}
.collapseOwners_ownerRow:nth-child(1) .ownerRemoveBtn {
    display: none;
}
.collapseOwners_ownerRow .nav.nav-tabs {
    margin-bottom: 10px;
}
.collapseOwners_ownerRow .nav > li > a {
    padding: 5px 10px;
}

.pretty-form .form-control {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    box-shadow: none;
}
.pretty-form-control {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    box-shadow: none;
}

@media (max-width: 767px) {
    .search-info-block {
        margin: 30px -15px 0 -15px;
        position: relative;
        top: 0px;
    }

    .wrap {
        padding-top: 50px;
    }
}
@media (min-width: 768px) {
    .top_nav {
        padding: 15px 0;
    }
}