.sticky_item {
    position: sticky;
    top: 0;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
    z-index: 5;
}

.tab_block_content h4 {
    font-weight: 600;
}

.tab_block_content h4 span {
    display: block;
}

p:last-child {
    margin-bottom: 0;
}

.tab_block_content .anchor_link {
    display: block;
    height: 0;
}


/*tab_block_container*/
.tab_block_container {
    position: relative;
}

.tab_block_link {
    display: none;
    font-size: 1.2rem;
    line-height: 1.5;
    color: inherit;
    padding: 1rem;
    background: var(--theme-skit-color-grey-light);
    border-bottom: 1px solid var(--theme-skit-color-grey);
    cursor: pointer;
}

.tab_block_link.active {
    color: var(--theme-skit-color-orange);
    border-color: var(--theme-skit-color-orange);
}

.tab_block_link svg {
    width: 1.5rem;
    min-width: 1.5rem;
    height: auto;
    margin-left: 1rem;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
}

.tab_block_link.active svg {
    transform: rotateX(180deg);
}

@media all and (max-width: 991px){
    .tab_block_link {
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }

    .tab_block_content {
        display: none;
    }
}

/*Каюты*/
.cabins_item {
    height: 100%;
}
.cabins_item_img {
    border-radius: 1rem;
    overflow: hidden;
}

.cabins_item_img img {
    width: 100%;
}

.cabins_item_title {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--theme-skit-color);
}

.cabins_item_desc {
    display: block;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow-y: hidden;
    font-size: 1rem;
    line-height: 1.2;
    color: inherit;
    margin-top: 0.5rem;
}

.cabins_item_desc.long_text {
    display: -webkit-box;
}

.cabins_item_more {
    display: none;
    font-size: 0.8rem;
    line-height: 1.2;
    color: var(--theme-skit-color);
    margin-top: 0.5rem;
    cursor: pointer;
}

.cabins_item_more.active {
    display: block;
}

/*Properties */
.detail_prop_item {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    padding: 0.5rem 0;
    margin: 0;
    border-bottom: 1px dashed #d6d6d6;
}

.detail_prop_title {
    width: 50%;
}

.detail_prop_value {
    width: 50%;
    margin: 0;
}

@media all and (max-width: 1200px) {
    .detail_prop_item {
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .detail_prop_title {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .detail_prop_value {
        width: 100%;
    }
}

/*Документы*/
.detail-content-file {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    color: inherit;
    padding: 15px;
    border: 1px solid #d6d6d6;
    border-bottom: none;
    border-radius: 10px;
}

.detail-content-file.last-elem {
    border: 1px solid #d6d6d6;
}

.detail-content-file .detail-content-file-icon {
    font-size: 3rem;
    color: var(--theme-skit-color-green-light);
}

.detail-content-file-text {
    display: inline-block;
    padding: 0 10px;
}

.detail-content-file-size {
    font-size: 0.8rem;
}

.detail-content-file .detail-content-file-download {
    font-size: 2rem;
    color: var(--theme-skit-color-green-light);
    padding-top: 1rem;
    margin-left: auto;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.detail-content-file .detail-content-file-download:hover {
    transform: translateY(0.5rem);
}

@media all and (max-width: 768px) {
    .detail-content-file .detail-content-file-download {
        float: none;
    }
}

.docs-list-item {
    border-top: 1px solid #eee;
}

.docs-list-item:last-child {
    border-bottom: 1px solid #eee;
}

.docs-list-item-title {
    position: relative;
    font-size: 20px;
    padding: 27px 50px 27px 0;
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.docs-list-item-title:hover {
    padding-left: 15px;
}

.docs-list-item-icon {
    position: absolute;
    top: 16px;
    right: 0;
    content: '';
    border-radius: 50%;
}

.docs-list-item-icon i {
    display: block;
    font-size: 24px;
    line-height: 1em;
    width: 50px;
    height: 50px;
    text-align: center;
    padding: 13px;
    background: transparent;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.docs-list-item-title:hover .docs-list-item-icon {
    background: #eee;
}

.docs-list-item-title.active i {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.docs-list-item-text {
    display: none;
    padding: 15px;
    border: 1px solid #eee;
    border-bottom: none;
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

/*ТАБы*/
.detail_tabs .nav-tabs .nav-link {
    font-size: 20px;
    color: inherit;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.detail_tabs .nav-tabs .nav-link:hover {
    border-color: var(--theme-skit-color-orange);
}

.nav-tabs .nav-link.active {
    color: var(--theme-skit-color-orange);
    border-color: var(--theme-skit-color-orange);
}

.detail_tab_content {
    display: -webkit-flex;
    display: flex;
}

.detail_tab_text {
    width: 100%;
}

.detail_tab_img {
    width: 40%;
    min-width: 40%;
    margin-left: 2rem;
}

.detail_tab_img img {
    width: 100%;
    border-radius: 40px;
}

@media all and (max-width: 1200px) {
    .detail_tab_content {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .detail_tab_img {
        width: 100%;
        min-width: auto;
        margin-left: 0;
        margin-top: 2rem;
    }
}

@media all and (max-width: 992px) {
    .detail_tabs .nav-tabs .nav-link {
        margin-right: 0;
    }
}

@media all and (max-width: 767px) {
    .detail_tab_img img {
        border-radius: 30px;
    }
}

/*Видео*/
.detail-content-video {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 1rem;
    overflow: hidden;
}

.detail-content-video iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
}