/*layout*/

p, hr, dl, pre, form, table, address, blockquote {
    margin: 1.1em 0;
}

#top-header {
    background-color: #ffffff;
}

#top-header {
    max-width: 960px;
	height: 120px;
    margin-left: auto;
    margin-right: auto;
}

#top-header h1 {
    margin: 10px 0 5px 4px;
	color: #08758f !important;
	font-family: Georgia, serif;
	font-size: 1.8em;
	font-weight: normal;
}

#top-header img {
    padding: 10px 0;
}

#top-header ul {
    float: right;
    margin: 5px 0px 0px 0px;
}

#top-header li {
    display: inline;
}

#header {
    padding: 0 10px !important;
    background-color: #ffffff;

}

#logo {
    float: left;
    margin:  20px 0 5px 0;
}

.front-page #wrapper {
   margin: 0px auto 10px auto;
}

#wrapper {
   -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background-color: #ffffff;
    border: 0px solid #ffffff;
    border-radius: 0px;
    clear: both;
    margin: 0px auto 0px auto;
    padding: 0 10px 10px 10px ;
    position: relative;
}

#featured {
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	background-color: #ffffff;
	border: 0px solid #ffffff;

}

#content, #content-full, #content-blog {
    margin-top: 10px;
    margin-bottom: 10px;
}

.clear {
   clear: both;
}

.left {
   float: left;
}

.right {
   float: right;
}

.column-half-left {
    float: left;
    margin-right: 10px;
    width: 49%!important;
}

.column-half-right {
    float: right;
    margin-right: 0px;
    width: 49%!important;
}


img.wp-post-image, img.attachment-full, img.attachment-large, img.attachment-medium, img.attachment-thumbnail {
    margin: 15px 0px!important;
}

.widget-wrapper {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-color: #D5E1F0;
    border: 1px solid #D5E1F0;
    border-radius: 0px;
    margin: 0 0 10px;
    padding: 10px;
}


