
.flex-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.checklist-link, .catalog-link, .materials-item .img {
    cursor: pointer;
}

.modal-image {
    max-width: 180px;
    image-rendering: high-quality;
    margin-right: 30px;
}
.projects-tabs a, .log-tabs a, .bar-tabs a {
    margin-bottom: 0;
}
.log-tabs, .bar-tabs {
    margin: -20px 0 36px 0;
    width: 100%;
}

.log-tabs {
    justify-content: flex-end;
    width: 50%;
    margin-left: -8px;
}

.bar-tabs {
    margin-left: 230px;
}

.log-tabs a, .bar-tabs a {
    width: 100px;
    min-height: 40px;
}

.log-wrap, .bar-wrap {
    width: 100%;
}

.catalog-modal-left .small-img {
    flex-wrap: wrap;
}

.video-modal {
    padding: 60px;
}

.video-modal iframe {
    height: 550px;
    border-radius: 10px;
}

.slider-section .flex-row > div {
    width: calc(50%);
}

.slider-section .flex-row > div:first-child {
    margin-right: 15px;
}

.slider-item img {
    object-fit: cover;
    height: 500px;
}

.works-video {
    border-radius: 10px;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}
.works-modal-button a {
    margin: 0 auto;
}

.modal-item, .quiz-result-item {
    border-radius: 10px;
}

.modal-item {
    transition: all 0.4s ease-in-out;
}


.modal-item.tg, .quiz-result-item.tg {
    background: -webkit-gradient(
            linear, left top, left bottom, from(rgba(3, 155, 229, 0.82)), to(#0383c2));
    background: -o-linear-gradient(
            top, rgba(3, 155, 229, 0.82), #0383c2);
    background: linear-gradient(
            180deg, rgba(3, 155, 229, 0.82), #0383c2);
}
.modal-item.tg:hover, .quiz-result-item.tg:hover {
    background: -webkit-gradient(
            linear, left top, left bottom, from(#0383c2), to(rgba(3, 155, 229, 0.82)));
    background: -o-linear-gradient(
            top, #0383c2, rgba(3, 155, 229, 0.82));
    background: linear-gradient(
            180deg, #0383c2, rgba(3, 155, 229, 0.82));
}
.modal-item.viber, .quiz-result-item.viber {
    background: -webkit-gradient(
            linear, left top, left bottom, from(rgba(134, 78, 175, 0.88)), to(#6a3495));
    background: -o-linear-gradient(
            top, rgba(134, 78, 175, 0.88), #6a3495);
    background: linear-gradient(
            180deg, rgba(134, 78, 175, 0.88), #6a3495);
}
.modal-item.viber:hover, .quiz-result-item.viber:hover {
    background: -webkit-gradient(
            linear, left top, left bottom, from(#6a3495), to(rgba(134, 78, 175, 0.88)));
    background: -o-linear-gradient(
            top, #6a3495, rgba(134, 78, 175, 0.88));
    background: linear-gradient(
            180deg, #6a3495, rgba(134, 78, 175, 0.88));
}

.modal-item.whats, .quiz-result-item.whats {
    background: -webkit-gradient(
            linear, left top, left bottom, from(rgba(76, 175, 80, 0.91)), to(#419645));
    background: -o-linear-gradient(
            top, rgba(76, 175, 80, 0.91), #419645);
    background: linear-gradient(
            180deg, rgba(76, 175, 80, 0.91), #419645);
}
.modal-item.whats:hover, .quiz-result-item.whats:hover {
    background: -webkit-gradient(
            linear, left top, left bottom, from(#419645), to(rgba(76, 175, 80, 0.91)));
    background: -o-linear-gradient(
            top, #419645, rgba(76, 175, 80, 0.91));
    background: linear-gradient(
            180deg, #419645, rgba(76, 175, 80, 0.91));
}


@media screen and (max-width: 768px) {
    .flex-row {
        flex-direction: column;
        align-items: center;
    }

    .video-modal {
        padding: 40px 10px;
    }

    .video-modal iframe {
        height: 200px;
    }

    .modal-image {
        margin-top: 20px;
        margin-right: 0;
        max-width: 150px;
    }

    .works-section iframe {
        width: 100%;
    }

    .slider-section .flex-row > div {
        width: calc(100%);
    }

    .slider-section .flex-row > div:first-child {
        margin-right: 0;
        margin-bottom: 100px;
    }

    .slider-item img {
        height: 300px;
    }

    .works-video {
        width: 100%;
        height: 210px;
        border-radius: 10px;
    }
    .log-tabs a, .bar-tabs a {
        margin-right: 2%;
    }
    .log-tabs {
        margin-left: 0;
        width: 50%;
        justify-content: flex-start;
    }
    .projects-tabs a, .log-tabs a, .bar-tabs a {
        margin-bottom: 10px;
    }
    .log-tabs a:first-child, .bar-tabs a:first-child {
        margin-left: 0;
    }
    .log-tabs a:last-child, .bar-tabs a:last-child {
        margin-right: 0;
    }
    .log-tabs a, .bar-tabs a  {
        width: 45%;
    }
    .bar-tabs {
        margin-left: 51%;
    }
}