/*
Theme Name:     SITE 1.2
Description:    Custom theme for SITE by Chesapeake
Author:         Chesapeake Studio Ltd.
Author URI:     http: //www.thisischesapeake.com
Version:        1.2
*/



/* References */

	/* Typography  */
		
	/* Colours

		Publications, river: #5BA1CD;
		Events, forest: #00B194;
		Clinic, dark-forest: #19413B;
		Training, national-park: #82849A;


	*/



/* Globals */

html, body {
	font-size: 15px;
	line-height: 1.5em;
	-webkit-font-smoothing: antialiased;
	height:100%;
	color:#444;
	} 

a img {	border:0; outline:none;	text-decoration: none; }	

.clearfix:before,
	.clearfix:after,
	.block:before,
	.block:after,
	.wrap:before,
	.wrap:after{ content: " "; display: table; }
	
	.clearfix:after,
	.block:after,
	.wrap:after{ clear: both; }
	
	.clearfix,
	.block,
	.wrap { *zoom: 1; }



/* Headings */

h1, h2, h3, h4 { font-weight:normal; margin: 0 0 1em 0; }

h1,.h1 { font-size: 200%; line-height: 1.25em; font-weight: 500; }
h2,.h2 { font-size: 200%; line-height: 1.25em; }
h3,.h3 { font-size: 150%; line-height: 1.333em; }
	.block.sign h3 { font-size: 200%; line-height: 1.25em; }
h4,.h4 { font-size: 150%; line-height: 1.333em; }
h5,.h5 { font-size: 125%; line-height: 1.333em; }

.the-page-content h3,
.the-page-content h4,
.the-page-content h5 { margin: 2em 0 1.333em 0;  }



/* Typography */

small {	font-size: 18px; line-height: 20px; }

em,
i { font-style: italic; }

strong,
b { font-weight: 500; }

