@CHARSET "UTF-8";

@import 'https://fonts.googleapis.com/css?family=Lora';

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: 'Lora', serif;
  font-size: 11pt;
  color: #333333;
  border-top: 5px solid #bc9d50;
  letter-spacing: 0.5px;
}

/* Cookies */

.flexi-cookie {
  padding: 10px 0;
  background-color: #f0f2f2;
}

.flexi-cookie-msg {
  width: calc(50% - 10px);
  float: left;
  color: #1e222e;
}

.flexi-cookie-buttons {
  width: calc(50% - 10px);
  float: right;
  text-align: right;
}

.clear:before,
.clear:after,
.flexi-cookie:before,
.flexi-cookie:after {
  display: table;
  content: ' ';
  clear: both;
}

.flexi-cookie-inner {
  width: 1000px;
  margin: 0 auto;
}

/* Basic Styles */

h1, h2, h3 {
	font-family: 'Lora', serif;
	font-weight: normal;
	color: #365f82;
}

h3 {
	font-style: italic;
}

hr {
  width: 50%;
  height: 1px;
  margin: 30px auto;
  border: none;
  background-color: #a4a4a4;
  position: relative;
  display: block;
}

hr:before {
	content: '';
	background-image: url("img/hr-style.png");
	position: absolute;
	height: 30px;
	width: 30px;
	left: calc(50% - 15px);
	top: -15px;
	background-color: #fff;
}

.banner hr {
	width: 100%;
}

.banner hr:before {
	background-color: transparent;
}

.wrapper {
  width: 1000px;
  margin: 0 auto;
}

/* Buttons */

.content a.button, a.button, .formandu-button {
  display: inline-block;
  color: #fff;
  background-color: #365f82;
  text-decoration: none;
	padding: 10px 20px;
  transition: 0.2s ease-in;
  cursor: pointer;
  border: none;
  border-radius: 7px;
}

.content a.button:hover, a.button:hover, .formandu-button:hover {
  color: #fff;
  background-color: #2a4e72;
  text-decoration: none;
}

/* Header */

.header {
	padding: 20px 0px;
	background-color: #2a4e72;
	text-align: center;
}

/* Menu */

#shownav {
  display: none;
}

.menubar {
	width: 100%;
	background-color: #365f82;
}

nav.menu {
  position: relative;
  z-index: 20;
  text-align: center;
  list-style: none;
  margin: 0 auto;
  padding: 0 0;
  width: 1000px;
}

nav.menu span.item a {
	font-family: 'Lora', serif;
	text-transform: uppercase;
  color: #fff;
  display: block;
  padding: 20px 10px 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in;
	border-bottom: 2px solid transparent;
	border-left: 1px solid #2a4e72;
}

nav.menu span:hover a {
	border-bottom: 2px solid #bc9d50;
}

nav.menu span.item:last-child a {
	border-right: 1px solid #2a4e72;
}

nav.menu span.toplevel-sep:before {
  content: '|';
}

.submenu .subitem a{
	background-color: #2a4e72;
	color: #fff !important;
}

.submenu .subitem a:hover {
	color: #bc9d50 !important;
}

/* System Widgets */

.flexi-system-widgets {
  text-align: center;
  padding: 8px 0;
  font-size: 0;
}

.flexi-system-widget {
  border-left: 1px solid #fff;
  display: inline-block;
  padding: 0 12px;
  font-size: 11pt;
}

.flexi-system-widget a {
  text-decoration: none;
  transition: color 0.3s, border 0.3s;
  -o-transition: color 0.3s, border 0.3s;
  -ms-transition: color 0.3s, border 0.3s;
  -moz-transition: color 0.3s, border 0.3s;
  -webkit-transition: color 0.3s, border 0.3s;
}

.flexi-system-widget:first-child {
  border-left: none !important;
}

/* Banner */

.banner {
  height: 525px;
  position: relative;
  margin: 0 auto;
  background-image: url("img/main-image.jpg");
  background-repeat: no-repeat;
  background-position: center;
}

.banner h1 {
	font-size: 300%;
	margin: 0;
}

/* Services */

.services {
	padding: 10px 0px;
	background-color: #f0f2f2;
}

/* Main */

.main {

}

.content {
	padding: 20px 0px;
}

