/*!
 * Start Bootstrap - Clean Blog v3.3.7+1 (http://startbootstrap.com/template-overviews/clean-blog)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
@font-face {
    font-family: recharge;
    src: url(../fonts/recharge-bd.ttf);
}

body {
  font-family: 'Lora', 'Times New Roman', serif;
  font-size: 20px;
  color: #333333;

}
p {
  line-height: 1.5;
  margin: 30px 0;
}
p a {
  text-decoration: underline;
}
h1 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
	/*text-shadow: 0 0 30px #000000 !important;*/
}

h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 800;
}
a {
  color: #333333;
}
a:hover,
a:focus {
  color: #0085A1;
}
a img:hover,
a img:focus {
  cursor: zoom-in;
}
blockquote {
  color: #777777;
  font-style: italic;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border-width: 4px;
  border-color: white;
}


.title{
	max-height: 450px;
}

.intro-header {
  background-color: #777777;
  background: no-repeat center center;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  /*Assuming the Height of the navbar*/
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
  /*Max addition*/
  text-shadow: 0px 0px 10px rgba(40, 40, 40, 1);
  padding-bottom: 20px;
}

.intro-header-full{
	min-height: 100vh;
}

.intro-header .site-heading,
.intro-header .post-heading,
.intro-header .page-heading {
  padding: 50px 0 50px;
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .site-heading,
  .intro-header .post-heading,
  .intro-header .page-heading {

    padding: 0px 25px 0 25px;
	margin-top: 0px;
  }
}
.intro-header .site-heading,
.intro-header .page-heading {
  text-align: center;
}
.intro-header .site-heading h1,
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 50px;
}
.intro-header .site-heading .subheading,
.intro-header .page-heading .subheading {
  font-size: 24px;
  line-height: 1.1;
  display: block;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}

/*Max addition*/
.intro-header .site-heading h1, .intro-header .site-heading img,
.intro-header .page-heading h1, .intro-header .page-heading img {
	font-size:20px;
	padding-top: 35px;
}

@media only screen and (min-width: 768px) {
  .intro-header .site-heading h1,
  .intro-header .page-heading h1 {
    font-size: 35px;
  }
}
.intro-header .post-heading h1 {
  font-size: 35px;
}
.intro-header .post-heading .subheading,
.intro-header .post-heading .meta {
  line-height: 1.1;
  display: block;
}
.intro-header .post-heading .subheading {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  margin: 10px 0 30px;
  font-weight: 600;
}
.intro-header .post-heading .meta {
  font-family: 'Lora', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
}
.intro-header .post-heading .meta a {
  color: white;
}
@media only screen and (min-width: 768px) {
  .intro-header .post-heading .subheading {
    font-size: 30px;
  }
}




