/* main layout and nav*/
body {
	background: #dae3e5;	
	font: 16px/24px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hidden {
	display: none !important;
	}
	
.req, label.error{
	color: red !important;
	}
	
hr.clear-both {
	color: #fff;
	background-color: #fff;
	border: 0;
	border-bottom: 1px dashed #bbbbbb;
	margin: 24px 0;
	clear: both;
}
hr.no-border {
	border: 0;
}

table.table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 20px 0;
	}
	table.table tr th {
		text-align: left;
		}
	table.table tr th, table.table tr td {
	border: 1px solid #EEEEEE;
	padding: 5px;
	vertical-align: top !important;
	}

#wrapper {
	max-width: 980px;
	padding: 0 25px;
	margin: 0 auto;
	/*	margin-top: 20px;*/
	background: #ffffff;
	position: relative;
	box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

footer {
	border-top: 1px dashed #999;
	border-bottom: 1px dashed #999;
	background: #d1d1d1;
}
	.footer-wrapper {
		max-width: 940px;
		margin: 0 auto;
		padding: 48px 45px 24px;
	}

.brand-wrapper {
	background: rgba(52,187,228,1);
	background: -moz-linear-gradient(top, rgba(52,187,228,1) 0%, rgba(35,165,217,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(52,187,228,1)), color-stop(100%, rgba(35,165,217,1)));
	background: -webkit-linear-gradient(top, rgba(52,187,228,1) 0%, rgba(35,165,217,1) 100%);
	background: -o-linear-gradient(top, rgba(52,187,228,1) 0%, rgba(35,165,217,1) 100%);
	background: -ms-linear-gradient(top, rgba(52,187,228,1) 0%, rgba(35,165,217,1) 100%);
	background: linear-gradient(to bottom, rgba(52,187,228,1) 0%, rgba(35,165,217,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34bbe4', endColorstr='#23a5d9', GradientType=0 );
	font-size: 24px;
	line-height: 24px;
	font-family: "Trebuchet MS", Arial;
	font-weight: normal;
	height: 60px;
	padding: 10px 10px 10px 35px;
	margin-left: -45px;
	margin-right: -45px;
}
/*xpadding: 13px 10px 10px 90px !important;
xwidth: 120px;
xheight: 60px;
*/
.brand {
x	background: url(/assets/images/menieres-logo-40-50-white.png) 0 50% no-repeat;	
	background: url(/assets/images/menieres-logo-55-68-colour.png) 5px 50% no-repeat;	
	color: #fff;
	padding-left: 70px;
	line-height: 60px;
	height: 60px;
	display: block;
	float: left;
	margin-right: 40px;
}
.brand:hover {
	color: #fff;
}

.donate-banner {
	padding-top: 5px;
	padding-right: 25px;
	font: 15px/24px "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
}
.donate-banner p {
	margin: 0;
}
.donate-banner a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px dashed #fff;
}
.donate-banner span.donate-now {
	font-size: 18px;
	font-weight: bold;
	display: block;
}
#nav-toggle {
	display: none;
}
.navigation-bar {
	clear: both;
	margin-left: -45px;
	margin-right: -45px;
	background: #555;
	border-bottom: 12px solid #ddd;
}
.navigation-bar ul {
	margin: 0;
	list-style: none;
	overflow: auto;
	padding: 0px 25px;
	font-size: 15px;
}
.navigation-bar ul li {
	float: left;
}

.navigation-bar ul a {
	color: #ffffff;
	display: block;
	padding: 10px;
}

.main-content {
	padding-top: 18px;
	padding-bottom: 18px;
}

.navigation-bar .nav li.active a {
	background: #444;
	box-shadow: inset 0px 0px 10px 0px rgba(0,0,0,0.3);
}
	
/* type */   
.main-content h1 {
/*		border-bottom: 1px dashed #bbbbbb;
	padding-bottom: 48px;*/
	margin-bottom: 24px;
	line-height: 32px;
}
.main-content h2 {
	border-top: 1px dashed #bbbbbb;
	margin-top: 47px;
	padding-top:  48px;
	margin-bottom: 24px;
	font-weight: normal;
}  
.main-content h3 {
	line-height: 24px;
	margin-top: 48px;
	margin-bottom: 24px;
} 

.main-content h4 {
	margin-top: 24px;
	margin-bottom: 0px;
}  

.main-content h4 + p{
margin-top: 0;
}

.main-content h2+h3 {
}

.main-content h3+p {
	margin-top: -12px;
}