.content h1, .content h2, .content h3{
	color: #105d8c;
}

.content:empty {
	display: none;
}

/* Footer */

.footer:before,
.footer:after {  
  display: table;
  content: ' ';
  clear: both;  
}

.footer {
  padding: 10px 0;
  color: #fff;
  position: relative;
  background: #2a4e72;
}

.footer-box {
	width: 30%;
	float: left;
	margin-right: 3%;
	padding: 20px 0px;
}

.footer-box:nth-child(2) {
	text-align: center;
}

.footer-box:last-child {
	text-align: right;
}

.content a, .footer a, .footer-bottom a {
	color: #bc9d50;
	transition: 0.2s ease-in;
	text-decoration: none;
}

.content a:hover, .footer a:hover, .footer-bottom a:hover {
 	text-decoration: underline;
}

.footer-bottom {
	background: #2a4e72;
	padding: 10px;
	color: #fff;
}

.footer-bottom span {
	float: right;
}

/* Forms */

.formandu-text, .formandu-textarea, .formandu-dropdown, .formandu-static-text, .formandu-listbox {
  width: 100%;
  margin: 0 auto;
  padding: 5px 0px;
  border: 1px solid #888;
  background: #fff;
  color: #333;
  font-weight: normal; 
}

.formandu-textarea {
  height: 200px;
}

.formandu-label {
  margin: 8px 0 0 0;
  padding: 4px;
  display: block;
}

.formandu-container[align="right"] {
  text-align: center;
  padding: 8px;
}

.formandu-container[align="right"] .formandu-button {
  font-size: 1.6em; 
}

/* List Styles */

span[style~="red"] {
  font-size: 0;
}

span[style~="red"]:after {
  font-size: 14pt;
  color: #000;
  content: '•';
}

/* Breakout Blocks */

.banner .row3, .services .row3 {
	width: 1000px;
	margin: 0 auto;
}

.pb-title, .pb-subtitle {
	margin: 0 auto;
	text-align: center;
}

/* Responsive Styles */

@media (max-width: 1000px) {
	
	.wrapper, .header {
		width: 100%;
	}
	
	/* Breakout Blocks */
	
	.banner .row3, .services .row3  {
	  width: 100%;
	  margin: 0 auto;
	}
	
	/* Cookies and Forms */
	
  .flexi-cookie {
    padding: 10px;
    text-align: center;
    width: auto;
  }
  
  .flexi-cookie-msg {    
    float: none;
    font-size: 0.8em;
    padding: 0;
    width: auto; 
  }
  
  .flexi-cookie-buttons {
    width: auto;    
    float: none;
    text-align: center;
    padding: 5px 0;
  }
  
  .formandu-text, .formandu-textarea, .formandu-dropdown, .formandu-static-text, .formandu-listbox {
    width: 95%;
    margin: 10px auto;
  }	
  
  .flexi-cookie-inner, .wrapper {
    width: 100%;
  }
  
  .flexi-cookie-buttons:nth-child(2) .button {
  	margin-top: 10px;
  }
	
	/* Header */
	
	.header {
		padding: 20px 0px;
		text-align: center;
	}
	
	.header-left, .header-right {
		width: 100%;
		text-align: center;
	}
	
	.header-right {
		padding-bottom: 0;
	}
	
	/* Menu */
	
  #shownav {
    display: inline-block;
    margin: 20px 0px 0px;
    color: #fff !important;
    border: 1px solid #fff !important;
  }
  
  .flyout {
  	background-color: #2a4e72;
  }
  
  .flyo-show {
  	text-align: center;
  }
  
  .flyo-header {
  	text-align: center;
  	padding: 10px 0px;
  	border-bottom: 1px solid #ececec;
  	border-top: 1px solid #ececec;
  }
  
  .flyo-hide {
  	border: none !important;
  }
  
  /* Banner */
  
  .banner {
		display: none;
	}
	
	/* Closer */
	
	.closer {
		height: auto;
		background: #000;
	}
	
	/* Main */
	 
	img {
  	max-width: 100%;
  }
  
  .content {
  	padding: 20px;
  	text-align: center;
  }
  
  /* Footer */
	
	.footer-box {
		width: 100%;
		text-align: center !important;
		margin: 10px 0px;
	}
  
}
