/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

* {
	box-sizing: border-box; 
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
	/*padding: 5%;*/
	max-width: 1600px; 
	margin: 0 auto; 
	padding: 0;
}

body, td, input[type=text], textarea {
	font-family: Garamond,Baskerville,Baskerville Old Face,Hoefler Text,Times New Roman,serif;
	font-size: 105%; 
	line-height: 1.8em;
	color: #444; 
}

img {
	max-width: 100%; 
}

h2 {
	font-weight: normal;
}

h3 {
	border-top: 1px solid #eee; 
	padding-top: 1em;
	color: #777; 
}

a {
	color: #333;
	/*text-decoration: none;*/
	/*border-bottom: 1px solid #ccc; */
}

a:hover,
.nav a:hover {
	color: #000;
	border-color: #aaa; 
}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}

/*********************************************************************
 * 2. Masthead area
 *
 */

.site-title {
	float: left;
	padding: .2em .5em;
	margin:0;
	font-weight: bold;
	color: #62171d;
	text-shadow: -1px -1px 15px #fff, 1px 1px 15px #fff;
}

.site-title a {
	border-bottom: 0;
	text-decoration: none;
	color: #62171d;
}
 
.site-branding nav {
	/*float: right;
	width: 65%;*/
}

.home .site-branding {
	background: rgba(0,0,0,.3);
	overflow: hidden;
}


.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.nav-collapse {
  width: 100%;
  float: right;
}

.nav-collapse ul {
  list-style: none;
  float: left;
}

.nav-collapse li {
  float: left;
  width: 100%;
}

.nav-collapse a {
  color: #555;
  font-size: .8em;
  text-decoration: none;
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,.4);
  padding: .2em .5em;
  float: left;
}

.nav-collapse ul ul a {
  padding-left: 2em;
}

.nav-collapse li.current a {
	color: #000;
	font-weight: bold;
}
.nav-collapse li.edit a {
	color: red;
}
.home .nav-collapse a{
	color: #ddd;
}

.home .nav-collapse li.current a {
	color: #fff;
}

/* Desktop navigation */
@media screen and (min-width: 900px) {
	
	.nav-collapse {
	  width: auto;
	}
  .nav-collapse li {
    width: auto;
    display: inline-block;
	}
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
	.nav-collapse a {
    margin: 0;
    float: left;
    text-align: center;
    border-bottom: 0;
  }
  .nav-collapse ul ul a {
    display: none;
  }
  .social-links a{
    width: 30px;
    overflow: hidden;
  }

}


.nav-toggle {
  position: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  text-indent: -999px;
  position: relative;
  overflow: hidden;
  width: 50px;
  /*height: 55px;*/
  float: right;
}

.nav-toggle:before {
  color: #333;
  font-family: "responsivenav", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  font-size: 3em;
  text-transform: none;
  position: absolute;
  content: "≡";
  text-indent: 0;
  text-align: center;
  speak: none;
  width: 100%;
  top: 0;
  left: 0;
}
.home .nav-toggle:before {
  color: #fff;
}

.nav-toggle.active::before {
  font-size: 24px;
  content:"x";
}


.social-links a:before {
  font-family: 'Genericons';
  font-size: 24px;
  font-weight: normal;
  font-style: normal;
  line-height: .9;
  text-decoration: none;
  vertical-align: text-bottom;
  -webkit-font-smoothing: antialiased;
}
.social-links a[href*='facebook.com']:before {
  content: '\f204';
}
.social-links a[href*='twitter.com']:before {
  content: '\f202';
}

form.search {
	float: right; 
	margin: 0;
	width: 30%; 
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #ccc; 
		width: 100%; 
	}
	form.search button {
		display: none; 
	}

.breadcrumbs {
	clear: both; 
	padding-top: 1em; 
}
	.breadcrumbs span:after {
		content: ">";
		color: #999; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}





/*********************************************************************
 * 3. Main content and sidebar
 *
 */

body.home{
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  height: 100%;
  width: 100%;
}

#main {
	/*border-top: 1px solid #eee; */
	padding: 1em 5%; 
	margin-top: 1em; 
	clear: both; 
}
.home #main {
	margin: 0;
	padding: .1em 5%; 
}

#content {
	width: 85%; 
}

.home #content {
	color: #000;
	width: 55%;
	float: right;
	text-align: right;
}

.home #content p{
  clear: both;
}

.home #heading {
  text-align: center !important;
  width: 80%;
  float: right;
}

#content, #sidebar {
	padding-bottom: 2em; 
}

body.has-sidebar #content {
	width: 65%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.nav .current > a {
		color: #333; 
	}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

.button-trailer,
.button-gray,
.button-red{
	color: #fff;
	text-decoration: none;
	display: inline-block;
	padding: .25em 1em;
	margin: 0 2em;
	font-family: helvetica, Sans-Serif;
	font-size: .8em;
}
.button-gray,
.button-trailer{
	background-color: rgba(0,0,0, .6);
}
.button-red{
	background-color: rgba(98, 23, 29, .6);
}

.heading-red{
	color: #62171d;
	margin: 0;
	font-size: 2.5em;
	letter-spacing: .15em;
	text-shadow: 0 0 35px #fff, -2px -2px 10px #fff, 2px 2px 10px #fff;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}

/*********************************************************************
 * 4. Footer
 *
 */

#footer {
	clear: both; 
	/*border-top: 1px solid #eee; */
	font-size: 80%; 
	text-align: center;
}

.home #footer{
	color: #fff;
}



/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 100%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		float: none; 
		width: 100%; 
	}
	#content {
		width: 100%; 
	}

.home #content {
	width: 100%;
	float: none;
}
.home #main{
	background-color: rgba(255,255,255,.4);	
}

	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 115%; 
	}
}


/* Overlay */
.Modal {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: 0.5s;
  overflow: auto;
  transition: all 0.3s linear; }

  .Modal-content {
    margin: 0 auto;
    width: 80%;
    height: 80%; }
  
  .ModalOpen {
    overflow: hidden; }

.is-hidden {
  display: none; }

.is-visuallyHidden {
  opacity: 0; }

/* The Close Button */
.Close {
  color: #000;
  float: right;
  font-size: 28px; }

.Close:hover,
.Close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer; }

.is-blurred {
filter: blur(2px);
-webkit-filter: blur(2px); }

