/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */

/* Bitter-bold,
Montserrat-Medium,
Montserrat-Regular,
Montserrat-SemiBoldItalic
 */

@import url("https://fonts.googleapis.com/css?family=Bitter:100,200,300,400,500,700|Montserrat:400,500,600i&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat+Alternates:600i&display=swap");
body {
    margin: 0px !important;
}

/* #211D50 */

:root {
    --main-color: rgb(33, 29, 80);
    --accent-color: #03a9e0;
}

*:focus {
    outline: 0 !important;
    outline: none !important;
}

.main-color {
    color: var(--main-color) !important;
}

.accent-color {
    color: var(--accent-color) !important;
}

.site-width {
    max-width: 1400px;
}

a,
a:visited {
    color: var(--main-color);
    word-break: break-word;
}

a:hover,
a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

a.button {
    align-self: end;
    margin-left: 0.5em;
    background-color: var(--main-color);
    color: #ffffff;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

a.button:hover {
    background-color: var(--accent-color);
}

ul {
    font-family: "Montserrat", sans-serif;
    color: var(--main-color);
}

p {
    font-family: "Montserrat", sans-serif;
    color: var(--main-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h3,
h4 {
    font-family: "Bitter", sans-serif;
    color: var(--main-color);
}

main {
    margin-bottom: 5em;
}

.header-image-shortener {
    max-height: 600px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

/* Mobile First */

/* Nav */

.logo-wrapper {
    max-width: 1400px;
    margin: auto;
}

.logo {
    width: 20em;
}

.mobile-nav {
    display: none;
}

.mobile-nav ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.mobile-nav ul li {
    margin: 0.25em 0;
    border-bottom: solid 1px var(--main-color);
}

.mobile-nav ul li:last-child {
    border: none;
}

.fa {
    font-size: 2em;
    color: var(--main-color);
    margin: 0.5em;
}

.desktop-nav {
    display: none;
}

.arrows {
    display: none;
}

/* Front Page */

.header-img-width {
    /*max-width: 768px !important;*/
    /*height:100%; acts strange on chrome, think about what to do here*/
    width: 100%;
    height: intrinsic;
}

.header-info p {
    /*color: aliceblue;*/
    font-weight: bold;
    font-size: 1.2em;
}

/*************************    Front-page-header-rectangles     *************************/
.header-info {
    /*background-color: var(--main-color);*/
    background-color: #abd53880;
    color: aliceblue;
}

.header-contact-btn {
    background-color: var(--accent-color);
    color: aliceblue;
    opacity: 0.85;
    display: none;
}

.header-contact-btn p a {
    /* font-weight: bold; */
    font-family: "Bitter", serif;
    color: aliceblue;
}

/*New text-slides ^^ */
/*.active{*/
/*    display:flex !important;*/
/*}*/
/*.text-slide,*/
/*.text-slide-2,*/
/*.text-slide-3{*/
/*    display:none;*/
/*}*/

/* Corona */

.corona {
    text-align: center;
    background: red;
    position: relative;
    top: -1.5em;
    padding: 0px;
}
.corona a h1 {
    padding: 0.5em;
    font-size: 1.5em;
    width: fit-content;
    margin: auto;
    color: white;
}
.corona a h1:hover {
    color: red;
    background: white;
}

/* section */

.front-section {
    margin: 0 auto 5em;
    width: 85%;
}

.front-section h1,
.front-section + h1 {
    font-family: "Bitter", serif;
    font-weight: bold;
    color: var(--main-color);
}

.front-section p {
    margin: 1em auto;
    font-family: "Montserrat", sans-serif;
}

.front-content-title {
    font-family: "Bitter", serif;
    font-weight: bold;
}

.front-content-title,
.front-content-wrapper,
.front-content-item {
    text-align: center;
    width: 75%;
    margin: auto;
    color: var(--main-color);
}

.front-content-item h4 {
    font-family: "Bitter", serif;
    font-weight: bold;
}

.front-content-item img {
    width: 100px;
    margin-bottom: 1em;
}

.title-not-home {
    margin-top: 1em;
}

/* About page */

.email {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 0.8em;
    margin-bottom: 0em;
}

/* Individual about page*******************************/
.ind-bio-img {
}

.staff-single {
}

/* staff section  */

.staff:nth-child(odd) > div {
    padding: 0 0 0 0 !important;
}

.staff img {
    width: 100%;
    margin: 2em;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
}
.staff h3 {
    font-family: "Montserrat", sans-serif;
    margin-bottom: 0.65em;
    font-size: 1.25em;
}
.staff > div {
    width: 80%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}
.staff-inner-div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* Services */
.services h3 {
    margin-top: 1em;
}
.services img {
    width: 32em;
    /* 		margin-left:1.5em; */
}
.services {
    /* 	width: 85%; */
    margin: 10em auto;
}
/* Contact */

input.wpcf7-form-control.wpcf7-submit {
    background: var(--main-color);
    color: var(--accent-color);
}

.form-wrapper {
    margin-top: 5em;
}

form,
input {
    max-width: 17em;
}

.map-wrap {
    height: 17em;
}

/* Blog */

.blog-wrapper {
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 4em;
}
.blog-wrapper:last-child {
    border: none;
}

/* footer */

footer h4 {
    color: aliceblue;
    text-align: center;
    background-color: var(--main-color);
    margin: 0px 0 -5px 0;
    padding-top: 0.5em;
    font-size: 2em;
    font-family: "Bitter", serif;
}

.footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: var(--main-color);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer div {
    color: aliceblue;
    text-align: center;
    margin: 0.5em;
}

.copyright-info {
    text-align: center;
    margin: 0px;
    background-color: var(--accent-color);
    color: aliceblue;
    text-transform: uppercase;
    font-size: 0.9em;
}

.marker {
    width: 3em;
}

.marker + p {
    font-size: 0.75em;
}

.phone {
    color: white;
}
.phone:hover {
    color: var(--accent-color);
}

.footer-item-3 ul li {
    padding: 0.15em 0;
}

.footer-item-3 ul li a {
    color: aliceblue;
    font-size: 0.9em;
}

.footer-item-3 ul li a:hover {
    color: var(--accent-color);
}

/* iPad  */

@media only screen and (min-width: 768px) {
    .logo {
    }

    .arrows {
        font-size: 4em;
        color: #808080a3;
        position: absolute;
        top: 3.5em;
        display: initial;
    }
    .arrow-left {
        left: 0.25em;
    }
    .arrow-right {
        right: 0.25em;
    }
    /*.mobile-nav {*/
    /*    display: none;*/
    /*}*/

    .desktop-nav ul {
        display: -ms-grid;
        display: grid;
        width: 100%;
        padding: 0 10em;
        background: var(--main-color);
        margin: 0;
        grid-auto-flow: column;
        text-align: center;
        list-style: none;
    }
    .desktop-nav li {
        padding: 0.75em 0;
        max-width: 16em;
    }
    .desktop-nav li:hover {
        background: var(--accent-color);
        text-decoration: none;
    }
    .desktop-nav li a {
        color: white;
    }
    .desktop-sub-nav {
        display: none;
        position: relative;
        z-index: 2;
    }
    .desktop-sub-nav > div {
        z-index: 1;
        background-color: var(--main-color);
        width: 100%;
        text-align: justify;
        max-width: 16em;
    }
    .desktop-sub-nav > div li {
        /*padding-left:1em;*/
        max-width: 16em;
        text-align: center;
    }

    /* Front Page */
    .header-img-width {
        max-width: 1400px !important;
        margin: auto;
    }
    .header-info-wrapper {
        height: 3em;
        /*position:absolute;*/
    }

    .header-info {
        position: absolute;
        top: 60%;
        left: 45%;
        width: 24em;
        z-index: 3;
        padding: 1.5em;
    }
    .header-contact-btn {
        position: relative;
        bottom: 15em;
        width: 12em;
        right: -34em;
    }
    .header-contact-btn p {
    }
    /* section */
    .front-content-title {
        font-size: 3em;
    }
    .front-section p,
    .front-section h4,
    .services h3 {
        /*width: 80%;*/
        margin: 0.5em 0em;
    }
    /*.front-section {*/
    /*    width: initial;*/
    /*}*/
    .front-content-item {
        width: 75%;
    }
    .front-content-item p {
        /* width: 2em; */
    }
    /* About Page */
    .email {
        font-size: 1em;
    }
    /* Section */
    .staff {
        width: 92%;
        margin: auto;
    }

    .staff > div {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .staff img {
        /*max-width: 275px;*/
        margin: 1em;
    }

    /* Contact */
    .map-wrap {
        height: 30em;
    }
    form,
    input,
    textarea {
        max-width: unset;
        width: 20em;
    }
    /* Services */
    .services img {
        min-width: 50%;
    }

    /* Footer */
    .footer {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        margin-top: -2em;
    }
    .footer-item-1 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 30%;
    }
    .footer-item-2 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 50%;
        /* border-right: solid aliceblue 1px; */
        /* border-left: solid aliceblue 1px; */
        /*padding: 1em 0;*/
    }
    .marker-wrapper {
        text-align: left;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: end;
        margin-top: 1em;
    }
    .marker {
        margin: 0em 1em;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }
    .marker + p {
        text-align: left;
    }
    .footer-item-3 {
        width: 20%;
    }
    .footer-logo {
        width: 14em;
    }
}

/*****************************************************Special Cirumstance********************/

@media only screen and (max-width: 767px) {
    .header-info-wrapper {
        display: none;
    }
}

@media only screen and (min-width: 992px) {
    .mobile-nav {
        display: none;
    }
    .fa {
        display: none;
    }

    .mobile-nav ul {
        display: none;
    }
    .desktop-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .staff,
    .services {
        max-width: 1300px;
    }
    /*.staff:nth-child(even)>div,*/
    .services:nth-child(odd) > div {
        -webkit-box-orient: horizontal !important;
        -webkit-box-direction: reverse !important;
        -ms-flex-direction: row-reverse !important;
        flex-direction: row-reverse !important;
        padding: 0 0 0 0 !important;
    }
    .staff img {
        margin: 2em;
        max-width: 280px;
        border: #eee 1px solid;
    }

    /* Services */

    .services h3 {
        width: 90%;
        /*      margin: 1em auto 0em; */
        margin: 0em;
    }
    .services p {
        width: 90%;
        padding-bottom: 2em;
    }
    .services img {
        /*         width: 34em !important; */
        /*         max-height: 17em; */
        min-width: 40%;
    }

    .footer-item-1 {
        width: 25%;
    }
    .footer-item-2 {
        border-right: solid aliceblue 1px;
        border-left: solid aliceblue 1px;
        /*padding: 1em 0;*/
    }
    .address-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        /*width: 24em;*/
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
}

@media only screen and (min-width: 1000px) {
    .header-info {
        top: 70%;
        left: 50%;
    }
    .header-contact-btn {
        right: -46em;
    }
    .front-content-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
    .front-content-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 2.25em;
        text-align: center;
        width: 33%;
        padding: 0 2em;
    }
}

@media only screen and (min-width: 1200px) {
    .header-info {
        top: 75%;
        left: 60%;
    }
    .header-contact-btn {
        right: -59em;
    }
    .footer {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .address-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        -ms-flex-pack: distribute;
        justify-content: space-around;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

@media only screen and (min-width: 1400px) {
    /*     .header-info {
        top: ;
        left:  ;
    } */
    .header-contact-btn {
        right: -76em;
    }
    .desktop-nav ul {
        padding: 0px 15em;
    }
    .staff > div {
        -webkit-box-pack: initial;
        -ms-flex-pack: initial;
        justify-content: initial;
    }
}

@media only screen and (min-width: 1900px) {
    .header-info {
    }
    .header-contact-btn {
        right: -86em;
    }
    .desktop-nav ul {
        padding: 0px 20em;
    }
}

@media only screen and (min-width: 2200px) {
    .header-info {
    }
    .header-contact-btn {
        right: -106em;
    }
    .desktop-nav ul {
        padding: 0px 22em;
    }
}
