/*
Theme Name:     Bazelon Center for Mental Health Law
Description:    Custom WordPress theme built using the Bootstrap 3.2 framework.
Author:         Dave Parks
Author URI:     http://daveparks.net/
*/

/*	STYLE GUIDE:
blue: #003768
red: #b32317
dark gray: #455560
light gray: #cfd4d8
footer gray: #b0b6bb
  
font-family: 'cardoregular';
font-family: 'cardobold';
font-family: 'open_sanslight';
font-family: 'open_sansregular';
font-family: 'open_sanssemibold';
font-family: 'open_sansbold';
*/


/* FONTS */
@font-face {
    font-family: 'cardoregular';
    src: url('fonts/cardo-regular-webfont.woff2') format('woff2'),
         url('fonts/cardo-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cardobold';
    src: url('fonts/cardo-bold-webfont.woff2') format('woff2'),
         url('fonts/cardo-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'cardoitalic';
    src: url('fonts/cardo-italic-webfont.woff2') format('woff2'),
         url('fonts/cardo-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sansbold';
    src: url('fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('fonts/opensans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sanslight';
    src: url('fonts/opensans-light-webfont.woff2') format('woff2'),
         url('fonts/opensans-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sansregular';
    src: url('fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('fonts/opensans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sanssemibold';
    src: url('fonts/opensans-semibold-webfont.woff2') format('woff2'),
         url('fonts/opensans-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}  
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@-webkit-keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}  
@keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}


/* GLOBAL */
#topnav img, .nav-logo, header img, footer img, .blue-button, .red-button { /* effects speed */
	transition: all 1s;
	-moz-transition: all 1s; /* Firefox 4 */
	-webkit-transition: all 1s; /* Safari and Chrome */
	-o-transition: all 1s; /* Opera */
}
html, body {
  	background: #fff;
  	font-family: 'cardoregular', 'Times', 'serif';
  	font-size: 18px;
    font-weight: 400;
	line-height: 1.5;
	color: #000;
	overflow-x: hidden;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
hr {
  background: #b32317;
  clear: both;
  float: none;
  width: 100%;
  height: 1px;
  margin: 0 0 10px 0;
  border: none;
}
h1 { /* large title text */
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 45px;
	color: #b32317;
	padding-top: 0;
	margin-top: 0;
	padding-bottom: 20px;
}
h2 { /* medium-large title text */
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 30px;
	color: #b32317;
	padding-top: 0;
	margin-top: 0;
	padding-bottom: 15px;
}
h3 { /* small sub-title text */
    font-family: 'open_sansbold', 'Helvetica', 'Arial', sans-serif;
	color: #b32317;
	font-size: 21px;
}
h4 { /* same as H3 but with a red line underneath */
    font-family: 'open_sansbold', 'Helvetica', 'Arial', sans-serif;
	color: #b32317;
	font-size: 21px;
	padding-bottom: 6px;
	border-bottom: 1px solid #b32317;
}
h5 { /* small title text */
  	font-family: 'cardobold', 'Times', 'serif';
	font-size: 18px;
	color: #b32317;
	padding-top: 0;
	margin-top: 0;
}
h6 { /*  */
	font-family: 'open_sansregular', 'Helvetica', 'Arial', sans-serif;
  	font-size: 14px;
}





/* no gutters row */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}



/* images */
img {
	max-width: 100%;
	height: auto;
}
.alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 0px;
}
.alignright {
	float: right;
	margin-left: 20px;
	margin-bottom: 0px;
}
.aligncenter {
	display: block;
	float: none;
	margin: 0 auto;
	text-align: center;
}



/* header */
#topnav {
	background: #b32317;
	display: block;
	padding: 10px 0;
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 14px;
	color: #fff;
	text-align: right;
}
.topnav-link {
	float: right;
	padding: 4px 15px;
}
.topnav-link-icon {
	float: right;
	padding: 0 5px;
}
#topnav img:hover {
	opacity: .6;
}
#topnav a, #topnav a:focus {
  color: #fff;
  text-decoration: none;
}
#topnav a:hover {
  color: #cfd4d8 !important;
  text-decoration: none;
}
#topnav a:active {
  color: #fff;
  text-decoration: none;
}
header {
	display: block;
	color: #003768;
	border-bottom: 1px solid #003768;
}
header img:hover {
	opacity: .6;
}
header .nav-logo {
	float: left;
	margin: 8px 0;
}
.nav-logo:hover {
	opacity: .6;
}



