/**
 * Index fejlec/hero resz
 */
#b2b-main {
}

#b2b-main video {
    object-fit: cover;
    width: 100%;
    height: 640px;
    position: relative;
    z-index: -1;
    vertical-align: top;
}

#b2b-main .text--holder {
    position: absolute;
    z-index: 1;
    top: 50px;
    width: 100%;
    height: calc(100% - 120px);
}

#b2b-main {
    position: relative;
    z-index: 1;
}

#b2b-main h1 {
    word-break: break-word;
}

#box1 {
    position: relative;
    z-index: 1;
}

#box1 .scale img {
    height: calc(100% + 120px);
    position: relative;
    top: 0px;
    border-radius: 10px;
    transform: scale(1.1);
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

/**
 * Team
 */
.b2b--box {
    border-radius: 5px;
    background: #EBEDF5;
    height: 100%;
    overflow: hidden;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.2);
}

.b2b--box > img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.b2b--box .text--holder {
    padding: 20px 45px;
}

.b2b--box .text--holder {
    max-width: 100%;
}

.b2b--box .text--holder p {
    margin: 5px 0;
}

@media (max-width: 1200px) {
    #box1 .scale img {
        transform: scale(1) !important;
    }
}

.promo-box .promo-item.coral h4 {
    color: white;
}

.promo-box .promo-item.coral.open h4 {
    color: var(--main-coral-color);
}

/*.row3 {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.partners .row1 img {
    max-height: 120px;
    max-width: 400px;
}

.partners .row2 img {
    max-height: 165px;
    max-width: 170px;
}
.partners .row2 p img{
    max-height: 120px; !important;
    max-width: 240px;  !important;
}

.partners .row3 img {
    max-height: 100px;
    max-width: 235px;
}

.services-card {
    background-image: linear-gradient(#ebedf5, white);
    border-radius: 1.5rem;
    padding: 0 1.5rem 1.5rem;
    box-sizing: border-box;
    border: 10px solid transparent;
    background-clip: padding-box;
}

.services-card img {
    max-height: 70px;
    margin-bottom: 1rem;
}

.carousel-inner {
    justify-content: center;
}

.partner-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    border: 10px solid #E5E5E5;
}

.partner-card img {
    border-radius: 1rem;
    object-fit: cover;
}

.partner-card a {
    position: absolute;
    bottom: 0;
    margin-bottom: 20px;
}

.partner-card .text--holder {
    padding: 35px 25px;
    margin-bottom: 25px;
}

@media (min-width: 1200px) {
    .partner-card img {
        height: 218px;
        width: 329px;
    }
}

@media (max-width: 1200px) {
    .partner-card img {
        height: 178px;
        width: 268px;
    }
}

@media (max-width: 992px) {
    .partner-card img {
        height: 205px;
        width: 308px;
    }
}

@media (max-width: 768px) {
    .partner-card img {
        height: 180px;
        width: 353px;
    }
}

@media (max-width: 576px) {
    .partner-card img {
        height: 205px;
        width: 100%;
    }
}

.carousel-indicators {
    bottom: 0;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 1rem;
    border: solid 1px var(--main-coral-color)
}

.carousel-indicators li.active {
    background-color: var(--main-darkblue-color);
}
.carousel-slider-button a {
    position: absolute;
    margin-top: 1rem;
    font-size: x-large;
}

.carousel-slider-button a:hover {
    color: var(--main-coral-color);
}

.carousel-slider-button a.left {
    left: 0;
}

.carousel-slider-button a.right {
    right: 0;
}

.chargers .carousel-item hr {
    border-top: 4px solid var(--main-coral-color);
    width: 13%;
    margin: 0 0 1.5rem 0;
}

.chargers .carousel-item ul li,
.chargers .carousel-item p {
    font-size: small;
}

.chargers .carousel-item img {
    max-height: 300px;
}

@media (max-width: 340px) {
    #independentService h4 {
        font-size: 30px;
    }
}

#independentService p {
    font-size: x-large;
}

@media (max-width: 400px) {
    .partners .row1 img {
        max-height: 120px;
        max-width: 280px;
    }

    .partners .row2 img {
        max-height: 80px;
        max-width: 250px;
    }

    .partners .row3 img {
        max-height: 70px;
        max-width: 220px;
    }
}

.references-box {
    text-align: center;
}

.references-img {
    position: relative;
    overflow: hidden;
}

.references-box .references-img img {
    border-radius: 1rem;
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.references-box-short {
    text-align: center;
}

.references-box-short img {
    width: 340px;
    height: 220px;
    object-fit: cover;
}

.references-box .references-img img::before {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.references-box .references-img img::after {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.references-heading {
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
}

.references-box-short .references-heading {
    bottom: 100px;
    left: 20px;
    right: 20px;
    display: none;
}

.references-caty {
    background: var(--main-darkblue-color);
    color: var(--main-coral-color);
    padding: 0.5rem 1rem;
    z-index: 1;
    display: inline-block;
    margin: 0 auto 0.5rem;
    border-radius: 1rem;
}

.references-caty h4 {
    margin-bottom: 0;
}

.references-box:hover .references-description-caty {
    display: inline-block;
}

.references-box:hover .references-description,
.references-box-short:hover .references-heading {
    display: block;
}

.references-box:hover img,
.references-box-short:hover img {
    filter: brightness(0.5);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

@media (hover: none) {
    .references-box .references-description-caty {
        display: inline-block;
    }

    .references-box .references-description,
    .references-box-short .references-heading {
        display: block;
    }

    .references-box img {
        filter: brightness(0.5);
    }
}

.references-description-caty {
    background: var(--main-coral-color);
    color: var(--main-darkblue-color);
    padding: 0.25rem 1.5rem;
    z-index: 1;
    margin: 0 auto 1.5rem;
    border-radius: 2rem;
    display: none;
}

.references-description {
    color: white;
    margin-bottom: 0.5rem;
    display: none;
}

#blogSection hr {
    width: 12%;
    border-top: 5px solid var(--main-coral-color);
}

#referencesSection h4 {
    word-break: break-word;
}

div#wrapper section {
    overflow: hidden;
}