/*
Theme Name: Ifrima
Theme URI: http://www.ifrima.org
Author: Reaklab SPRL — Romain Carlier — Brandon Mercier
Author URI: http://www.reaklab.com
Description: The WordPress theme for the International Federation of Risk and Insurance Management Associations
Version: 1.0
License: Commercial
Tags: risk, management, insurance, association
Text Domain: ifrima
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

.clearfix {
	height: 0;
	clear: both;
}


/* =Structure
----------------------------------------------- */
#page {
	margin: 13px auto;
	padding: 0 20px;
	width: 960px;
}

#site-logo {
	text-indent: -999em;
	background: url("assets/images/logo-ifrima.png") no-repeat 0 0;
	width: 291px;
	height: 93px;
	margin: 20px 0 0 0;
	float: left;
}
	#site-title,
	#site-title a {
		display: block;
		height: 100%;
	}

#main-menu {
	background: url("assets/images/menu-bg.png") repeat-x  0 0;
	line-height: 30px;
	height: 30px;
	clear: both;
	margin: 20px -20px 10px;
	box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

	#main-menu li {
		display: inline-block;
		font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 12px;
	}
		#main-menu ul > li {
			text-transform: uppercase;
			margin: 0 10px;
		}

			#main-menu ul li.current_page_item { font-weight: bold; }
		#main-menu ul > li a { color: #fff; }
			#main-menu ul > li.current_page_item a {
				background: #c20024;
				padding: 3px 9px;
			}

#secondary-menu {
	background: #dad9da;
	border-radius: 0 6px 0 6px;
	display: inline-block;
	float: right;
	margin-right: -20px;
	padding: 6px 15px;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
	#secondary-menu ul {
		list-style: none;
		margin: 0;
	}
		#secondary-menu ul li {
			display: inline-block;
			margin-left: 8px;
			font-weight: bold;
		}
			#secondary-menu ul li:first-child { margin-left: 0; }
	#secondary-menu a { color: #393939; }

	#secondary-menu li a:before {
		font-family: "ifrima-icons";
		vertical-align: middle;
		margin-right: 4px;
	}
	#secondary-menu li.board a:before { content: "\e600"; }
	#secondary-menu li.sitemap a:before { content: "\e601"; }
	#secondary-menu li.contact a:before { content: "\e602"; }

#breadcrumbs {
	background: #e5e5e5;
	padding: 4px 10px;
	font-size: 11px;
	margin-bottom: 15px;
}
	#breadcrumbs-label { font-weight: bold; }
	#breadcrumbs .breadcrumb { display: inline; }



#primary {
	float: right;
	margin: 0;
	width: 728px;
}

#secondary {
	float: left;
	margin-right: 30px;
	margin-left: -20px;
	width: 202px;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Right Content */
.left-sidebar #primary {
	float: right;
	margin: 0 0 0 -26.4%;
	width: 100%;
}
.left-sidebar #content {
	margin: 0 7.6% 0 34%;
	width: 58.4%;
}
.left-sidebar #secondary {
	float: left;
	margin-left: 7.6%;
	margin-right: 0;
	width: 18.8%;
}



/* =Global
----------------------------------------------- */

body, input, textarea {
	color: #373737;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.625;
}

body { background: #002258; }

#page {
	background: #fff;
	border-radius: 6px;
	-webkit-box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.2);
	   -moz-box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.2);
			box-shadow: 0 0 25px 10px rgba(0, 0, 0, 0.2);
}

/* Headings */
h1,h2,h3,h4,h5,h6 { clear: both; }
	.opensans-title,
	.about-editor h2 {
		font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
		letter-spacing: -1px;
		font-weight: bold;
	}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.625em;
}

/* Text elements */
p { margin-bottom: 1.625em; }

ul, ol { margin: 0 0 1.625em 2.5em; }
ul { list-style: square; }
ol { list-style-type: decimal; }
ol ol { list-style: upper-alpha; }
ol ol ol { list-style: lower-roman; }
ol ol ol ol { list-style: lower-alpha; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }

dl { margin: 0 1.625em; }
dt { font-weight: bold; }
dd { margin-bottom: 1.625em; }

