
/* Override lightgallery css */
.lg-sub-html {
  background-color: rgba(0, 0, 0, 0.45);
  bottom: 0;
  color: #ffffff;
  font-size: 1rem;
  left: 0;
  padding: 10px 40px 30px 60px;
}
.lg-sub-html h2 {
	font-size: 1.125rem;
  color:#fff;
}
.lg-sub-html p {
  font-size: .875rem;
  margin: 10px 0 0;
}
.lg-outer .lg-thumb-outer {
  padding-left: 30px;
  padding-right: 30px;
}
.lg-outer .lg-toogle-thumb {
    background-color: transparent;
}

@media (min-width: 768px) {
	.lg-sub-html h2 {
	font-size: 1.3rem;
	}
	.lg-sub-html p {
  		font-size: 1rem;
  	}	
}

@media (min-width: 992px) {
	.lg-sub-html h2 {
	font-size: 1.6rem;
	}
	.lg-sub-html p {
  		font-size: 1.1rem;
  	}	
}

@media (min-width: 1200px) {
	.lg-sub-html h2 {
	font-size: 2rem;
	}
	.lg-sub-html p {
  		font-size: 1.167rem;
	}
}	


/* Default gallery styles */

.default-gallery {
  margin: 30px 0;
}
.default-gallery > div {
  margin-bottom: 0;
}
.default-gallery > div > .gallery-item {
	/*float: left;*/
	margin-bottom: 15px;
	/*margin-right: 20px;
	width: 200px;*/
}
.default-gallery > div > .gallery-item a {
  /*border: 3px solid #555;
  border-radius: 3px;*/
  display: block;
  overflow: hidden;
  position: relative;
  /*float: left;*/
}
.default-gallery > div > .gallery-item a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.default-gallery > div > .gallery-item a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.default-gallery > div > .gallery-item a:hover .default-gallery-poster > img {
  opacity: 1;
}
.default-gallery > div > .gallery-item a .default-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.default-gallery > div > .gallery-item a .default-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.default-gallery > div > .gallery-item a:hover .default-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.default-gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.default-gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.default-gallery .justified-gallery > a:hover .default-gallery-poster > img {
  opacity: 1;
}
.default-gallery .justified-gallery > a .default-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.default-gallery .justified-gallery > a .default-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.default-gallery .justified-gallery > a:hover .default-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.default-gallery .video .default-gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}
.default-gallery.dark > div > .gallery-item a {
  border: 3px solid #04070a;
}
/*Accessibilty Stuff */
button.lg-icon, button.lg-pager {
	background: transparent;
	border: none;
}
button.lg-icon:focus, button.lg-pager:focus {
	background: rgb(255,255,255,.3) !important;
}	
.lg-outer .lg-thumb-item {
	background: #343a40;
	border-color: #343a40;
}
.lg-outer .lg-thumb-item.active {
	border-color: #226baa;
}
.lg-thumb-item:focus {
	border-color: #dee2e6 !important;
}