@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --teal: #57ADBC;
    --navy: #3F414E;
    --grey: #8D90A1;
    
}

.bg-teal{background:var(--teal)}
.bg-navy{background:var(--navy)}
.bg-grey{background:var(--grey)}

.text-teal{color:var(--teal)}
.text-navy{color:var(--navy)}
.text-grey{color:var(--grey)}

.background{
    background-size:cover;
    background-position:center;
}
.background-overlay{
    position:absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    background: linear-gradient(90deg, #8D90A1 0.08%, #57ADBC 99.92%);
    mix-blend-mode: multiply;
}
html, body{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: 14px;
    color: var(--navy);
}

@media (min-width: 1200px){
    .container{
        max-width:1340px;
    }
    .w-md-75{
        width:75%;
    }
}
.section-padding{
    padding-top:7vw;
    padding-bottom:7vw;
}
p{
    font-size:1.6vw;
    font-weight: 400;
    line-height:1.35;
}
p.lead{
    font-size: 1.85vw;
    font-weight:600;
}
p.small{
    font-size:1.4vw;
}
p.smaller{
    font-size:1.2vw;
}
li{
    font-size: 1.6vw;
    font-weight:400;
    list-style: none;
    position: relative;
}
li.smaller{
    font-size:1.2vw;
}
li:before{
    content: '';
    position: absolute;
    left: -1.6vw;
    top: 0.4vw;
    width: 1.6vw;
    height: 1.6vw;
    background-repeat: no-repeat;
    background-position: center left;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='13' viewBox='0 0 10 13' fill='none'%3E%3Cpath d='M10 6.5L0.25 12.1292L0.250001 0.870834L10 6.5Z' fill='%2357ADBC'/%3E%3C/svg%3E");
}
ul.circle li:before{
    width:4px;
    height:4px;
    border-radius:2px;
    background-color: var(--navy);
    background-image:initial;
    top:.7vw;
    left:-1vw;
}
h1{
    font-size: 4.1vw;
    font-weight: 700;
    line-height: 114%;
}
h2{
    font-size: 2.4vw;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: .09vw;
}
h3{
    font-size: 2vw;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: .09vw;
}
a.hover-underline{
    border-bottom: 2px solid transparent;
    text-decoration:none;
}
a.hover-underline:hover{
    border-color:inherit;
}
input[type="submit"],
.btn{
    font-size:1.4vw;
    font-weight:700;
    height:55px;
    line-height: 51px;
    padding: 0 3rem;
    background: var(--teal);
    border:2px solid var(--teal);
    color:#ffffff!important;
    border-radius: 0;
}
input[type="submit"]:hover,
.btn.teal:hover{
    border-color:var(--teal);
    color:var(--teal)!important;
    background-color:transparent;
}

.btn:hover, .btn:focus{
    border-color:#ffffff;
    color:#ffffff;
    background:transparent;
}

.navbar-brand img{
    max-width:15vw;
}
.nav-link{
    font-size: .875vw;
    font-weight: 700;
    color:#ffffff;
    border-bottom: 2px solid transparent;
    letter-spacing:.75px;
    padding-left:0!important;
    padding-right:0!important;
    margin-right:1.5rem;
}
.nav-link.active,
.nav-link:hover{
    border-color:#ffffff;
}
.nav-link-btn{
    display:inline-block;
    background: var(--teal);
    border:2px solid var(--teal);
    color:#ffffff!important;
    border-radius: 0;
    padding-right:1rem!important;
    padding-left:1rem!important;
    text-decoration:none;
    margin-right:1.5rem;
}
.nav-link-btn:hover{
    border-color:#ffffff;
    color:#ffffff;
    background:transparent;
}

textarea::placeholder,
input::placeholder {
    color: var(--grey) !important;
}
.form-control{
    font-size:1.4vw;
    font-style: normal;
    font-weight: 400; 
    height:55px;
    padding:0 2vw;
    line-height: 55px;
    border-radius: 0;
}
.form-control:focus{
    outline:none;
    box-shadow:none;
}
textarea.form-control{
    min-height: calc(8.5em + .75rem + calc(var(--bs-border-width) * 2))
}
.form-control.error{
    border-color:red;
}
section{
    background:#ffffff;
    overflow:hidden;
}
.hero{
    height:80vh;
    position:relative;
   
}
.hero-small{
    height:60vh;
}
.hero .background{
    position:absolute;
    height:100%;
    width:100%;
    left:0;
    top:0;
    opacity:.7;
   
}
.hero-carousel .item{
    background-size:cover;
    background-position:center;
    height:80vh;
}

.service-card{
    display:block;
    position:relative;
    padding-bottom:80%;
}
.service-card .background{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
}
.xservice-card h3{
    padding:1rem;
    background:#57ADBC80;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.xservice-card:hover .background{
    opacity:0;
}
.fedmed-collapse-item{
    display:none;
}
.fedmed-collapse-item.active{
    display:block;
}
footer a{
    text-decoration: none;
    color:#F9F9F9;
}
footer{
    color:#F9F9F9;
}
footer .btn{
    font-size:1rem;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    height:40px;
    line-height:40px;
}
#to-top{
    position:absolute;
    top: calc(-53px - 2vw);
    right:2vw;
}
footer .logo{
    max-width:17vw;
}
.form-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.8);
    z-index: 1;
    align-items: center;
    justify-content: center;
    display:none;
}
.sending .form-overlay{
    display:flex;
}
@media screen and (max-width: 767px) {
    .h1, h1 {
        font-size: calc(1.375rem + 1.5vw);
    }
    .h2, h2 {
        font-size: calc(1.325rem + .9vw);
    }
    .h3, h3 {
        font-size: calc(1.3rem + .6vw);
    }
    .nav-link,
    p{
        font-size:1rem;
    }
    li.smaller,
    p.smaller,
    p.small{
        font-size: .875em;
    }
    .nav-link{
        margin-right:0;
    }
    .form-control,
    li,
    p.lead{
        font-size: 1.25rem;
    }
    input[type="submit"],
    .btn{
        font-size:1rem;
    }
    .hero-carousel .item,
    .hero{
        height:60vh;
    }
    .hero-small{
        height:45vh;
    }
    
    li:before{
        left: -1rem!important;
        top: .5rem!important;
        width: 1rem;
        height: 1rem;
    }
    .navbar-toggler{
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    .navbar-brand img{
        max-width:150px;
    }
    #to-top{
        top: 1rem;
    }
    footer .logo{
        max-width:150px ;
    }
    .fedmed-collapse-item{
        display:block;
    }
    input[type="submit"], .btn{
        height:auto;
        min-height:55px;
        
    }
}