div.div-h1h2 {
    height: auto !important;
    padding-top: 10px;
    padding-bottom: 0;
}
.modal-content {
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}
/* The Modal (background) */
#imgModal.modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  overflow: auto;
  /*background-color: black;*/
  background-color: #0000008f;
  /*background-color: #fff;*/
}

/* Modal Content */
#imgModal .modal-content {
  position: relative;
  /*background-color: #0000008f;*/
  background-color: #fff;
  margin: auto;
  padding: 0;
  width: 90%;
  height:auto;
  /*max-width: 1000px;*/
  max-width: calc(100vw - 400px);
  
}

/* The Close Button */
.close {
  color: #f2f2f2;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.imgSlides {
  min-height:450px;
  display: none;
  margin: auto;
}

.cursor {
  cursor: pointer;
}

.imgg{
	width: 100%;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
}


/* Next & previous buttons */
.prev-gal,
.next-gal {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #666666;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next-gal {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev-gal:hover,
.next-gal:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #666666;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: #fff;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


/***for tabs******/
.nav-tabs{
  border-bottom: none !important;
}
.nav-tabs>li>a {
	font-size: 20px !important;
}
@media (max-width: 992px) {
	.nav-tabs>li>a {
		font-size: 12px !important;
	}
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover{
 border-top: none;
 border-left: none;
 border-right: none;
 border-bottom: 3px solid #509e2f;
 font-weight: bold;
  background-color:transparent;
}

.nav-tabs>li>a:hover{
  border: 1px solid transparent;
  background-color:transparent;
}

.nav>li>a:focus, .nav>li>a:hover{
	background-color: transparent;
}


.btn-opp{
  background-color:#D8D749;
  color:#4d4d4d;
}
.btn-opp:hover {
  background-color:#a3a337;
  color:#4d4d4d;
}
}
