/* *{
    font-size: 13px;
} */

/* :root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #ffffff;
    --gray-color: #e1e1e1;
    --gray-color-icon: #c4c4c4;
    --gray-color-icon-hover: #6a6a6a;
    --gray-color-icon-active: #6a6a6a;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --black-color: #000000;
    --normal-font-size: 1rem;
    --z-fixed: 100
} */
/* *,::before,::after {
    box-sizing: border-box
} */
/* body { */
    /* position: relative;
    margin: calc(var(--header-height) + 1rem) 0 0 0;
    padding: 0 1rem;
    font-size: var(--normal-font-size);
    transition: .5s */
/* } */

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-interact {
    pointer-events: none;
    opacity: 0.6;
}

a.disabled-link {
    pointer-events: none;
    cursor: default;
  }

/* Для лучшего отображения тултипа */
.custom-tooltip .tooltip-inner {
    max-width: 500px;
    text-align: left;
    white-space: pre-wrap;
}

@media (max-width: 576px) {
    .pagination {
        font-size: 14px;
    }
    
    .page-link {
        padding: 0.25rem 0.5rem;
    }
}

body {
    /* width: fit-content; */

}

/* .btn-login{
    background-color: transparent;
    border: 0;
} */

a {
    text-decoration: none
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    background-color: var(--first-color);
    z-index: var(--z-fixed);
    transition: .5s;
    height: calc(var(--header-height));
}

.fancybox__content {
    max-width: 100%;
    max-height: calc(100vh - 100px); /* Учитываем высоту заголовка и панели */
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain; /* Сохраняем пропорции */
}

.container-fluid{
    width: 100%;
    background-color: var(--first-color);
}

.l-navbar {
    border-left: solid 1px var(--gray-color);
    position: fixed;
    top: 0;
    right: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.fancybox__slide.has-caption {
    flex-direction: column;
  }

  .fancybox__caption {
    width: 100%;
    max-width: min(72rem, calc(100vw - 2rem));
    padding: 1rem;
    margin-inline: auto;
  }

html.with-fancybox,
html.with-fancybox body,
html.with-fancybox #root {
    width: 100%;
    max-width: 100%;
}
/* 
.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
} */
.nav_logo, .nav_link, .nav_link_item {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: 0.5rem 0 0.5rem 0;
}
.nav_logo {
    margin-bottom: 2rem
}
.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--black-color)
}

.nav_logo-name {
    color: var(--black-color);
    font-weight: 700;
}
.nav_name {
    color: var(--black-color);
}

.nav_link_item {
    position: relative;
    color: var(--gray-color-icon);
    transition: .3s;
    margin-right: 4rem;
}
.nav_link_item:hover {
    color: var(--gray-color-icon-hover)
}

.nav_link {
    position: relative;
    color: var(--gray-color-icon);
    margin-bottom: 1.5rem;
    transition: .3s
}
.nav_link:hover {
    color: var(--gray-color-icon-hover)
}
.nav_icon {
    font-size: 1.25rem
}
/* .show {
    right: 0
} */
.body-pd {
    padding-right: calc(var(--nav-width) + 1rem)
}
.active {
    color: var(--gray-color-icon-hover)
}
.icon_autors{
    width: 32px;
    height: 32px;
    text-align: center;
    vertical-align: middle;
    line-height: 32px;
    font-size: 18px;
    background-color: #000000;
    color: #e7e7e7;
    display: inline-block;
}
.size-tarif-box{
    width: 30rem;
    height: auto;
}
.h-95{
    height: 95vh;
}

.dropdown {
    display: inline-block;
    position: relative;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    width: 150px;
    overflow: auto;
    border: solid 1px #2d2c2c;
    border-radius: 2px;
    left: -120px;
    margin-top: 10px;
    background-color: #FFFFFF;
  }
  .dropdown .active {
    display: block;
  }
  .dropdown-content a {
    display: block;
    color: #000000;
    padding: 5px;
    text-decoration: none;
  }
  .dropdown-content a:hover {
    color: #FFFFFF;
    background-color: #3b3b3b;
  }