.post-preview > a {
  color: #333333;
}
.post-preview > a:hover,
.post-preview > a:focus {
  text-decoration: none;
  color: #cc0011;
}
.post-preview > a > .post-title {
  font-size: 30px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.post-preview > a > .post-subtitle {
  margin: 0;
  font-weight: 300;
  margin-bottom: 10px;
}
.post-preview > .post-meta {
  color: #777777;
  font-size: 18px;
  font-style: italic;
  margin-top: 0;
}
.post-preview > .post-meta > a {
  text-decoration: none;
  color: #333333;
}
.post-preview > .post-meta > a:hover,
.post-preview > .post-meta > a:focus {
  color: #cc0011;
  text-decoration: underline;
}
@media only screen and (min-width: 768px) {
  .post-preview > a > .post-title {
    font-size: 36px;
  }
}
.section-heading {
  font-size: 36px;
  margin-top: 60px;
  font-weight: 700;
}
.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
footer {
  padding: 50px 0 65px;
}
footer .list-inline {
  margin: 0;
  padding: 0;
}
footer .copyright {
  font-size: 14px;
  text-align: center;
  margin-bottom: 0;
}
.floating-label-form-group {
  font-size: 14px;
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
  z-index: 1;
  position: relative;
  padding-right: 0;
  padding-left: 0;
  border: none;
  border-radius: 0;
  font-size: 1.5em;
  background: none;
  box-shadow: none !important;
  resize: none;
}
.floating-label-form-group label {
  display: block;
  z-index: 0;
  position: relative;
  top: 2em;
  margin: 0;
  font-size: 0.85em;
  line-height: 1.764705882em;
  vertical-align: middle;
  vertical-align: baseline;
  opacity: 0;
  -webkit-transition: top 0.3s ease,opacity 0.3s ease;
  -moz-transition: top 0.3s ease,opacity 0.3s ease;
  -ms-transition: top 0.3s ease,opacity 0.3s ease;
  transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group::not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
  top: 0;
  opacity: 1;
}
.floating-label-form-group-with-focus label {
  color: #0085A1;
}
form .row:first-child .floating-label-form-group {
  border-top: 1px solid #eeeeee;
}
.btn {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 0;
  padding: 15px 25px;
}
.btn-lg {
  font-size: 16px;
  padding: 25px 35px;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #0085A1;
  border: 1px solid #0085A1;
  color: white;
}
.pager {
  margin: 20px 0 0;
}
.pager li > a,
.pager li > span {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 25px;
  background-color: white;
  border-radius: 0;
}
.pager li > a:hover,
.pager li > a:focus {
  color: white;
  background-color: #0085A1;
  border: 1px solid #0085A1;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  color: #777777;
  background-color: #333333;
  cursor: not-allowed;
}
::-moz-selection {
  color: white;
  text-shadow: none;
  background: #0085A1;
}
::selection {
  color: white;
  text-shadow: none;
  background: #0085A1;
}
img::selection {
  color: white;
  background: transparent;
}
img::-moz-selection {
  color: white;
  background: transparent;
}
body {
  -webkit-tap-highlight-color: #0085A1;
}

.navbar {
  font-family: Eurostile, sans-serif;
  text-align: center;
}
.navbar .navbar-brand {
  font-weight: 800;
  margin-top: -8px;
}
.navbar .navbar-header .navbar-toggle {
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}
.navbar .nav li a {
  text-transform: uppercase;
  /*font-size: 20px;*/
  font-weight: 900;
  letter-spacing: 1px;
}

.navbar .navbar-nav > li > a:hover, .navbar a.navbar-brand:hover {
	color: #cc0011;
	background-color: #111111;
}

@media only screen and (min-width: 768px) {
	.navbar {
		/*background: transparent;*/
		border-bottom: 1px solid transparent;
		vertical-align: top;
		
		border-top: 2px solid transparent;
		border-bottom: 2px solid transparent;
		
		-webkit-transition: border-bottom 0.5s ease 1.5s, border-top 0.5s ease 1.5s;
		   -moz-transition: border-bottom 0.5s ease 1.5s, border-top 0.5s ease 1.5s;
			 -o-transition: border-bottom 0.5s ease 1.5s, border-top 0.5s ease 1.5s;
				transition: border-bottom 0.5s ease 1.5s, border-top 0.5s ease 1.5s;

	  }

 
  .navbar .navbar-brand {
    color: white;
    padding: 20px;
  }
  .navbar .navbar-brand:hover,
  .navbar .navbar-brand:focus {
    color: rgba(255, 255, 255, 0.8);
  }
  .navbar .nav li a {
    color: white;
    padding: 20px 0 20px 0;
  }
  .navbar .nav li a:hover,
  .navbar .nav li a:focus {
    color: rgba(204, 0, 17, 1);
	background-color: rgba(0, 0, 0, 0);
	/*border: 2px solid rgba(204, 0, 17, 1);
	border-radius: 5px;
	padding: -10px 10px -10px 10px;
	*/
  }
  .navbar .nav li ul.dropdown-menu a {
    color: #333333;
  }
  .navbar .nav li ul.dropdown-menu a:hover,
  .navbar .nav li ul.dropdown-menu a:focus {
    color: #cc0011;
  }
}

.navbar-fixed-top{
	border-bottom: 1px solid black;
}

@media (max-width: 767px){
	.intro-header-full .navbar{
		margin-top: 0px;
	}
}

@media (min-width: 768px) {
    .navbar .navbar-nav{
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
    }
}

.navbar-nav > li{
  padding-left:15px;
  padding-right:15px;
}

.navbar-nav > li > a{
	color: white;
}

@media only screen and (min-width: 768px) {
	
	.navbar-nav > li{
		padding-left: 4px;
		padding-right: 4px;
	}
	
	.navbar-nav li a{
		font-size: 13px;
	}
}

@media only screen and (min-width: 840px) {
	
	.navbar-nav > li{
		padding-left: 6px;
		padding-right: 6px;
	}
	
	.navbar-nav li a{
		font-size: 13px;
	}
}

@media only screen and (min-width: 940px){
	.navbar-nav > li{
	  padding-left:11px;
	  padding-right:11px;
	}
	
	.navbar-nav li a{
		font-size: 15px;
	}
}

@media only screen and (min-width: 1200px){
	.navbar-nav > li{
	  padding-left:16px;
	  padding-right:16px;
	}
	
	.navbar-nav li a{
		font-size: 18px;
	}
}



li a.active{
	color: rgba(204, 0, 17, 1) !important;
}


/*Dropdown Section*/
.dropdown-menu{
	text-align: left;
	background: rgba(255, 255, 255, 1);
	left: 0;
	min-width: 100px;
	padding: 0 10px;
	font-weight: 500;
	font-size: 16.5px;
}

/*Only for non-mobile nav*/
#nav .dropdown-menu{
	margin-top: -20px !important;
}

.navbar .nav li .dropdown-menu li a{
	color: rgba(35, 35, 35, 1);
	padding: 5px 5px;
	text-shadow: None;
	font-size: 14px;
}

.navbar .nav li .dropdown-menu li a:hover{
	color: rgba(204, 0, 17, 1) !important;
	text-shadow: None;	
}

.affix .dropdown-menu{
	background: rgba(35, 35, 35, 1);
	text-align: right;
}

.affix .dropdown-menu li a{
	color: rgba(255, 255, 255, 1) !important;
}

