/*
Theme Name: Ashbury
Theme URI: /themes/ashbury
Author: Steve Treadwell
Description: Theme for PAshbury
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
*/
img.aligncenter {
  margin-left:auto;
  margin-right:auto;
  display:block;
}
#row5, #row6, #secondary {
display:none;
}
#page {
/*	max-width:1300px;     */
	margin:0 auto;

	font-family:'Open Sans', sans-serif;
	font-weight:300;
}
.site-main {
	padding:0 15px;
}
#masthead {
	z-index:200;
}
#header_main {
	height:120px;
	max-width:1300px;
	position:relative;
	margin:0 auto;
}
.site-title {
	position:absolute;
	top:0px;
	left:10px;
	font-size:3.5em;
	color:#128628; /* 6682b5;	  */
	font-weight:300;
	line-height:1;
	margin-top:20px;
	margin-bottom:0;
}
.site-title span {
	display:block;
	color:#444444;
	text-transform:uppercase;
	letter-spacing:6px;
	font-size:.3em;
	line-height:1;
	position:relative;
	top:-2px;
	padding-left:3px;
}
.site-subheader {
  margin-top:10px;
  font-size:12px;
  color:#444444;
}
#address {
	position:absolute;
	top:70px;
	right:0px;
	text-align:right;
	padding-right:80px;
/*	font-size:.9em;     */
	background:url(images/nhs_logo.png) right 5px no-repeat;
	color:#000000;
	font-weight:bold;
}
#address strong {
	color:#6682b5;
	font-size:1.1em;
}
#top_menu {
	position:absolute;
	top:10px;
	right:0;
	text-align:right;
	font-size:1em;
	width:100%;
	padding-right:40px;
	z-index:100;
}
.top_menu_item {
	font-weight:600;
	color:#000000;
	display:inline-block;
	padding:0 0 0 15px;
	margin:0 0 0 15px;
	border-left:1px solid #cdcdcd;
}

.ashbury_translate {
	margin-bottom: -7px;
}
.goog-te-gadget-simple {
	border: none !important;
	background-color: transparent !important;
	float: left;
	padding-top: 3px;
	font-family: 'Open Sans', sans-serif !important;
	text-transform: uppercase;
}
.goog-te-gadget-simple .goog-te-menu-value {
	color: #000000 !important;
	font-size: 1.1em;
}
.goog-te-menu-value span {
	color: #000000 !important;
	border: none !important;
}
.goog-te-gadget-icon {
	display: none;
}

#top_menu a {
	color:#000000;
	font-weight:600;
	display:inline-block;
}
#top_menu div {
	display:inline;
}
#ashbury_search {
	position:relative;
}
#search_popup {
	position:absolute;
	top:22px;
	left:-60px;
	padding:15px;
	border:2px solid #6682b5;
	background:#ffffff;
	width:400px;
}
.search-submit {
	width:auto;
	background-color:#ff8a00;
	color:#ffffff;
	border:none;
}
/* weather plugin */
#top_menu .wu-wrapper {
  float:none;
  width:auto;
}
#top_menu .wu-forecast-wrapper {
  width:auto;
  float:none;
}
#top_menu .wu-copyright {
  display:none;
}
#ashbury_weather div {
  display:inline-block;
  margin: 0 1em 0 0;
}
#top_menu  .wu-simple-forecast-day {
  width:auto;
  max-width:100%;
  height:auto;
  padding:0;
  margin:0;
  position:relative;
  padding-left:60px
}
#top_menu  .wu-simple-forecast-day .wu-icon {
  position:absolute;
  top:-10px;
  left:5px;
}
/*
table.wp_wunderground {
	float:right;

	width:auto;
	margin:0;
	padding:0 0 0 0;
	line-height:1;
	border:none;
}
table.wp_wunderground tbody, table.wp_wunderground tr {
	padding:0;
	margin:0;	
}
table.wp_wunderground td {
	padding:5px 0 0 0;
	margin:0;

	border:none;
}
table.wp_wunderground img {
	height:35px;
	width:auto;
	position:absolute;
	right:0;
	top:-5px;
}
table.wp_wunderground div {
	display:inline-block;
	padding:0 10px;
	margin:0;
}
table.wp_wunderground strong {
	font-weight:700;
}
*/
/* menu */
.menu-toggle {
	display:none;
	margin:0;
}
.navbar {
	background:#f8f8f8;
}
.main-navigation {
	clear: both;
	margin: 0 auto 10px auto;
/*	height: 80px; */
	position: relative;
	z-index:300;
	max-width:1300px;
	*width: 100%;
}

