body {
    background-color: #F5F2EB;
    font-family: 'Alegreya Sans', 'Open Sans', sans-serif;
    margin: 0px;
    position: relative;    min-height: 100%;
    font-size: 18px;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

div.main,
div.secondary,
footer.bottom-footer {
    max-width: 1351px;
    margin: 0 auto;
    min-width: 980px;
}

.c {
    clear: both;
}

div.cl {
    clear: left;
}

div.c.spacer {
    height: 160px;
    width: 100%;
}

a {
    color: #15684A;
}

* {
    box-sizing: border-box;
}

/******************************************** HEADER ************************************************/
header.top-header > a {
    display: block;
    padding: 20px 50px;
    float: left;
    width: 228px;
}

div.main > header.top-header {
    max-height: 240px;
    border-bottom: 1px solid #15684A;
    overflow: hidden;
    min-width: 980px;
    position: relative;
}

div.main > header.top-header > div {
    position: relative;
    float: left;
    height: 100%;
    width: calc(100% - 228px);
    max-height: 240px;
    height: 240px;
    overflow: hidden;
    min-width: 752px;
}

div.main > header.top-header > div.alt-logo  {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 228px;
    height: 240px;
    overflow: hidden;
    min-width: 228px;
}

div.main > header.top-header > div img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.main > header.top-header > div div.content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 60px;
}

div.main > header.top-header > div div.content h2 {
    display: none;
}

div.main > header.top-header > div div.content p {
    color: #CFC9BD;
    font-size: 32px;
    font-style: italic;
    max-width: 160px;
    padding: 0;
    margin: 0;
    text-shadow: 2px 2px 5px #000;
}

div.secondary > header.top-header {
    border-bottom: 1px solid #15684A;
    overflow: hidden;
    max-width: 1351px;
    min-width: 980px;
    height: 566px;
}

div.secondary_small > header.top-header {
    height: auto;
}

div.secondary > header.top-header > div {
    position: relative;
    float: left;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

div.secondary> header.top-header > div img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.secondary > header.top-header > div div.content {
    position: absolute;
    left: 60px;
    bottom: 60px;
    max-width: 320px;
}

div.secondary > header.top-header > div div.content h2 {
    font-size: 33px;
    color: #ECCC99;
    font-style: italic;
    text-shadow: 2px 2px 5px #000;
    font-weight: 500;
}

div.secondary > header.top-header > div div.content p {
    color: #fff;
    font-size: 20px;
    padding: 0;
    margin: 0;
    text-shadow: 2px 2px 5px #000;
}

/******************************************** NAVIGATION ********************************************/
nav.menu {
    clear: both;
    border-bottom: 1px solid #15684A;
    min-width: 980px;
    position: relative;
}

div.form-content h1 {
	font-size: 22px;
    font-weight: 500;
    color: #64887C;
    margin-left: 40%;
}

div.form-content h1.msg {
	text-align: center;
	margin: 0;
	padding-top: 40px;
}

div.form-content form.subscribe {
    padding-top: 40px;
    margin-left: 40%;
}

div.form-content form.subscribe p input {
	background: #F5F2EB;
	color: #63666B;
	font-size: 18px;
	border-color: #9FB5AC;
	border-radius: 3px;
	border-style: solid;
	width: 194px;
}

div.form-content form.subscribe ul {
	list-style: none;
	color: red;
}

div.form-content form.subscribe input.submit, 
div.form-content form.subscribe a {
	-moz-box-shadow:inset 0px 17px 21px -7px #ffffff;
	-webkit-box-shadow:inset 0px 17px 21px -7px #ffffff;
	box-shadow:inset 0px 17px 21px -7px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
	background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	#filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
	background-color:#ffffff;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-family:Arial;
	font-size:18px;
	padding:13px 24px;
	text-decoration:none;
}

div.form-content form.subscribe input.submit:hover,
div.form-content form.subscribe a:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
	background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
	background-color:#f6f6f6;
}

nav.menu form.search {
    display: block;
    float: left;
    min-width: 228px;
    height: 40px;
}

div.secondary nav.menu form.search {
    float: right;
    position: absolute;
    top: 0;
    right: 0;
}

