*{
    outline: none;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-style: normal;
    font-weight: normal;
    background-color: #f3f4ff;
    font-family: 'MyriadPro-Regular', sans-serif !important;
}
textarea {
    font-family: 'MyriadPro-Regular', sans-serif !important;
}

a:hover {
    text-decoration: none;
}

h1 {
    font-size: 22px;
}
@media screen and (min-width: 479px) {
     .info {
        display: none;
    }
}




@media screen and (max-width: 478px) {
     .info {
        margin-left:10%;
        font-family: 'MyriadPro-Regular', sans-serif !important;
        font-style: normal;
        color:white;
        text-decoration:none;
        font-weight: normal;
        
    }
}

.info a {
    color:red;
    text-decoration:none;
}


/*.info-line-item a:hover span, .footer-info-left-info a:hover{*/
    /*color: #ffc222 !important;*/
/*}*/
/*.info-line-item a:hover svg, .footer-info-left-info a:hover svg, .footer-info-head a:hover svg{*/
    /*width: 20px;*/
    /*height: 20px;*/
    /*transition: 0.3s;*/
/*}*/

.info-line-item > a:hover >.info-line-span, .footer-info-left-info > div > a:hover > span,
.info-line-item > a:hover > svg, .footer-info-left-info > div > a:hover > svg,
.footer-info-head > div > a:hover > svg{
    color: #ffc222;
    fill: #ffc222;
    transition: 0.3s;
}
.inside-content > h3 {
    padding-left: 20px;
}
.inside-content > h3 > a, .inside-content > h1, .inside-content > h1 > a{
    color: #251361;
}
/*прижал футер к низу*/
.main-container {
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1;
}
/*header*/
.info-line {
    position: relative;
    height: 45px;
    display: flex;
    justify-content: center;
    background-color: #251361;
}
.info-line > div {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}
.info-line-item:first-child {
    width: 100%;
    max-width: 150px;
}
.info-line-item:nth-child(2) {
    width:100%;
}
.info-line-item:last-child {
    position: relative;
    width: 270px;
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    white-space: nowrap;
    color: #fff;
}

.info-line-item:last-child:after{
    content: "";
    position: absolute;
    bottom: -4px;
    left: 4px;
    width: 73%;
    height: 2px;
    background-color: #ffc222;
}

.info-line-item:last-child a:nth-child(2) {
    margin-right: 5px;
}
.info-line-item:last-child a:last-child {
    margin-left: 5px;
}
.info-line-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    transition: 0.3s;
    padding: 5px;
}

.info-line__enroll{
    position: absolute;
    top: 173%;
    right: 44px;
    transition: none !important;
    text-transform: uppercase;
    background-color: hsl(0, 68%, 51%);
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
}

.info-line__enroll:hover{
    color: #fff !important;
    background-color: hsla(0, 68%, 42%, 1);
}

footer .info-line-icon {
    padding: 5px 5px 5px 0;
}
.info-line-item > a {
    display: inline-flex;
    font-size: 14px;
    align-items: center;
}

.info-line-item a{
    color: #fff;
    transition: 0.25s all ease;
}

.info-line-item a:hover{
    color: #ffc222;
}


/*.info-line-item:nth-child(3){*/
/*    width: 105px;*/
/*    display: flex;*/
/*    padding-right: 10px;*/
/*    border-right: 2px solid #ffc222;*/
/*}*/
.info-line-item:nth-child(4) .info-line-span a {
    padding: 10px;
    font-size: 15px;
    text-transform: uppercase;
}
.info-line-span {
    color: #fff;
}
.header-line {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #f3f4ff;
}
.header-line > div {
    display: flex;
}
.header-line img {
    margin: auto;
    height: 110px;
}
.header-line h1 {
    padding: 0;
    width: 100%;
    margin: auto;
    color: #2f57ac;
    font-size: 30px;
    text-align: center;
    font-weight: normal !important;
}


/* Меню */

.mobile_menu {
    display:none;
}

.mm-menu_opened{
    display:block!important;
}


/* Убираем отступы, обводку */
nav.navbar.navbar-default {
    margin: 0 0 2px 0;
    background: none;
    border: none;
    box-shadow: none;
}

div#navbar-main {
    padding: 0;
}
/* --- ---*/

ul.nav > li > a {
    font-size: 17px;
}

ul.nav > li > a:hover {
    color: #ffc222 !important;
    border-bottom: solid 2px #ffc222;
    margin-bottom: -6px;
    transition: 0.1s;
}

ul.nav > li:first-child > a {
    padding-left: 0px;
}

ul.nav > li:last-child > a,
ul.nav > li:last-child > a:hover {
    color: red;
}

ul.dropdown-menu li {
    padding: 2px 0;
}

ul.dropdown-menu li {
    transition: 0.2s;
}

ul.dropdown-menu li:hover {
    padding-left: 4px;
    transition: 0.2s;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid\9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

#my-menu{
    display: none;
}

@media (min-width:991px){
#my-menu{
    display: none;
}
}

@media (max-width: 990px) {
    .general_menu,
    .enroll-btn{
        display: none;
    }
    
    .mobile_menu {
        display: block;
    }
    
    .caret{
        display: none!important;
    }
}

.button-menu {
    padding: 15px 0 5px;
    display: flex;
    align-items: center;
}

a.button-menu {
    font-size: 24px;
    color: #303030;
    text-decoration: none;
    padding-left: 3px;
}

a.button-menu span {
    padding-left: 6px;
}

ul.nav-menu > li:last-child {
    color: red;
}

li.mm-listitem a {
    font-size: 16px;
}

/* Затемнение фона в мменю */
.mm-wrapper_opening [class*=mm-menu_pagedim].mm-menu_opened~.mm-page__blocker {
    opacity: .5;
}

/**/



