html {	
	box-sizing:border-box;
}

img {
	max-width:90vw;
}

body {
	margin:0;
	background:#434e6e url(/userfiles/design/gradbak.jpg) repeat-x;
}

#c1 {
	bottom:0;
	padding: 0;
	text-align:center;
	min-height: 600px;
}

#c2 {
	clear: both;
	margin: 0 auto;
	background-color:#fff;
	/* background-image: url(/userfiles/design/c2_bak.jpg); */
	padding:10px;
	-moz-box-shadow: 0px 0px 4px #333; 
	-webkit-box-shadow: 0px 0px 4px #333; 
	box-shadow: 0px 0px 4px #333; 
	text-align:left;
	max-width:966px;
}



#c3 {

}


#c4 {
	border-top:10px solid #fff;
	border-bottom:10px solid #fff;
	background-color:#9FD9DA;

}
@media only screen and (min-width: 966px) {
	#c4 {
		background-image: url(/userfiles/design/c4-bak.gif);
		background-repeat: repeat-y;	
	}
}
	#c4 a {
		color: #005ca8;
	}
	#c4 a:hover {
		color: #000;
	}

#strap {
	border-bottom: 20px solid #fff;
	line-height: .8em;
}

	#strap a {
		display: block;
	}

#topbar {
	position:relative;
	border-top:10px solid #169da0;
	border-bottom:10px solid #169da0;	
	z-index: 1;
	aspect-ratio: 4.8 / 1;
	background: url(/userfiles/design/topbar.gif);
	background-size:cover;
}



	#topbar h1 {
		text-indent:-1000em;
		position:absolute;
	}
	


#content {
	
	color:#000;
	line-height:1.6em;
	min-height:500px;
}

@media only screen and (min-width: 966px) {

	#content {
		float:right;
		background:url(/userfiles/design/contentbaks/1.jpg) no-repeat top right;
	}

	#content.layout0, #content.layout3 {
		width:723px;
	}

}

	#content.layout1 {
		width:100%;
	}
	
	#content .inner {
		margin:10px;
	}
	@media only screen and (min-width: 966px) {
		#content .inner {
			margin:35px;
		}
	}
	
	#content img.img_float_left {
		margin:0 10px 5px 0;
	}
	
	#content img.img_float_right {
		margin:0 0 5px 10px;
	}
	


#breadcrumb {
	color: #6B6768;
	font-family: arial;
	padding: 0 0 10px 0;
	font-size: .95em;
}

	#breadcrumb a, #breadcrumb a:visited {
		color: #6B6768;
	}

	#breadcrumb a.last {
		cursor: text;
		text-decoration: none;
	}

#skipNav {
	position: absolute;
}


#themap {
	width: 100%;
	height: 400px;
}

.fancybox {
	cursor:url(/userfiles/icons/magnifier.png),pointer;
}

ul.gallery, ul.gallery li {
	margin: 0;
	padding: 0;
	list-style: none;
}	

	.gallery li {
		float: left;
	}

	.gallery li.clear {
		clear: left;
	}

	.gallery li img {
		max-width: 190px;
		width: auto !important;
		width: 190px;
		margin: 15px 0 0 15px;
	}
	
	.gallery li.first img {
		margin: 15px 0 0 0;
	}

ul.counterlinks, ul.counterlinks li {
	list-style: none;
	margin: 0;
	padding: 0;
}
	ul.counterlinks {
		margin: 15px 0;
	}
	
	ul.counterlinks li {
		float: left;
		padding: 5px;
		border: 1px solid #000;
		margin: 0 5px 0 0;
		background: #fff;
	}
	
	ul.counterlinks li.active {
		background: none;
	}
	
	ul.counterlinks li.active a {
		color: inherit;
		text-decoration: none;
	}