.active-item {
    color: var(--gray-color-icon-hover)
}

.active-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: var(--black-color);
}

.mtt-3{
    margin-top: 5rem;
}

.mbt-3{
    margin-bottom: 2rem;
}

.height-100 {
    height:100vh
}
@media screen and (min-width: 768px) {
    /* .show {
        width: calc(var(--nav-width) + 156px)
    } */
    .body-pd {
        padding-right: calc(var(--nav-width) + 188px)
    }
}
input::-webkit-file-upload-button {
    background-color: #212529;
    color: #ffffff;
    border: none;
    border-radius: 0.375rem;
    padding: 8px 20px;
    cursor: pointer;
}
.breadcrumb {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px !important;
    font-size: 14px;
}

.block-prew{
    width: 70px;
    height: 70px;
}

.breadcrumb h2,
.breadcrumb h3 {
  display: inline-block;
  margin: 0;
}
.top-cover {
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}
.hover-image-s:hover {
    color: #f5f5f5;
    background: #8e8e8e;
    cursor: pointer;
}
.hover-image-s {
    color: #212529;
}
.right_menu{
    padding: 1rem;
}

.added-image{
    width: 100%;
    background: #fafafa;
    border-radius: 2rem;
    text-align: center;
    line-height: 5rem;
}

.added-image:hover{
    background: #8e8e8e;
    
}

.added-image:hover i, .added-image:hover span{
    color: #fafafa;
}

.added-image i, .added-image span{
    font-size: 4rem;
    color: #212529;
    text-decoration: none;
}

.icon-right-bar{
    display: none;
}

.title_jury{
    display: grid;
    margin-bottom: 2rem;
}

.container_jury{
    width: 100%;
}

/* .container {
    width: 30%;
} */
.container-contest {
    width: 50%;
}

.size-tarif-box-jury{
    width: 13rem;
    height: auto;
}

.content-photo-jury{
    width: 95%;
}

.size-tarif-box span {
    font-size: 16px;
}

.green-hit{
    float: left;
    border-radius: 1rem;
    font-size: 15px;
    text-align: center;
    width: auto;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: white;
    background: #47b054;
}

.img-size-jury{
    /* width: 13rem; */
    /* height: 10rem; */
    background: #1e1e1e1e;
    object-fit: cover;
}

.img-size{
    /* width: 20rem; */
    height: 15rem;
    background: #1e1e1e1e;
    object-fit: cover;
}

.close-icon{
    border-radius: 0 0 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.form-img{
    position: relative;
}

.grid{
    display: grid;
}

.desc-text-start{
    display: grid;
}

.star-jury{
    color: #9e9e9e;
    cursor: pointer;
}

.star-jury:hover{
    color: black;
}

.col-height{
   min-height: 12rem;
}

.desc-text-end{
    position: absolute;
    bottom: 0;
}

@media screen and (orientation: portrait) {
    .icon-right-bar{
        display: block;
    }
    .nav_link_item{
        display: none;
    }
    /* .container {
        width: 100%;
    } */
    .container-contest {
        width: 100%;
    }
    .size-tarif-box{
        width: 100%;
    }
}

.contests-blockr-fluid{
    width: 100%;
}

/* .tarifs_table{
    width: 60rem;
} */

.contests_block_last{
    width: 260px;
    height: 236px;
    border-radius: 1rem;
    cursor: pointer;
    background-color: #f8f9fa;
    border: solid 1px rgb(228, 228, 228);
    color: black;
}

.contests_block_last:hover{
    background-color: #e7e7e7;
    border: solid 1px rgb(196, 196, 196);
}

.contests_block{
    width: 260px;
    /* height: 190px; */
    border-radius: 1rem;
    border: solid 1px rgb(228, 228, 228);
}
.review_stars_wrap{
    overflow: hidden;
}
#review_stars {
    overflow: hidden;
    position: relative;
    float: left;
}
#review_stars input {
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 0;
}
#review_stars input ~ label i{
    color:#ccc;
    margin: 2px;
}
#review_stars input:checked ~ label i{
    color: black;
}
#review_stars label {
    float: right;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
