﻿@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

body {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 20px;
}

p {
    font-size: 20px;
}

.bold {
    font-weight: 700 !important;
}

.fn {
    font-family: 'PT Serif', serif;
}

h1, h2, h3, h4 {
    font-family: 'PT Serif', serif;
    font-weight: bold !important;
}

header:after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4rem;
    content: "";
    display: none;
    border-radius: 0 0 50% 50%;
    background: #1f54bb;
    top: 100%;
    display: block;
}

header {
    background: #1f54bb;
    padding-top: 120px;
    padding-bottom: 10px;
    position: relative;
}

    header h1 {
        color: white;
        font-size: 40px;
    }

    header h2 {
        color: #749bff;
        font-size: 40px;
    }

    header p {
        font-size: 20px;
    }

    header .p2 {
        opacity: .5;
    }



#mainNav {
    border-bottom: .15rem solid hsla(0,0%,100%,.2);
    background: #1f54bb !important;
}

    #mainNav a {
        color: hsla(0,0%,100%,.5);
        font-size: 19px;
        letter-spacing: 1px;
        font-weight: bold !important;
        padding: 10px 16px !important;
    }

    #mainNav li a:hover {
        background: #18408f !important;
        color: white !important;
    }


    #mainNav li {
        margin: 0px 15px !important;
    }

    #mainNav .contact-btn {
        border: 2px solid white !important;
        padding: 6px 15px !important;
        color: white !important;
        font-weight: 600 !important;
        font-size: 17px !important;
    }

        #mainNav .contact-btn:hover {
            background: white !important;
            color: #1f54bb !important;
        }

.sect-2 {
    padding-top: 130px;
    padding-bottom: 170px;
}

.title {
    color: #1f54bb !important;
    font-size: 42px;
}

.bg-light2 {
    background: #eeeeee !important;
}

.text {
    font-size: 20px;
    color: #293469;
}

.box {
    border-radius: 2px;
    background: rgba(31,84,187,.06);
    padding: 15px 25px 5px 25px;
}

    .box h2 {
        margin-bottom: 1rem;
        color: #1f54bb;
        font-family: PT Sans;
        font-size: 42px;
    }

    .box p {
        font-weight: 700;
        color: #576580;
        margin-bottom: 1rem;
        font-size: 20px;
    }



.text2 {
    max-width: 500px;
    margin: auto;
    color: hsla(0,0%,100%,.75);
}

.sect-3 {
    position: relative;
    background: #1f54bb;
    padding-top: 20px;
    padding-bottom: 50px;
}

    .sect-3:before {
        bottom: 100%;
        left: 0;
        display: block;
        transform: scaleY(-1);
        position: absolute;
        width: 100%;
        height: 4rem;
        content: "";
        border-radius: 0 0 50% 50%;
        background: #1f54bb;
    }

    .sect-3:after {
        position: absolute;
        left: 0;
        width: 100%;
        height: 4rem;
        content: "";
        display: none;
        border-radius: 0 0 50% 50%;
        background: #1f54bb;
        top: 100%;
        display: block;
    }