ul.nav-menu,
div.nav-menu > ul {
	margin: 0;
	padding: 0 0 0 0;
}
.nav-menu ul {
}
.menu-mainmenu-container ul {
	*width: 100% !important;
}

.nav-menu li {
	display: inline-block;
	*float: left;
/*	position: relative; */
/*	font-size:.9em;     */
	border-left:1px solid #d2d2d2;
	padding: 0 0 5px 5px;
	font-weight:400;
}
.nav-menu li:first-child {
	border:none;
}
.nav-menu li a {
	color: #3a3a3a;
	display: block;    
	line-height: 1;
	text-decoration: none;
	text-transform:uppercase;
}
.nav-menu li a i {
	display:block;  
	color:#128628; /* 6682b5;   */
	font-size:1.5em;
	padding:15px 0 10px 0;
}
/*
 * Mega menus
 */
 .megamenu {
 	position:absolute;
 	left:50%;
 	margin-left:-375px;
 	top:76px;
 	display:none;
 	width:750px;
 	background:#ffffff;
 	border:1px solid #04661F;
 	padding:15px;
 }
 .megamenu .wp-caption-text {
 	font-size:.9em;
 	font-style:italic;
 }
 .col1, .col2, .col3 {
 	float:left;	
 }
 .col1 {
 	width:30%;
 	text-align:left;
 }
  .col1 img {
margin-bottom: 10px;
 }
 .col2 {
 	width:30%;
 	margin-left:5%;
 }
 .col3 {
 	width:30%;
 	margin-left:5%;
 }
 .col1 i {
 	font-size:3em;
	color:#6682b5;
 }
  .col2 ul {
 	padding-left:0;
 	margin-left:0;
 }
 .col2 li {
 	padding-left:12px;
 	padding-top: 3px;
 	background:url(images/orange_arrow.png) left 5px no-repeat;
 	margin: 0 0 10px 0;
  	display:block;
  	*display: inline-block;
  	*float: left;
  	*width: 190px;
  	border:none;
    text-transform:uppercase;
 }
 .col3 ul {
 	padding-left:0;
 	margin-left:0;
 }
 .col3 li {
 	padding:10px;
 	color:#ffffff;
 	background:#128628;
 	margin:0 0 15px 0;
 	display:block;
   	border:none;
   	text-align:center;
   	text-transform:uppercase;
   	*display: inline-block;
   	*float: left;
   	*width: 180px;
 }
 .col3 li a {
 	color:#ffffff;
 }
 .col2 h2, .col3 h2 {
 	font-size:1em;
 	text-transform:uppercase;
 	font-weight:400;
 	padding:0 0 5px 0;
 	margin:0 0 5px 0;
 	border-bottom: 1px solid #04661F;
 	color:#000000;
 }
 /*
  * first row - main image 
  */
    
#mainimage {
	height:600px;
	position:relative;
	overflow:hidden;
	max-width:1818px;
	margin:0 auto;
}
.fadeimage {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	overflow:hidden;
}
.fadeimage .panel {
	position:absolute;
	top:100px;
	left:11%;
	font-size:1em;
	font-weight:400;
	width:37%;
}
.fadeimage .panel h2 {
	font-size:2em;
	font-weight:300;
}
.image_textarea {
  position:relative;
  width:1300px;
  margin:0 auto;
}
#imgseq {
  position:absolute;
  bottom:10px;
  right:10px;
  height:19px;
  z-index: 10;
}
#imgseq div {
  display: inline;
  width:23px;
  height:19px;
  float:left;
  margin-right:0px;
  background:url(images/imgoff.png) left top no-repeat;
}
#imgseq div.imgon {
  background:url(images/imgon.png) left top no-repeat;
}
/*
 * Hot Topics
 */
