/** Global styling */
body {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 160%;
    color: #1A1D24;
    background-color: #F9F9F9;
}

.content {
    margin: 0 auto 0 auto;
    max-width: 1440px;
}

#body {
    margin-top: 100px;
    overflow: hidden;
}

#body .content:not(:first-child) {
    margin-top: 160px;
}

h1 {
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 72px;
    line-height: 72px;
}

h2 {
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: #112B3C;
}

h4 {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0.2em;
    color: #D52827;
    text-transform: uppercase;
}

.container-images {
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.border {
    padding-bottom: 520px;
    padding-top: 150px;
    margin-top: 150px;
    background-color: #F5F5F5;
}

.border-round-right {
    border-radius: 0 400px 0 0;
}

.border-round-left {
    border-radius: 400px 0 0 0;
}

.btn {
    border-radius: 45px;
    padding: 10px 20px;
    font-weight: 500;
    line-height: 19px;
}

.btn-danger {
    background-color: #D52827;
}

.btn-secondary {
    color: #0E0E11;
    background-color: white;
    border-color: white;
}

.img-container {
    height: fit-content;
    width: fit-content;
}

.img-container img {
    visibility: hidden;
}

.user {
    background-image: url(/css/new_web_2022/images/user_red.png);
}

.money {
    background-image: url(/css/new_web_2022/images/money_red.png);
}

.time {
    background-image: url(/css/new_web_2022/images/time_red.png);
}


/** Navigation and header content */
header {
    background-color: white;
}

nav .content {
    height: 100%;
}

#navigation {
    display: flex;
    justify-content: space-between;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    align-items: center;
}

nav li {
    position: relative;
    display: inline-block;
}

nav li a {
    font-weight: 400;
    font-size: 16px;
    color: #1A1D24;
    margin: auto;
    display: block;
    padding: 20px;
    cursor: pointer;
}

nav li .nav-item:hover, nav li .nav-item:focus, nav li .nav-item:active {
    color: #1A1D24;
    font-weight: 700;
    text-decoration: none;
}

nav li .nav-item::before {
    content: '';
    display: block;
    position: absolute;
    margin: auto;
    bottom: 10px;
    left: calc(30%);
    height: 4px;
    width: 40%;
    background-color: #D52827;
    border-radius: 30px;
    transform-origin: center center;
    transform: scale(0, 1);
    transition: color 0.1s,transform 0.2s ease-out;
}

nav li .nav-item:hover::before, .nav-item:focus::before, .nav-item.active::before {
    transform-origin: center center;
    transform: scale(1, 1);
}

nav li a.active {
    font-weight: 700;
}

.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: center;
}

#dropdown-menu-link {
    padding: 20px;
    cursor: pointer;
    display: none;
    color: #1A1D24;
}

.fixed {
    position: fixed;
    z-index: 3;
    top: 0;
    width: 100%;
}


/** Flash messages */
#flashes {
    margin: 100px 0;
}


/** Footer */
footer {
    padding-top: 150px;
    background-color: #1F232D;
}

footer h5, footer h6 {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: white;
}

footer h5 {
    font-size: 16px;
}

footer h6 {
    font-size: 14px;
}

#contact {
    position: relative;
}

#register-box {
    top: -550px;
    position: absolute;
    background: linear-gradient(88.89deg, rgba(213, 40, 39, 0.9) 16.57%, rgba(211, 29, 28, 0.9) 99.05%), #D52827;
    border-radius: 24px;
    display: flex;
    max-height: 500px;
}

#woman-wrapper {
    position: relative;
}

#woman-wrapper > img {
    visibility: hidden;
}

#woman {
    background-image: url(/css/new_web_2022/images_2025/C5D_3990.png);
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: -65px;
    right: 10px;
}

#register-box-text {
    padding: 60px 40px;
    flex-basis: 60%;
}

#register-box h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
    color: white;
}

#register-box p {
    font-weight: 400;
    line-height: 180%;
    color: white;
}

#contact-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

#contact-wrapper > div p {
    margin-top: 20px;
}

#contact-general {
    max-width: 350px;
}

#contact-general p {
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
    color: #F6F6F6;
    opacity: 0.4;
}

#contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    column-gap: 120px;
    row-gap: 40px;
    max-width: 1000px;
    margin: auto;
}

#contact-info div {
    width: 250px;
}

#contact-info p {
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    color: #FAFAFA;
    opacity: 0.5;
}

#contact-info a {
    font-weight: 500;
    line-height: 19px;
    text-decoration-line: underline;
    color: white;
}

#social-networks {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 20px;
}

#social-networks a {
    color: white;
    font-size: 60px;
}

#social-networks a:hover, #social-networks a:visited, #social-networks a:link, #social-networks a:active {
    text-decoration: none;
}

#footer-line {
    border-top: 1px solid #3a3a3a;
}

div.law-protection {
    margin-top: 10px;
    text-align: center;
}

a.law-protection:active, a.law-protection:visited, a.law-protection:link, a.law-protection:hover {
    color: #8c8e93;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
}


#gdpr a,
#gdpr a:link,
#gdpr a:visited,
#gdpr a:active {
    color: white;
    text-decoration: none;
}

#gdpr a:hover {
    text-decoration: underline;
}

#footer {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    margin-bottom: 80px;
    /* border-top: 1px solid #F6F6F6; */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FAFAFA;
}


/** Three cards styling */
.cards {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-basis: 33%;
    padding: 56px 56px 56px 40px;
    gap: 20px;
    background: linear-gradient(0deg, rgba(213, 40, 39, 0.9), rgba(213, 40, 39, 0.9)), #0A0B3A;
    border-radius: 12px;
}

.card h5 {
    font-weight: 600;
    font-size: 24px;
    color: #0E0E11;
}

.card p, .card p a {
    color: white;
}

.card p a {
    text-decoration-line: underline;
}


/** Reference component */
#reference-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#reference-title h2 {
    margin-bottom: 20px;
}

#reference-arrows {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

#reference-cards {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    gap: 20px;
}

.reference-card {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #FAFAFA;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 20px 40px 50px;
    width: 32%;
    overflow: hidden;
}

.reference-card .reference-heading {
    padding: 0 14px;
}

.reference-card h5 {
    margin-bottom: 0;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 16px;
    color: #112B3C;
    margin-top: 5px;
}

.reference-card p {
    margin-top: 30px;
    font-weight: 400;
    line-height: 180%;
    color: #808080;
}

.reference-card .logo-container {
    padding: 0;
}

.reference-card img {
    width: 100%;
}


/** Reasons component */
#reasons {
    font-weight: 400;
    line-height: 180%;
    color: #808080;
}

#reasons-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#reasons-text {
    flex-basis: 55%;
}

.reason {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 30px;
    background: #F5F5F5;
    border-radius: 12px;
    cursor: pointer;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.reason-title {
    display: flex;
    justify-content: space-between;
}

.reason-title h5 {
    font-weight: 600;
    font-size: 24px;
    color: #0E0E11;
}

.reason-title span {
    display: flex;
    align-items: center;
}

.reason-text {
    display: none;
}


/** Input fields styling */
.form-row-jobinn {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-group-jobinn {
    position: relative;
    width: 100%;
    padding: 15px 0 0;
    margin-top: 10px;
    background: rgba(255, 251, 241, 0.1);
    border-radius: 8px;
}

.form-group-jobinn:has(.form-field-jobinn:focus) {
    border: 1px solid #FFFFFF;
}

.form-field-jobinn {
    width: 100%;
    border: 0;
    outline: 0;
    font-weight: 700;
    line-height: 21px;
    letter-spacing: 0.025em;
    color: #FFFBF1;
    padding: 8px 14px;
    background: transparent;
    transition: border-color 0.2s;
}

.form-group-jobinn select {
    margin-top: 10px;
}

input:-webkit-autofill, input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

.form-field-jobinn::placeholder {
    color: transparent;
}

.form-field-jobinn:placeholder-shown ~ .form-label-jobinn {
    font-size: 16px;
    cursor: text;
    top: 20px;
}

.form-group-jobinn label, .form-field-jobinn:focus ~ .form-label-jobinn {
    position: absolute;
    top: 8px;
    left: 14px;
    display: block;
    transition: 0.2s;
    color: #FFFBF1;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-field-jobinn:focus {
    padding-bottom: 6px;
}


/** Checkbox styling */
.form-checkbox-jobinn {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-top: 12px;
    cursor: pointer;
    color: #FFFBF1;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-text {
    padding-top: 7px;
}

.form-checkbox-jobinn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background: rgba(255, 251, 241, 0.1);
    border: 1px solid #FFFFFF;
    border-radius: 8px;
}

.form-checkbox-jobinn:hover input ~ .checkmark {
    background: rgba(255, 251, 241, 0.4);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.form-checkbox-jobinn input:checked ~ .checkmark:after {
    display: block;
}

.form-checkbox-jobinn .checkmark:after {
    left: 8px;
    top: 3px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/** Form container styling */
#form-box {
    margin: 150px 250px;
    padding: 56px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #D52827;
    border-radius: 19px;
}

#form-box label {
    color: #FFFBF1;
}

#form-box input[type=submit], #form-box button, #form-box a {
    margin-top: 30px;
}

