/******** Fonts ********/
@font-face {
	font-family: 'postfaceregular';
	src: url('../fonts/postface-webfont.woff2') format('woff2'),
	     url('../fonts/postface-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

/******** General Styling ********/
h1, h2, h3, h4, h5, h6 {
	font-family: 'postfaceregular' !important;
	font-weight: normal;
	text-transform: none !important;
	letter-spacing: 0;
	
}
p {
	margin: 1em 0;
}




/******** Menus ********/
/* Move menu upto logo */
#header_main_alternate {
	margin-top: -50px;
	border: 0 none;
}
/* Split nav in half */
.av-main-nav > li:nth-child(1) {
	margin-left: 20px;
}
.av-main-nav li:nth-child(3) {
	margin-right: 140px;
}
/* Center logo for all devices */
.responsive #top .logo {
	width: 98% !important;
}
.responsive #top .logo img {
	margin: auto;
}
/* Nudge up content for desktop */
@media screen and (min-width: 990px) {
	#main {
		padding-top: 118px !important;
	}
}


/**** Disable Fancy Ampersand Sign ****/
.special_amp { 
	color: inherit !important;
	font-family: inherit;
	font-size: inherit;
}

/**** Disable Gallery Animation ****/
.avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
	-webkit-animation: none;
	-moz-animation: none;
	animation: none;
}
.av-masonry-entry {
	opacity: 1 !important;
	visibility: visible !important;
}


/******** Headers ********/
.main-title {
	font-size: 36px !important;
	line-height: 48px !important;
}


/******** Title Bar ********/
.title_container {
	background-color: #007aa2;
	background-color: #000;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	padding: 18% 0 4%;
}
    @media only screen and (min-width: 550px) and (max-width: 799px) {
        .title_container h1 a {
            font-size: 1.25em;
        }
    }
    @media only screen and (min-width: 800px) {
        .title_container h1 a {
            font-size: 1.5em;
        }
    }
.title_container::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	/*
	background: -moz-linear-gradient(top, rgba(0,0,0,0.33) 0%, rgba(0,0,0,0.66) 50%, rgba(0,0,0,0.33) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.33) 0%, rgba(0,0,0,0.66) 50%, rgba(0,0,0,0.33) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.33) 0%, rgba(0,0,0,0.66) 50%, rgba(0,0,0,0.33) 100%);
	*/
	background: -moz-linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
	background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
}


/******** Diagonal Section Overlay ********/
.diagonal-top-left-right,
.diagonal-top-right-left,
.diagonal-bottom-left-right,
.diagonal-bottom-right-left {
	position: relative;
}
    .diagonal-top-left-right:before,
    .diagonal-top-right-left:before,
    .diagonal-bottom-left-right:after,
    .diagonal-bottom-right-left:after {
        content: '';
    	position: absolute;
    	z-index: 99;
    	left: 0;
    	right: 0;
    	width: 0;
    	height: 0;
    	border-style: solid;
    	border-width: 20px 50vw;
    	/*transform: scale(1.0001);*/
    }
    .diagonal-top-left-right:before {
        top: 0;
        border-color: #fff #fff transparent transparent;
    }
    .diagonal-top-right-left:before {
        top: 0;
        border-color: #fff transparent transparent #fff;
    }
    .diagonal-bottom-left-right:after {
        bottom: 0;
        border-color: transparent transparent #fff #fff;
    }
    .diagonal-bottom-right-left:after {
        bottom: 0;
        border-color: transparent #fff #fff transparent;
    }
/**** Color Section - Diagonal Border Angle ****/
@media (min-width: 768px) {
.avia_transform .av-extra-border-element.border-extra-diagonal .av-extra-border-inner {
        -webkit-transform: rotate(1.5deg) !important;
        transform: rotate(1.5deg) !important;
    }
    .avia_transform .av-extra-border-element.border-extra-diagonal-inverse .av-extra-border-inner {
        -webkit-transform: rotate(-1.5deg) !important;
        transform: rotate(-1.5deg) !important;
    }
}

/**** Color Section - Arrow to next section ****/
.avia_transform .av-extra-border-element.border-extra-arrow-down .av-extra-border-inner {
    box-shadow: 1px 1px #e1e1e1;
}


/******** Image - Overlay ********/
.av-image-caption-overlay {
	/* background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.2); */
}
.av-image-caption-overlay:hover {
	background-color: rgba(0,0,0,0.6);
}.av-image-caption-overlay p {
	font-weight: bold !important;
}

/******** Disable Image Overlay Icon ********/
.avia_transform a .image-overlay {
    display: none !important;
}
.image-overlay .image-overlay-inside:before {
	content: "\E803" !important;
	font-family: 'entypo-fontello';
	/*display: none;*/
}

/******** Icon List - Icon Size ********/
.avia-icon-list .iconlist_icon {
    height: 48px;
    width: 48px;
    line-height: 48px;
    font-size: 24px;
    margin: 0 16px 0 8px;
}
.avia-icon-list .iconlist_title {
    margin-top: 10px !important;
}


/**** Testimonials - Add Quotes ****/
.avia-testimonial-content p:before,
.avia-testimonial-content p:after {
	content: '" ';
	font-size: 1.5em;
}
.avia-testimonial-content p {
	font-style: italic;
}


/**** Reviews ****/
.reviews {
    padding: 20px 0;
}
.reviews .review {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.reviews .score {
    color: #eeac57;
}