#hot_topics {
  position:absolute;
  top:100px;
  left:0;
  width:300px;
  padding:0 20px 20px 20px;
  background:#ffffff;
  opacity: 0.9;
  filter: alpha(opacity=90); 
  border:1px solid #808080;
} 
#hot_topics h2, #hot_topics ul, #hot_topics p, #hot_topics a {
  opacity: 1;
  filter: alpha(opacity=100); 
}
.hot_title {
  cursor:pointer;
}
.hot_content {
  position:absolute;
  left:350px;
  top:0px;
  width:500px;
  background:#ffffff;
  padding:0 20px 20px 20px;
  display:none;
  border:1px solid #808080;
}
.hot_content h2 {
  color:#04661F;
} 
.hot_content .fa-times {
  position:absolute;
  top:10px;
  right:10px;
  cursor:pointer;
  font-size:1.2em;
 }
.hot_date {
  font-size:.7em;
  margin-top:-3px;
}
.hot_list li {
  margin-bottom:10px;
}
.hot_list li .hot_title {
  color:#128628;
  font-weight:bold;
}
.hot_content.hot_show {
  display:block;
}
/*
 * Christmas panel which replaces Hot Topics  
 */
#xmas {
  position:absolute;
  left:185px;
  top:70px;
  color:yellow;
  font-weight:bold;
  width:500px;
  padding:0 20px 20px 20px;
  background-color:#02002E;
}
#xmas a {
 color:yellow;
 font-size:16px;
}
#xmas_title {
  position:absolute;
  left:185px;
  top:0px;
}
#xmas h2 {
display:none;
}
#xmas table {
  border:none;
}
#xmas table td {
  border:none;
  font-size:16px;
  line-height:normal;
}
#xmas table td.xdate {
  font-size:16px;
  width:80px;
  color:#ffffff;
}
#xmas td div {
  display:block;
  font-size:12px;
  color:#ffffff;  
}
/* NEWS */
#newsrow {
  width:980px;
  margin-left:auto;
  margin-right:auto;
}
#ticker-wrapper {
	*width: 1230px;
}
.has-js#ticker-wrapper, #ticker, #ticker-title, #ticker-content, #ticker-swipe { 
	background:#ffffff;
}
.has-js#ticker-wrapper {
/*	font-size:.9em;     */
	padding:5px 20px;
	border-top:1px solid #dedede;
	border-bottom:1px solid #dedede;
	margin: 10px 0;
	overflow:auto;
	line-height:1;
	height:auto;
	position:relative;
	*width: 90%;

}
#ticker-content, #ticker-title, #ticker-swipe {
	padding:3px 0 3px 0;
	line-height:1;
}
#ticker-swipe span {
  font-size:1em;
}
#ticker-controls {
	background:#ffffff;
	position:absolute;
	right:0;
	float:none;
	margin:0;
	padding:0 5px;
}
.has-js#ticker-wrapper, #ticker { 
		width:100%;
}
/* rows */
.row {
	width:100%;
}
.row_content {
	max-width:980px;
	margin:0 auto;
	overflow:auto;
}
.row_content p {
/*	font-size:.9em;       */
	margin:0 0 1em 0;
}

