/* Generic area block CSS */
.company-area-block {
    max-width: 1300px;
    margin: auto;
}

.company-area-block > * {
    margin-top: 70px;
    margin-bottom: 70px;
}

.editable-box {
    width: 100%;
}

/* ImageTitleText brick */
.image-title-text {
    width: 100%;
    max-width: 1400px;
    padding: 0 10px;
    margin: auto;
}

.image-title-text img {
    width: 100%;
    height: auto;
    max-height: 630px;
}

.image-title-text .container-text {
    margin: 45px auto 45px auto;
}


.image-title-text h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 300;
}

.image-title-text .container-text .text{
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
}

/* Horizontal Card brick */
.horizontal-card {
    position: relative;
}

.horizontal-card > img {
    width: 100%;
    object-fit: cover;
    max-height: 350px;
}

.horizontal-card .horizontal-card-description {
    position: absolute;
    top: 0;
    right: 15px;
    height: 100%;
    width: 450px;
    padding: 40px 20px 40px 20px;
    background-color: #FFFFFFA8;
}

.horizontal-card-description > img {
    max-width: 20%;
    object-fit: contain;
    max-height: 50%;
}

.horizontal-card-description > h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-top: 20px;
}

.horizontal-card-description > button {
    margin-top: 30px;
    width: 160px;
    height: 50px;
    text-transform: uppercase;
    font-size: 15px;
    background-color: unset;
    border: 1px solid #78797b;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    cursor: pointer;
}

.horizontal-card-description > button:hover {
    background-color: #3f4447;
    color: #dadada;
    border: 1px solid #3f4447;
}

/* Horizontal card brick - slider */
.image-slider {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #000a;
    top: 0;
    left: 0;
    z-index: 1;
    /*display: none;*/
    padding: 10px;
}

.image-slider * {
    color: #dbdbdb;
    font-size: 15px;
}

.image-slider > .slider-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.topbar-left > .image-count {
    cursor: default;
}

.slider-topbar > .topbar-right {
    display: inline-flex;
    gap: 20px;
}

.topbar-right > img {
    filter: brightness(80%);
    cursor: pointer;
}

.topbar-right > img:hover {
    filter: brightness(100%);
}

.image-slider > .image-slider-body {
    height: 100%;
    width: 100%;
    align-content: center;
}

.image-slider-body > .main-image {
    width: 100%;
    height: 100%;
    justify-content: space-between;
    text-align: center;
    display: inline-flex;
    position: relative;
}

.main-image > .arrow {
    width: 15%;
    cursor: pointer;
    z-index: 10;
}

.main-image > .image-carousel {
    display: flex;
    width: 70%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    position: absolute;
    gap: 20%;
    left: 0;
    right: 0;
    margin: auto;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.image-carousel > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    user-select: none;
    white-space: nowrap;
}

.image-carousel > img::before,
.image-carousel > img::after {
    content: attr(data-clone);
    display: inline-block;
    width: 100%;
}

.arrow > img {
    height: 100%;
    width: 24px;
    filter: brightness(80%);
    transition: filter 0.15s ease-in;
}

.arrow:hover > img {
    filter: brightness(100%);
}

@media (max-width: 1365px) {
    .image-title-text .container-text {
        max-width: 1100px;
    }
}

/* Media query  */
@media (max-width: 1200px) {
    .image-title-text .container-text {
        max-width: 950px;
    }
}

@media (max-width: 1024px) {
    .image-title-text .container-text {
        max-width: 700px;
    }
}