strong { font-weight: bold; }
cite, em, i { font-style: italic; }

blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite { font-style: normal; }
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd, samp, var { font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }

abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup { bottom: 1ex; }
sub { top: .5ex; }
small { font-size: smaller; }

/* Forms */
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #ddd;
	color: #888;
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=number]:focus,
textarea:focus { color: #373737; }
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] { padding: 3px; }

#branding #searchform {
	float: right;
	clear: both;
	margin-top: -32px;
}
#branding #s {
	border: 1px solid #dedede;
	border-radius: 6px 0 0 6px;
}

input#s {
	background: url("assets/images/search.png") no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 22px;
	width: 300px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
	margin: 0;
	border-right: none;
}
input#searchsubmit {
	display: inline-block;
	background: #555555;
	border-radius: 0 6px 6px 0;
	outline: none;
	border: none;
	box-shadow: 0 1px 0 0 #000;
	color: #b0b0b0;
	line-height: 29px;
	margin: 0 0 0 -4px;
	position: relative;
	top: -1px;
}

/* Links */
a {
	color: #4A8AC6;
	text-decoration: none;
	-webkit-transition: .2s opacity linear;
	   -moz-transition: .2s opacity linear;
			transition: .2s opacity linear;
}

	a:hover,
	a:focus {
		text-decoration: none;
		opacity: .8;
		-webkit-transition: .2s opacity linear;
		   -moz-transition: .2s opacity linear;
				transition: .2s opacity linear;
	}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}

.about-editor h2,
.section-title,
.page-title,
.post-type-archive-calendar h2:nth-child(2) {
	color: #eb273d !important;
	font-weight: bold !important;
	font-size: 30px !important;
}

.single .page-title { font-size: 30px !important; }


#featured-home .post,
.blog .post,
.archive .post { margin-bottom: 30px; }
.post .news-header,
.page .news-header {
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 5px;
	margin-bottom: 10px;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.post .news-title,
.page .news-title,
.event .page-title {
	font-size: 24px;
	line-height: 1.2;
}
.post .news-title a,
.page .news-title a,
.event .page-title a{ color: #000; }

.post .entry-meta {
	color: #004b97;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 11px;
	margin-top: 3px;
}
	.post .entry-meta a { color: #4a8ac6; }

.read-more,
#nav-single a {
	color: #fff;
	background: #004b97;
	display: block;
	float: right;
	padding: 2px 6px;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.read-more { float: left; }
	.read-more span,
	#nav-single a span {
		display: inline-block;
		background: #103559;
		width: 23px;
		height: 23px;
		text-align: center;
		margin: -2px -6px -4px 4px;
		position: relative;
		top: -2px;
	}

	#nav-single .nav-previous a span { margin: -2px 4px -4px -6px; }

	.read-more span i,
	#nav-single a span i {
		vertical-align: middle;
		font-size: 16px;
		position: relative;
		top: 1px;
	}

	.read-more:hover,
	#nav-single a:hover,
	.read-more:focus,
	#nav-single a:focus {
		opacity: 0.9;
		text-decoration: none;
	}


.post .entry-image,
.post-type-archive-event .event .entry-image,
.single-event .event .entry-image {
	display: inline-block;
	padding: 3px;
	border: 1px solid #efefef;
	border-radius: 2px;
	margin: 0 8px 8px 0;
	float: left;
}

.blog .post .entry-image,
.home .post .entry-image,
.post-type-archive-event .event .entry-image {
	float: right;
	margin-left: 25px;
}
	.post .entry-image img,
	.event .entry-image img { display: block; }

#latest-news .entry-image {
	margin-left: 0;
	float: right !important;
}


.single #primary .post .center-post-thumbnail,
.single #primary .event .center-post-thumbnail { text-align: center; }
.single #primary .post .entry-image,
.single #primary .event .entry-image { float: none; }

.single #primary .post footer {
	border-bottom: 1px solid #E5E5E5;
	padding-bottom: 5px;
	margin-bottom: 20px;
}

