h1 {
    font-size: 4.62rem;
}

.row h2.ui.header {
    font-size: 5.6rem;
    padding: 1.6em 0;
}

.global-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.content {
    max-width: 201.6rem;
    margin: 0 auto;
    position: relative;
}.mess_error {
    font-size: 2rem;
    color: red;
}

.hide {
    display: none;
    background: none;
    visibility: hidden;
}


/* header */

header.ui.vertical.center.aligned.segment {
    background: url("../img/bg_top.jpg") no-repeat;
    background-size: cover;
    background-position: 0 0;
    width: 100%;
    height: 60vw;
    min-height: 88rem;
    padding: 0;
    border: 0;
}
#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;    z-index: -555;
}
header.no-home.ui.vertical.center.aligned.segment {
    min-height: unset;
    height: unset;
}

body.lock header.no-home.ui.vertical.center.aligned.segment {
    min-height: 100rem;
    height: 100rem;
}

body.lock .custom-buttons div.ui.menu {
    position: static;
}

.header-top.ui.right.list {
    display: flex;
    flex-wrap: wrap;
    padding: 1.3rem 3.2rem;
    background: #fff;
    opacity: 0.8;
    margin: 2rem 0;
    border-radius: 4px;
}

header .header-top.ui.right.list .icon {
    display: block;
    float: left;
}

header .header-top.ui.right.list .item {
    width: 20rem;
    margin: 0;
    text-align: center;
    font-size: 1.68rem;
    font-weight: bold;
}

header .header-top.ui.right.list .item a {
    color: rgba(0, 0, 0, 0.87);
    margin-left: -40px;
}

header.segment h1 {
    height: auto;
    min-height: auto;
}

.nav-wrapper.content {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 0.8;
    box-shadow: 0 0 1.6rem 0 rgba(0, 0, 0, 0.65);
    position: absolute;
    z-index: 1;
    top: 8.2rem;
    left: 0;
    right: 0;
    border-radius: 0;
}

.nav-wrapper.content .ui.menu {
    padding: 3rem 0;
}

.nav-wrapper.content .ui.menu {
    padding: 3rem 0;
}

.nav-wrapper.content .right {
    padding: 0 6.4rem;
    flex-wrap: wrap;
}

.nav-wrapper.content .right .item {
    color: #534e61;
    font-size: 1.45rem;
    font-weight: 800;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: color .2s linear;
}

.ui.menu:not(.vertical) .right.item,
.ui.menu:not(.vertical) .right.menu {
    max-width: 80%;
    justify-content: flex-end;
}

.nav-wrapper.content .right .item:before {
    height: 0;
    content: '';
    font-weight: 700;
    display: inline-block;
    font-size: 1em;
}

.stickytop_root {
    opacity: 1 !important;
    z-index: 999 !important;
}

.stickytop {
    position: fixed;
    top: 0;
    width: 100%;
}

.stickytop_block_logo {
    margin: -2rem 6.4rem !important;
    top: 26px;
}

.stickytop_logo {
    padding: 0 1.1rem 0 1.1rem;
    width: 12rem !important;
    margin-top: -15px;
}

.header-top.ui.right.list.stickycontact {
    position: relative;
    bottom: -200px;
}

.nav-wrapper.content .ui.menu .block-logo {
    margin: -6.4rem 6.4rem;
    position: absolute;
    z-index: 1;
    transition: all .2s linear;
}

.nav-wrapper.content .ui.menu .item .logomob {
    display: none;
}

.nav-wrapper.content .ui.menu .item .logo {
    width: 16.8rem;
    height: auto;
}

#main_menu.ui.menu div.item.block-logo:before {
    background: none;
}

header .ui.header {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 20px gray;
    margin: 7em auto 5em;
}

h1.ui.header {
    width: 60rem;
    display: inline-block;
    padding: .3em 1em;
    text-align: left;
    font-size: 4.62rem;
    border-radius: 4px;
    color: #fe6649;
}

.custom-buttons .content {
    padding: 0 2.4rem;
    margin-bottom: -5em;
    border: 0;
}

.custom-buttons div.ui.menu {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    box-shadow: none;
}

.custom-buttons .ui.menu .item {
    justify-content: center;
    height: 16rem;
    width: 25%;
    padding: 2.4rem 1.6rem;
    font-size: 2.282rem;
    transition: box-shadow .2s linear;
    margin: -2.4rem 1.6rem 0;
    font-weight: 700;
    border-radius: 0;
    color: #fff;
}

.custom-buttons .ui.menu .item:first-child,
.custom-buttons .ui.menu .item:last-child {
    border-radius: 4px 0 0 4px;
}

.custom-buttons .ui.menu .item:last-child {
    border-radius: 0 4px 4px 0;
}

.custom-buttons .ui.menu .item:nth-child(odd) {
    background: #fe6649;
}

.custom-buttons .ui.menu .item:nth-child(even) {
    background: #a29b9c;
}