nav.menu form.search input {
    background: none;
    border: none;
    color: #A9C5B6;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Alegreya Sans', 'Open Sans', sans-serif;
    padding: 0 0 0 34px;
    height: 40px;
    width: 180px;
    display: block;
    float: left;
}

div.secondary nav.menu form.search input {
    padding: 0 0 0 14px;
}

nav.menu form.search input.submit {
    width: 40px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    background: url("/static/images/search.png") no-repeat center;
    cursor: pointer;
}

nav.menu ul {
    list-style: none;
    margin: 0 0 0 228px;
    padding: 0;
    border-left: 1px solid #15684A;
}

div.secondary nav.menu ul {
    margin: 0;    
    border-left: none;
    border-right: 1px solid #15684A;
    max-width: calc(100% - 228px);
    overflow: hidden;
}

nav.menu ul li {
    padding: 8px 0 8px 25px;
    float: left;
    position: relative;
}

nav.menu ul li a {
    color: #15684A;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    display: block;
}

nav.menu ul li.selected a,
nav.menu ul li.ancestor a  {
    font-weight: 600;
    font-size: 19px;
    padding-top: 1px;

}

nav.secondary-menu {
    min-width: 228px;
    float: left;
}

nav.secondary-menu ul.nav div.plugin.plugin-blog div.blog-latest-entries {
	width: 194px;
}
nav.secondary-menu ul.nav div.plugin.plugin-blog div.blog-latest-entries h1{
	font-size: 22px;
}

nav.secondary-menu ul {
    margin: 30px 0 0 0;
    padding: 0 0 0 34px;
    list-style: none;
}

nav.secondary-menu ul li {
    padding: 4px 0;
}

nav.secondary-menu ul li a {
    text-decoration: none;
    font-weight: 500;
}

@media screen and (min-width: 1130px) {
    nav.menu ul li.selected::after,
    nav.menu ul li.ancestor::after {
        width: 14px;
        height: 8px;
        background: url("/static/images/bullet.png") no-repeat center;
        content: "";
        position: absolute;
        bottom: -8px;
        left: 24px;
    }
    
    div.secondary nav.menu ul li.selected::after,
    div.secondary nav.menu ul li.ancestor::after {
        background: url("/static/images/bullet2.png") no-repeat center;
        bottom: -1px;
        left: 24px;
    }
    

}

/******************************************** CONTENT ********************************************/
div.main-content {
    width: calc(100% - 568px);
    float: left;
    padding: 30px 0 0 25px;
    min-width: 412px;
    position: relative;
}

div.main-content,
div.main-content span,
div.main-content p {
    font-weight: 400;
}

div.main-content h1,
div.aside h1 {
    font-size: 22px;
    font-weight: 500;
    color: #64887C;
}

div.main-content h2,
div.aside h2 {
    font-size: 18px;
    color: #000;
}

div.main-content span.plugin_file a {
    text-decoration: none;
}

div.main-content a.link-file,
div.main-content a.link-video {
    padding-left: 6px;
    display: inline-block;
}

div.main-content a.link-file img,
div.main-content a.link-video img {
    top: 3px;
    position: relative;
}

/******************************************** ASIDE ********************************************/
div.aside {
    width: 340px;
    float: left;
    margin-top: 114px;
    padding: 0 40px 0 60px;
    font-size: 16px;
}

div.aside h2 {
    font-size: 16px;
}

div.aside a {
    text-decoration: none;
}

div.aside span.plugin_file,
div.aside > a  {
    display: block;
    margin-bottom: 10px;
}

/******************************************** FOOTER ********************************************/
footer.bottom-footer {
    border-top: 1px solid #15684A;
    position: absolute;
    bottom: 0;
    color: #15684A;
    padding: 20px 30px;
    left: 0;
    right: 0;
    min-width: 980px;
    width: 100%;
    max-width: 1351px;
}

footer.bottom-footer p {
    line-height: 20px;
    padding: 0;
    margin: 0;
}

