/*  

Theme Name: The National BioResource

Theme URI: www.bioresource.vivid-agency.net

Description: The National BioResource

Version: 	1.0a

Author: 
Author URI: 

*/



/* #Reset & Basics 
================================================== */
	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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }


/* #Basic Styles
================================================== */
	body {
		background: #fff;
		font: 14px/21px "HelveticaNeueW01-65Medi", "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #444;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
 }
/* #Typography
================================================== */
	h1, h2, h3, h4, h5, h6 {
		color: #cd0303;
		font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
		font-weight: normal;
 

		}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	h1 { font-size: 2.0em; line-height:1.2em; margin-bottom: 14px;}
	h2 { font-size: 1.6em; line-height: 40px; margin-bottom: 10px; }
	h3 { font-size: 1.2em; line-height: 34px; margin-bottom: px; color: #333; font-weight: bold;
	}
	h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
	h5 { font-size: 17px; line-height: 24px; }
	h6 { font-size: 14px; line-height: 21px; font-weight: bold; margin-bottom: 20px;
	}

	.subheader { color: #777; }

	p { margin: 0 0 20px 0; line-height: 150%;

}
	p img { margin: 0; }
	p.lead { font-size: 21px; line-height: 27px; color: #777;  }

	em { font-style: italic; }
	strong { font-weight: bold; color: #333; }
	small { font-size: 80%; }

/*	Blockquotes  */
	blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: normal; }
	blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 3px solid #cd0303; }
	blockquote cite { display: block; font-size: 12px; color: #555; }
	blockquote cite:before { content: "\2014 \0020"; }
	blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { }

	hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }


/* #Links
================================================== */
	a {;
		text-decoration: none;
		color: #313130;
		line-height: inherit;
		
		
	}
	
	p a, td a {
		color: #cf0000;
		font-weight: bold;
	}
	

	
	a:hover, a:focus { color: #000;
	}
	p a, p a:visited, td a:visited { line-height: inherit; }
	
	p a:hover{
		color: #ff3333;
		font-weight: bold;
		text-decoration: underline;
	}
	
	#email-link{
		color: #cf0000;
		font-size: 12px;
	}
	#here-link{
		color: #cf0000;
		font-size: 12px;
		text-decoration: underline;
	}
	
	#top-nav-bar .menu-item a:hover , #top-nav-bar .current-menu-item a, #top-nav-bar .current-menu-parent a{
		background: url("images/arrow-active.png") no-repeat 50% -3px;
		color: #600;
	}
	
	span.close a:hover {
		color: #cd0303;
	}
	
		
	
	/* #Lists
================================================== */
	ul, ol { }
	ul { list-style: none outside; }
	ol { list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc { list-style: disc outside; }
	ul ul, ul ol,
	ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
	ul ul li, ul ol li,
	ol ol li, ol ul li { margin-bottom: 6px; }
	li { line-height: 35px; margin-bottom: 2px;
	font-size: 12px;
	}
	
	article li {line-height:inherit; font-size:14px; margin-bottom:8px;}
	article ol {margin-left: 50px;}

#text-size li {
	
}

ul.large li { line-height: 21px; }
	li p { line-height: 21px; }

/* #Images
================================================== */

	img.scale-with-grid {
		max-width: 100%;
		height: auto; 
		}
		
	img.logo {
		border-radius: 0;
		box-shadow: none;
		}
		


/* Top Nav
================================================== */

	header {
		margin-top: 20px;
	}
	
	#logo-cont {
		margin-top: 20px;
		margin-left: 0;
	}
	
	#nhs-cont {
		margin-right: 0;
	}
	
	#nhs-cont img {
		margin-left: 50px;
		margin-right: 0;
	}

	/* nav#top-nav-bar {
	height: 35px!important;
		background-color: #F0F0F0;
	}
	
	#nav-item, #text-size {
		margin: 0;
		
		
	}
	
	#nav-item li, #text-size li{
		float: left;
		margin: -5px 0px 10px 0;
	}
	
	.menu-item a, #text-size li{
		float: left;
		margin: 0px 15px 0px 10px;
		padding: px;
		font-weight: 800;
		text-decoration: none;
	}
	
	*/
	
	nav#top-nav-bar {
	background-color: #F0F0F0;
	padding: 0;

	}
	
	nav#top-nav-bar ul {
		background-color: red;
		display: block;
		margin: 0!important;
		padding: 0!important;
	}
	
	nav#top-nav-bar ul li{
	
		float:left;
		
		padding: 0!important;
		font-weight: bold;
		margin: 0 10px;
		
	}
	
	nav#top-nav-bar ul li a {
	
		padding: 10px 0;
	}
	
	#top-nav-bar .sub-menu {
		display: none!important;
	}
	
	#text-size{
		float: right;
		
	}
	
	#text-size li {
		margin: 0px 10px 0px 0px;
	
	}