blockquote { margin: 1.333em 0; padding-left: 1.333em; border-left: 2px solid #f2f3f4; }

p { margin:0 0 0.667em 0; }

.book { font-weight: 400; }
.medium { font-weight: 500; }

.capitalize { text-transform: capitalize; }


	
/* Links */

a,
.sign,
input.print.arrow-right-sm { -o-transition:.7s;
	  -ms-transition:.7s;
	  -moz-transition:.7s;
	  -webkit-transition:.7s;
	  /* ...and now for the proper property */
	  transition:.7s;
	}
		
a:link, a:visited {	color:#000; text-decoration: none; outline:none; }	
a:active, a:hover {	color:#777; text-decoration: none; outline:none; }

.sign:hover { opacity: 0.7; }

a.arrow-right { display: block; background:url(images/arrow-right.png) right 5px no-repeat; }
a.arrow-left-sm { display: block; background:url(images/arrow-left-sm.png) left 8px no-repeat; padding-left: 30px; }

strong.arrow-left-sm { display: block; background:url(images/arrow-left-sm.png) left 4px no-repeat; padding-left: 30px; min-height: 30px; }
strong.arrow-right-sm { display: block; background:url(images/arrow-right-sm.png) right 4px no-repeat; padding-right: 30px;  min-height: 30px; }

a.login { display:block; padding: 25px 5px 0 0; float: right; }

a.box-shadow-menu { display:none; }


/* Colours */

.bg-publications,
#publications,
.bg-river { background-color: #5BA1CD; }
.bg-events,
#events,
.bg-forest { background-color: #00B194; }
.bg-clinic,
#clinic,
.bg-dark-forest { background-color: #19413B; }
.bg-training,
#training,
.bg-national-park { background-color: #82849A; }
.bg-misty-morning { background-color: #FBF9F9; }

.publications,
#publications,
.river,
a.river { color: #5BA1CD; }
.events,
#events,
.forest,
a.forest { color: #00B194; }
.clinic,
#clinic,
.dark-forest,
a.dark-forest { color: #19413B; }
.training,
#training,
.national-park,
.desc,
a.national-park, a.desc { color: #82849A; }
.misty-morning { color: #FBF9F9; }

.sign, #publications, #events, #clinic, #training { color:white; }

span.relevanssi-query-term { background: #FFF797; }



/* Page */

.block { margin: 0 auto; }

.wrap { width: 100%; }

.a1 { width: 125px; }
.a2 { width: 250px; }
.a3 { width: 375px; }
.a4 { width: 500px; }
.a5 { width: 625px; }
.a6 { width: 750px; }
.a7 { width: 875px; }
.a8 { width: 1000px; }

.b1 { width: 187px; }
.b2 { width: 375px; }
.b3 { width: 562px; }
.b4 { width: 750px; }

/* .a1 { width: 172px; }
.a2 { width: 344px; }
.a3 { width: 512px; }
.a4 { width: 688px; }
.a5 { width: 860px; }
.a6 { width: 1032px; }
.a7 { width: 1204px; }
.a8 { width: 1376px; }

.b1 { width: 344px; }
.b2 { width: 688px; }
.b3 { width: 1032px; }
.b4 { width: 1376px; } */



/* Borders */

.tan-border-top { border-top: 6px solid #EFECEA; }

.misty-morning-border-top { border-top: 2px solid #FBF9F9; }
body.body-sitegeist .misty-morning-border-top { border-top: 2px solid #f2f3f4; }
.misty-morning-border-bottom { border-bottom: 2px solid #FBF9F9; }



/* Images */

img.alignleft, div.alignleft { float:left; margin:0 20px 15px 0; }
img.alignright, div.alignright { float:right; margin:0 0 15px 20px; }
img.aligncenter, div.aligncenter { margin:0 auto; margin-bottom:20px; display: block; }

img.avatar { float: right; margin-top: 5px;  }

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



/* Lists */
#main-menu-mobile { display: none; visibility: collapse; }
#main-menu ul { list-style: none; font-size: 0; line-height: 0; font-weight: 500; }
#main-menu ul li { font-size: 16px; line-height: 1.5em; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; width: 187px; }
#main-menu ul li a { padding: 2px 5px 3px 5px; }
#main-menu ul li.current-menu-item a,
body.body-sitegeist #main-menu ul li.menu-item-52 a, /* if Sitegeist */
body.body-events #main-menu ul li.menu-item-50 a, /* if Events */
body.body-news #main-menu ul li.menu-item-48 a, /* if News */
body.body-trainees #main-menu ul li.menu-item-20 a, /* if Trainees */
body.body-members #main-menu ul li.menu-item-18 a /* if Members */ { background-color:#FFF797;}

#index-sidebar ul { list-style: none; }
#index-sidebar ul li { display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; }
#index-sidebar ul li a { padding: 3px 5px; }
#index-sidebar li.current-cat { background-color:#FFF797;}

.the-page-content ul { padding: 0 0 0.667em 1.2em; list-style: circle; }
	#page-content ul#subpages { padding: 0 ; list-style: none; }
.the-page-content ol { padding: 0 0 0 1.2em; list-style: decimal;  }
.the-page-content ul li,
.the-page-content ol li { margin:0 0 0.333em 0; }

#article ul { list-style: disc; padding-left: 1.2em }
#article ul li { padding-left: 0 }
#article ol { list-style: decimal; padding-left: 1.2em; margin-bottom: 0.5em }
#article ol li { padding-left: 0 }



/* Forms */

div#wpcf7-f200-p27-o1 { padding-top:3em; }
div.wpcf7 input.wpcf7-text,
div.wpcf7 textarea { width:94%; padding:2%; border:none; background: #EBE9E9; font-size: 16px;}

#header #search { line-height: 0; font-size: 0; }
#header input#search { font-family: "freight-sans-pro",sans-serif;font-style: normal;background:url(images/search-glass.png ) left top no-repeat #EBE9E9; font-size: 14px; padding: 5px 5px 5px 25px; border:none;  width: 100px; height: 18px; margin: 0; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; }
#header input.btn { font-family: "freight-sans-pro",sans-serif;font-style: normal; font-size: 14px; padding:5px 5px; background-color:black; color:white; border:none; margin: 0;display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; }