#row1 .panel {
	width:32%;
	float:left;
	margin:15px 0 30px 0;
}
#row1 #row1_panel_1 {
	margin-right:1.5%;
  width:66%;	
}
#row1 ul  li{
	margin-bottom:.5em;
}
/* calendar display */
.calp-agenda-widget-view .calp-date {
  background:#ffffff;
}
.calp-agenda-widget-view .calp-month {
  background: #04661F;
}
/*
.calp-agenda-widget-view .calp-day {
  font-size: 1.3em!important;
}
*/
.calp-agenda-widget-view {
  border:none;
  padding: 0 0 3px 0;
}
.calp-widget-title {
display:none;
}
.calp-agenda-widget-view h3.calp-date-title {
  font-size:.85em;
}
#row2 {
  display:none;
	padding:45px 0;
	overflow:auto;
	background:#f0f0f0;
}
#row2_panel {
	overflow:visible;
}

.row_image {
	width:40%;
	margin-right:9%;
	float:left;
}
.single_panel .panel {
	width:50%;
	float:left;
	overflow:auto;
}
.single_panel  h2 {
	text-transform:uppercase;
	font-size:1em;
	color:#4e4e4e;
	margin-top:0;
}
.single_panel  h3 {
	font-size:2em;
	font-weight:300;
	color:#000000;
}
.single_panel  h4 {
	font-size:1.2em;
	color:#000000;
}
.single_panel  strong {
	color:##04661F;
}
#row3 {
	padding:33px 0;
	overflow:auto;
/*	background:url(images/grey_background.gif) 50% top repeat-y;      */
}
#row3_panel {
	overflow:visible;
}
#row3_panel ul {
	margin-right:-50%;
}
#row2_panel ul, #row3_panel ul {
	*width: 900px;
}
#row2_panel li, #row3_panel li {
	*float: left;
}
#row4 {
	padding:33px 0;
	overflow:auto;
	position: relative;
}
#row4 .column {
	width:47%;
	margin-right:3%;
	float:left;
}
.vertical_menu li {
	padding-left:15px;
	margin-bottom:10px;
}
.vertical_menu li i {
	color:#128628;
	padding-right:10px;
}
.vertical_menu li a {
	color:#4e4e4e;
}
.horizontal_menu li {
	display:inline-block;
	padding: 0 10px;
	color:#128628;
}
.horizontal_menu li a {
	color:#128628;
}
#nhs_atoz, #nhs_topics {
	margin-top: 15px;
}
#nhs_topics select, #nhs_atoz select{
	width: auto;
	height: 25px;
	border: 1px solid #cccccc;
	color: #5f6062;
}
#nhs_topics select {
	*width: 200px;
}
#nhs_topics {
	margin-top:0;
}
#n_content h1{
	clear:none;
	padding:15px 0;
}
article li {
	padding-left:15px;
	text-indent:0;
	background:url(images/orange_arrow.png) left .5em no-repeat;
}
.n_col ul li {
	text-indent:0;
}
.a_articleindex li {
	padding-left:10px;
	background:none;
	text-indent:-10px;
}
.a_articleindex {
	margin:30px 1em 1em 0;
	border:none;
	width:22%;
	padding:0 10px 0 0;
 	border-right:1px solid #6682b5;
}
.wdis_select select {
	width: 191px;
	margin-top: 10px;
	height: 30px;
}
 
#row5 {
	padding:25px 0;
/*	background:url(images/blue_background.gif) 50% top repeat-y;   */
}
#row5 .panel {
	width:20%;
	margin-left:5%;
	float:left;
	text-align:center;
}
#row5 h2 {
	color:#000000;
	font-size:1.5em;
}
#row5 h2 i {
	display:block;
	color:#6682b5;
}
#row5 input, #row5 textarea  {
	width:100%;
	*width: 90%;
	border: 1px solid #d5d5d5;
}
#row5 .frm_submit input {
	width:auto;
	background-color:#ff8a00;
	color:#ffffff;
}
#row5 .frm_submit {
	text-align:center;
}
#row5 .with_frm_style .form-field {
	margin-bottom: 10px;
}
/* other pages */
.site-content {
	max-width:980px;
	margin:0 auto;
	overflow:auto;
}
.content-body a {
	font-weight:600;
}
.content-body {
	float:right;
	width:70%;
}	
.sideindex {
	float:left;
	width:25%;
	margin-right:5%;
	margin-top:100px;
}
.sideindex h4 {
	font-weight:normal;
	text-transform:uppercase;
	font-size:.9em;
}
.sideindex li {
	padding-left:10px;
 	background:url(images/orange_arrow.png) left 8px no-repeat;
 	margin: 0 0 5px 0;
}
.sideindex a {
	color:#3a3a3a;
}
#inner_right {
	width: 67%;
	float:  right;
}


