/* Stylesheet for A QUIET WORD website - standard bootstrap style overrides 

background light #fafaf9
grey text #acacad
dark blue #1c4995
mid blue #4D61A0;
light blue: #989CCC

*/
@charset "UTF-8";


body,
html {
	height: 100%; /* for UI widgets */
	font-family: 'opensans', Helvetica, sans-serif;
	background-color: #fafaf9;
	line-height: 1.5;
	font-size: 16px;
}

html { 
	margin-top: 0px !important; 
}

* html body { 
	margin-top: 0px !important; 
}

body > .container {
	min-width: 330px !important;
}


body.home #maincol {
margin-top: 20px;
}

#header {
	margin-top: 0px;
	position: relative;
	height: 234px; /*to include shdaow edge - needed to push everything else into place*/
	background: url(../images/aqw-topshade.png) bottom left repeat-x ;
}


.container {
	
	max-width:1018px; /*had to add this in why??*/
}

#twocols.container {
background-color: transparent;	
}

#maincol {
	margin-bottom: 1em;
	 position: relative;
}

#maincol > .lining {
	position: relative;
}

#maincol .wf_lining {
  padding-left: 20px; /*AMY was 30*/
  padding-right: 30px;
  position: relative;
}

#rightcol,
.home #row1,
.home #row2,
.home #row3 {
    font-size: 0.85rem; /* BEWARE: Compounds if more than one selector matches! */
	line-height: 1.3;
}

#rightcol {
    background-color: transparent;
    border-radius: none;
    box-shadow: none;
    padding-bottom: 0.5rem;
	margin-top: 20px;
}

#rightcol .wf_lining { /*AMY needed? */
    margin-left: 15px;
    margin-right: 15px;
}

footer {
	margin-top: 2em;
	padding-top: 2em;
	position: relative;
	left: 0px; /*AMY Why was it -30px?*/
	clear: both;
	background: url(../images/aqw-footbar.png) top center no-repeat;
}

.clearboth {
	clear: both;
}

br.clearboth {
	clear: both;
	line-height: 1px;
	margin: 0;
	padding: 0;
}





/* STANDARD STYLES ********************************************************************************************************************/

h1 {
	color: #1c4995;
	clear: left;
	font-weight: bold;
	margin-bottom: 20px;
}

#maincol h2 {
	color: #1c4995;
	font-weight: normal;
	font-size: 22px;
margin-top: 30px;
}

h1, 
h2, 
h3, 
.title {
    line-height: 1.2;
}

#rightcol h2 {
	/*font-size: 1rem;*/
	margin-top: 0.5rem;
	font-weight: bold;
}

#twocols #rightcol h2 {
  font-size: 1.2rem;
}

h3 {
	font-weight: bold;
	font-size: 18px;
	color: #888;
}

h4 {
	font-weight: normal;
	font-size: 16px;
	color: #888;
	text-transform: uppercase;
}

a,
a:link,
a:hover,
a:visited,
a:active,
a:focus {
	color: #4D61A0;
	
}

ul { /* not included in normalize.less */
	/* NB this mucks up ul.navbar-nav ! */
	margin: 0;
	padding: 0;
}

label {
	font-weight: normal;
}

a.button {
letter-spacing: 2px;
font-size: 16px;
font-weight: bold;
color: #fff !important;
background-color: #848485;
    display: inline-block;
    margin-bottom: 15px;
    text-decoration: none;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.2s linear 0s;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
a.button:hover {
	background-color: rgba(70,86,132,1);
}

ul, 
ol {
	margin-left: 15px;  /* WHY?????? **************/
}


#maincol li {
	margin-bottom: 4px;
}


img { /* From wingtheme2.css - Responsive images (ensure images don't scale beyond their parents) */

	max-width: 100%; /* Part 1: Set a maxium relative to the parent */
	width: auto\9; /* IE7-8 need help adjusting responsive images */
	height: auto; /* Part 2: Scale the height according to the width, otherwise you get stretching */
	vertical-align: middle;
	border: 0;
	-ms-interpolation-mode: bicubic;
}

