/* custom-container */

.custom-container {
    margin: 0 auto;
    padding: 0 1.125rem;
    width: 100%;
}

@media only screen and (min-width: 1200px) {
    .ui.modal.order-modal {
        width: 60rem;
    }
}

@media(max-width: 1260px) {
    .custom-container {
        max-width: 118rem;
    }
    header .ui.header {
        margin-bottom: 3.5em;
    }
    .custom-buttons .ui.menu .item {
        font-size: 2rem;
    }
    .advantages h2.ui.header {
        padding: 0 0 1em;
    }
    .locations .ui.grid>.row>.column {
        flex: 0 0 281px;
    }
}

@media(max-width: 1200px) {
    .custom-container {
        max-width: 110rem;
    }
    h1.ui.header {
        width: 58rem;
    }
    header .ui.header {
        margin-bottom: 2.3em;
    }
    .custom-buttons .ui.menu .item {
        width: 29%;
    }
    .advantages div.ui.container {
        margin: 0;
    }
    .courses .course-item {
        flex-wrap: nowrap;
    }
    .courses .text-top img {
        width: 100%;
    }
    .courses .ui.grid>.row {
        flex-wrap: nowrap;
    }
    .courses .text-bottom {
        font-size: 14px;
    }
    .courses .text-bottom p {
        margin: 0 1rem 1.6rem;
    }
    .locations .ui.grid>.row {
        justify-content: space-around;
    }
    .locations .ui.grid>.row>.column {
        margin-bottom: 10px;
    }
}

@media (max-width: 992px) {
    .training-modal-content {
        max-width: 100%;
    }
    .training-item {
        width: 100%;
        margin: 0;
    }
    .custom-container {
        max-width: 960px;
    }
    .nav-wrapper.content .ui.menu .item .logo {
        display: none;
    }
    .nav-wrapper.content .ui.menu .item .logomob {
        display: block;
    }
    .nav-wrapper.content .ui.menu .item .logomob {
        width: 115px;
        height: auto;
    }
    .stickytop_block_logo {
        margin: 0 !important;
    }
    .stickytop_logo {
        padding: 0;
        width: 114px !important;
    }
    .header-top.ui.right.list.stickycontact {
        bottom: 0;
    }
    header .ui.header {
        margin-top: 3em;
    }
    .header-top.ui.right.list {
        padding-bottom: 0;
    }
    .custom-buttons .ui.menu {
        flex-wrap: wrap;
    }
    .custom-buttons .ui.menu .item {
        font-size: 17px;
        min-width: 220px;
    }
    .advantages {
        margin-top: -90px;
    }
    .advantages .ui.grid {
        justify-content: left;
    }
    .advantages h2.ui.header {
        font-size: 34px;
    }
    .advantages .ui.grid>.row>.column {
        margin: 0;
        width: 50px !important;
    }
    .advantages img {
        width: 50px;
        margin: 0 30px;
    }
    .advantages .text {
        font-size: 18px;
        margin-left: 20px;
        margin-bottom: 5px;
        margin-top: 2px;
        width: 600px;
    }
    .advantages .text span {
        display: inline;
    }
    .courses h2.ui.header {
        font-size: 34px;
        padding-bottom: 16px;
    }
    .courses .text-bottom {
        font-size: 12px;
    }
    .courses .text-bottom .text-bottom-inner {
        min-height: 130px;
        margin-bottom: 20px;
    }
    .courses .text-bottom .icon {
        display: block;
        float: left;
        margin-right: 4px;
    }
    .courses .text-bottom p span {
        padding-left: 0;
    }
    .promotions h2.ui.header {
        font-size: 34px;
        padding-bottom: 16px;
        text-align: center;
    }
    .promotions .title {
        font-size: 18px;
margin-bottom: 5px;  
margin-top: 10px;  }
    .promotions .text {
        font-size: 16px;
    }
    .locations h2.ui.header {
        font-size: 34px;
        padding-bottom: 8px;
    }
    .locations .ui.grid>.row {
        justify-content: center;
    }
    .record div div .button.order {
        display: none;
    }
    .record div div .order-mobile {
        display: block;
    }
    .order-mobile .documents-item1 {
        display: none;
    }
    .order-mobile .documents-item2 {
        display: none;
    }
    .record .order-mobile-documents {
        text-align: left;
    }
    .order-mobile .ui.form .field>.selection.dropdown>.dropdown.icon {
        padding: 20px;
    }
    .order-mobile .ui.form .field>label {
        font-size: 2rem;
    }
    .order-mobile .ui.form input {
        height: 6rem;
        margin-bottom: 1.5rem;
        font-size: 1.6rem;
    }
    .order-mobile .ui.form .ui.selection.dropdown {
        height: 6rem;
        margin-bottom: 1.5rem;
        font-size: 1.6rem;
        padding: 20px;
    }
    .order-mobile .ui.checkbox input.hidden+label {
        font-size: 1.6rem;
        margin-bottom: 10px;
        line-height: 1.23;
    }
    .ui.mobile>.actions {
        text-align: center;
    }
    .order-mobile .ui.positive.button {
        padding: 16px 30px;
        font-size: 20px;
        color: #fff;
        background: #cf590c;
    }
    .order-mess-mobile {
        font-size: 14px;
        color: green;
    }
    .certificates h2.ui.header {
        font-size: 34px;
        padding-bottom: 20px;
        padding-top: 40px;
    }
    section#prices,
    section#promotions,
    section#locations,
    section#record,
    section#certificates {
        margin-top: 30px;
    }
}

