/*
Theme Name: WRAP Theme 
Theme URI: https://github.com/bencarlson/wp-bootstrap
Description: A wordpress 3.9+ theme built on Bootstrap 3
Author: Design Action Collective
Author URI: http://designaction.org
Version: 1.3
*/
@import url("stylesheets/css/sass_style.css");

.navbar-brand {
	padding: 0;
}

/* Icon Fonts
*********************************/
/* Font-face Icons */
@font-face {
	font-family: 'flexslider-icon';
	src:url('fonts/flexslider-icon.eot');
	src:url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),
		url('fonts/flexslider-icon.woff') format('woff'),
		url('fonts/flexslider-icon.ttf') format('truetype'),
		url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}



/* FlexSlider Necessary Styles
*********************************/
.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 {width: 100%; 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 { -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); box-shadow: 0 1px 4px rgba(0,0,0,.2); zoom: 1; position: relative;}
.flexslider ul {
	margin-bottom: 0;
}
.flex-viewport { max-height: 2000px; -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; padding: 0;}
.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: 40px; height: 40px; margin: -20px 0 0; position: absolute; top: 50%; z-index: 10; overflow: hidden; opacity: 0; cursor: pointer; color: rgba(0,0,0,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: 40px; display: inline-block; content: '\f001'; }
.flex-direction-nav a.flex-next:before  { content: '\f002'; }

/* 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 {width: 100%; position: absolute; bottom: -40px; text-align: center;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging {
	position: absolute;
    left: 128px;
    top: 316px;
    }
.flex-control-paging li a {
	background: #2c2c2c none repeat scroll 0 0;
    border-radius: 0;
    box-shadow: none;
    height: 11px;
    margin-right: 3px;
    padding-bottom: 0;
    text-indent: -10000px;
    direction: ltr;
    width: 26px;
    display: block;}
.flex-control-paging li a:hover { background: #333; background: rgba(0,0,0,0.7); }
.flex-control-paging li a.flex-active { background: #EC7203;  cursor: default; }

.flex-control-thumbs {margin: 5px 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;}

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev { opacity: 1; left: 10px;}
  .flex-direction-nav .flex-next { opacity: 1; right: 10px;}
}

/* Slider */
@media ( min-width:960px ){
.slides li{
	position: relative;
}
.slides li h3{
		width: 30%;
		position: absolute;
		top:0;
		right: 10%;
	}
}

/* Ria Styles */

.navbar-inverse {
	background-color:transparent;
}
.brand {
	width:146px;
	margin:0 auto;
	float:none;
}

#topright {
	text-align:right;
	color:white;
}
#topright aside {
	display:inline-block;
}
#topright br {
	display:none;
}
#topright .gform_wrapper {
	display:inline-block;
}
#topright .gform_fields > *{
	display:inline-block;
}
#topright input[type=text] {
	padding:1px 4px;
	border:0 none;
	color:black;
}
#topright input[type=submit] {
	background:#1f1f1f;
	border:1px solid #fff;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	color:#fff;
	font-weight:normal;
	margin-left:4px;
	margin-right:25px;
}
#topright .gfield_label {
	font-family:"BebasRegular",Impact,Arial Narrow,Arial,sans-serif;
	font-weight:normal;
	text-transform:uppercase;
	word-spacing:0.2em;
	color:#fff;
	margin-right:10px;
}
#topright .gfield_required {
	display:none;
}
#topright a {
	font-family:"BebasRegular",Impact,Arial Narrow,Arial,sans-serif;
	font-weight:normal;
	text-transform:uppercase;
	word-spacing:0.2em;
	color:#fff;
}
ul.slimmenu li {
	background-color:transparent;
}
#menu-mainmenu .current-menu-item {
	background-color:#ff8629;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}
#menu-mainmenu .current-menu-item a:hover {
	color:white;
}
/* Slider */
.flex-control-paging {
	top:auto;
	bottom:-8px;
}
/* Footer */
/* #footer {
	margin:0 -15px;
} */
#footer .col-sm-12 {
	padding-top:10px;
	padding-bottom:10px;
}
#footer .col-sm-12 aside {
	float:left;
	clear:none;
}
#footer .col-sm-12 aside:first-child {
	width:90%;
}
#footer .ngg-widget {
	padding-top:0;
}
#footer .ngg-widget a {
	width:12.5%;
	display:block;
	float:left;
}
#footer .ngg-widget img {
	border:0 none;
}
#footer .col-sm-12 aside#text-9 {
	width:10%;
	position:absolute;
	top:0;
	right:15px;
	bottom:0;
	height:100%;
}
.footer-more {
	display:block;
	width:100%;
	height:100%;
	background-color:#ff7800;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	border-top:10px solid black;
	border-bottom:10px solid black;
	box-sizing:border-box;
	text-align:center;
}
.footer-more span {
	position:relative;
	display:block;
	top:50%;
	margin-top:-15px;
	font-family: "BebasRegular",Impact,Arial Narrow,Arial,sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color:#fff;
    font-size:20px;
}
.footer-more:hover {
	text-decoration:none!important;
}
.footer-more:hover span {
	color:black;
}
/*
#footer #footer_social {
	padding-top:15px;
	padding-bottom:20px;
	margin-bottom:20px;
	height:auto;
}
*/
#footer_social .textwidget:after {
	content:'';
	display:table;
	clear:both;
}
#footer_social div:first-child .textwidget {
/* 	background:url('images/footer_facebook.gif') no-repeat 0 0 transparent; */
}
#footer_social>div:nth-child(2) {
/* 	background:url('images/footer_twitter.gif') no-repeat 0 0 transparent; */
}
#footer_social>div:nth-child(3) {
/* 	background:url('images/footer_youtube.gif') no-repeat 0 0 transparent; */
}
#footer #footer_social #youtube {
/* 	background:url('images/bg_footer_youtube.gif') no-repeat top right transparent; */
/* 	padding-left:50px; */
}
#footer_right .search-form {
	background-color:#1f1f1f;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	padding:3px;
}
#menu-footer-menu li {
	margin-right:0;
}
#menu-footer-menu li:before {
	content:'/ ';
	padding:0 4px;
}
#menu-footer-menu li:first-child:before {
	content:'';
	padding:0;
}
#menu-footer-menu a {
	color:#666;
}
#menu-footer-menu a:hover {
	color:#ff7800;
}

#home_housing, #home_rights {
	width:151px;
}

@media (max-width:767px) {
	#site-navigation {
		float:none;
		clear:both;
	}
	ul.slimmenu li {
		display:block;
		width:100%;
		margin:0 10px;
	}
	#menu-mainmenu .current-menu-item {
		display:inline-block;
		width:auto;
	}
	#topright {
		text-align:center;
	}
}
@media (max-width:980px) {
	ul.slimmenu li a {
		font-size:17px;
	}
}
@media (min-width:768px) {
	.brand {
		float: left;
		margin-bottom: 20px;
		margin-left: -20px;
	}
	.row.links-top {
		position:absolute;
		top:5px;
		right:0;
	}
}