:root {
    --header-pad-heigth: 260px;
    --header-pad-width: 630px;
}

header {
    border-bottom: 5px solid var(--color-main);
}

.page-header {
    position: relative;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
}

.dark-img {
    filter: brightness(0.7);
}

.header-partner-logo {
    top: 100px;
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
}

.header-partner-logo .logo-img {
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border-radius: 100%;
    padding: 10px;
    border: 2px solid var(--color-main-middle);
}

.header-partner-logo .header-name {
    color: #FFFFFF;
    font-size: 25px;
    font-weight: bold;
    width: 350px;
    padding: 30px 0 0 30px;
    text-shadow: 0 0 5px rgba(0,0,0,1);
}
.header-partner-logo .logo-img img {
    width: 100%;
    height: 100%;
}

.page-header img.header-img {
    width: 100%;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
}

.filter-buttons button, .filter-buttons a {
    margin: 4px !important;
    font-size: 16px !important;
    max-height: 45px;
    text-decoration: none;
}

.filter-buttons .tags {

}

.filter-buttons .search-box {
    min-height: 30px !important;
    margin: 5px;
}

.filter-buttons .search-box:after {
    top: 15px !important;
}

.filter-buttons .search-box .selected-box {
    height: 15px;
    line-height: 15px;
}

.filter-buttons .search-box .list input {
    border: 1px solid var(--color-main-middle) !important;
    outline: none !important;
}

.filter-buttons .search-box .selected-box .close {
    top: 10px;
}

.filter-buttons .search-box .selected {
    line-height: 30px;
    color: var(--color-main-dark);
    font-weight: 400;
    font-size: 16px !important;
}

.filter-buttons.panel-box {
    background: var(--color-main-brigth-ultra);
    width: calc(100% - 40px);
    padding: 20px;
}

.page-header .pad {
    height: var(--header-pad-heigth);
    width: var(--header-pad-width);
    background: var(--color-main-middle);
    margin: 0 auto;
    position: relative;
}

.page-header .pad .title {
    width: 100%;
    text-align: center;
    font-size: 40px;
    color: #FFFFFF;
    top: calc(var(--header-pad-heigth) / 2 - 20px);
    position: absolute;
    text-transform: uppercase;
}

.detail-page-image {
    display: flex;
    justify-content: center;
}

.detail-page-image img {
    height: 600px;
}

.header-image-title {
    position: absolute;
    text-align: center;
    top: 45%;
    width: 100%;
    color: #FFFFFF;
    text-shadow: 0 0 4px #000000;
    font-size: 30px;

}

.detail-title {
    text-align: center;
    color: var(--color-main-dark);
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 500;
}

.detail-date {
    color: var(--color-main-dark);
    font-size: 18px;
    font-style: italic;
}

.detail-text {
    color: #000000;
    font-size: 18px;
}

.detail-content {
    width: calc(100% - 300px);
}

.detail-info {
    width: 300px;
}

.detail-info-row {

}

.detail-type {
    text-transform: capitalize;
}

.right-info .header-title {
    height: 60px;
    line-height: 60px;
    background: var(--color-main-dark);
    color: #FFFFFF;
    text-transform: uppercase;
    font-size: 20px;
    width: calc(100% - 20px);
    padding-left: 20px;
    font-weight: 500;
}

.right-info .body {
    background: #F5F5F5;
}

.right-info .body-row {
    line-height: 20px;
    padding: 20px;
    color: var(--color-main-dark);
    position: relative;
    overflow: hidden;
}

.right-info .body-row:after {
    content: '';
    width: calc(100% - 40px);
    height: 1px;
    background: var(--color-main-dark);
    display: block;
    position: absolute;
    bottom: 0;
}

.right-info .body-row a {
    color: var(--color-main-dark);
    margin-left: 10px;
    text-decoration: none;
}

.body-info .body-row:last-child:after,
.body-files .body-row:last-child:after {
    display: none;
}

.right-info .body-row.no-border-bottom:after {
    display: none;
}

.right-info .body-row b {
    font-weight: 700 !important;
    display: inline-block;
}

