.contact-title
{
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 30px;
}

.contact-description
{
    display: block;
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

.button .btn {
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 30px;
    background-color: #31bcf2;
    color: #fff;
    border: none;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    border-radius: 3px;
    position: relative;
    z-index: 1;
    margin-right: 7px;
    overflow: hidden;
}

.button .btn:hover {
    color: #fff;
    background-color: #081828;
    -webkit-box-shadow: 0px 4px 4px #0000000f;
    box-shadow: 0px 4px 4px #0000000f;
}

.contact-form-head {
    margin-top: 30px;
}

.contact-form-head .contact-inner-title h2 {
    font-size: 30px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    color: #fff;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .contact-form-head .contact-inner-title h2 {
        font-size: 25px;
        line-height: 32px;
    }
}

@media (max-width: 767px) {
    .contact-form-head .contact-inner-title h2 {
        font-size: 20px;
        line-height: 30px;
    }
}

.contact-form-head .contact-inner-title p {
    color: #fff;
}

.contact-form-head .contact-inner-title .question {
    display: block;
    min-height: 70px;
    margin-top: 40px;
}

.contact-form-head .contact-inner-title .question img {
    height: 70px;
    width: 70px;
    border-radius: 70px;
    float: left;
    margin-right: 20px;
}

.contact-form-head .contact-inner-title .question h4 {
    font-size: 20px;
    font-weight: 600;
    padding-top: 15px;
    color: #fff;
}

