.container_image {
    max-width: 85vw;
}

.page.profile div.profile .personal {
    overflow: hidden;
}

table.contacts {
    width: 100%;
    border: none;
}

table.contacts td {
    text-align: left;
    vertical-align: top;
    padding: 0 20px;
}

table.contacts td.menu {
    width: 200px;
    padding: 0;
}

table.contacts td.menu div {
    background: #eeeeee;
    border: 1px solid #cccccc;
    padding: 5px 10px;
}

table.contacts_education {
    width: 100%;
}

table.contacts_education th {
    text-align: center;
    border: 1px solid #000000;
}

table.contacts_education td {
    border: 1px solid #000000;
    padding: 20px;
    text-align: center;
}

table.contacts_education td:first-child {
    text-align: left;
}

body {
    padding-top: 0;
}

nav.event-tabs-navigation,
nav.pc-cycle-schedule-filter,
nav.registration-tabs-nav {
    position: relative;
    top: unset;
    background-color: unset;
    height: auto;
    width: auto;
    z-index: unset;
    display: block;
}

.page.index .slider .item {
    overflow: hidden;
}

.page.index .slider .item .pict {
    position: absolute;
    right: 0;
    bottom: 0;
}

header {
    display: flex !important;
}

@media (max-width: 999px) {
    header a.profile {
        background-image: url('img/ico_profile_active.webp');
        display: flex;
        width: 20px;
        height: 20px;
        margin: 0 0 0 37px;
    }

    header a.profile span {
        display: none;
    }
}

@media (max-width: 410px) {
    header a.menu {
        margin-left: 20px;
    }

    header a.search {
        margin-left: 5px;
    }

    header a.profile,
    header a.profile:hover {
        margin: 0 10px;
        padding: 0;
        background-position: -2px -2px;
    }
}

.events-item-card-title a,
.schedule-card-title a {
    color: #333333;
}

.button-default {
    border: 2px solid #2d4368 !important;
}

@media (max-width: 767px) {
    .popup-bottom-links .registeer-column {
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .password-control {
        top: 16px;
    }
}

.page.index .login form .row .password-control {
    top: 52px;
}

/** Перекрытие стилей чата "Открытых линий" **/
.bx-imopenlines-form-content {
    width: 100% !important;
}

.b24-form-wrapper.b24-form-shadow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.bx-livechat-body {
    background-image: url("/images/imopenlines-bg.svg") !important;
    background-size: cover !important;
    font: 15px 'OpenSans-Regular', "Helvetica Neue", Arial, Helvetica, sans-serif !important;
}

.b24-form-btn {
    padding: 8px 12px !important;
    min-height: 40px !important;
    background-color: rgb(218, 147, 47) !important;
    border-radius: 8px;
    font-family: Gilroy;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.03em;
}

.b24-form-wrapper {
    border-bottom: none !important;
    border-radius: 8px !important;
}

.b24-form-header {
    padding: 15px 31px 5px !important;
    font-family: Open Sans !important;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
}

.b24-form-header-description {
    margin: 0 0 10px 0 !important;
}

.b24-form-content {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 20px !important;
}

.b24-form-control {
    height: 45px !important;
    border-radius: 8px !important;
    background: #FCF6EE !important;
    border: none !important;
}

.b24-form-control-label {
    color: #DA932F !important;
    font-family: Gilroy;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.03em;
    opacity: 1 !important;
}

.b24-form-control-required {
    color: #D2504B !important;
    font-family: Gilroy;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0.03em;
    opacity: 1 !important;
}

.b24-form-sign {
    text-align: center !important;
    padding: 0 30px 20px 10px !important;
}

.bx-im-message-content {
    font-family: Open Sans;
    font: inherit !important;
}

.bx-im-message-type-self .bx-im-message-content {
    background: #F6E4CB !important;
}

.bx-im-message-type-opponent .bx-im-message-content-name {
    color: #D08925 !important;
}

.bx-im-message-command {
    color: #47459E !important;
    border-bottom: none !important;
    text-decoration: underline !important;
    line-height: 12px !important;
}

.bx-im-textarea-input {
    font-family: Open Sans;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.02em;
}

.b24-widget-button-popup {
    background: #DA932F !important;
    bottom: 50px !important;
    padding: 16.5px !important;
    width: 182px !important;
    border-radius: 12px 12px 0 12px !important;
}
.b24-widget-button-position-bottom-right .b24-widget-button-popup {
    left: -180px !important;
}
.b24-widget-button-popup-btn-hide {
    background: url("/images/imopenlines-close.svg") !important;
    background-size: cover !important;
    opacity: 1 !important;
    height: 11px !important;
    width: 11px !important;
    right: 16px !important;
    top: 16px !important;
}
.b24-widget-button-popup-content {
    width: 100px !important;
}
.b24-widget-button-popup-triangle {
    display: none !important;
}

.b24-widget-button-popup-name {
    display: none !important;
}

.b24-widget-button-popup-description {
    color: white !important;
    font-family: Gilroy;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 21px !important;
    letter-spacing: 0.03em;
    text-align: left;
}

.b24-widget-button-popup-image {
    display: none !important;
}

.pc-cycle-pay-price {
    flex-wrap: wrap;
}
.pc-cycle-register-popup-item span {
    white-space: nowrap;
}
#pc-cycle-pay .pc-cycle-pay-price button.button-new {
    margin-top: 12px;
    margin-left: 0px;
}
@media (max-width: 1000px) {
    #event-register-online button.button-new,
    #pc-activity-pay button.button-new,
    #pc-cycle-register button.button-new,
    #pc-cycle-pay button.button-new {
        margin: 0 0 0 12px;
    }
}