.right-info .body-row p {
    display: block !important;
    width: 100%;
    overflow: hidden;
}

.title-list {
    color: var(--color-main-dark);
    font-weight: 500;
    font-size: 18px;
}

.filter-buttons button {
    display: block;
    border: 1px solid var(--color-main-brigth);
    padding: 7px 10px;
    background: #FFFFFF;
    color: var(--color-main-dark);
    font-size: 20px;
    margin-right: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
}

.filter-buttons button:hover {
    background: rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.filter-buttons button:active {
    background: rgba(0, 0, 0, 0.09);
}

.filter-buttons button.active {
    background: var(--color-main-brigth);
    cursor: default;
    pointer-events: none;
}

.filter-buttons button.switch_on {
    background: var(--color-main-brigth);
}

#pagination button {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    padding: 0;
    font-size: 18px;
}
.flex {
    display: flex;
}
.flex-center {
    justify-content: center !important;
    width: 100%;
}

.flex-list-element {
    border: 1px solid #EEEEEE;
    margin: 10px;
    padding: 20px 5px;
    width: calc((100%/12)*3 - 33px) !important;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    color: var(--color-main);
    text-decoration: none;
}

.flex-list-element img {
    transition: all 0.3s;
}

.flex-list-element:hover img {
    filter: brightness(0.95);
}

.flex-list-element:hover {
    background: #f1f1f1;
}

.flex-list-element .ct {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 30px;
}

.flex-list-element img {
    width: 140px;
}

.relation-buttons .la {
    font-size: 35px;
    margin: 5px;
    color: var(--color-main-middle);
    cursor: pointer;
    position: relative;
}

.header-logo {
    background: var(--color-main);
    text-transform: uppercase;
    color: #FFFFFF;
}

.header-logo a {
    color: #fff;
    text-decoration: none;
}

.header-logo img {
    margin-top: 8px;;
}

.detail-page-filter {
    margin-top: 120px;
}

.article-detail-page .detail-page-filter {
    margin-top: 20px !important;
}

.article-detail-page .detail-title {
    margin-top: 25px !important;
}

.article-detail-page .article-detail-gallery {
    margin-top: 15px;
}

.article-detail-page.portrait-article-image .article-detail-gallery {
    float: left;
    width: 36%;
    max-width: 390px;
    min-width: 280px;
    margin: 0 30px 20px 0;
}

.article-detail-page.portrait-article-image .article-detail-gallery .splide,
.article-detail-page.portrait-article-image .article-detail-gallery .splide__track,
.article-detail-page.portrait-article-image .article-detail-gallery .splide__list,
.article-detail-page.portrait-article-image .article-detail-gallery .splide__slide {
    width: 100% !important;
}

.article-detail-page.portrait-article-image .article-detail-gallery .article-model img {
    width: 100%;
    height: auto;
    max-height: 620px;
}

