@font-face {
    font-family: "OpenSans Light";
    font-display: swap;
    src: url(../fonts/OpenSans/OpenSans-Light.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Regular";
    font-display: swap;
    src: url(../fonts/OpenSans/OpenSans-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Medium";
    font-display: swap;
    src: url(../fonts/OpenSans/OpenSans-Medium.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Semibold";
    font-display: swap;
    src: url(../fonts/OpenSans/OpenSans-SemiBold.ttf) format("truetype");
}

@font-face {
    font-family: "OpenSans Bold";
    font-display: swap;
    src: url(../fonts/OpenSans/OpenSans-Bold.ttf) format("truetype");
}

:root {
    --btn-blue: #005192;
    --custom-blue: #00508F;
    --custom-darkblue: #040F18;
}

/* custom checkbox */
.custom-checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.custom-checkbox p {
    margin-bottom: 0;
}

.custom-checkbox input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
}

.custom-checkbox span {
    display: inline-block;
    width: 25px;
    height: 25px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--btn-blue);
    background-color: #fff;
    margin-right: .5em;
    position: relative;
    cursor: pointer;
}

.custom-checkbox input:checked ~ span {
    background-color: var(--btn-blue);
}

.custom-checkbox span::after {
    display: none;
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
}

.custom-checkbox input:checked ~ span::after {
    display: block;
}
/* end of custom checkbox */

/* navbar */
button.nav-link {
    background-color: transparent;
    border: none;
    outline: none;
}

button.nav-link::after {
    display: none;
}

.navbar .dropdown-menu {
    left: unset;
    right: 30px;
    min-width: 12rem;
    text-align: center;
    border-radius: 0;
}

.navbar .dropdown-menu a {
    color: #000;
    margin: 0 !important;
}

.navbar .dropdown-menu a:hover {
    background-color: transparent;
}
/* end of navbar */

/* static content */
.static-content h1,
.static-content h2,
.static-content h3,
.static-content h4,
.static-content h5,
.static-content h6 {
    font-family: "OpenSans Semibold", serif;
    text-transform: uppercase;
}

.static-content h1 {
    font-size: 35px;
}
.static-content h2 {
    font-size: 32px;
}
.static-content h3 {
    font-size: 30px;
}
.static-content h4 {
    font-size: 25px;
}
.static-content h5 {
    font-size: 22px;
}
.static-content h6 {
    font-size: 19px;
}

.static-content img {
    max-width: 100%;
}

.static-content ul {
    columns: 2;
    padding: 0;
}

.static-content li {
    list-style-type: none;
    position: relative;
    margin-bottom: 0.6em;
    padding-left: 45px;
    display: inline-block;
}

.static-content li::before {
    content: "";
    background-color: #000;
    border-radius: 5px;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 0;
}
/* end of static content */

/* base stuff */
form label a,
form label a:hover {
    text-decoration: underline;
}

.base_container {
    min-height: 450px;
}

.light.cc_dialog {
    padding: 1em 1.5em !important;
    max-width: 90% !important;
}

.navbar-nav .dropdown-toggle::after,
.hidden {
    display: none;
}

html {
    scroll-behavior: smooth;
}

.navbar-toggler {
    border-color: #8d9aab;
}

form small {
    text-align: left !important;
    color: #f00;
}

a:focus,
a:hover,
a:focus *,
a:hover *{
    text-decoration: none !important;
    color: currentColor;
}
/* end of base stuff*/

/* popup */
.popup-modal {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 600px;
    /*height: 400px;*/
    height: fit-content;
    max-width: 95%;
    max-height: 95%;
    z-index: 1010;
    box-shadow: 0 0 15px -3px rgba(0,0,0,0.35);
    padding: 1.2em 1em;
    overflow: scroll;
}

/*.popup-modal .popup-content {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    overflow: auto;*/
/*    padding: 1.2em 1em;*/
/*}*/

.popup-modal #closePopup {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.1em 0.3em;
    cursor: pointer;
    font-size: 25px;
    z-index: 100;
}
/* end of popup */

.navbar-nav .active-link {
    color: #05b2ff;
}

a,
body {
    font-family: "OpenSans Regular", serif;
    color: #2b2b2b;
}

a:hover {
    text-decoration: none;
    color: #2b2b2b;
}

.nav-link {
    padding-right: 0.5em !important;
    padding-left: 0.5em !important;
    margin-right: 0.5em !important;
    margin-left: 0.5em !important;
}