#maincol img {
	margin-top: 15px;
	margin-bottom: 15px;
}

#maincol .alignright {
	float: right;
	clear: right;
	padding: 15px 0px 15px 20px;	
}
#maincol .alignleft {
	float: left;
	clear: left;	
	padding: 15px 20px 15px 0px;	
}
#maincol .alignnone, #maincol .aligncenter {
	clear: both;	
	padding: 15px 0px 15px 0px;	
}

.note {
	border-radius: 6px 6px 6px 6px;
	padding: 10px;
	background-color: #EDE1B7;
}

iframe {
	width: 100% !important;
	/*height: auto !important; AMY 15.7 Had to turn this off as auto was being read as 150px for some reason??*/
}

/*.strike,
.done {
	text-decoration: line-through;	
}

.smallprint {
	font-size: 0.9em;
	color: #999;
	margin-top: 2em;
}*/


p.quote {
	color: #989CCC;
	font-weight: normal;
	font-size: 17.5px;
	line-height: 1.5;
	margin-top: 15px;
	margin-bottom: 15px;
}

p.caption, p.wp-caption-text {
	color: #acacad;
	font-family: 'opensansreg', Helvetica, sans-serif;
font-size: 12px;
margin-top: 10px;
}


#rightcol img {
  width: 100%;
  margin-bottom: 30px;
}

#maincol p.intro {
	font-size: 1.2em;
}


/* from old bootstrap */
ul.inline,
ol.inline {
  margin-left: 0;
  list-style: none;
}
ul.inline > li,
ol.inline > li {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  padding-left: 5px;
  padding-right: 5px;
}



/* END OF STANDARD STYLES ********************************************************************************************************************/



/* HEADER ********************************************************************************************************************/
#header_wrapper {
	background: url(../images/aqw-header.jpg) top center no-repeat ;
}

#header_lining {
max-width:1018px; /*had to add this in why??*/
	position: relative; /* to keep login link within margins */
}

#header #aqw_logo {
	float: left;
	clear: none;
	margin-top: 257px; /* to line up with nav */
	position: absolute;
	display: inline-block;
	margin-left: -12px; /*faked to line up with footer*/
	width: 409px;
	height: auto;
	z-index: 999;
}

#header_lining {
	position: relative; /* to keep login link within margins */
}

#topnav {
    font-size: 0.8em;
    margin: 10px 0 5px 0;
	text-align: right;
	width: auto;
	display: block;
}

#topnav li {
	text-align: right;
	display: inline-block;
}

.region_topnav {
	width: 220px;
	float: right;
}



/* the identifier for the dev site */
#header:after {
	font-size: 1em !important;
	top:75px !important;
	z-index: 200;
}


#login_link {
position: absolute;
top: 4px;	
}

#login_link a {
	color: #F00;
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
}

/* NAVBAR **********************/


#nav_wrapper {
	display: inline-block;
	background-color: transparent;
	width: 100%;
	float: none;
	clear: none;
	position: relative;
	top: 0;
	margin-top: 234px;  /* TO PUT NAV IN CORRECT PLACE */
	min-height: 82px
}

/*
ul.nav li.dropdown:hover > ul.dropdown-menu {
  display: block;
}
*/
/*
#navmain ul ul {
	display: none;
}
*/

.navbar { 
	border: none;
	border-radius: 0;
	min-height: auto;
	filter: none;
    background: none;
}

.navbar .nav {
    font-weight: normal;
}

.navbar .nav > li {
	margin-right: 0px;
	border: none;
	list-style: none;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	color: #acacad;
}

.navbar .dropdown-menu {
  margin-top: 0px;
}

#navmain {
	/*max-width: 988px;
	margin-top: 3px;*/
}

 
.navbar .nav > li > a {  /* changed when extra page added 08.20 */
	padding: 32px 26px 32px 0;
	text-shadow: none;
	background-color: transparent;
	margin-right: 15px;
	color: #acacad !important;
}

