/*
Theme Name: FHA Theme 2018
Theme URI: http://www.stephenramsay.com
Description: Custom theme for FHA (2018)
Version: 1.05
Author: Stephen Ramsay
Author URI: http://www.stephenramsay.com
*/
@charset "UTF-8";

/* CSS Document */

body {
	font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    padding: 0;
    margin: 0;
    color: #414042;
    font-size: 18px;
    line-height: 1.7em;
}
a img {
	border:0;
}

/* TYPOGRAPHY */
a {
	color:#003f5e;
	text-decoration:none;
	transition:0.2s ease all;
	-webkit-transition:0.2s ease all;
}
a:hover {
	color:#666;
}
h1 {
	font-size:2.3em;
	font-weight:700;
	margin:25px 0;
	line-height:1.2em;
	letter-spacing:1px;
}
h2 {
   line-height: 1.2em;
    font-weight: normal;
    font-size: 2.25em;
    /* text-shadow: 0px 3px 8px #b6b6b6; */
    font-variant: all-small-caps;
    /* text-transform: uppercase; */
    letter-spacing: 1.5px;
}
h3 {
    color: #587232;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.3em;
    line-height: 120%;
    text-align: center;
    margin-bottom: 10px;
}

h4 {
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9em;
    font-weight: normal;
}
blockquote {
	font-size:110%;
	font-style:italic;
	quotes: "\201C""\201D""\2018""\2019";
	margin:40px 0 40px 40px;
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
.highlight {
	
}

/* BASIC STRUCTURE */
.wrapper {
	width:100%;
	padding:40px 40px;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	clear:both;
}
.container {
	max-width:1600px;
	margin:0 auto;
}
.left {
	display:inline-block;
	padding-right:50px;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	vertical-align:top;
}
.right {
	display:inline-block;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	vertical-align:top;
	float:right;
	margin-bottom:50px;
}
ul.childdisplay {
    border-bottom: solid 1px #2b6e17;
    padding: 0;
    margin: 20px 0 30px 0;
	max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}
ul.childdisplay li {
    display: inline-block;
    font-size: 0.8em;
    letter-spacing: 1px;
    transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

ul .current_page_item {
    color: #2b6e17;
    border-bottom: 1px solid #2b6e17;
}
.childdisplay .current_page_item a {
    color: #fff;
    font-weight: bold;
    background: #077a90;
	background: #2b6e17;
}

.childdisplay li a {
    display: inline-block;
    padding: 11px;
    color: #000;
    font-weight: bold;
}
.subnav {
	list-style:none;
    display: table;
    vertical-align: top;
	margin:0 auto;
	text-align:center;
    padding: 0;
    
}
.subnav li {
	display:table-cell;
    vertical-align: top;
    padding: 0 5px;
    box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
.subnav li img {
    width: 60%;
}
.thumb {
    width: 100%;
    background: no-repeat center;
    background-size: cover;
}
.line1 {
    border: 0;
    height: 5px;
    background: url(images/line1.png) repeat-x center;
    max-width: 100px;
}
.video-container iframe {
    width: 100%;
    max-width: 800px;
    height: 48vw;
    max-height: 450px;
}
/* HEADER AND NAVIGATION */
.topbar{
    z-index: 5;
	background: rgba(255, 255, 255, 0.5);
    position: fixed;
    width: 100%;
    top: 0px;
	text-align: right;
}
.topbar span, .topbar div{
    display: inline-block;
    margin-right: 25px;
    padding-top: 2px;
}
.header {
	position:fixed;
    width: 100%;
    top: 0;
    background: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
	z-index:1998;
    box-shadow: 0 0px 30px rgba(150,150,150,0.2);
	height: 350px;
	z-index:1;
	background-position-x: 0px;
    background-size: cover;
    background-position-y: -50px;
	background-position-y: -375px;
	background-repeat:no-repeat;
}
.header .logo {
	display:inline-block;
    width: 180px;
	padding-top:40px;
	z-index: 999;
    positioN: relative;
}
h5{
	font-size: 1.3em;
}
a, p, div, li, ul, td, tr, table, h1, h2, h3, h4, h5, img, span{
	transition:0.2s ease all;
	-webkit-transition:0.2s ease all;
}
.header .logo .logo-img {
    width: 140px;
    transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
    top: -10px;
    position: relative;
	    left: 50px;
}
.header nav {
    display: inline-block;
    vertical-align: top;
    margin-top: 55px;
    width: 80%;
    padding-right: 0px;
    left: 200px;
    text-align: left;
}
.instaspan{
	font-size: 12px;
	height: 22px;
    display: block;
    overflow: hidden;
    width: 250px;
    line-height: 13px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}
nav .menu {
    margin: 0;
    transition:0.2s ease all;
	-webkit-transition:0.2s ease all;
}
nav .menu ul {
    margin: 0;
}
nav .menu  li {
	list-style:none;
	padding:0;
	display:inline-block;
}
nav .menu  li a {
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 10px;
	padding-right: 30px;
    display: inline-block;
    font-weight: bold;
    color: #fff;
    text-shadow: black 1px 1px 1px;
    font-size: 0.9em;
    -webkit-text-stroke: 0.25px black;
}
nav .menu  li a:hover {
	color: #c1d72e;
}
nav .menu li.menu-item-has-children a:hover {
    color:;
}
nav .menu li .sub-menu {
    padding: 0;
    position: absolute;
}
nav .menu li .sub-menu::before {
    position: relative;
    display: block;
    top:0px;
    left:15%;
    width: 0;
    height: 0;
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-bottom:8px solid #f1f1f1;
    content:'';
    z-index: 999;
}
nav .menu li .sub-menu .menu-item {
    display: inline-block;
    width: 200px;
    float:left;
    clear: both;
    background:#fff;
}
nav .menu li .sub-menu .menu-item a {
    padding:10px 20px;
    line-height: 120%;
    color: #bbb;
    letter-spacing: 2px;
}
nav .menu li .sub-menu .menu-item a:hover {
    color:#666;
}
/*drop down menu effects*/
nav .menu li .sub-menu {
    opacity: 0;
    visibility: hidden;
    top:100px;
    transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
	z-index:99;
	box-shadow:0px 10px 10px rgba(0,0,0,0.1);
}
nav .menu li:hover .sub-menu {
    opacity:1;
    visibility: visible;
    top:50px;
}
body .slick-list img{
    display: block;
    width: 115%;
	min-height:200px;
	overflow:hidden;
}
body .slick-list{
	width: 25vw;
	display: block;
    margin-left: auto;
    margin-right: auto;
}
body .frontpageslider2 .slick-list {
    width: 74vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.spacing {
	display:block;
	height:70px;
}
/* responsive menu */
.responsive-menu {
    display: none;
}

/* PAGE STYLES */
.page-title {
    font-size: 3.2em;
    line-height: 140%;
    font-weight: 100;
    text-align: center;
    margin: 325px 0 60px 0;
    background: #222222;
    color: #ffffff;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    padding: 10px;
    display: block;
    padding-left: 125px;
    padding-right: 125px;
    box-shadow: 2px 3px 10px 2px grey;
}
.left {
    width: 75%;
    padding-bottom: 50px;
}
.right {
    width: 25%;
    background: #F1F2F2;
    padding:10px 25px;
}
.page .entry-content img {
    max-width: 100%;
}
.wp-caption {
    max-width: 100%;
}
#sidebar {
    margin-top:30px;
    padding-bottom: 50px;
}
#sidebar .widget-title {
    color: #414042;
    border-bottom: 1px solid #414042;
}
.right ul li a {
    list-style: none;
    color: #666;
    display: block;
    padding-bottom: 5px;
    margin-bottom: 15px
}
.right ul li.current_page_item a {
    color: #D83140;
}
.right ul li a:hover {
    color: #ccc;
}
.right ul {
    padding: 0;
    list-style: none;
    line-height: 1;
}
.post-entry {
    padding-bottom: 50px;
}
.post-entry img {
    max-width:100%;
    height:auto;
}
.back {
    font-style: italic;
    display: block;
    margin-top: 50px;
}

/* FOOTER */ 
.footer {
    background: #343B3F;
    color: #fff;
    font-size: 0.8em;
    line-height: 1.6em;
    padding-bottom: 20px;
    padding: 10px 0px;
}
.footer .logo {
    width: 100%;
    max-width: 250px;
}
.footer a {
	color:#ccc;
}
.footer a:hover {
	color:#fff;
}
.footer p {
    margin: 0;
}
.footer .widget {
    display: inline-block;
    width: 32%;
    vertical-align: top;
    padding: 0 2%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.footer label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.footer ul {
    list-style: none;
}
.footer h3 {
    color: #BCBEC0;
    border-bottom: 1px solid #BCBEC0;
}
.footer .subnav .menu {
	padding:0;
}
.footer .subnav .menu li {
    display: block;
	width:100%;
	margin:0;
	letter-spacing:1px;
}
.footer span {
    display: block;
    padding-top: 15px;
    text-align: center;
    font-size: 0.8em;
    color: #888;
    display: block;
    margin: 15px 0;
    line-height: 140%;
}
.instagrampagewidget{
    float: left;
    max-width: 225px;
    width: 20%;
	margin-left:20px;
}
.innerslidea{
    color: #fff;
    top: 28%;
    display: block;
    position: absolute;
    text-align: center;
    text-shadow: 1px 1px 1px black;
    font-size: 25px;
    width: inherit;
    line-height: 40px;
}
.ylpagemain{
	text-align: center;
    display: inline-block;
    vertical-align: top;
    width: 75%;
}
.headershade{
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.65)), color-stop(100%, rgba(0, 0, 0, 0)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
}

/* INPUTS & BUTTONS */
input[type="submit"], 
input[type="button"], 
button {
	border: 1px solid #c1d72e;
    font-weight: 700;
    background: none;
    color: #c1d72e;
	text-transform:uppercase;
	letter-spacing:2px;
	padding:15px 20px;
    border-radius: 5px;
    -webkit-border-radius:5px;
	transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
    margin: 20px 0;
}

input[type="submit"]:hover, 
input[type="button"]:hover, 
button:hover,
button.read-more:hover, 
.slick-slider button.read-more:hover,
button.is-checked {
	border: 1px solid #A7A9AC;
    color: #A7A9AC;
}
.frontpagemodule{
    display: inline-block;
    vertical-align: top;
    width: 45%;
    padding-right: 25px !important;
    overflow: hidden;
}
.logocontainer{
	display: inline-block;
    width: 19%;
}
h2 {
    text-align: center;
}
.frontpagemodule img {
    border-radius: 10px;
    max-width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-slide{
	padding:5px;
	/*width: 23vw !important;*/
	height: 250px;
    min-height: 1px;
    overflow: hidden !important;
	max-height:200px;
}
.containslider{
	width: 400px;
	display: inline-block;
}
.instagram img {
    width: 200px;
    margin: 5px;
}
.pwrapper p{
	font-size: 25px;
    margin-left: 200px;
    margin-right: 200px;
    text-shadow: 0px 1px 2px black;
    color: white;
    background: rgba(0,0,0,0.55);
    padding: 25px;
    border-radius: 5px;
	line-height: 38px;
}
input[type="email"],
input[type="text"] {
	border:none;
	background:#f1f1f2;
	padding:15px;
	display:inline-block;
	max-width:400px;
	font-size:0.8em;
    box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}
textarea {
	width:99%;
	border:none;
	background:#f1f1f2;
	padding:15px;
	resize:none;
	font-size:0.8em;
	margin:5px;
    box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box; 
}
.becomemember{
	text-align: right;
    float: right;
    background: #e8ffba;
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0px 2px 12px 3px lightgrey;
	margin-top: 50px;
}
.right input[type="email"],
.right input[type="text"] {
	border:1px solid #ccc;
}
/*search*/
input#s {
	width:100%;
}
input#searchsubmit {
	padding:15px 7px;
}
/* MISC */
.clear {
	clear:both;
}
.line1 {
    border: 0;
    border-bottom: 1px solid #414042;
    background: 0;
    height: 5px;
    max-width: 100px;
    margin: 30px auto;
}
.line2 {
	border:none;
	border-bottom:2px solid #404142;
	width:50px;
}
.photo-slider {
    clear: both;
}
.photo-slider .img {
    height: 30vw;
    width:auto;
    margin: 0 5px;
}
.simcal-calendar {
	font-size:0.9em;
}
.simcal-day-number, .simcal-week-day {
    font-size: 0.7em;
}
.simcal-event-title {
    font-size: 1.2em;
}
.post img {
    max-width: 100%;
}
/*Pop Up Effects*/
.fade, .fade-delay-1, .fade-delay-2, .fade-scroll, .fade-scroll-delay, .post, .page {
	opacity:0;
    transition: 0.5s ease all;
    -webkit-transition:0.5s ease all;
}
nav, .logo{
	transition: 0.35s ease all;
    -webkit-transition:0.35s ease all;
}
.logo-img:hover{
	filter: brightness(250%);
}
nav{
	padding-right: 25px;
	border-radius:25px;
	/*background: rgba(0, 63, 94, 0.62);*/
}
.fade-scroll-delay {
    transition-delay: 0.2s;
    -webkit-transition-delay:0.2s;
}
.fly, .fly-scroll, .fly-delay-1 {
	opacity:0;
	position:relative;
	top:50px;
}
.fly-down {
	opacity:0;
	position:relative;
	top:-50px;
}
.personprofile {
	width: 345px;
    display: inline-block;
    margin: 10px;
    text-align: left;
}
.personprofile img {
	width: 200px;
    border-radius: 50%;
    box-shadow: 0px 0px 15px 3px #cecece;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
	text-align: center;
}
.post-entry{
	width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 17px;
    line-height: 28px;
	max-width: 1050px;
}
.frontpagemodule{
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
	font-size: 18px;
    line-height: 25px;
}
.widget2{
	width: 48%;
    display: inline-block;
    vertical-align: top;
	margin-top:75px;
}
.linkdiv img {
    height: 42px;
    width: auto;
    vertical-align: middle;
}

.linkdiv span {
    display: inline-block;
}

.linkdiv {
    height: 75px;
    vertical-align: middle;
    display: block;
    width: 685px;
    margin-left: auto;
    margin-right: auto;
}

@media all and (max-width:1280px) {
	nav .menu  li a {
		padding:10px 7px;
	}
	
}
@media all and (max-width:1024px) {
    .right ul li a { 
        font-size: 0.8em;
    }
    .left {
        width: 68%;
    }
    .right {
        width: 30%;
    }
    nav .menu  li a {
		font-size:0.65em;
		letter-spacing:2px;
	}
	.wrapper {
		padding-left:0%;
		padding-right:0%;
	}
	
}
.fpsection{
	padding-top: 270px;
}
.fpinstagram{
	float: right; width: 350px; height: 1200px;max-width: 25%;
}
.fpprimary{
	display: inline-block; width: 75%;
}
@media all and (max-width:1255px){
	.header .nav{
		width:74%;
	}
	.header {
		background-position-y: -50px !important;
	}

}
@media all and (max-width:850px) {
	.containslider{
		max-width:100%;
	}
	.work {
		padding-left: 20px !important;
	}
	.becomemember{
		    width: 74%;
    text-align: center;
	}
	/*responsive header */
	.header .logo{
		padding-top: 62px;
	}
	.header .logo .logo-img{
		width: 150px;
		margin-bottom: 30px;
	}
	.innerslidea {  
		width: 85vw;
	}
	.slick-slide{
		width:auto;
	}
	.fpinstagram{
		height: 1000px;
		overflow-y: hidden;
		width: auto;
		max-width: 100%;
		float: none;
	}
	.frontpagemodule {
        width: 90%;
	}
	.fpsection{
		padding-top: 250px;
	}
	.fpprimary {
		width: 100%;
	}
	.frontpageslider {
		width: 80%;
		margin-left: auto;
		margin-right: auto;
		margin-left: 0px;
	}
	.pwrapper p {
		margin: 0px;
		font-size:18px;
		line-height: 24px;
	}
	.ylpagemain{
		width:95%;
	}
	.page-title{
		border-radius: 0px;
		padding-top: 8px;
		padding-bottom: 8px;
		width: 100%;
    padding-left: 0px;
    padding-right: 0px;
	}
	.bodycontainer{
		padding-left:12px;
		padding-right:12px;
	}
	#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item{
		text-align:center !important;
	}
	.instagrampagewidget {
		float: none;
		max-width: 100%;
		width: 90%;
		margin-left: 20px;
	}
	iframe{
		width:90% !important;
	}
	.widget2 {
		width: 95%;
	}
	body .slick-list {
		width: 90vw;
	}
	.header{
		height: 284px;
		background-position-y: -40px !important;
	}
	.header nav {
		display: block;
		width: 100%;
		z-index: 80;
		top: -20px;
		margin-top: 20px;
		padding:0px !important;
		position:relative;
		left:0px;
	}
	ul#mega-menu-main-menu {
		padding-bottom: 20px !important;
		background: #222222;
		border-radius: 15px;
	}
	.single .landing {
		padding-bottom: 80px !important;
		padding-top: 95px !important;
	}
	.mega-menu-wrap{/* Not working ** */
		padding-bottom: 20px !important;
    padding-right: 0px !important;
    background: #222;
    border-radius: 12px;
	}
	
    /* responsive menu */
    .responsive-menu {
        position: fixed;
        z-index: 2000;
        display: inline-block;
    }
    .menu-responsive-menu-container {
        position: relative;
        left: -100%;
        opacity: 0;
        top: -55px;
        width: 100vw;
        padding-top: 30px;
        background: rgba(248,174,47,0.9);
        z-index: 1999;   
        transition: 0.2s ease all;
        -webkit-transition:0.2s ease all;
        box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
    }
     /*Style 'show menu' label button and hide it by default*/
    .responsive-menu .show-menu {
        background: #f8ae2f;
        text-align: center;
        padding: 10px 0;
        display: none;
        width: 50px;
        height: 50px;
        box-sizing: border-box;
        -webkit-box-sizing:border-box;
        position: relative;
        z-index: 2000;
    }
    .responsive-menu .show-menu span {
        display: block;
        width: 50%;
        background: #414042;
        height:4px;
        margin:4px auto;
    }
    /*Show menu when invisible checkbox is checked*/
  
    input[type=checkbox]:checked + .menu-responsive-menu-container{
        left: 0;
        opacity: 1;
        display: block;
    }
    .responsive-menu li {
        padding: 0 !important;
    }
    .responsive-menu li a {
        display:block;
        text-align: center;
        border-bottom: 1px solid #f8ae2f;
        font-size: 1em !important;
        text-transform:lowercase;
        letter-spacing:1px;
        color: #fff;
        padding: 10px 0;
    }
    .responsive-menu li:hover a {
        color: #414042;
    }

    /* responsive submenus */
    .responsive-menu li:hover ul a {
        background: #f3f3f3;
        color: #2f3036;
        height: 40px;
        line-height: 40px;
    }

    /*Hover state for dropdown links*/
    .responsive-menu li:hover ul a:hover {
        background: #19c589;
        color: #fff;
    }

    /*Hide dropdown links until they are needed*/
    .responsive-menu li ul {
        display: none;
    }

    /*Make dropdown links vertical*/
    .responsive-menu li ul li {
        display: block;
        float: none;
    }

    /*Prevent text wrapping*/
    .responsive-menu li ul li a {
        width: auto;
        min-width: 100px;
        padding: 0 20px;
    }
    /*Display the dropdown on hover*/
    .responsive-menu ul li a:hover + .hidden, .hidden:hover {
        display: block;
    }
    /*Hide checkbox*/
    .responsive-menu input[type=checkbox]{
        display: none;
    }
	/*Make all menu links full width*/
	.responsive-menu ul li, .responsive-menu li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.responsive-menu .show-menu {
		display:block;
	}
        
    .footer .subnav {
        display: block;
    }
    .footer .subnav li {
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    .page-title {
        font-size: 2em;
        line-height: 1.2em;
    }
    h3 {
        font-size: 0.9em;
    }
    .left, .right, .page .right, .page .left {
        width: 100%;
        float: none;
    }
    .page .left, .left{
        padding-right: 0;
    }
}
@media all and (max-width:640px) {
    .overview .subnav li{
        width: 50%;
        display: inline-block;
        margin-bottom: 20px;
    }
	.hero {
        font-size: 1.2em;
    }
}
@media all and (max-width:480px) {
    .hero {
        font-size: 1.1em;
    }
	.header nav{
		margin-top: 30px;	
	}
    .header .logo .logo-img {
		width: 120px;
		padding: 0;
		margin-left: 21vw;
		margin-bottom: 0px;
    }
    