/**
 * Name: layout.css
 *	
 *	-
 *
 *	T.O.C
 *	
 *	#General Layout 
 *		#Header
 *		#Content
 *		#Footer
 *	#Page Styles
 *		#Index
 *		#About
 *		#Services
 *		#Portfolio
 *		#Blog
 *		#Contact
 *	#Responsive
 *		#Large Display
 *		#Smaller then 1024px width	
 *		#Tablet (Portrait)
 *		#Mobile (Portrait and Landscape )
 *		#Mobile ( Landscape )
 */

/* ==========================================================================
   #General Layout 
   ========================================================================== */

	#wrap {
		position: relative;
		background-color:#fffaf1;

	}
	.fullwidthbanner {visibility: hidden}
	#tagline{background-color: #000;color:#fff;padding-top:10px;}
	#tagline ul{margin-bottom:0px !important;float:right;}
	#tagline #association_menu_top li{float:left;list-style-type: none;padding-left:3px;}
	#association_menu_top{float:right;}
	#slogan{float:left;font:160% 'Times New Roman', Times, serif;vertical-align: middle;}

/* #Header
   ========================================================================== */	
   	
	#header {
		background:#f1e6d2 url(/images/BG_sandstone_top-1.jpg) repeat-x;
	}

	#tagline h1, #tagline h2 {
	    height: 1px;
	    margin: 0;
	    padding: 0;
	    text-indent: -9999px;
	}
	@media (min-width: 1024px) {
	
		.stuck {
			position: fixed !important;
			z-index: 1010;
			top: 0;
			width: 100% !important;
		}
		
		#header.stuck {
			-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
					box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
			border-top:5px solid #000;
			background:#f1e6d2 url(/images/BG_sandstone_top-1.jpg) repeat-x;
		}
		
		#header.stuck #logo {
			width: 50%; 
		}
		
		#header.stuck .sf-menu { margin-top: 40px; }
		

	}
	
	/* Logo */

	#logo { 
		display: block;
	}
	
	#logo img { display: block; max-width: 300px;margin-top:25px; margin-left: -5px;}
		
	/* Menu basics */

	.sf-menu,
	.sf-menu ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	
	.sf-menu > li { 
		float: left;
		margin-right: 0;
	}

	.sf-menu > li > a {
		position: relative;
		display: block;
	}
	.sf-menu .sf-mega,
	.sf-menu li.dropdown ul {
		position: absolute;
		z-index: 210;
		top: 95%;
		left: 0;
		display: none;
	}
	
	.sf-menu li.dropdown { position: relative; }
	
	.sf-menu li.dropdown ul ul {
		top: -1px;
		left: 100%;
	}
	
	.sf-menu li:hover > .sf-mega,
	.sf-menu li.sfHover > .sf-mega,
	.sf-menu li.dropdown:hover > ul,
	.sf-menu li.dropdown.sfHover > ul { display: block; }

	/* Menu Skin */
	
	.sf-menu { 
		float: right;
		margin-top: 45px;
		/*width: 100%;*/
	} 
	
	.sf-menu a {
		display: block;
		font: 16px 'Open Sans', Arial, sans-serif;
		color: #555;
		text-decoration: none;
	}
	
	.sf-menu a small {
		display: block;
		margin-top: 5px;
		color: #555;
		text-transform: none;
		font: 14px 'Open Sans', Arial, sans-serif;
	}
	
	.sf-menu > li > a,
	.sf-menu > li.dropdown > a {
		padding-bottom: 35px;
		color: #69675b;
		text-align: center;
		text-transform: uppercase;	
	}
	.sf-menu li div a, .sf-menu li ul a{
		font-size: 14px;
	}
	.sf-menu > li > a span,
	.sf-menu > li.dropdown > a span {
		display: inline-block;
		padding: 5px 15px;
		border: 1px solid transparent;
	}
	
	.sf-menu > li a i { margin-right: 5px; }
	
	.sf-menu > li.current > a span {
		color: #e18f5f;
		border:1px solid;
	}
	.sf-menu > li.current > a small { color: #e18f5f; }
	
	.sf-menu > li > a:hover span,
	.sf-menu > li > a:hover small { color: #e18f5f; }

	/**
 	 * 1. allow long menu items to determine submenu width
 	 */
	
	.sf-menu li.dropdown ul {
		min-width: 240px; /* 1 */
		border: 1px solid #d7d7d7;
		background-color: #fff;			
	}

	.sf-menu > li.dropdown ul { padding: 10px 0; }
	
	.sf-menu li.dropdown ul li a {
		position: relative;
		padding: 5px;
	}
	
	.sf-menu li.dropdown ul li a:before, .sf-mega-section li a:before {
		position: relative;
		top: -3px;
		width: 10px;
		height: 10px;
		padding: 2px;
		margin-right: 15px;
		color: #555;
		font-family: 'FontAwesome';
		font-size: 6px;
		line-height: 6px;
		font-style: normal;
		content: "";
	}
	
	.sf-menu li.dropdown ul li a:hover:before { border-color: #e18f5f; }

	.sf-menu li.dropdown ul li a:hover { color: #e18f5f; }
		
	/* mega menu dropdown */
	
	.sf-mega {
		width: 100%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		padding: 10px 0;
		border: 1px solid #d7d7d7;		
		background-color: #fff;
	}
	
	.sf-mega-section {
		float: left;
		width: 36%;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
		padding: 0 10px;
		border-right: 1px solid #d7d7d7;
	}
	.shorter_submenu{
		width:20%;
	}
	.sf-mega-section:last-child { border-right: none; }
	
	.sf-mega-section li a { padding: 5px 0; }
	.sf-mega-section li a:hover { color: #e18f5f; }

	/* arrows */
	
	/* styling for both css and generated arrows */
	
	.sf-arrows .sf-with-ul:after {
		position: absolute;
		top: 50%;
		right: 0;
		height: 0;
		width: 0;
		/* order of following 3 rules important for fallbacks to work */
		border: 5px solid transparent;
		border-top-color: rgba(0, 0, 0, 0.5);
		margin-top: -3px;
		content: "";
	}
		
	.sf-arrows > li > .sf-with-ul:focus:after,
	.sf-arrows > li:hover > .sf-with-ul:after,
	.sf-arrows > .sfHover > .sf-with-ul:after {
		border-top-color: rgba(0, 0, 0, 0.7); 
	}
	
	/* styling for right-facing arrows */
	
	.sf-arrows ul .sf-with-ul:after {
		border-color: transparent;
		border-left-color: rgba(0 ,0, 0, 0.5);
		margin-top: -5px;
		margin-right: -3px;
	}
	
	.sf-arrows ul li > .sf-with-ul:focus:after,
	.sf-arrows ul li:hover > .sf-with-ul:after,
	.sf-arrows ul .sfHover > .sf-with-ul:after {
		border-left-color: rgba(0, 0, 0, 0.7);
	}
	
	/* Mobile Menu  */
			
	#mobile-menu {
		z-index: 20;
		margin-bottom: 0;
	}
	.sticky-wrapper ul{margin-left:0px !important;}

	#mobile-menu li {	
		display: block;
		margin: 0;
		background-color: #f3e686;
	}
	
	#mobile-menu li a small { display: none; }
		
	#mobile-menu > li > ul, 
	#mobile-menu > li > ul > li > ul {
		display: none;
		margin-left: 0;
	}
	
	#mobile-menu .sf-mega {
		display: none;
		padding: 0;
		border: none;
		margin: 0;
	}
	
	#mobile-menu .sf-mega-section {
		float: none;
		width: 100%;
		padding: 0;
		border: none;
	}
	
	#mobile-menu .sf-mega-section ul, #footer ul { margin-left: 0; }

	#mobile-menu li a {
		position: relative;
		display: block;
		padding: 15px 25px;
		border-top: 1px solid #d7d7d7;
		color: #fff;
		font-size: 13px;
		text-align: left;
		font-weight:700;
		text-decoration: none;
	}
	
	#mobile-menu ul a { padding-left: 20px; }
	
	#mobile-menu ul li ul a  { padding-left: 20px; }
	
	#mobile-menu .mobile-menu-submenu-arrow {
		position: absolute;
		top: 0;
		right: 0;
		height: 100%;
		width: 70px;
		border-left: 1px solid #d7d7d7;
		xcolor: #69675b;/** association link will change this **/
		font-size: 20px;
		line-height: 50px;
		text-align: center;
		cursor: pointer;
	}
	
	#mobile-menu .mobile-menu-submenu-arrow:hover { 
		background-color: #e18f5f;
		color: #fff; 
	}
	
	#mobile-menu li a:hover {}
	
	#mobile-menu { display: none; }
	
	/* Mobile menu trigger  */
				
	#mobile-menu-trigger { 
		float: right;
		display: none; 
		font-size: 32px;
		color: #f3e686;
	}				
		
	/* Custom Search Form */
	
	#custom-search-button + .sf-menu { margin-right: 30px; }
	
	#custom-search-button { 
		position: absolute;
		top: 50px;
		right: 0;
		display: block;
		width: 16px;
		height: 16px;
		background: url(../images/bg-search.png) no-repeat center center;
	}
	
	#custom-search-button.open { 
		background: none;
		text-decoration: none;
	}
	
	#custom-search-button.open:before {
		color: #69675b;
		font-family: "iconfontcustom";
		font-size: 18px;
		content: "";
	}
	
	#custom-search-form {
		position: absolute;
		z-index: 2000;
		top: 133px;
		right: 0;
		display: none;
	}
	
	#custom-search-submit {
		position: absolute;
		top: 0;
		right: 0;
		border: none;
		background: url(../images/bg-search.png) no-repeat center center;
	}
	
	#s { background-color: #fff; }
	#s:focus { border-color: #d7d7d7; }
	
