body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #001728;
}
a {
    color: #476a81;
    text-decoration: none;
}

h1 {
    font-size: 48px;
}
h2 {
    font-size: 36px;
}
h3 {
    font-size: 32px;
}
h4 {
    font-size: 24px;
}
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 22px;
    }
    h4 {
        font-size: 20px;
    }
}


/* Navbar */
.navbar-brand img {
    max-height: 90px;
}
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 50px;
    }
}
.navbar-nav {
    z-index: 10000;
}
.navbar-nav a {
    padding-top: 18px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 20px;
    /*font-family: 'Montserrat', sans-serif !important;*/
    font-weight: 500 !important;
}

/* Navbar Dropdown */
@media (min-width: 992px) {
    .navbar-dropdown {
        position: absolute;
    }
}
.navbar .navbar-dropdown {
    background: #fff;
    display: none;
    min-width: 180px;
    z-index: 1;
}
.navbar-dropdown a {
    float: none;
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.navbar-dropdown a:hover {
    background: none;
}

/*
@media (max-width: 991px) {
    .navbar-collapse {
        overflow-y: auto;
    }
}
*/

/* Header */
.full-screen {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header {
    /* för centrering av text i header */
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-background {
    position: absolute;
    right: 0;
    width: 100%;
    min-height: 470px;
    height: calc(100% - 70px);
    object-fit: cover;
    z-index: -1;
    bottom: 0;
}

.header .header-caption h1, .header .header-caption span {
    line-height: 1.1;
    font-weight: 800;
}
.header .header-caption p {
    font-size: 24px;
}
@media (max-width: 768px) {
    .header .header-caption p {
        font-size: 18px;
    }
}
.header-centered-text {
    margin: 0 auto;
    max-width: 600px;
}


/* Card */

.card .image {
    width: 100%;
    height: 300px;
    overflow: hidden;

}
.card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.card:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}
.container-text-center {
    max-width: 1200px;
}
/* Section */
.section-odd {
    background: #fafafa !important;
}


/* Buttons */
.btn-theme, .btn-theme2 {
    background-color: #fff;
    color: #001728;
    border-radius: 25px;
    font-size: 22px;
    font-weight: 400;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

/* Settings for images in sections */
.section .image {
    max-height: 532px;
    width: 100%;
    overflow: hidden;

    display: flex;
    align-items: center; /* vertical */
    justify-content: center; /* horizontal */
}
.section .img-cover {
    object-fit: cover;
    object-position: bottom;
}

/* Rounded corners on image */
.img-rounded {
    border-radius: .75rem;
}

/* Larger Padding */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}.py-7 {
     padding-top: 12rem;
     padding-bottom: 12rem;
 }

/* Section */
.section-max-width {
    max-width: 1900px;
}

/* Aligning */
.vertical-align-top {
    display: flex;
    justify-content: start;
    align-items: start;
}
.vertical-align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.vertical-align-bottom {
    display: flex;
    justify-content: end;
    align-items: end;
}
.horisontal-align-left {
    display: flex;
    justify-content: start;
    align-items: start;
}
.horisontal-align-middle {
    display: flex;
    justify-content: center;
    align-items: center;
}
.horisontal-align-right {
    display: flex;
    justify-content: end;
    align-items: end;
}

/* Highlighting text with svg-file */
span.highlight {
    position: relative;
    z-index: 1;
}
span.highlight::after {
    content: "";
    position: absolute;
    top: calc(100% - 0.125rem);
    right: 0;
    left: 0;
    height: 0.25rem;
    background-image: url("../img/svg/underline.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    z-index: -1;
}
h1 span.highlight::after {
    height: .75rem !important;
}
h2 span.highlight::after {
    height: .6rem !important;
}

/* Footer */
.footer ul {
    list-style-type: none;
    padding: 0;
}
.footer ul li {
    padding-bottom: 5px;
    padding-top: 5px;
}

/* Contact */
.contact-icons img {
    width: 30px;
}

/* Form */
.form {
    color: #001728;
    padding: 25px;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 10px 10px 15px rgba(102, 102, 111, 0.25);
    -webkit-box-shadow: 10px 10px 15px rgba(102, 102, 111, 0.25);
}

@media (min-width: 1400px) {
    .form {
        max-width: 600px;
    }
    .form-right {
        min-width: 600px;
        float: right;
    }
}

/* Cookies */
.landing-cookie {
    position: fixed;
    text-align: center;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: #FFF;
    color: #000;
    z-index: 10000;
}

/* Gallery */
.gallery .image {
    width: 100%;
    height: 350px;
    overflow: hidden;

}
.gallery .image img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
}
@media (max-width: 767px) {
    .gallery .image {
        height: 180px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .gallery .image {
        height: 240px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .gallery .image {
        height: 240px;
    }
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 80px;
    padding-bottom: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding-top: 15px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
}
.modal-content img {
    width: 35px;
}
@media (max-width: 991px) {
    .modal-content {
        width: 90%;
    }
}

.modal .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    padding: 0;
}

.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal .modal-body {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    max-height: calc(85vh - 160px);
    overflow-x:hidden;
    overflow-y: auto
}
@media (min-height: 900px) {
    .modal .modal-body {
        max-height: calc(90vh - 160px);
    }
}

@media (min-width: 2300px) {
    .modal {
        padding-top: 100px;
        padding-left: 20%;
        padding-right: 20%;
    }
}


/* Box shadows */
.box-shadow {
    box-shadow: -10px -10px 15px #fff, 10px 10px 15px rgba(102, 102, 111, 0.25);
    -webkit-box-shadow: -10px -10px 15px #fff, 10px 10px 15px rgba(102, 102, 111, 0.25);
}
.box-shadow2 {
    box-shadow: -5px -5px 7px #fff, 5px 5px 7px rgba(102, 102, 111, 0.25);
    -webkit-box-shadow: -5px -5px 7px #fff, 5px 5px 7px rgba(102, 102, 111, 0.25);
}



/*
 * Image slider, start
 */
* {box-sizing: border-box}
.mySlides1, .mySlides2 {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: #000;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a grey background color */
.prev:hover, .next:hover {
    background-color: #f1f1f1;
    color: black;
}
/* Image slider, end */