@media (max-width: 420px) {
    #event-register-online button.button-new:not(:first-child),
    #pc-activity-pay .popup-buttons button.button-new:not(:first-child),
    #pc-cycle-register .popup-buttons button.button-new:not(:first-child),
    #pc-cycle-pay .popup-buttons button.button-new:not(:first-child) {
        margin-top: 12px;
    }

    #pc-activity-pay button.button-new,
    #pc-cycle-pay button.button-new {
        margin: 12px 0 0 0;
    }

    #pc-activity-pay .popup-buttons button.button-new,
    #pc-cycle-pay .popup-buttons button.button-new {
        margin-left: 6px;
        mergin-right: 6px;
    }
}

.ico.calendar {
  top: 8px;
}

@media (max-width: 1000px) {
    #popup-access .popup-buttons {
        justify-content: center;
        margin: 0;
    }

    #popup-access .popup-buttons button:first-child,
    #popup-access .popup-buttons button.button-new {
        margin: 0 12px 12px;
    }
}

@media (max-width: 580px) {
    #popup-access .popup-content p {
        text-align: center;
    }
}

.page.schedule .schedule .filter .panel .blocks {
    max-height: calc(100vh - 50px);
    overflow-y: scroll;
}
.popup-content .specialty-list {
    max-height: 45vh;
}
@media (max-width: 1000px) and (min-width: 500px){
    #popup-all-specialty .popup-buttons button {
        margin: 0 20px 0 0;
    }
}
@media (max-width: 1000px) {
    .page.schedule .schedule .filter .panel .blocks .block button.clear {
        margin-right: 12px;
    }
}
@media (max-height:500px) {
    .popup .popup-title {
        margin-bottom:10px;
    }
}

.popup .popup-buttons a.button-default,
.popup .popup-buttons a.button-default:hover {
    text-decoration: none;
}
#pc-cycle-register-end .popup-buttons a.button-default {
    color: #ffffff;
    text-decoration: none;
}
#pc-cycle-register-end .popup-buttons a.button-default:hover {
    color: #434272;
    text-decoration: none;
}

#pc-cycle-register-end .popup-title,
#pc-cycle-register-continue .popup-title {
    width: 100%;
}

#pc-cycle-register-end .popup-buttons a,
#pc-cycle-register-continue .popup-buttons a {
    margin: 0;
}

.page.index .slider .item .desc h1 {
    width: 620px;
    padding: 0;
    font-weight: 700;
    font-size: 38px;
    line-height: 46px;
    color: #434272;
}
@media (max-width: 400px) {
    .page.schedule .schedule .filter .panel .blocks .block .row .field input {
        width: 115px;
    }
}
@media (max-width: 767px) {
    .page.index .slider .item .desc h1 {
        padding: 24px 0 0 18px;
        width: auto;
        font-size: 26px;
        line-height: 32px;
    }
}
@media (max-width: 999px) {
    .page.index .slider .item .desc h1 {
        padding: 18px 0 0 11px;
    }
    .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
        bottom: 85px;
        right: 5%;
    }
}