#respond, area, select {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    background-color: #D5E1F0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#D5E1F0), to(#D5E1F0));
    background-image: -webkit-linear-gradient(top, #D5E1F0, #D5E1F0);
    background-image: -moz-linear-gradient(top, #D5E1F0, #D5E1F0);
    background-image: -ms-linear-gradient(top, #D5E1F0, #D5E1F0);
    background-image: -o-linear-gradient(top, #D5E1F0, #D5E1F0);
    background-image: linear-gradient(top,#D5E1F0, #D5E1F0);
    border: 1px solid #D5E1F0;
    border-bottom-color: #D5E1F0;
    border-radius: 0px;
    clear: both;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=D7DCC2, endColorstr=D7DCC2);
}

textarea, select, input[type="text"], input[type="password"], input[type="email"] {
    background-color: #ffffff!important;
    border: 1px solid #D5E1F0;
    border-bottom-color: #ffffff;
}	

a.button, input[type='reset'], input[type='button'], input[type='submit'], a.button:hover, input[type='reset']:hover, input[type='button']:hover, input[type='submit']:hover {
    -moz-border-radius: 0px;
    -moz-box-shadow: 0 0px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-box-shadow: 0 0px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-border-radius: 0px;
    background-color: #004762;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#638D3C), to(#638D3C));
    background-image: -webkit-linear-gradient(top, #004762, #004762);
    background-image: -moz-linear-gradient(top, #004762, #004762);
    background-image: -ms-linear-gradient(top, #004762, #004762);
    background-image: -o-linear-gradient(top, #004762, #004762);
    background-image: linear-gradient(top, #004762, #004762);
    box-shadow: 0 0px 0 rgba(255, 255, 255, 0.3) inset;
    border: 0px solid #004762;
    border-bottom-color: #004762;
    border-radius: 0px;
    color: #ffffff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#004762, endColorstr=#004762);;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 0px 0 #ffffff;
}

a.button:hover, input[type='reset']:hover, input[type='button']:hover, input[type='submit']:hover {
    background-color: #ffffff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#009EC5), to(#009EC5));
    background-image: -webkit-linear-gradient(top, #009EC5, #009EC5);
    background-image: -moz-linear-gradient(top, #009EC5, #009EC5);
    background-image: -ms-linear-gradient(top, #009EC5, #009EC5);
    background-image: -o-linear-gradient(top, #009EC5, #009EC5);
    background-image: linear-gradient(top, #009EC5, #009EC5);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#009EC5, endColorstr=#009EC5);
}

a:hover  {
    color: #000000!important;
}

a:focus {
	border: 2px solid #000000!important;
}



/* Navigation
----------------------------------------------------------------------------------------*/
.mobile-hide {
    display: none;
}

.menu {
    background-color: #004762 !important;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#004762), to(#004762));
    background-image: -webkit-linear-gradient(top, #004762, #004762);
    background-image: -moz-linear-gradient(top, #1004762, #004762);
    background-image: -ms-linear-gradient(top, #004762, #004762);
    background-image: -o-linear-gradient(top, #004762, #004762);
    background-image: linear-gradient(top, #004762, #004762);
    background-image: -moz-linear-gradient(center top , #004762, #004762);
    clear: both;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#004762, endColorstr=#004762);
    margin: 0 auto;	
}

ul.menu > li:hover {
    background-color: #004762!important;
    color: #ffffff;
}

.menu a:hover {
	color: #ffffff!important;
	text-decoration: none!important;
}


.menu a {
    border: 0px solid #ffffff;
	border-bottom: 4px solid #004762;
    color: #ffffff;
    font-size: 19px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: none;
	margin-right: 10px;
	padding: 1px 5px;
}

.menu a:focus {
	border: 2px solid #ffffff!important;
}

.menu a:hover {
	background-color: #004762;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#004762), to(#004762));
    background-image: -webkit-linear-gradient(top, #004762, #004762);
    background-image: -moz-linear-gradient(top, #004762, #004762);
    background-image: -ms-linear-gradient(top, #004762, #004762);
    background-image: -o-linear-gradient(top, #004762, #004762);
    background-image: linear-gradient(top, #004762,#004762);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#004762, endColorstr=#004762);
	border-bottom: 4px solid #009EC5;
	text-decoration: none !important;
}

/* For mobile phones: */
@media screen and (max-width: 650px) {
  
ul.menu > li:hover {
    background-color: #ffffff!important;
    color: #000000;
}

.menu a:hover {
	color: #000000!important;
}

.menu a:focus {
	border: 2px solid #000000!important;
}

}

   

.menu .current_page_item a, .menu .current-menu-item a {
	background-color: #004762;
	border-bottom-color: transparent;
}


.menu li:hover {
    white-space: normal;
    z-index: 10000;

}


.menu li li a {
    background: #efefef!important;
    border: none;
    color: #000000;
}


.menu li li {
    background: #efefef;
    background-image: none;
    border-bottom: 1px solid #000000;
    color: #000000;
}

/*Fonts and font colours*/


#top-header a:hover {
    text-decoration: underline;
}

#top-header a {
    color: #004d5d
}

h1 {
    font-family: georgia !important;
    font-size: 2em;
    font-weight: normal;
}

h2 {
    font-size: 1.8em !important;
    font-weight: normal;
}

h3 {
    font-size: 1.2em !important;
    font-weight: normal;
}

h4 {
    font-size: 1.1em;
    font-weight: normal;
}

h5 {
    font-size: 1em;
    font-weight: normal;
}

p, h1, h2, h3, h4, entry-title, post-title, h1 a, h2 a, h3 a, h4 a {
    color: #004762 !important;
}

#footer-wrapper h2 {
    color: #ffffff !important;
				margin-top: 0;
}

#footer-wrapper li {
    font-size: 1.2em;
				padding-bottom: 1em;
}

a, a:hover {
    color: #000000;
	text-decoration: underline;
}

a:hover {
    text-decoration: underline!important;
}

#widgets ul li a {
    text-decoration: underline;
}

.comment-author .says {
	color: #000000;
}


/*Images*/

img.right {
    float: right;
    margin: 0px 0px 5px 5px;
}

#footer-wrapper img {
    display: none !important;
}


/* Tables */


table.style1 {
    padding: 10px;
    border-collapse: collapse;
    border-color: #fff;
    border-width: 0;
    width: 100%!important;
    clear: both;
}


/* Features */


.feature {
	 font-size: 0.95em;
	 line-height: 1.3em;
	 margin-bottom: 10px;
	 overflow: auto;
	 padding-right: 10px;
}

.feature a {
	text-decoration: underline!important;
}

.feature a:hover {
	color: #FFDD49!important;
}


.feature h4 {
	font-size: 2.2em!important;
	color: #FFDD49!important;
	margin-top: -10px;
}

.feature img {
	 padding: 0px;
	 margin: 0px 10px 0px 0px;
	margin-top: -21px;
	overflow: auto;
	float: left;
}

/* Colours */

.red, .red a{
	background-color: #AF2B2B !important;
	color: #ffffff !important;
}

.yellow, .yellow a {
	background-color: #C79529 !important;
	color: #ffffff !important;
}

.orange, .orange a {
	background-color: #F47920 !important;
	color: #ffffff !important;
}

.green, .green a {
	background-color: #009EC5 !important;
	color: #ffffff !important;
}

.darkgreen, .darkgreen a {
	background-color: #00804D !important;
	color: #ffffff !important;
}

.pink, .pink a {
	background-color: #B52085 !important;
	color: #ffffff !important;
}

.purple, .purple a {
	 background-color: #782B91 !important;
	 color: #ffffff !important;
}

/* Footer */

#footer {
    background-color: #19718b !important;
    max-width: 912px;
    padding: 10px 25px 0 25px;
    color: #ffffff;
}

#footer a, #footer a:hover {
	color: #ffffff;
}


/* =Widgets and =Forms
-------------------------------------------------------------- */

.widget-wrapper select,
.widget-wrapper input[type="text"],
.widget-wrapper input[type="password"],
.widget-wrapper  input[type="email"] {
	width: 80%;
}


select,
input[type="text"],
input[type="password"],
input[type="email"] {
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	-webkit-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0);
	-moz-box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0);
	box-shadow: 0 1px 0 #ffffff, inset 0 1px 1px rgba(0, 0, 0, 0);
	background-color: #ffffff;
	border: 0px solid #ffffff;
	border-bottom-color: #ffffff;
	border-radius: 0px;
	padding: 8px 8px;
}


@media screen and (max-width: 650px) {
	
.js .main-nav {
		position: relative;
		background-color: #004762;
		background-image: -webkit-gradient(linear, left top, left bottom, from(#004762), to(#004762));
		background-image: -webkit-linear-gradient(top, #004762, #004762);
		background-image: -moz-linear-gradient(top, #004762, #004762);
		background-image: -moz-linear-gradient(center top , #004762, #004762);
		background-image: -ms-linear-gradient(top, #004762, #004762);
		background-image: -o-linear-gradient(top, #004762, #004762);
		background-image: linear-gradient(top, #004762, #004762);
		clear: both;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#004762, endColorstr=#004762);
		margin: 0 auto;
	}
	
.js .main-nav .menu li {
		background-color: #D7DCC2;
		border: none;
	}

	.js .main-nav .menu li a {
		border-bottom: 2px solid #000000 dotted;
	}

.js .main-nav .menu a {
		margin-right: 0px;
	}

	.js .main-nav .menu li.current_page_item,
	.js .menu .current_page_item a,
	.js .menu .current-menu-item a {
		background-color: #D7DCC2;
	}
	
}








