html {
    scroll-behavior: smooth;
}

#data-analytics,
#model-development,
#model-implementation,
#model-validation,
#design,
#development,
#deployment {
    scroll-margin-top: 8em;
}

@media (max-width: 1024px) {

    #data-analytics,
    #model-development,
    #model-implementation,
    #model-validation,
    #design,
    #development,
    #deployment {
        scroll-margin-top: 14em;
    }
}

/* Typography for wordpress to fall back on  */

h2 {
    font-size: 2.25rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.75rem;
    font-weight: 600;
}

/* End of Typography for wordpress to fall back on  */

/* Code for texts inside gutenbergblocks */
.wordpress-guten ul {
    list-style: disc;
}

.wordpress-guten ul li {
    margin-left: 2rem;
}

#form:target {
    outline: 3px solid #F5A52E;
    outline-offset: 5px;

}

/* Styled cursor for typing animation homepage */
.typed-cursor {
    color: #F5A52E;
}

/* Styled image inside figure from wp post */

figure {
    text-align: center;
    border-radius: 13px;
}

figure img {
    margin: 0px;
    display: inline-block;
    max-width: 50rem !important;
    width: 100%;
}

/* Employee background image on posts, vacancies etc  */

.avatar-128 {
    background: -o-linear-gradient(310deg, #274A8C 40%, #2C81A0);
    background: linear-gradient(140deg, #274A8C 40%, #2C81A0);
    border-radius: 100%;
}

.avatar-96 {
    background: #2C81A0;
    border-radius: 100%;
}

.height-max {
    height: 100vh;
}

/* SVG for job listings  */

.svg-jobs {
    fill: none;
    stroke-width: 1;
    stroke: #274A8C;
}

/* Pagination for vacancies */

.page-numbers.current {
    font-weight: 500;
    color: #ffff;
    background: linear-gradient(140deg, #F5A52E 40%, #F16767);
    padding: .5rem 1rem;
    border-radius: 8px;
}

.next.page-numbers,
.prev.page-numbers {
    padding: 0;
}

.page-numbers {
    padding: 1rem;
}

/* Horizontal rule above vacancies on the vacancie detail pages  */

.hr-sect {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #274A8C;
    margin: 8px 0px;
}

.hr-sect::before,
.hr-sect::after {
    content: "";
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background: #274A8C;
    height: 1px;
    font-size: 0px;
    line-height: 0px;
    margin: 0px 8px;
}

/* Employees page where all the employees are listed  */

.super-img {
    background: -o-linear-gradient(310deg, #274A8C 40%, #2C81A0);
    background: linear-gradient(140deg, #274A8C 40%, #2C81A0);
    border-radius: .4rem;
    width: 100%;
    height: auto;
}

.employee__card-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 12px;
    border-radius: 0 0 .5rem .5rem;
    background-color: #2C81A0;
    width: 100%;
}

.allblog-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 12px;
    border-radius: 0 0 .5rem .5rem;
    background-color: #F5A52E;
    width: 0%;
}

.personal-picture {
    margin: 0px;
    display: inline-block;
    max-width: 25rem !important;
    width: 100%;
}

/* Forminator forms  */


@media screen and (max-width: 700px) {
    #select-1 {
        max-width: 310px;
    }
}


/* 404 page styling  */

.error-h1 {
    color: #274A8C;
    font-size: 12.5rem;
    letter-spacing: 0.1em;
    margin: 0.025em 0;
    text-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    font-weight: 700;
}

@media (max-width: 30rem) {
    .error-h1 {
        font-size: 8.5rem;
    }
}

.error-h1>span {
    -webkit-animation: spooky 2s alternate infinite linear;
    animation: spooky 2s alternate infinite linear;
    color: #2C81A0;
    display: inline-block;
}

@-webkit-keyframes spooky {
    from {
        -webkit-transform: translatey(0.15em) scaley(0.95);
        transform: translatey(0.15em) scaley(0.95);
    }

    to {
        -webkit-transform: translatey(-0.15em);
        transform: translatey(-0.15em);
    }
}

@keyframes spooky {
    from {
        -webkit-transform: translatey(0.15em) scaley(0.95);
        transform: translatey(0.15em) scaley(0.95);
    }

    to {
        -webkit-transform: translatey(-0.15em);
        transform: translatey(-0.15em);
    }
}

/* Hero section homepage  */

video {
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    margin: auto;
    background-color: #274A8C;
    width: 100%;
    height: 100%;
    right: -100%;
    bottom: -100%;
    top: -100%;
    left: -100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: -100;
}

.new-bg {
    background-color: #2b3145;
}

.c2a-header {
    background-color: #F5A52E;
    color: #ffff;
    padding: 20px 40px;
    border-radius: 11px;
    font-size: 1.3rem;
}

/* Blogpost module on the homepage  */

.blog__post-home {
    border: 1px solid #eae9e9;
    border-radius: 13px;
    background-color: #ffff;
    padding: 1rem;
    position: relative;
    -webkit-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease;
}

.blog__post-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 12px;
    border-radius: 0 0 13px 13px;
    background-color: #F5A52E;
    width: 100%;
}

.blog__post-home:hover {
    -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    -webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
}

.blog__post-home:hover .blog__post-link {
    color: #F5A52E;
}

/* Scroll tracker styling navbar */

.scroll-tracker {
    position: fixed;
    inset: 0 0 auto;
    height: .5rem;
    background: rgb(245, 165, 46);
    z-index: 9999;
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
}

/* Menu items stying navbar */

nav {
    color: #ffff;
    width: 100%;
    background: linear-gradient(140deg, #274A8C 40%, #2C81A0);
    left: 0;
    top: 0;
    position: fixed;
    z-index: 999;
    /* padding: .5rem 0; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

nav.scrolled {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    transition: all 300ms ease-in-out;
    height: 70px;
}

nav #nav-wrapper ul .menu-item-has-children {
    position: relative;
}

nav #nav-wrapper ul .menu-item-has-children a {
    display: flex;
    align-items: center;
    gap: .5rem;
}

nav #nav-wrapper ul .menu-item-has-children>a::after {
    content: '';
    border: 4px solid transparent;
    border-top: 8px solid white;
    margin-top: 2px;
}

nav #nav-wrapper ul .menu-item-has-children .sub-menu.dark-submenu {
    background: linear-gradient(140deg, #000000 40%, #2C81A0);
}

nav #nav-wrapper ul .menu-item-has-children .sub-menu {
    position: absolute;
    top: 1.7rem;
    left: 0;
    transform: translate(-18px, 10px);
    background: linear-gradient(140deg, #274A8C 40%, #2C81A0);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    border-radius: 8px;
    color: #fff;
    width: fit-content;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    text-align: start;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease-in-out;
}

nav #nav-wrapper ul .menu-item-has-children .sub-menu li {
    padding: .4rem;
}

nav #nav-wrapper ul .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

nav #nav-wrapper ul li a {
    padding: .5rem;
}

nav #nav-wrapper ul li a:hover,
nav #nav-wrapper ul li a.active {
    background-color: #7489aed8;
    border-radius: 8px;
}

.hamburger-menu:hover {
    cursor: pointer;
}

.hamburger-menu {
    padding: .5rem;
    transform: rotate(180deg);
    background-color: #fff;
}

.hamburger-menu-span {
    color: #fff;
    margin-right: .5rem;
    font-size: 1rem;
    line-height: 1;
}

.hamburger-menu .line {
    height: 2px;
    background-color: rgb(44 123 158);
    width: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 5px;
}

.hamburger-menu .line-short {
    height: 2px;
    background-color: rgb(44 123 158);
    width: 18px;
    margin-bottom: .5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-radius: 5px;
}

.hamburger-menu .line:not(:last-child) {
    margin-bottom: .5rem;
}

.hamburger-wrapper {
    display: none;
}

/* Show on mobile */
@media (max-width: 768px) {
    .wrapper.wrapper-dark {
        background: linear-gradient(18deg, #000000 40%, #2C81A0);
    }

    .hamburger-wrapper {
        display: flex;
        align-items: center;
    }

    .wrapper {
        opacity: 0;
        position: absolute;
        height: fit-content;
        /* background: -o-linear-gradient(310deg, #274A8C 40%, #2C81A0); */
        background: linear-gradient(140deg, #274A8C 40%, #2C81A0);
        color: #fff;
        top: 0;
        right: -250px;
        transition: all 500ms ease-in-out;
    }

    .wrapper.active-wrapper {
        opacity: 1;
        right: 0px;
        width: 50vw;
    }

    #menu-navbar {
        flex-direction: column;
        height: 100vh;
        justify-content: center !important;
        text-align: center;
    }

    .hamburger-menu {
        display: block;
        transition: all ease 200ms;
    }

    .hamburger-menu-span {
        display: block;
    }

    nav #nav-wrapper ul li {
        padding: 1rem;
    }

    nav #nav-wrapper ul .menu-item-has-children {
        padding-bottom: 0;
    }

    nav #nav-wrapper ul .menu-item-has-children a {
        display: inline;
    }

    nav #nav-wrapper ul .menu-item-has-children>a::after {
        content: none;
    }

    nav #nav-wrapper ul .menu-item-has-children .sub-menu.dark-submenu {
        background: none;
    }

    nav #nav-wrapper ul .menu-item-has-children .sub-menu {
        position: relative;
        background: none;
        display: flex;
        align-items: center;
        text-align: center;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        top: 0;
        left: 0;
        padding-bottom: 0;
        transform: none;
    }

    nav #nav-wrapper ul .menu-item-has-children .sub-menu li {
        padding: 1rem;
    }

    .hero-form::before {
        content: '';
        background: rgb(39, 74, 140);
        background: linear-gradient(107deg, rgba(39, 74, 140, 1) 35%, rgba(44, 129, 160, 1) 100%);
        position: absolute;
        top: 15rem;
        right: 0px;
        height: 30vh;
        width: 45vw;
        border-radius: 8px 0 0 8px;
        z-index: -1;
        display: none;
    }
}