@media(max-width: 768px) {
    header .ui.header {
        width: 100%;
        font-size: 30px;
    }
    .custom-container {
        max-width: 720px;
    }
    .custom-buttons div.ui.menu {
        display: block;
    }
    .custom-buttons .ui.menu .item {
        width: 100%;
        min-width: 100%;
        height: 90px;
        margin-bottom: 15px;
        font-size: 20px;
        transition: none;
    }
    .advantages {
        margin-top: -140px;
    }
    .advantages h2.ui.header {
        text-align: center;
        margin: 0;
    }
    .advantages .ui.grid>.row {
        flex-wrap: nowrap;
    }
    .advantages .ui.grid>.row>.column.img-block {
        width: 20% !important;
    }
    .advantages .ui.grid>.row>.column.advantages-text {
        width: 100% !important;
    }
    .advantages .text {
        width: 100%;
        margin-left: 0;
    }
    .courses .ui.grid>.row.three {
        flex-wrap: wrap;
    }
    .courses .ui.grid>[class*="three column"].row>.column.course-item {
        width: 50% !important;
        display: block;
        margin: auto;
    }
    .courses .text-bottom {
        font-size: 16px;
    }
    .courses .item1,
    .courses .item2 {
        line-height: 1.2;
        padding: 16px 0;
    }
    .courses .ui.grid>.row.three {
        flex-direction: column;
    }
    .courses .ui.grid>[class*="three column"].row>.column.course-item {
        margin-bottom: 30px;
        width: 100% !important;
    }
    .promotions .ui.grid>.row {
        flex-direction: column;
        align-items: center;
    }
    .promotions .ui.grid>.row>.column {
        width: 100% !important;
    }
    header.ui.vertical.center.aligned.segment {
        background-position: 85% 30px;
        min-height: 50rem; 
        /* height: 25rem; */
    }
    .row h2.ui.header {
        font-size: 3.2rem;
    }
}

