body {
	/* font-family: 'Roboto Slab', serif; */
	font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif;
	background-color:#fff;
	font-size:12px;
	line-height:16px;
	border-top: 20px solid #dfdfde;
}

h1 {
	font-size:22px;
}

h3 {
	font-size:15px;
}

div#mainColumn{
  min-height:1100px;
}

div#MainColumnTop{
	position:relative;
}

.outerBox {
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	box-shadow:none;
}

a, a:link, a:visited {
	color: #234da1;
	text-decoration: none;
}

a:hover {
	color:#032261;
	text-decoration: none;
}

.section_header, a.section_header {
	color: rgb(30, 30, 28);
	font-size: 15px;
	font-weight: bold;
	line-height:22px;
	text-decoration:none;
}

a.section_header:hover {
	color:#032261;
}

.text_title, .text_title a{
  color:#234da1;
}

.text_title:hover{
  color:#032261;
}

.highlight, a.highlight, .highlight a, .highlight a:visited {
	color: #234da1;
	text-decoration: none;
}

.highlight a:hover{
	color:#032261;
	text-decoration: none;
}

div#LogoBox {
	float:left;
	width:30%;
	min-width:300px;
	max-width:310px;
}

div#HeaderLinks {
	float:left;
	position:relative;
	height:47px;
	width:40%;
	min-width:300px;
	max-width:370px;
}

div#HeaderLinksContent {
	position:absolute;
	width:280px;
	left:0;
	right:0;
	margin-left:auto;
	margin-right:auto;
	padding-top:15px;
}

div#HeaderLinksContent a {
	margin-left:20px;
}

div#AddBox {
	float:left;
	width:30%;
	min-width:300px;
	max-width:310px;
	text-align:right;
}

div#HeaderBanner {
	width:100%;
	background: url(/img/tfma-background.jpg) no-repeat center center;
	-webkit-background-size: cover; /* For WebKit*/
	-moz-background-size: cover;    /* Mozilla*/
	-o-background-size: cover;      /* Opera*/
	background-size: cover;         /* Generic*/
	padding:48px 0 36px 0;
	text-align:center;
	z-index:50; /* show above scrolling page, but below search suggestions (z-index:99) */
}

div#bps_stat_html {
	height: 6px;
	line-height: 6px;
}

.category_list_2col {
	float:left;
	width:48%;
	margin-right:2%;
	padding:10px 0;
}

.category_list_2col a {
	color: #234da1;
	font-size:14px;
	font-weight:bold;
	text-decoration:none;
}

.category_list_2col a:hover {
	color:#032261;
}

#Resources {
	margin-top:15px;
	margin-bottom:15px;
	border:1px solid #999;
	padding:10px 20px;
}

#Resources a {
	color: #234da1;
	font-size:13px;
	font-weight:bold;
	text-decoration:none;
}

#Resources a:hover {
	color:#032261;
}

.side_nav li a.lev1 {
	background: #aaa;
	font-weight:normal;
}

.side_nav li ul li a {
	background: #eee;
}

.side_nav li a.on {
	background: #032261;
}

.side_nav li a.lev1:hover, .side_nav li a.lev1.active {
	background: #032261;
}

.side_nav li ul li a:hover {
	background: #032261;
}

footer {
	color:#fff;
	background-color:#000;
	padding-top:20px;
	margin-bottom:20px;
}

#FooterCopyrightDiv {
	background-color:#202020;
	padding:20px;
	margin-top:20px;
}

.footer_menu {
	float:left;
	width:22%;
	margin-left:5%;
	min-width:160px;
	line-height:2.0em;
}

.footer_menu_wide {
	float:left;
	width:41%;
	margin-left:5%;
	min-width:260px;
	line-height:2.0em;
}

.footer_menu a, .footer_menu a:visited, .footer_menu_wide a, .footer_menu_wide a:visited {
	color: rgb(153, 153, 153);
}

.footer_menu h4, .footer_menu_wide h4 {
	margin-top: 0;
	color:#fff;
}

#FooterLogo{
	margin-top: -5px;
}

.company_profile_head_span {
	display:none;
}

#MainCompanyHeaders h2{
	font-weight:normal;
	font-size:14px;
	color:#AAA;
}

p#CompanyAddressName{
	color:#222;
}