.contact-form-head .contact-inner-title .question h4 span {
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.contact-form-head .contact-inner-title .day-list {
    display: block;
    margin-top: 40px;
}

.contact-form-head .contact-inner-title .day-list li {
    color: #fff;
    font-weight: 500;
    margin-bottom: 3px;
    display: block;
}

.contact-form-head .contact-inner-title .day-list li:last-child {
    margin: 0;
}

.contact-form-head .contact-inner-title .call-back {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    display: inline-block;
    margin-top: 30px;
    text-transform: capitalize;
}

.contact-form-head .contact-inner-title .call-back i {
    font-size: 15px;
    display: inline-block;
    margin-left: 5px;
}

.contact-form-head .form-main {
    padding: 40px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
    .contact-form-head .form-main {
        padding: 35px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .contact-form-head .form-main {
        padding: 30px;
    }
}

.contact-form-head .form-main .form-title {
    margin-bottom: 30px;
}

.contact-form-head .form-main .form-title h2 {
    margin-bottom: 35px;
    font-size: 22px;
}

.contact-form-head .form-main .form-title p {
    font-size: 16px;
}

.contact-form-head .form-main .form .form-group {
    margin-bottom: 15px;
    display: block;
}

.contact-form-head .form-main .form .form-group input {
    height: 52px;
    line-height: 52px;
    width: 100%;
    border: 1px solid #e6e2f5;
    padding: 0px 20px;
    color: #333;
    font-weight: 400;
    border-radius: 4px;
    background-color: #fff;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.contact-form-head .form-main .form .form-group input:focus {
    border-color: #31bcf2;
}

.contact-form-head .form-main .form .form-group textarea {
    height: 180px;
    width: 100%;
    border: 1px solid #e6e2f5;
    padding: 15px 20px;
    color: #333;
    resize: none;
    font-weight: 400;
    border-radius: 4px;
    background-color: #fff;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.contact-form-head .form-main .form .form-group textarea:focus {
    border-color: #31bcf2;
}

.contact-form-head .form-main .form .form-group.button {
    width: 100%;
    margin-bottom: 0;
}

.apply-inner{
    max-width: 919px;
    gap: 24px;
}
.apply-inner h1{
    font-family: var(--font-secondary);
    font-size: 96px;
    font-weight: 600;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 0;
}
.apply-subtitle{
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}
.apply-page{
    padding-top: 204px;
}
.registration-block{
    background: #840014;
    padding-bottom: 79px;
    width: 100%;
}
/*.registration-block::before{
    top: -200px;
    background-color: transparent;
    left: 0;
    border-style: solid;
    height: 200px;
    border-width: 0 100vw 200px 0;
    border-color: transparent #840014 transparent transparent;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    z-index: -1;
    transform: rotate(180deg);
}*/
.reg-text{
    max-width: 437px;
    min-width: 437px;
    padding: 43px 32px 83px 148px;
    background-image: url("/img/spage/reg_top.png");
    background-size: 100% 100%;
}
.reg-content img{
    max-width: 505px;
    width: 100%;
    right: -120px;
}
.reg-content h2{
    font-family: var(--font-secondary);
    font-size: 64px;
    font-weight: 400;
    line-height: 110%;
    margin-bottom: 0;
    padding-left: 40px;
}
.reg-content{
    margin-top: 50px;
}
.reg-inner{
    gap: 88px;
}
.apply-form-container{
    max-width: 622px;
}
.form-btn{
    border-radius: 20px;
    background: var(--color-black);
    border: 2px solid var(--color-black);
    color: #fff;
    outline: none;
    box-shadow: none;
    width: 100%;
    max-width: 265px;
    text-align: center;
    padding: 10px;
    font-family: var(--font-exa);
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    margin-top: 4px;
}
.form-btn:is(:focus,:hover){
    background: #fff;
    color: var(--color-black);
}
.apply-form-container :where(input,select.form-control){
    border-radius: 0 !important;
    height: 32px !important;
    color: var(--color-black) !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 130% !important; 
}
.apply-form-container :where(input){
    padding: 10px !important;
}
.apply-form-container input:focus{
    border-color: var(--color-primary);
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(240, 0, 36, 0.5)
}
.apply-form-inner{
    gap: 8px;
}
.apply-form-container .mb-3{
    margin-bottom: 0 !important;
}
.apply-form-container .bs4.checkbox{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px auto;
    /* Ugyanaz a behúzás, mint a tanfolyam-választónál, hogy a két checkbox
       blokk egy vonalban álljon a mezők szövegével. */
    padding-left: 11px;
}
.bs4.checkbox label{
    margin-bottom: 0;
}
.bs4.checkbox a{
    color: var(--color-progress);
}
/* Jelentkezési űrlap: tanfolyam-választó checkbox lista (több is jelölhető).
   A bal szélt a beviteli mezők szövegkezdetéhez igazítjuk: 1px keret + 10px
   belső margó, ezért 11px behúzás – így egy vonalban áll a többi tartalommal. */
.apply-courses-field{
    padding-left: 11px;
    margin-top: 6px;
}
.apply-courses-label{
    font-size: 16px;
    font-weight: 300;
    line-height: 130%;
    margin-bottom: 8px;
}
.apply-courses{
    gap: 8px;
}
.apply-courses .form-check{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    min-height: auto;
}
/* A checkbox az űrlap stílusát követi: szögletes (a mezőkkel egyezően),
   fekete kerettel, bejelölve a márka pirosával.
   Az adatkezelési checkbox natív (nincs rajta Bootstrap osztály), ezért az
   appearance-t itt kapcsoljuk ki – így a két checkbox egyformán néz ki. */
.apply-form-container .form-check-input,
.apply-form-container .bs4.checkbox input[type="checkbox"]{
    -webkit-appearance: none;
    appearance: none;
    /* Az űrlap globális input szabálya 32px magasságot és 10px paddinget ad,
       a checkboxnál ezt vissza kell fogni. */
    height: 18px !important;
    width: 18px;
    min-width: 18px;
    /* A Bootstrap `.form-check .form-check-input` szabálya float: left és
       margin-left: -1.5em – ez húzta ki balra a négyzetet. A contact.css a
       bootstrap.css ELŐTT töltődik be (a ContactAsset-nek nincs depends-e),
       ezért egyező specificitásnál a Bootstrap győzne: !important kell. */
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: 0 0 auto;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--color-black);
    cursor: pointer;
}
.apply-form-container .form-check-input:checked,
.apply-form-container .bs4.checkbox input[type="checkbox"]:checked{
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.apply-form-container .form-check-input:focus,
.apply-form-container .bs4.checkbox input[type="checkbox"]:focus{
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.15rem rgba(240, 0, 36, 0.5);
}
.apply-courses .form-check-label{
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 130%;
    cursor: pointer;
}
.apply-courses-field .invalid-feedback{
    font-size: 14px;
    margin-top: 6px;
}
.form-title{
    font-family: var(--font-exa);
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 36px;
}
.form-bottom-text{
    margin-top: 36px;
    font-size: 16px;
    line-height: 130%;
    font-weight: 300;
    width: 100%;
    max-width: 494px;
}
.apply-page .newsletter-subscribe{
    padding: 124px 0 129px 0;
}
.enrolment{
    padding: 71px 0 106px 0;
}
.enrolment h2{
    font-family: var(--font-secondary);
    margin-bottom: 0;
    font-size: 64px;
    font-weight: 400;
    line-height: 110%;
}
.enrolment img{
    max-width: 505px;
    width: 100%;
}
.enrolment-content{
    background-image: url("/img/spage/enrolment_bg.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    padding: 75px 158px 67px 73px;
    width: 100%;
    max-width: 510px;
    min-width: 510px;
    right: -120px;
    font-size: 16px;
    font-weight: 300;
    line-height: 130%;
    z-index: -1;
    min-height: 445px;
}

/* MEDIA QUERIES */
@media(min-width: 992px){
    .apply-page .container{
        max-width: 894px;
    }
}
@media(max-width: 1199px){
    .reg-content h2{
        padding-left: 20px;
    }
}
@media(max-width: 992px){
    .apply-page{
        padding-top: 102px;
    }
    .apply-inner{
        padding-bottom: 100px;
        gap: 10px;
    }
    .apply-inner h1{
        font-size: 45px;
    }
    .apply-subtitle{
        font-size: 18px;
    }
    /*.registration-block::before{
        height: 118px;
        border-bottom-width: 118px;
        top: -118px;
    }*/
    .reg-content img{
        max-width: 350px;
        right: -90px;
    }
    .reg-text{
        padding-left: 100px;
    }
    .reg-content h2{
        margin-bottom: 22px;
    }
    .reg-inner{
        gap: 50px;
    }
    .enrolment img{
        max-width: 350px
    }
    .enrolment-content{
        padding-left: 63px;
        padding-right: 43px;
        min-width: 380px;
        right: -30px;
        min-height: 300px;
    }
}
@media(max-width: 767px){
    .reg-content h2{
        font-size: 28px;
        padding-left: 0;
    }
    .reg-content img{
        max-width: 267px;
        left: 0;
        right: unset;
        top: -35px; 
        position: absolute !important;
        left: -9px;
    }
    .reg-text{
        font-size: 12px;
        padding: 152px 35px 38px 50px;
        max-width: 314px;
        min-width: 314px;
        background-image: url("/img/spage/reg_top_m.png");
    }
    .reg-content h2{
        margin-bottom: 60px;
    }
    .reg-content{

    }
    .reg-inner{
        gap: 31px;
    }
    .registration-block{
        padding-bottom: 46px;
    }
    .form-title{
        margin-bottom: 24px;
        font-size: 14px;
        font-weight: 500;
    }
    .form-bottom-text{
        margin-top: 24px;
        font-size: 12px;
        max-width: 287px;
    }
    .form-btn{
        font-size: 14px;
        max-width: unset;
    }
    .apply-form-container :where(input,select.form-control){
        font-size: 12px;
        font-weight: 300;
        line-height: 130%;
        height: 32px;
    }
    /* A tanfolyam-választó szövegei a mezőkkel egyező méretre */
    .apply-courses-label,
    .apply-courses .form-check-label{
        font-size: 12px;
    }
    .apply-courses-field .invalid-feedback{
        font-size: 12px;
    }
    .apply-form-container .form-check-input,
    .apply-form-container .bs4.checkbox input[type="checkbox"]{
        height: 16px !important;
        width: 16px;
        min-width: 16px;
    }
    .apply-page .newsletter-subscribe{
        padding: 37px 48px 0;
    }
    .enrolment{
        padding: 53px 0 49px 0;
    }
    .enrolment h2{
        font-size: 28px;
        margin-bottom: 49px;
    }
    .enrolment img{
        max-width: 267px;
        object-fit: cover;
        height: 165px;
        position: absolute;
        top: -36px;
        right: -4px;
    }
    .enrolment-content{
        max-width: 314px;
        margin: 0 auto;
        padding: 156px 35px 32px 50px;
        font-size: 12px;
        min-width: unset;
        background-image: url("/img/spage/enrolment_m.png");
    }
    .enrolment-content.position-relative{
        position: initial !important;
    }
    .enrolment .container>.d-flex{
        position: relative;
        width: fit-content;
        margin: 0 auto;
    }
    .enrolment .container{
        max-width: 392px;
    }
}
@media(max-width: 576px){
    .apply-inner h1{
        font-size: 36px;
    }
    .apply-subtitle{
        font-size: 12px;
    }
}