/* Random Boxes 
================================================== */

	#random-boxes-bg {
		background-color: #F0F0F0;
	}

	#random-box-cont {
		width: 960px;
		margin: 0 auto;
		overflow: hidden;
	}
	
	#random-box-cont img{
	max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
	}
	

	#random-box-cont div{
		width:  192px;
		height: 160px;
		float: left;
		padding: 0;
		margin: 0;
	}
	
	#random-box-cont div p {
		margin: 10px;
		float: left;
		font-size: 1.7em!;
		line-height: .9em;
		color: #fff;
		font-weight: bold;
	}
	
		#random-box-cont div p a {
		color: #fff;
		font-size: 12px;

	}
	
	#box-1, #box-4, #box-7, #box-10, #box-13 {
		background-color: #CC0000;
	}
	
	#box-2, #box-5, #box-8, #box-11, #box-14 {
		background-color: #990000;
	}
	
	#box-3, #box-6, #box-9, #box-12, #box-15 {
		background-color: #550000;
	}
	
	.sub-menu{
		
	margin: 0;
	padding: 0;

		
	}
	
	.hpbox p {
		font-size: 1.9em;
	}
	
	
	ul.sub-menu li a{
	padding-left: 10px;
	background-color: #f0f2f2;
	display: block;
	position: relative;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1.7em;
	padding: 5px 5px;
	}
	
	ul.sub-menu li#select{
		background-color: #cd0000;
	}
	
	ul.sub-menu li#select a{
		color: #fefefe;
	}
	
	ul.sub-menu li a:hover{
		background-color: #cd0000;
	
	}
	
	ul.sub-menu li a:hover:after, ul.sub-menu li.current_page_item a:after {
	content: ' ';
		width: 10px;
		height: 35px;
		position: absolute;
		top:  0px;
		right:  -10px;
		background-color: #f00;
		background: url("images/arrow-side.png") no-repeat 0 40%;
	}
	
	ul.sub-menu li:hover > a, ul.sub-menu li.current_page_item > a, ul.sub-menu li.current-menu-item > a {
	background-color: #cd0000;
	color: white; }
	
	ul.sub-menu ul.sub-menu li.current-menu-item > a {background-color: #c0c0c0; color:#5a5a5a}
	
	.sub-menu .current-page-ancestor > a{
		background-color: #cd0000;
		color: white; 
	}
	
	.sub-menu .sub-menu {
		margin :5px 0 0 15px
	}
	
	.sub-menu .sub-menu li a {color:#5a5a5a; text-transform:none;}
	.sub-menu .sub-menu li a:hover {background:#c0c0c0; color:#fff}
	.sub-menu .sub-menu .sub-menu li a {color:#5a5a5a; text-transform:none; font-weight: normal;}
	.sub-menu .sub-menu .sub-menu li a:hover {background:#c0c0c0; color:#fff} 
	
	.sub-menu .sub-menu li a:after {
		background: none!important;
	}

/* Cat list pages 
================================================== */	
h2.cat-list { margin-top:5px; line-height: 1.2;}	
h2.cat-list a {color: #cd0303;}
h2.cat-list a:hover {color: #000;}
.bio-list-details {color:#999;}
.cat-text p  { margin-bottom:10px;}
.bio-list-details a {color:#cd0303;}
.bio-list-details a:hover {color: #000;}
.cat-list-column hr {margin: 30px 0 10px;}

.list-butt {
	background-color: #b8b8b8;
	color: #fff;
	padding: 2px 10px 3px;
	font-weight: bold;
	display: -moz-inline-stack;
	display: inline-block;
	vertical-align: middle;
	zoom: 1;
	-webkit-transition: all 0.3s ease;                  
	-moz-transition: all 0.3s ease;                 
	-o-transition: all 0.3s ease;   
	-ms-transition: all 0.3s ease;          
	transition: all 0.3s ease;
}

.list-butt:hover {
	-webkit-transition: all 0.1s ease;                  
	-moz-transition: all 0.1s ease;                 
	-o-transition: all 0.1s ease;   
	-ms-transition: all 0.1s ease;          
	transition: all 0.3s ease;
	background:#cd0303; 
	color:#fff;
 }
 
 .thumb-container {
	 float:left;
	 margin-right:20px;
	 position:relative;
	 }
	 
 .thumb-container-over {
	 background:#cd0303;
	 position:absolute;
	 height:140px;
	 width:0px;
 }

 .thumb-container img {border-left: 5px solid  #cd0303;margin-bottom: 20px;}
 
 
 
/* Pagination */
/* Pagination */
/* Pagination */
/* Pagination */
.pagination {
clear:both;
/*padding: 9px 0 0 20px;
background:url(images/pagination-bg.png) left center no-repeat;*/
position:relative;
font-size:12px;
line-height:15px;
margin:10px 0;
}
 
.pagination span, .pagination a {
display:block;
float:left;
font-weight:400;
margin: 2px 4px 20px 0px;
padding:6px 10px 5px 10px;
border:1px solid ##F0F0F0;
text-decoration:none;
width:auto;
background: #F0F0F0;

}
 
.pagination a:hover{
background: #ccc;
}
 
.pagination .current{
padding:6px 10px 5px 10px;
background: #cd0303;
border-color: #cd0303;
color:#fff; 
font-weight:bold;
}




/* Random Boxes 
================================================== */	
	
	
	
	li#select{
		background-color: #cd0000;
		
	}
	
	
	#register{
		margin-top: 105px;
	}
	
	#plus{
		margin-top: 8px;
	}
	#minus{
		margin-right: 5px;
	}
	
	#footer{
		border-top: 2px dotted #d8d8d5;
		font-size: 10px;
		padding-top: 15px;
		margin-top: 200px;
	}
	
	#fontsizer {
		display: block;
		float: right;
		margin: 7px 4px 0 0;
	}
	
	
	#home-copy {
		margin-top: 20px;
	}
	/* #tables
	================================================== */
	td {

		
	}
	
	table {
		width: 100%!important;
	}	
	
	tr {
		height: ;
	}
	
	
	
		td {
	
	padding: 10px;
		
	}
	
	tr {
		border-top: 1px solid #ddd;
	}
	
	tr:first-child {
		border-top: none;
	}
	
	table {
		width: 100%!important;
	}	
	
	tr {
		height: ;
	}
	
	/* #footer
	================================================== */
	
	footer {
		border-top: 1px solid #dedede;
		padding-top: 30px;
	}
	
	footer a{
		color: #cf0000;
		font-weight: bold;
	}
	
/* #Tool Tips
================================================== */
	.tooltip {
		border-bottom: 1px dotted #a00;
		cursor: help;
	}

/* #Lists
================================================== */

    article ul {

    }

	article ul li {
		font-size: inherit;
		line-height: inherit;
		list-style: inside;
		margin-left: 15px;
		list-style-position: outside;
	}


img.alignright {
	float: right;
	margin: 0px 0px 10px 10px;

}

/* #Contact box
================================================== */

.contact-side {
	padding: 10px 0px 0px 5px;
	background:url(images/sidebar-contact-bg.jpg) no-repeat right top #cd0000;
	color: #fff;
	font-weight: bold;
	clear: both;
}
.contact-side a {
	color:#fff;
	*font-size: 90%; /* IE 7 and below */
	font-size: 90%; /* IE 8 and below */
}
.contact-side a:hover {color:#000;}
.contact-side	p.mb-10 {padding-bottom:10px}

.contact-side.sidebar-rare {
	background:url(https://bioresource.nihr.ac.uk/wp-content/uploads/2013/10/sidebar-rare-diseases-small.jpg) no-repeat 5px 5px #cd0000;
	background-size:210px 104px;
	padding-top: 115px;
}

.contact-side.sidebar-rare p {padding-bottom:10px;}
.contact-side.sidebar-rare a { font-size:10px}


a.glossaryLink {font-weight: normal !important; color:#444 !important; border-bottom-color:#cd0303 !important}

li.bio-menu-parent > a {background-image:url(images/menu-parents.png);
background-position:right 2px;
background-repeat:no-repeat;
}

li.bio-menu-parent > a:hover {
	background-position:right -74px;
}

li.bio-menu-parent.current-menu-item > a {background-image:url(images/menu-parents-close.png);
background-position:right -75px;
background-repeat:no-repeat;
}

/* #link images with rollover
================================================== */
.da-thumbs {
	list-style: none;
	position: relative;
	margin: 20px auto;
	padding: 0;
}

.da-thumbs li {
	list-style: none;
	float: left;
	margin: 5px 15px 5px 0px;
	background: #edf0f0;
	width:150px;
	height:270px;
	padding: 5px;
	position: relative;	
}


.bio_link_container .da-div ul li {margin-right:0px; margin-left:15px}
.bio_link_container .da-div ul {margin-left:-15px;}


h2:before  { clear: both;}

.da-thumbs li:hover {box-shadow: 0 0px 5px rgba(0,0,0,0.3);}

.da-thumbs li a,
.da-thumbs li a img {
	display: block;
	position: relative;
}
.da-thumbs li a {
	overflow: hidden;
}
.da-thumbs li a div {
	position: absolute;
	background: url(images/bio-rollovers.png) no-repeat top center;
	width: 100%;
	height: 100%;
}
.da-thumbs li a div span {
	display: block;
	padding: 10px 0;
	margin: 120px 20px 20px 20px;
	font-weight: normal;
	text-align:center;
	color: rgba(255,255,255,0.9);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.da-thumbs strong { color:#cd0303; font-size:13px; display: block; margin-top: 7px;}
.da-thumbs p { font-size:12px; margin-bottom:1px; line-height: 18px;}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {
		li#select:after {
		   
		    border-color: transparent transparent transparent #cd0000;
		    border-style:solid;
		    border-width:0px;
		    position:absolute;
		   	top:153px;
		    left:182px
		}
		
			article ul li {
				font-size: inherit;
				line-height: inherit;
				list-style: inside;
				margin-left: 0px;
				margin-bottom: 20px;
				clear: both;
				
		
			}
	}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	.menu-item a, #text-size li{
		float: left;
		margin: 0 10px 0 0;
		padding: 5px;
		font-weight: 800;
		text-decoration: none;
	}
	

		#random-box-cont {
			width: 770px;
			margin: 0 auto;
			overflow: hidden;
		}
		
		#random-box-cont div{
			width:  154px;
			height: 128px;
			float: left;
		}
		
		#random-box-cont img{
		max-width: 100%;
    	height: auto;
    	width: auto\9; /* ie8 */
	}
	li#select:after {
	    
	    border-color: transparent transparent transparent #cd0000;
	    border-style:solid;
	    border-width:0px;
	    position:absolute;
	   	top:18px;
	    left:229px
	}
	
	.hpbox p {
		font-size: 1.2em!important;
	}
	
	.contact-side {
		font-size:10px;
		background-size: 60px 58px;
	}
	
	.contact-side.sidebar-rare {
		background-size:162px 80px;
		font-size:12px;
		padding-top:95px;
	}
	
	#nhs-cont img {
		margin-left: 22px;
		margin-right: 0;
	}
	
	.bio_link_container .da-div ul {
		margin: 10px 15px 10px -15px;
		float: left;
	}

	}
	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
	
	.bio_link_container .da-div ul {
		margin: 10px 15px 10px -15px;
		float: left;
	}
	
	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	#nhs-nihr {
		position: absolute;
		top: 0;
		right: 0%;
		width: 30%;
	
	}
	
	#logo-cont {
		margin-top: 60px;
	}
	
	h1 {
		font-size: 2.2em;
		line-height: 1em;
		margin: 0 0 20px;
	}
	
	.hpbox p {
		font-size: 1em!important;
	}
	
	#nav-item a, #text-size li{
		float: left;
		margin: 0 10px 0 0;
		padding: 5px;
		font-weight: 800;
		font-size: 0.7em;
		text-decoration: none;
	}
	
	#random-box-cont {
		width: 426px;
		margin: 0 auto;
		overflow: hidden;
	}
	
	#random-box-cont div{
		width:  142px;
		height: 118px;
		float: left;
	}
	
	#random-box-cont img{
		max-width: 100%;
    	height: auto;
    	width: auto\9; /* ie8 */
	}
	
	li#select:after {
	  	display: none;
	    border-color: transparent transparent transparent #cd0000;
	    border-style:solid;
	    border-width:0px;
	    position:absolute;
	   	top:158px;
	    left:229px
	}
	
	.contact-side.sidebar-rare {
		background-size:290px 143px;
		padding-top:158px
	}

	
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
	
	#nhs-nihr {
	display: none;
	}
	
	h1 {
		font-size: 1.6em;
		line-height: 1.2em;
		margin: 0 0 20px;
	}
	
	#nav-item li a, #text-size li{
		float: left;
		margin: 0 0px 0 0;
		padding: 5px;
		font-weight: 800;
		font-size: 0.9em;
		text-decoration: none;
	}
	
	#random-box-cont {
		width: 303px;
		margin: 0 auto;
		overflow: hidden;
	}
	
	#random-box-cont div{
		width:  101px;
		height: 80px;
		float: left;
	}
	li#select:after {
	   
	    border-color: transparent transparent transparent #cd0000;
	    border-style:solid;
	    border-width:0px;
	    position:absolute;
	   	top:158px;
	    left:229px
	}
	
	.hpbox p {
		font-size: 1em;
	}
	img.alignright {
	display: none;
			}
	
	.contact-side.sidebar-rare {
		background-size:290px 143px;
		padding-top:158px
	}
	}