/* Elements below to make mainContainer scale to full height */
  #mainContainer:before, #mainContainer:after {
	  content:"";
	  line-height: 0;
	  display:table;
	}
	
	#mainContainer:after {
	  clear:both;
	}
	
	#mainContainer {
	  zoom:1; /* For IE 6/7 (trigger hasLayout) */
	}
	
	div#mainColumn, div#MainColumnTop {
		position:relative;
	}	
 
	#QmedHeaderContainer {
		position:relative;
		width:100%;
		border-top:1px solid #333;
		background: #f6f6f6;
	}
	
	#QmedHeader {
		position:relative;
		margin:0 auto;
		width:980px;
		max-width:94%;
	}
	
	#TemplateLogoBox {
		width:75%;
		height:93px;
		padding:51px 0 19px 0;
		float:left;
		text-align:left;
	}
	
	#TemplateLogo{
		width:100%;
		height:auto;
		max-width:384px;
		max-height:93px;
	}
	
	#SiteLoginBox{
		float:right;
		margin-right:125px;
	}
	
	#SiteSearchBox{
	  float:right;
	  margin-top:25px;
	  padding:5px;
		background:#fff;
    border:2px solid #fdd9b8;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.20);
  	-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.20);
  	-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.20);
  }
  
  input#SimpleSearchBox{
  	height:auto;
  }

  .search .form-text, .region-header #search-block-form .form-text {
  	max-width:180px;
  }
  
  ul.nice-menu a {
	  padding: 0.4em 5px 0.2em 5px;
	}
  
  #nice-menu-0 li a {
	  font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif;
	  height: 16px;
	}
	
	#nice-menu-0 li.active a, #nice-menu-0 li a:hover {
	  text-decoration:none;
	}
	
	#footer {
		font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif;
  	font-size: 12px;
  	line-height: normal;
  	max-width:94%;
  }
	
	#footer a:link, #footer a:visited {
	  color: #234da1;
	  text-decoration: none;
	}
	
	#block-menu-menu-footer-links ul {
	  margin-top:18px;
	}
	
	#block-menu-menu-footer-links ul li {
		margin-bottom:10px;
	}

.qualifications {
	font-weight:bold;
}

.bct_separator{
	margin-bottom:6px;
}

.ContentLeft, .ContentLeftSmall {
	font-size: 12px;
	line-height:16px;
}

.ContentLeft img, .ContentLeftSmall img {
	max-width:98%;
}

div.bread_crumb_trail {
	color: #494440;
	margin-top:20px;
}

div.bread_crumb_trail .separator {
	margin-left:3px;
}

.bct_separator{
	background:url('/img/arrow-right-12x6.png') top no-repeat;
	width:12px;
	height:6px;
	margin-top:6px;
	margin-right:3px;
}

div.bread_crumb_trail a, div.bread_crumb_trail a:visited {
	color: #234da1;
}

div.bread_crumb_trail a:hover {
	color: #032261;
}

div#content-header{
	margin-top:7px;
}

#nice-menu-0 li ul {
	margin-top:10px;
}

#nice-menu-0 {
	max-width:100%;
}

.item_list li.qmed_tier35 {
	background:#EDF2D4;
}

.comp_list_loc {
	color:#777;
	font-weight:bold;
	font-size:1.2em;
	margin-top:5px;
	margin-bottom:5px;
}

.comp_list_br {
	
}

.comp_list_qual {
	font-weight:bold;
}

a.expand_collapse_button img {
	width:24px;
	height:20px;
	float:right;
	margin:5px 0 5px 0 10px;
	position:relative;
	top:-3px;
}

.details_box {
	min-width:93%;
	background-color:#f6f6f6;
	padding:9px;
	margin-bottom:15px;
}

	.row_info {
		padding:25px 0;
		font-size:11px;
	}
	.row_info .info1 span {
		margin-left:10px;
		margin-right:20px;
	}

.asset_list_aside {
  border:1px solid #ccc;
  padding:5px;
  margin-bottom:20px;
}

.asset_list_items a {
  display:block;
  padding:5px 0;
  border-top:1px dashed #ccc;
}

.asset_list_items a:first-child {
  border-top:0;
}

h4.subtitle_aside {
  font-size:12px;
  color:#f39127;
  margin-top:0;
  margin-bottom:5px;
}

h4.subtitle_aside_sub a, h4.subtitle_aside_sub a:visited {
  color: #f39127;
}

h4.subtitle_aside_sub a:hover {
  color: #032261;
}

h3.title_aside {
  margin-top:0;
  margin-bottom:5px;
}

div.more-link a {
  color:#000;
}

