  ﻿/***
 * Gallery styling
***/
.gallery {    margin-top: 60px;}
.gallery .gallery-item {
	margin-bottom:30px; 
            display: flex;
    overflow: hidden;
    height: 175px;
    align-items: center;
}
.gallery .gallery-item img { width: 100%; object-fit: cover;  height: 175px;  }
.gallery .gallery-item.gallery-landing a{   display: flex; align-items: center; justify-content: center;	position: relative;}

.gallery .gallery-item.gallery-landing img:hover{
     opacity:1;
}

.gallery .gallery-item img:hover {
	opacity:0.5;
}

.gallery .gallery-item .item-title{    
    position: absolute;
    font-weight: bold;
    text-align: center;
    width: 100%; 
height: 100%;
left:0;
top:0;
    margin: auto;
    display: flex;
    z-index: 1;
justify-content: space-around;
    align-items: center;
}



.gallery .gallery-item .item-title span {
   /* background: rgba(237,194,92,0.9);
    content: "";*/
    width: 80px;
    height: 80px;
    border-radius: 50%;
    z-index: 0;
   /* transition: .2s;*/
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .gallery-item:hover .item-title span {
    width: 100%;
    height: 100%;
    border-radius: 0;
left:0; top:0;
}

.gallery .gallery-item .item-title:after {content: "";background: rgba(237,194,92,0.9);width: 80px;height: 80px;border-radius: 50%;left: 35%;top: 28%;transition: .2s;z-index: -1;position: absolute;}

.gallery .gallery-item:hover .item-title:after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
} 

.gallery .pagination-holder {
    clear: both;
}
.gallery .pagination-holder {
    clear: both;
}
.widget .widgetPageLinks{ text-align: left;}
.gallery .widgetPageLinks {    text-align: right;}

#main-content .title-row{display:flex; justify-content:center;}
#main-content .title-row ul{padding:0; margin: 0 15px;}
#main-content .title-row ul li{float: left;  list-style: none; border-right: 1px solid #fff;}
#main-content .title-row ul li a {
    padding: 10px 12px;
    background: #ededed;
    font-family: "warnock-pro","Times New Roman",serif;
    font-size: 18px;
    display: block;
    line-height: 14px;
}
#main-content .title-row ul li a:focus, #main-content .title-row ul li a:hover, #main-content .title-row ul li.active a {
    text-decoration: none;
    background: #c99e26;
    color: #fff;
}

[id^="lightbox-nav-btn"] {
	-webkit-transition: none;
  	-moz-transition:    none;
  	-ms-transition:     none;
  	-o-transition:      none; 	
}

#lightbox-overlay {
	background:#041e42 !important;
}

.light{ background: #fafafa;}
.shade {    background: #eee;}

/* ====================================================================================================================
 * Home highlight section
 * ====================================================================================================================*/
.two-column-block .content-holder {
    display: table;
}
.two-column-block .content-holder h1 {
    font-weight: 500;
    padding-right: 20px;
}
.two-column-block .content-holder a:hover {
    text-decoration: none;
}
.vertical-center{
display: table-cell;
    vertical-align: middle;
}
.two-column-block .image {
    width: 150px;
    height: 150px;
    margin-right: 35px;
    position: relative;
}
.two-column-block .image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
z-index:1;
position:relative;
}
.two-column-block .content-holder .image a:after {
    background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%), radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
    display: inline-block;
    border-radius: 50%;
content:"";
position:absolute;
width:160px;
left:-5px;
top:-5px;
height:160px;
border-radius: 50%;
}
.two-column-block .content-holder .image:hover a:after {
    background: #041e42;
    transition: 0.5s;
}


/* ====================================================================================================================
 * Sidebar highlight section
 * ====================================================================================================================*/
.bg-shade {
    background: #f7f5f1;
}
#RightSidebar .two-column-block .image {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}
#RightSidebar .two-column-block .image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
#RightSidebar .two-column-block .content-holder .image a:after{width: 90px;    height: 90px;}
#RightSidebar .two-column-block h1 {
    font-size: 18px;
}

/***
 * CH02 - Typography
***/
p {
	margin-bottom:10px!important; 
}

a {
    color: #041e42;
}

a:hover {
    text-decoration: underline;
	color:#522b1f;
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: "warnock-pro","Times New Roman",serif;
    color: #041e42;
    margin-top: 0;
	font-weight:bold; 
}

h1 {
    font-size: 40px;
    font-weight: 700;
    color: #041e42;
}

h2 {
	text-align:center; 
	margin-bottom:30px; 
}

h3 {
	text-transform:uppercase;  
	font-size:30px; 
	margin-bottom:30px;
}

h2:after {
	content:" ";
	display:block; 
	width:100px; 
	height:1px; 
	background:#041e42;
	position:relative; 
	left:50%; 
	margin-left:-50px; 
	margin-top:20px;  
}

h1.homepageh1 {font-family: "warnock-pro","Times New Roman",serif;
    color: #041e42;
    margin-top: 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 0;
    text-align: center;
}

.border-title {  text-align: left;
    font-weight: 500;
    font-size: 32px;
    border-bottom: 1px solid;
    padding-bottom: 7px;
    display: inline-block;
}
.border-title:after{  display:none;}

@media (min-width: 1200px) {
	.gallery .gallery-item:nth-child(4n+1) {
		clear:left; 
	}
	
	}
	
	@media (min-width: 992px) and (max-width: 1199px) {


.gallery .gallery-item .item-title:after{left: 32%;    top: 22%;}
	
.gallery .gallery-item{height: 135px;}
.gallery .gallery-item img {  height: 135px;  }
	.gallery .gallery-item:nth-child(4n+1) {
		clear:left; 
	}

}

@media (min-width: 768px) and (max-width: 991px) {

.gallery .gallery-item .item-title:after{left: 33%;}

	.gallery .gallery-item:nth-child(3n+1) {
		clear:left; 
	}

}

@media (max-width: 767px) {
	#top {
		margin-top:0; 
	}
	
	.gallery .gallery-item .item-title:after {    width: 60px;    height: 60px;    left: 34%;    top: 20%;}
	
		.gallery .gallery-item{height: 100px;}
.gallery .gallery-item img {  height: 100px;  }
	.gallery .gallery-item:nth-child(2n+1) {
		clear:left; 
	}

}

@media (max-width: 320px) {

.gallery .gallery-item .item-title:after {
    width: 50px;
    height: 50px;
    left: 32%;
    top: 20%;
}

}

@media (max-width: 320px) {

.gallery .gallery-item {    height: 80px;}
.gallery .gallery-item img {  height: 80px;  }

}

/***/
/*IE only */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
 
.gallery .gallery-item .item-title::after{left:33%;}

}