.button, .input-submit, .input-button {
    padding: 8px 20px;
    font-size: 16px;
    background: var(--main-blue-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    color: #fff;
    border: none;
    text-decoration: none;
    max-height: 45px;
    align-items: center;
    justify-content: center;
    width: max-content;
}

.button.white-btn, .input-submit.white-btn {
    background: #fff;
    color: var(--blue-color);
}

.image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue15-color);
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

span.date {
    color: var(--gray-color);
    font-weight: 400;
}
.comments-form .textarea.textarea-content {
    margin-bottom: 24px;
}

.comments-form {
    margin-bottom: 64px;
}

.comment-item .image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-item {
    display: flex;
    gap: 23px;
    margin-bottom: 23px;
}

.comment-body a {
    font-size: var(--title-size);
    font-weight: 700;
    display: block;
    color: var(--black-color);
    margin-bottom: 15px;
}

.comment-body span.date {
    font-size: 14px;
}

.comment-body p {
    margin: 8px 0 0 0;
    font-size: 16px;
}

a.title {
    font-size: var(--title-size);
    color: var(--black-color);
    font-weight: 600;
    margin: 8px 0;
    display: block;
}

a.edit, a.settings {
    display: inline-block;
    width: 30px;
    height: 30px;
}

a.edit {
    background: url(../images/edit.svg) center center no-repeat;
}

a.settings {
    background: url(../images/settings.svg) center center no-repeat;
}

a.settings_black{
    background: url(../images/settings_black.svg) center center no-repeat;
}
.menu {
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
}

.menu a {
    color: #586173;
}
a.filter {
    background: url(../images/filter.svg) center center no-repeat;
    display: inline-block;
    width: 24px;
    height: 24px;
}
.pagination {
    margin-top: 80px;
    display: flex;
    justify-content: end;
    gap: 150px;
    align-items: center;
}

.pagination ul {
    display: flex;
    margin: 0;
    gap: 15px;
}

.pagination ul span {
    background: var(--blue15-color);
    padding: 0 24px;
    color: var(--blue-color);
    height: 23px;
    display: inline-block;
    line-height: 26px;
    border-radius: 10px;
}

.field-content {
    margin-bottom: 100px;
}
.pagination ul a, .pagination ul li {
    display: inline-block;
    height: 23px;
    line-height: 23px;
    color: var(--blue-color);
}
.field > label > span, .media-title {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    flex: 0 0 210px;
    font-weight: 500;
}

fieldset {
    border: none;
    margin-bottom: 40px;
}

input.input-text, input.input-date, .select {
    color: var(--gra-color);
    height: 40px;
    padding-left: 20px;
    border-radius: 8px;
    width: 100%;
    border: 2px solid var(--blue15-color);
}

select {
    border: none;
    height: 42px;
    width: 104%;
    padding-left: 32px;
    outline: none;
}

.select {
    overflow: hidden;
    position: relative;
    padding: 0;
}

.select:after {
}

select:active {
    border: none;
}
.field, .media-field {
    margin-bottom: 24px;
}

input.input-text, .select, input.input-password {
    color: var(--gray-color);
    height: 40px;
    padding-left: 20px;
    border-radius: 6px;
    width: 100%;
    border: 2px solid var(--blue15-color);
}

select {
    border: none;
    height: 40px;
    width: 200%;
    padding-left: 20px;
    outline: none;
}

.select {
    overflow: hidden;
    position: relative;
    width: max-content;
    border: 1px solid var(--blue-color);
    padding-right: 30px;
    padding-left: 0;
}

.select:after {
    content: "";
    position: absolute;
    background: url(../images/select.svg) center center no-repeat;
    width: 20px;
    height: 20px;
    display: block;
    z-index: 10;
    right: 3%;
    top: 10px;
}

select:active {
    border: none;
}

.content-params {
    display: flex;
    gap: 44px;
    align-items: center;
    justify-content: start;
    margin-top: 42px;
}

.content-params .field label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.content-params select, .content-params input, .content-params .select {
    height: 36px;
    padding-left: 16px;
}

.content-params .select {
    padding: 0;
    width: 200px;
}

.content-params select {
    height: 32px;
    width: 115%;
}

.content-params .select:after {
    top: 7px;
    right: 16px;
}