/* main menu */
#main-nav {
	padding-top: 35px;
}
#main-nav ul {
  	float: right;
	list-style: none;
	margin: 0 auto;
}
/* ===== First Level ===== */
#main-nav ul li {
	float: left;
	position: relative;
	padding: 0;
	margin: 0;
	z-index: 999999;
}
#main-nav ul ul li {
	border: none;
}
#main-nav ul li a {
	display: block;
	text-decoration: none;
  	font-family: 'cardobold', 'Times', 'serif';
	font-size: 18px;
	color: #003768;
  	margin: 0 10px 10px 10px;
  	line-height: 2;
	text-transform: uppercase;
}
#main-nav ul li:hover a {
	color: #b32317;
}
#main-nav ul ul,	#main-nav ul li:hover ul ul {
	position: absolute;
	display: none;
}
#main-nav ul ul li:hover ul, #main-nav ul li:hover ul li:hover ul {
	display: block;
	top: 0px;
	left: 100%;
}
/* ===== Second Level ===== */
#main-nav ul li:hover ul {
	display: block;
	position: absolute;
    left: -50%;
    right: -50%;
	top: 100%;
	min-width: 250px;
	height: auto;
	margin: 0 auto;
	text-align: center;
/* 	background-image: url('img/menu-bg.png');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;  */
}
#main-nav ul li.adjust:hover ul {
    left: -70%;
    right: -30%;
}
#main-nav ul ul {
	background: #fff;
}
#main-nav ul ul ul {
	background: #fff !important;
}
#main-nav ul ul li {
	float: none;
	display: block;
}
#main-nav ul ul li a {
	line-height: 1.5;
	text-align: center;
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 16px;
	color: #003768 !important;
	margin: 0;
	padding: 6px;
	background: none;
	border: none;
}
#main-nav ul ul ul li a {
	color: #003768;
}
#main-nav ul ul li:hover>a {
	color: #b32317 !important;
}
#main-nav ul ul ul li:hover>a {
	color: #b32317 !important;
}
#main-nav ul ul
{
position: relative;
width: 250px;
height: 120px;
padding: 3px;
background: #FFFFFF;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
border: #003768 solid 2px;
}

#main-nav ul ul:after 
{
content: '';
position: absolute;
border-style: solid;
border-width: 0 15px 15px;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
margin-left: -15px;
top: -15px;
left: 50%;
}

#main-nav ul ul:before 
{
content: '';
position: absolute;
border-style: solid;
border-width: 0 16px 16px;
border-color: #003768 transparent;
display: block;
width: 0;
z-index: 0;
margin-left: -16px;
top: -18px;
left: 50%;
}