.article-detail-page.portrait-article-image .article-detail-gallery .splide__arrow.splide__arrow--prev,
.article-detail-page.portrait-article-image .article-detail-gallery .splide__arrow.splide__arrow--next {
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.article-detail-page.portrait-article-image .article-detail-gallery .splide__arrow.splide__arrow--prev {
    left: 8px !important;
}

.article-detail-page.portrait-article-image .article-detail-gallery .splide__arrow.splide__arrow--next {
    right: 8px !important;
}

.article-detail-page.portrait-article-image .article-detail-gallery .splide__arrow .la {
    font-size: 24px;
}

.article-detail-page.portrait-article-image .detail-text:after {
    content: '';
    clear: both;
    display: block;
}

.article-publish-date {
    margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
    .article-detail-page.portrait-article-image .article-detail-gallery {
        float: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0 0 20px;
    }
}

.logo-left-absolute {
    position: absolute;
    width: 200px;
    top: 25px;
    left: 0;
}

.logo-center-absolute {
    position: relative;
    width: 300px;
    display: block;
    margin: 30px auto 30px;
    transform: translateX(-15px);
}

.text-white {
    color: #FFFFFF;
}

.detail-page-breadcrumb {
    margin-top: 110px;
    display: flex;
}

.detail-page-breadcrumb a {
    text-decoration: none;
    display: block;
    position: relative;
    color: var(--color-main);
}
.detail-page-breadcrumb a:not(:last-child) {
    padding-right: 30px;
}
.detail-page-breadcrumb a:not(:last-child):after {
    content: '';
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: 1px solid var(--color-main);
    border-right: 1px solid var(--color-main);
    margin: 0 10px 0 10px;
    transform: rotate(-45deg);
    top: 6px;
    right: 5px;
}
.object-detail-info {
    color: var(--color-main);
}

.object-detail-info .flex .la {
    color: var(--color-main);
    font-size: 22px;
    margin-right: 10px;
}

.object-detail-info .flex .row-info-object {
    line-height: 21px;
}
.object-detail-info .row-info {
    margin-bottom: 10px;
}

.object-detail-info .row-info b {
    font-weight: 700!important;
}


.site-bar-page {
}

.site-bar-page .side-bar {
    width: 300px !important;
    min-height: 100vh;
    background: var(--color-main);
}

.site-bar-page .content-body {
    width: calc(100% - 320px);
    margin-left: 20px;
}

.site-bar-page .page-header img {
    filter: brightness(0.7);
}

.header-site-page-title {
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0 0 2px rgba(0,0,0,0.4);
    position: absolute;
    left: 0;
    bottom: 50px;
    font-size: 50px;
    font-weight: bold;
}

.article-site-bar {
    padding-left: 15px;
}

.article-site-bar .row {
    padding: 15px 0 15px 0;
    border-bottom: 1px solid var(--color-main);
    color: var(--color-main);
    font-size: 16px;
}

.article-site-bar .la {
    font-size: 22px;
    margin-right: 5px;
}

.article-site-bar .sub-row {
    line-height: 25px;
    height: 25px;
    margin-bottom: 10px;
    display: flex;
}

.article-site-bar .sub-row:first-child {
    margin-bottom: 22px;
    margin-top: 15px;
}

.article-site-bar .sub-row span {
    line-height: 17px;
}

.article-site-bar .sub-row a {
    color: var(--color-main) !important;
    text-decoration: none;
}

.article-site-bar .sub-row a:hover {
    text-decoration: underline;
}

.article-site-bar .booking {
    cursor: pointer;
    position: relative;
    display: block;
    text-decoration: none;
}

.article-site-bar .booking:after {
    content: '';
    display: block;
    position: absolute;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid var(--color-main);
    border-right: 1px solid var(--color-main);
    transform: rotate(-45deg);
    right: 10px;
    top: 22px;
}

.e-magazine-list {
    width: calc(100% + 20px);
    margin-left: -10px;
}

.e-magazine-list .img-container {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
}

.e-magazine-list .img-container.img-container-lib {
    width: 100%;
    height: 500px;
}

.e-magazine-list .list-element {
    padding: 15px 15px 70px 15px;
    width: calc(((100% / 12) * 4) - 50px);
    position: relative;
    margin: 10px;
    background: linear-gradient(45deg, var(--color-main-brigth-ultra-2), #F5F5F5);border-radius: 5px;
}

.e-magazine-list .list-element.library {
    width: calc(((100% / 12) * 3) - 50px);
}

.e-magazine-list .list-element .list-title {
    color: var(--color-main-dark);
    font-weight: bold;
}

.e-magazine-list .list-element .profile-submit {
    max-width: 150px !important;
    position: absolute;
    bottom: 15px;
}

.e-magazine-list .list-label {
    color: var(--color-main-middle-dark) !important;
    border: 1px solid var(--color-main-middle-dark) !important;
    background: #ffffff !important;
}

.section-title {
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-main);
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--color-main);
}


.e-book-panel {
    display: flex;
    padding: 30px;
    background: var(--color-main-brigth-ultra-2);
    width: 480px;
    border-radius: 7px;
}

.poster {
    height: 350px;
    width: 250px;
    overflow: hidden;
}

.poster img {
    height: 100%;
}