#review_stars label:hover i, #review_stars label:hover ~ label i{
    color: black;
}

.review_stars_wrap_a{
    overflow: hidden;
}
#review_stars_a {
    overflow: hidden;
    position: relative;
    float: left;
}
#review_stars_a input {
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 0;
}
#review_stars_a input ~ label i{
    color:#ccc;
}
#review_stars_a input:checked ~ label i{
    color: black;
}
#review_stars_a label {
    float: right;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.cl-admin-img{
    background-color: #f0f0f0;
}

input[type="email"], input[type="password"], input[id="phone"], input[id="InputName"], input[id="InputPhone"], textarea[id="InputDesc"]{
    font-size: 16px;
}

.works-gallery {
    width: 100%;
}
.col-md-2:has([id^="filtersCollapse"]) {
    min-width: 0;
}
[id^="filtersCollapse"] .form-check-label,
[id^="filtersCollapse"] .btn,
[id^="filtersCollapse"] .small {
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.work-card-container {
    width: 280px;
    flex-shrink: 0;
}
@media (max-width: 767.98px) {
    .work-card-container {
        width: 100%;
        max-width: 400px;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .work-card-container {
        width: calc(50% - 12px);
    }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
    .work-card-container {
        width: calc(33.333% - 16px);
    }
}
@media (min-width: 1400px) {
    .work-card-container {
        width: calc(25% - 18px);
    }
}
.review_stars_wrap_a {
    overflow: visible !important;
    position: relative;
    margin-bottom: 2rem;
}

.ui-loading {
    width: 100%;
    padding: 1rem;
}
.ui-loading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.ui-skeleton {
    position: relative;
    overflow: hidden;
    background: #eceff1;
    border-radius: .5rem;
}
.ui-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    animation: ui-skeleton-shimmer 1.25s ease-in-out infinite;
}
.ui-skeleton-title {
    width: min(360px, 62%);
    height: 1.8rem;
    margin-bottom: 1.25rem;
}
.ui-skeleton-block {
    min-height: 10rem;
}
.ui-loading-table .ui-loading-grid,
.ui-loading-form .ui-loading-grid,
.ui-loading-page .ui-loading-grid {
    grid-template-columns: 1fr;
    gap: .65rem;
}
.ui-loading-table .ui-skeleton-block { min-height: 3rem; }
.ui-loading-form .ui-skeleton-block { min-height: 3.5rem; }
.ui-loading-page .ui-skeleton-block { min-height: 4rem; }
.ui-loading-gallery .ui-loading-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ui-loading-gallery .ui-skeleton-block { min-height: 14rem; }
.ui-loading-stats .ui-loading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui-loading-stats .ui-skeleton-block { min-height: 12rem; }
.ui-refreshing {
    position: fixed;
    z-index: 1090;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: rgba(0,0,0,.08);
}
.ui-refreshing::after {
    content: "";
    display: block;
    width: 38%;
    height: 100%;
    background: #212529;
    animation: ui-refreshing-slide 1s ease-in-out infinite;
}
@keyframes ui-skeleton-shimmer { to { transform: translateX(100%); } }
@keyframes ui-refreshing-slide {
    from { transform: translateX(-110%); }
    to { transform: translateX(290%); }
}
@media (max-width: 991.98px) {
    .ui-loading-grid,
    .ui-loading-gallery .ui-loading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .ui-loading-grid,
    .ui-loading-gallery .ui-loading-grid,
    .ui-loading-stats .ui-loading-grid { grid-template-columns: 1fr; }
    .ui-skeleton-title { width: 75%; }
}
@media (prefers-reduced-motion: reduce) {
    .ui-skeleton::after,
    .ui-refreshing::after { animation: none; }
}