#nav-single {
	background: #E5E5E5;
	overflow: hidden;
	padding: 5px;
	margin-bottom: 20px;
	border: 1px solid #d3d3d3;
}
.nav-previous { float: left; }
.nav-next { float: right; }

.side-block .tiny-news { margin-bottom: 10px; }
.tiny-news .entry-text {
	float: left;
	width: 133px;
}

.tiny-news .entry-title { line-height: 1.2; }
.tiny-news a {
	color: #000;
	font-weight: bold;
}

.tiny-news .entry-meta {
	color: #000;
	font-weight: normal;
	text-transform: none;
}

.side-block { margin-bottom: 25px; }

.side-block .side-block-header {
	background: url("assets/images/side-header.png") repeat-x 0 0;
	border-radius: 0 4px 0 0;
	height: 29px;
	line-height: 29px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	color: #fff;
	text-indent: 20px;
	text-transform: uppercase;
	position: relative;
}
	.side-block .side-block-header:before {
		background: url("assets/images/side-header-out.png") no-repeat 0 0;
		display: block;
		content: " ";
		position: absolute;
		top: -9px;
		left: -4px;
		width: 4px;
		height: 37px;
	}

		.side-block-title { font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif; }

.side-block-content {
	border: 1px solid #e5e5e5;
	border-top: none;
	border-radius: 0 0 4px 0;
	padding: 11px 6px 11px;
}

#social-links ul {
	list-style: none;
	margin: 0 7px;
}
	#social-links ul li {
		font-weight: bold;
		line-height: 1.2;
		overflow: hidden;
		margin-top: 10px;
	}
		#social-links ul li:first-child { margin-top: 0; }
		#social-links ul li a { color: #000; }
			#social-links ul li i {
				font-size: 29px;
				color: #002651;
				display: block;
				float: left;
				margin-right: 8px;
				min-width: 25px;
				text-align: center;
			}
			#social-links ul li span {
				font-weight: normal;
				display: block;
			}

.calendar-view  {
	border-collapse: collapse;
	width: 100%;
}
	.calendar-view th,
	.calendar-view td { vertical-align: middle; }
	.calendar-view thead tr { background: #004b96; }
	.calendar-view thead tr th { height: 42px; }
	.calendar-view thead tr.day-names th { height: 28px; }
	.calendar-view thead th {
		border: 1px solid #103458;
		font-weight: bold;
		color: #fff;
		text-align: center;
	}
.calendar-view td {
	border: 1px solid #dedede;
	text-align: center;
	height: 22px;
	padding: 15px;
}

.calendar-view-legend ul {
	list-style: none;
	margin: 15px 0 0;
}
	.calendar-view-legend li { margin-top: 10px; }
		.calendar-view-legend li:first-child { margin-top: 0; }
	.calendar-view-legend .event-date {
		font-weight: bold;
		margin-left: 10px;
		color: #000;

	}
	.calendar-view-legend .event-title {
		color: #fff;
		display: block;
		padding: 3px 6px;
		border: 1px solid #e5e5e5;
		margin-top: 3px;
	}

	.calendar-view-legend a { display: block; }
	.calendar-view-legend a:hover,
	.calendar-view-legend a:focus {
		text-decoration: none;
		opacity: 0.8;
	}


.calendar-view.normal thead th { padding: 20px; }
.calendar-view.normal #calendar-month-title {
	font-size: 28px;
	display: inline-block;
	margin: 0 10px;
	position: relative;
	top: 7px;

}
.calendar-view.normal .month-nav { float: left; }
.calendar-view.normal .date-select { float: right; width: auto; }

.calendar-view.normal .date-select > p {
	float: left;
	width: auto;
	margin-left: 25px;
	text-align: left;
}
	.calendar-view.normal .date-select > p label {
		display: block;
	}


.calendar-view.normal th { font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif; }
.calendar-view.normal td {
	text-align: right;
	vertical-align: bottom;
}

.calendar-view.normal .cal-nav-button {
	padding: 0;
	text-align: center;
}

.calendar-legend-title {
	display: inline-block;
	font-weight: bold;
	margin-bottom: 5px;
}