/* #Content
   ========================================================================== */
   		
	#content { 
		min-height: 500px; 
		padding-bottom: 20px;
		color:#555;  
	}
	#association{
		height:55px;
		border-top: 2px solid;
		font-family:'Times New Roman', Times, serif;
		font-size: 200%;
		line-height:52px;
		vertical-align: middle;
		color:#fff;
	}
	#association_logo img{float:left;padding:3px 15px 0 0;max-height: 50px;}
	#association_link{
		height: 55px;
		width:138px;
		float:right;
		font-size: 16px;
		text-transform: uppercase;
		text-align: center;
	}
	.exchange_content{
		padding: 20px 20px 0;
		min-height:200px;
	}
	#exchange_intro{font-size: 120%;padding: 20px 10px 0 20px;}
	#exchange_time{font-size: 100%;}
	#exchange_time a{float:right;}
	#exchange_intro{xbackground:transparent url(/images/open.png) no-repeat 105% -20px;}
	#services h4{margin:15px 0px;}

	.readmore{margin-bottom:10px;font-weight:700;}
	table tr.alt{background-color: #ede0c6;}
	.smallText {font-size: 0.9em;}
	.input_field {
	    float:right;
	    text-align: right;
	    vertical-align: middle;
	    max-width: 100px;
	}

	/* Page Header */
	
	#page-header {
		padding: 10px 0 0px 0;
		border-top: 1px solid #d7d7d7;
		border-bottom: 1px solid #d7d7d7;
		margin-bottom: 10px;
	}
	
	#page-header h2 {
		margin-bottom: 0;
		line-height: 24px;
		font-family: "Open Sans",sans-serif;
    		font-weight: 400;
    		padding:5px 0px 15px;
	}
	#page-header h2 img{
		height:30px;
		width:auto;
		vertical-align: bottom;
	}
	
	b{font-weight: bold;}
			