img.alignleft {
	float: left;
	margin: 0px 20px 10px 0px;
	border-left: 5px solid #cf0000;
}
img.alignright {
	border-left: 5px solid #cf0000;
}

img.size-full {
	border: none!important;
}

article p a:visited {
}



#sitemap ul li {
	padding: 0;
	margin: 0px 0 0 20px;
	list-style: none;
}



#sitemap ul li a {
	background: none;
	padding: 0;
	font-weight: normal;
	text-transform: none;
	color: #700;
	
}

#sitemap ul li a:hover {
	text-decoration: underline;
	color: #f00;
}


.hide {display:none;}

/*Forms */
/*Forms */
/*Forms */
/*Forms */
.wpcf7 input[type="file"],
.wpcf7 input[type="image"],
.wpcf7 input[type="submit"],
.wpcf7 input[type="reset"],
.wpcf7 input[type="button"],
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  width: auto;
}

.wpcf7 button,
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
  margin: 0;
  font-size: 100%;
  vertical-align: middle;
}

.wpcf7 button,
.wpcf7 input[type="button"],
.wpcf7 input[type="reset"],
.wpcf7 input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

.wpcf7 select,
.wpcf7 textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="password"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="time"],
.wpcf7 input[type="week"],
.wpcf7 input[type="number"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="search"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="color"],
.wpcf7 .uneditable-input {
  display: inline-block;
  height: 20px;
  padding: 4px 6px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 .uneditable-input {
  width: 306px;
}

.wpcf7 textarea {
  height: auto;
}

.wpcf7 textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="password"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="time"],
.wpcf7 input[type="week"],
.wpcf7 input[type="number"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="search"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="color"],
.wpcf7 .uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