/* main content */
.title-bar {
	position: relative;
	margin: 0;
	overflow: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.section {  /* regular content section */
	overflow: hidden;
	width: 100%;
	padding: 30px 0 40px 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.section-text-indent {
	padding: 0 80px;
}
.section p {  
	padding-bottom: 15px;
}
.section a, .section a:focus {
	font-weight: 600;
  	color: #1b447c;
  	text-decoration: none;
}
.section a:hover {
  	color: #6e85b1;
  	text-decoration: underline;
}
.section a:active {
  	color: #1b447c;
  	text-decoration: none;
}
.section ul {
    list-style-image: url('img/bullet.png');
	padding-left: 15px;
}
.section li {  
	padding-bottom: 6px;
	margin-bottom: 6px;
	padding-left: 7px;
}
.section ul li ul {  
	margin-top: 15px;
}
.section td {
	padding: 8px 5px;
  	vertical-align: top;
	font-size: 15px;
}
.white {
	background: #fff;
}
.sidebar-page-main {
	padding-right: 30px;
}
.social-media-title {
    font-family: 'open_sansbold', 'Helvetica', 'Arial', sans-serif;
	color: #b32317;
	font-size: 21px;
	padding-bottom: 6px;
	margin-bottom: 20px;
	border-bottom: 1px solid #b32317;
}
.social-feed {
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 14px;
}
.aptf-tweet-content a, .aptf-tweet-content a:focus {
	font-weight: 400;
  	color: #003768 !important;
  	text-decoration: none;
}
.aptf-tweet-content a:hover {
  	color: #6e85b1 !important;
  	text-decoration: underline;
}
.aptf-tweet-content a:active {
  	color: #003768 !important;
  	text-decoration: none;
}
.related-post {
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 16px;
}



/* feature boxes */
.feature-box {
	position: relative;
}
.feature-box-border {
	position: absolute;
	bottom: 0;
	width: 95%;
	margin: 0 auto;
	height: 2px;
	border-bottom: 1px solid #b32317;
}
.feature-box-image {
	position: relative;
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}
.feature-box-caption {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	padding: 3px 10px;
	background: #b32317;
	font-family: 'open_sansregular', 'Helvetica', 'Arial', sans-serif;
	font-size: 15px;
	color: #fff;
}
.feature-box-text {
  	font-family: 'cardoitalic', 'Times', 'serif';
}



/* Constant Contact form */
.contact-form-wrapper {
	padding: 10px;
	color:#5b5b5b; 
	background-color:#e8e8e8; 
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.contact-form-wrapper input {
	width: 98%;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.ctct-form-footer {
	padding-top: 20px;
	font-size: 13px;
}
.ctct-button {
	width: 98%
}
	
	

/* banners & sliders */
.banner-section {
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.banner-overlay {
	z-index: 5555;
	position: absolute;
	width: 100%;
	bottom: 40px;
	text-align: center;
	margin: 0 auto;
}
.overlay-top-text {
	position: relative;
	display: inline-block;
	font-family: 'open_sansbold';
	font-size: 46px;
	color: #fff;
	text-shadow: 2px 2px #000;
	padding-bottom: 10px;
}
.overlay-top-text:before {
    content: "";
    position: absolute;
    width: 90%;
    height: 1px;
    bottom: 0;
    left: 5%;
    border-bottom: 2px solid #fff;
}
.overlay-bottom-text {
	clear: both;
	font-family: 'cardobold';
	font-size: 35px;
	color: #fff;
	text-shadow: 2px 2px #000;
}
.carousel-indicators {
	position: relative;
}
.carousel-indicators li, .carousel-indicators li.active {
	width: 20px;
	height: 20px;
	border-radius: 50px;
	margin-right: 12px;
}
.carousel-indicators li.active {
	border: 2px solid #fff;
	-moz-box-shadow: 0 0 0 3px #b32317;
	-webkit-box-shadow: 0 0 0 3px #b32317;
	box-shadow: 0 0 0 3px #b32317;
}
.content-carousel-indicators-wrapper {
	clear: both;
	margin: 0 auto;
	text-align: center;
	padding-top: 50px;
}
ul.content-carousel-indicators {
	display: inline-block;
	list-style-type: none;
	padding-left: 0;
}
.content-carousel-indicators li {
	float: left;
	margin-right: 12px;
	cursor: pointer;
}
.content-carousel-indicators li, .content-carousel-indicators li.active {
	width: 20px;
	height: 20px;
	border-radius: 50px;
	margin-right: 12px;
	background: #cfd4d8;
}
.content-carousel-indicators li.active {
	background: #b32317;
	border: 2px solid #fff;
	-moz-box-shadow: 0 0 0 3px #b32317;
	-webkit-box-shadow: 0 0 0 3px #b32317;
	box-shadow: 0 0 0 3px #b32317;
}
.full-slide {
	width: 100%; 
	height: 100%;	
	background-position: top right;
	background-repeat: no-repeat;
	background-size: cover;
}
.carousel {
	position: relative;
}
.carousel-section {
	padding-top: 40px;
	padding-bottom: 40px;
}
.carousel-control.left, .carousel-control.right {
	background-image: none;
}
.carousel-inner {
	position: relative;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-control {
  z-index: 2;
}
.content-slide-wrapper {
	padding-top: 20px;
	padding-bottom: 20px;
}
.content-slide-wrapper {
	padding-bottom: 40px;
}
.slide-text-wrapper {
	padding-top: 30px;
}
.slide-text-wrapper h1 {
	padding-bottom: 0;
}
.content-slide-image-wrapper {
	cursor: pointer;
	overflow: hidden;
}
.content-slide-image-wrapper img {
	-moz-transition: all 0.3s;
  	-webkit-transition: all 0.3s;
  	transition: all 0.3s;
}
.content-slide-image-wrapper:hover img, .current-slide-image {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}




/* columns of same height styles */
.inside-full-height {
  height: 100%;
  margin-top: 0;
  margin-bottom: 0;
}
.row-height {
  display: table;
  table-layout: fixed;
  height: 100%;
  width: 100%;
}
.col-height {
  display: table-cell;
  float: none;
  height: 100%;
  vertical-align: top;
}



/* buttons */
.blue-button {
	display: inline-block;
	padding: 6px 20px;
	background: #003768 !important;
	color: #fff !important;
	text-decoration: none !important;
	border: none;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.blue-button:hover, .blue-button a:hover {
	background-color: #b32317 !important;
	color: #fff !important;
  	text-decoration: none !important;
}
.red-button {
	display: inline-block;
	padding: 6px 20px;
	background: #b32317 !important;
	color: #fff !important;
	text-decoration: none !important;
	border: none;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
.red-button:hover, .red-button a:hover {
	background-color: #003768 !important;
  	text-decoration: none !important;
	color: #fff !important;
}





/* footer */
footer {
	background: #b0b6bb;
	padding: 30px 0 30px 0 ;
  	font-family: 'cardoregular', 'Times', 'serif';
	font-size: 15px;
	font-weight: 400;
}
.footer-logo {
	margin-bottom: 20px;
}
footer a img:hover {
	opacity: .6;
}
footer a, footer a:focus {
  color: #000;
  text-decoration: none;
}
footer a:hover {
  color: #b32317;
  text-decoration: none;
}
footer a:active {
  color: #000;
  text-decoration: none;
}
.footer-column-left {
}
.footer-column-right {

}
.copyright {
	background: #b32317;
  	font-family: 'cardoregular', 'Times', 'serif';
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 3;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
	width: 100%;
}
.footer-nav ul li {
	display: inline-block;
    float: left;
    width: 18%;
	padding: 0 0 5px 0;
	margin: 0 0 5px 0;
}
.footer-nav ul li.wide {
    width: 22%;
}
.footer-nav ul li ul li {
	float: none;
	display: block;
	width: 100%;
	line-height: 1.25;
	padding: 2px 0 0 0;
	margin: 2px 0 0 0;
}
.footer-nav ul li ul li.spacer {
	padding: 10px 0 0 0;
	margin: 10px 0 0 0;
}
.footer-search {
	padding-top: 15px;
}
#search {
	padding-left: 6px;
	border: 0;
}
.footer-search-button {
	position: relative;
	top: 5px;
	left: 4px;
}


/* Google maps */
.google-maps {
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}
.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}




/* YouTube Video */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}





/* RESPONSIVE MEDIA QUERIES: */

/* "Large" */
@media (min-width: 992px) {

}


/* "Medium" */
@media (min-width: 992px) and (max-width: 1199px) {

	#main-nav ul li a {
		font-size: 17px;
		margin: 0 7px 10px 7px;
	}
	#main-nav ul ul li a {
		font-size: 15px;
	}

}


/* "Small" */
@media (min-width: 768px) and (max-width: 991px) {

  .mobile-header {
    postion: relative;
    height: 90px;
    width: 100%;
    background: #fff;
    overflow: hidden;
  }
  .mobile-logo {
    height: 80px;
    margin-top: 9px;
    margin-left: 20px;
  }
	.col-height {
  		display: block;
  		width: 100%;
	}
  .feature-box {
	 padding-bottom: 30px;
  }
	.footer-column-right {
		padding-top: 20px;
	}

}



/* "Extra Small" */
@media (max-width: 767px) {

	h1 { /* large title text */
		font-size: 35px;
	}
	h2 { /* medium-large title text */
		font-size: 22px;
	}
	h3 { /* small sub-title text */
		font-size: 19px;
	}
	h4 { /* same as H3 but with a red line underneath */
		font-size: 19px;
	}
	h5 { /* small title text */
		font-size: 17px;
	}
  	.mobile-header {
   	 	postion: relative;
    	height: 90px;
    	width: 100%;
    	background: #fff;
    	overflow: hidden;
  	}
  	.mobile-logo {
   	 	height: 80px;
		margin-top: 9px;
  	}
	.col-height {
  		display: block;
  		width: 100%;
	}
  .footer-nav ul li {
	display: block;
	float: none;
	width: 98%;
  }
  .footer-nav ul li.wide {
    width: 98%;
  }
  .feature-box {
	   margin-bottom: 30px;
  }
	.footer-column-right {
		padding-top: 20px;
	}
	.carousel h1 { /* large title text */
		font-size: 20px;
	}
	.carousel h2 { /* medium-large title text */
		font-size: 17px;
	}
	.section-text-indent {
		padding: 0 20px;
	}


}



/* other stuff */
noscript {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	overflow: hidden;
	background-color: #8f9297;
	color: #fff;
}.
noscript > p {
	width: 66.667%;
	margin: 50px auto 0;
	text-align: center;
	color: #fff;
}
