a {
	color: #1989cc;
}

a:hover {
	color: #4cbcff;
}

input {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

input[type="text"], input[type="email"], input[type="password"] {
	padding: 5px;
	border: solid 1px #dcdcdc;
	transition: border 0.3s;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
	border: solid 1px #707070;
	box-shadow: 0 0 5px 1px #969696;
}

input[type="submit"] {
	margin-top: 10px;
	border: solid 1px #dcdcdc;
	background-color: #1989cc;
	padding: 5px;
	color: white;
}

input[type="submit"]:hover {
	background-color: #4cbcff;
}

fieldset {
	padding: 10px;
}

fieldset legend {
	text-align: center;
	font-size: 22px;
	padding: 5px;
}

p.error, p.success {
	padding:10px;
	color:white;
	text-align:center;
}

p.error {
	background-color:rgb(220, 10, 10);
}

p.success {
	background-color:rgb(10, 220, 10);
}

label {
	line-height: 40px;
}

html, body {
	height: 100%;
}

#page {
	width: 100%;
	min-width: 960px;
	min-height: 100%;
	position: relative;
}

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

#header {
	color:white;
	width: 100%;
}

header .top {
	padding: 20px 0;
	background-color: #24303d;
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.brand {
	padding-left: 15px;
	padding-right:15px;
	border-right: 1px solid #eeeeee;
	font-size:20px;
	text-transform: uppercase;
	color: #dddddd;
	font-weight: bold;
	text-shadow: 0px 1px 5px rgba(150, 150, 154, 0.5);
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
	letter-spacing: 1px;
	display: inline-block;
}

#header a {
	color: white;
	font-size: 120%;
	padding-left: 5px;
	display: inline-block;
}

#header a:hover, #header a:active {
	color: #dddddd;
}

#header .bottom {
	padding: 15px 0;
	background-color: #344a66;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#header .bottom nav ul {
	list-style: none;
	margin: 0;
}

#header .bottom nav ul li {
	display: inline;
	padding: 0 10px;
}

#header .bottom nav ul li a {
	padding: 0;
	margin: 0;
	color: #eeeeee;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
	font-family: helvetica, arial, sans-serif;
}

#header .bottom nav ul li a:hover, header .bottom nav ul li.current a {
	color: #ffdf85;
}

#content {
	margin: 0 auto;
	color:black;
	padding: 10px 0 245px 10px;
	min-width: 940px;
	width: 940px;
}

#content .left_content {
	width:570px;
	float: left;
	padding-right: 10px;
}

#content .right_content {
	width:249px;
	border-left: 1px dotted #d7d7d7;
	float: left;
	padding-left: 30px;
	margin-left: 30px;
}

#footer {
	height: 70px;
	color:white;
	bottom: 0;
	left: 0;
	position: absolute;
	width: 100%;
	margin-top: 50px;
}

#footer .top {
	height: 24px;
	background-color: #344a66;
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

#footer .middle {
	padding:5px 0;
	background-color: #24303d;
	height:118px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

#footer .bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 5px 0;
	background-color: #344a66;
	height: 59px;
}

#footer .bottom p {
	line-height: 59px;
	vertical-align: middle;
	margin: 0;
}

/*NEWS*/

section.news article header h2 {
	margin-bottom: 2px;
}

section.news article header {
	border-bottom: 1px solid #d7d7d7;
}

section.news article .content {
	margin: 7px 0;
}

section.news article footer {
	border-top: 1px solid #d7d7d7;
}

section.news article header span, section.news article footer span {
	font-size: 12px;
	color: #222222;
}

/*DOCUMENTS*/
section.documents article header h2 {
	margin-bottom: 2px;
}

section.documents article header {
	border-bottom: 1px solid #d7d7d7;
}

section.documents article .content {
	margin: 7px 0;
}

section.documents footer {
	text-align: center;

}

section.right_content .box {
	padding:10px;
	width: 100%;
	margin-top: 25px;
}

section.right_content .box header {
	border-bottom: 1px solid #d7d7d7;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

section.right_content .box header {
	text-align: center;
}

section.right_content .box header h2 {
	margin-top: 5px;
}

section.right_content .box header span {
	font-size: 16px;
	font-weight: bold;
}

section.right_content .box input {
	width: 100%;
}

/*PAGINATION*/
ul.pagination {
	text-align:center;
}

ul.pagination li {
	list-style: none;
	display: inline-block;
	border-right: 1px solid #dddddd;
}

ul.pagination li:last-child {
	border-right: 0;
}

ul.pagination li a, ul.pagination li.active {
	padding: 5px 10px;
	text-decoration: none;
}

ul.pagination li:hover, ul.pagination li.active {
	font-weight: bold;
}

table.calendar {
	margin: 0 auto;
}

table.calendar,
table.calendar tr,
table.calendar tr td {
	border: 1px solid #dcdcdc;
	text-align: center;
	vertical-align: middle;
}

table.calendar tr th {
	padding: 10px;
}

table.calendar tr td a {
	padding: 10px;
	display: block;
}

table.calendar tr td a.disabled {
	cursor: normal;
	color: black;
}

table.calendar tr td.active {
	font-weight: bold;
}

/* EVENTS */
section.events article header h3 {
	margin-bottom: 2px;
}

section.events article header {
	border-bottom: 1px solid #d7d7d7;
}

section.events article .content {
	margin: 7px 0;
	word-break: break-word;
}

/* GALLERY */
.box-container {
	float: left;
	width: 33.33%;
}

section.gallery {
	text-align:center;
}

section.gallery .box {
	padding: 10px;
	border: 1px solid #d7d7d7;
	text-align: center;
	margin: 0 5px 10px 5px;
}

section.gallery .box p {
	display: block;
	margin: 0 auto;
	border-top: 1px solid #d7d7d7;
	padding: 10px 5px 0px 5px;
	margin-top: 10px;
	font-size: 0.8em;
	height: 2.8em;
	overflow: hidden;
}

section.gallery .box .thumbnail-container, section.gallery .box .thumbnail-container img {
	height: 150px;
	max-width: 100%;
}

/* SIMPLE FORM */
form.simple-form ol {
	padding: 0;
	margin: 0;
}

form.simple-form ol li {
	list-style: none;
}

form.simple-form ol li label span {
	display: inline-block;
	width: 150px;
}