.gallery-wrapper {
  
}

.modal-header {
  background-image:url('https://www.thebritagency.com/hubfs/2021/Images/loading-buffering.gif');
  background-position:center;
  background-repeat:no-repeat;
  background-color:#f9f9f9;
  background-size:50px;
}

.gallery-slide {
  height:500px;
}

.gallery-slide.cover {
  background-size: cover;
  background-position: center;
}

.gallery-slide.contain {
  background-size: contain;
  background-position: center;
  background-color:#c1c1c1;
  background-repeat:no-repeat;
}

.gallery-slide.contain_white {
  background-size: contain;
  background-position: center;
  background-color:#fff;
  background-repeat:no-repeat;
}

.inner-gallery-wrapper {
      box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    
}
.modal-backdrop {
  z-index:999995!important;
}

.modal {
  z-index:999999!important;
}

.gallery-wrapper .image.cover {
  padding-bottom:60%;
  background-color:#f9f9f9;
  position:relative;
  background-size:cover!Important;
  background-position: center!important;
}

.modal-body h4 {
margin-bottom: 1.25rem;
}
.gallery-wrapper .image.contain {
  padding-bottom:60%;
  background-color:#c1c1c1!important;
  position:relative;
  background-size:contain!Important;
  background-position: center!important;
  background-repeat:no-repeat!important;
}

.gallery-wrapper .image.contain_white {
  padding-bottom:60%;
  background-color:#fff!important;
  position:relative;
  background-size:contain!Important;
  background-position: center!important;
  background-repeat:no-repeat!important;
}

.gallery-wrapper .gallery-item{
  margin-bottom:25px;
}

.gallery-wrapper .image .project-label {
  position:absolute;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  background-color:rgba(3,62,112,0.9);
  color:#fff;
  transition: opacity .300s ease-in-out;
}

.gallery-wrapper .image:hover {
  cursor:pointer;
}

.gallery-wrapper .image:hover .project-label {
  opacity:1;
}

.project-gallery {
    width: 100%!important;
}

.close {
  position:absolute;
  right:25px;
  top:25px;
}

.next-arrow:hover,
.prev-arrow:hover {
  cursor:pointer;
}

button.close {
    -webkit-appearance: none;
    border: none;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: none;
    font-size: 30px;
}

.button-group.filter-button-group {
    margin-bottom: 50px;
  text-align:center;
}

.button-group button {
  border: 1px solid #000;
  background: transparent;
  -webkit-appearance: none;
  padding: 5px 15px;
  margin-bottom: 10px;
  color:#000;
  -webkit-appearance: none;
}

.button-group button:hover,
.button-group button.active {
  background-color:#d51616;
  border-color:#d51616;
  color:#fff;
}

.modal-footer {
  justify-content:flex-start!important;
  border:none!important;
}

.modal-header {
  border:none!Important;
  position:relative!Important;
}

.modal-body {
  padding:2rem 2rem 1rem 2rem!Important;
}

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

.modal-header {
padding:0!important;
}

.modal-body {
  display:flex;
  flex-wrap:wrap;
}

.modal-body .content {
  width:70%;
  padding-right:35px;
}
.modal-body .checklist {
  width:30%;
}

.modal-content {
  background-color:#fcfcfc!important;
  border:none!important;
}

.prev-arrow.slick-arrow {
    position: absolute;
    left: 15px;
    top: 50%;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex!important;
    justify-content: Center;
    align-items: center;
    z-index:20;
    box-shadow:5px 10px 15px rgb(0 0 0 / 20%) !important;
}

.next-arrow.slick-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex!important;
    justify-content: Center;
    align-items: center;
   z-index:20;
  box-shadow:5px 10px 15px rgb(0 0 0 / 20%) !important;
}

.checklist ul {
  padding:0;
}

.checklist ul li {
  padding-left:28px;
  position:relative;
  margin-bottom:8px;
}

.checklist ul li:before {
    content: '\f105';
    margin-right: 10px;
    font-family: 'Font Awesome 5 Pro';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #d51616;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
      top: 3px;
}

.checklist ul {
  list-style-type:none;
}


@media (min-width: 576px) {
  .portfolio-modal .modal-dialog {
    max-width: 900px;
  }
}

@media (max-width:767px) {
  .modal-body .content,
  .modal-body .checklist {
    width:100%;
    padding:0;
  }

}

@media (max-width:479px) {
  .gallery-slide {
    height:300px;
  }
  
  .close {
    position: absolute;
    right: 15px;
    top:15px;
    color:#000;
  }
}
  
}
