@import url(HTTPS://fonts.googleapis.com/css?family=Open+Sans:400,700);
@import url(HTTPS://fonts.googleapis.com/css?family=Gentium+Basic);

/*Default body styling*/

body {
    background-color: white;
    font-family: 'Open Sans', 'Helvetica', 'Arial', sans-serif;
}

main#home {
    background-image: url(../images/barrie-city-scape.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 800px;
}

main>img {
    margin-top: 40px;
}


/*header*/

.header-feature p#image img {
    height: 150px;
    width: auto;
    padding-top: 20px;
}

div.header-feature {
    margin-top: 50px;
    background-color: white;
    background-repeat: repeat;
}

div.header-feature>.row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

header h2 {
    color: #2D2D2D;
    /*    padding-top: 30px;*/
    /*padding-bottom: 20px;*/
    font-size: 2.4vw;
    text-align: center;
}

header h2 span {
    display: block;
}

header em {
    font-style: normal;
    font-weight: bold;
}


/*Navigation*/

.navbar-default {
    border: none;
}

.navbar-default .navbar-brand {
    color: white;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand:visited {
    color: white;
}

nav#primary-nav {
    margin: 0 auto;
    background: #fff;
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#737275', endColorstr='#737275', GradientType=0);
    /* IE6-9 */
    -webkit-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 3px 0px rgba(50, 50, 50, 0.75);
}

.social-media #facebook-link {
    color: #092665;
    transition: 0.4s;
}

.social-media #facebook-link:hover {
    color: #3B5998;
    transition: 0.4s;
}

.social-media #twitter-link {
    color: #0C90D1;
    transition: 0.4s;
}

.social-media #twitter-link:hover {
    color: #1DA1F2;
    transition: 0.4s;
}

.social-media #linkedin-link {
    color: #004482;
    transition: 0.4s;
}

.social-media #linkedin-link:hover {
    color: #0077B5;
    transition: 0.4s;
}

.social-media {
    text-align: center;
}

.social-media>* {
    margin: 0 10%;
}

#facebook-like-plugin {
    padding: 0;
    display: inline-block;
}

#please-like-fb {
    font-size: 16px;
}


/*Main default style*/

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    padding: 0rem;
}

caption,
th,
td {
    padding: 0rem; 
}

caption,
th {text-align: left;
}

caption {
    background: hsl(0% 0% 0%);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 650px) {
    th {display: none;
    }
    td {
        display: block;
        
    }
    
}

/*Buttons*/

.btn-primary {
    padding: 10px 30px;
    color: white;
    font: 700 1.2em 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    text-transform: uppercase;
}

h4 {
    text-align: left;
    font-weight: 700;
    font-size: 1em;
}


/*Main page thumbnails*/

.thumbnail {
    border-radius: 8px;
    width: 80%;
    margin: 60px auto 0 auto;
    background-color: rgba(255, 255, 255, .2);
    border: 0;
    -webkit-box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.75);
}

.thumbnail>img,
.thumbnail a>img {
    margin-top: 20px;
    margin-bottom: 10px;
}

.thumbnail h3 {
    font-size: 2.2em;
    color: white;
}


/*Jumbotron Styles*/

.jumbotron {
    width: 100%;
    padding-right: 10%;
    padding-left: 10%;
    background-color: #BE1E2D;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
}

.jumbotron h3 {
    font: 700 2.4em 'Open Sans', 'Helvetica', 'Arial', sans-serif;
    margin-top: 0;
}

.jumbotron p {
    font: 1.2em 'Open Sans', 'Helvetica', 'Arial', sans-serif;
}

.jumbotron a.more {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 1em;
}

.jumbotron a.more:hover {
    color: white;
}

.jumbotron .embed-responsive {
    margin: 10px;
}


/*Hazzard County Styling*/


/*Navigation*/

nav#hazzard {
    margin-bottom: 0;
    color: white;
    background-color: #ffffff;
    border-radius: 0;
}

div.hazzard.container {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}

nav#hazzard li a {
    color: white;
    font: 700 1em 'Open Sans', Helvetica, Arial, sans-serif;
}

nav#hazzard .nav>li>a {
    padding-left: 10px;
    padding-right: 10px;
}f

nav#hazzard li {
    background: transparent;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}

nav#hazzard li:hover {
    background: #000000;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background: #000000;
}

nav#hazzard ul.nav>li>.dropdown-menu {
    background: #000000;
    color: white;
    border-radius: 0;
}

nav#hazzard ul.nav>li>.dropdown-menu li a {
    background: #000000;
    color: white;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
	
}