.calendar-all-legends {
	margin-top: 20px;
	border: 1px solid #dedede;
	float: right;
	padding: 10px;
	display: inline-block;
}

	.calendar-legend {
		display: inline-block;
		margin: 5px;
	}
	.legend-color {
		width: 16px;
		height: 16px;
		position: relative;
		top: 3px;
	}




.calendar-table { table-layout: fixed; }
.calendar-table,
.calendar-table td.calendar-heading table {
	border-collapse: collapse !important;
	width: 100%;
}
	.calendar-table td.calendar-heading table td {
		border: none;
		vertical-align: middle;
		text-align: center;
	}

	.calendar-table th,
	.calendar-table td { vertical-align: middle; }

	.calendar-table td.calendar-heading,
	.calendar-table td.normal-day-heading,
	.calendar-table td.weekend-heading { background: #004b96; vertical-align: middle; }

	.calendar-table td.calendar-heading { height: 42px; }

	.calendar-table td.normal-day-heading,
	.calendar-table td.weekend-heading { height: 28px; }

	.calendar-table td.calendar-heading,
	.calendar-table td.normal-day-heading,
	.calendar-table td.weekend-heading {
		border: 1px solid #103458;
		font-weight: bold;
		color: #fff;
		text-align: center;
	}

	#secondary .calendar-table td.normal-day-heading,
	#secondary .calendar-table td.weekend-heading { display: none; }

	.calendar-table .calendar-month { font-weight: bold; }
	#primary .calendar-table .calendar-month { font-size: 24px; }


.calendar-table td {
	border: 1px solid #dedede;
	text-align: right;
	vertical-align: top;
	height: 22px;
	padding: 2px;
}
	#primary .calendar-table td {
		height: 50px;
		padding: 10px;
	}

.calendar-table td.current-day {
	background: #c7001f;
	color: #fff !important;
	-webkit-box-shadow: inset 0 0 0 3px #F02739;
	   -moz-box-shadow: inset 0 0 0 3px #F02739;
			box-shadow: inset 0 0 0 3px #F02739;
}


.calendar-prev,
.calendar-next { text-align: center; }

#primary .calendar-prev a,
#primary .calendar-next a {
	color: #fff;
	background: #103559;
	display: block;
	padding: 2px 6px;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
	#primary .calendar-prev a:hover,
	#primary .calendar-next a:hover,
	#primary .calendar-prev a:focus,
	#primary .calendar-next a:focus {
		text-decoration: none;
		opacity: 0.8;
	}

#secondary .calendar-prev a,
#secondary .calendar-next a { visibility: hidden; }

	#secondary .calendar-prev a:before,
	#secondary .calendar-next a:before {
		visibility: visible;
		font-family: "ifrima-icons";
		color: #fff;
		background: #113559;
		display: block;
		width: 20px;
		height: 20px;
		position: relative;
		top: 10px;
		left: 10px;
		vertical-align: middle;
	}

	#secondary .calendar-prev a:before { content: "\e606"; }
	#secondary .calendar-next a:before { content: "\e607"; }

.calendar-prev a:hover,
.calendar-next a:hover,
.calendar-prev a:focus,
.calendar-next a:focus { text-decoration: none; }

	.calendar-prev a:hover:before,
	.calendar-next a:hover:before,
	.calendar-prev a:focus:before,
	.calendar-next a:focus:before { opacity: 0.8; }

#secondary .calendar-table span.calnk {
	display: inline-block;
	width: 10px;
	height: 10px;
}
#secondary .calendar-table span.calnk a {
	display: block;
	width: 10px;
	height: 10px;
	text-indent: -999em;
	background: #004b96;
	color: #004B96;
	overflow: hidden;
}

span.calnk a { opacity: 1 !important; }
span.calnk a:hover,
span.calnk a:focus { opacity: 1 !important; }

span.calnk a >span {
	text-align: center;
	display: none;
	position: absolute;
	width: 150px;
	text-indent: 0;
	background: #004b96;
	padding: 10px;
	margin-top: -10px;
	color: #fff !important;
	opacity: 1 !important;
}
	span.calnk a >span br { display: none; }