.custom-buttons .ui.menu a.item:nth-child(odd):hover {
    box-shadow: inset 0.32rem 0.32rem 1.6rem 0.32rem rgba(0, 0, 0, 0.65);
    background: #fe6649;
    color: #fff;
}

.custom-buttons .ui.menu a.item:hover {
    box-shadow: inset 0.32rem 0.32rem 1.6rem 0.32rem rgba(0, 0, 0, 0.65);
    background: #a29b9c;
    color: #fff;
}

.custom-buttons div.ui.menu a.item:before {
    position: static;
    content: none;
    height: auto;
    width: auto;
    background: #fff;
}

.row h2.ui.header {
    padding: 1.6em 0;
    text-transform: uppercase;
    color: #fe6649;
}


/* advantages */

.advantages div.ui.container {
    margin: 5rem 0 0 0;
}

.advantages h2.ui.header {
    width: 52.8rem;
    text-align: left;
    margin: 0 16rem;
    color: #383838;
    font-size: 7.2rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .5px;
}

.advantages h2.ui.header span {
    color: #fe6649;
}

.advantages .img-block {
    text-align: left;
    position: relative;
}

.advantages img {
    width: 8rem;
    margin: 0 10rem;
    transition: all 250ms ease-in-out;
    transform: translate3d(0, 0, 0);
}

.advantages img.active {
    transform: translate3d(360px, 0, 0);
}

.advantages .text {
    width: 40rem;
    font-size: 2.4rem;
    text-align: left;
    margin: .8rem 0 2.4rem;
}

.advantages .text span {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
}


/* courses */

.courses h2.ui.header {
    font-size: 5.6rem;
}

.courses .item1,
.courses .item2 {
    background: #fe6649;
    color: #fff;
    border-radius: 4px;
    padding: 2.4rem 0;
    font-size: 1.8rem;
}

.courses .ui.grid>[class*="three column"].row>.column {
    width: 29.33333333% !important;
}

.courses .course-item {
    background: #f7f7f7;
    border-radius: 4px;
    box-shadow: 0 10px 24px 0 rgba(0, 0, 0, .08);
    padding: 1rem;
    margin: 0 2rem;
}

.courses .text-top {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: .5rem;
}

.courses img {
    margin-bottom: .5rem;
}

.courses .title {
    margin-bottom: .3rem;
}

.courses .price {
    color: #db3e3e;
}

.courses .text-bottom {
    text-align: left;
    background: #fff;
    padding: 4rem 0 2.4rem;
    color: #000;
    font-size: 1.6rem;
}

.courses .text-bottom p {
    margin: 0 3rem 1.5rem;
    color: #534e61;
}

.courses .text-bottom p span {
    padding-left: 1rem;
    color: #534e61;
}

.courses .text-bottom p img {
    display: inline-block;
    width: 32px;
    margin: 0 5px 0 0;
    padding: 0;
    vertical-align: middle;
}

.courses .bottom-btn {
    text-align: center;
}

.courses .text-bottom .button {
    width: 15rem;
}


/* promotions */

.promotions .title {
    color: #383838;
    font-size: 2.2rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #db3e3e;
    margin-bottom: 5rem;
    text-transform: uppercase;
}

.promotions .price {
    color: #fe6649;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.promotions .price span {
    font-size: 12rem;
}

.promotions .text {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.promotions .desc {
    background: #fe6649;
    color: #fff;
    border-radius: 4px;
    padding: 2.4rem 0;
    font-size: 1.8rem;
    line-height: 3.2rem;
}


/* locations */

.locations .block-icon {
    float: left;
    color: #fe6649;
    margin-right: 1.5rem;
}

.locations .item .text {
    float: left;
    width: 21rem;
    text-align: left;
    font-size: 1.6rem;
}

.locations .item .text .adress {
    color: #c12017;
    ;
    margin-bottom: 0.5rem;
}

.ui.grid>.column:not(.row),
.ui.grid>.row>.column.locations .locations-map {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}


/* .locations .locations-map .location-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 200;
} */

.locations .locations-map iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 100;
}


/* record */

.record div div .button {
    font-size: 2rem;
    padding: 2.4rem 6rem;
}


/* certificates */

.certificates article.certificate img {
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 20rem;
    display: block;
    margin: 0 auto 1rem;
    cursor: pointer;
}

.certificates article.certificate button {
    border-radius: 4px;
    font-size: 1.5rem;
    padding: 1.5rem 2rem;
    margin: auto;
    display: block;
}


/* modal */

.order-modal .documents-item1 {
    display: none;
}

.order-modal .documents-item2 {
    display: none;
}

.record .order-mobile {
    display: none;
}

.order-modal .logo-modal {
    text-align: center;
    padding: 10px;
}

.order-modal .logo-modal-img {
    height: 15rem;
}

.order-modal .header h3 {
    text-align: center;
    color: #cf590c;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1.23;
}

.order-modal .ui.form .field>.selection.dropdown>.dropdown.icon {
    padding: 20px;
}