.team-box {
    padding: 10px 0px;
}

    .team-box img {
        border-radius: 100%;
        width: 200px;
        opacity: 0.7;
    }

    .team-box:hover img {
        opacity: 1;
    }

    .team-box h2 {
        color: white;
        font-size: 30px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .team-box a {
        display: inline-block;
        color: white;
        border: 2px solid white !important;
        padding: 6px 15px !important;
        font-size: 20px;
        font-weight: bold;
        border-radius: 5px;
        margin: 7px 3px;
    }

        .team-box a:hover {
            background: white;
            text-decoration: none;
        }

    .team-box p {
        color: white;
        opacity: 0.5;
    }


footer {
    padding-top: 150px;
    padding-bottom: 60px;
}

    footer h2 {
        font-family: PT Sans !important;
        color: #1f54bb !important;
        font-size: 28px;
        margin-bottom: 14px;
    }

    footer p {
        color: #293469;
        font-size: 20px;
    }

        footer p a {
            color: #3273dc !important;
            font-size: 20px;
            text-decoration: none !important;
        }

.footer-ul {
    padding-left: 16px;
}

    .footer-ul a {
        color: #293469;
        font-size: 20px;
    }


.contact-modal-div h3 {
    color: #293469;
    font-weight: 600;
    line-height: 1.125;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 1px !important;
    font-family: 'PT Sans', sans-serif !important;
}

.contact-modal-div p {
    font-size: 20px;
    color: #293469 !important;
}

button.close {
    display: inline-block;
    margin-right: 15px;
    margin-top: 15px;
    border: 3px solid gray !important;
    width: 40px;
    text-align: center;
    height: 40px;
    border-radius: 100%;
    float: right;
    position: absolute;
    right: 0px;
    z-index: 10000;
    outline: 0 !important;
    box-shadow: none !important;
}

    button.close:focus {
        outline: 0 !important;
        box-shadow: none !important;
    }

    button.close:active {
        outline: 0 !important;
        box-shadow: none !important;
    }

.title2 {
    font-family: "PT Serif";
    font-size: 40px;
    font-weight: 700;
    line-height: 1.125;
    color: #293469 !important;
}

.contact-modal {
    text-align: left;
}

    .contact-modal a {
        color: #3273dc;
        cursor: pointer;
        text-decoration: none;
        font-size: 20px;
        text-decoration: none;
    }

.modal-body {
    background: #f5f5f5 !important;
}


.modal-ul li {
    margin-bottom: 8px;
}

.btn-success {
    font-weight: 600 !important;
    font-size: 17px !important;
    padding: 9px 17px !important;
    letter-spacing: 0.4px;
}

.subpage-details h2 {
    margin-top: 40px;
    font-size: 33px;
    margin-bottom: 20px;
}

.subpage-details h3 {
    margin-top: 30px;
    font-family: 'PT Sans', sans-serif !important;
}

.title3 {
    color: #1f54bb !important;
    font-size: 49px;
}

.subpage {
    color: #293469;
}

    .subpage ul {
        font-size: 20px;
    }

    .subpage strong {
        font-size: 21px;
    }

.blue-col {
    color: #293469;
}

@media (min-width: 768px) {

    header img {
        max-width: 600px !important;
    }

    .contact-modal-left:before {
        position: absolute;
        content: '';
        width: 1px;
        height: 234px;
        background: #bcbaba;
        left: -20px;
        top: 18px;
    }


    .br-block {
        display: block;
    }

    #mainNav {
        /*padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        transition: padding-top 0.3s, padding-bottom 0.3s;*/
    }

    .navbar-brand {
        display: none !important;
    }

    #mainNav .navbar-brand {
        font-size: 1.75em;
        transition: font-size 0.3s;
    }

    #mainNav .navbar-nav {
        margin-top: 0;
    }

        #mainNav .navbar-nav > li.nav-item > a.nav-link.active {
            color: #fff !important;
            /*background: #1abc9c;*/
        }

            #mainNav .navbar-nav > li.nav-item > a.nav-link.active:active, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus, #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
                color: #fff;
                background: #1f54bb;
            }

    #mainNav.navbar-shrink {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

        #mainNav.navbar-shrink .navbar-brand {
            font-size: 1.5em;
        }
}


@media(min-width:1300px) {
    .container {
        max-width: 1290px !important;
    }
}


@media(max-width:767px) {

    .subpage h1 {
        font-size: 33px;
    }

    .subpage h2 {
        font-size: 27px;
    }

    .subpage h3 {
        font-size: 23px;
    }


    #mainNav {
        padding-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

        #mainNav .navbar-brand {
            padding-top: 6px !important;
            margin-top: 0px !important;
        }

        #mainNav .contact-btn {
            font-size: 15px !important;
        }

    footer {
        padding-top: 100px !important;
    }

        footer h2 {
            font-size: 24px;
            margin-top: 20px;
        }

        footer p {
            font-size: 18px;
        }

        footer a {
            font-size: 18px;
        }

    .footer-ul a {
        font-size: 18px;
    }
}


@media(min-width:992px) and (max-width:1199px) {

    .team-box h2 {
        font-size: 26px;
    }

    .team-box {
        padding: 10px 10px;
    }
}

@media(min-width:768px) and (max-width:991px) {

    .modal-dialog {
        max-width: 90% !important;
    }


    .team-box p {
        font-size: 18px;
    }

    .team-box a {
        font-size: 18px;
    }


    .team-box h2 {
        font-size: 26px;
    }

    .team-box {
        padding: 10px 10px;
    }

    .container {
        max-width: 97% !important;
    }

    .box p {
        font-size: 17px !important;
    }

    .box {
        padding: 15px 15px 5px 15px;
    }
}
