.project-detail .project-images-preview {
    width: 100%;
    min-height: 501px;
    position: relative;
}

.project-detail .project-images-preview .project-image-preview {
    width: 668px;
    min-height: 501px;
    text-align: center;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    background-repeat: no-repeat;
}

.project-detail .project-images {
    margin-top: 5px;
    overflow: hidden;
}

.project-detail .project-images .project-image {
    width: 80px;
    height: 80px;
    text-align: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-slick-arrow {
    background: rgba(0, 0, 0, .6);
    height: 40px;
    line-height: 40px;
    position: absolute;
    top: calc(50% - 20px);
    color: rgba(255, 255, 255, .7);
    z-index: 100;
    font-size: 20px;
    cursor: pointer;
}

.project-slick-arrow-small {
    background: rgba(0, 0, 0, .6);
    height: 20px;
    line-height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    color: rgba(255, 255, 255, .7);
    z-index: 100;
    font-size: 15px;
    cursor: pointer;
}

.project-slick-arrow-small.project-slick-arrow-prev {
    padding: 0 7px 0 5px;
    left: 0;
}

.project-slick-arrow-small.project-slick-arrow-next {
    padding: 0 5px 0 7px;
    right: 0;
}

.project-slick-arrow:hover {
    color: #fff;
}

.project-slick-arrow-prev {
    padding: 0 13px 0 11px;
    left: 0;
}

.project-slick-arrow-next {
    padding: 0 11px 0 13px;
    right: 0;
}

.project-detail .project-images .slick-slide {
    margin: 0 3px;
    cursor: pointer;
}

.project-detail .project-images .slick-list {
    margin: 0 -2px;
}

.project-detail .slick-active, .project-detail .slick-current {
/ / outline: 0;
}

.project-image-more {
    position: absolute;
    display: block;
    z-index: 10;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.project-image-preview {
    position: relative;
}

.project-image-more:before {
    content: '';
    position: absolute;
    left: 3px;
    bottom: 3px;
    width: 10px;
    height: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
}

.project-image-more:after {
    content: '';
    position: absolute;
    right: 3px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-top: 2px solid rgba(255, 255, 255, 0.8);
}

.project-image-inner {
    position: relative;
}

.slick-initialized .slick-slide.project-image-preview {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content-block {
    width: 800px;
}

.content-sidebar {
    width: calc(100% - 800px);
    padding-left: 40px;
}

.panel-obj:first-child {
    padding-top: 0;
}

.project-properties dl {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.project-properties:after {
    display: block;
    content: '';
    clear: both;
    float: none;
}

.project-properties span {
    background: #ffffff;
}

.project-properties dt {
    padding: 4px 0;
    margin: 0;
    float: left;
    font-size: 15px;
    
}

@media only screen and (min-width: 641px) {
    [data-remodal-id="consult_modal_project"].remodal {
        max-width: 350px;
    }
}

.remodal__control {
    margin-bottom: 12px;
}

.remodal__form-footer {
    margin-top: 24px;
    display: flex;
    flex-direction: revert;
    align-items: center;
}

.remodal__form-footer .btn {
    display: block;
    background: #159564;
    border: none;
    border-radius: 3px;
    color: #fff;
    text-transform: uppercase;
    padding: 8px 0;
    height: auto;
    min-width: unset;
    width: 135px;
    flex: none;
    margin-right: 10px;
}

.remodal__form-footer .remodal__control-span,
.remodal__form-footer .remodal__control-span:last-child {
    text-align: center;
    margin: 0;
    width: auto;
    height: auto;
}

.remodal__form-footer .remodal__control-span p {
    margin: 0;
}

.consult-errors-project:not(:empty) {
    color: red;
}

.consult-errors-project ul {
    list-style: none;
}

textarea.form__control {
    min-height: 4em;
    padding-top: 5px;
}

.project-panel {
    margin-top: 50px;
}

.project-row {
    display: flex;
    flex-wrap: wrap;
}

.project-col {
    width: 50%;
    flex: none;
}

.project-price {
    display: flex;
    flex-direction: column;
}

.project-col:first-child {
    padding-right: 20px;
}

.project-col:last-child {
    padding-left: 20px;
}

.project-subtitle {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-price__num {
    font-size: 24px;
    font-weight: bold;
}

.project-price__info {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

.project-actions {
    margin-top: 30px;
}

.project-actions .p__object__action {
    font-size: 15px;
    margin-right: 24px;
}

.project-logo {
    width: 250px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.project-developer-link {
    color: #159563;
    margin-top: 10px;
    display: inline-block;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.btn {
    height: 40px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #159563;
    border: 1px solid #159563;
    padding: 4px 16px;
    margin-right: 15px;
}

.btn:hover {
    background: #fff;
    color: #159563;
}

.btn.btn-primary {
    background: #2594ef;
    border-color: #2594ef
}

.btn.btn-primary:hover {
    color: #2594ef;
    background: #fff
}

.project-properties ul {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 40px;
    margin-bottom: -6px;
}

.project-properties ul li {
    break-inside: avoid;
    padding: 6px 0;
    margin: 0;
    text-align: right;
    position: relative;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.project-properties span {
    position: relative;
    background-color: #ffffff;
}

.project-properties span:first-child {
    padding-right: 5px;
}

.project-properties span:last-child {
    padding-left: 5px;
}

.project-properties span:first-child:before {
    content: '..................................................................................................................................................................................................';
    position: absolute;
    color: #a8a8a8;
    font-size: 13px;
    font-family: sans-serif;
    margin-top: 1px;
    left: 100%;
}

.project-panel .collapse__trigger__link {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.project-panel .collapse__title__icon {
    margin-left: 16px;
}

@media (max-width: 640px) {
    .project-properties ul {
        column-count: 1;
        column-gap: 0;
    }
    
    .project-col {
        width: 100%;
        margin-bottom: 30px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.project-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.project-layouts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-left: -6px;
    margin-right: -6px;
    margin-bottom: -20px;
}

.project-layouts__image {
    width: calc(100% / 3 - 12px);
    margin: 0 6px 20px;
}

@media (max-width: 767px) {
    .project-layouts {
        margin-left: -5px;
        margin-right: -5px;
        margin-bottom: -10px;
    }
    
    .project-layouts__image {
        width: calc(100% / 3 - 10px);
        margin: 0 5px 10px;
    }
}


.project-layouts__image img {
    width: 100%;
}

.project-image {
    cursor: pointer;
}

.project-description p {
    margin: 0 0 15px;
}

.project-description {
    line-height: 1.5;
}

.project-description p:last-child {
    margin: 0;
}

.slick-next.slick-next--another,
.slick-prev.slick-prev--another {
    transform: none;
    top: -51px;
    width: 30px;
    height: 30px;
}

.slick-prev.slick-prev--another {
    right: 45px;
    left: auto;
}

.slick-next.slick-next--another {
    right: 0;
}

.slick-prev.slick-prev--another i {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: url("/public/content/icons-right.png") no-repeat center;
    transform: rotate(180deg);
}

.slick-next.slick-next--another i {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: url("/public/content/icons-right.png") no-repeat center;
}

.c-project-item {
    padding: 0 6px;
}

.c-project-list .slick-list {
    margin: 0 -6px!important;
}

.c-project-list .slick-track {
    display: flex;
    align-items: stretch;
}

.c-project-list .slick-track > .c-project-item.slick-slide {
    height: auto;
}

.c-project__inner {
    height: calc(100% - 200px);
}

@media (max-width: 1180px) {
    .project-detail .project-images-preview {
        width: 100%;
    }
    
    .project-detail .project-images .project-image {
        height: 75px;
    }
}

@media screen and (max-width: 768px) {
    .c-project__inner {
        height: auto;
    }

    .c-project-list .slick-track {
        display: block;
    }
}

@media (max-width: 767px) {
    .c-project__actions {
        width: 100%;
        left: 0;
        padding: 4px 15px;
    }
    
    .c-project-list .slick-list {
        margin: 0 !important;
    }
    
    .project-panel {
        margin-top: 30px;
    }
    
    .project-detail .project-images-preview .project-image-preview, .project-detail .project-images-preview, .project-video-preview, .news-video iframe {
        min-height: calc((100vw - 320px) / (365 - 320) * (256 - 200) + 200px) !important;
        height: calc((100vw - 320px) / (365 - 320) * (256 - 200) + 200px) !important;
        max-height: calc((100vw - 320px) / (365 - 320) * (256 - 200) + 200px) !important;
    }
    
    .project-image-inner {
        position: relative;
        height: 100%;
    }
    
    .project-images-wrap{
        margin-top: 22px;
    }
    
    .project-detail .project-images .project-image {
        height: 40px;
    }
    
    .project-actions .p__object__action {
        margin-right: 16px;
    }
    
    .project-actions .btn {
        margin-top: 10px;
        width: 100%;
        margin-right: 0;
    }
    
    .project-col {
        margin-bottom: 0;
    }
    
    .project-panel .collapse__trigger__link,
    .project-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .project-title {
        padding-right: 80px;
    }
}