.order-modal .ui.form .field>label {
    font-size: 2rem;
}

.order-modal .ui.form input {
    height: 6rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.order-modal .ui.form .ui.selection.dropdown {
    height: 6rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    padding: 20px;
}

.order-modal .ui.checkbox input.hidden+label {
    font-size: 1.6rem;
    margin-bottom: 10px;
    line-height: 1.23;
}

.ui.modal>.actions {
    text-align: center;
}

.order-modal .ui.deny.button {
    padding: 16px;
    font-size: 20px;
    color: #fff;
}

.order-modal .ui.positive.button {
    padding: 16px 0;
    font-size: 20px;
    color: #fff;
    background: #cf590c;
}

.order-mess-modal {
    font-size: 2rem;
    color: green;
}


/* order modal success */

.order-modal-success .logo-modal {
    text-align: center;
    padding: 10px;
}

.order-modal-success .logo-modal-img {
    height: 15rem;
}

.order-modal-success .header h3 {
    text-align: center;
    color: #cf590c;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1.23;
}

.order-modal-success .order-modal-success-txt p {
    margin: 0;
    line-height: 1.2;
    font-size: 22px;
}

.order-modal-success .order-modal-success-btn {
    font-size: 20px;
    width: 80%;
    margin: 15px 0;
    padding: 30px 0;
}

.drivers-block h2.ui.header {
    text-transform: uppercase;
    color: #fe6649;
}

article.page {
    font-size: 16px;
}

article.page ul,
article.page ol {
    margin-left: 30px;
}

article.page ul li {
    list-style-type: disc!important;
}

article.page ol li {
    list-style-type: decimal!important;
}

article.page li {
    padding: 5px;
}

.training-title {
    font-size: 3.6rem;
    text-transform: uppercase;
    color: #fe6649;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    display: block;
}

.training-list {
    display: block;
    margin: 1rem auto;
    padding: 0;
    font-size: 0;
    text-align: center;
    list-style: none;
}

.training-item {
    display: inline-block;
    cursor: pointer;
    width: 30%;
    margin: 1rem;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 3rem -1rem rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.training-item:hover {
    transform: translateY(-0.5rem) scale(1.0125);
    box-shadow: 0 0.5em 3rem -1rem rgba(0, 0, 0, 0.5);
}

.training-item img {
    width: 100%;
    object-fit: contain;
    object-position: center;
}

p.training-description {
    display: block;
    padding: 15px;
    color: #515151;
    text-decoration: none;
    list-style: 1.3;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 5px;
}

.training-modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.training-modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 75%;
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.training-modal-content img {
    height: 90%;
    width: auto;
}

.out {
    animation-name: zoom-out;
    animation-duration: 0.6s;
}

.training-page img,
.training-page a img {
    display: inline-block;
}

.training-page a {
    display: inline-block;
    overflow: hidden;
}

.training-page a img {
    transition: all 350ms ease-in-out;
}

.training-page a:hover img {
    transform: scale(1.1);
}

.training-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.training-col {
    padding: 30px 15px;
}

.training-col .training-row {
    margin: 0 -2px;
}

.training-col .training-row .training-col {
    padding: 0 2px;
}


/* RESPONSIVE */

@media (max-width: 1440px) {
    .nav-wrapper.content .right .item {
        font-size: 13px;
    }
    .ui.menu:not(.vertical) .right.item,
    .ui.menu:not(.vertical) .right.menu {
        max-width: 100%!important;
    }
    .nav-wrapper.content .right {
        padding: 0 4.4rem!important;
    }
}

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

@media (max-width: 991px) {
    .training-col {
        width: 100%!important;
        padding: 15px 0;
    }
    .training-page img {
        width: 100%;
    }
    .training-page h2,
    .training-page p {
        width: 100%!important;
        text-align: left!important;
    }
}

@media (max-width: 768px) {
    .row h2.ui.header {
        padding: 15px 0!important;
    }
}

@media (max-width: 480px) {}


/* KEYFRAMES */

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1)
    }
    to {
        -webkit-transform: scale(2)
    }
}

@keyframes zoom {
    from {
        transform: scale(0.4)
    }
    to {
        transform: scale(1)
    }
}

@keyframes zoom-out {
    from {
        transform: scale(1)
    }
    to {
        transform: scale(0)
    }
}

/*forma*/
/* Завіса для затемнення фону */
 /* Стилі для попап форми */
        .popup {
            display: none; 
            position: fixed;

    z-index: 9;            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }
        
        .popup-content {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            width: 300px;
            text-align: center;
        }

        .popup-content input, .popup-content textarea {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border-radius: 4px;
            border: 1px solid #ccc;
        }

        .popup-content button {
            padding: 10px 20px;
            background-color: #f72b1f;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .popup-content button:hover {
            background-color: #45a049;
        }

        .popup .close-btn {
            /*position: absolute;*/
            top: 10px;
            right: 10px;
            font-size: 50px;
            color: #000000;
            cursor: pointer;
        }