.event_banner_image {
  max-width:96%;
  float:left;
  clear:both;
}

#CompanyCategoryLinks {
  max-height:600px;
  overflow-x:hidden;
  overflow-y:scroll;
}

#user-account-form{background:#829d27;background:-moz-linear-gradient(top,#829d27 0%,#546b09 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#829d27),color-stop(100%,#546b09));background:-webkit-linear-gradient(top,#829d27 0%,#546b09 100%);background:-o-linear-gradient(top,#829d27 0%,#546b09 100%);background:-ms-linear-gradient(top,#829d27 0%,#546b09 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#829d27',endColorstr='#546b09',GradientType=0 );background:linear-gradient(top,#829d27 0%,#546b09 100%);color:#fff;font-size:18px;font-weight:bold;margin:0 0 0 10px;padding:10px;width:142px;}

#user-account-form ul{list-style:none outside none;margin:0;padding:5px 0 0 3px;}

#user-account-form li.openid-link{margin-top:1em;margin-left:-20px;}

#user-account-form li.user-link{margin-top:1em;}

table.end_user_form, table.contacttable {
  border-collapse:separate;
}

.end_user_button, .input_get_notifications  {
    background: #f39127;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px;
    text-transform: uppercase;
}

.contact_button {
    background: #f39127;
}

#RfiWidgetSubmit {
    background: #f39127;
    width:auto;
}

/**** RFI form ****/

.btn_close{
  top:28px;
}

.input_get_notifications {
  width:328px;
  height:32px;
}

.user_alert_box {
  z-index:17;
  width:200px;
  margin-top:10px;
  padding:10px;
  background-color:#fce7d0;
  border:2px solid #f39127;
  text-align:left;
  color:#601111;
  font-size:14px;
}

#RetrievePasswordButton {
    background: #f39127;
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 4px 10px;
    text-transform: uppercase;
    margin-top:7px;
    margin-left:1px;
}

#RetrievePasswordButton:hover {
  cursor:pointer;
}

.categorynav_companies, .additional-offices-label, .field_additional_offices {
  display:none;
}

#DownloadLogin {
  float:left; padding:5px 10px; display:none;
}

table#editform_table select {
  padding:3px;
}

.cc_form select {
  height:31px;
  width:238px;
  border:1px solid rgb(182, 182, 182);
}

.cc_form .form_row {
  height:50px;
}

.cc_form .form_row2 {
  height:140px;
}

.standalone_companylogo {
  margin:10px;
  max-width:90%;
  max-height:78px;
}

#CompanyAddress p:first-child, #CompanyDetailsRight  p:first-child {
  margin-top:2px;
}

#CompanyAddress p:last-child, #CompanyDetailsRight  p:last-child {
  margin-bottom:2px;
}

#CompanyDetailsLeft {
  float:left;
  width:auto;
  min-width:50%;
  max-width:300px;
}

#CompanyDetailsRight {
  float:left;
  width:auto;
  max-width:45%;
  padding:10px 0 10px 3%;
}

  #SupplierByCategory ul li a {
    color: #567101;
  }

  .item-list .pager {
    line-height: 30px;
  }

  .supplier-filter input[type='checkbox'] {
    position: relative;
    top: 2px;
  }

  /* event banner */
  .qmed_eventbanner_standno {
    margin-left:0;
  }



/* Featured Companies aside */
	.featured_img_box { max-width:40%; margin:12px 0; }
	.featured_img { max-width:100%; }
	.featured_descr, .featured_descr a { color:#222; }






/* Media Queries ------------------------------------------------------------------------------------ */

/* iPhone, etc portrait ---- */
@media only screen and (min-width: 320px) {


}



/* iPhone, etc landscape ---- */
@media only screen and (min-width: 480px) {

	#TemplateLogoBox {
		width:384px;
	}
	#TemplateLogo{
		width:384px;
		height:93px;
	}

  .search .form-text, .region-header #search-block-form .form-text {
  	max-width:none;
  }


}



/* iPad, tablets etc portrait ---- */
@media only screen and (min-width: 768px) {

  .ContentMiddle .textitem_table li {
    min-width:95%;
  }

  .qmed_eventbanner_standno {
    margin-left:30px;
  }


} 



/* Laptops, Desktops, etc ---- */
@media only screen and (min-width: 1024px) {

  .qmed_eventbanner_standno {
    margin-left:70px;
  }

}


@media only screen and (min-width: 1200px) {

}