/* ---------- FONTS ---------- */

* {
    font-family: 'Lato', Roboto, sans-serif;
}

body {
    color: #212529;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #101f3c;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    margin-bottom: 20px;
}

p {
    margin: 0 0 20px;
}

/* ---------- BUTTONS ---------- */

.btn-primary {
    background-color: rgba(53, 68, 177, 1);
    padding: .7rem 1.5rem;
    border-radius: 3px;
    border: 2px rgba(53, 68, 177, 1) solid;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: rgba(53, 68, 177, .8);
        border: 2px rgba(53, 68, 177, .8) solid;
    }

.btn-inverted {
    background-color: white;
    border: 2px #3544b1 solid;
    color: #3544b1;
    border-radius: 3px;
    padding: .7rem 1.5rem;
}

    .btn-inverted:hover,
    .btn-inverted:focus {
        background-color: #3544b1;
        color: white;
    }

.btn-inverted-orange {
    background-color: white;
    border: 2px solid rgba(247, 156, 55, 1);
    padding: .7rem 1.5rem;
    color: rgba(247, 156, 55, 1);
    font-weight: bolder;
}

    .btn-inverted-orange:hover,
    .btn-inverted-orange:focus {
        background-color: rgba(247, 156, 55, 1);
        color: white;
    }

/* ---------- Structure ---------- */

.section {
    padding: 50px 0;
}

    .section .section {
        padding: 30px 0;
    }

#main.wrapper {
    padding: 50px 0;
}

@media (max-width: 768px) {
    .section,
    #main.wrapper {
        padding: 35px 0;
    }

        .section .section {
            padding: 25px 0;
        }
}

/* ---------- JUMBOTRON ---------- */

/* ---------- JUMBOTRON ---------- */

.jumbotron {
    background-color: rgba(16, 31, 60, 1);
    color: white;
    margin-bottom: 0;
    padding: 3rem 0;
}

    .jumbotron .display-1 {
        color: white;
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.15;
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .jumbotron {
        padding: 2.25rem 0;
    }

        .jumbotron .display-1 {
            font-size: clamp(1.8rem, 8vw, 2.5rem);
        }
}

/* ---------- NAVBAR ---------- */

.navbar {
    padding: 1rem 0;
}

.navbar-nav {
    width: 100%;
    justify-content: center;
}

nav.navbar {
    border-bottom: 1px solid rgba(16, 31, 60, .12);
}

.navbar-light .navbar-brand {
    color: #101f3c;
}

