/* CSS Document */

@charset "utf-8";
/* CSS Document */

html, body {
	margin: 0;
	padding: 0;
  font-family: 'EB Garamond', serif;
	font-size: 18px;
  line-height: 1.4;
	color: #393d3f;
}

.large {
	font-size: 22px;
}
.small {
	font-size: 0.9em;
	line-height: 1.3em;
}

p, ul, ol {
  margin-top: 0;
	margin-bottom: 1rem;
}

.sans {
  font-family: 'Open Sans', sans-serif;
}

.overlay {
	text-align: center;
	color: #0c4767;
	background-color: rgba(255, 255, 255, 0.7);
	position: absolute;
	bottom: 0;
	width: 100%;
}

.overlay p {
	font-size: 0.9rem;
	margin: 0.25rem;
}

main {
  background-color: #ffffff;
	min-height: 500px;
}

hr.style1 { overflow: visible; /* For IE */ padding: 0; border: none; border-top: medium double #333; color: #0c4767; text-align: center; } hr.style1:after { content: "§"; display: inline-block; position: relative; top: -0.8em; font-size: 1.3em; color: #0c4767; padding: 0 0.25em; background: white; }

hr.style2 { overflow: visible; /* For IE */ height: 30px; border-style: solid; border-color: black; border-width: 1px 0 0 0; border-radius: 20px; } hr.style2:before { /* Not really supposed to work, but does */ display: block; content: ""; height: 30px; margin-top: -31px; border-style: solid; border-color: black; border-width: 0 0 1px 0; border-radius: 20px; }

hr.style3 { overflow: visible; /* For IE */ height: 30px; border-style: solid; border-color: white; border-width: 1px 0 0 0; border-radius: 20px; } hr.style3:before { /* Not really supposed to work, but does */ display: block; content: ""; height: 30px; margin-top: -31px; border-style: solid; border-color: white; border-width: 0 0 1px 0; border-radius: 20px; }


/*------------ LAYOUT -------------*/

header, section, footer, aside, main, article, figure {
  display: block;
}

header {
}
.home {
	background: #236e97 url("../images/header-bg.jpg") top no-repeat;
	background-size: cover;
	min-height: 450px;
}
.pages {
	background: #236e97 url("../images/bg-image-2.jpg") top no-repeat;
	background-size: cover;
	min-height: 160px;
}

.header-wrapper {
	position: relative;
}

/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

#page-wrapper {
}

.inner {
	max-width: 980px;
	margin: 0 auto;
  padding: 2em 20px 0;
}

.reversed {
  background-color: #236e97;
  color: #fff;
  padding: 0;
}
.blue{color: #236e97;}

.reversed h1 {
	color: #ffffff;
}

.reversed .inner {
	padding: 1.5em 20px 0;
}


.gutter, .gutter.ui-helper-reset {
  padding-left: 20px;
  padding-right: 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.table_container {
    display: table;
    border-collapse: separate;
    border-spacing: 1em;
}

.table_row {
    display: table-row;
}

.table_cell {
    display: table-cell;
    padding: 0 .5em .5em .5em;
		vertical-align: top;
}


/*-------------- TYPOGRAPHY --------------*/

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
	margin-bottom: .5rem;
	line-height: 1.2
}

h1 {
	font-size: 1.5rem;
	font-weight: normal;
	margin-bottom: 0.75em;
	color: #0c4767;
  font-family: 'Open Sans', sans-serif;
}

/*h1.special {
	font-size: 1.4rem;
	font-weight: normal;
	margin-bottom: 0em;
  font-family: 'EB Garamond', serif;
}*/
h1.special {
	font-size: 1.4rem;
	font-weight: normal;
	margin-bottom: 0;
  font-family: 'EB Garamond', serif;
}

h2 {
  font-size: 1.25rem;
	color: #a0a0a0;
	font-weight: bold;
  font-family: 'Open Sans', sans-serif;
}
h3 {
  font-size: 1.1rem;
	color: #a0a0a0;
	font-weight: bold;
  font-family: 'Open Sans', sans-serif;
}

.reversed h2 {
	color: #fff;
}

header a, header a:hover {
	border-bottom: none;
}

a {
	color: #236e97;
	text-decoration: none;
	border-bottom: 1px dashed #236e97;
}

.reversed a {
	color: #f9d99c;
	border-bottom: 1px dashed #f9d99c;
}

a:hover {
	color: #ccc;
	border-bottom: 1px dashed #ccc;
}

.reversed a:hover {
	color: #fff;
	border-bottom: 1px dashed #fff;
}

.button a, a.button {
  background-color: #dd5837;
	border: 1px solid #e07a5f;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  text-align: center;
  text-decoration: none;
}

.button a:hover, a.button:hover {
  background-color: #e07a5f;
}


/*-----------------------------*/

.left-block {
	display: inline-block;
	float: left;
}

.right-block {
	display: inline-block;
	float: right;
}

.ctr {
	margin: 0 auto;
}

footer {
  padding: 1.5em 0;
	font-size: 0.9rem;
}

.footer {
  max-width: 980px;
  margin: 0 auto;
	padding: 0 1em;
}

.footer-note {
	font-size: 0.8em;
	clear: both;
}


.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.rteright {
  text-align: right;
}

.rtecenter {
  text-align: center;
}

.display-left {
	float: left;
	margin-right: 1em;
	margin-bottom: 0.5em;
}

.display-right {
	float: right;
	margin-left: 1em;
	margin-bottom: 0.5em;
}

.columns2 {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 40px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  -webkit-column-rule: 0;
  -moz-column-rule: 0;
  column-rule: 0;
}

.border-left {
  border-left: 2px dotted #B5CEB1;
}

.nomargin {
	margin: 0;
}

iframe {
	max-width: 100%;
}
.box {
 
   box-shadow: 3px 3px 8px #888888;
  margin: 20px 0; 
}
	.borderbox {
  border: 1px solid #236e97; 
 
  padding: 20px 20px; 
}

/*------------------------------------*/



@media only screen and (max-width: 999px) {
  header, #page-wrapper, .footer {
    width: 100%;
  }

}

@media only screen and (max-width: 768px) {
  [class*="col-"] {
    width: 100%;
  }
	.gutter {
		padding-left: 10px;
    padding-right: 10px;
	}
	 .inner {
    padding: 1em 0px !important;
  }
  .left-block, .right-block {
    width: 100%;
  }
	.table_cell {
    display: block;
  }
  .table_container {
    border-spacing: 1em 0.5em;
		margin: 0 auto;
  }
	.home {
	  min-height: 300px;
  	background-size: auto 100%;
  }
  .pages {
  	min-height: 210px;
  	background-size: auto 100%;
		background-position: right;
  }

}
@media all and (min-width: 769px) {
	
  .w50 {
    width: 47%;
    margin: 0 1.5%;
  }

  .w33 {
    width: 30%;
    margin: 0 1.5%;
	
  }

  .w25 {
    width: 22%;
    margin: 0 1.5%;
  }
	.overlay {
		display: block;
	}
	.overlay p {
	  font-size: 1.3rem;
	  margin: 0.75rem;
	}


}