#navmain a {
	text-decoration: none;
}


.navbar .nav > li > a:hover, .navbar .nav > li > a:focus,
.navbar .nav > li.current_page_ancestor > a,
.navbar .nav > li.current_page_item > a {
border-bottom: #acacad solid 3px;
}

.page_item_has_children {
position: relative;	
}

.children {
    float: left;
    font-size: 14px;
    left: 0;
    list-style: outside none none;
    min-width: 116px;
	height: 100%;
    padding: 0px;
	margin-left: 0px;
    position: absolute;
    text-align: left;
    top: 55px;
    z-index: 1000;
border-top: #acacad solid 3px;
    display: none;
}

.page_item_has_children:hover .children {
	display: block;
}

.current_page_item > .children {
border: none;
    top: 58px;
}

.children > li {
	display: block;
border-bottom: #acacad solid 3px;
}

.children > li > a {
	padding: 3px 0px 3px 15px;
	display: block;
	font-weight: bold;
	color: #fff;
	position: relative;
	background: #acacad;
}
.children > li > a:hover {
background:#eee;
color: #acacad;
}

/*
#navmain a:hover {
	text-decoration: none;
}
*/

/*.navbar-inner {     AMY Don't need anymore?? 
	background-color: transparent; 
	background-image: none; 
    border: none;
    box-shadow: none;
    min-height: 20px;
}*/

/*.dropdown-menu > li > a:hover,         AMY IS THIS NEEDED? WHERE DOES THIS STYLE COME IN?
.dropdown-menu > li > a:focus,
.dropdown-submenu:hover > a,
.dropdown-submenu:focus > a {
	text-decoration: none;
	color: #ffffff;
	background-color: #3B7589;
}

.dropdown-menu li.page_item {
	list-style-image: url(data:0);
	list-style-type: none !important;
	float: left;
	clear: left;
	width: 100%;
	margin-top: 0px;
	height: 25px;
	vertical-align: top;
	position: static;
	top: 0;
}

.dropdown-menu li.page_item a {
	margin-top: 0px;
	vertical-align: top;
	top: 0 !important;
}
*/


/* NAVBAR USER **/

/*#navbar_user {
	float: right;
	font-size: 0.85rem;
	padding-left: 10px;
	padding-right: 10px;
}

#navbar_user p {
	margin-top: 3px;
	margin-bottom: 0;
}*/


/* END OF NAVBAR *******************************************************************************************/




/* END OF HEADER ***/



/* FOOTER **********************************************************************************/
#footer #footer_lining {
	font-size: 10px;
	position: relative;	
	padding: 0 20px;
}

#footer_lining p, #footer_lining p a {
	color: #acacad;
	font-family: 'opensansreg', Helvetica, sans-serif;
}

#footer_lining p a:hover {
	text-decoration: underline;
}

#footer_lining .signpost a {
	position: absolute;
	top: -23px;
	right: 16px;
	display: block;
	width: auto;
	height: 35px;
	padding-left: 50px;
	padding-top: 19px;
	background: url(../images/signpost.png) top left no-repeat transparent;
	text-transform: uppercase;
}
/* END OF FOOTER */



/*  WIDGETS ***************************************************************************/

a.editlink {
	color: #F00 !important;
}