footer.bottom-footer span.plugin_picture {
    display: block;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

footer.bottom-footer ul {
    list-style: none;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 180px;
}

footer.bottom-footer ul li a {
    text-decoration: none;
}


/********************************** Facebook album ******************************/
.fb-album ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fb-album ul li {
	display: block;
	float: left;
	margin: 5px 20px 5px 5px;
}

.fb-album ul li:nth-child(4n+1) {
    clear: both;
}

.fb-album ul li a img {
	border: 5px solid #ffffff;
}

.fb-album ul li span {
    display: block;
    max-width: 130px;
    font-size: 15px;
}

p.plugin_article, p.plugin_article ~ p {
	display: inline;
}

cite {
	display: inline-block;
	width: 100px;
	text-align: center;
	color: #15684A;
	font-weight: medium;
}

/********************************** Filters form ************************************/
form.data-filters,
form.frm-search {
    position: absolute;
    top: 0;
    left: -228px;
    width: 228px;
}

form.frm-search {
    margin-top: 24px;
}

form.data-filters > ul,
form.frm-search > ol {
	list-style: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0px;
	font-size: 10px;
}

form.data-filters > ul > li > span.helptext {
	background: #ffffff;
}

form.data-filters > ul > li,
form.frm-search > ol > li,
form.frm-search input {
	width: 100%;
	float: left;
	margin-bottom: 12px;
}

form.data-filters > ul > li.submit > input,
form.frm-search > ol > li input {
	color: #fff;
	cursor: pointer;
	background-color: #15684A;
	font-family: 'Alegreya Sans', 'Open Sans', sans-serif;
}

form.data-filters > ul > li.submit > input:focus {
	box-shadow: none;
}

form.data-filters > ul > li:nth-child(3n) {
	margin-right: 0%;
}

form.data-filters > ul > li > label {
	color: #000;
	padding: 5px 1% 4px 1%;
	margin: 0px;
	text-align: right;
	display: block;
	float: left;
}

form.data-filters > ul > li input,
form.data-filters > ul > li a,
form.frm-search input {
	border: none;
	font-family: 'Alegreya Sans', 'Open Sans', sans-serif;
	font-size: 12px;
	padding: 5px 1% 5px 1%;
	display: block;
	width: 100%;
	background-color: #d9d9d9;
	border-radius: 0;
}

form.data-filters > ul > li a {
    text-decoration: none;
    text-align: center;
    color: #000;
}

form.data-filters > ul > li > input:focus {
	outline: none;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.125) inset;
}

form.data-filters > ul > li > select {
	clear: both;
	width: 100%;
	display: block;
	font-family: 'Alegreya Sans', 'Open Sans', sans-serif;
	font-size: 12px;
	border: none;
	background-color: #d9d9d9;
	padding: 3px;
	-webkit-padding: 3px;
}

form.data-filters > ul > li > select[multiple=multiple] {
	height: 95px;
}

form.data-filters > ul > li > select > option {
	background-color: #fff;
}

form.data-filters > ul > li > select[multiple] {
	padding: 0px;
}

form.data-filters > ul > li > select[multiple] > option {
	background: none;
}

form.data-filters > ul > li > ul.errorlist {
	list-style: none;
	padding: 0px 1%;
	font-size: 12px;
	margin: 0px;
	background-color: #DEC1C1;
	float: left;
	clear: both;
	width: 98%;
}

form.data-filters > ul > li > span.helptext {
	display: block;
	background-color: #ffffff;
	font-size: 12px;
	clear: both;
	padding: 0px 1%;
}

.autocomplete-light-widget {
	 display: inline;
}

form.data-filters ul li span.helptext { 
	display: none !important;
}

/********************************** Blog *************************************/
.blog-visual {
    float: left;
    padding-right: 10px; 
}

.blog-author, .blog-date {
    display: inline-block;
}

.post-item {
    display: block;
    margin: 30px 0;
}

.post-item ul > li.author {
float: left;
}

.post-item ul > li.date {
float: right;
}

.post-item ul > li.category_1 {
	display: none;
}


.post-item ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

a[rel=swipebox], a[rel=lightbox] {
    display: inline-box;
    padding: 10px 10px 0px 0px;
}

.blog-lead {
    
}
    
.blog-content img {
    max-width: 100%;
}

/*************************************** Search ********************************/
div.pagenav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

div.pagenav ul li {
    float: left;
    margin-right: 8px;
}