.dark-layer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 950;
}

/* Content vacancie detail page */

.entry-content h3 {
    font-size: 1.4rem;
    color: #2b3145;
}

.entry-content h2 {
    font-size: 1.9rem;
    color: #2b3145;
    font-weight: 600;
}

@media (max-width: 992px) {
    .entry-content h2 {
        font-size: 1.4rem;
    }

    .entry-content h3 {
        font-size: 1.25rem;
    }
}

.entry-content p strong {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2b3145;
}

/* Swiper content CSS */

.swiper-container,
[data-role="swiper-container"] {
    position: relative;
    overflow: hidden;
}

.swiper-container>.swiper-slide__content {
    position: absolute;
    top: 0;
}

.swiper-slide {
    height: 170px;
    display: flex;
    background: #f8fafc;
    align-items: center;
    justify-content: center;
    transition: all 200ms linear;
    transform: scale(0.8);
}

.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide__content {
    height: 250px;
}

/* Page loading spinner  */

.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.loader>div {
    display: grid;
    place-items: center;
}

.lds-facebook {
    display: inline-block;
    position: relative;
    height: 100px;
}

.lds-facebook span {
    display: inline-block;
    position: relative;
    width: 16px;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook span:nth-child(1) {
    animation-delay: -0.24s;
    background: #274A8C;
}

.lds-facebook span:nth-child(2) {

    animation-delay: -0.12s;
    background: #2C81A0;
}

.lds-facebook span:nth-child(3) {
    animation-delay: 0;
    background: #F5A52E;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%,
    100% {
        top: 24px;
        height: 32px;
    }
}

.buttons-about-slider {
    height: auto;
    width: fit-content;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 10;
    border: 1px solid;
}

.buttons-about-slider .prev,
.buttons-about-slider .next {
    display: inline-grid;
    place-items: center;
    margin: 10px;
    border-radius: 9999px;
}

.buttons-about-slider .swiper-button-disabled>svg {
    color: rgb(98, 97, 97);
}

.about-slider .swiper-slide {
    height: 100%;
    align-items: start;
}

.buttons {
    height: auto;
    width: auto;
    position: absolute;
    bottom: 1rem;
    right: 0;
    z-index: 10;
}

.buttons .prev,
.buttons .next {
    display: inline-grid;
    place-items: center;
    margin: 10px;
    border-radius: 9999px;
    width: 40px;
    height: 40px;
}

.buttons .swiper-button-disabled {
    background: blanchedalmond;
}

.buttons .swiper-button-disabled:hover {
    transform: scale(1);
    box-shadow: none;
}



.blogpost-slider .swiper-slide {
    height: 100%;
}

.terms h3 {
    font-size: 1.25rem;
}

/* Forminator form fields styling */

.forminator-field {
    display: flex;
    flex-direction: column;
}

.forminator-field input,
.forminator-field select {
    border: 1px solid #D4D4D4;
    border-radius: 8px;
    padding: .4rem;
}

.forminator-field button {
    background: linear-gradient(140deg, #F5A52E 40%, #F16767);
    color: #fff;
    padding: 0.75rem 1.5rem;
    width: 100%;
    border-radius: 8px;
    margin-top: .5rem;
}

.forminator-field button:hover {
    background: linear-gradient(140deg, #F5A52E 40%, #f5a92e);
    color: #fff;
    padding: 0.75rem 1.5rem;
    width: 100%;
    border-radius: 8px;
    margin-top: .5rem;
    transition: background .5s ease;
}

.forminator-row.forminator-row-last {
    margin-bottom: 0 !important;
}

.forminator-error-message {
    color: #F16767;
}

.forminator-response-message.forminator-show.forminator-error {
    padding: .75rem;
    border-left: 6px solid #F16767;
    margin-bottom: 1rem;
    background-color: #fff;
    color: #2b3145;
}

.forminator-response-message.forminator-show.forminator-success {
    padding: .75rem;
    border-left: 6px solid rgb(108, 175, 108);
    margin-bottom: 1rem;
    background-color: #fff;
    color: #2b3145;
}

.forminator-response-message.forminator-error.forminator-accessible {
    display: none;
}

.hero-form::before {
    content: '';
    background: rgb(39, 74, 140);
    background: linear-gradient(107deg, rgba(39, 74, 140, 1) 35%, rgba(44, 129, 160, 1) 100%);
    position: absolute;
    top: 15rem;
    right: 0px;
    height: 30vh;
    width: 45vw;
    border-radius: 8px 0 0 8px;
    z-index: -1;
}

@media (min-width: 375px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

p {
    line-height: 1.6;
}