/* FORM WIDGET ***************************************************************************/
/*
select {
	width: 100%;
}

.form_widget.region_right {
	background-color: #C5E1EA;
    border-radius: 6px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;	
}

.form_widget.region_right form {
	margin-bottom: 0px;
}

.form_widget.region_right .fswrapper {
	margin-left: 15px;
	margin-right: 14px;
}

.form_widget.region_right input,
.form_widget.region_right label,
.form_widget.region_right p {
	width: 100%;
	line-height: 1.2;
	height: auto;
}

.form_widget.region_right input {
	padding-top: 2px;
	padding-bottom: 2px;
	margin-bottom: 4px;
}

legend {
	font-size: 16px;
	line-height: 1.2;
	border: none;
	margin-top: 9px;
	margin-bottom: 5px;
}

#sharing legend {
	margin-top: 0px;
}

label {
	margin-bottom: 1px;
	position: relative;
}

label span,
#fsnote p span {
	font-size: 2em;
	color: #377688;
	position: absolute;
	left: -10px;
	top: -2px;
}
#fsnote p {
	position: relative;
	margin-top: 10px;
	color: #377688;
	clear: both;
	width: 90px;
}

#capchatextdiv {
	height: 40px;
	margin-top: 5px;
}

#capchatextdiv img {
	float: left;
	width: 80px;;
	margin-right: 5px;
}

#capchatextdiv input {
	float: right;
	width: 80px;
	margin-top: 5px;
}

fieldset {
	margin-right: 0px;
	padding-right: 0px;
}

.form_widget.region_right .submit {
	position: absolute;
	bottom: 10px;
	right: 15px;
	width: 100px;
	height: 20px;
}*/


/* END OF FORM WIDGET ***************************************************************************/

/* Jet pack form widget */

#maincol .contact-form textarea {
	width: 90%;	
}

#maincol .contact-form label {
    display: block;
    float: none;
    font-weight: bold;
    margin-bottom: 5px;
}

input {
	font-family: "opensans",Helvetica,sans-serif;
	font-size: 16px;
	padding: 5px;
}

#maincol input.pushbutton-wide {
	font-weight: bold;
}

#maincol .contact-form input[type="email"], #maincol .contact-form input[type="text"] {
    width: 90%;
}

/* Thumbnail list PROJECTS widget */

#maincol .squaremenu {
	margin-top: 40px;
	border-bottom: none;
	height: 100%;
	padding-bottom: 30px;
}

#maincol .squaremenu .post {
	border-top: none;
	float: left;
	padding: 0px;
	margin-bottom: 50px;
	margin-right: 50px;
	width: 220px;
	height: 220px;
	position: relative;
	background: #acacad;
	box-shadow: 0 0 12px 0 #acacad;
	border: solid 15px #fff;
}
#maincol .squaremenu .post img {
	margin: 0px;
}
#maincol .squaremenu .post .attachment-thumbnail {
	border: none;	
	margin: 0;
}

#maincol .squaremenu p.title {
	width: 190px;
	height: 190px;
	position: absolute;
	top: 0px;
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
	text-align: center;
}
#maincol .squaremenu p.title:hover {
	opacity: 1;
	background: rgba(256, 256, 256, 0.8); 
}

#maincol .squaremenu p.title a.thumblink {
    opacity: 0; /*because if no js there will still be some effect */
font-weight: normal;
color: #000;
text-decoration: none;
font-size: 18px;
padding: 0 5px;
width: 100%;
height: 100%;
display: block;
padding-top: 100px;
}

#maincol .squaremenu p.title:hover a {
text-decoration: none;
  opacity: 1;
}



/*The post title-link in text */
/*.squaremenu p.title a.thumblink {
    opacity: 0; 
font-weight: normal;
color: #fff;
text-decoration: none;
font-size: 18px;
text-transform: uppercase;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
padding-top: 50px;
display: block;
padding-top: 100px; 
height: 100%;
}	

.squaremenu p.title a.thumblink:hover {
  opacity: 1;
  }*/



/* PROJECT LIST */
/*AMY these r.h. posts do not go in tablet view 2nd col - they get pushed down as if they are too wide immediatey. 

*/
#rightcol .projectlist {
	margin-top: 0;
	border: none;
}

#rightcol .projectlist .post {
	padding: 8px 0 14px 0;
	float: left;
	clear: both;
	width: 100%;
}

#rightcol .projectlist img {
	float: right; 
	width: 30%;
	height: 30%;	
	clear: none;
	box-shadow: 0 0 6px 0 #acacad;
	border: solid 7px #fff;
	margin-right: 3%;
	margin-bottom: 0;
}

#rightcol .projectlist p.title {
	margin-top: 5px;
	padding-top: 0;
	margin-left: 3%;
}


