html {
    font-family: "Roboto Light", sans-serif;
}

#preload_window {
    width: 100%;
    height: 100%;
    background-color: #222;
    position: fixed;
    top: 0;
    left: 0;
    display: table;
    text-align: center;
    z-index: 1111111111;
}

.loading {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    vertical-align: center;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.main-logo {
    color: #fff;
    position: absolute;
    display: inline-block;
    font-size: 2.1rem;
    max-width: 320px;
    padding: 0;
    white-space: nowrap;
    height: auto !important;
    top: 50%;
    transform: translateY(-50%);
}

.section_main {
    background-color: #00b0ff;
}

.section_about {
    background-color: white;
    background-image: url('http://tabcomair.ru/assets/img/back_pattern_grey.png');

}

.section_gallery {
    background-image: url('http://tabcomair.ru/assets/img/back_pattern_black.png');
}

.section_price {
    background-image: url('http://tabcomair.ru/assets/img/back_pattern_grey.png');
}

.section_contacts {
    background-image: url('http://tabcomair.ru/assets/img/back_pattern_black.png');
    background-image: url('http://tabcomair.ru/assets/img/contacts_back_2.jpg');
    background-size: cover;
    background-position: 0;

}

.main_logo_block {
    position: absolute;
    display: none;
    top: 20px;
    left: -10px;
}

.main_logo_block img {
    width: 400px;
}

#main_block {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.74);
    z-index: 10;
    position: absolute;
}

#top_nav {
    position: relative;
    display: block;
    padding-right: 20px;
    background-color: #222;
    z-index: 11;
    width: 100%;
    min-height: 50px;
}

.nav-block {
}

#top_nav ul li {
    transition: background-color .3s;
    float: left;
    padding: 2px 10px;
}

#top_nav ul li a {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    font-family: "Roboto Thin", sans-serif;
    text-decoration: none;
    transition: 0.3s color;
}

#top_nav ul li a:hover, .selected_href {
    color: rgba(255, 255, 255, 1) !important;
}

#top_nav ul li a:before, .selected_href:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -5px;
    left: 0;
    background: #fff;
    visibility: hidden;
    border-radius: 5px;
    transform: scaleX(0);
    transition: .35s linear;
}

#top_nav ul li a:hover:before, .selected_href:before {
    visibility: visible !important;
    transform: scaleX(1) !important;
}

#main_bottom_right_block {
    font-family: "Roboto Light", sans-serif;
    position: absolute;
    width: 400px;
    -webkit-font-smoothing: antialiased;
    bottom: 20px;
    zoom: 110%;
    right: -50px;
    border-radius: 6px;
    z-index: 12;
    color: white;
    /*border: 1px solid #c6c6c6;*/

    padding: 20px;
}

#made_by {
    font-family: "Roboto Light", sans-serif;
    position: absolute;
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    bottom: 10px;
    zoom: 100%;
    left: 20px;
    border-radius: 6px;
    z-index: 12;
    /*border: 1px solid #c6c6c6;*/
}

#made_by a:hover {
    cursor: pointer;
}

#main_bottom_right_block h1 {
    font-size: 1.4em;
    font-family: "Roboto Light", sans-serif;
    color: white;
    margin: 0;
}

.transparent-with-borders {
    display: block;
    border: 1px solid #c6c6c6;
    padding: 2px 5px;
    color: white;
    background-color: rgba(106, 22, 22, 0.45)
}

.black_span span {
    color: #555 !important;
    transition: 0.7s color;
}

.black_span a {
    text-decoration: underline;
    color: #333 !important;
    transition: 0.7s color;
}

.white_span a:hover {
    color: #fff !important;
}

.white_span span {
    color: #c6c6c6;
    transition: 0.7s color;
}

.white_span a {
    text-decoration: underline;
    color: #f6f6f6;
    transition: 0.7s color;
}

.white_span a:hover {
    color: white;
}

.white_to_yellow_href {
    text-decoration: underline;
    color: white;
}

.white_to_yellow_href:hover {
    cursor: pointer;
    color: #f0ff8b;
}

#main_logo_a {
    margin-left: 10px;
}

.rounded_image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

.gallery_row {
    margin: 20px;
    overflow: hidden;
}

.gallery_row .col {
    padding: 0;
}

.gallery_row h5 {
    color: #c6c6c6;
    font-family: "Roboto Thin", sans-serif;
    font-weight: 300;
    font-size: 1.1em;
    margin: 0 0 25px 0;
    text-align: center;
}
.bx-viewport {
    height: auto !important;
}
.bx-wrapper {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}
.bx-wrapper .bx-controls-direction a {
    top: auto !important;
    bottom: -50px !important;
}
.section-header:after {
    margin-right: -100%;
}