#primary span.calnk a >span { margin-top: 0; }

span.calnk a:hover >span {
	display: block;
	opacity: 1 !important;
}
	span.calnk a:hover >span span {
		display: block;
	}

	span.calnk a:hover >span .event-title {
		border-bottom: 1px solid #fff;
		margin-bottom: 5px;
		padding-bottom: 2px;
	}

.kjo-link {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	position: absolute;
	left: -999em;
}

.calendar-view.small td {
	border: 1px solid #dedede;
	font-size: 11px;
	text-align: center;
	height: 22px;
	padding: 2px
}
.calendar-view.small td span {
	font-weight: normal;
}

.calendar-view.small .month-nav {
	position: relative;
	float: none;
}

.calendar-view .month-nav .cal-nav-button {
	background: #113559;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 5px;
	text-align: center;
}

	.calendar-view.small .month-nav .cal-nav-button {
		position: absolute;
		top: -4px;
	}
	

.calendar-view.small .month-nav .cal-nav-button .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

.calendar-view.small .month-nav .prev-month {
	left: 6px;
}

.calendar-view.small .month-nav .next-month {
	right: 6px;
}

.calendar-view.small .day-number {
	display: block;
}

.calendar-view.small .today {
	background: #c7001f;
	color: #fff !important;
	-webkit-box-shadow: inset 0 0 0 3px #F02739;
	-moz-box-shadow: inset 0 0 0 3px #F02739;
	box-shadow: inset 0 0 0 3px #F02739;
}

.calendar-view.small .has-event {
	background: #3767a3;
	color: #fff !important;
	-webkit-box-shadow: inset 0 0 0 3px #93adcb;
	-moz-box-shadow: inset 0 0 0 3px #93adcb;
	box-shadow: inset 0 0 0 3px #93adcb;
}

.calendar-event-detail {
	border: 1px solid #D5D5D5;
	-webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
	   -moz-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
			box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
}
	.calendar-view.small .calendar-event-detail {
		width: 170px;
		max-width: 300px;
	}

.calendar-event-detail .event-header {
	border-bottom: 1px solid #E5E5E5;
	padding-bottom: 5px;
	margin-bottom: 10px;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

	.calendar-event-detail .event-title {
		font-size: 1.19em;
		font-weight: bold;
		color: #EB273D;
	}

	.calendar-event-detail .event-duration { color: #004B97; }

.calendar-view.small .calendar-event-detail .event-duration,
.calendar-view.small .calendar-event-detail .event-location { color: #000; }

#colophon {
	background: #dad9da;
	border-radius: 6px 6px 0 0;
	text-align: right;
	padding: 6px 15px;
	margin: 40px 20px 0;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
	#colophon ul {
		list-style: none;
		margin: 0;
	}
		#colophon ul li {
			display: inline-block;
			margin-left: 8px;
			font-weight: bold;
		}
			#colophon ul li:first-child { margin-left: 0; }
	#colophon a { color: #393939; }

.page-header { margin-bottom: 30px; }

.menu a:hover,
.menu a:focus {
	text-decoration: none;
	opacity: 0.8;
}

#related-posts { margin-top: 20px; }
#related-posts .section-title,
#related-events .section-title { margin-bottom: 15px; }
#related-posts > div article,
#related-events > div article {
	float: left;
	width: 222px;
	margin-left: 30px;
}
	#related-posts > div article:first-child,
	#related-events > div article:first-child {
		margin-left: 0;
	}

	#related-posts footer.entry-meta {
		border-top: 1px solid #e5e5e5;
		padding-top: 5px;
		margin-top: 20px;
	}

	#related-posts .news-title,
	#related-events .news-title { font-size: 18px !important; }


.directors-association-title {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.2;
	color: #000;
}
	.directors-association-title a{
		color: #000;		
	}

.directors-association-name {
	text-transform: uppercase;
	color: #818181;
}

.directors-director-name,
.directors-director-organization { font-weight: bold; }
.directors-director-organization { text-transform: uppercase; }
.directors-director-position {
	color: #818181;
	font-style: italic;
}