@media (max-width: 1279px) {
    .page.index .slider .item .desc h1 {
        width: 625px;
        padding: 0 0 0 5px;
    }
}
.b24-widget-button-visible {
    z-index: 10150 !important;
}
.page.favorite section.content .favorite .events-list .cards .item {
    width: 100%;
}
.centered {
    display: flex;
    justify-content: center;
}

.footer__socials {
    z-index: 1;
}

.row.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    width: 100%;
}
.row.show-more {
    display: flex;
    width: 100%;
}

@media (min-width: 992px) {
    .page .main-directions__col.width50 {
        width: 50%;
    }
}

.d-link:hover {
    text-decoration: none;
}

section.content .inner .materials .documents-list a .title {
    margin: 0 10px;
}

section.content .inner .materials .documents-list a .doc img {
    max-width: 50px;
}

@media (max-width: 450px) {
    section.content .inner .materials .documents-list a .item {
        width: auto;
        height: auto;
        display: block;
        padding: 10px;
    }

    section.content .inner .materials .documents-list a .doc {
        padding: 0;
        margin: auto;
        text-align: center;
    }

    section.content .inner .materials .documents-list a .title {
        margin-top: 10px;
        text-align: center;
    }
}

.select2-container .form-control-select.select2-selection.form-control-select-phone__country:after {
    content: '';
    background: url(/assets/img/icons/globus.svg) 50% 50% no-repeat;
    background-size: contain;
    width: 29px;
    height: 29px;
    position: absolute;
    left: 15px;
    top: 50%;
    margin-top: -15px;
}
.select2-dropdown.form-control-select-phone__country {
    width: 100vw !important;
    max-width: 540px;
}
@media (max-width: 991px) {
    .select2-dropdown.form-control-select-phone__country {
        width: calc(100vw - 40px) !important;
    }
}
.select2-container .form-control-select.select2-selection.form-control-select-phone__country .select2-selection__rendered {
    display: none;
}

.profile-ico {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin: 0 9px 0 0;
}

.profile-ico-mobile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 0 0 6px 0;
}

section.content table.desktop thead tr {
    background-color: #F3F7FD;
}

section.content table.desktop thead tr td {
    padding: 20px;
    text-align: center;
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 0.03em;
    color: rgba(0, 0, 0, 0.74);
}

section.content table.desktop tbody tr:nth-child(2n) {
    background-color: #F3F7FD;
}

section.content table.desktop tbody tr td {
    padding: 10px;
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 21px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #212121;
}

section.content table.desktop tbody tr td:nth-child(1) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    text-align: left;
    font-family: "Gilroy";
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.03em;
    color: rgba(0, 0, 0, 0.9);
}

section.content table.desktop tbody tr td:nth-child(2) {
    text-align: left;
}
section.content .inner .block .row {
    /*overflow: scroll;*/
}

.page.schedule .schedule .events-list .cards .item .free {
  display: flex;
  background-color: #F4F6F6;
  border-radius: 4px;
  margin: 0 15px 10px 0;
  align-items: center;
}

.page.schedule .schedule .events-list .cards .item .free span {
  font-family: "Gilroy", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 21px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.03em;
  color: #434272;
  padding: 0 10px;
}

.page.schedule.detail .schedule.detail .free {
  display: flex;
  background-color: #F4F6F6;
  border-radius: 4px;
  margin: 0 15px 10px 0;
  align-items: center;
  padding: 7px 10px;
}

.page.schedule.detail .schedule.detail .free span {
  font-family: "Gilroy", serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  line-height: 21px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.03em;
  color: #434272;
}

a.button-new i.ico_info, button.button-new i.ico_info {
  display: inline-block;
  background: url(img/ico/ico_info.svg) no-repeat 0 0;
  width: 26px;
  height: 26px;
  margin: 0 0 0 16px;
}

a.button-new2 i.ico_info {
  display: inline-block;
  background: url(img/ico/ico_info.svg) no-repeat 0 0;
  width: 26px;
  height: 26px;
  margin: 0 0 0 16px;
}

@media (max-width: 578px) {
  .page.index .slider2 .navigation {
    display: none;
  }
}