#rightcol .projectlist p.title a {
	color: #acacad;	
	font-size: 16px;
	left: 40%;
	float: left;
	clear: none;
	width: 60%;
}

/* end of projectlist*/



/* Maincol news */

.newspage .post {
border: none;
margin-top: 30px;	
}

.newspage .post p.date {
color: #acacad;
}

.newspage .post p.title {
margin-bottom: 15px;
	
}

.newspage .post p.title a {
color: #1c4995;
font-weight: normal;
font-size: 26px;
}

/* AMY thes bleed out across main col in tablet?? and too skinny with projects in maincol to break at usual point*/

/* right news list widget */

#rightcol .rightnews .post {
	padding-top: 0.8em;
	padding-bottom:0.8em;
}

#twocols #rightcol .list_widget h2 {
	color: #acacad;	
	font-weight: normal;
	text-transform: uppercase;
	font-size: 20px;
	margin-bottom: 1.6em;
}

.rightnews p.title, .rightnews p.title a {
	color: #acacad;	
	font-size: 16px;
}

.rightnews p.date {
	color: #acacad;	
	font-size: 13px;

}


/* end of right news*/


/* GALLERY */

#maincol div.tiled-gallery {
	box-shadow: 0 0 12px 0 #acacad;
	background: #fff;
	margin-top: 30px;
	border: solid 10px #fff;
width: 100%;
	}
	
	#maincol div.tiled-gallery .gallery-row {
min-width: 100% !important;

	}
	
	/* End gallery */







/* UI WIDGET STUFF ************************************************************/



.ui-widget-overlay {
	position: fixed !important;
}

#twocols iframe.youtube {
	height: 350px !important;
}


/* ADMIN SIDE ////////////////////////////////////////*/

#wp-admin-bar-wp-logo {
	display: none;
}

#wp-admin-bar-development > .ab-item {
	text-indent: -9000px;
	width: 20px;
}

#wp-admin-bar-development > .ab-item:before {
	content: '\f308';
	text-indent: 0px;
}


#wpadminbar #wp-admin-bar-toggle_debug div.ab-item:hover {
	cursor: pointer;
	color: #2EA2CC !important;
}


/* THE DROP DOWN STYLES in visual content editor - THINGS THAT AREN'T PICKED UP... */

#wp-content-editor-container .mce-menu-item span#mceu_38-text.mce-text {
		color: #1c4995 !important;
}
#wp-content-editor-container .mce-menu-item span#mceu_44-text.mce-text {
	color: #989CCC !important;
}






/* MEDIA QUERIES ***************************************************/

@media (min-width:992px) {
   
}


@media (min-width:768px) { /* BIGGER THAN TABLET */
	/*
	#navmain li.dropdown:hover > ul.dropdown-menu {
	  display: block;
	}

	.dropdown-menu li.page_item:before,
	.dropdown-menu li.page_item:after {
		display: none !important;
	}*/
	
	#navmain > ul {
	padding-top: 18px;
	border: none;
	float: right;	
}
	
	#navmain .navbar-nav > .open > a,
	#navmain .navbar-nav > .open > a:hover {
		background-color: #cf181d;
		color: #FFF;
	}
	
	#twocols {
margin-top: 110px;	/* AMY 7.7 temp measure because I can't get the nav bar to register as a size.*/
}
	
}



@media (min-width: 768px) and (max-width: 991px) { /*Tablet to full screen */
	
#header_wrapper {
	/*background: none ;*/
}

#maincol .wf_lining {
padding-left: 10px;	
}

#header #aqw_logo {
	margin-top: 296px;	
}

	/*#maincol #controls1,
	#maincol #controls2 {
		width: 193px;
	}
	
	.side_text {
		left: -195px;
		width: 150px;
	}
	
	#map_wrapper .side_text {
		left: -165px;
	}

	
	#under_title {
		width: 240px;
	}
	
	#people_who select {
		width: 198px;
	}

	#lfc_headpic {
		top: 5px;
		float: right;
	}*/
	
	#nav_wrapper {
		top: -10px;
		margin-bottom: -15px;
	}
	
	.container,
	#navmain,
	#header_lining {
		width: 740px;
	}