#form-box h4 {
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

#form-box h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: #FFFFFF;
}

.form-page-jobinn {
    text-align: left;
}

.form-page-jobinn h4 {
    margin-top: 30px;
}

.register-textbox {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: rgba(255, 251, 241, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 12px;
}

.form-buttons-jobinn {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.error {
    color: rgba(255, 255, 255, 0.7);
}

.text-danger {
    color: rgba(255, 255, 255, 0.7);
}

@media screen and (min-width: 772px) and (max-width: 1000px) {
    .reference-card {
        padding: 12px;
    }   
}

/** Screen size specific styling */
@media screen and (min-width: 0px) and (max-width: 772px) {
    h1, h2 {
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
    }

    h4 {
        font-size: 14px;
        line-height: 17px;
    }

    #body .content:not(:first-child) {
        margin-top: 60px;
    }

    .border {
        padding-bottom: 520px;
        padding-top: 60px;
        margin-top: 90px;
    }

    .cards {
        flex-direction: column;
    }

    .reference-card {
        width: 100%;
    }

    #nav-text {
        flex-direction: column;
    }

    #navigation {
        flex-direction: column;
        align-items: center;
    }

    #login-item {
        margin-top: 80px;
    }

    #dropdown-menu-link {
        display: initial;
    }

    .dropdown {
        width: 100%;
    }
}

@media screen and (min-width: 0px) and (max-width: 1440px) {
    .border-round-left {
        border-radius: 150px 0 0 0;
    }

    .border-round-right {
        border-radius: 0 150px 0 0;
    }
}

@media screen and (min-width: 0px) and (max-width: 1044px) {
    #register-box-text {
        flex-basis: 100%;
    }

    #register-box-text p {
        max-width: 80%;
    }

    #woman-wrapper > img {
        display: none;
    }

     #woman {
        top: 212px;
        right: 10px;
    }

    #woman img {
        height: 230px;
    }

    #register-box {
        border-radius: 24px 24px 0 24px;
    }
}

@media screen and (min-width: 0px) and (max-width: 826px) {
    #woman {
        top: 211px;
    }

    #contact-wrapper {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
    }

    #contact-general {
        max-width: 100%;
    }

    footer {
        padding-top: 80px;
    }

    #contact-wrapper {
        padding-top: 220px;
    }

    #register-box {
        top: -300px;
    }

    #footer {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (min-width: 0px) and (max-width: 670px) {
    #woman {
        top: 317px;
        right: 0;
    }

    #woman img {
        height: 180px;
    }
}

@media screen and (min-width: 0px) and (max-width: 578px) {
    #woman {
        top: 203px;
    }

    .form-row-jobinn {
        flex-direction: column;
    }

    #register-box-text h2 {
        font-size: 24px;
        line-height: 32px;
    }

    #register-box-text {
        font-weight: 400;
        font-size: 14px;
        line-height: 160%;
    }
}

@media screen and (min-width: 0px) and (max-width: 550px) {
    #woman {
        top: 230px;
    }
}

@media screen and (min-width: 0px) and (max-width: 936px) {
    #reasons-wrapper {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center;
    }

    #form-box {
        margin: 40px 0;
    }
}