/* triage page */
#triage_page h3 {
	background: #6682b5;
	color: #ffffff;
	padding: 2%;
	text-align: center;
	margin-top: -5px;
}
#triage_page i {
	color: #6682b5;
	font-size: 4em;
	margin: 0 0 0 45%;
}
#triage_page p {
	margin: -30px 0 0 0;
}

#inner_left {
	margin-top: 20px;
	width: 28%;
	padding-right: 5%;
	float:  right;
}
#inner_left h2 {
	font-size: 1.4em;
	color: #6682b5;
	font-weight: 400;
}
#inner_left li {
	padding: 5px 0px 5px 12px;
	text-indent:0;
	background:url(images/orange_arrow.png) left 12px no-repeat;
}
#inner_left a {
	color: #3a3a3a !important;
	font-weight: 300 !important;
}

/* footer */
#row6 {
	margin:25px 0;
	overflow: hidden;
}
#row6  h2 { 
	font-size:1.5em;
}
#row6 i {
	color:#ff8a00;
}

.site-footer {
	max-width:980px;
	margin-left:auto;
	margin-right:auto;
}
.site-info {
	font-size:.9em;
	padding:35px 15px 25px 15px;
	overflow:auto;

	color:#000000;
}
.site-info a {
	color:#000000;
}

#footer_menu ul {
	margin:0;
}
#footer_menu li {
	display:inline-block;
	padding-left:15px;
	*float: left;
}

#copyright {
	display: block;
	float:left;
	text-align:left;
}
#technical_menu {
	display: block;
	float:left;
}
#triagemsg {
	font-weight:bold;
	margin-bottom:1em;
}
.page-template-triage-page-php #frm_field_319_container {
	display:none;
}
/* news archive */

.archive .entry-content {
display: none;
}
.single .entry-content {
	padding: 10px 0px;
}
.page-template-page-archive-php #inner_right li {
	padding-left:15px;
	padding-bottom: 5px;
	background:url(images/orange_arrow.png) left 7px no-repeat;
}
.nav-links a[rel=prev] {
width: 325px;
display: inline-block;
text-align: left;
line-height: 13pt;
}
.nav-links a[rel=next] {
width: 325px;
display: inline-block;
text-align: right;
line-height: 13pt;
}
.archive .entry-header {
	padding-left:12px;
	padding-bottom: 5px;
	background:url(images/orange_arrow.png) left 6px no-repeat;
	font-size: 0.5em;
}
.archive .entry-title {
	margin: 0px;
}
ul li ul {
	padding-left: 10px;
}

ul li ul li {
	background: url(images/inner_orange_arrow.png) left 6px no-repeat;
/*	font-size: .9em;   */
	padding-left: 12px;
	padding-bottom: 5px;
}

#services_page h3 {
	cursor: pointer;
	background: #f8f8f8;
	color: #6682b5;
	text-align: center;
	width: 100%;
	padding: 10px 0;
	margin: 5px 0 0 0;
}
#services_page h3:hover {
	background: #6682b5;
	color: #ffffff;
}
#services_page h3 i {
	display: block;
}

.calp-agenda-widget-view .calp-calendar-link {
	float:left;
}
/* responsive */

@media only screen and (max-width: 1000px) {
#twitter_panel {
	border-left:none;
	width: 200px;
	float: left;
	display: inline;
	}