/* #Footer
   ========================================================================== */		
		
	#footer {background:#f1e6d2;}
	
	#footer-top {
		background-color: #b0996f; 
		color: #ede0c6;
	}
	
	#footer-middle {
		padding: 20px 0;
		font-size: 14px;
		font-weight: 700;
		background-color: #b0996f;
		color: #ede0c6; 
	}
	
	#footer-bottom {
		padding: 8px 0;
		background-color: #303030; 
		color: #fffaf1;
	}

	.footer_links ul{text-align: center;}
	.footer_links ul li{
		display:inline;
		margin-right:20px;
	}	
	.footer_links a{color:#333;}

/* ==========================================================================
   #Page Styles
   ========================================================================== */
   
/* #Index
   ========================================================================== */

   /* Members Page */
   
   
/* #About
   ========================================================================== */

/* #Services
   ========================================================================== */
      

   
/* #Contact
   ========================================================================== */
   
	/* Contact Form */
  
	#contact-form { 
		overflow: hidden;  
		margin-bottom: 40px; 
	}
	
	#contact-form fieldset {}
	
	label.validation-error { color: #b55454; }
	
	input.validation-error,
	textarea.validation-error,
	select.validation-error { border :1px solid #e1a1a1; }
	
	#contact-form #formstatus {}
		
	#contact-form textarea {}	  
	
/* ==========================================================================
   #Responsive
   ========================================================================== */
   
/* #Large Display
   ========================================================================== */
   	
	@media (min-width: 1400px) {
		
		#wrap {}
		
		.sf-menu > li { margin-right: 10px; }
		.sf-menu > li:last-child { margin-right: 0; }
		
		/* Portfolio */
		
		.portfolio-item { margin-bottom: 30px; }
		
		.portfolio-items { margin: 0 -15px 55px -15px; }
		.portfolio-items li { padding: 15px; }
		
	}

/* #Smaller then 1024px width
   ========================================================================== */
	
	@media (max-width: 1024px) {

		#wrap {}
		
		#header {}
		
		#content {}
		
		#footer {}

	.sf-menu .sf-mega,
	.sf-menu li.dropdown ul {
		position: absolute;
		z-index: 210;
		top: 95%;
		left: 0;
		display: none;
	}

	#logo img { margin-top:25px;margin-left:-2px; max-width: 230px;}

	}

/* #Tablet (Portrait)
   ========================================================================== */

	@media (min-width: 768px) and (max-width: 979px) {
		
		#wrap {}
		
		#header {}
		
		#menu { display: none; }
		
		#custom-search-form {
			top: 40px;
			right: 90px;
		}

		#custom-search-button { right: 65px; }
		
		#mobile-menu-trigger { 
			display: block;
			margin-right: 10px;
			margin: 43px 0 40px 0;
		}	
		
		#content {}
		
		#association{font-size: 140%;}
		#association_logo img{width:25%;}
		#association_logo img.restricted_logo{height:25%;width:8%;}
		#exchange_intro{padding-left:0px;padding-right:0px;}
		#exchange_time{overflow:hidden;height:205px;}
		
		#footer {}
		
		/* About */
		
		.team-member > span { 
			width: 150px;
			height: 150px;
		}
		
		/* Portfolio */
		
		.portfolio-item { margin-bottom: 16px; }
		
		/* Blog */
		
		.blog-post-info i { margin-left: 0; }

	}
	