#contact-us h1 {border: 0; padding-bottom: 0; margin-bottom: 0;}
#contact-us .well h2 {border: 0; padding: 0; margin: 0;}

.main-content p {
	margin-top: 24px;
	margin-bottom: 24px;
	}

.main-content fieldset p {
	margin-top: 0px !important;
	margin-bottom: 24px;
	} 
	
	
.main-content ul, .main-content ol {
	margin-left: 0;
	padding-left: 0;
} 
.main-content ol li {
	margin-bottom: 24px;
}
ul.paragraph-list li {
	border-bottom: 1px solid #dae3e5;
	padding-bottom: 12px;
	margin-bottom: 12px;
}
ul.paragraph-list li:last-of-type {
	border: none;
}  
.main-content a {
	 text-decoration: underline;	
}

blockquote {
	color: #555;
	font-weight: bold;
	font-size: 20px;
	margin: 24px;
	padding: 0 20px 0 40px;
	line-height: 25px;
	position: relative;
	border-top: 3px solid #ddd;
	border-bottom: 3px solid #ddd;
	}
blockquote:before {
	display: block;
	content: "\201C";
	font-size: 120px;
	position: absolute;
	left: -40px;
	top: 60px;
	color: #ddd;
	font-family: Georgia, serif;
}
blockquote cite, blockquote i, blockquote em {
	font-size: 16px;
	font-weight: normal;
}

p.up {
	margin-top: 48px;
}
p.up a {
	text-decoration: none;
}
.footer-wrapper h2 {padding: 0; margin: 0; font-weight: normal;}
.footer-wrapper ul {list-style: none; padding-left: 0; margin-left: 0;}
.footer-wrapper li {margin-bottom: 10px;}
.footer-wrapper, .footer-wrapper a {color: #555;}
.footer-wrapper a {text-decoration: underline;}
.footer-copyright li {display: inline; padding: 0 20px; border-right: 1px solid #999;}
.footer-copyright li:last-of-type {border: none;}
.footer-copyright {text-align: center; text-transform: uppercase; padding: 36px 0;}

/* ToC / table of contents */
ul.ul-toc:before {
	content: "Table of contents";
	font-weight: bold;
	color: #666;
	text-transform: uppercase;
	display: block;
}
ul.ul-toc {
	border: 1px solid #ccc;
	padding: 20px;
	list-style: none;
}
ul.ul-toc li {
	border-top: 1px dotted #ccc;
	padding-top: .5em;
	margin-top: .5em;
}
ul.ul-toc a {
	text-decoration: none;
}
ul.ul-toc-horizontal {
	overflow: auto;
}
ul.ul-toc-horizontal li {
	display: inline;
	border: 0;
}

ul.ul-toc-horizontal li a {
	padding: 5px 15px;
	margin: 15px 15px 0 0;
	min-width: 20px;
	text-align: center;
	display: block;
	float: left;
	background: #eee;
	border: 1px solid #ddd;
}

/* images */
.img-float-right {
	float: right;
	margin: 0 0 24px 24px;
}
.img-bordered, figure img {
	border: 1px solid #444;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}
.img-center {
	display: block;
	margin: 0 auto 24px;
}

.container-fluid img{
	height: auto !important;
}

/* home page/info home */
#home-page .main-content h1 {border: 0; padding: 0; margin-bottom: 0;}
#home-page .main-content h2 {margin-top: 24px; margin-bottom: 0; padding-bottom: 0; padding-top: 24px;}
#home-page .main-content h2.no-border {border: 0; margin-top: 0px;}
.symptoms-column h2:first-of-type, .treatment-column h2:first-of-type {border: 0; margin-top: 0; padding-top: 24px;}
#home-page .main-content ul, #info-home-page .main-content ul {list-style: none;}
#home-page .main-content li, #info-home-page .main-content li {margin-bottom: 10px;}
.home-start-here-column, .symptoms-column {background: #fff; padding: 0 24px; border: 1px solid #ddd; margin-bottom: 12px;
box-shadow: 0px 0px 5px rgba(0,0,0,0.1); border-radius: 12px;}
.home-support-the-society-column {}

ul.home-start-here {
	list-style: none;	
	margin-left: 0;
	padding-left: 0;
}
#home-page .main-content ul.home-start-here li {
	margin-bottom: 24px;
}

#home-page .well {
	margin-left: 0;
	}

.well.home-phone-number {
	padding: 24px 24px 12px;
}
	
.home-phone-number span {
	font-size: 32px;
	line-height: 32px;
	padding: 10px 0;
	display: block;
}

/* gift aid */
input.ga-input, input.ga-input-result {
	border: 0;
	box-shadow: none;
	font: 20px/24px "Helvetica Neue", Helvetica, Arial, sans-serif;
	padding: 0 3px 3px;
}

input.ga-input {
	border-bottom: 1px dotted #aaa;
	width: 3em;
}
input.ga-input-result {
	background: #fdf989;
	margin-left: 5px;
	width: 4em;
}

/* social */
ul.home-social {
	list-style: none;
	padding-left: 0;
	margin-bottom: 24px;
}

.home-social li {
	margin-bottom: 10px;
	height: 30px;
}
.home-social a {
	height: 30px;
	display: block;
	padding-left: 50px;
	font-weight: bold;
}
li.home-social-facebook a {
background: url(/assets/images/facebook.png) 0 50% no-repeat;	

}
li.home-social-twitter a {
background: url(/assets/images/twitter.png) 0 50% no-repeat;	
}
li.home-social-instagram a {
background: url(/assets/images/ig-badge-32.png) 0 50% no-repeat;	
}

/* contact */

.btn-primary {
	text-shadow:0;
	background-color: #34bbe5; 
	background-image: none; 
	border-color: #0044cc #0044cc #002a80; 
	border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); 
	}
	