nav#hazzard ul.nav>li>.dropdown-menu li:hover a {
    background: white;
    color: #000000;
}

nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu {
    position: absolute;
    /*	width: 240px;*/
    left: 100%;
    top: -0.2em;
    background: #000000;
    padding-left: 0;
    list-style-type: none;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
	
	min-height: 25px;
	max-height: 250px;
	overflow-y: auto;
		  
  
            
}

nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu li a {
	color: white;
	/* [disabled]font: 700 1em 'Open Sans', 'Arial', 'Helvetica', sans-serif; */
	width: 100%;
	background: transparent;
	white-space: nowrap;
}

@media screen and  ( min-width: 830px) and ( max-width: 960px) {
    .container {
        width: 750px;
    }
    nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu {
        z-index: 9999;
        width: 300px;
    }
    nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu li a {
        white-space: normal;
    }
    .dropdown-menu>li>a {
        white-space: normal;
    }
    nav#hazzard ul.nav>li>.dropdown-menu {
        width: 500px;
    }
    nav#hazzard ul.nav>li>.dropdown-menu li a {}
}

nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu li {
    width: 100%;
    text-align: left;
    padding: 7px 10px;
}

nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu li:hover a {
    text-decoration: none;
    color: #B4CEE2;
}

nav#hazzard ul.nav>li>.dropdown-menu li ul li:hover {
    background: transparent;
}

nav#hazzard ul.nav ul.dropdown-menu li.dropdown ul.sub-menu {
    display: none;
}

nav#hazzard ul.nav ul.dropdown-menu li.dropdown:hover ul.sub-menu {
    display: block;
}

nav#hazzard img {
    margin-bottom: 10px;
}


/*Article Stylings including headers for articles*/

.fluidMedia {
    position: relative;
    padding-bottom: 56.4%;
    /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
}

.fluidMedia iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	overflow: hidden;
}

div#main-slider {
    max-width: 520px;
    float: right;
    margin-left: 20px;
    margin-top: 25px;
}

main.article {
    margin-bottom: 30px;
}

article {
    border-bottom: #BD202E 1px solid;
    padding-bottom: 40px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
}

article p {
    text-align: justify;
    font: 1em/1.5 'Open Sans', 'Arial', 'Helvetica', sans-serif;
}

article h2 {
    font: 700 2em 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    margin-top: 0;
}

article h3 {
    font: 700 1.6em 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 1%;
}

article time {
    display: block;
    margin-bottom: 20px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 700;
}

article figure {
    margin-top: 30px;
}

figure img {
    margin: 0 auto;
}

figure figcaption p {
    padding: 5px;
    margin-bottom: 0;
    text-align: center;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: .8em;
    font-weight: 700;
}

p strong {
    display: block;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
}

strong a {
    font-size: 16px;
}

h3 img[src$=".svg"] {
    width: 35px;
    height: auto;
}

h3 {
    font: 700 2.2em 'Open Sans', 'Arial', 'Helvetica', sans-serif;
    margin-bottom: 0;
}

article:first-of-type {
    border-bottom: none;
}

a {
    color: #BD202E;
}

a:hover {
    color: #800000;
}

.custom-margin-top {
    margin-top: 20px;
}

.team-text {
    font-size: 14px;
    line-height: 22px;
    color: #343434;
}

.team-margin {
    margin: 10px 0px;
}

/*.col-md-12, .col-md-3{
	padding:0;
	margin:0;
}
.col-md-9{
	padding-right:0;
}*/
.divider{
	border-bottom:2px solid #BD202E;
}
/*Form styles*/

.form {
    padding: 20px 0px 20px 0px;
    line-height: 22px;
    font-size: 14px;
}

#send-mail-button {
    margin: 10px 0 0 0;
}

.contact {
    margin: 20px 0 0 0;
    /*font-size: 20px;*/
    line-height: 34px;
    list-style-type: none;
    /*margin: 20px 0 0px 0;*/
    padding: 0;
    color: #2f353e;
}


/*Carousel Styling*/

div.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0%;
    padding: 0;
    width: 100%;
    background: rgba(6, 6, 6, .6);
}

div.carousel-caption p {
    margin: 10px;
    font-weight: bold;
}

div.carousel {
    margin-bottom: 20px;
    margin-top: 20px;
}

.carousel-indicators{
	bottom: 0;
}

#text-carousel .carousel-content {
	text-align: center;
    color:black;
    align-items:center;
	font-size: 120%;
}

#text-carousel {
	margin: auto;
	width: 40%;
	height: auto;
	padding: 5px;
}

#text-carousel .carousel-content div p{
	top: 50%;
}

