/* bootstrap mod: carousel controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2322313F' stroke-miterlimit='10' stroke-width='2' viewBox='0 0 34.589 66.349'%3E%3Cpath d='M34.168.8 1.7 33.268 34.168 65.735'/%3E%3C/svg%3E");
  height: 100px;
}

.carousel-control-next-icon {
  transform: rotate(180deg);
}

/* medium - display 4  */
@media (min-width: 768px) {
    #gallery .carousel-inner .carousel-item-right.active,
    #gallery .carousel-inner .carousel-item-next {
      transform: translateX(33.33333%);
    }
    
    #gallery .carousel-inner .carousel-item-left.active, 
    #gallery .carousel-inner .carousel-item-prev {
      transform: translateX(-33.33333%);
    }
}

/* large - display 5 */
@media (min-width: 992px) {
    #gallery .carousel-inner .carousel-item-right.active,
    #gallery .carousel-inner .carousel-item-next {
      transform: translateX(20%);
    }
    
    #gallery .carousel-inner .carousel-item-left.active, 
    #gallery .carousel-inner .carousel-item-prev {
      transform: translateX(-20%);
    }
}

#gallery .carousel-inner .carousel-item-right,
#gallery .carousel-inner .carousel-item-left{ 
  transform: translateX(0);
}


/* gallery slider */
#gallery .carousel-inner .carousel-item.active,
#gallery .carousel-inner .carousel-item-next,
#gallery .carousel-inner .carousel-item-prev {
  display: flex;
}

@media (max-width: 768px) {
  #gallery .carousel-inner .carousel-item > div {
    display: none;
  }
  #gallery .carousel-inner .carousel-item > div:first-child {
    display: block;
    text-align: center;
  }
}


/* modal carousel */
.modal .carousel-indicators {
  margin: 0;
  bottom: -34px;
  left: auto;
}

.modal .carousel-indicators > li {
  border-radius: 50%;
  width: 16px;
  height: 16px;
  border: 1px solid #fff;
  background: transparent;
  margin-right: 0;
  margin-left: 10px;
}

.modal .carousel-indicators > li.active {
  background: #fff;
}

.modal .close, .modal .carousel-control-prev, .modal .carousel-control-next {
  opacity: 1;
}

@media (min-width: 992px) {
  .modal .carousel-control-prev {
    left: -140px;
  }

  .modal .carousel-control-next {
    right: -140px;
  }
}


/* modal mods */
 .modal {
  background: rgba(34, 49, 63, 0.9);
} 

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

.modal-header {
  border: none !important;
}

.modal-content {
  border: none !important;
  border-radius: 0 !important;
   
}

 

.close img {
  max-width: 40px;
  max-height: 40px;
}

.modal-footer {
  padding: 2rem 0;
  border: none !important;
}

header {
    background: #f5f7f4;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-image: none;
    background-image: url(../img/headerBg.png);
    background-repeat: no-repeat;
    background-position: center;
}

.govlogo {
    max-width: 350px;
}

.mb-logo {
    max-width: 140px;
}
h1 {
    position: relative;
    text-align: center;
    color: #8b414d;
}
    h1:before, h1:after{
        content: '';
        width: 120px;
        border-bottom: 5px solid #8b414d;
        display: block;
        height: 10px;
        bottom: 20px;
        position: absolute;
        left: 10%;
    }
    h1:after {
        left:auto;
        right: 10%;
    }

    ul li,
    p{font-size:17px}
a.btnPrimary {
    background: #8b414d;
    color: #fff !important;
    width: 100%;
    font-size: 20px;
    display: block;
    border-radius: 15px;
    padding: 10px;
    min-width: 300px;
    margin: auto;
    text-decoration: none;
    border: 2px solid #8b414d;
    font-weight: bold;
}
    a.btnPrimary:hover {
        background: #f7e8e8;
        color: #8b414d !important;
        border: 2px solid #8b414d;
    }
footer {
    color: #fff;
    padding:0 0 20px 0;
}
.footerLogo {
    max-width: 100px;
    float: left;
    margin-right:10px;
}
.carousel-item img {
    width: 100%;
 /*   height: 160px !important;*/
    object-fit: cover;
}


@media (max-width:1600px) {
    h1 {
        font-size: 36px;
    }

        h1:before {
            left: 5%;
        }

        h1:after {
            right: 5%;
        }
}
@media (max-width:1480px) {
    h1 {
        font-size: 30px;
    }

        h1:before {
            left:2%;
        }

        h1:after {
            right:2%;
        }
}
@media (max-width:1320px) {
    h1:before, h1:after {
        width: 90px
    }
}
@media (max-width:1140px) {
    h1 {
        font-size:28px;
    }
    h1:before, h1:after {
        width:60px
    }
}