form.well {
	margin-left: 0;
}

form.well hr{
	border: none;
	border-top: 1px solid #ddd;
	height: 1px;	
	float: none !important;
	margin: 15px 0 0 !important;
	padding: 0;
	clear: both !important;
}

form.well p{
	margin-top: 0;
}

legend small, .help-block, .help-inline{
    font-size: 		15px;
    line-height: 	20px !important;
    margin-bottom: 	10px;
    color: 			#999999;
	display: 		block;
	/*
	display: 		inline-block;
    width: 			200px;
    */
}

legend small.bold{
	color: #333333;
}


/* Tooltip container */

.tooltip {
    position: relative;
    display: inline-block;
   /* border-bottom: 1px dotted black; */
}

.tooltip small, .tooltip .fa{
	display: none;
	}

.tooltip .tooltiptext {
    /*
	visibility: hidden;
   
    background-color: #eee;
     width: 240px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;    
    
    position: absolute;
    z-index: 1;
    
    */
    color: #666;
    
    font-size: 15px;
    line-height: 20px !important;
    text-align: left;    
    color: #999999;
    display: block;
    padding: 10px 0;
    
   
}

@media screen and (min-width: 760px) {
	.tooltip {
		border-bottom: 1px dotted black;
	}
	
	.tooltip small, .tooltip .fa{
		display: inline;
		}
	
	.tooltip .tooltiptext {
	   	color: #666;
	   	visibility: hidden;
	    background-color: #eee;
	    width: 240px;
	    padding: 5px 10px;
	    border-radius: 6px;
	    border: 1px solid #ddd;	    
	    position: absolute;
	    top: 40px;
	    left: -100px;
	    z-index: 1;
	    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.4);	    
	}
	
	.tooltip:hover .tooltiptext {
	    visibility: visible;
	}
	
}

#contact-us .well span.big-contact {
	background: #fff;
	font-weight: bold;
	padding: 5px 10px;
	margin: 5px 0;
	display: block;
	font-size: 18px;
	text-align: center;
}

#contact-us .well.span4 {
	height: 250px;
}

#contact-us .well p {
	line-height: 24px;
}

/* sidebar wells */
.well, .alert {
	margin-left: 24px;
	margin-top: 24px;
	background: #eee;
	padding: 24px 18px;
	font-size: 14px;
	line-height: 16px;
	border: 1px solid #ddd;
}
.alert {
	border: 1px solid #d5edf5;
	background: #e5edf5;
	padding: 24px;
}
.alert p {
	line-height: 22px;
}
.well ul, .alert ul {
	list-style: none/*square*/;
	color: #aaa;
	margin: 0;
	padding: 0;
}

.well li ul {
	border-left: 1px dashed #ccc;
	margin-left: 0px;
	padding-left: 5px;
}
.well li, .alert li {
	margin: 0 0 6px ;
}
.well li li {
margin: 0;
}
.well a {
	text-decoration: none;
	display: block;
	padding: 6px;
	font-weight: bold;
}

.well a:hover {
text-decoration: underline;
}
.well ul ul a {
	font-weight: normal;
	}
.well ul ul {
list-style: none;
}

