body {
    min-width: 350px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1620px;
    }
}
.modal-content {
    border-radius: 0px;
}
.bg-black {
    background: #000000;
}

.cursor-pointer {
    cursor: pointer;
}

/*** content ***/
a.webp-preview .webp {
    display:none;
}
a.webp-preview:hover .webp {
    display:block;
}
a.webp-preview:hover .thumb {
    display:none;
}
a.webp-preview .webp-progress {
    position: absolute;
    left: 0px;
    width: 0px;
    top: 0px;

    height: 3px;
    background-color: #bb2d3b;
}
a.webp-preview:hover .webp-progress {
    animation: progressAnimation 1s;
    animation-iteration-count: 1;
}

@keyframes progressAnimation {
  0%   { width: 0%; }
  100% { width: 100%; }
}

.duration {
    position: absolute;
    right: 2px;
    bottom: 5px;
    padding: 0px 6px;
    background: rgba(0,0,0, 0.4);
    width: unset;
    height: unset;
    left: unset;
    top: unset;
    color: #EFEFEF;
}
.ratio-7x10 {
  --bs-aspect-ratio: 142.7%;
}

.container-16-9 {
    position: relative;
    width: 100vw; /* Займає всю ширину вікна */
    height: calc(100vw * 9 / 16); /* Вираховує висоту на основі співвідношення 16:9 */
    max-height: 100vh; /* Максимальна висота не перевищує висоту екрана */
    /*max-width: calc(100vh * 16 / 9); /* Максимальна ширина обмежена пропорцією 16:9 для екрану */
    margin: auto; /* Центрує контейнер по горизонталі */
}
@media (min-width: 992px) and (orientation: landscape) {
    .container-16-9 {
        height: calc((100vw * 9 / 16) - 15vh); /* Зменшення висоти на 15vh */
        max-height: calc(100vh - 15vh); /* Максимальна висота екрану мінус 15vh */
    }
}
/* signup carousel */
.carousel-signup {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
.carousel-signup img {
    transition: transform .1s;  
}

.carousel-signup img:hover {
  transform: scale(1.1);
}

/** footer **/
footer,
footer small a {
    color: #bcbcbc;
}
footer a {
    color: #FFFFFF;
    text-decoration: none;
}
footer a:hover,
footer a:focus{
    color: #FFFFFF;
    text-decoration: underline;
}
footer .border-bottom {
    border-bottom-color: #666666 !important;
}

/** zoom **/
.zoom {
  transition: transform .1s;
}
.zoom:hover {
  transform: scale(1.01);
}

/** main form elements **/
.form-control {
    border-radius: 0px;
    border-color: #999999;
}

.form-control:focus,
.form-control:active,{
    border-radius: 0px;
    border-color: #666666;
}

/* download button */
.btn-dwld {
    background-color: #1e394c;
    color:#feffff;
    border: none;
    border-radius: 0;
}

.btn-dwld:hover {
    background-color: #5e7d92;
    color:#ffffff;
}

/* collapsed */
.collapse-title:not(.collapsed) .fa-plus {
    display: none;
}
.collapse-title.collapsed .fa-xmark {
    display: none;
}

/* search */
.search-form {
    width: 350px;
    right: 30px;
    top: -7px;
}
@media (max-width: 435px) {
    .search-form {
        width: 290px;
    }
}
@media (max-width: 380px) {
    .search-form {
        width: 260px;
    }
}
.search-form .form-control {
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.8);
    border-top-left-radius: .1rem;
    border-bottom-left-radius: .1rem;
}
.search-form .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgba(255, 255, 255, 0.4);
    opacity: 1; /* Firefox */
}

.search-form .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgba(255, 255, 255, 0.4);
}

.search-form .form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: rgba(255, 255, 255, 0.4);
}
.search-form #button-search {
    border-left: none;
    border-top-right-radius: .1rem;
    border-bottom-right-radius: .1rem;
    border-color: rgba(255, 255, 255, 0.8);
    color: #FFF;
}

.search-icon {
    color: #ffffff;
}

.search-icon:hover,
.search-icon:focus,
.search-form #button-search:hover,
.search-form #button-search:focus {
    color: #F50B0B;
}

/* content carousel */
.content-carousel .carousel-control-next-icon,
.content-carousel .carousel-control-prev-icon {
    background-color: rgba(0,0,0,0.7);
}
.content-carousel .carousel-item {
    margin-top: 30px;
}
.content-carousel .carousel-item .carousel-caption {
    top: -45px;
}

/* emoji */
#comment_form .emojionearea .emojionearea-editor {
    min-height: 1em;
}

/* modal login */
.modal {
    background: rgba(0,0,0,0.75);
}
.modal-content-bg, .modal-content {
    background-color: #1D1D1D;
}
@media (min-width: 576px) {
    .modal-md {
      --bs-modal-width: 400px;
    }
}

/* vote ratings */
i.vote {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.5);
}

i.vote:hover, i.vote-active {
    color: #000000;
    background-color: rgba(0,0,0,0.05);
}

/** video player **/
.video-js .vjs-big-play-button {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.vjs-bunny-quality-selector .vjs-icon-placeholder::before {
    content: '\f114';
    font-family: 'VideoJS';
}

/* pagination */
.pagination .page-link {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    border: 3px solid #EBEBEB;
    background: #EBEBEB;
    font-weight: bold;
    border-radius: 0px !important;
}

.pagination .page-item.prev-next .page-link {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
}

.pagination .page-item.prev-next .page-link:not(:hover) {
    background: transparent;
    border: 3px solid transparent;
}

.pagination .page-item:not(.active) .page-link:hover,
.pagination .page-item:not(.active) .page-link:focus {
    border-color: #D6D3D3;
    text-decoration: none;
    color: #131313;
    background: #D6D3D3;
    box-shadow: none;
}

.pagination .page-item.prev-next:not(.active) .page-link:focus {
    background: #EBEBEB;
    border-color: #FF0000;
}

.pagination .page-item {
    margin-right: .25rem !important;
    margin-left: .25rem !important;
}
.pagination .active > .page-link,
.pagination .page-link.active {
    background-color: #FF0000;
    border-color: #FF0000;
}

@media (max-width: 576px) {
    .pagination .page-item {
        margin-right: 0.15rem !important;
        margin-left: 0.15rem !important;
    }
    .pagination .page-link {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
        min-width: 40px;
        text-align: center;
    }
}

/*** breadcrumbs ***/
.crumbs i {
    font-size: 0.5rem;
}
.crumbs .crumbs-last {
    color: rgba(0, 0, 0, 0.6);
}

/* countdown */
.countdown-field {
    text-align: center;
    width: 5rem;
}
.countdown-field .small {
    font-size: .75rem;
}

.admin-footer a:hover{
    color: #cfcece;
}
.admin-footer #client-logo{
    max-width: 150px;;
}