.directors-association-web {
	color: #004B97;
}

.directors-table th,
.directors-table td { width: 50%; }

form.customcontactform .submit {
	color: #fff;
	background: #F02739;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U3MjMzOSIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Y5NTE1ZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
	background-image: -moz-linear-gradient(bottom, #e72339 0%, #f9515f 100%);
	background-image: -o-linear-gradient(bottom, #e72339 0%, #f9515f 100%);
	background-image: -webkit-linear-gradient(bottom, #e72339 0%, #f9515f 100%);
	background-image: linear-gradient(bottom, #e72339 0%, #f9515f 100%);
	display: inline-block;
	padding: 5px 10px !important;
	border: 1px solid #C02C39;
	outline: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
			border-radius: 4px;
}
	form.customcontactform .submit:hover,
	form.customcontactform .submit:focus {
		cursor: pointer;
		background: #F73849;
	}

	form.customcontactform .submit:active {
		background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSI1MCUiIHkxPSIxMDAlIiB4Mj0iNTAlIiB5Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmNTE2MCIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2YyMjQzYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+);
		background-image: -moz-linear-gradient(bottom, #ff5160 0%, #f2243c 100%);
		background-image: -o-linear-gradient(bottom, #ff5160 0%, #f2243c 100%);
		background-image: -webkit-linear-gradient(bottom, #ff5160 0%, #f2243c 100%);
		background-image: linear-gradient(bottom, #ff5160 0%, #f2243c 100%);

	}

form.customcontactform textarea {
	max-width: 586px;
	min-height: 250px !important;
}

form.customcontactform input[type="text"],
form.customcontactform input[type="email"],
form.customcontactform textarea { width: 586px !important; }

form.customcontactform label {
	font-weight: bold;
	margin-bottom: 2px;
}

#custom-contact-forms-errors {
	border-radius: 0 4px 4px 0;
	padding: 15px;
	border-left: 4px solid #f83a4d;
	background: #FFE8EB;
}

#custom-contact-forms-errors p:last-of-type { margin-bottom: 0;}

.post-type-archive-calendar h2:nth-child(1) { display: none; }


.single-event .entry-header,
.post-type-archive-event .entry-header {
	border-bottom: 1px solid #E5E5E5;
	padding-bottom: 5px;
	margin-bottom: 10px;
	font-family: 'Open sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.single-event .entry-date,
.post-type-archive-event .entry-date {
	color: #004B97;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px;
	margin-top: 3px;
}

.single-event .main-section-header { margin-bottom: 10px; }
.single-event .sub-section-title {
	font-size: 1.5em;
	font-weight: bold;
}
.single-event #google-map {
	height: 260px;
	border: 1px solid #D0D1D2;
}
.single-event #google-map + .timing-table { border-top: none; }

.timing-table {
	width: 100%;
	margin-bottom: 1.625em;
	border: 1px solid #d0d1d2;
}
.timing-table th, .timing-table td {
	text-align: left;
	vertical-align: middle;
	border: none;
	padding: 5px 10px;
	border-top: 1px solid #d0d1d2;
}
.timing-table tr:first-child td { border-top: none; }
.timing-table td { padding: 10px 22px; }
.timing-table th {
	padding: 15px 22px;
	background: #C4E5A0;
	color: #323232;
	text-align: left;
	font: 18px/1 "futura-pt", Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	border: 1px solid #92AA79;
}
.timing-table tr.odd td,
.timing-table tr:nth-child(odd) td { background: #F5F5F5; }

.timing-table .col-date-day { width: 15%; }
.timing-table .col-date-full { width: 40%; font-weight: 700; }
.timing-table .col-hours { width: 45%; }

.single-event #related-events .day-wrap { margin-left: 4px; }
	.single-event #related-events .day-wrap:first-child { margin-left: 0; }
	.single-event #related-events .entry-date { font-size: 11px; }

.single-event #related-events .entry-title a { color: #000; }

.single-event .event-tagline {
	color: #000;
	display: block;
	font-size: 0.6em;
	font-weight: 400;
	margin-bottom: 8px;
	font-style: italic;
}
	