/* #Mobile (Portrait and Landscape )
   ========================================================================== */
	
	@media (max-width: 767px) {
	
		body { 
			background: none; 
			background-color: #fff; 
		}
		
		#wrap {}
		#tagline{text-align: center !important;padding-bottom:5px;}
		#slogan{padding-top:0px;float:none;font-size:98%;}
		#association_menu_top, #association_menu_top ul{display: none;}
		#association_logo img.restricted_logo{height:auto !important;}
		#header {text-align: center;border:1px solid #f1e6d2;}	
		 
		#logo { margin-bottom: 10px;font-size:100%;}
		#logo img{
			margin-top: 10px; 
		}
		#custom-search-button { display: none; }
		
		#menu { display: none; }
		
		#mobile-menu-trigger { 
			position: absolute;
			top: 0;
			right: 10px;
			display: block;
			padding: 10px;
			margin-top: 0;
		}
		.shorter_submenu{width:100%;}
		#association{height:10px;}
		#association_logo, #association_link{display: none}
		#exchange_time{padding-bottom: 10px;}
		
		#content {}				

		#footer{}					

		.row { padding: 0 20px; }
		
		.row .row { 
			width: auto; 
			padding: 0; 
			margin: 0; 
		}
		
		p.last, 
		h1.last, 
		h2.last, 
		h3.last, 
		h4.last, 
		h5.last, 
		address.last, 
		ul.last, 
		ol.last { margin-bottom: 20px; }
		
		.text-right{ text-align: left; }
		

	}
	
/* #Mobile ( Landscape )
  ========================================================================== */

	@media only screen and (min-width: 320px) and (max-width: 767px) {
		
		.row { padding: 0 20px; }
		
		#mobile-menu-trigger { right: 10px; }
		.img-align-right{float:none;margin-left: 0px;}
		.footer_links ul li{
		display:block;
		margin-right:0px;
		margin-bottom:5px;
		text-align: left;
		}
		table{
			max-width:600px !important; 
		}
		table th, table td {
	    padding: 5px;
		}
	}	
	/* #Hidden Items on Smaller Devices
	======================================================================== */
	@media only screen and (max-width: 480px){

		.fullwidthbanner-container{display: none;}
	}