.section-header:before {
    margin-left: -100%;
}

.section-header:before, .section-header:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: 100%;
    height: 1px;
    background-color: #6f6f6f;
    border: solid rgb(27, 27, 27);
    border-width: 0 10px;
}

.example_video_block .example_date {
    font-size: 12px;
    color: #555;
    display: block;
    font-family: "Roboto Light";
    font-weight: 600;
}

.example_video_block .example_description {
    display: block;
    width: 300px;
    font-size: 14px;
    color: #c6c6c6;
    font-family: "Roboto Light";
}

.gallery_page_image {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.gallery_page_image img {
    width: 300px;
}

.gallery_row .u_col {
    /*box-shadow: 5px 5px 5px #ccc;*/
    padding-right: 15px;
}
.gallery_row .row {
    margin-bottom: 0 !important;
}
.bx-wrapper .bx-next {
    background: url("http://tabcomair.ru/assets/js/images/arrow_right.png") no-repeat !important;
    background-size: contain !important;
}
.bx-wrapper .bx-prev {
    background: url("http://tabcomair.ru/assets/js/images/arrow_left.png") no-repeat !important;
    background-size: contain !important;
}
.bx-wrapper .bx-controls-direction a {
    width: 22px !important;
    height: 22px !important;
    opacity: 0.8;
}
.bx-wrapper .bx-controls-direction a:hover {
    opacity: 1;
}
.section_about .pp-tableCell {
    /*vertical-align: middle;*/
}

.section_gallery .pp-tableCell {
    /*vertical-align: middle;*/
    display: block;
}

.gallery_row .bg_utube {
    position: fixed;
    z-index: -99999;
    -webkit-user-select: none;
    user-select: none;
    width: 100%;
    height: 100%;
    -ms-transform: scale(2, 3);
    -webkit-transform: scale(2, 3);
    transform: scale(2, 3);
}

.ytp-thumbnail-overlay-image {
    background-size: initial !important;
}

.about_row, .about_row .col {
    padding: 20px;
    text-align: center;
}

.about_row h1 {
    margin-top: 0;
    font-size: 2em;
}

.about_row h2 {
    font-size: 2em;
    margin: 2em 0 0 0;
}

.about_text {
    display: inline-block;
    width: 80%;
    min-width: 350px;
}

.about_text_col {
    padding-top: 2em !important;
}

.partner_image {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    margin: 10px 20px;
    max-width: 300px;
    vertical-align: middle;
    opacity: 0.5;
    max-height: 200px;
    transition: all 0.4s;
}
.partner_image:hover {
    filter: none;
    opacity: 1;
    cursor: pointer;
}
.size450_med {
    width: 15%;
    /*height: 12%;*/
}

.size450_half {
    width: 15%;
    /*height: 12%;*/
}

.size450_quatro {
    width: 15%;
    /*height: 6%;*/
}

.size_15 {
    width: 15%;
    display: inline-block;
}
.size_15 a{
    display: flex;
    width: 100%;
    height: 100%;
}
.free-wall {
    overflow: hidden;
}

.price_row {
    padding: 5em;
}

.contacts_row {
    padding: 10em 5em;
}

.price_row .col {
    text-align: center;
    margin-bottom: 1em;
    padding: 1em;
}

.price_block {
    border-radius: 5px;
    display: inline-block;
    background-color: #f0f2f3;
    padding: 2em;
    position: relative;
    width: 80%;
    text-align: left;
}
/*.price_block:hover {*/
    /*border-color: #f15846;*/
/*}*/

.price_block_name {
    font-family: "Roboto", arial-black;
    font-weight: 500;
    font-size: 1.2em;
    color: #1a3e4c;
}

.price_block_coast {
    display: block;
    color: #777;
    position: relative;
    z-index: 1;
    font-family: inherit;
    font-weight: 300;
    font-size: 1.3em;
}

.price_block_body {
    margin-bottom: 2em;
}

.price_block_body ul {
    height: 120px;
    overflow: hidden;
}

.price_block_body ul li {
    position: relative;
    padding-left: 2em;
    font-family: "Roboto Light", sans-serif;
    font-size: 0.9em;
    margin-bottom: 0.8em;
}

.price_block_body ul li:before {
    display: block;
    position: absolute;
    content: '';
    background: url('http://tabcomair.ru/assets/img/check_icon2.png') no-repeat;
    background-size: contain;
    width: 1.2em;
    height: 1.2em;
    left: 0;
    top: 1px;
}

.price_block_header {
    height: 3em;
}
.price_more_block {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 1em;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
}
.price_more_block_close {
    position: absolute;
    top:0;
    right: 0.3em;
    font-size: 2em;
    color: #888888;
    transition: 0.4s all;
    cursor: pointer;
}
.price_more_block_close:hover {
    color:#222;
}
.price_more {
    font-size: 0.9em;
    display: none;
    text-decoration: underline;
    font-family: "Roboto Thin";
    transition: 0.4s all;
    color:#888;
}
.price_more:hover {
    cursor: pointer;
    color: #222;
}

.grey_border {
    border-top: 5px solid #c6c6c6;
}

.brown_border {
    border-top: 5px solid #f1ad45;
}

.contacts_info_block {
    color: #f8f8f8;
}

.contacts_header {
    font-size: 1.66em;
    margin-bottom: 1.2em;
}

.contacts_address, .contacts_phones, .contacts_mail {
    margin-bottom: 0.6em;
    color: #d8d3d3;
}

.contacts_mail {
    border-bottom: 1px solid #666033;
    margin-bottom: 2em;
    display: inline-block;
}

.contacts_info_col {
    text-align: center;
}

.add_feedback_button {
    float: right;
}

.contacts_social span {
    margin-right: 5px;
}

.contacts_social:hover {
    cursor: pointer;
}

.contacts_social span {
    margin-right: 5px;
    color: #e6e6e6;
    transition: 0.3s all;
}

.contacts_social span:hover {
    cursor: pointer;
    color: white;
}

.contacts_info_block {
    text-align: left;
    /*max-width: 350px;*/
    padding: 2em;
    background-color: rgba(70, 70, 70, 0.36);
    display: inline-block;
}

.show-on-vl {
    display: none;
}
.show-on-small{
    display: none;
}
.href:hover {
    cursor: pointer;
}
.photo_gallery_delete{
    position: absolute;
    top: 5px;
    color: #222;
    opacity: 0.3;
    right: 5px;
    transition: 0.4s all;
}
.size_15:hover .photo_gallery_delete{
    opacity: 1;
    text-shadow: 0px 0px 2px #f8f8f8;
}
@media (min-width: 1600px) {
    .vl4 {
        width: 100% !important;
    }

    .about_text {
        width: 50%;
    }

    .about_text_col {
        padding-top: 0 !important;
    }

    .rounded_image {
        width: 200px;
        height: 200px;
    }

    .show-on-vl {
        display: block;
    }

    .about_row h2 {
        margin: 0;
    }
}
@media only screen and (max-width: 1700px) {
    .price_row {
        padding: 0 !important;
    }
}
@media only screen and (max-width: 1600px) {
    .price_block {
        width: 90% !important;
    }
    .price_row .col {
        text-align: center;
        margin-bottom: 1em;
        padding: 1em;
    }
    .price_row{
        padding: 1em;
    }
    .partner_image {
        margin: 5px 10px;
        max-width: 200px;
        max-height: 125px;
    }
}
@media only screen and (max-width: 1400px) {
    .price_row .col {
        margin-bottom: 0em !important;
    }
    .price_block {
        padding: 1em !important;
    }
    .contacts_row{
        padding: 5em !important;
    }
    .about_row h2 {
        margin: 0 !important;
    }
    .about_row h2 {
        margin-bottom: 0;
    }

}
@media only screen and (max-width: 1350px) {
    .price_block {
        width: 100% !important;
    }
    .about_text {
        width: 100%;
    }

    .rounded_image {
        width: 250px;
        height: 250px;
    }
    .price_block_body ul {
        height: 60px !important;
    }
}

@media only screen and (max-height: 900px) {
    .price_row .col {
        margin-bottom: 0;
    }
    .price_block_body ul {
        height: 45px !important;
    }
    .price_block_body ul li{
        margin-bottom: 0.4em !important;
    }
    .price_more{
        display: block;
    }
}
@media only screen and (max-width: 600px) {
    .about_text {
        min-width: 0 !important;
    }
    #made_by {
        display: none;
    }
    .gallery_row h5 {
        margin-top: 1em;
    }
    .price_block_body ul {
        height: auto !important;
    }
    .price_more {
        display: none;
    }
    .contacts_row {
        padding: 2em 1em 1em 1em !important;
        margin-bottom: 0;
    }
    .contacts_info_block {
        margin-bottom: 2em;
    }
    .size_15 {
        width: 100%;
    }
}
