
.modal-header h5{
 color:#1a1c33 !important;
 font-size: 18px;
}
.modal-thumbs label{
   font-size: 18px;
}
.modal-header .modal-title a{
   text-decoration: none;
   color:#FFFFFF !important;
    padding: 5px 20px;
   border-radius: 20px;
   background: #1a1c33;
}
.bg-light {
   background-color: #f1f1f1;
}
 .gallery-container {
   position: relative;
   width: 100%;
   border-width: 7px;
   border-color: #fff;
   border-style: solid;
   box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
   cursor: pointer;
}
 .image {
   display: block;
   width: 100%;
   height: auto;
}
 .overlay {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   background-color: #FFFFFF;
   overflow: hidden;
   width: 100%;
   height:0px;
   padding-top: 10px;
   border-top: 2px solid #1a1c33; 
   transition: 0.3s ease;
}
 .gallery-container:hover .overlay {
   height: 100px;
}
 .text {
   font-family: 'Cairo', sans-serif;
   font-size: 18px;
   line-height: 1.3em;
   color: #1a1c33;
   font-weight: bold;
}
 .text .small {
   font-family: 'Cairo', sans-serif;
   font-size: 13px;
   line-height: 1.3em;
   color: #000000;
   font-weight: bold;
}
 .text .view-btn {
   right: 10px;
   top: 12px;
   position: absolute;
   color: #FFFFFF;
   font-weight: 500;
   border-width: 1px;
   border-color: #1a1c33;
   background-color: #1a1c33;
   border-style: solid;
   font-family: 'Cairo', sans-serif;
   font-size: 13px;
}
 .text .view-btn:hover {
   border-color: #333;
}
 .carousel-control-next, .carousel-control-prev {
   width: auto;
}
 .modal-open .modal {
   overflow-x: hidden;
   overflow-y: auto;
   background-color: rgba(0, 0, 0, 0.5);
}
 .modal-body {
   position: relative;
   -ms-flex: 1 1 auto;
   flex: 1 1 auto;
   padding: 0rem;
}
 .modal-thumbs {
   min-height: 50px;
}
 .modal-thumbs label {
   font-family: 'Cairo', sans-serif;
   font-size: 18px;
   line-height: 1.3em;
   font-weight: 700;
   color: #1a1c33;
   padding-left: 5px;
}
 .modal-thumbs ul {
   padding: 0;
}
 .modal-thumbs ul li {
   list-style: none;
   width: 25%;
   float: left;
}
 @media (max-width: 768px) {
   .modal-thumbs ul li {
     width: 50%;
  }
}
 .modal-thumbs ul li .border {
   display: inline-block;
   position: relative;
}
 .modal-thumbs ul li .border::after {
   content: '';
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   box-shadow: inset 0 0 0 0 rgba(255, 255, 255, .5);
   transition: box-shadow 0.1s ease;
   cursor: pointer;
}
 .modal-thumbs ul li .border:hover::after {
   box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .5);
}
 .modal-thumbs ul li img {
   display: block;
   position: relative;
}
 .arrow-left {
   float: left;
   left: 0px;
   padding: 25px;
   position: fixed;
   transform:rotate(90deg);
}
 @media (max-width: 768px) {
   .arrow-left {
     display: none !important;
  }
}
 .arrow-left:hover {
   background-color: rgba(0, 0, 0, 0.3);
}
 .carousel-inner {
   float: left;
}
 .arrow-right {
   float: left;
   right: 0px;
   padding: 25px;
   position: fixed;
   transform:rotate(-90deg);
}
 @media (max-width: 768px) {
   .arrow-right {
     display: none !important;
  }
}
 .arrow-right:hover {
   background-color: rgba(0, 0, 0, 0.3);
}
 