#navmain > ul {
	padding-top: 12px;	
}
	
.navbar .nav > li > a {
    padding: 26px 32px 16px 0;
}	
	
.current_page_item > .children {
    top: 42px;
}	
	
	#beta {
		right: -80px;
		bottom: -10px;
	}
		
	#rightcol .featured_group_widget img {
		width: auto;
		float: right;
		position: relative;
		z-index: 100;
	}
	#rightcol .featured_group_widget {
		height: auto;
	}
	
	#rightcol .featured_group_widget .clearboth{
		display: block;
		margin-bottom: 40px;
	}
	
	#maincol,
	#maincol .wf_widget {
		margin-bottom: 0px;
	}
	
	/*#strapline {
		width: auto;
		top: auto;
		font-size: inherit;
		position: absolute;
		left: 10px;
		bottom: 25px;
	}
	
	#header_lining {
		position: relative;
	}
	
	#topnav {
    	float: right; 
	}
	
	.region_topnav {
		width: auto;
		float: none;
	}*/
	
}


@media (max-width: 767px) { /* PHONE/TABLET fixed width */
.col-md-4	{
	width: 33.3333%;
}

#rightcol { 
	clear: left;
	/*shouldn't it do this anyway?? */
}

#header {
height: 304px;	
}

#header_wrapper {
	background-position: center 70px; /*fudged*/
}

	#header #aqw_logo {
    clear: none;
    display: inline-block;
    float: none;
	text-align: center;
    height: auto;
    margin-left: 10px;
    margin-top: 10px;
    position: relative;
    width: 100%;
    z-index: 999;
}
	
	/*.privacy-and-sharing-settings .pm_user_link {
		display: none;
	}
	
	.side_text {
		left: -20px;
		width: 100%;
		top: -12em;
	}
	
	#settings_intro {
		margin-bottom: 12em;
	}
	
	#map_wrapper .side_text {
		left: 0px;
		top: -21em;
	}

	#map_wrapper {
		margin-top: 21em;
	}
	
	#maincol #controls1,
	#maincol #controls2 {
		width: 214px;
	}
	
	#twocols #rightcol {
		font-size: 0.8rem;
	}
	
	#disclaimer {
		top: 100px;
		left: 200px;
	}
	
	.white_box img {
		width: 100%;
		height: auto;
	}*/

#maincol {
}
#twocols {
margin-top: 120px;	
	
}


	
	#footer_lining .region_credits p {
	margin-top: 30px;
	font-size: 12px;
}

#footer_lining .signpost p {
	font-size: 16px;
}

	/*#lfc_headpic {
		margin-left: 0px;
	}
	
	#lfc_headpic {
		top: 0px;
	}*/
		
	body .container {
		width: 480px !important;
	}
		
	body {
		padding: 0;
	}
	
	/*#under_title {
		width: 220px;
	}

	#l4c_logo {
		width: 30%;
		height: auto;
		margin-left: 10px;
	}*/
	
	#rightcol {
		margin-top: 10px;
		padding: 0 30px;
	}
		
	#maincol > .wf_lining {
		position: relative;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	/*#beta {
		right: -80px;
		bottom: -10px;
	}
	
	#home1_middle .slide img {
		width: 100%;
	}
	
	#home1_middle {
		height: auto;
	}
	
	#strapline {
		font-size: 1.2em;
		position: relative;
		top: 0px;
		width: auto;
	}
	.region_topnav {
		width: 290px;
		margin-left: 10px;
	}*/
	
	.navbar-header {
		float: none;
	}



	#nav_wrapper {
		margin-top: 40px;
		margin-bottom: 40px;
		position: relative;
		z-index: 100;
		background-color: transparent;
		width: 480px;
		text-align: center;
	}	
	/*#nav_wrapper {
		top: -20px;
		margin-bottom: -15px;
		position: relative;
		z-index: 100;
	}*/
	


	
	.navbar-nav {
	margin: 0;	
	}

	li.page_item {
		clear: left;
	} 
 