@media screen and (max-width: 800px){
	#text-carousel{
		display: none;
	}
}
/*media queries for different screen sizes*/

@media screen and  ( max-width: 830px) {
    header h2 {
        font-size: 4.4vw;
        padding: 5px;
        text-align: center;
        margin-top: 0;
    }
    .header-feature img {
        margin-bottom: 0;
        padding: 0;
    }
    main#home {
        height: 1000px;
    }
    .navbar-default .navbar-collapse {
        z-index: 1000;
    }
    .navbar-default .navbar-collapse ul {
        z-index: 1000;
    }
    nav#primary-nav ul {
        float: none;
    }
    .jumbotron h3 {
        font-size: 2em;
        margin-top: 0;
    }
    .jumbotron p {
        font-size: 1em;
    }
    .jumbotron a.more {
        font-size: .8em;
    }
    nav#hazzard ul.nav ul.dropdown-menu li.dropdown ul.sub-menu {
        position: relative;
        left: 50px;
        top: 0;
    }
    nav#hazzard ul.nav ul.dropdown-menu li.dropdown ul.sub-menu {
        display: block;
    }
    div#main-slider {
        max-width: 520px;
        margin: 0 auto;
    }
    article h3 {
        display: inline-block;
    }
	.index-content{
		padding-top:20px;
	}
}

@media screen and  ( min-width: 1500px) {
    header h2 {
        font-size: 2em;
    }
    nav#primary-nav {
        padding-left: 10%;
        padding-right: 10%;
    }
}

@media screen and  (min-width: 786px) and ( max-width: 1199px) {
    .jumbotron h3 {
        font-size: 2.4vw;
    }
}

@media screen and  ( min-width: 768px) and ( max-width: 991px) {
    div#main-slider {
        max-width: 400px
    }
	.index-content{
		padding-top:20px;
	}
}

/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ VIDEO ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.video-box {
      position: relative;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      overflow: auto;
      z-index: 0;
        height: 100vh;
    }

@media screen and (max-width: 1400px) {
    .video-box {
        display: none;
    }
}

@media screen and (max-width: 960px) {
    nav#hazzard{ 
    margin-bottom: 0;
   color: white;
   background-color: #ffffff;
   border-radius:
0;
   position: relative;
}
}
@media screen and (max-width: 960px) {
    nav#hazzard{ 
    margin-bottom: 0;
   color: white;
   background-color: #ffffff;
   border-radius:
0;
   position: relative;
}
}

@media screen and (max-width: 1024px) {
   nav#hazzard ul.nav ul.dropdown-menu li ul.sub-menu li a {
   color: white;
   width: 100%;


   background:
transparent;
   white-space:
break-spaces;
}

}


@media screen and (max-width: 960px) {
  .container-fluid {
   
  
}

}

@media screen and (min-width: 1024px ) {
 .container-fluid {
       display: flex;
       justify-content: center;
       align-items: center;
       margin:
0;
      
   
}

}

.videoPlayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	z-index: 0;
}
@media screen and (orientation: portrait) {
	.videoPlayer {
	  display: none;
	}
}

section.inIndexPage #seeVideosButton {
    margin-bottom: 20px; }
@media screen and (min-width: 768px) {
    section.inIndexPage #seeVideosButton {
        display: none; } }
@media screen and (max-width: 1024px) {
    section.inIndexPage #dropdownVideos {
        display: none; } }
section.inIndexPage h2 {
    text-align: center; }
section.inIndexPage article {
    display: block;
    width: 100%;
    text-align: center; }
section.inIndexPage article iframe {
    width: 100%;
	margin: auto;
    z-index: 888; }
section.inIndexPage article img {
    margin-bottom: 10px; }
section.inIndexPage article#articleWithLogo img {
    height: 200px; }

#dropdownVideos {
    background: #f0f0f0;
    padding-top: 10px;
    border-radius: 10px; }
#dropdownVideos img {
    display: block;
    max-width: 100%; }

.fixedToRight {
    transition: 1s;
    position: fixed;
    top: 50px;
    right: 10px;
    z-index: 99999;
    max-width: 300px; }

.fixedToLeft {
    transition: 1s;
    position: fixed;
    top: 50px;
    z-index: 99999;
    left: 10px;
    width: 300px; }

#tallSlider{
    width: 520px;
    height: 674px;
    margin: auto;
}
@media screen and (max-width: 600px){
    #tallSlider{
        max-width: 240px;
        height: 310px;
    }
}

#situation-table-link{
    background: white;
   
	border: 1px black solid;
}

A[href='HTTPS://barriechamber.com'] IMG {
	max-width:100%;
}