.sidebar-nav ul li.nav-header, .alert h4 {
	text-transform: uppercase;
	font-weight: bold;
	color: #666;
	margin-top: 0;
	margin-bottom: 12px;
	padding: 0 6px;
	list-style: none;
}
.alert h4 {
	padding: 0
}
.alert ul {
	padding: 0;
}

.well li.active > a {
	background: #3bbae3;
	color: #fff;
	font-weight: bold;
	}

/* responsive overrides */

@media screen and (max-width: 980px) {
	.donate-banner {
	font-size: 14px;	
	}
	.donate-banner span.donate-now {
	display: inline;
	font-size: 17px;
	padding-right: 5px;	
	}
}

@media screen and (max-width: 950px) {
	.donate-banner {
		line-height: 16px;
	}
	.navigation-bar {
		line-height: 35px;
	}
}

@media screen and (max-width: 768px) {
	body {
		background: #fff;
	}
	#wrapper {
		box-shadow: none;
	}
	.well, .alert {
		margin-left: 0;
	}
	
	#home-page .home-intro-column, #info-home-page .info-intro-column {
		float: none;
		width: 100% !important;
	}
	#home-page .main-content .span4, #info-home-page .main-content .span4 {
		float: left;
		width: 45%;
		margin: 24px 5% 0 0;
	}
}

@media screen and (max-width: 767px) {/* main shift / single-col */
	.donate-banner {
		padding-top: 10px;
	}
	.donate-banner span.donate-free {
		display: none;
	}
	.span4, .span8 {
		margin-bottom: 48px;
	}
	p.well.home-phone-number {
		text-align: center;
	}
	.home-intro-column {
		position: relative;
	}
	.home-intro-column p {
x			padding-right: 45%;
	}
	
	.home-intro-column img.img-bordered {
		float: right;
		max-width: 30%;
		margin: 24px;
	}
	footer {
		margin: 24px -20px 0;
		padding: 24px 48px;
		
	}
	.footer-wrapper {
		padding: 24px 0;
	}
	.span4.footer-logo {
		display: none;
	}
	.footer-wrapper .span4 {
		float: left;
		width: 45%;
		margin-right: 5%;
	}
	ul.footer-copyright li {
		display: block;
		border: 0;
	}
	#contact-us .span4.well {
		height: auto;
	}
}

@media screen and (max-width: 680px) {
	.donate-banner {
		padding-top: 0px;
	}
}

@media screen and (max-width: 580px) {
	#wrapper {
		padding: 0;
	}
	.brand {
		float: none;
		margin-right: 0;
	}
	.brand-wrapper {
		height: 110px;
		padding: 10px 20px;
	}
	.donate-banner {
		padding-right: 0;
	}
	.well.sidebar-nav * {
		display: block !important;
	}
	.donate-banner span.donate-now {
		display: block;
		text-align: center;
		padding-top: 10px;
		clear: both;
		font-size: 15px;
		font-style: italic;
	}
	.brand-wrapper {
		margin: 0 -20px;
	}
	.navigation-bar {
		margin: 0 -20px;;
	}
	.navigation-bar ul {
		padding: 10px 20px;
	}
	.footer-wrapper .span4 {
		float: none;
		width: auto;
	}
	footer {
		padding: 24px;
	}
	
	#home-page .main-content .span4, #info-home-page .main-content .span4 {
		float: none;
		width: auto;
		margin: 24px 0 24px 0;
	}
	
}

@media screen and (min-width: 581px) {/* fix for collapsed nav if window expanded again */
	.nav {
	display: block !important;
	}
}
@media screen and (max-width: 400px) {
		
}

/* nav toggler */
@media screen and (max-width: 580px) {
	#nav-toggle {
		display: block;
		font-weight: bold;
		color: #fff;
		padding: 12px 25px 12px 55px;
		background: url('/assets/images/menu-toggle.png') 20px 50% no-repeat;
	}
	.nav {
	display: none;
	}
	.navigation-bar ul {
		font-size: 14px;
	}
	.navigation-bar ul li {	
		float: none;
		display: block;
		border-bottom: 1px dotted #999;
		margin-right: 0;
	}
	.navigation-bar ul li:last-of-type {	
		border: 0;
	}
}

/* high-res overrides */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
 only screen and (min-device-pixel-ratio: 1.5) {

.brand {
x		background: url(/assets/images/menieres-logo-40-50-white-x2.png) 0 50% no-repeat;	
x		background-size: 46px 59px;
	background: url(/assets/images/menieres-logo-112-136-colour.png) 0 50% no-repeat;	
	background-size: 56px 68px;
	}

}		