/*
Theme Name: North State 2016
Author: Interact Communications
Author URI: http://interactcom.com/
Description: A devdmbootstrap3 v1.80 child theme.
Text Domain: devdmbootstrap3
Template: devdmbootstrap3
*/

@import "css/bootstrap.css";

/* YOU SHOULD BE MAKING A CHILD THEME. Don't let me be a bad guy and erase all your hard work with a theme update. I just want to bring you new amazing features. I don't want to destroy your world. I've include a child theme to use. Need help? http://devdm.com/DevDmBootstrap3/child-themes/ */

/****************** Special Blank CSS classes for child themes to use without disturbing core bootstrap rules ****************/

/* LAYOUT */
/*------------------------------------------------*/

body {
  padding-bottom:0;
  color: #0057a2;
}

img {
  max-width:100%;
  height:auto;
}

.dmbs-content {
  min-height:500px;
  padding: 0px 15px;
}
.home .dmbs-content {
  min-height:600px;
}

.dmbs-container {
  padding: 0;
}
.dmbs-header {
	display:none;
}

.container.inner{
}

.margin-box {
  margin:15px;
}

/* ACCESSIBILITY */
/*------------------------------------------------*/

.sr-hidden {
    position: absolute;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* FONT STYLES */
/*------------------------------------------------*/
h1, h2, h3, h4, h5, h6, a {
  line-height: 1;
  margin: 0 0 10px 0;
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight:700;
  color: #0057a2;
}

h1 {
  font-size: 26px;
}

h2, h2 .Head {
  font-size: 22px;
}

h3, h3 .Head {
  font-size: 18px;
}

h4, h4 .Head {
  font-size: 16px;
}

h5, h5 .Head {
  font-size: 14px;
}

h6, h6 .Head {
  font-size: 13px;
}



/*------------------------------------------------*/
/* ANCHOR STYLE */
/*------------------------------------------------*/
a, a:link, a:visited, a:active {
  color: #8dc63f;
  text-decoration: none;
  outline: 0;
  /*font-size: 16px;*/
}

a:hover {
  color: #6d9a2e;
  text-decoration: none;
  outline: 0;
}

.btn.btn-primary {
  background:#004792;
  color:#fff;
}
/*------------------------------------------------*/
/* FOOTER STYLE */
/*------------------------------------------------*/
.navbar-inverse {
  background:#0057a2;
	background: linear-gradient(#004783,#0057a2);
	margin-bottom:0px;
}
 
.navbar-inverse .navbar-nav > li > a {
	color: #ffffff;
}


	
.copyright {
	color: #fff;
	padding-top: 15px;
	padding-left:15px;
}
   
/*------------------------------------------------*/   
/* HEADER STYLES */
/*------------------------------------------------*/

.navbar-collapse.navbar-1-collapse{
    float:none;
    padding-bottom:10px;
    background: #0057a1;
    position: absolute;
    width: 100%;
}


.nav > li > a:hover, .nav > li > a:focus {
  background-color: transparent;
}

.navbar-nav a {
  color: #fff;
}

.navbar {
  border-radius:0px;
}
	
.navbar.main{
	background:#fff;
	width: 100%;
  background-image: url(/wp-content/uploads/2016/12/north-state-header.png);
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 200px;
  border:0;
}
.navbar-nav > li > a:link{
  font-weight:normal;
}
.navbar-nav > li > a:hover, .navbar-nav > li > a:focus, .navbar-nav > li.active > a:link, .navbar-nav > li.active > a:hover, .navbar-nav > li.active > a:focus {
  background:none;
  font-weight:bold;
  text-decoration:underline;
}
   
.logo-link {
  position: absolute;
  float: left;
}
  
.logo-link a {
  width: 200px;
  height: 200px;
}
.search-bar{
  width:100%;
  float:none;
}
/*------------------------------------------------*/
/* PAGE TITLE STYLE */
/*------------------------------------------------*/

.page-header {
  margin:10px 0px;
  border:none;
}

/*------------------------------------------------*/
/* BREADCRUMB STYLE */
/*------------------------------------------------*/

ul.breadcrumb {
  border-top: 3px solid #8dc63f;
  border-radius:0px;
  clear:left;
  color:#686868;
}
ul.breadcrumb, ul.breadcrumb a {
  background:none;
  color:#686868;
  padding-left:0px;
}

/*------------------------------------------------*/
/* HOMEPAGE SLIDER STYLE */
/*------------------------------------------------*/
.carousel-caption {
  position: relative;
  background: #8dc63f;
  width: 100%;
  height: 200px;
  left: 0;
  right: 0;
  padding: 20px;
  bottom: auto;
  top: auto;
}
.carousel .item img {
  display:none;
}

.carousel-caption h2{
  font-size: 36px;
}

.carousel-inner{
	max-height: 500px;
}


.carousel-control {
  width:25%;
}

.carousel-control:hover, .carousel-control:focus {
  color: #0057a2;
}

.carousel-control.left, .carousel-control.right {
  background:none!important
}


.carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left {
  left: 10%;
}

.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right {
  right: 10%;
}

.carousel-overlay {
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 27%, rgba(255,255,255,0) 77%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 27%,rgba(255,255,255,0) 77%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 27%,rgba(255,255,255,0) 77%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6 */
}
	
/*------------------------------------------------*/
/* HOMEPAGE BAR */
/*------------------------------------------------*/	
.dmbs-middle {
  position:relative;
}
.middle-bar {
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding-top: 15px;
  border-bottom: 8px solid #8dc63f;
}
   
.middle-bar a{  
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 18px;
  color: #0057a2;
}

.middle-bar.inner {
  background:rgba(232, 232, 232, 0.75);
  text-align: center;
  position: absolute;
  bottom: 60px;
  width: 100%;
  padding-top: 15px;
  border-bottom: 8px solid #8dc63f;
 }
 
 

a img.alignnone {
  margin: 5px 10px 10px 0;
}
	
/*------------------------------------------------*/
/* Tabs */
/*------------------------------------------------*/
.nav-tabs {
	border-bottom: 0;
  margin-bottom: 20px;
}	

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  color: #ffffff;
  background-color: #8dc63f;
  border: 0;
  
}

.nav-tabs li {
  float:none;
}

.tabs .tabbed-nav>li>a, .tabs .tabbed-nav>li>a:focus, .tabs .tabbed-nav>li>a:hover, .nav-tabs>li>a, .nav-tabs>li>a:focus, .nav-tabs>li>a:hover {
  border-radius: 0px;
  background: #0057a2;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin: 0px;
  position: relative;
  display: block;
  padding: 10px 15px;
  width:100%;
}
/*------------------------------------------------*/
/* Contact Us */
/*------------------------------------------------*/
img.contact-img {
    border-radius: 50%;
    margin-bottom:20px;
}
.contact.col-sm-4 {
	min-height:470px;
}
.contact h2.contact-name {
  font-size: 20px;
  margin-bottom: 5px;
}
.contact h4.contact-title {
  color:#8dc63f;
  font-size:16px;
}
/*------------------------------------------------*/
/* Calendar */
/*------------------------------------------------*/

.responsiveCal {
 
position: relative; padding-bottom: 75%; height: 0; overflow: hidden;
 
}
 
.responsiveCal iframe {
 
position: absolute; top:0; left: 0; width: 100%; height: 100%;
 
}
/*------------------------------------------------*/
/* Campaigns */
/*------------------------------------------------*/
.campaign-list{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.campaign-list .campaign {
    
    display: inline-block;
    float: none;
}
.campaign-list .campaign a {
  display:block;
  color:#0057a2;
}

.campaign-list {
    text-align: center;
}
.campaigns .attachment-post-thumbnail {
  display:inline;
  float:none;
  margin:0px;
  
}
.campaigns.has-post-thumbnail .page-header {
  display:inline !important;
}
.campaign-list .campaign img {
  max-height:170px;
}
/*------------------------------------------------*/
/* Social Media */
/*------------------------------------------------*/
section.social-media {
  width:100%;
  position: relative;
  padding: 2em 1.5em 1em;
  background-color: #f5f5f5;
  text-align:center;
}
section.social-media h2{
  text-align:center;
}
section.social-media ul{
  list-style:none;
  margin:0;
  padding:0;
}
section.social-media li {
  padding:10px;
  display:inline-block;
  margin:0;
}
section.social-media li a{
  height:70px;
  width:70px;
  display:inline-block;
}
section.social-media li.social-media-facebook a{
  background:url('/wp-content/themes/northstate_2016/images/ns-facebook.png') no-repeat;
  background-size: contain;
}
section.social-media li.social-media-instagram a{
  background:url('/wp-content/themes/northstate_2016/images/ns-instagram.png') no-repeat;
  background-size: contain;
}
section.social-media li.social-media-twitter a{
  background:url('/wp-content/themes/northstate_2016/images/ns-twitter.png') no-repeat;
  background-size: contain;
}


/*------------------------------------------------*/
/* Mobile */
/*------------------------------------------------*/
.navbar-toggle{
  border: 1px solid #fff!important;
}

.navbar-toggle .icon-bar{
	background:#fff;
}


/*------------------------------------------------*/
/* Media Queries */
/*------------------------------------------------*/
@media screen and (min-width: 768px) {
  /* Desktop Header Styles */
  .home .navbar.main{
    position: absolute;
    z-index: 100;
  }
  .navbar.main{
    min-height: 14vw;
    background-color:transparent;
  }
  .navbar-collapse.navbar-1-collapse {
    margin-top:1.2vw;
    float:right;
    background:none;
    width:auto;
    position:relative;
  }
  .navbar-nav > li > a {
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
  }
  .logo-link a {
    width: 18vw;
    height: 14vw;
    display: block;
  }
  .search-bar{
    float:right;
    width:auto;
  }
  /* Desktop Content Styles */
 .container-small {
    width:67%;
    margin:0 auto;
  }
  .dmbs-content.container-small.inner, .dmbs-title.container-small.inner{
    margin-top:-8.5vw;
    z-index:101;
    padding: 0px;
  }
  .dmbs-content.container-small.inner, .dmbs-content > .container-fluid {
    margin-bottom:8.5vw;
  }
  .dmbs-content {
    padding:0px;
  }
  .page-header {
    margin: 2vw 0 0;
  }
  
  /* Desktop Carousel Styles */
  .middle-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
  .middle-bar .container {
    display:table;
  }
  .middle-bar .middle-bar-link {
    display:table-cell;
  }
  .carousel-caption{  
    position: absolute;
    left: AUTO;
    top: 30%;
    width: 33%;
    text-align: left;
    background: #C33400;
    background: rgba(255, 255, 255, 0.8);
    right: 0;
    bottom: auto;
    padding: 20px;
    color: #0057a2;
    text-shadow: none;
    font-size: 1.5vw;
    line-height: 1.4;
    height:auto;
  }
  .carousel .item img {
    display:block;
    min-width:100%;
    height:auto;
  }
  /* Desktop Tabs Styles */
  
  .nav-tabs > li:first-child > a, .nav-tabs > li:first-child > a:hover, .nav-tabs > li:first-child > a:focus {
    border-radius: 8px 0px 0px 0px;
  }
  .nav-tabs > li:last-child > a, .nav-tabs > li:last-child > a:hover, .nav-tabs > li:last-child > a:focus {
    border-radius: 0px 8px 0px 0px;
  }
  .tabs .tabbed-nav>li>a, .tabs .tabbed-nav>li>a:focus, .tabs .tabbed-nav>li>a:hover, .nav-tabs>li>a, .nav-tabs>li>a:focus, .nav-tabs>li>a:hover {
    width:auto;
    font-size:1.2vw;
    padding:.8vw 1.8vw;
  }
  .nav-tabs > li {
    float:left;
  }
  .small-text .nav-tabs > li a, .small-text .nav-tabs > li a:hover, .small-text .nav-tabs > li a:focus {
    font-size:12px;
    margin:5px;
    border-radius:0px;
    -webkit-border-radius:0pz;
    -moz-border-radius: 0px;
    padding:8px;
  }
  /* Desktop Contact Us Styles */
  .contact h2.contact-name {
    font-size: 1.6vw;
  }
  .contact h4.contact-title, .contact p {
    font-size:1.2vw;
  }
  /* Desktop Footer Styles */
 .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: transparent;     
    float: right;
  }
  
  
  
  
}
@media screen and (min-width: 1200px){
  .dmbs-content.container-small.inner, .dmbs-title.container-small.inner {
    margin-top: -100px;
  }
}

.contactlist-row {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: left;
}
.contactlist-row .contact {
	width: 100%;
}

@media screen and (min-width: 768px) {
	.contactlist-row {
		flex-direction: row;
	}
	.contactlist-row .contact {
		width: 32%;
	}
}
