/*
Theme Name: youthlaw wp-bootstrap
Theme URI: https://github.com/bencarlson/wp-bootstrap
Description: A wordpress 3.8+ theme built on Bootstrap 3 with custom modifications for YouthLaw
Author: Design Action Collective using the wp-bootstrap theme by Benjamin Carlson
Author URI: http://designaction.org
Author Email: web@designaction.org
Version: 1.0
*/

@import url('sass/stylesheets/custom.css');

.navbar-brand {
	padding: 0;
}

h1, h2 {
    font-family: 'liberation_serifregular';
}

.container-normal {
	margin-top: 40px;
	position: relative;
}


/* FlexSlider Necessary Styles
*********************************/
.col-xs-7{
	width: 55.333333%;	
}
.slider-wrapper{
	position: relative; overflow: hidden;}
.loader{	
	position: absolute;
	margin: 0 auto;
	left:50%;
}
.loader .fa.fa-spinner{ position: absolute; top:50%; }
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}

/* FlexSlider Default Theme
*********************************/
.flexslider { margin: 0 0 0px; position: relative; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; border-radius: 4px; zoom: 1; }
.flex-viewport { max-height: 400px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.carousel li { margin-right: 5px; }

/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav li{list-style: none; margin:0; padding: 0;}
.flex-direction-nav a  { text-decoration:none; display: block; width: 90px; height: 90px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(255,255,255,0.8); text-shadow: 1px 1px 0 rgba(255,255,255,0.3); -webkit-transition: all .3s ease; -moz-transition: all .3s ease; transition: all .3s ease; }
.flex-direction-nav .flex-prev { left: -50px; }
.flex-direction-nav .flex-next { right: -50px; text-align: right; }
.flexslider:hover .flex-prev { opacity: 0.7; left: 10px; }
.flexslider:hover .flex-next { opacity: 0.7; right: 10px; }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled { opacity: 0!important; filter:alpha(opacity=0); cursor: default; }
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 200px; line-height:50px; display: inline-block; content: '❮'; }
.flex-direction-nav a.flex-next:before  { content: '❯'; }

/* Pause/Play */
.flex-pauseplay a { display: block; width: 20px; height: 20px; position: absolute; bottom: 5px; left: 10px; opacity: 0.8; z-index: 10; overflow: hidden; cursor: pointer; color: #000; }
.flex-pauseplay a:before  { font-family: "flexslider-icon"; font-size: 20px; display: inline-block; content: '\f004'; }
.flex-pauseplay a:hover  { opacity: 1; }
.flex-pauseplay a.flex-play:before { content: '\f003'; }

/* Control Nav */
.flex-control-nav {position: absolute; bottom: 0px; text-align: center; right: 0;margin-bottom: 0; display: none !important;}
.flex-control-nav li {margin: 0 4px; display: inline; zoom: 1; *display: inline; float:left;}
.flex-control-paging li a {width: auto; display: block; background: #FF7648;  cursor: pointer; padding: 7px; font-family: 'proxima_nova_rgbold'; height:40px; font-size: 13px; font-weight: bold; font-family:  'proxima_nova_rgbold';color:#27585C;}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); color:#FFF;}
.flex-control-paging li a.flex-active { background: #FF7648; background: rgba(255,118,72,0.7); cursor: default; }

.flex-control-thumbs {margin: 1px 0 0; position: static; overflow: hidden;}
.flex-control-thumbs li {width: 25%; float: left; margin: 0;}
.flex-control-thumbs img {width: 100%; display: block; opacity: .7; cursor: pointer;}
.flex-control-thumbs img:hover {opacity: 1;}
.flex-control-thumbs .flex-active {opacity: 1; cursor: default;}

/* Fix for nav in ipad and iphone*/
.flex-direction-nav a:before  { font-family: "flexslider-icon"; font-size: 200px; line-height:60px; display: inline-block; content: '\2039'; }
.flex-direction-nav a.flex-next:before  {  content : '\203A'; }	

/*
input.radiofield[checked=checked]:before, input.radiofield[checked="checked"]:before{
    content: '\2022';
    color: #1e8cbe;
    font-size: 36px;
    border-radius: 50px;
    text-indent: -9999px;
    width: 6px;
    height: 6px;
    line-height: 16px;
    position: relative;
    top: 4px;
    left: -2px;
}
*/
@media (max-width : 776px){
	.container{
		width: auto;
	}
	#topright input[type=text]{
		width: 90%;
	}
	#black-studio-tinymce-2{
		display: none;
	}
	#black-studio-tinymce-8{
		background-color: transparent;
	}
	#black-studio-tinymce-8 p{ text-align: right !important; }
	#black-studio-tinymce-8 p a{ background-color: #ff7a4d; padding: 10px; line-height: 35px;}
	.navbar{
		margin-bottom: 0;	
	}
	.navbar-toggle{
		z-index: 9999;
	}
	.navbar-collapse{
		max-height: none;
	}
	.navbar-header.row{
		padding-top: 30px;
	}
	#header-right a{
		font-size: 13px;
	}
	#black-studio-tinymce-7{
		display: none;
	}
	.home .slides .info{
		padding: 0 40px;
	}
	.flexslider .slides img{
		margin: 0 auto;
	}
	.flex-direction-nav a{
		height: 40px;
		width: 20px;
	}
	.home .flex-control-nav{
		display: none;
	}
	#menu-main-menu.nav>li>a:hover, #menu-main-menu.nav>li>a:focus, #menu-main-menu li.current-menu-ancestor > a, #menu-main-menu > li.active > a{
		background: none !important;
	}
	.icons .widget_black_studio_tinymce{
		margin-bottom: 15px;
	}
	
	/* Interior Pages */
	#topbg{
		background-color: transparent;
		border-bottom: none;
		height: auto;
		border-top: solid 7px #ff7a4d;
	}
	.container-normal{
		margin-top: 0px;
	}
	.maincontent.lower .page-title{
		position: static;
		background-color: #ff936f;
		padding: 30px 15px;
		margin-top: -2px;
		margin-left: -15px;
		margin-right: -15px;
		border-bottom: 15px solid #ff7a4d;
		font-size: 30px;
	}
	.row .simple > div img{
		display: none;
	}
	.flex-direction-nav a:before{
		font-size: 30px;
	}
	.maincontent.lower #featurednews .news-link{
		font-size: 12px;
	}
	/* Footer */
	#black-studio-tinymce-6{
		margin-top: 15px;
	}
	#black-studio-tinymce-6 a{
		font-size: 18px;
	}
	.footer1 input[type=text]{
		width: 45%;
	}
	.footer1 input[type=email]{
		width: 90%;
		margin: 15px 0;
	}

}
@media (min-width : 768px) and (max-width: 960px){ 
	#menu-main-menu.nav > li > a{
		padding: 15px 6px;
	}
	#header-right a{
		font-size: 11px;
	}
	.navbar-header.row{
		padding-left: 40px;
	}
}
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}
@media (min-width : 1200px) {
	.flex-control-nav li {margin: 0 4px;	}
	.flex-control-paging li a {font-size: 15px; }
	.info p{
		font-size: 100%;
		line-height: 20px;
	}
	.footer1 aside{
		display: inline-block;
	}
}

.footer2 {
	text-align:left;
	margin:40px -15px 30px;
}
.footer2 ul {
	padding-left:0;
	margin-top:30px;
}
.footer-flag {
	text-align:right;
}
input[type='checkbox']{
	-webkit-appearance: checkbox !important;
}