/* Футер */
footer a{
    color: #fff;
}
.footer-info {
    padding: 0 0 22px;
    color: #fff !important;
    background-color: #251361;
}
.footer-info row {
    display: flex;
    justify-content: space-between;
}
.footer-info-left {
    /*max-width: 640px;*/
}
.footer-info-right {
    display: flex;
    flex-direction: column;
}
.footer-info-head {
    display: flex;
    margin: 20px 0 11px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #ffc222;
}
.footer-info-head > span{
    font-size: 20px;
}
.footer-info-left-info {
    display: flex;
    justify-content: space-between;
}
.footer-info-left-info > div:first-child {

}
.footer-info-left-info > div:last-child {
    width: 100%;
    max-width: 310px;
    margin-top: 10px;
}
.footer-info-left-info > div:first-child > * {
    display: flex;
    padding: 5px 0;
    align-items: center;
}
.footer-info-left-info > div > span{
    padding: 5px 5px;
}
.first-chspan {
    padding: 5px 0 !important;
}
.footer-info-right span {
    display: flex;
    font-size: 16px;
    padding: 10px 0;
    line-height: 27px;
    text-align: justify;
}
.footer-info-right a {
    color: #ffc222;
}
.footer-copyright {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 -25px;
}
.footer-copyright a {
    color: #1c1c1c;
}
.footer-copyright > div > div > a {
    display: flex;
}
.sitemap {
    position: relative;
    top: 0;
    transition: 0.3s;
}
.sitemap:hover{
    top: -5px;
    transition: 0.3s;
}
.tecama-title {
    width: 90px;
    padding: 5px 0;
    color: #909090;
    font-size: 13px;
    font-weight: bold;
    line-height: normal;
    text-transform: uppercase;
}
.tecama-wrapper {
    width: 33px;
    height: 33px;
    display: block;
    transition: 0.5s;
    border-radius: 50%;
    align-self: center;
    border: 4px solid #3c8285;
    background: #2a2a2a url(/static/icons/tecama.png) no-repeat 2px 5px;
}
.tecama-wrapper:hover {
    cursor: pointer;
    background-color: #3c8285;
    box-shadow: 2px 2px 2px #000;
    transition: all 0.5s ease-in;
}
.slider{
    width: 100%;
    height: 500px;
    align-items: center;
    display: flex !important;
}
section.slider-enroll .work-time span {
    font-size: 24px;
    font-weight: 500;
    line-height: 27px;
}
.slider .slick-slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.slider .slick-track, .slider .slick-list {
    height: 100%;
}
.slider-arrow{
    fill: #fff;
    z-index: 1;
    width: 15px;
    margin: 5px;
    height: 15px;
    padding: 10px;
    transition: 0.3s;
    position: absolute;
    border: 1px solid #fff;
}
.slider-arrow:first-child {
    left: 0;
}
.slider-arrow:last-child {
    right: 0;
}
.slider .slick-slider {
    align-items: center;
    display: flex !important;
}
.slider-arrow:hover {
    fill: #fff;
    transition: 0.3s;
    cursor: pointer;
    border: 1px solid #fff;
    background-color: #ffc222;
}
.slider-enroll {
    display: flex;
}
.enroll {
    right: 0;
    width: 435px;
    height: 500px;
    margin-right: 13%;
    position: absolute;
    overflow: hidden;
}
.enroll > div {
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 3px 0;
}
.work-time {
    background-color: rgba(37, 19, 97, 0.7);
}
.work-time > div {
    margin: 11px;
    display: flex;
    padding: 6px 9px;
    font-size: 30px;
    line-height: 24px;
    font-weight: bold;
    border: 1px solid #fff;
    flex-direction: column;
}
.enroll-div {
    text-align: center;
    background-color: rgba(231, 9, 26, 0.7);
}
.enroll-div a {
    color: #fff;
}
.enroll-div a:hover {
    text-decoration: none;
}
.enroll-head, .enroll-phone {
    font-size: 27px;
    font-weight: bold;
    text-transform: uppercase;
}
.enroll-phone {
    display: flex;
    font-size: 30px;
    align-items: center;
    justify-content: center;
}
.enroll-phone .info-line-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
}
.enroll-btn {
    position: relative;
    margin: 10px auto 0;
    padding: 10px 15px;
    font-size: 18px;
    text-align: center;
    color: #fff;
    transition: 0.3s;
    font-weight: bold;
    background-color: #d7302f;
    text-transform: uppercase;
}
.enroll-btn:hover {
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

.enroll-btn:after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgb(215, 48, 47);
    transform: translate(5px, 5px);
    transition: .4s all ease;
}

.enroll-btn:hover{
    color: #fff !important;
}

.enroll-btn:hover:after {
    content: "";
    position: absolute;
    left: -5px;
    top: -5px;
    right: -5px;
    bottom: -5px;
    display: block;
    width: calc;
    border: 1px solid rgb(215, 48, 47);
    transform: translate(0, 0);
}