.general-padding {
    padding-top: 5em;
    padding-bottom: 5em;
}

.header-logo-anchor {
    display: inline-block;
}

.header-logo-anchor img {
    width: 60px;
}

.header-top-area {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-anchor-bar {
    display: flex;
    align-items: center;
    gap: 1em;
}

.header-anchor-bar a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--custom-blue);
    font-family: "OpenSans Semibold", serif;
    font-size: 14px;
}

.header-anchor-bar a img {
    width: 18px;
}

.header-anchor-bar a img.social-icon {
    width: 25px;
}

.main-nav-container {
    background-color: var(--custom-darkblue);
    color: #fff;
}

.main-nav-container a {
    color: #fff;
}

.language-select .dropdown-menu {
    right: 0;
    min-width: 60px;
    padding: 0;
    background-color: rgba(93, 93, 93, 0.65);
}

footer {
    background-color: #000;
    color: #fff;
    padding-top: 2em;
    padding-bottom: 2em;
}

footer a,
footer a:hover {
    color: #fff;
}

.footer-logo {
    width: 128px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
}

.footer-bottom a {
    font-family: "OpenSans Bold", serif;
}

.footer-positions-btn {
    border: 2px solid #fff;
    font-family: "OpenSans Semibold", serif;
    font-size: 20px;
    border-radius: 6px;
    padding: 0.5em 1em;
    display: inline-block;
}

.footer-nav {
    display: inline-block;
    margin-bottom: 0.5em;
}

.footer-title {
    font-family: "OpenSans Semibold", serif;
    font-size: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--custom-blue);
    display: inline-block;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1em;
    text-transform: uppercase;
    font-family: "OpenSans Semibold", serif;
    font-size: 16px;
    margin-bottom: 1em;
}

.main-hero {
    position: relative;
}

.main-hero img {
    width: 100%;
}

.gradient-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, black 0%, rgba(14, 14, 14, 0.8) 50%, rgba(255, 255, 255, 0) 75%);
}

.hero-text-block {
    position: absolute;
    color: #fff;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hero-text-block a {
    color: #fff;
}

.hero-text-block h1 {
    font-family: "OpenSans Semibold", serif;
    font-size: 30px;
}

.hero-text-inner {
    width: 75%;
}

.hero-buttons {
    display: flex;
    gap: 1em;
}

.main-button, .secondary-button {
    display: inline-block;
    border-radius: 6px;
    padding: 0.6em 1.7em;
}

.main-button {
    border: none;
    background-color: var(--btn-blue);
    color: #fff;
}

.main-button:hover {
    color: #fff;
}

.secondary-button {
    border: 1px solid #fff;
}

.secondary-button.blue {
    border: 1px solid var(--custom-blue);
    color: var(--custom-blue);
}

.home-services-container {
    background-image: url("../images/home-services-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 12em;
    padding-bottom: 12em;
}

.static-content.white, .static-content.white a {
    color: #fff;
    font-family: "OpenSans Medium", serif;
}

.service-blocks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.service-block {
    background-color: #fff;
    box-shadow: 0 4px 10px 0 #00000040;
    border-radius: 10px;
    padding: 10px;
    width: calc(20% - 13px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.service-block .service-icon-container {
    height: 45px;
    text-align: center;
}

.service-block .service-icon-container img {
    height: 100%;
}

.service-block p {
    font-family: "OpenSans Semibold", serif;
    font-size: 13px;
}

.service-block a {
    color: var(--custom-blue);
    font-size: 13px;
}

.why-us-container {
    background-color: #202020;
    position: relative;
}

.why-us-container > img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 100%;
    object-fit: cover;
}

.why-us-blocks-container {
    row-gap: 30px;
}

.why-us-blocks-container .service-block {
    width: 100%;
    align-items: flex-start;
    height: 100%;
    padding: 15px;
}

.why-us-blocks-container.services-blocks .service-block {
    box-shadow: none;
    border: 1px solid var(--custom-blue);
}

.why-us-blocks-container .service-block .service-icon-container {
    height: 70px;
    text-align: center;
}

.why-us-blocks-container .service-block p {
    text-transform: uppercase;
    font-size: 18px;
}

.why-us-blocks-container .service-block > div {
    font-size: 15px;
}

#splide {
    padding: 0 50px;
}

#splide .prev,
#splide .next {
    width: 40px;
    border: none;
    background: none;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#splide .prev img,
#splide .next img {
    width: 100%;
}