.content-params .field label span {
    width: max-content;
    margin-bottom: 0;
}

legend {
    font-weight: bold;
    font-size: var(--h2-size);
    text-transform: uppercase;
    margin-bottom: 40px;
}

textarea {
    width: 100%;
    border: 1px solid var(--blue15-color);
    border-radius: 23px;
    padding: 8px 20px;
}

.button.black {
    border: 1px solid var(--black-color);
    color: var(--black-color);
    background: none;
}

.content-fields-controll-buttons {
    display: flex;
    gap: 36px;
    justify-content: center;
    margin-bottom: 100px;
}

.form-buttons {
    display: flex;
    justify-content: center;
}
.media-title {
}
.media-field-body {
    display: flex;
    justify-content: start;
}

.input-container input {

    display: none;
}

.input-container img {
    cursor: pointer;
}
.form-fields-templates {
    display: none;
}
.added-form-field {
    margin-bottom: 40px;
}
div.media-preview-container {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
.video-container {
    height: 100%;
}

.slider-wrapper > li {
    height: 617px;
    margin-bottom: 110px;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
div.media-preview-container > div {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

div.media-preview-container > div img, div.media-preview-container > div video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.media-preview-container .video-preview {
    width: 100px;
}
h3 {
    font-size: 18px;
}

.comments-list {
    margin-top: 100px;
}

.multi-input-container input {
    margin-bottom: 10px;
}
a.share {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/share.svg) center center;
    cursor: pointer;
}

.field-content.field-description {
    /* padding: 48px 64px 28px; */
    /* border: 1px solid var(--blue15-color); */
    /* border-radius: 30px; */
}

.photo-collage {
    display: flex;
    gap: 30px;
    height: 465px;
}

.pc-col {
    display: flex;
    flex-direction: column;
    height: 465px;
    gap: 30px;
    align-items: stretch;
    flex: 1;
}

.pc-col a.image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
}

.pc-col .image {
    max-height: 100%;
}
.video-slide > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-slider {
    height: 542px;
}

span.accept {
    display: block;
    width: 14px;
    height: 14px;
    background: url(../images/accept.svg) center center no-repeat;
}
a.button.add {
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

a.button.add:after {
    content: "+";
    padding-left: 10px;
    font-size: 20px;
    font-weight: 300;
    line-height: 0px;
}
.blue-border-button {
    border: 1px solid var(--blue-color);
    background: #fff;
    color: var(--blue-color);
    text-decoration: none;
    border-radius: 8px;
}
a.remove-media {
    display: block;
    width: 25px;
    height: 25px;
    background: url(/images/delete.svg) center center no-repeat #fff;
    position: absolute;
    top: 5px;
    right: 5px;
    border-radius: 5px;
    cursor: pointer;
}
section.slide {
    margin-bottom: 50px;
}
.progress {
    position: absolute;
    bottom: 0;
    background: var(--blue-color);
    left: 0;
    z-index: 99;
    color: #fff;
    right: 0;
    text-align: center;
    font-size: 14px;
    padding: 1px 0;
}
.team-fields {
    width: 770px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.team-fields > div {
    flex: 1;
}

.team-avatar {
    height: 200px;
    background: linear-gradient(133.97deg, #D8C2FF 1.73%, #94C5FD 100%);
    border-radius: 20px;
}

.team-avatar .input-container img {
    display: none;
}

.team-avatar .input-container label {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: url(../images/downloadpicture.svg) center center no-repeat;
    background-size: 30%;
}

.team-avatar .media-field {
    width: 100%;
    height: 100%;
}

.team-avatar .media-field-body, .team-avatar .input-container {
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
}

.team-fields input.button {
    width: 100%;
}
.team-avatar div.media-preview-container > div {
    width: 100%;
    height: 200px;
}
.media-container {
    overflow: hidden;
}
.action-buttons {
    max-width: 1170px;
    margin: 24px auto;
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--blue15-color);
    border-bottom: 1px solid var(--blue15-color);
}

.action-buttons > a {
    height: 35px;
    line-height: 35px;
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    padding: 0 20px 0 46px;
}

a.delete-button {
    background: url(../images/delete-button.svg) 20px center no-repeat;
}

a.copy-button {
    background: url(../images/copy-button.svg) 20px center no-repeat;
}

a.edit-button {
    background: url(../images/edit-button.svg) 20px center no-repeat;
}
.fieldset-content {
}

.media-field, .field > label {
    display: flex;
    align-items: center;
    gap: 60px;
}
.media-preview-container > div {
    margin-right: 20px;
    margin-bottom: 20px;
}

.textarea > label {
    display: block;
}
div#search-results, div#teams-search-results {
    position: absolute;
    background: #fff;
    top: 40px;
    right: 0;
    z-index: 15;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
}

.partners-input {
    width: 100%;
}

.partner-input, .teams-input {
    background: url(../images/search-input.svg) 10px center no-repeat;
    padding-left: 31px !important;
}

.field.partners-field, .field.teams-field {
    position: relative;
}
.search-partner-item {
    cursor: pointer;
    padding: 20px;
    border-bottom: 1px solid var(--blue15-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-partner-item:hover {
    background-color: var(--blue15-color);
}
.search-partner, .search-teams {
    color: var(--blue2-color);
    font-size: 16px;
    text-transform: inherit;
    padding: 8px 20px;
    border: 1px solid var(--blue15-color);
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
}

div#input-partners-list, div#input-teams-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.search-partner span.remove, .search-teams span.remove {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../images/close.svg) center center no-repeat;
    cursor: pointer;
}

.field.partners-field > label, .field.teams-field > label {
    align-items: baseline;
}
.search-partner-item .image, #input-teams-list .image {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
}

.success-message {
    width: 1170px;
    margin: 20px auto;
    color: #018958;
    font-weight: 500;
}
.breadcrumbs {
    height: 60px;
    width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
}
.breadcrumbs a, .breadcrumbs span {
    color: var(--blue2-color);
}

.breadcrumbs a:after {
    content: "/";
    padding-left: 2px;
}
.items-list-empty a.button {
    margin: 0 auto;
}
.menu li.active {
    border: 2px solid var(--blue-color);
    border-radius: 8px;
    padding: 11px 26px;
}

.menu li {
    padding: 13px 28px;
}

.menu li.active a {
    color: #000;
    font-weight: 500;
}
.tabs-header {
    margin-bottom: 80px;
}

.tabs-item {
    border-radius: 16px;
    border: 1px solid var(--blue15-color);
    padding: 60px 30px 60px 60px;
    display: none;
}

.textarea-description > label {
    display: flex;
}

.tabs-item.active-tab {
    display: block;
}

.tabs-body input.button {
    margin: 80px auto;
}
.social-input label {
    position: relative;
}

.social-input label:after {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    margin-left: -40px;
}

.social-input label input.input.input-text {
    width: 202px;
}

.social-input.vk-social label::after {
    background: url(../images/vk.svg) center center no-repeat;
    background-size: contain;
    width: 29px;
}

.social-input.tg-social label::after {
    background: url(../images/tg.svg) center center no-repeat;
}
.hint {
    color: var(--blue-color);
    margin-left: 270px;
    margin-top: 8px;
}
.alert.alert-danger {
    width: 1170px;
    margin: 10px auto;
}

.alert.alert-danger li {
    color: var(--red-color);
}

.popup-container, .modal-container {
    
    position: fixed;
        
    left: 0;
        
    right: 0;
        
    bottom: 0;
        
    top: 0;
        
    background: rgba(0, 0, 0, 0.5);
        
    display: none;
        
    z-index: 9999;
        
    overflow: hidden;
    }
    .popup-flex, .modal-flex{
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .popup-body, .modal-body{
        background: #fff;
        border-radius: 8px;
        margin: auto;
        padding: 50px;
        position: relative;
        overflow-y: auto;
        max-height: 90%;
    }
    .popup-container .closepopup-cross{
        height: 25px;
        width: 25px;
        position: absolute;
        right: 30px;
        top: 30px;
        z-index: 10;
    }
    .popup-container .popup-content, .modal-container .modal-content {
        /* width: 661px; */
        height: auto;
        max-height: 100%;
        overflow-y: auto;
    }   
    .field-top-title.media-field,
    .field-top-title.field>label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        display: flex;
    }

    .popup-content .field>label>span {
        font-size: 16px;
        flex: auto;
    }
    a.button.register_to_event {
        width: 100%;
        gap: 10px;
    }
    svg.img-error-svg{
        max-width: 100%;
        height: auto;
    }