.enroll-div > * {
    margin: 13px auto;
}
.enroll-head {
    margin-top: -6px;
    margin-bottom: 0;
}
.enroll-phone > span {
    padding: 0 20px 0 0;
}
.staff{
    width: 100%;
}
.staff-and-content {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.special-header {
    width: 100%;
    display: flex;
    margin: 0 auto;
    font-weight: bold;
    align-items: center;
    padding: 30px 0 30px;
}
.special-header:after {
    height: 0;
    width: 100px;
    content: ' ';
    margin: 0 15px -4px;
    border-bottom: 2px solid #ffc222;
}
.staff-photo {
    width: 255px;
    height: 320px;
    object-fit: cover;
    object-position: center;
}
.staff-items{
    align-items: center;
    display: flex !important;
    justify-content: center;
}
.staff-item{
    /*overflow: hidden;*/
    /*align-items: center;*/
    /*flex-direction: column;*/
    /*height: 320px !important;*/
    /*display: flex !important;*/
    /*justify-content: flex-end;*/
}
.inside-content .staff-item{
    position: relative;
    margin: 5px 0 30px 0;
    overflow: hidden;
}
.inside-content .staff-item:nth-child(6n+6),
.inside-content .staff-item:nth-child(7n+7){
    /*margin: 5px auto 30px 0;*/
}
.inside-content .staff-item:nth-child(5n+5){
    /*margin: 5px 50px 30px 0;*/
}
.staff-arrow{
    fill: #000;
    z-index: 1;
    width: 15px;
    height: 30px;
    font-size: 20px;
    position: absolute;
    background-color: transparent;
}
.staff-arrow:hover{
    fill: #000000;
    background: #ffc222;
    cursor: pointer;
    transition: 0.3s;
}
.staff-items svg:first-child{
    left: -10px;
    padding: 2px 3px 2px 2px;
}
.staff-items svg:last-child{
    right: -10px;
    padding: 2px 2px 2px 3px;
}
.staff-info{
    color: #fff;
    width: 256px;
    height: 130px;
    padding: 10px;
    display: flex;
    font-size: 18px;
    transition: 0.3s;
    position: absolute;
    flex-direction: column;
    transform: translate(0, 60px);
    background: rgba(0, 0, 0, 0.7);
    justify-content: space-between;
}
.staff-prof{
    margin-top: 5px;
    font-size: 18px;
}
.staff-item:hover .staff-info{
    transition: 0.3s;
    cursor: pointer;
    transform: translate(0, 0);
}
.staff-item a{
    align-items: flex-end;
    display: flex !important;
    justify-content: center;
    margin: 0 0 0 13px;
}
.news-and-insta {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.news-and-insta > div {
    width: 100%;
    max-width: 100%;
}
.insta-div h1 a {
    color: #333333;
    text-decoration: none;
}
.insta-div h1 a:hover {
    text-decoration: underline;
}
.news-items {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}
.news-item span:hover {
    text-decoration: underline;
}
.news-item {
    width: 49%;
    /*height: 340px;*/
    min-width: 260px;
}
.news-item img{
    width: 260px;
    height: 200px;
    object-fit: cover;
    object-position: center;
}
.news-item > a{
    display: block;
}
.news-item > a > span:nth-child(2){
    color: #000;
    display: block;
    padding: 10px 0;
    font-size: 19px;
    font-weight: bold;
}
.news-item > a > span:last-child{
    color: #5e5e5e;
    word-wrap: break-word;
}
.open-all-btn{
    width: 175px;
    color: #363636;
    margin: 40px 0;
    transition: 0.3s;
    display: flex;
    padding: 7px 20px;
    border: 3px solid #e6e6e6;
    justify-content: space-around;
}
.open-all-btn:hover{
    color: #e6e6e6;
    transition: 0.3s;
    cursor: pointer;
    border: 3px solid #363636;
    background-color: #363636;
}
.insta-header a{
    width: 100%;
    color: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
}
.insta-header{
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: bold;
    align-items: center;
    background-color: #251361;
}
.insta-header a img{
    width: 30px;
    height: 30px;
}
.insta-header a span{
    padding: 0 15px;
}
.django_instagram_media_wall_item {
    margin: 7px;
    width: 30.6% !important;
}
.instagram-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}
.about-center {
    width: 100%;
    height: 300px;
    background: url(/static/banners/org_6a67aa2c7562c21b_1496561784000-1506089652.jpg) no-repeat center;
    background-size: cover;
}
.blue-back {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background: rgba(37, 19, 97, 0.7);
}
.about-center {
    color: #fff;
    height: 100%;
}
.about-center .about-desc span {
    display: flex;
    font-size: 19px;
    text-align: justify;
}
.about-center a {
    color: #fff;
    width: 160px;
    display: flex;
    margin: 15px 0;
    transition: 0.3s;
    align-items: center;
    border: 1px solid #ffc222;
}
.about-center  .about-btn a:hover{
    color: #000;
    cursor: pointer;
    transition: 0.3s;
    background: #ffc222;
}
.about-center  .about-btn span {
    width: 130px;
    padding: 0 20px;
}

.about-center svg {
    fill: #000;
    width: 28px;
    height: 37px;
    background-color: #ffc222;
}

.qna-and-reviews {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}
.qna-and-reviews > div{
    display: flex;
    flex-direction: column;
}
.qna-and-reviews > div > div:nth-child(2){
    flex: 1;
    margin-bottom: 40px;
}
.qna-item{
    display: flex;
    flex-direction: column;
    margin: 5px auto;
}
.qna-item > span{
    margin: 5px 0;
}
.qna-and-reviews .q{
    color: #251361;
    line-height: 1.7;
    font-weight: bold;
}
.qna-and-reviews .a{
    color: #555555;
    line-height: 1.4;
    font-weight: bold;
    text-align: justify;
}
.qna-and-reviews .a a{
    color: #000;
    padding-left: 4px;
}
.div-down{
    display: flex;
    margin: 0 0 35px;
    align-items: center;
    justify-content: space-between;
}
.qna-and-reviews .div-down .open-all-btn{
    width: 135px;
    color: #251361;
    margin: 0;
    font-weight: bold;
}
.qna-and-reviews .div-down .open-all-btn:hover{
    color: #fff;
    border-color: #251361;
    cursor: pointer;
    background-color: #251361;
}
.all-btn{
    color: #251361;
    font-weight: bold;
}
.review-items{
    display: flex;
    flex-direction: column;
}
.review-item .head{
    display: flex;
    font-weight: bold;
    padding-bottom: 8px;
    justify-content: space-between;
}
.review-item .head span:last-child{
    color: #6a6a6a;
}
.review-item .review{
    color: #6a6a6a;
    line-height: 1.5;
    font-weight: bold;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffc222;
}
.review-item:last-child .review{
    border: 0;
}
.reviews-main .div-down .open-all-btn{
    width: 144px;
}
.confs{
    width: 100%;
}
.confs-info {
    /* height: 280px; */
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}
.confs-info h1{
    margin: 0;
    color: #fff;
    padding: 5px;
    font-size: 18px;
    text-align: center;
    background: #251361;
    text-transform: uppercase;
}
.confs-photo{
    width: 180px;
    height: 240px;
    overflow: hidden;
}
.confs-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.confs-other{
    width: 100%;
    max-width: 640px;
}
.conf-picker{
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 290px;
    background: #f7f7f7;
    flex-direction: column;
}
.conf-picker .hasDatepicker{
    margin: auto;
}
.ui-datepicker .ui-datepicker-title {
    margin: 4px 2.3em !important;
}
.ui-datepicker{
    margin: 0 auto;
    padding: 0 !important;
    width: 220px !important;
    display: block !important;
    font-family: 'MyriadPro-Regular', sans-serif !important;
}
.ui-datepicker td{
    padding: 0;
}
.ui-widget-content, .ui-widget-header{
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}
.confs-other > div > span > a{
    color: #403173;
    font-size: 19px;
    font-weight: bold;
}
.conf-picker thead{
    background: #f1f1f1 !important;
}
.ui-datepicker .ui-datepicker-header{
    padding: 0 !important;
}
.confs-other > div > span:last-child{
    color: #7c7c7c;
    font-size: 17px;
}
.confs-other > div{
    display: flex;
    padding: 0 0 15px;
    justify-content: space-between;
}
.confs-other > span{
    color: #4d4b4b;
    font-size: 17px;
    line-height: 1.4;
    font-weight: bold;
    text-align: justify;
}
.qna-add-form, .review-add-form {
    height: 410px;
    background-color: #251361;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.qna-add-form h1, .review-add-form h1{
    font-size: 35px;
    margin: 0;
    color: #fff;
}
.qna-add-form textarea, .review-add-form textarea{
    height: 150px;
    padding: 10px;
    resize: none;
    margin: 4px 0 0;
    border: 0;
    font-size: 22px;
    font-family: 'MyriadPro-Regular', sans-serif;
}
.qna-add-form input[type='text']{
    padding: 10px;
    width: 100%;
    resize: none;
    border: 0;
    font-size: 22px;
    font-family: 'MyriadPro-Regular', sans-serif;
}
.review-add-form textarea {
    display: flex;
    width: 100%;
    margin: 0 auto;
    height: 150px;
}
.review-add-form input[type='text'] {
    width: 100%;
    border: 0;
    padding: 10px;
    height: 40px;
    font-size: 22px;
    font-family: 'MyriadPro-Regular', sans-serif;
}
form#ajax-form > div {
    width: 100%;
    margin: 3px 0;
    overflow: hidden;
}
.qna-add-form button, .review-add-form button {
    /* width: 155px; */
    height: 40px;
    background: #ffc222;
    border: 1px solid #ffc222;
    color: #000;
    cursor: pointer;
    font-size: 17px;
    transition: 0.3s;
    margin-right: 10px;
    padding: 0 10px;
    border-radius: 4px;
    margin-top: 5px;
}
.qna-add-form button:hover, .review-add-form button:hover{
    background-color: transparent;
    border-color: #fff;
    transition: 0.3s;
    cursor: pointer;
    color: #fff;
}
.qna-add-form > form > div:last-child, .review-add-form > form > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-padding{
    width: 100%;
}
.footer-copyright > div > div:nth-child(3) span{
    color: #909090;
    width: 145px;
}
.g-recaptcha:hover{
    cursor: pointer;
}
.sitetree-ftrs{
    border-top: 2px solid #b9b9b9;
    margin-top: 15px;
    padding-top: 15px;
}
.sitetree-breadcrumbs{
    width: 100%;
}
.sitetree-breadcrumbs > ul{
    list-style: none;
    display: flex;
    padding: 0 0 5px;
    width: 100%;
    margin:0 auto 15px;
    font-size: 15px;
    border-bottom: 2px solid #ffc222;
    color: #4c4c4c;
}
.sitetree-breadcrumbs > ul > li{
    padding: 0 2px;
}
.sitetree-breadcrumbs a{
    color: #4c4c4c;
}
.sitetree-pagetitle{
    width: 100%;
    font-size: 27px;
    margin: 0 auto 10px;
}
.inside-content{
    width: 100%;
    margin: 0 auto 40px;
}
.inside-content.price > h1{
    margin: 10px 0;
    font-size: 28px;
}
#accordion .ui-accordion-header{
    background-color: #251361;
    color: #fff;
    font-size: 22px;
}
.ui-accordion .ui-accordion-content {
    padding: 30px 25px;
    border: 2px solid #a5a5a5 !important;
    border-top: 0 !important;
}
#accordion > div > div{
    border: 2px solid #a5a5a5;
    display: flex;
    flex-direction: column;
}
#accordion .price-row{
    display: flex;
    height: 45px;
    align-items: center;
}
#accordion > div > div > div:first-child{
    background-color: #e4e1e1;
    color: #3d3c3c;
    font-weight: bold;
}
#accordion .price-col-name{
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 810px;
    align-items: center;
    border-top: 2px solid #a5a5a5;
}
#accordion .price-col-price{
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 320px;
    align-items: center;
    border-top: 2px solid #a5a5a5;
    border-left: 2px solid #a5a5a5;
}
#accordion > div > div > div:first-child > div{
    border: 0;
}
#accordion .price-row span{
    padding: 0 20px;
}
.ui-datepicker-calendar .ui-state-default{
    background-color: #f9f9f9 !important;
}
.ui-state-highlight .ui-state-default{
	background-color: #32cd33 !important;
	color: #fff;
}
.ui-datepicker-calendar .ui-state-active{
    background-color: #f57e7f !important;
}
#accordion .ui-icon {
    width: 15px;
    height: 25px;
	background: url("/static/icons/whitearrow.svg") center;
	margin-right: 10px;
    transition: 0.3s;
}
#accordion .ui-icon-triangle-1-s {
    transform: rotate(90deg);
    transition: 0.3s;
}
.ui-datepicker-prev .ui-icon{
    width: 15px;
    height: 15px;
    margin-top: -5px !important;
    background: url(/static/icons/arrow-point-to-right.svg) center !important;
    transition: 0.3s;
    transform: rotate(180deg);
}
.ui-datepicker-next .ui-icon{
    width: 15px;
    height: 15px;
    margin-top: -5px !important;
    background: url(/static/icons/arrow-point-to-right.svg) center !important;
    transition: 0.3s;
}
.ui-datepicker-prev:hover .ui-icon{
    left: 15px;
}
.ui-datepicker-next:hover .ui-icon{
    left: 25px;
}
.ui-accordion-header{
    transition: 0.3s;
}
.ui-accordion-header.ui-accordion-header-collapsed{
    background-color: #fff !important;
    color: #000 !important;
}
.ui-accordion-header-collapsed .ui-icon{
    background: url(/static/icons/blackarrow.svg) center no-repeat !important;
}
.news .item{
    width: 100%;
    display: flex;
    margin: 15px 0 30px;
    justify-content: space-between;
}
.news .item .image img{
    width: 405px;
    height: 305px;
    object-fit: cover;
    object-position: center;
}
.news .info{
    max-width: 745px;
    display: flex;
    margin-right: auto;
    margin-left: 20px;
    flex-direction: column;
    justify-content: space-between;
}
.news .info h1 > a{
    font-weight: 100;
    text-transform: uppercase;
    font-size: 22px;
    color: #251361;
}
.news .info h1{
    margin: 5px 0;
}
.news .info > div:first-child span {
    font-size: 22px;
    border-top: 2px solid #ffc222;
    padding-right: 50px;
    color: #585859;
}
.news .info > span{
    color: #000;
    font-size: 18px;
    text-align: justify;
}
.news .info > div:last-child {
    display: flex;
}
.news .info > div:last-child > *{
    padding: 0 2px;
}
.news .info > div:last-child > span{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.news .info > div:last-child > span > *{
    padding: 0 2px;
}
.news .info > div:last-child svg{
    width: 15px;
    height: 15px;
    fill: #575759;
}
.pagination svg{
    width: 15px;
    height: 15px;
    fill: #000;
}
.pagination{
    font-size: 20px;
}
.pagination a, .pagination .step-links span{
    color: #000;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbcbcd;
    transition: 0.3s;
    margin: 0 10px;
}
.pagination a:hover, .pagination .step-links span:hover, .pagination .current{
    background-color: #ffc222;
    transition: 0.3s;
}
.pagination .step-links{
    display: flex;
    align-items: center;
}
.inside-content{
    flex: 1;
    width: 100%;
}
.left-column svg {
    width: 20px;
    height: 20px;
    fill: #575759;
}
.left-column {
    /*max-width: 795px;*/
    /*width: 100%;*/
}
.left-column > img {
    height: 550px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.left-column > div img{
    width: 100% !important;
    height: auto !important;;
}
.left-column .news-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
    font-size: 19px;
}
.news-info > div > span{
    display: flex;
    align-items: center;
}
.news-info > div > span > *, .news-info > div > *{
    padding: 0 2px;
}
.news-info > div{
    display: flex;
}
.left-column .header {
    text-transform: uppercase;
    margin-top: 25px;
    color: #3613ab;
}
.left-column .article{
    font-size: 19px;
    line-height: 1.5;
}
.left-column .article p{
    margin: 0;
}
.ya-share2__container_size_m .ya-share2__icon {
    height: 30px !important;
    width: 30px !important;
}
.left-column .share{
    margin: 30px 0;
}
.left-column form input[type="text"], .left-column form input[type="email"]{
    width: 100%;
    max-width: 355px;
    font-size: 18px;
    padding: 10px 15px;
    background-color: #f3f4ff;
    border: 1px solid #33226c;
}
.left-column form textarea{
    width: 100%;
    height: 150px;
    font-size: 18px;
    padding: 10px 15px;
    border: 1px solid #33226c;
    background-color: #f3f4ff;
}
.left-column form > div{
    display: flex;
    margin-bottom: 15px;
    justify-content: space-between;
    width: 100%;
}
.left-column form > div > input[type="submit"]{
    color: #fff;
    width: 140px;
    font-size: 17px;
    height: 40px;
    transition: 0.3s;
    background-color: #251361;
    border: 1px solid #251361;
}
.left-column form > div > input[type="submit"]:hover{
    transition: 0.3s;
    background-color: #f3f4ff;
    cursor: pointer;
    color: #251361;
}
.comments-list-head{
    font-size: 20px;
    font-weight: 100;
    border-bottom: 4px solid #ffc222;
    width: 146px;
    margin-bottom: 35px;
}
.main-comment{
    background: #fff;
    border: 1px solid #acacac;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}
.main-comment > span:first-child{
    font-weight: bold;
    margin: 10px 0 5px;
}
.main-comment > span:nth-child(2){
    margin: 10px 0;
}
.main-comment > span:nth-child(3){
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.main-comment > span > span:first-child{
    color: #251361;
    cursor: pointer;
}
.main-comment > span > span:last-child{
    color: #4c4c4c;
}
.left-column .main-comment form input[type="text"], .left-column .main-comment form input[type="email"]{
    max-width: 335px;
}
.left-column .comment-form form{
    overflow: hidden;
    height: 0;
    transition: 0.3s;
}
.opened{
    height: 285px !important;
}
.reply-comments .main-comment{
    margin-left: 50px;
}
.right-column {
    /*max-width: 305px;*/
    /*width: 100%;*/
}
.columns{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.pop-item{
    display: flex;
    border-bottom: 2px solid #b9b9b9;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.pop-item div {
    margin-left: 10px;
}
.pop-item img{
    width: 110px;
    height: 80px;
    object-fit: cover;
    object-position: center;
}
.pop-item > div{
    width: 170px;
    height: 80px;
    display: flex;
    margin: auto;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 10px;
}
.pop-item span{
    color: #363636;
}
.pop-item span a{
    color: #000;
}
.pop-item span a:hover{
    color: #33226c;
}
.pop-news h1:first-child, .pop-coms h1:first-child{
    color: #66666b;
    margin-top: -5px;
    text-transform: uppercase;
    font-weight: lighter;
    border-bottom: 2px solid #b9b9b9;
}
.pop-item:last-child{
    margin-bottom: 35px;
}
.pop-coms h1{
    border: 0;
}
.pop-coms-list{
    background-color: #fff;
    padding: 15px;
    border: 2px solid #c6c6c6;
}
.pop-coms-item > div > span:first-child{
    color: #251361;
    font-weight: bold;
}
.pop-coms-item > div > span:last-child{
    padding: 0 5px;
    color: #909090;
}
.pop-coms-item > span{
    margin: 5px 0;
    display: flex;
}
.pop-coms-item > h1{
    font-weight: 100;
    font-size: 17px;
    margin: 10px 0;
    color: #251361;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 2px solid #c6c6c6;
}
.pop-coms-item:last-child > h1{
    margin: 10px 0 0;
    padding-bottom: 0;
    border-bottom: 0;
}
.qna{
    display: flex;
    flex-direction: column;
}
.qa-item{
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    margin: 10px 0 35px;
}
.q-item-question, .a-item-question{
    position: relative;
    border: 1px solid #e0e1e9;
    padding: 15px 25px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.q-item-question{
    position: relative;
    margin: 0 15px 0 0;
    margin-bottom: 25px;
    background-color: #e0e1e9;
}

.q-item-question:before{
    content: "";
    position: absolute;
    bottom: -26px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 25px solid #e0e1e9;
    border-right: 30px solid transparent;
}

.a-item-question{
    min-height: 100px;
    margin: 0 0 0 52px;
    margin-bottom: 25px;
    background-color: #251361;
    color: #fff;
    border-color: #251361;
}
.q-item, .a-item{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.q-item-triangle{
    display: none;
    width: 0;
    height: 0;
    border-top: 25px solid #e0e1e9;
    border-right: 30px solid transparent;
}
.a-item-triangle{
    display: none;
    width: 0;
    height: 0;
    margin: 0 3px 0 auto;
    border-top: 25px solid #251361;
    border-left: 30px solid transparent;
}
.a-item-question > span:last-child, .q-item-question > span:last-child{
    margin: 10px 0 10px auto;
}
.q-item-question > span:last-child{
    color: #686868;
}
.a-item > h1{
    color: #251361;
    font-size: 20px;
    margin: 5px 0 5px auto;
}
.q-item > h1{
    color: #251361;
    font-size: 20px;
    margin: 10px auto 10px 0;
}
.review {
    display: flex;
    flex-wrap: wrap;
}
.review-item-question{
    border: 1px solid #e0e1e9;
    background-color: #e0e1e9;
    padding: 10px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.reviews-item {
    max-width: 525px;
    width: 100%;
    display: flex;
    margin: 15px auto 30px;
    flex-direction: column;
}
.review-item {
    margin: 10px 0;
}
.review-item-question > span:last-child{
    text-align: right;
    margin: 15px 0 0;
}
.review-item h1{
    color: #251361;
    font-size: 20px;
    margin: 5px auto 5px 0;
}
.review-item-triangle{
    width: 0;
    height: 0;
    border-top: 25px solid #e0e1e9;
    border-right: 30px solid transparent;
}
.down-btns{
    flex: 1;
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reviews-item:nth-child(odd){
    margin: 15px auto 30px 0;
}
.personal{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.staff-header{
    border-bottom: 2px solid #b9b9b9;
    padding: 0 0 15px;
    margin: 0 0 20px;
}
.staff-header h1{
    text-transform: uppercase;
    font-weight: 100;
    font-size: 25px;
    margin: 0;
    color: #251361;
}
.staff-header span{
    font-size: 20px;
    color: #000;
}
.staff-personal{
    display: flex;
    margin-top: 35px;
    border-bottom: 2px solid #b9b9b9;
}
.staff-personal > div, .staff-personal > div > div{
    display: flex;
    flex-direction: column;
}
.staff-personal img{
    max-width: 415px;
    height: 560px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.staff-personal > div > div > span:first-child{
    text-transform: uppercase;
    font-weight: 100;
    margin-bottom: 15px !important;
    font-size: 22px;
    margin-bottom: 15px;
    margin: 0;
    color: #251361;
}
.staff-personal > div > div > span:last-child{
    border: 2px solid #b9b9b9;
    padding: 15px;
    font-size: 21px;
    line-height: 1.7;
}
.staff-personal > div:first-child{
    max-width: 440px;
    width: 100%;
}
.staff-personal > div:last-child{
    max-width: 730px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.staff-personal > div > div{
    align-items: center;
}
.staff-personal > div > span{
    font-size: 20px;
    margin: 20px 0px;
}
.staff-personal > div > span > span{
    padding: 0 0 0 5px;
}
.appoint{
    padding: 14px;
    border: 3px solid #e7091a;
    color: #e7091a;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    background: #fff;
    display: inline-table;
    transition: 0.3s;
}
.not-exists{
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 21px;
    word-wrap: break-word;
    color: #2b2b2b;
    height: 140px;
    justify-content: space-between;
}
.page-404{
    overflow: hidden;
}
.page-404 .appoint{
    position: relative;
    top: 325px;
    left: 150px;
}
.inside-content .article img{
    max-width: 1170px !important;
    width: 100% !important;
    height: auto !important;
}
.appoint:hover{
    color: #fff;
    border-color: #fff;
    background-color: #e7091a;
    transition: 0.3s;
}
.pac-table{
    width: 100%;
    margin-top: 10px;
}
.pac-table > div:first-child{
    background-color: #251361;
    color: #fff;
    font-size: 22px;
    text-align: center;
    width: 100%;
    padding: 15px 0;
    font-weight: 100;
}
.table-head{
    display: flex;
    background-color: #e4e1e1;
    justify-content: space-evenly;
    font-weight: 600;
}
.table-head > div{
    border-left: 2px solid #b9b9b9;
    border-top: 2px solid #b9b9b9;
    padding: 30px 0 40px;
    width: 100%;
    text-align: center;
}
.table-head > div:last-child{
    border-right: 2px solid #b9b9b9;
}
.table-content{
    display: flex;
    justify-content: space-evenly;
    background-color: #fff;
}
.table-content > div{
    border-left: 2px solid #b9b9b9;
    border-top: 2px solid #b9b9b9;
    padding: 30px 0 40px;
    width: 100%;
    text-align: center;
}
.table-content > div:last-child{
    border-right: 2px solid #b9b9b9;
}
.table-content:last-child{
    border-bottom: 2px solid #b9b9b9;
}


h3.title {
    border-bottom: solid 2px #696969;
    line-height: 40px;
}
.contact-info ul {
    list-style: none;
    padding: 0;
}
.contact-info ul li a, 
.contact-info ul li p {
    padding-left: 30px;
    font-size: 15px;
}
span.label {
    color: #272727;
    font: 400 18px/32px Helvetica, Tahoma, Arial;
}

.postcontent {
    font-size: 15px;
    color: #1c1c1c;
    text-align: justify;
    font-family: sans-serif;
}


/* Карта сайта */

.sitemap_list {
    display: flex;
    flex-direction: column;
}

.sitemap_list .stmp_item {
    font-size: 15px;
}



/* Форма обратной связи */
form#ajax-form {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Регистрация */

section.auth,
section.registration {
    display: flex;
    justify-content: center;
    margin: 20px 0 50px;
}

section.auth input,
section.registration input {
    width: 240px;
    height: 34px;
    border: none;
    padding: 8px;
    box-shadow: 0px 0px 1px 1px #2513611f;
}

section.auth input:focus,
section.registration input:focus {
    box-shadow: 0px 0px 7px 2px #25136133;
}

section.auth label,
section.registration label {
    font-size: 15px;
    color: #251361;
    font-family: Helvetica;
    margin: 14px 0px 0px 0;
}

section.registration .regname, .regpass, .reg-user-phone {
    width: 490px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.registration span:last-child {
    display: block;
    color: #ee525e;
    font-size: 12px;
    padding: 5px 0;
}

.red-star{
    color: #ee525e;
}

section.auth button.btn.btn-default,
section.registration button.btn.btn-default {
    position: relative;
    top: 18px;
    /* left: 157px; */
    right: 0;
    bottom: 0;
    font-size: 18px;
    width: 100%;
}

.balance_from{
    padding: 15px 0;
}

#id_sum{
    vertical-align: middle;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.enroll-item{
    display: flex;
    margin-bottom: 30px;
}

.enroll-item__left {
    width: 203px;
    margin-right: 15px;
    border: 2px solid #b9b9b9;
    border-radius: 2px;
}

.enroll-item__img{
    max-width: 100%;
}

.enroll-item__name{
    margin: 0;
    font: 19px/24px "MyriadPro-Bold";
}

.enroll-item__prof{
    font: 16px/21px "MyriadPro-Regular";
}

.enroll-item__info{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.enroll-item__date,
.enroll-item__time,
.enroll-item__price{
    padding: 0 5px;
    border: 1px solid #251361;
    font: 16px/36px "MyriadPro-Regular";
}

.enroll-item__date,
.enroll-item__time{
    margin-right: 10px;
}

.med-services{
    margin-bottom: 15px;
}

.med-services__form{
    display: inline-block;
    vertical-align: bottom;
}

.med-services__label{
    margin-bottom: 0;
}

.med-services__label,
.med-services__btn{
    margin-right: 15px;
    vertical-align: bottom;
}

.med-services__price{
    display: inline-block;
    vertical-align: bottom;
    width: auto;
    
}

.service-list{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.make_enroll_button{
 color: #fff;
}

.service__item .service__footer{
    border: 2px solid red;
    border-radius: 4px;
    margin-bottom: 30px;
}

.service__img {
    width: 574px;
    border: 4px solid #b9b9b9;
    border-radius: 4px;
}

.service__footer.ui-accordion .ui-accordion-content{
    border: 1px solid red !important;
}

.service__footer .title{
    color: red !important;
    font-weight: 600;
    font-size: 18px;
    border: 1px solid red;
}

.service__footer .title:after{
    content: "+";
}

.service__footer .title.ui-state-active:after{
    content: "-";
}

.service__footer .title.ui-accordion-header-active{
    border-bottom: none;
}

.balance {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.balance__title{
    font-size: 16px;
}

.balance__title b{
    margin-left: 10px;
    margin-right: 10px;
}

.enroll__list th,
.enroll__list td{
    border: 2px solid #a5a5a5;
    border-collapse: collapse;
    font-size: 16px;
    padding: 2px 5px;
}

.enroll__button{
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0;
}

section.registration input[type=checkbox]{
    width: auto;
    height: auto;
    box-shadow: none;
}

.private-police__link{
    color: #251361;
}

.patient-info{
    margin-bottom: 30px;
}

.enroll-history{
    margin: 0;
    margin-bottom: 15px;
}

.change-info,
.change-password{
    display: flex;
    flex-direction: column;
    width: 400px;
}

.change-info input,
.change-password input{
    width: 240px;
    height: 34px;
    border: none;
    padding: 8px;
    box-shadow: 0px 0px 1px 1px #2513611f;
}

.change-info input:focus,
.change-password input:focus{
    box-shadow: 0px 0px 7px 2px #25136133;
}

.change-info label,
.change-password label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #251361;
    font-family: Helvetica;
    margin: 14px 0px 0px 0;
}

.change-info .btn,
.change-password .btn{
    margin-top: 15px;
    font-size: 18px;
}


.reg-btn{
    display: block;
    position: relative;
    top: 32px;
    font-size: 16px;
}

.button-menu{
    float: left;
}

.header-enroll{
    float: right;
    display: inline-block;
    background-color: #c41512;
    padding: 8px 12px;
    margin-top: 15px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
}

.tooltip-enroll{
    max-width: 500px;
    margin: auto;
    font-size: 16px;
}

.header-enroll:hover,
.header-enroll:active{
    color: #fff;
    background-color: #c41512;
}

/*   */

/* ##### RESPONSIVE ##### */
@media (max-width: 1200px) {
    
    .enroll {
        width: 360px;
        right: -35px;
    }
    
    .enroll > div {
        padding: 0 0;
    }
    
    .enroll-btn {
        margin: 9px auto 0;
        padding: 0px 15px;
    }
    
    section.slider-enroll .work-time span {
        font-size: 19px;
        font-weight: 500;
    }
    
    .work-time > div {
        margin: 11px;
        padding: 5px 9px;
        line-height: 26px;
    }
    
    section.slider-enroll .work-time span {
        font-size: 19px;
    }
    
    .news-item img {
        width: 100%;
        height: 300px;
    }
    
    .news-item {
        width: initial;
        /*height: 425px;*/
    }
    
    .instagram-items {
        justify-content: center;
    }
    
    .django_instagram_media_wall_item {
        margin: 8px;
        width: 46.4% !important;
    }
    
    .confs-other {
        max-width: 415px;
    }
    
    .a-item-triangle {
        margin: 0 0px 0 auto;
    }
    
    
    .footer-info-left-info > div:last-child {
        width: 64%;
        max-width: initial;
        height: 200px;
    }
    
    .enroll-item__left{
        width: auto;
        max-width: 300px;
    }
    
    .service__footer{
        display: inline-block;
    }
    
    .service__item{
        width: 100%;
    }
    
    .service__img {
        width: 350px;
        max-width: 100%;
    }

}

@media (max-width: 992px) {
    
    .container {
        width: 100%;
    }
    
    .menu-button {
        display: block;
    }
    
    a.menu-btn {
        display: block;
    }
    
    .navbar-toggle {
        display: block;
        margin-right: 8px;
    }
    
    .confs-photo {
        width: initial;
        margin-bottom: 13px;
    }
    
    .confs-other {
        max-width: 434px;
    }
    
    section.slider-enroll a {
        text-decoration: none;
    }
    
    .enroll {
        width: 265px;
        margin-right: 5%;
    }
    
    .work-time > div {
        line-height: 20px;
    }
    
    section.slider-enroll .work-time span {
        font-size: 16px;
    }
    
    .enroll-head, .enroll-phone {
        font-size: 15px;
    }
    
    .work-time > div {
        font-size: 26px;
    }
    
    .enroll-head {
        margin-top: 20px;
    }
    
    .instagram-items {
    }
    
    .django_instagram_media_wall_item {
        width: 44.5% !important;
    }
    
    .footer-info-left-info > div:last-child {
        width: 54%;
        max-width: initial;
    }
    
    .pop-item div {
        font-size: 13px;
        line-height: 14px;
    }
    
    .service__item .h2{
        font-size: 26px;
    }
    
    .info-line__enroll{
        display: none !important;
    }
    
}

@media (max-width: 840px) and (min-width: 768px){
    .change-info, .change-password {
        width: 355px;
    }
    
    .change-info input, .change-password input {
        width: 210px;
    }
}

@media (max-width: 768px) {
    
    .container {
        width: 100%;
    }
    
    .header-line h1 {
        font-size: 26px;
    }
    
    .slider {
        height: 100%;
    }
    
    .confs-other {
        max-width: 350px;
    }
    
    /* Отключаем таблички на слайдере */
    .slider-enroll {
        display: none;
    }
    
    .django_instagram_media_wall_item {
        width: 43.5% !important;
    }
    
    /* Внутренние новости */
    .news .item {
        flex-direction: column;
        margin: 25px 0 35px;
    }
    
    .news .item .image img {
        width: 100%;
        height: 330px;
    }
    
    .news .info {
        max-width: 745px;
        justify-content: space-between;
    }
    
    .pop-item > div {
        width: 100%;
        height: 80px;
        font-size: 16px;
    }
    
    .enroll-item__left{
        width: 205px;
    }
    
    .service__item{
        width: 100%;
    }
    
    .service__footer{
        width: 100%;
        overflow: scroll;
        background: #fff;
    }
    
    .med-services__form{
        display: flex;
        flex-direction: column;
        max-width: 500px;
    }
    
    .med-services__label,
    .med-services__btn{
        margin-right: 0;
    }
    
    .med-services__label:first-child{
        margin-bottom: 15px;
    }
    
    .med-services__btn,
    .med-services__price{
        margin-top: 15px;
    }
    
    .service__footer.ui-accordion .ui-accordion-content{
        background-color: transparent !important;
    }
    
    .service__footer .title{
        border: none;
    }
    
    .service__footer.ui-accordion .ui-accordion-content{
        border: none !important;
    }
    
    .service__footer .title.ui-accordion-header-active{
        border-bottom: 1px solid red;
    }
    
    /* страница профиля */
    .change-info,
    .change-password{
        width: 100%;
    }
    
    .change-info input, 
    .change-password input{
        width: calc(100% - 160px);
    }
}

@media (max-width: 640px) {
    
    .info-line-item:last-child span {
        display: none;
    }
    
    .info-line-item:last-child a:last-child {
        margin-left: 0px;
    }
    
    .footer-info-left-info {
        justify-content: center;
        flex-direction: column;
    }
    
    .footer-info-left-info > div:last-child {
        max-width: initial;
        width: 100%;
        height: 200px;
    }
    
    .news-and-insta > div,
    .news-and-insta > div {
        max-width: initial;
    }
    
    .about-center .about-desc span {
        font-size: 15px;
    }
    
    .confs-other {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .news-and-insta {
        flex-wrap: wrap;
    }
    
    .django_instagram_media_wall_item {
        width: 45.5% !important;
    }

    .news-item {
        margin: 5px 0;
    }
    
    .qa-item {
        flex-direction: column;
    }
    
    /* Регистрация */
    
    section.registration form {
        width: 100%;
    }
    
    section.registration label {
        width: 100%;
    }
    
    section.registration input {
        width: 100%;
        height: 34px;
    }
    
    section.registration .regname, .regpass, .reg-user-phone {
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Форма добавления отзыва/faq */
    
}

@media (max-width: 575px) {
    .enroll-item{
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .enroll-item__left{
        width: 100%;
        margin-bottom: 10px;
    }
    
    .service__item .h2{
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    
    .info-line {
        height: 45px;
        justify-content: center;
    }
    .info-line > div {
        height: 82px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        background-color: #251361;
    }
    .header-line {
        position: relative;
        margin: 37px 0 10px;
    }
    .header-line > div {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-self: center;
    }

    .header-line h1 {
        font-size: 24px;
    }
    
    .info-line-item:last-child span {
        display: block;
    }
    
    .info-line-item:last-child a:last-child {
        margin-left: 5px;
    }
    
    .personal {
        justify-content: center;
    }
    
    .mainmenu {
        height: 45px;
        top: 0px;
        position: relative;
    }
    .info-line-item:first-child,
    .info-line-item:nth-child(2),
    .info-line-item:nth-child(3) {
        width: initial;
        margin: 5px 7px;
    }
    .info-line-item:nth-child(4) .info-line-span {
        padding: 0px;
    }
    .info-line-item:last-child {
        width: initial;
        padding-left: 0px;
    }
    
    .django_instagram_media_wall_item {
        width: 44% !important;
    }
    
    .news .item .image img {
        width: 100%;
    }
    
    .down-btns {
        flex-wrap: wrap-reverse;
    }
    
    .inside-content.price > h1 {
        font-size: 24px;
    }
    
    #accordion .ui-accordion-header {
        font-size: 18px;
    }
    
    #accordion .ui-accordion-header {
        font-size: 15px;
    }
    
    /* Модальное */
    div#cboxLoadedContent {
        max-width: 342px;
        margin: 0 auto;
    }
    
    .qna-add-form h1, .review-add-form h1 {
        font-size: 24px;
    }
    #accordion .price-row {
    display: grid;
    height: auto;
    font-size: 13px;
    align-items: center;
    }
    
    #accordion .price-col-name {
        width: 100%;
        height: 100%;
        display: grid;
        padding-top: 5px;
        padding-bottom: 5px;
        max-width: 810px;
        align-items: center;
        border-top: 2px solid #a5a5a5;
    }
    
    #accordion .price-col-price {
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 320px;
    align-items: center;
    border-top: 0px solid #a5a5a5;
    border-left: 0px solid #a5a5a5;
}

    
}

@media (max-width: 420px) {
    
    .info-line-span {
        font-size: 15px;
    }
    
    .header-line h1 {
        font-size: 22px;
    }
    
    .news .info{
        /*height: 260px;*/
    }
    
    .inside-content.price > h1 {
        font-size: 20px;
    }
    
    /* Модальное */
    div#cboxLoadedContent {
        max-width: 320px;
    }
    
    .rc-anchor.rc-anchor-normal.rc-anchor-light {
        width: 279px !important;
    }
    
    .qna-add-form h1, .review-add-form h1 {
        padding: 10px 0 0;
    }
        #accordion .price-row {
        display: grid;
        height: auto;
        font-size: 13px;
        align-items: center;
        }
        
        #accordion .price-col-name {
            width: 100%;
            height: 100%;
            display: grid;
            padding-top: 5px;
            padding-bottom: 5px;
            max-width: 810px;
            align-items: center;
            border-top: 2px solid #a5a5a5;
        }
        
        #accordion .price-col-price {
        width: 100%;
        height: 100%;
        display: flex;
        max-width: 320px;
        align-items: center;
        border-top: 0px solid #a5a5a5;
        border-left: 0px solid #a5a5a5;
    }
    
    .balance {
        justify-content: flex-start;
    }
    
    .enroll-item{
        justify-content: flex-start;
    }
    
    .enroll-item__left{
        margin-right: 0;
    }
    
    .change-password {
        margin-top: 15px;
    }
    
    .change-info label,
    .change-password label{
        flex-wrap: wrap;
    }
    
    .change-info input, 
    .change-password input {
        width: 100%;
        margin-top: 2px;
    }

}

@media (max-width: 360px) {
    
    .info-line-span {
        font-size: 13px;
    }
    
    .header-line h1 {
        font-size: 19px;
    }
    
    .news .info{
        /*height: 300px;*/
    }
    
    .about-center .about-desc span {
        font-size: 14px;
        line-height: 18px;
    }
    
    
   #accordion .price-row {
    display: grid;
    height: auto;
    font-size: 13px;
    align-items: center;
    }
    
    #accordion .price-col-name {
        width: 100%;
        height: 100%;
        display: grid;
        padding-top: 5px;
        padding-bottom: 5px;
        max-width: 810px;
        align-items: center;
        border-top: 2px solid #a5a5a5;
    }
    
    #accordion .price-col-price {
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 320px;
    align-items: center;
    border-top: 0px solid #a5a5a5;
    border-left: 0px solid #a5a5a5;
    }
    
    .enroll-item__info{
        flex-wrap: wrap;
    }
    
    .enroll-item__date, 
    .enroll-item__time,
    .enroll-item__price{
        margin-bottom: 10px;
    }
    
    .balance{
        display: block;
    }
    
    .balance__title {
        display: block;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .balance a.btn{
        width: 100%;
    }
}

@media (max-width: 320px) {
    
    /* Модальное */
    div#cboxLoadedContent {
        max-width: 300px;
    }
    
    .info-line {
        height: auto;
    }
    
    .info-line > div {
        height: auto;
    }
    
}

@media (min-width: 320px) {
    
    .inside-content.price > h1 {
        font-size: 18px;
    }
    
    #accordion .ui-accordion-header {
        font-size: 14px;
    }
    
    .footer-copyright .copy img {
        width: 34px;
    }

}

.a-item-question:before {
    content: "";
    width: 0;
    position: absolute;
    bottom: -26px;
    right: -4px;
    height: 0;
    margin: 0 3px 0 auto;
    border-top: 25px solid #251361;
    border-left: 30px solid transparent;
}

/*Шторм*/
.info-line__enroll {
    display:none;
}
}