body { 
	color: #1f1e1d;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	background: #f0e8df url('/images/btb_bg_texture.png');
}

/* common */

.content-wrap { 
	background: transparent url('/images/img_gradient_top3.png') top left repeat-x;
}

.main { 
	background: url('/images/btb_content_swirl.png') top right no-repeat;	
}

body.home .main { 
	background: transparent;
}

.main-bottom { 
	background: transparent url('/images/img_gradient_bottom.png') bottom left repeat-x;
	height: 20px;
}

.container { 
	/*max-width: 940px;*/
}

.container .row { 
	max-width: 940px;
}

/* links */

a:link, 
a:active { 
	color: #497c9a;
}

a:hover { 
	color: #416f8a;
}

a:visited { 
	color: #638091;
}

/* headings */
h1, 
.h1 {
	color: #6d4d3a; 
	font-family: 'Pirata One', cursive;
	font-size: 40px;
	margin-top: 20px; 
}

body.home h1, 
body.home .h1 {
	color: #6d4d3a; 
	font-family: 'Pirata One', cursive;
	font-size: 32px;
}

body.home h1 { 
	color: #e7e2e1;
}

h2 { 
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 26px;
	font-weight: 400;
	color: #8a7e7a;
}

h3, 
.h3 {
	font-size: 20px;
}

h3 { 
	font-family: 'Roboto', sans-serif;
	color: #1f1e1d;
}

h3 a { 
	color: #497c9a;
}

h3 a:hover { 
	color: #416f8a;
}

/* headings overrides */

body p { 
	color: #1f1e1d;
}

/* nav */

.navbar-nav { 
	margin-top: 70px;
}

.nav li a { 
	text-transform: uppercase;
}

.navbar-nav>li>a:link,
.navbar-nav>li>a:active,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:visited {
	padding: 0 10px;
	line-height: normal;
	font-weight: 400;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 18px; /* 20px */
	background: transparent;
}

.nav li a:active, 
.nav li a:hover { 
	color: #4c2214;
	/* text-decoration: underline; */
}

.nav li a.active,
.nav li a.visited { 
	color: #4c2214;
}

/* gallery */

.thumbnail {
	border: 1px solid #fbf8f3; 
	border-radius: 0;
	padding: 0;
}

a.thumbnail:hover, 
a.thumbnail:focus,
a.thumbnail:active {
	border-color: #ffffff;
	/* border: 1px solid #fbf8f3; */
}

/* panels */

.panel { 
	background: transparent; 
	border: none;
	box-shadow: none;
}

.panel-heading,
.panel-default > .panel-heading { 
	background: transparent;
	border: none;
	padding: 0;
}

.panel-title { 
	font-size: 16px;
	font-weight: bold;
	font-family: "Roboto",sans-serif;
	border: none;
}

.panel-title a { 
	padding-left: 15px;
	border: none;
	outline: none;
}

.panel-title > a:before {
	content: '-';
	position: absolute;
	left: 15px;
}

.panel-title > a.collapsed:before {
	content: '+';
	position: absolute;
	left: 15px;
}

.panel-title span.title-text { 
	font-weight: bold;
	color: #1f1e1d;
}

.panel-body { 
	padding: 0;
}

/* carousel */

.carousel-inner img { 
	margin: 0 auto;
}

a.carousel-control:link,
a.carousel-control:visited,
a.carousel-control:hover,
a.carousel-control:active { 
	color: #058ecc;
}

.carousel-control.left, 
.carousel-control.right { 
	background: transparent;
}

.carousel-control .glyphicon-chevron-left, 
.carousel-control .icon-next { 
	margin-left: -40px;
}

.carousel-control .glyphicon-chevron-right, 
.carousel-control .icon-next { 
	margin-right: -40px;
}

a.carousel-control { 
    height: 85%;
}

/* modals */

.modal { 
    overflow-y: auto;
}

.modal-dialog { 
	width:67% !important;
}

.modal-header button { 
	margin-left:5px; 
	font-weight: normal;
	font-size: 18px;
}

.img-responsive, 
.thumbnail>img, 
.thumbnail a>img, 
.carousel-inner>.item>img, 
.carousel-inner>.item>a>img {
    display: block;
    max-height: calc(100vh - 140px);
    width: auto;
    /*max-width: 100%;*/
    /*height: auto;*/
    overflow-y: auto;
}

/* enforce max-height on enlarged images in modal window */
.carousel-inner>.item>img, 
.carousel-inner>.item>a>img {
	max-height: 750px;
}