@media(max-width: 576px) {
    .custom-container {
        max-width: 540px;
    }
    .advantages {
        margin-top: -70px;
    }
    .advantages h2.ui.header {
        width: auto;
    }
    .advantages .ui.grid>.row>.column {
        padding-left: 25px;
    }
    .courses .ui.grid>.row {
        flex-direction: column;
        align-items: center;
    }
    .courses .ui.grid>[class*="two column"].row>.column {
        width: 100% !important;
        margin-bottom: 20px;
    }
    .promotions .desc {
        padding: 10px;
        text-align: left;        
        line-height: 1.5;
    }
    .certificates .ui.grid>.centered.column,
    .ui.grid>.row>.centered.column {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .certificates .ui.grid>.row>.column {
        width: 50%!important;
        margin-bottom: 15px;
    }
}


/* menu */

.menu-hamburger {
    width: 45px;
    height: 32px;
    margin-left: auto;
    margin-right: 25px;
    display: none;
    border: none;
    background: transparent;
    -moz-appearance: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.menu-hamburger span {
    background: #fe6649;
    height: 5px;
    display: block;
    margin: 6px 0;
}

.menu-hamburger.active span {
    transform: scale(0);
}

.menu-hamburger::before,
.menu-hamburger::after {
    background: #fe6649;
    height: 5px;
    display: block;
    content: ' ';
    position: relative;
}

.menu-hamburger.active::before {
    transform: rotate(45deg);
    transition: all 0.1s ease 0s;
    top: 11px;
}

.menu-hamburger.active::after {
    transform: rotate(-45deg);
    transition: all 0.1s ease 0s;
    bottom: 11px;
}


/* 1199px */

@media screen and (max-width: 1199px) {}


/* 991px */

@media screen and (max-width: 991px) {
    body.lock {
        overflow: hidden;
    }
    .social_network {
        position: absolute;
        z-index: 0;
    }
    .header-top.ui.right.list {
        text-align: center;
        justify-content: center;
        max-width: 800px;
        margin: 325px auto 16px;
    }
    header .header-top.ui.right.list .item {
        max-width: 200px;
        width: 100%;
        margin-bottom: 10px;
    }
    .nav-wrapper.content .ui.menu .block-logo {
        filter: none;
        padding: 0;
        margin: 0;
        top: 3px;
        left: 60px;
    }
    .nav-wrapper.content .ui.menu .item {}
    .nav-wrapper.content .ui.menu .item .logo2 {
        max-width: 168px;
        width: 114px;
        margin: auto 20px;
        z-index: 30;
    }
    .nav-wrapper.content .ui.menu .block-logo {
        border-radius: 0;
        background: none;
    }
    .nav-wrapper.content {
        opacity: 1;
        top: 0;
        position: fixed;
    }
    .nav-wrapper.content .right {
        left: 0;
        top: -100%;
        width: 100%;
        height: 100%;
        background: #fe6649;
        padding: 70px 10px 20px 10px;
        transition: all 0.9s ease 0s;
        overflow: auto;
        position: fixed;
        z-index: 100;
        display: block !important;
    }
    .nav-wrapper.content .right.active {
        top: 80px;
    }
    .nav-wrapper.content .right li {
        margin-bottom: 20px;
    }
    .nav-wrapper.content .right li a {
        color: #fff !important;
    }
    .menu-hamburger {
        display: block;
    }
}


/* 767px */

@media screen and (max-width: 767px) {}


/* 575px */

@media screen and (max-width: 575px) {}


/* 480px */

@media screen and (max-width: 480px) {
    .header-top.ui.right.list {
        position: absolute;
        top: 90px;
        margin: 0 auto;
        width: auto;
        left: 5px;
        right: 5px;
    }
    header .ui.header {
        margin: 0;
        position: absolute;
        bottom: 50px;
        left: 5px;
        right: 5px;
        width: auto;
    }
    header .custom-buttons {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -185px;
    }
    .advantages {
        margin-top: 265px;
    }
}


/* 440px */

@media screen and (max-width: 440px) {
    .header-top.ui.right.list>p.item {
        width: 100%;
        max-width: unset;
        text-align: center;
    }
    .header-top.ui.right.list>p.item:first-child,
    .header-top.ui.right.list>p.item:nth-child(2) {
        width: 50%;
    }
    header .header-top.ui.right.list .item a {
        margin-left: unset;
    }
}