.navbar-default .navbar-collapse, .navbar-default .navbar-form	{
	border: none;	
}
	
	/*
	#navmain .dropdown-menu > li > a:hover {
		color: #FFF;
	}
	
		#navmain .dropdown-menu > li > a {
		color: #FFF;
	}
	*/

	.navbar .nav > li > a {
	margin: 0;
	padding: 0;	
	}
	
		#navmain a {
		display: block;
		background-color: transparent;
		color: #FFF;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	
	#navmain a:hover , #navmain a:focus {
		background-color: #acacad;
		border: none;
	}
	
	.navbar .nav > li > a:hover, .navbar .nav > li > a:focus {
		color: #FFF !important;
border: none;
	}
	
	.navbar li.current_page_item {
	border: none;	
		background: #acacad;
		color: #fff;
	}
	.navbar .nav > li.current_page_item > a {
		border: none;
	}
	
	
	/*.navbar-nav > li:first-child {
		border-top: 1px solid #6095a5;
	}
	.navbar-nav > li:last-child,
	.navbar-nav > li:last-child li:last-child {
		border-bottom: 1px solid #6095a5;
	}
*/	
	#navmain .navbar-nav li {
		background-color: #eee;
		height: auto !important;
		border-left: none;
		border-right: none;
		background-color: #eee;
		border-bottom: 1px solid #acacad;
}
	
	#navmain .navbar-nav {
		border: none;
		margin-top: 0px;
		padding-bottom: 10px;
	}
	
	#nav_wrapper .container {
		padding-bottom: 10px;
	}
	
	.container > .navbar-collapse {
		margin-left: 0px;
		margin-right: 0px;
	}
	
	/*#navmain .current_page_parent.dropdown:not(.open) a,
	#navmain .current_page_parent.dropdown:not(.open) a:hover,
	#navmain .current_page_item a,
	#navmain .current_page_item a:hover {
		background-color: #cf181d;
	}
	
	#nav_wrapper .navbar-toggle,
	#nav_wrapper .navbar-toggle:hover {
		background-color: #cf181d;
		color: #FFF;
		padding: 4px 12px;
		margin-bottom: -4px;
	}
	
	#navmain:not(.collapse) {
   		margin-top: 12px;
	}*/


.children { 

display: inline-block;
width: 100%;
float: none;
position: relative;
top: 0;
text-align: center;
border-top: 1px solid #acacad;

}
#navmain .navbar-nav .children li {
background: #ddd;
}

#navmain .children a {
    color: #acacad;
    display: block;
    padding-bottom: 10px;
    padding-top: 10px;
	padding-left: 0;
}
#navmain .children a:hover, #navmain .children a:focus {
	color: #fff;
}

#login_link {
	display: none;	
	}

.current_page_item > .children {
	top: 0;	
}

li.current_page_item a, .navbar .nav > li.current_page_item > a {
font-weight: bold !important;
}

.navbar .nav > li > a:hover, .navbar .nav > li > a:focus, .navbar .nav > li.current_page_ancestor > a, .navbar .nav > li.current_page_item > a {
    border-bottom: 1px solid #acacad;
}
	
}

@media (max-width: 480px) {
	#nav_wrapper .container {
	padding: 0;
}
	#nav_wrapper {
	max-width: 480px;
	width: 100%;
	}
.navbar-collapse {
	padding: 0;	
}	
	
	/*#maincol #controls1,
	#maincol #controls2 {
		width: 100%;
		margin-right: 0px;
	}
	
	#strapline {
		font-size: 1em;
	}
	
	.region_topnav {
		width: 60%;
	}
	
	#nav_wrapper {
		margin-top: -8px;
	}
	
	#navmain {
		max-width: 500px !important;
	}
	*/
	
	body .container {
		width: 100% !important;
	}

}