html {
    scroll-behavior: smooth;
}

body .wrap {
    overflow: unset;
}

body>header.videos-header .menu-header>.container .nav-container .nav-main {
    height: auto;
}

.videos-header {
    padding: 10px;
    background-color: #fff;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    top: 0;
}

.videos-header ul li a {
    font: normal 700 14px/17.5px Montserrat !important;
    color: #382F32 !important;
    padding: 0 10px !important;
}

.videos-header ul li:before {
    display: none !important;
}

.videos-header ul li a:before {
    background: #ffffff !important;
}

.hero-video {
    margin-top: 110px;
    margin-bottom: 104px;
}

.hero-video .subtitle {
    color: #ca302f;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    padding-top: 80px;
    margin-bottom: 20px;
}

.hero-video h1 {
    text-align: center;
    color: #382F32;
    font-weight: bold;
    font-size: 80px;
    margin-bottom: 25px;
}

.hero-play {
    max-height: 855px;
    position: relative;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
}

.hero-play .poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.play-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../images/play.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-play .play-btn {
    width: 110px;
    height: 110px;
}

.video-grid {
    padding-bottom: 10px;
}

.video-grid .dropdown .btn--red {
    background: #D2232A;
    font: normal 500 20px/32px Montserrat;
    padding: 12px 40px 10px 46px;
    max-height: 54px;
    border-radius: 8px;
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.video-grid .dropdown .dropdown-toggle::after {
    width: 24px;
    height: 20px;
    border-width: 16px 11px;
    transform: scaleY(100%);
    top: 5px;
    position: relative;
}

.video-grid .dropdown.show .dropdown-toggle::after {
    transform: scaleY(-100%);
    top: -5px;
    position: relative;
}

.video-grid .dropdown-menu {
    width: 100%;
    border: 1px solid #C9C9C9;
    margin: 0;
    padding: 0;
    border-radius: 1px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
}

.video-grid .dropdown-menu .dropdown-item {
    font: normal 500 20px/32px Montserrat;
    color: #797979;
    padding: 17px 0 7px;
    text-align: center;
}

.video-grid .dropdown-menu .dropdown-item:not(:last-child) {
    border-bottom: 1px solid #C9C9C9;
}

.video-grid .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 52px;
}

