/***********************************
   * Image Gallery
   **/
.bx-wrapper .bxslider li {
	text-align: center !important;
}

.bx-wrapper .bxslider li>img {
	display: inline;
}

.bx-caption h2 {
	color: white;
	font-size: 1.3125rem;
	margin-bottom: 0px;
}

/***********************************
   * Image Pager
   *
   * Border Colour: #5280DD
   **/
   
.bx-wrapper .gallery_pager {
	height: 75px !important;
	overflow: hidden;
}   
   
.bx-wrapper .gallery_pager a {
	border: solid #ccc 0px;
	display: block;
	margin: 0 5px;
	padding: 3px;
}

.bx-wrapper .gallery_pager a:hover,.bx-wrapper .gallery_pager a.active {
	border: solid  0px black;
}

.gallery_pager {
	margin-left: -5px !important;
	height: 75px !important;
	overflow: hidden;
}

.activeslide {
	border: 1px solid black;
}

.pagerPrev {
	left: -40px !important;
}

.pagerNext {
	right: -15px !important;
}


/***********************************
   * Lightbox Popup
   **/
   
.fancybox-close-small:after {
  
  color: #002F6D;
  font-weight: normal;
  font-size: 28px;
  background: ffffff;
}

.fancybox-close-small:hover:after {
  color: #376092;
  background: #ffffff; 
}   
   
.popup_lightbox {
	padding: 0px !important;
	padding-bottom: 10px !important;
	height: calc(100% -30px) !important;
	margin-top: 5px !important;
}

.popup_lightbox>ul {
	margin-left: 10px;
}

.lightbox_content {
	margin-bottom: auto;
	margin-top: 0px !important;
}

.lightbox_content>.content {
	padding: 0px !important;
}

.itin-photos a {
	display: block;
}

.itin-photos > .large-7 .tile_title {
	position: absolute;
	bottom: 10px;
	left: 10px;
	
	background-color: rgba(0, 0, 0, 0.6) !important;
	color: white;
	padding: 5px;
	width: auto;
	
	font-size: smaller;
	font-weight: bold;
}

.itin-photos > .large-7 .tile_title > div {
	text-align: left;
	position: absolute;
	margin-top: -35px;
	
	text-decoration: none;

}

.itin-photos > .large-7 .tile_title > div > a {
	display: inline;
	margin-right: 8px;
}

.itin-photos > .large-7 .tile_title > div > a > img {
	border: none !important;
}

.itin-photos > .large-9 {
	text-align: left;
}

.itin-photos > .large-9 .tile_title {
	position: absolute;
	bottom: 10px;
	left: 10px;
	
	background-color: rgba(0, 0, 0, 0.6) !important;
	color: white;
	padding: 5px;
	width: auto;
	
	font-size: smaller;
}


.itin-photos > .large-5 .tile_title {
	position: absolute;
	bottom: 10px;
	left: 10px;
	
	background-color: rgba(0, 0, 0, 0.6) !important;
	color: white;
	padding: 5px;
	width: auto;
	
	font-size: smaller;
	font-weight: bold;
}

.itin-photos > .large-5 .tile_title > div {
	text-align: left;
	position: absolute;
	margin-top: -35px;
	
	text-decoration: none;

}

.itin-photos > .large-5 .tile_title > div > a {
	display: inline;
	margin-right: 8px;
}

.itin-photos > .large-5 .tile_title > div > a > img {
	border: none !important;
}

.popup_lightbox .tab-title>a {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
	border-top: solid 5px white;
}

.popup_lightbox ul.tabs .active a {
	border-top: solid 5px #9CACD0;
}