/*Submenu Stuff*/
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    /*margin-top:-6px;
    margin-left:-1px;*/
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover .dropdown-menu {
    display:block;
}

/*Max addition
.dropdown:hover > div > ul.dropdown-menu {
    display:block;
}

.dropdown-submenu > .container-fluid{
	left: 100%;
}
*/

.dropdown-header{
	text-align: left;
	text-shadow: None;
	font-size: 14px;
	padding-left: 5px;
	padding-right: 5px;
}

.affix .dropdown-header{
	text-align: right;
}

.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

/*End of Submenu */

/*End of Dropdown Section*/

.affix {
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #232323;
  border-bottom: 1px solid black;
      -webkit-transition: background-color ease .5s;
       -moz-transition: background-color ease .5s;
         -o-transition: background-color ease .5s;
            transition: background-color ease .5s;
}

.affix + #Affix-Spacer{
  margin-top: 82px;
}

@media only screen and (min-width: 768px) { 
	
	.affix .navbar-nav > li{
	padding-left: 6px;
	padding-right: 6px;
	}
	
	.affix .nav li a{
		font-size: 12px;
	}
	
}

@media only screen and (min-width: 1300px) {
	
	.affix .navbar-nav > li{
		padding-left: 12px;
		padding-right: 12px;
	}
	
	.affix .nav li a{
		font-size: 14px;
	}
}

.transparent-box{
	background-color: #ee2d34;
	opacity: 0.6;
	padding-top: -35px;
}

.navbar .nav > li > a {
    -webkit-transition: all ease .15s;
       -moz-transition: all ease .15s;
         -o-transition: all ease .15s;
            transition: all ease .15s;
}

.castle-divider{
	display:block;
	margin-top: -10px;
	content:'';
	left: 0;
	width: 100%;
	height: 10px;
	background-size: 100px 100%;
	top: 0;
	background-image: -webkit-gradient(linear, 100% 0, 0 100%, color-stop(0.5, rgba(0, 0, 0, 0)), color-stop(0.5, #fff));
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #fff 50%);
	-webkit-background-size: 130px 100%;
	background-size: 130px 100%;
	z-index: 10;
}

.castle-divider-top{
	display:block;
	position: relative;
	margin-bottom: -10px;
	content:'';
	left: 0;
	width: 100%;
	height: 10px;
	background-size: 100px 100%;
	top: 0;
	background-image: -webkit-gradient(linear, 100% 0, 0 100%, color-stop(0.5, rgba(0, 0, 0, 0)), color-stop(0.5, #fff));
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #fff 50%);
	-webkit-background-size: 130px 100%;
	background-size: 130px 100%;
}

.castle-divider-drop{
	display:block;
	position: relative;
	margin-bottom: -10px;
	content:'';
	left: 0;
	width: 100%;
	height: 10px;
	background-size: 100px 100%;
	top: 0;
	background-image: -webkit-gradient(linear, 100% 0, 0 100%, color-stop(0.5, rgba(0, 0, 0, 0)), color-stop(0.5, rgba(0, 0, 0, 0)));
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 50%);
	-webkit-background-size: 130px 100%;
	background-size: 130px 100%;
}

.triangle-divider{
	display:block;

	content:'';
	top: -25px;
	background: inherit;
	box-shadow: -50px 50px 0 #3498db, 50px -50px 0 #3498db;
	left: 50%;
	width: 50px;
	height: 50px;
	-webkit-transform: translateX(-50%) rotate(45deg);
	transform: translateX(-50%) rotate(45deg);
}

.multi-triangle-divider{
	display:block;
	position:relative;
	content:'';
	top: -25px;
	background: inherit;
	box-shadow: -50px 50px 0 #FFFFFF, 50px -50px 0 #FFFFFF; /* Change The Hex Values */
	left: 50%;
	width: 50px;
	height: 50px;
	-webkit-transform: translateX(-50%) rotate(45deg);
	transform: translateX(-50%) rotate(45deg);
}

.main-content{
	margin-top: 20px;
}

.full-width{
	/* Set a specific height */
    height: 300px; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.intro-drop{
	position: fixed;
	width:100%;
	height: 700px;
	bottom: 0;
	background-image: url('../img/circuit.jpg');
	background-repeat: repeat;
	
}

.intro-header {
    /*display: inline-block;
    vertical-align: middle;
    float: none;
	*/
	display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
	flex-direction: column;
}

/*Calendar/iframe related stuff*/
@media (min-width: 768px){
	iframe{
		width: 750px;
	}
}

@media (min-width: 992px) {
	iframe {
		width: 970px;
	}
}

@media (min-width: 1200px) {
	iframe {
		width: 1170px;
	}
}

iframe{
	margin-right: auto;
    margin-left: auto;
}

.intro-body{
	display: table-cell;
	vertical-align: middle;
} 

.intro-header-full{
	height: 100%;
	display: table;
	padding: 0;
	width: 100%;
}

.intro-body > .container{
	width: 100%;
}

.intro-body img{
	max-width: 600px;
}

header > .main-nav > nav{
	margin-bottom: 30px;
}