.no-results-message {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.grid-item {
    border-radius: 10px;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.grid-item .video-block .video-poster {
    height: 180px;
    position: relative;
}

.grid-item .video-block .video-poster img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.player_small {
    display: none;
}

.grid-item .video-block .video-content {
    padding: 1.5rem 1.25rem 1rem;
}

.grid-item .video-block .video-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.grid-item .video-block .video-content .tag {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.3rem;
}

.grid-item .video-block .video-content .bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.grid-item .video-block .video-content .bottom-links .btn {
    border-radius: 25px;
    display: inline-block;
    padding: 8px 0.6rem;
    background: #ca302f;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    border: 0;
}

.grid-item .video-block .video-content .bottom-links .dropdown-menu {
    background: #ca302f;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0 0 15px 15px;
}

.btn-secondary:not(:disabled):not(.disabled).active:focus,
.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary.focus,
.btn-secondary:focus,
.show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.grid-item .video-block .video-content .bottom-links .dropdown.show .dropdown-toggle {
    border-radius: 15px 15px 0 0;
}

.grid-item .video-block .video-content .bottom-links .dropdown-toggle::after {
    display: none;
}

.grid-item .video-block .video-content .bottom-links .dropdown-toggle::before {
    display: inline-block;
    margin-left: .155em;
    vertical-align: .155em;
    content: "";
    border-top: .35em solid;
    border-right: .35em solid transparent;
    border-bottom: 0;
    border-left: .35em solid transparent;
}

.grid-item .video-block .video-content .bottom-links .dropdown-menu .dropdown-item {
    overflow-wrap: anywhere;
    word-break: break-word;

    color: #fff;
    font-size: 1rem;
    line-height: 1;
    white-space: normal;
    padding: 0.35rem 0.57rem;
    display: flex;
}

.grid-item .video-block .video-content .bottom-links .dropdown-menu .dropdown-item:focus,
.grid-item .video-block .video-content .bottom-links .dropdown-menu .dropdown-item:hover {
    background: transparent;
}

.grid-item .video-block .video-content .bottom-links .dropdown-menu .dropdown-item svg {
    margin-right: 0.35rem;
    min-width: 16px;
}

.videos-footer {
    background: #382F32;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 320px;
    padding-bottom: 30px;
}

.videos-footer-cta {
    padding: 7% 55px 7% 42%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
    color: #fff;
    position: relative;
    margin-top: -300px;
    margin-bottom: 50px;
}

.videos-footer-cta h2 {
    color: #fff;
    /*    max-width: 600px;*/
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 5.5rem;
}

.videos-footer-cta h2 strong {
    font-weight: 900;
}

.videos-footer-cta a {
    display: inline-block;
    background: #ca302f;
    padding: 18px 6.5rem;
    border-radius: 30px;
    font-size: 2rem;
    font-weight: 600;
}

.footer-bottom {
    padding-top: 50px;
}

.footer-bottom-wrap {
    display: flex;
    justify-content: space-between;
}

.footer-bottom-wrap .nav-social-media {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.footer-bottom-wrap .nav-social-media a {
    display: block;
}

.footer-bottom-wrap .nav-social-media img {
    filter: brightness(0) invert(1);
    height: 22px;
    width: auto;
}



/* Hide controls initially */
/* .plyr__controls {
    display: none !important;
} */

/* Show controls when the video is playing */
/* .plyr--playing .plyr__controls {
    display: flex !important;
} */

.plyr__control[data-plyr="play"]:not(.plyr__controls__item) svg {
    height: 44px !important;
    /* Set the height directly to 50px */
    height: var(--plyr-control-icon-size, 44px) !important;
    /* Fallback to 50px if --plyr-control-icon-size is not set */
    width: 44px !important;
    /* Set the width directly to 50px */
    width: var(--plyr-control-icon-size, 44px) !important;
    /* Fallback to 50px if --plyr-control-icon-size is not set */
}

.plyr__control--overlaid {
    background: none !important;
    /* Remove background */
    padding: 0 !important;
    /* Remove padding */
}

.plyr__poster {
    background-size: cover !important;
}

.popup-social-share {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-social-share.active {
    display: flex;
}


.popup-social-share .popup-wrapper {
    display: flex;
    justify-content: center;
}

.popup-social-share .icons-wrapper {
    display: inline-flex;
    justify-content: center;
    gap: 15px;
    background: white;
    padding: 40px;
    position: relative;
    border-radius: 8px;
}

.popup-social-share .soc-icon {
    width: 60px;
    height: 60px;
}

.popup-social-share .close-cross {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.popup-social-share .close-cross::before,
.popup-social-share .close-cross::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.popup-social-share .close-cross::before {
    transform-origin: center;
    transform: rotate(45deg);
}

.popup-social-share .close-cross::after {
    transform-origin: center;
    transform: rotate(-45deg);
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    padding: 60px 40px 40px;
    border: 1px solid #888;
}

.modal-title {
    color: #D2232A;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* The Close Button */
.modal .close {
    float: right;
    font-size: 24px;
    text-align: center;
    background-color: #E5E5E5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: black;
    font-weight: 400;
    position: absolute;
    right: 10px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.actions {
    text-align: right;
}

@media (min-width: 1440px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

@media screen and (max-width: 992px) {
    body>header .menu-header {
        position: static;
        height: fit-content;
    }

    body>header .menu-header .menu-mobile {
        background-color: white;
        box-shadow: 0px 4px 4px 0px #00000040;
    }

    body>header .menu-header .menu-mobile.active {
        margin-top: 90px;
    }

    body>header .menu-header .menu-mobile .navs,
    body>header .menu-header .menu-mobile {
        height: unset;
        min-height: unset;
    }

    .videos-header {
        padding: 16px 0 17px;
    }

    .videos-header ul {
        text-align: center;
        padding: 0;
        margin: 0
    }

    .videos-header ul li {
        list-style: none;
    }

    .videos-header ul li:not(:last-child) {
        border-bottom: 1px solid #C9C9C9;
    }

    .videos-header ul li a {
        color: #797979 !important;
        font-size: 20px;
        line-height: 32px;
        padding: 12px 0;
        font-weight: 500;
    }

    body>header .menu-header>.container {
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
        padding-right: 0;
    }

    body>header .menu-header>.container .hamburguer_icon {
        border: 1px solid #fff;
        width: 47px;
        height: 47px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        display: none;
    }

    body>header .menu-header>.container .hamburguer_icon>.bar1,
    body>header .menu-header>.container .hamburguer_icon>.bar2,
    body>header .menu-header>.container .hamburguer_icon>.bar3 {
        width: 31px;
        margin: 3px 0;
    }

    body>header .menu-header>.container .hamburguer_icon.change .bar3 {
        transform: rotate(45deg) translate(-6px, -5px);
    }

    body>header .menu-header>.container .hamburguer_icon.change .bar1 {
        transform: rotate(-45deg) translate(-6px, 5px);
    }

    body>header .menu-header .logo img {
        width: 147px;
    }

    /*body>header .menu-header .logo {*/
    /*    position: absolute;*/
    /*    left: 50%;*/
    /*    transform: translateX(-50%);*/
    /*    top: 0;*/
    /*}*/

    .modal-content {
        padding: 40px 20px 20px;
    }
}


@media screen and (max-width: 991px) {
    .grid-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .videos-footer-cta {
        padding: 75px 55px;
        border-radius: 20px;
    }

}

@media screen and (max-width: 767px) {
    .hero-play {
        display: none!important;
    }

    .block-video-links {
        display: none;
    }

    .player_small {
        display: block;
    }

    .player_small .plyr__video-wrapper {
        border-radius: 10px;
    }

    .player_small .plyr,
    .player_small video {
        display: block;
        height: 100%;
        width: 100%;
    }

    .grid-box {
        grid-template-columns: 1fr;
    }

    .videos-footer {
        padding-top: 160px;
        padding-bottom: 28px;
        margin-top: 154px;
    }

    .videos-footer-cta {
        padding: 12px;
        margin-top: -255px;
        min-height: 225px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: end;
        position: absolute;
        width: calc(100% - 30px);
        left: 15px;
    }

    .videos-footer-cta h2 {
        font-size: 18px;
        margin: 0;
        max-width: 205px;
    }

    .videos-footer-cta a {
        font-size: 15px;
        padding: 7px;
        display: block;
        text-align: center;
        width: 100%;
    }

    .hero-video .subtitle {
        padding-top: 10px;
        font-size: 15px;
        line-height: 1.2;
        color: #382F32;
    }

    .hero-video {
        margin-bottom: 13px;
    }

    .hero-video h1 {
        font-size: 50px;
        margin-bottom: 17px;
    }

    .grid-box {
        row-gap: 13px;
    }

    .footer-bottom-wrap {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 25px;
    }

    .nav-social-media {
        padding: 0;
        margin: 0;
    }

    /*    .grid-item .video-block .video-content {padding: 20px 10px 15px;}*/
    .grid-item .video-block .video-content .tag {
        font-weight: 400;
    }

    .grid-item .video-block .video-poster {
        height: auto;
        /* max-height: 225px; */
    }
}



.b-filter__form {
    background: #fff;
    box-shadow: 0px 4px 12px 0px rgba(13, 10, 44, 0.059);
    padding: 19px 0;
    border-radius: 10px;
}

.b-filter__part {
    font-size: 18px;
    color: #000;
}

.b-filter__part.keyword {
    flex: 1 1;
    display: flex;
    align-items: center;
}

.b-filter__part.keyword .b-filter__part-in {
    flex: 1 1;
}

.b-filter__label {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.b-filter input {
    height: 52px;
    border-radius: 0;
    padding: 20px;
    border: none;
    color: rgba(0, 0, 0, 0.5);
}


.b-filter select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='12' height='6' viewBox='0 0 12 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.386.529a.923.923 0 0 0-1.136 0c-.313.26-.313.682 0 .942l4.819 4c.313.26.822.26 1.135 0l4.819-4c.313-.26.313-.682 0-.942a.923.923 0 0 0-1.136 0l-4.25 3.528L1.385.53z' fill='%23757575'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat;
    border-radius: 0;
    border: none;
    color: #000;
    padding: 0 20px 0 0;
    height: 62px;
    background-position: 100% 50%;
    text-align: center;
    font-size: 20px;
    background-color: transparent;
}

.btn-danger {
    border: none;
    /* padding: 15px 30px; */
    border-radius: 50px;
    background: linear-gradient(0deg, #ff000a 0%, #5d0004 100%);
    position: relative;
    z-index: 1;
    font-weight: bold;
    font-size: 22px;
}

.btn-danger:before {
    z-index: -1;
    content: '';
    display: block;
    border-radius: 50px;

    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #ff000a 0%, #5d0004 100%);
    transition: 0.4s ease all;
}

.btn-danger:hover:before {
    opacity: 0;
    content: '';
}

button.btn-danger svg {
    overflow: clip;
}


@media screen and (min-width: 992px) {

    .search input {
        padding-bottom: 0;
    }

    .b-filter__form {
        border-radius: 64px;
    }

    .b-filter__part {
        padding: 0 25px;
        width: 25%;
        min-width: clamp(200px, 14vw, 250px);
    }

    .b-filter__part+.b-filter__part {
        border-left: 1px solid #cdcdcd;
    }

    .b-filter__btn {
        padding: 0;
        border-radius: 50%;
        width: 56px;
        height: 56px;
    }

    .b-filter__btn svg {
        width: 25px;
        height: 25px;
    }

    .b-filter select {
        background-position: 100% 12px;
        height: 52px;
        font-size: 18px;
        padding: 20px 0 0;
        color: rgba(0, 0, 0, 0.5);
        text-align: left;
    }
}

@media screen and (max-width: 991px) {
    .b-filter__part+.b-filter__part {
        border-top: 1px solid #c9c9c9;
    }

    .b-filter {
        padding-top: 80px;
        padding-bottom: 80px;
        width: 100%;
        max-width: 350px;
        margin: 0 auto 35px;
    }

    .b-filter__form {
        width: 100%;
        padding: 0 20px;
        flex-direction: column;
    }

    .b-filter__part.keyword {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        border: none;
    }

    .b-filter__part.keyword input {
        height: 55px;
        text-align: center;
        border-radius: 64px;
        box-shadow: 0px 4px 12px 0px rgba(13, 10, 44, 0.059);
        font-size: 18px;
        color: #000;
    }

    .b-filter__part.keyword input::placeholder {
        opacity: 0;
    }

    .b-filter__part.keyword input:not(:placeholder-shown)+.b-filter__label,
    .b-filter__part.keyword input:focus+.b-filter__label {
        opacity: 0;
    }

    .b-filter__part.keyword .btn {
        position: absolute;
        right: 8px;

        top: 50%;
        transform: translateY(-50%);

        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .b-filter__part.keyword .btn svg {
        width: 20px;
        height: 20px;
    }

    .b-filter__part.keyword .b-filter__label {
        display: block;
        right: 0;
        text-align: center;
        top: 14px;
    }

    .b-filter__label {
        display: none;
    }
}



.b-products__grid.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(240, 0, 10, 0.2);
    border-top-color: #f0000a;
    border-radius: 50%;
    animation: spinner 1s linear infinite;
    z-index: 3;
}

.b-products__grid.loading .b-products__item {
    opacity: 0.5;
    pointer-events: none;
}

.b-filter select:disabled {
    background-color: transparent;
    opacity: 0.5;
}

.b-filter select:disabled+.b-filter__label {
    opacity: 0.5;
}

@-moz-keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 991px) {
    .b-filter__btn-mobile {
        bottom: 0;
        left: 0;
        right: 0;
        font-size: 15px;
        font-weight: 500;
        padding: 17px 30px;
    }
}

.b-filter__label,
.b-filter select,
.keyword input {
    padding-left: 5px;
    padding-right: 5px;
}


.b-filter__part .b-filter__part-in:hover,
.b-serial__search:hover {
    color: #d2232a;
}

.b-filter__part select:hover,
.b-filter__part input:hover,
.b-serial__search input:hover {
    cursor: pointer;
}

.video-langs{
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
}

.video-lang {
    border-radius: 30px;
    border: 1px solid #cdcdcd;
    padding: 8px 10px;
    font-size: 14px;
}

.video-lang img {
    width: 22px;
    height: 22px;
}