/********** Template CSS **********/
:root {
    --primary: #58e2ef;
    --secondary: #201ca7;
    --light: #EFF5F9;
    --dark: #1D2A4D;
    --gray: #555;
    --black: #000;
}
body {
     color: var(--gray) !important;
}
.text-gray {
     color:#555 !important;
}
.text-black {
     color:#000 !important;
}
#d-inline-flex {
     background-color: var(--gray); 
}
.text-body {
     color: #fff !important;
     font-weight: 600 !important;
}
.text-body:hover, .text-body:focus {
     color: var(--primary) !important;
}
h1, h4 {
     color: var(--black) !important;
}
.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.btn-outline-light {
    color: var(--secondary);
    background-color: var(--primary);
    border: none;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}
h6, .h6 {
    font-size: 1.5rem;
}
.iframecontainer {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 75%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.dropdown-menu {
    border-radius: 0px !important;
    border: none !important;
    color: #201ca7 !important;
    box-shadow:0px 5px 10px 5px rgba(0,0,0,0.25)

}

@media (max-width: 992px) {
.dropdown-menu {
    border-radius: 0px !important;
    border: none !important;
    color: #201ca7 !important;
    box-shadow: none;

}
}

.dropdown-item {
    color: var(--secondary) !important;

}
.dropdown-item:hover {
    color: #000000 !important;
    background-color: var(--primary) !important;

}
.navbar-brand img {
    max-width: 100%;
}

@media (max-width: 992px) {
.navbuttoncontainer {
    width: 100%;
    float: right;
}
}

.navbar-toggler {
    position: relative !important;
    right: 0px !important;
    float: right !important;
}
.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Georgia', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

@media (max-width: 1024px) {
.navbar-light .navbar-nav .nav-link {
    font-family: 'Georgia', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}
}

@media (max-width: 992px) {
.navbar-light .navbar-nav .nav-link {
    font-family: 'Georgia', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
}

@media (max-width: 1024px) {
.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
    background-position: -100px 0px;
}
}

@media (max-width: 667px) {
.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
    background-position: -200px 0px;
}
}

@media (max-width: 479px) {
.hero-header {
    background: url(../img/hero.jpg) top right no-repeat;
    background-size: cover;
    background-position: -500px 0px;
}
}

.sub-header {
    background: url(../img/subhero.jpg) top right no-repeat;
    background-size: cover;
    height: 250px;
}

.pt-3 .rounded-circle {
    height: 172px;
    width: 172px;
    position: relative;
    left: 0px;
    top: 0px;
}

@media (max-width: 1024px) {
.pt-3 .rounded-circle {
    height: 150px;
    width: 150px;
    position: relative;
    left: -40px;
    top: 0px;
}
}

@media (max-width: 991px) {
.pt-3 .rounded-circle {
    height: 172px;
    width: 172px;
    position: relative;
    left: -10px;
    top: 0px;
}
}

@media (max-width: 667px) {
.pt-3 .rounded-circle {
    height: 160px;
    width: 160px;
    position: relative;
    left: -67px;
    top: 0px;
}
}
@media (max-width: 479px) {
.pt-3 .rounded-circle {
    height: 172px;
    width: 172px;
    position: relative;
    left: -13px;
    top: 0px;
}
}


@media (max-width: 1024px) {
.g-3, .gx-3 {
    --bs-gutter-x: 5rem !important;
}
}

@media (max-width: 991px) {
.g-3, .gx-3 {
    --bs-gutter-x: 2rem !important;
}
}

@media (max-width: 667px) {
.g-3, .gx-3 {
    --bs-gutter-x: 8.5rem !important;
}
}
@media (max-width: 479px) {
.g-3, .gx-3 {
    --bs-gutter-x: 2rem !important;
}
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}
.services-items {
    list-style: none;
    position: relative;
    top: 20px;
    left: 20px;
    margin: auto;
    text-align: center;
}
.services-items li {
    text-align: left;
    font-size: 18px;
    color: var(--secondary);
}
.services-items li::before {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    color: var(--primary);
    content:"\f058";
    font-size: 18px;
    font-weight: 900;
    text-align: left;
    text-indent: -30px;
}
.tablerow {
    max-height: 60px;
    padding-top: 20px;
}
.tablerow h4 {
    font-size: 24px;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 500px;
    }
}
.team-item img {
        object-fit: cover;
        width: 285px !important;
        height: 284px !important;
}
.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}
.team-item .mt-auto {
   vertical-align: top !important;
   margin-top: 0px !important;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}
#team img {
    padding: 20px;
    height: 360px;
    width: 285px;
    object-fit: cover;
    border-radius: 27px !important;
}
#team h4 {
    margin-top: 10px;
}
#team h6 {
    margin-top: -20px;
}
#team .spacer {
    margin: 0px 0px 0px 0px;
    text-align: center;
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    height: 100%;
}
#team p {
    text-align: left;
}
#team .footnote {

    font-style: italic;
    font-weight: 700;
    font-size: 24px;
    color: var(--secondary);
}
#team .footnote span {
    color: var(--primary);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
.contact-text {
    font-size: 24px; 
    font-weight: 700;
}
.contact-text i {
    margin-right: 10px;
}
#footer {
    background-color: var(--gray) !important;
}
#footer .border-secondary {
    border-color: rgba(255,255,255,0.15) !important;
}
#footer .text-primary {
    color: rgba(255,255,255,0.5) !important;
}
#footer .fa, #footer .fas {
    color: var(--primary) !important;
}
#footer h4 {
    font-size: 18px !important;
}
.mapback {
    background: url(../img/map-back.png) no-repeat; 
    background-size: cover;
}
.servback {
    background: url(../img/servicesback.png) no-repeat; 
    background-size: cover;
}
@media (max-width: 667px) {
.servback {
    background: url(../img/servicesback.png) no-repeat; 
    background-size: cover;
    background-position: -2000px 0px;
}
}
.bg-light {
    background-color: rgba(230,230,230,0.6) !important;
}
.display-4 {
    line-height: 1.15 !important;
}