#slots {
	float:right;
	width:208px;
	color:#fff;
	padding: 16px 12px;
	background: rgba(255,255,255, 0.2);
}

	.slot {
		margin-bottom:20px;
		border-bottom: 1px solid #fff;
		padding: 0 0 10px 0;
	}
	
	.slot_title {
		font-size: 1.5em;
		color:#fff;
		margin: 8px 0 5px 0;
	}
	
	.slot_content {
		font-size: 1em;
		margin: 5px 0;
	}

	.news .slot_content {
		font-size: .9em;
	}

	q.slot_content {
		font-style: italic;
	}

	.slot .thumb {
		float: right;
		width: 90px;
		margin: 0 0 4px 5px;
	}

	.slot_link {
		font-weight: bold;
	}

	.more_link {
		display: block;
	}
	
	.slot_link:hover {
		text-decoration:underline;
	}
	
	.slot_author {
		text-align:right;
		font-size: .9em;
		font-weight: bold;
	}

	.slot ul.newslist {
		list-style: none;
		margin: 0;
		padding: 0;
		font-size: .9em;
	}

	.slot .newslist a {
		text-decoration: none;
		margin: 9px 0;
		display: block;
	}

	.slot .newslist .active a {
		font-weight: bold;
	}

	.slot .newslist b {
		float: right;
		margin: 0 0 0 5px;
		font-size: .9em;
	}
	

.document_library {
	border-bottom:1px solid #cbceee;
}


.document_library .library_header {
	background:#8b8b8b;
	color:#fff;
	font-weight:bold;
	padding:12px 14px;
	clear: both;
	margin: 0 0 10px 0;
}

.document_library .library_single_folder, .document_library .library_multiple_folders {
	margin:15px 0 0 0;
}

.document_library ul {
	margin: 0 0 5px 0;
	padding: 0 0 5px 20px;
	list-style: none;
}

.document_library li.library_item {
	padding:4px 5px 4px 20px;
	background:url(/userfiles/icons/page.png) no-repeat left center;
	color:#000;
	list-style: none;
	margin: 0;
}

.document_library .folder_opener {
	font-weight:bold;
	color:#000;
	padding: 10px 0;
}

.document_library .folder_opener i {
	font-weight: normal;
}

.document_library .folder {
	border-top:1px solid #cbceee;
	padding: 0 0 0 24px;
}

.document_library .folder .folder {
	border-top: none;
}

.document_library a {
	color:#000;
}
	
.courses {
	width:100%;
}

	.courses th {
		background:#169DA0;
		color:#fff;
		font-weight:bold;
		padding:5px;
	}
	
	.courses td {
		background:#fff;
		padding:5px;
	}

.booking_button {
	display:block;
	text-align:center;
	cursor: pointer;
	padding: 6px 12px;
	color:#fff !important;
	text-decoration:none;
	border:0;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background:#a8b9ca;
	background-image: -webkit-gradient(
	    linear,
	    left bottom,
	    left top,
	    color-stop(0.46, #899fb5),
	    color-stop(0.73, #a8b9ca),
	    color-stop(0.87, #b3c2d1)
	);
	background-image: -moz-linear-gradient(
	    center bottom,
	    #899fb5 46%,
	    #a8b9ca 73%,
	    #b3c2d1 87%
	);
}

.booking_button:hover {
	background:#74879a;
}

.booking_button:active, .booking_button.on {
	background:#A6222F;
	background-image: -webkit-gradient(
	    linear,
	    left bottom,
	    left top,
	    color-stop(0.46, #8A1A2A),
	    color-stop(0.73, #A6222F),
	    color-stop(0.87, #C61A32)
	);
	background-image: -moz-linear-gradient(
	    center bottom,
	    #8A1A2A 46%,
	    #A6222F 73%,
	    #C61A32 87%
	);
}


#site_info {
	padding: 24px 0;
	text-align:center;
	color:#555;
	border-top:10px solid #169da0;
	border-bottom:2px solid #169da0;
	font-size:.9em;
	display:grid;
	grid-template-columns:1fr;
	gap:5px;
}
@media only screen and (min-width: 966px) {
	#site_info {
		grid-template-columns:7fr 4fr;
	}
}

	#site_info a {
		color:#555;
	}
	
	#site_info a:hover {
		color:#169da0;
	}


#foot_logos {
	text-align:center;
}

	#foot_logos img {
		border:0;
		margin:32px 20px;
		max-width:85vw;
	}

#credits {
	text-align:center;
	font-size:.9em;
	color:#fff;
	padding-top:10px;
}

	#credits a {
		color:#fff;
	}
	
	#credits a:hover {
		color:#ff0099;
		text-shadow: 0px 0px 3px #ffffff;
	}
	
@media only screen and (max-width: 900px) {
	p[style*="margin-left: 40px;"] {
		margin-left:20px !important;
	}
}
	