.wpcf7 textarea:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 input[type="datetime"]:focus,
.wpcf7 input[type="datetime-local"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 input[type="month"]:focus,
.wpcf7 input[type="time"]:focus,
.wpcf7 input[type="week"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="search"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="color"]:focus,
.wpcf7 .uneditable-input:focus {
  border-color: rgba(205, 0, 0, 0.8);
	color:#cd0000;
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(205, 0, 0, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(205, 0, 0, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(205, 0, 0, 0.6);
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
	margin: 2px 0 4px;
  margin-top: 1px \9;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
}

.wpcf7 input[type="file"],
.wpcf7 input[type="image"],
.wpcf7 input[type="submit"],
.wpcf7 input[type="reset"],
.wpcf7 input[type="button"],
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  width: auto;
}

.wpcf7 select,
.wpcf7 input[type="file"] {
  height: 30px;
  /* In IE7, the height of the select element cannot be changed by height, only font-size */

  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

  line-height: 30px;
}

.wpcf7 select {
  width: 220px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

.wpcf7 select[multiple],
.wpcf7 select[size] {
  height: auto;
}

.wpcf7 select:focus,
.wpcf7 input[type="file"]:focus,
.wpcf7 input[type="radio"]:focus,
.wpcf7 input[type="checkbox"]:focus {
  outline: thin solid #cd0000;
  outline: 1px solid #cd0000;
  outline-offset: -2px;
}


.wpcf7 input:-moz-placeholder,
.wpcf7 textarea:-moz-placeholder {
  color: #999999;
}

.wpcf7 input:-ms-input-placeholder,
.wpcf7 textarea:-ms-input-placeholder {
  color: #999999;
}

.wpcf7 input::-webkit-input-placeholder,
.wpcf7 textarea::-webkit-input-placeholder {
  color: #999999;
}

.wpcf7 .radio,
.wpcf7 .checkbox {
  min-height: 18px;
  padding-left: 18px;
}

.wpcf7 .radio input[type="radio"],
.wpcf7 .checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}

.wpcf7 .controls > .radio:first-child,
.wpcf7 .controls > .checkbox:first-child {
  padding-top: 5px;
}

.wpcf7 .radio.inline,
.wpcf7 .checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

.wpcf7 .radio.inline + .radio.inline,
.wpcf7 .checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.wpcf7 span.span220 {width:220px; display:inline-block;}

.wpcf7  p.form-container {
	padding:10px 10px 3px 10px; 
  -webkit-transition: all 0.4s;
     -moz-transition: all 0.4s;
       -o-transition: all 0.4s;
          transition: all 0.4s;
					margin-bottom:3px;
					}

.wpcf7  p.form-container:hover, .wpcf7  p.form-container:focus {
	background:#f0f2f2;
  -webkit-transition: all 0.4s;
     -moz-transition: all 0.4s;
       -o-transition: all 0.4s;
          transition: all 0.4s;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
	color:#cd0000;
}

.wpcf7 input[type="submit"] {
		display: inline-block;
	margin-left:10px;
	vertical-align: middle;
	zoom: 1;
	
		padding: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	font-size: 14px;
	font-weight: normal;	
	background-color: #cd0000;
	/*background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #cd0000), color-stop(100%, #900303));
	background-image: -webkit-linear-gradient(top, #cd0000 0%, #900303 100%);
	background-image: -moz-linear-gradient(top, #cd0000 0%, #900303 100%);
	background-image: -o-linear-gradient(top, #cd0000 0%, #900303 100%);
	background-image: linear-gradient(top, #cd0000 0%, #900303 100%);*/
	border: 1px solid #cd0000;
	-webkit-box-shadow: inset 0px 1px 0px rgba(255, 0, 0, 0.4);
	-moz-box-shadow: inset 0px 1px 0px rgba(255, 0, 0, 0.4);
	box-shadow: inset 0px 1px 0px rgba(255, 0, 0, 0.4);
	color: #fff;
}


.wpcf7 input[type="submit"]:hover { background:#900303; cursor: pointer; border: 1px solid #900303;}
.wpcf7 hr { margin-bottom:10px;}

.cmetg_poweredby {display: none !important;}
.cmetg_poweredbylink {display: none !important;}
.cmetg_poweredby:before {content:'' !important;}

.menu-top-menu-container ul.sub-menu > li.menu-item ul.sub-menu {display:none;}
.menu-top-menu-container ul.sub-menu > li.current-menu-item ul.sub-menu {display:block;}
.menu-top-menu-container ul.sub-menu > li.current-menu-ancestor ul.sub-menu {display:block;}