#splide .prev {
    left: 0;
}

#splide .prev img {
    transform: rotate(180deg);
}

#splide .next {
    right: 0;
}

#splide .splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 570px;
}

#splide .splide__slide img {
    object-fit: cover;
    height: 100%;
    transition: 0.3s;
    border-radius: 10px;
    box-shadow: 0 0 30px 7px #00508F36;
}

#splide .splide__slide:not(.is-visible) img {
    transform: scale(0.8);
}

#splide .splide__track {
    padding-top: 30px;
    padding-bottom: 30px;
}

.contact-card {
    border-right: 20px solid #000;
    padding: 15px;
}

.contact-list {
    row-gap: 30px;
    margin-bottom: 35px;
}

.contacts-container {
    background-color: #EFEFEF;
}

.contact-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 10px 0 #00000040;
}

.contact-card .name {
    font-family: "OpenSans Bold", serif;
    color: var(--btn-blue);
    font-size: 22px;
    margin-bottom: 5px;
}

.contact-card .position {
    color: #828282;
    font-size: 18px;
}

.contact-card .contact-type {
    font-family: "OpenSans Bold", serif;
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-card .contact-value a {
    font-size: 15px;
}

.contact-card .contact-value:last-child {
    margin-bottom: 0;
}

.home-form-container {
    background: linear-gradient(90deg, rgba(45,45,45,1) 70%, rgba(32,32,32,1) 70%);
}

.home-form-side {
    height: 600px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.home-form-container .custom-checkbox p,
.home-form-container .custom-checkbox a {
    color: #fff;
}

.home-form-container .custom-checkbox a {
    text-decoration: none;
    font-family: "OpenSans Bold", serif;
}

.contacts-line {
    background-color: #313131;
    padding: 1em 0;
}

.contacts-line .header-anchor-bar {
    justify-content: space-between;
}

.contacts-line .header-anchor-bar a {
    color: #fff;
    font-size: 16px;
    font-family: "OpenSans Regular", serif;
}

.subpage-header {
    background-image: url("../images/subpage-header.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
}

.subpage-header h1 {
    font-family: "OpenSans Bold", serif;
    font-size: 48px;
    color: #fff;
}

.header-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;
}

.header-breadcrumb img {
    width: 24px;
    height: 24px;
}

.header-breadcrumb a {
    color: #fff;
    font-family: "OpenSans Light", serif;
}

.header-breadcrumb a:last-child,
.header-breadcrumb a:last-child:hover {
    color: var(--custom-blue);
    font-family: "OpenSans Semibold", serif;
}

.contact-link-block {
    background-image: url("../images/contact-link-block-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.service-list-item {
    display: flex;
    gap: 1em;
    border-radius: 10px;
    box-shadow: 0 4px 10px 0 #00000040;
}

.service-list-item img {
    max-width: unset;
    width: 250px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-list-item .text-part{
    width: 100%;
    border-radius: 10px;
    padding: 1em;
}

.service-why-us-side {
    height: 100%;
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

.service-list-item .service-name {
    font-family: "OpenSans Semibold", serif;
    font-size: 19px;
}

.service-list-item .service-desc {
    font-size: 15px;
}

.gallery-img-block img {
    width: 100%;
    aspect-ratio: 1 / 1.3;
    object-fit: cover;
    border-radius: 10px;
}

.contact-section-title {
    background-color: var(--custom-blue);
    padding-top: 1em;
    padding-bottom: 1em;
}

.service-list-item.position-item {
    box-shadow: none;
}

.position-title {
    font-family: "OpenSans Semibold", serif;
    margin-bottom: 0.7em;
    margin-top: 1.2em;
}

.certificate-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

.certificate-item img {
    width: 100%;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 30px 7px #00508F36;
}

.certificate-item .certificate-name {
    font-family: "OpenSans Semibold", serif;
    font-size: 22px;
    text-align: center;
    color: var(--custom-blue);
}

.application-form input,
.application-form select,
.application-form textarea {
    background-color: #FEFEFECC;
    border-radius: 6px;
    border: 1px solid #C6C6C6;
}

.application-form .custom-checkbox p a,
.application-form label {
    font-family: "OpenSans Semibold", serif;
    font-size: 17px;
    text-decoration: none;
}

.application-form .custom-checkbox p {
    font-family: "OpenSans Regular", serif;
    font-size: 17px;
}

.language-select svg {
    width: 28px;
}