/* header */
header { 
	background: #ffffff;
	/* min-height: 200px; */
	padding: 30px 0 10px 0;
	border-bottom: 1px solid #a5927f;
}

.tagline { 
	font-family: 'Pirata One', cursive;
	font-size: 20px;
	color: #d0c6c2;
}

.logo-wrap { 
	padding-left: 0;
}

#logo { 
	width: 100%;
	max-width: 405px;
}

.home-intro { 
	background: #4c2214 url('/images/btb_home_image_bg.jpg') bottom repeat-x; 
	color: #ccc3bf; /* #e7e2e0 */
} 

.home-intro p { 
	color: #ccc3bf;
}

.home-intro-text { 
	padding-top: 18px;
	line-height: normal;
}

.home-intro-img { 
	/* width: 100%; */
}

.home-intro p { 
	font-size: 17px;
}

.event, 
.news {
	border-top: 1px solid #d1c7c5;
}

.event img { 
	width: 100%;
	padding: 15px 0;
}

#events .row, 
#news .row { 
	margin-left: 0;
	margin-right: 0;
	padding-bottom: 10px;
}

#events .event .col-md-3, 
#events .event .col-md-4,
#events .event .col-md-5,
#events .event .col-md-6,
#events .event .col-md-7,
#events .event .col-md-8,
#events .event .col-md-9,
#events .event .col-md-10,
#events .event .col-md-11,
#events .event .col-md-12 { 
	padding-left: 0;
}

#events img { 
	max-width: 125px;
}

#events h2, 
#events h2 a,
#news h2, 
#news h2 a {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 26px;
}

#events h2,
#news h2 { 
	margin-top: 40px;
}

#events h3, 
#events h3 a, 
#news h3,
#news h3 a {
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	font-size: 18px;
	margin-top: 15px;
	/* color: #; */
}

#news .pub-name { 
	font-family: 'Roboto Light', sans-serif; 
	font-weight: 300;
}

.news-headline { 
	font-weight: bold;
}

/* sidebar */

.sidebar { 
	padding-top: 160px;
}

/* faq */

body.faq .sidebar { 
	padding-top: 185px;
}

li { 
	margin-bottom: 8px;
}

/* contact */

.contact-form { 
	display: block;
	clear: both;
}

.contact .btn {
	background: #497c9a;
	color: #ffffff;
}

.contact .sidebar h2 { 
	font-size: 22px;
}

.btn-default { 
	text-shadow: none;
}

/* qualifications */

body.qualifications .main img { 
	max-width: 100%;
}

.main p.caption { 
	margin: 0;
	padding: 0;
	vertical-align: middle;
	font-size: 18px;
	color: #8d7d75;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.timeline-entry { 
	border-top: 1px solid #d7ccbf;
	padding-top: 6px;
}

/* footer */
footer { 
	/* margin-top: 15px; */
	padding: 40px 0;
	font-size: 14px;
	border-top: 1px solid #d3c2ae; 
	background: #F1EAE3 url('/images/btb_footer_swirl.png') top right no-repeat;
	/* position: absolute; */
	/* bottom: 0; */
}

footer, 
footer p { 
	color: #5e5956;
}

footer img.icon-facebook,
footer img.icon-instagram { 
	max-width: 28px;
	margin-right: 5px;
}

.copyright { 
	margin-top: 15px;
	color: #d0c6c2;
}

/* styles for desktop */
.tinynav { display: none }

/* media queries */

@media only screen and (max-width:767px){
	.tinynav { display: block; width:100%; }
    #nav { display: none }

	.home-intro-img { 
		padding-left: 0;
		padding-right: 0;
	}
	.modal-dialog { 
		width: 95% !important;
	}
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-next {
		margin-left: -20px;
	}

	.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
		margin-right: -20px;
	}

	.main { 
		background: transparent;
	}

	.sidebar {
    	padding-top: 0;
	}

	footer { 
		background: #F1EAE3;
	}
	
}

@media only screen and (min-width: 768px) { 
    .modal-dialog {
        /*width: 600px;*/
        width: 67%;
        /*max-width: 100%;*/
        margin: 15px auto;
    }
}

@media only screen and (max-width:991px){
	.navbar-nav { 
		margin-top: 5px;
		float: left !important;
	}
	
	.main { 
		background: transparent;
	}

	.sidebar {
		display: block;
		clear: both;
    	padding-top: 0;
	}
    
    .tagline { 
        display: none;
    }
}
