.images-block {
    padding-right: 40px;
    position: relative;
}

.main-image-block {
    max-height: 592px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.main-image-block img, .small-images-block img{
    border-radius: 5px;
}

.main-image-block:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.main-image-block img {
    display: inline-block;
    vertical-align: middle;
    margin-left: -0.35em;
}

.small-images-block {
    overflow-y: auto;
    display: inline-flex;
    margin-top: 15px;
}

.small-images-block::-webkit-scrollbar-track {border-radius: 4px;}
.small-images-block::-webkit-scrollbar {height: 5px;}
.small-images-block::-webkit-scrollbar-thumb {border-radius: 4px; background: #6a7d9b;}
.small-images-block:hover::-webkit-scrollbar-thumb {background: #6a7d9b;}

.small-images-block img {
    margin-bottom: 5px;
    margin-right: 5px;
    border: 1px solid #dfe1e1;
}

.small-images-block img:last-child {
    margin-right: 0;
}

.small-images-block img:hover, .small-images-block img.active {
    cursor: pointer;
    border: 1px solid #CC3130;
}

.project-main-block {
    margin-top: 30px;
}

.project-card-mailer input, .project-card-mailer textarea{
    width: 100%;
    margin-bottom: 15px;
}

.project-card-mailer {
    width: 100%;
    text-align: center;
    display: inline-table;

}

.realized-objects {
    margin-bottom: 20px;
}

.realized-objects_i {
    padding: 10px;
    border-bottom: 1px solid #dfe1e1;
    display: flex;
    align-items: center;
    color: #53340D;
    text-decoration: none;
    text-align: left;
}

.realized-objects_i:hover {
    background: #eeeeee;
    color: #53340D;
    text-decoration: none;
}

.realized-objects_i:last-child {
    border-bottom: none;
}

.realized-objects_i_image {
    width: 60px;
    border-radius: 3px;
    height: 100%;
}

.realized-objects_i_info {
    padding-left: 10px;
    flex: 1;
    text-align: left;
}

.realized-objects_i_info_address {
    font-weight: 600;
    font-size: 14px;
}

.realized-objects_i_ico {
    width: 9px;
    height: 15px;
}

.project-card-mailer_success {
    font-size: 20px;
}

.project-card-mailer_success i {
    font-size: 120px;
    margin-bottom: 20px;
}

.project-tabs-info {
    padding-left: 0;
    padding-right: 40px;
}

.tabs-content {
    opacity: 0.99;
}

.project-info-tab-active {
    background: #fff !important;
    border-radius: 5px 5px 0 0 !important;
    font-weight: 700 !important;
    padding-top: 20px !important;
}

.project-info-tab {
    background: #E0E0E0;
    box-shadow: none;
    border-radius: 0;
    border-bottom: none;
    font-weight: 400;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-right: 3px;
    position: relative;
    display: table-cell;
    vertical-align: bottom;
}

.project-info-tab:hover {
    background: #BDBDBD;
    cursor: pointer;
}

.project-tab-link {
    font-size: 14px;
    position: relative;
    display: block;
    margin: 11px 0 0 0;
    color: #53340D;
    background: #E0E0E0;
    outline: none;
    padding: 7px 15px 9px;
}

.project-tab-i.active .project-tab-link {
    margin-top: 0;
    font-weight: 700;
    background: #fff;
    border-radius: 5px 5px 0 0;
    border: 1px solid #dfe1e1;
    padding: 13px 15px;
    border-bottom: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.project-tab {
    display: -webkit-box;
}

.project-tab-i {
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    margin-right: 3px;
}

.project-tab-link:hover {
    background: #BDBDBD;
    cursor: pointer;
}

.project-images-slidenav {
    width: 42px;
    height: 42px;
    line-height: 44px;
    color: #53340D;
    font-size: 25px;
    text-align: center;
    border-radius: 50%;
    border-bottom-width: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    background: #fff;
    -webkit-transition: all linear .1s;
    transition: all linear .1s;
}


.next-slidenav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}

.previous-slidenav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-right: auto;
    margin-left: auto;
}

.hidden {
    display: none;
}

.construct-solution {
    margin-top: 20px;
}

.ul-list {
    padding: 0;
    margin-top: 5px;
    margin-bottom: 15px;
}

.ul-list > li {
    position: relative;
    display: block;
    padding: 0 0 0 19px;
}

.ul-list > li:before {
    content: '';
    position: absolute;
    height: 8px;
    width: 8px;
    top: 8px;
    left: 2px;
    background: #CC3130;
}

.construct-solution_block {
    margin-bottom: 15px;
}

.construct-solution_block:last-child {
    margin-bottom: 0;
}

.construct-solution_title {
    font-weight: 600;
}

.tabs-content-i .flat-element:first-child {
    border-radius: 0 0 5px 5px;
    border-top: none;
}

.floors-name {
    margin-top: 15px;
}

.floor-card {
    position: relative;
}

.floor-card-img {
    width: 30%;
    position: relative;
}

.floor-card-img img {
    border-radius: 5px 0 0 5px;
    z-index: 1;
    position: absolute;
    bottom: 0;
    top: 0;
    margin-top: auto;
    margin-bottom: auto;
}

.d-table {
    width: 100%;
}

.d-table td, .d-table th {
    padding-left: 0;
    padding-right: 0;
}

.d-table th {
    padding-top: 0;
    color: #CC3130;
}

table{
    margin-bottom: 0 !important;
}

.floor-item_left img, .floor-item_right img{
    border-radius: 5px 5px 0 0;
    border: 1px solid #dfe1e1;
    border-bottom: none;
}

.floor-item .flat-element {
    border-radius: 0 0 5px 5px;
}

.floor-item_left {
    padding-right: 20px;
    margin-bottom: 20px;
}

.floor-item_right {
    padding-left: 20px;
    margin-bottom: 20px;
}

.floor-item_left .flat-element, .floor-item_right .flat-element {
    border-radius: 0 0 5px 5px;
}

.flat-element table td:last-child,.flat-element table th:last-child {
    text-align: center;
}

.project-info-title {
    margin-bottom: 5px;
}

figure.fixedratio {
    padding-top: 9%;
    -moz-background-size: contain;
    background: url(/frontend/img/order-project.jpg) center no-repeat;
    background-size: contain;
    margin: 0;
}

.realize-text {
    font-size: 14px;
    margin-bottom: 30px;
}

.realize-text i {
    color: #44b759;
    font-size: 42px;
    margin-right: 10px;
    float: left;
}

.inline {
    display: inline-block;
    vertical-align: middle;
}

.second-line {
    margin-top: 30px;
    margin-bottom: 30px;
}

.order {
    padding-left: 20px;
}

.product-card_badge {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.product-card_badge-in {
    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 10px 30px 10px;
    font-size: 18px;
    line-height: 16px;
    color: #fff;
    border-radius: 0 0 5px 5px;
}

.check-box {
    padding-left: 15px;
}

.calc {
    margin-top: 20px;
    border: 1px solid #53340D;
    border-radius: 5px;
}

.calc-header {
    color: #53340D;
    padding: 10px;
    border-bottom: 1px solid #53340D;
    font-weight: 600;
}

.calc-field {
    margin-bottom: 5px;
}

.uk-accordion > .calc-field:last-child {
    margin-bottom: 0 !important;
}

.price-block {
    color: #53340D;
    border-top: 1px solid #53340D;
}

.price-block .inner{
    border-bottom: 1px solid #53340D;
}

.price-block .stack{
    padding: 10px;
    border-right: 0.5px solid;
}

.price-block .total{
    padding: 10px;
}

.total-price, .total .b-rub {
    color: #44b759 !important;
}

.material-price, .service-price, .price-block .b-rub {
    color: #53340D;
}

.calc-field-category {
    text-align: left;
    color: #FFF;
    background: #53340D;
    padding: 5px 10px;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    margin: 0!important;
    border-bottom: 1px solid #e5e0da;
}

.calc-field-category:last-child {
    border-bottom: 0;
}

.calc-accordion-content {
    padding: 10px !important;
}

.calc-sale, .calc-sale .b-rub{
    color: #44b759;
}

.hidden-header {
    display: none;
}

.note {
    color: #CC3130;
}

.project-name {
    text-align: center;
    margin-bottom: 35px;
}

.small-project-card-info {
    display: none;
}

.project-page-modal-request {
    z-index: 1000000;
}

@media screen and (max-width: 1500px) {
    .ul-list > li:before {
        top: 6px;
        width: 7px;
        height: 7px;
    }

    .project-tab-link {
        padding: 11px 20px 12px 20px;
        margin: 7px 0 0 0;
    }

    .project-tab-i.active .project-tab-link {
        padding: 17px 20px 12px 20px;
        margin-top: 0;
    }

    .realize-text {
        font-size: 18px;
    }
}

@media screen and (max-width: 1360px) {
    .images-block, .project-tabs-info {
        padding-right: 25px;
    }

    .floor-item_left {
        padding-right: 10px;
    }

    .floor-item_right {
        padding-left: 10px;
    }

    .check-box {
        padding-left: 5px;
    }

    .realize-text {
        font-size: 16px;
    }

    .realize-text i {
        font-size: 50px;
    }
}

.floors-block_i {
    width: 50%;
}

.floors-block img {
    cursor: pointer;
}

@media screen and (max-width: 1060px) {
    .project-card {
        margin-top: 20px;
    }

    .images-block, .project-tabs-info {
        padding-right: 0;
    }
}

@media screen and (max-width: 1024px) {
    .floors-block .floor-item_right, .floors-block .floor-item_left {
        padding: 0;
        width: 100%;
    }
}

@media screen and (max-width: 960px) {
    .project-tabs-info {
        padding: 0;
    }

    .order-project {
        margin-top: 15px;
    }

    .project-name {
        margin-bottom: 0;
    }

    .calc-field-category {
        background: #53340D !important;
    }

    .calc-accordion-content {
        margin: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }

    .card-field {
        margin-bottom: 10px;
    }

    .right-sidebar {
        text-align: center;
    }

    .realize-text {
        text-align: left;
        display: inline-block;
    }
}

@media screen and (max-width: 930px) {
    .realize {
        width: 40%;
    }

    .order {
        width: 60%;
    }

    .realize img {
        max-width: 52px;
    }
}

@media screen and (max-width: 780px) {
    .realize {
        width: 100%;
        margin-bottom: 20px;
    }

    .order {
        padding-left: 0;
    }

    .realize-icon {
        width: 100%;
    }

    .order {
        width: 100%;
    }

    .realize-block {
        text-align: center;
    }

    .small-images-block {
        top: 85%;
        height: 70px;
        width: 100%;
    }

    .small-images-block img {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .small-images-block img:last-child {
        margin-right: 0;
    }

    .small-images-block .overview {
        white-space: nowrap;
    }

    .calc .check-box {
        width: 75%;
        padding-left: 0;
        margin-bottom: 7px;
    }

    .calc-header {
        display: none;
    }

    .hidden-header {
        display: block;
        font-weight: 600;
    }

    .calc-field > div {
        width: 100%;
    }

    .calc-field-name {
        width: 75%;
    }

    .calc-field-name-block {
        margin-bottom: 7px;
    }

    .calc-field {
        border-bottom: 1px solid #E0E0E0;
    }

    .calc-accordion-content>:last-child {
        border-bottom: none;
    }

    .small-images-block {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding-right: 0;
        padding-bottom: 10px;
    }

    .small-images-block::-webkit-scrollbar {height: 6px;}
}

@media screen and (max-width: 650px) {
    .card-field-block {
        width: 100% !important;
    }

    .small-images-block {
        top: 82.5%;
    }
}

@media screen and (max-width: 600px) {
    .project-tab {
        overflow: auto;
    }

    .tabs-content-i .flat-element {
        border-radius: 0 0 5px 5px;
    }

    .project-tab::-webkit-scrollbar { width: 0; height: 0}

    .small-images-block {
        top: 81%;
    }

    .product-card_badge-in {
        padding: 6px 15px 6px;
        font-size: 13px;
        line-height: 13px;
    }
}

@media screen and (max-width: 500px) {
    .small-images-block {
        top: 84%;
        height: 60px;
    }

    .small-images-block img {
        width: 70px;
        height: 46px;
    }

    .small-images-block  img:hover {
        height: 46px;
        width: 70px;
    }

    .calc-field-category {
        line-height: 17px;
        font-size: 11px !important;
    }

    .calc .form-ui-label {
        padding: 3px 6px;
    }

    .calc .form-ui-txt {
        font-size: 11px;
    }

    .hidden-header {
        width: 35%;
    }

    .calc-field-name, .calc .check-box {
        width: 65%;
    }

    .form-ui-filter input[type="checkbox"]+.form-ui-label .form-ui-txt:before {
        top: 2px;
        width: 8px;
        height: 8px;
    }

    .form-ui-filter input[type="checkbox"]+.form-ui-label .form-ui-txt:after {
        top: 0px;
        width: 9px;
        height: 3px;
    }

    .stack {
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid #53340D;
    }

    .calc .inner:last-child, .price-block .inner {
        border-bottom: none;
    }
}

@media screen and (max-width: 450px) {
    figure.fixedratio {
        background: url(/images/order-project-small.jpg) center no-repeat;
        padding-top: 12%;
        background-size: contain;
    }

    .second-line {
        margin-bottom: 15px;
        margin-top: 10px;
    }

    .small-images-block {
        top: 83%;
    }
}


@media screen and (max-width: 400px) {
    .small-images-block {
        top: 81%;
    }

    .card-field {
        display: flex;
    }

    .card-field > div > .project-card-value {
        margin-top: -5px;
    }

    .small-project-card-info {
        display: block;
    }

    .project-card-info-field {
        margin-bottom: 0;
        display: table;
    }

    .project-card-info-field > div {
        display: table-cell;
    }
}

@media screen and (max-width: 360px) {
    .small-images-block {
        top: 78%;
    }

    .calc .check-box, .calc-field-name, .hidden-header {
        width: 100%;
    }

    .project-card-info-field {
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 300px) {
    .small-images-block {
        top: 75%;
    }
}

@media screen and (max-width: 270px) {
    .small-images-block {
        top: 72%;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.8;
}

.right-sidebar {
    padding: 0;
}


@media print {
    .print-main, footer, .print-right-sidebar, .social-buttons-block, .project-tab, .print-calc-descr, .print-btn, .uk-navbar-flip{
        display: none;
    }

    .flat-element {
        padding: 0;
        border: 0;
    }

    .calc {
        margin-top: -10px;
        width: 710px !important;
        padding: 0;
        border: 1px solid #53340D !important;
        font-size: 11px;
        background: url("/images/big_logo.jpg");
    }

    .calc-field-category {
        border-top: 1px solid #53340D !important;
        border-bottom: 1px solid #53340D !important;
        margin-bottom: 0 !important;
        border-right: 1px solid #53340D !important;
        border-left: none !important;
        width: 690px;
    }

    [data-wrapper=true] {
        height: auto !important;
        position: relative !important;
    }

    #imgLogo {
        height: 30px;
        margin-top: -10px;
        margin-left: -20px;
        width: 100px !important;
    }

    .calc-field {
        width: 680px;
        margin-left: -55px;
        padding: 0;
    }

    .main-container, .wrap, .navbar-container {
        padding: 0;
    }

    .navbar {
        height: 50px;
    }

    .calc-header {
        font-weight: 100;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .form-ui-filter .form-ui-label, .form-ui-filter-multi .form-ui-label {
        padding: 3px 8px !important;
    }

    .form-ui-filter input[type="checkbox"]+.form-ui-label .form-ui-txt:after, .form-ui-filter-multi input[type="checkbox"]+.form-ui-label .form-ui-txt:after {
        top: 0 !important;
        right: -3px !important;
        width: 10px !important;
        height: 6px !important;
    }

    .flat-navbar {
        margin-top: -10px;
    }

    .print-title {
        display: block !important;
        position: absolute;
        top: 0;
        right: 0;
        margin-top: -65px;
        margin-right: 23px;
    }

    .big-logo {
        display: block !important;
        opacity: .1;
        top: 30%;
        position: absolute;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
}