.navbar-brand {
    font-weight: 700;
    margin-right: 30px;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(16, 31, 60, .78);
    font-weight: 700;
    letter-spacing: .03em;
    position: relative;
    transition: color .2s ease;
}

    .navbar-light .navbar-nav .nav-link::after {
        background-color: #f79c37;
        bottom: .35rem;
        content: "";
        height: 2px;
        left: 2rem;
        position: absolute;
        right: 2rem;
        transform: scaleX(0);
        transition: transform .2s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link:focus::after {
        transform: scaleX(1);
    }

    .navbar-light .navbar-nav .nav-link:focus,
    .navbar-light .navbar-nav .nav-link:hover {
        color: rgba(16, 31, 60, 1);
    }

    .navbar-light .navbar-nav .nav-link.active {
        color: rgba(16, 31, 60, 1);
        font-weight: bold;
    }

.navbar-expand .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

@media (max-width: 576px) {
    .navbar-expand .navbar-nav .nav-link {
        padding-right: .75rem;
        padding-left: .75rem;
    }
}

/* ---------- MAIN CONTAINER ---------- */

p a {
    color: #3544b1;
}

    p a:hover,
    p a:focus {
        color: rgba(53, 68, 177, 0.8);
    }

/* ---------- RICH TEXT CONTENT ---------- */

.grid-section,
.grey-bg .section {
    color: #101f3c;
}

    .grid-section p,
    .grid-section ul,
    .grid-section ol,
    .grid-section blockquote,
    .grey-bg .section p,
    .grey-bg .section ul,
    .grey-bg .section ol,
    .grey-bg .section blockquote {
        font-size: 1.0625rem;
        line-height: 1.75;
        max-width: 760px;
    }

    .grid-section p,
    .grey-bg .section p {
        margin-bottom: 1.35rem;
    }

    .grid-section h1,
    .grid-section h2,
    .grid-section h3,
    .grid-section h4,
    .grid-section h5,
    .grid-section h6,
    .grey-bg .section h1,
    .grey-bg .section h2,
    .grey-bg .section h3,
    .grey-bg .section h4,
    .grey-bg .section h5,
    .grey-bg .section h6 {
        color: #101f3c;
        font-weight: 700;
        line-height: 1.25;
        margin-top: 2rem;
    }

        .grid-section h1:first-child,
        .grid-section h2:first-child,
        .grid-section h3:first-child,
        .grid-section h4:first-child,
        .grid-section h5:first-child,
        .grid-section h6:first-child,
        .grey-bg .section h1:first-child,
        .grey-bg .section h2:first-child,
        .grey-bg .section h3:first-child,
        .grey-bg .section h4:first-child,
        .grey-bg .section h5:first-child,
        .grey-bg .section h6:first-child {
            margin-top: 0;
        }

    .grid-section h2,
    .grid-section h3,
    .grey-bg .section h2,
    .grey-bg .section h3 {
        margin-bottom: 1rem;
    }

    .grid-section h4,
    .grid-section h5,
    .grid-section h6,
    .grey-bg .section h4,
    .grey-bg .section h5,
    .grey-bg .section h6 {
        margin-bottom: .75rem;
    }

    .grid-section ul,
    .grid-section ol,
    .grey-bg .section ul,
    .grey-bg .section ol {
        margin-bottom: 1.5rem;
        padding-left: 1.4rem;
    }

    .grid-section li,
    .grey-bg .section li {
        margin-bottom: .45rem;
        padding-left: .15rem;
    }

        .grid-section li::marker,
        .grey-bg .section li::marker {
            color: #f79c37;
        }

    .grid-section a,
    .grey-bg .section a {
        color: #3544b1;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: .16em;
    }

        .grid-section a:hover,
        .grid-section a:focus,
        .grey-bg .section a:hover,
        .grey-bg .section a:focus {
            color: rgba(53, 68, 177, 0.8);
        }

.grey-bg {
    background-color: #F9F7F4;
}

.orange-bg {
    background-color: rgba(247, 156, 55, .8);
    color: white;
}

/* ---------- BLOG on Homepage ---------- */

.blog-promoImage {
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: cover;
    margin-bottom: 20px;
    border-radius: 3px;
}

.box-blog {
    padding-top: 50px;
    height: 500px;
}

    .box-blog .blog-meta {
        font-style: italic;
        color: rgba(0, 0, 0, .7);
        font-size: 13px;
    }

.blog-box-btn {
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .box-blog {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .box-blog {
        height: 450px;
    }
}

/* ---------- ContantPage ---------- */

.sidebar-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .sidebar-links li {
        line-height: 40px;
        font-size: 18px;
    }

    .sidebar-links h4 {
        margin-bottom: 20px;
    }

    .sidebar-links li a {
        color: #3544b1;
    }

        .sidebar-links li a:hover,
        .sidebar-links li a:focus {
            color: rgba(53, 68, 177, 0.8);
            text-decoration: none;
        }

/* ---------- BLOG ---------- */

a.featured-link {
    color: #212529;
}

    a.featured-link:hover,
    a.featured-link:focus {
        text-decoration: none;
    }

.featured-blog .image-box {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    margin-bottom: 20px;
    border-radius: 3px;
}

.thumbnail-blog {
    padding-bottom: 5px;
    border-bottom: rgba(53, 68, 177, 1) solid 2px;
    margin-bottom: 35px;
    transition: ease .5s;
}

    .thumbnail-blog h5 {
        font-weight: 700;
    }

    .thumbnail-blog .thumbnail-img {
        width: 100%;
        height: 200px;
        background-position: center;
        background-size: cover;
        margin-bottom: 10px;
        border-radius: 3px;
        transition: ease .5s;
    }

a.featured-link:hover .thumbnail-blog {
    border-bottom: #f79c37 solid 2px;
}

    a.featured-link:hover .thumbnail-blog .thumbnail-img {
        opacity: .6;
    }

/* ---------- BLOGPOST ---------- */

.intro {
    font-size: 125%;
    color: rgba(16, 31, 60, 1);
    margin-bottom: 30px;
    border-bottom: #f79c37 solid 2px;
}

.meta-author.p-3 {
    padding: 0 !important;
}

.meta-meta a {
    color: #3544b1;
}

    .meta-meta a:hover,
    .meta-meta a:focus {
        color: rgba(53, 68, 177, 0.8);
        text-decoration: none;
    }

.blog-related {
    color: rgba(16, 31, 60, 1);
}

    .blog-related h4 {
        text-decoration: underline;
    }

    .blog-related a {
        color: rgba(16, 31, 60, 1);
    }

        .blog-related a:hover,
        .blog-related a:focus {
            color: black;
            text-decoration: none;
        }

/* ---------- CONTENTPAGE 2 ---------- */

div.teammember {
    line-height: 32px;
    font-size: 15px;
    margin-bottom: 100px;
}

/* ---------- FOOTER ---------- */

.footer {
    background-color: #1b264f;
    border-top: 4px solid #f79c37;
    color: white;
    font-size: 14px;
    padding: 2rem 0;
}

    .footer .container {
        font-size: .9rem;
        letter-spacing: .02em;
        opacity: .85;
        text-align: center;
    }

    .footer p {
        margin-bottom: 0;
    }

    .footer h4 {
        margin-bottom: 20px;
    }

ul.footer-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    ul.footer-links li {
        line-height: 32px;
    }

        ul.footer-links li a {
            text-decoration: none;
            color: rgba(255, 255, 255, .7);
        }

            ul.footer-links li a:hover,
            ul.footer-links li a:focus {
                text-decoration: none;
                color: rgba(255, 255, 255, 1);
            }

.footer img {
    height: auto;
    max-width: 160px;
    width: 30%;
}

/* ---------- STYLE FOR GRID EDITOR ---------- */

.grid-section img,
.grey-bg .section img,
#main img {
    border-radius: 3px;
    display: block;
    height: auto;
    margin: 2rem 0;
    max-width: 100%;
}

.grid-section .img-fluid img {
    max-width: 100%;
    height: auto;
}

.grid-section img[style*="float: left"],
.grey-bg .section img[style*="float: left"],
.grid-section .image-left,
.grey-bg .section .image-left,
.grid-section .align-left,
.grey-bg .section .align-left {
    float: left;
    margin: .35rem 1.5rem 1rem 0;
}

.grid-section img[style*="float: right"],
.grey-bg .section img[style*="float: right"],
.grid-section .image-right,
.grey-bg .section .image-right,
.grid-section .align-right,
.grey-bg .section .align-right {
    float: right;
    margin: .35rem 0 1rem 1.5rem;
}

.grid-section .image-center,
.grey-bg .section .image-center,
.grid-section .align-center,
.grey-bg .section .align-center,
.grid-section img[style*="display: block"],
.grey-bg .section img[style*="display: block"] {
    margin-left: auto;
    margin-right: auto;
}

.grid-section::after,
.grey-bg .section::after {
    clear: both;
    content: "";
    display: table;
}

/* ---------- CONTACT FORM ---------- */

form label {
    color: #101f3c;
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

form input,
form textarea {
    border: 1px solid rgba(16, 31, 60, .25);
    border-radius: 3px;
    margin-bottom: 18px;
    max-width: 100%;
    padding: .65rem .75rem;
    width: 100%;
}

form textarea {
    min-height: 150px;
}

form input[type="submit"] {
    background-color: #3544b1;
    border: 2px solid #3544b1;
    color: white;
    cursor: pointer;
    font-weight: 700;
    width: auto;
}

    form input[type="submit"]:hover,
    form input[type="submit"]:focus {
        background-color: #101f3c;
        border-color: #101f3c;
    }

@media (max-width: 768px) {
    .grid-section p,
    .grid-section ul,
    .grid-section ol,
    .grid-section blockquote,
    .grey-bg .section p,
    .grey-bg .section ul,
    .grey-bg .section ol,
    .grey-bg .section blockquote {
        font-size: 1rem;
        line-height: 1.7;
        max-width: 100%;
    }

    .grid-section h1,
    .grid-section h2,
    .grid-section h3,
    .grid-section h4,
    .grid-section h5,
    .grid-section h6,
    .grey-bg .section h1,
    .grey-bg .section h2,
    .grey-bg .section h3,
    .grey-bg .section h4,
    .grey-bg .section h5,
    .grey-bg .section h6 {
        margin-top: 1.6rem;
    }

    .grid-section img,
    .grid-section img[style*="float"],
    .grey-bg .section img,
    .grey-bg .section img[style*="float"] {
        float: none;
        margin: 1.5rem 0;
    }
}