#twitter_panel iframe {
	margin-left: 0px;
	height: 200px;
	}
	#fftrow i {
	left: 10px;
}
#fftrow  h2 {
	margin-left: 105px;
}
#fftrow p {
	padding-left: 105px;
}
}

@media only screen and (max-width:840px) {
	.menu-toggle {
		display:inline-block;
		color:#6682b5;
		font-size:1.5em;
		padding-left:15px;
		cursor:pointer;
	}	
	.menu-mainmenu-container {
		display:none;
		position:absolute;
		top:30px;
		left:0;
		background:#f8f8f8;
	}
	.nav-menu li {
		display: block;
		position: relative; 
/*		font-size:.9em;       */
		border-left:none;
		border-bottom:1px solid #d2d2d2;
		padding: 10px 0 10px 5px;
		width:295px;
		font-weight:400;
	}
	.nav-menu li:first-child {
		border-left:none;
		border-bottom:1px solid #d2d2d2;
	}
	.nav-menu li a {
		color: #3a3a3a;
		line-height: 1;
		text-decoration: none;
		text-transform:uppercase;
	}
	.nav-menu li a i {
		display:inline-block;
		color:#6682b5;
		font-size:1.5em;
		padding:0 10px 0 0;
	}
	.megamenu {
		left:200px;
	 	margin-left:0px;
	 	top:30px;
	 	display:none;
	 	width:auto;
	 	background:transparent;
	 	padding:0;
	 	position:static;
	 	border:none;
	 	padding-left:50px;
	}
	.megamenu h2 {
		display:none;
	}
	.col1, .col3 {
		display:none;
	}
	.col2 {
		float:none;
		margin:0;
		width:auto;
		padding:10px;
	}
	.col2 li {
		width:auto;
		padding: 0 0 5px 15px;
	}
	#top_menu {
		display:none;
	}
	.site-title {
		margin:0;
	}
	#address {
		top:80px;
	}
}
@media only screen and (max-width:750px) {


 /*  .message .panel {     */
  #mainimage .panel {
		width:350px;
		top:50px;
	}
	#mainimage, .image_textarea {
    width:100%;
  }
	#mainimage #xmas {
	 top:70px;
	 width:100%;
	 max-width:500px;
	 left:0;
	}
	#mainimage #xmas_title {
		 left:0;
		 max-width:100%;
  } 
	#address {
		position:static;
		text-align:left;
		background:none;
	}
	.site-title {
		position:static;
	}
	#header_main {
		height:auto;
		background: url("images/nhs_logo.png") no-repeat right top;
	}
	#inner_left {
		display: none;
	}
	#inner_right {
		width: 100%;
	}
	#cqc-footer {
		width: 25%;
	}
	#copyright {
		width: 30%;
	}
	#technical_menu {
		width: 40%;
	}
}
@media only screen and (max-width:400px) {
/*    REMOVE FOR XMAS ONLY
	#mainimage {
		display:none;
	}	
	*/

  #xmas_title {
    width:100%;
  }
	#row1 .panel {
		float:none;
		width:100%;
		margin:0;
		padding:1.5%;
	}
	.horizontal_menu ul, #row2_panel ul, #row3_panel ul {
		text-align:left;
		margin:0;
	}
	.horizontal_menu li {
		display:block;	
	}
	.single_panel .panel {
		width:100%;
		float:none;
		margin:0;
		padding:1.5%;
	}
	.row_image {
		width:80%;
		margin:0 auto;
	}
	#row3 .row_image {
		display:none;
	}
	#row4 .column {
		width:95%;
		float:none;
	}
	#row6 .panel, #row6 #footer_services {
		float:none;
		width:100%;
		margin:0;
		padding:10px;
	}
	#row5 .panel {
		width:100%;
		float:none;
		margin-left:0;
		padding:10px;
	}
	.streetaddress {
		display:none;
	}
	#cqc-footer {
		display: none;
	}
	#copyright {
		width: 35%;
	}
	#technical_menu {
		width: 55%;
	}
}
