/*
Theme Name:			D4skivvy
Author:				Merritt Lentz
Author URI:			http://www.merrittlentz.com
Theme URI:			https://github.com/d4advancedmedia/D4skivvy
GitHub Theme URI:	https://github.com/d4advancedmedia/D4skivvy
GitHub Branch:    	master
Version:			12Aug15
License:			The GNU General Public License (GPL-2.0)
*/
/* ---- CONTENT ---- */
* {background:none no-repeat scroll center center transparent;}
html {
  background-color: #fff;
  color: #000;
  font: 16px/1.75em "Lato",sans-serif;
}
html, body {
  overflow-x: hidden;
}
#fadeintro {
  position: absolute;
  top: 0;
  bottom:0;
  left:0;
  right:0;
  z-index: 9999;
  background: #131313 url("http://www.whentechfails.com/wp-content/themes/D4skivvy-master/img/logo.png") no-repeat scroll center 200px;
  opacity: 100;
  display: none;
}
.home #fadeintro {
  display: block;
}
#fadeintro.faded {
  z-index: -999999;
}
h1, h2, h3, h4, h5, h6 {}
ul, ol {padding: 0 0 0 40px;}
blockquote { border-left:1px solid #696969; padding-left:10px;margin: 1em 40px; }
button,input,select,textarea {padding:5px;margin:5px 0;}
a, a:link, a:visited {color:#1A78B2;}
a:hover, a:focus, a:active {color:#36A6BF;}
button, a.button, .button, html input[type="button"], input[type="reset"], input[type="submit"] {
  background-color: #000 !important;
  border-radius: 0 !important;
  color: #fff;
  display: inline-block;
  font-size: 19px;
  padding: 8px 155px 8px 35px;
  position: relative;
}
.button::after {
  border-bottom: 8px solid #111;
  bottom: -12px;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
}
.button i {
  background: #f71903 none repeat scroll 0 0;
  bottom: 0;
  padding-top: 12px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 110px;
}
.page-wrapper {width:calc(100% - 20px);min-width:320px;max-width:1280px;margin:0 auto;padding:20px;position:relative;}
#content {}
.page-title {}
.page-content {}
.post-content {margin-top:10px;padding-top:10px;border-top:1px solid #bbb;}
.post-content.first {margin:0;padding:0;border:0;}
.post-title {}
.post-snippet {}
#main-content .post-navigation {
  border-top: 1px dotted #cdcdcd;
  margin-top: 10px;
  padding-top: 10px;
}
.page-meta, .post-meta {font-size:0.75em;color:#555;}
.post-next, .post-prev {
  height: 38px;
  position: relative;
  width: 75px;
}
.post-next a, .post-prev a {
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.post-navigation li:empty {
  opacity: 0.1;
}
.post-navigation li {
  font-size: 22px;
}
.skivdiv-content {padding:10px;}
.fullwidth > .skivdiv-content {padding:0;}
.subpage #content .page-wrapper {max-width:980px;}
.page-template-template_fullwidth #content > .page-wrapper {max-width: none;width: 100%;padding:0;}
.page-template-template_fullwidth #content .page-title {max-width:880px;margin:0 auto;}
.page-template-template_fullwidth #content .fullwidth > .skivdiv-content {padding: 0 10%;}


/* ---- HEADER ---- */
#header {
  background: #131313 none repeat scroll 0 0;
}
#header .page-wrapper {
  padding: 0;
  width: 100%;
}
#logo {
  margin-top: 14px;
}
#main-menu {}
#main-menu li a {
  color: #dfdfdf;
  font-size: 18px;
  padding: 23px 20px;
  text-transform: uppercase;
}
#main-menu li a:hover {}
#main-menu li.current_page_item > a {}
#main-menu .sub-menu {}
#main-menu .sub-menu li a {
  background-color: #222;
  border-bottom: 1px solid #151515;
  font-size: 15px;
  padding: 5px 20px;
}
#main-menu .sub-menu li a:hover {
  background-color: #333;
}
#mobile-toggle {
  background-color: transparent;
  background-image: none;
  border-radius: 0;
  bottom: 0;
  font-size: 29px;
  margin: 0 -9px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
}
#mobile-nav {
  border-bottom: 20px solid;
  margin-bottom: 0;
}
#mobile-nav li {
  background: #191919 none repeat scroll 0 0;
  border-bottom: 1px dotted;
  padding: 10px 30% 3px 20px;
}
#mobile-nav a {
  color: #fff;
  display: inline-block;
  font-size: 18px;
  margin-bottom: 10px;
  max-width: 300px;
  white-space: normal;
}
.masthead {
  background: #f71903 none repeat scroll 0 0;
  color: #fff;
}
.masthead h1 {
  font-size: 40px;
  margin: 0;
  text-transform: uppercase;
}
.masthead h1.small-title {
  font-size: 20px;
  line-height: 40px;
  padding: 10px 0;
  text-transform: none;
}
/* ---- FOOTER ---- */
#footer {
  clear: both;
  display: block;
  padding-bottom: 200px;
  text-align: center;
}
#footer-menu {
  margin: 0;
}
#footer nav {
  background: #cdcdcd none repeat scroll 0 0;
}
#footer nav a {
  color: #20201e;
  font-size: 18px;
  text-transform: uppercase;
}
#footer-menu li {
  display: inline;
  margin: 0 10px;
}
#footer-copyright {font-size:0.75em;}
#footer-copyright a:link, #footer-copyright a:hover {color:inherit; text-decoration:none;}


/* ------------------- HOMEPAGE ------------------- */
#content .cycle-slideshow {
  height: 500px;
  z-index: 0;
}
#content .cycle-slide {
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}
#content .cycle-slide.slide-Dark::before, #content .cycle-slide.slide-Light::before {
  background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
#content .cycle-slide.slide-Light::before {
	background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
}
#content .cycle-slide h1 {
  font-size: 30px;
  margin: 20% 0 10px;
  text-transform: uppercase;
}
#content .slide-text {
  font-size: 19px;
  max-width: 600px;
}
#content .slide-Dark .slide-text {
  color: #fff;
}
#content .slide-Light .slide-text {
  color: #111;
}	
#content .cycle-slide .button {
  clear: both;
  display: block;
  margin-top: 5px;
  max-width: 390px;
}
#content .cycle-slide-active {}
#content .cycle-pagerelement {cursor:pointer;}
#content .cycle-next {}
#content .cycle-pause {}
#content .cycle-prev {}
#per-slide-template {
  background: #0d0e0e none repeat scroll 0 0;
  bottom: 25px;
  font-size: 36px;
  height: 38px;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 999;
}
#per-slide-template span { cursor:pointer; color:#000; }
#per-slide-template a.cycle-pager-active { color:#dddddd; }
#per-slide-template a {
  color: #4b4b4b;
}
#per-slide-template a {
  color: #4b4b4b;
}
.home #main-wrapper {
  max-width: 100%;
  padding: 0;
  width: 100%;
}
#buckets .one_third {
  position: relative;
}
#buckets .skivdiv-content {
  margin-top: -16px;
  padding: 0;
  position: relative;
}
#buckets h3, #featured h3 {
  background: #f71903 none repeat scroll 0 0;
  color: #fff;
  font-size: 29px;
  margin: 0;
  padding: 18px 0;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  z-index: 99;
}
#buckets .one_third:nth-child(2) h3 {
  background: #111 none repeat scroll 0 0;
}
#buckets .getpost-wrapper, #featured .getpost-wrapper {
  background-size: cover;
  height: 300px;
}
#content .getpost-wrapper:hover::before {
  background: rgba(32, 32, 32, 0.4) none repeat scroll 0 0;
  transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
}
#content .getpost-wrapper a {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
#content .three_fifth .getpost-wrapper a {
  left: auto;
  right: 10px;
}
#content .getpost-title {
  border-bottom: 1px dashed;
  color: #fff;
  display: block;
  font-size: 20px;
  margin: 40px;
  padding: 0 0 10px;
}
#content .getpost-content {
  color: #fff;
  margin: 0 40px;
}
#content .getpost-wrapper::before {
  background: rgba(32, 32, 32, 0.8) none repeat scroll 0 0;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
#featured .two_fifth, #featured .three_fifth {
  position: relative;
}
#featured h2 {
  color: #0d0805;
  font-size: 40px;
  margin: 0;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
}
#featured div .skivdiv-content {
  margin-top: -16px;
  padding: 0;
  position: relative;
}
#featured div div:nth-child(1) h3, #featured div div:nth-child(4) h3, #featured div div:nth-child(7) h3 {
  background: #20201e none repeat scroll 0 0;
}
#featured div div:nth-child(2) h3, #featured div div:nth-child(5) h3, #featured div div:nth-child(8) h3 {
  background: #0d0805 none repeat scroll 0 0;
}
#meet-mat {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 890px;
}
#meet-mat h3 {
  color: #343434;
  font-size: 34px;
  margin-top: 230px;
}
#meet-mat .skivdiv-content {
  padding: 0;
}
#meet-mat .button {
  font-size: 17px;
  margin-top: 20px;
  padding: 5px 65px 5px 15px;
}
#meet-mat .button i {
  width: 50px;
}
/* ----------------- Featured Books --------------- */
.getpost-title {
  display: none;
}
#featured-books {
  background: #111 none repeat scroll 0 0;
  bottom: -100%;
  padding: 10px 0 0;
  position: fixed;
  text-align: center;
  width: 100%;
  z-index: 99;
  transition:all 1s ease-in-out;
  -moz-transition:all 1s ease-in-out;
  -webkit-transition:all 1s ease-in-out;
  -o-transition:all 1s ease-in-out;
}
#featured-books.showbooks {
  bottom: 0;
}
#featured-books .getpost-wrapper {
  display: inline-block;
}
#featured-books .getpost-wrapper img {
  height: 170px;
  max-width: none;
  padding: 0 3px;
}
#featured-books h1 {
  color: #fff;
  float: left;
  margin: 62px 0 0;
}
#featured-books .page-wrapper {
  padding: 0 10px;
}
.carousel-pagerelement {
  background: #000 none repeat scroll 0 0;
  bottom: 0;
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  padding-top: 80px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 75px;
  z-index: 10;
}
.carousel-prev {
  left: 0;
}
.carousel-next {
  right: 0;
}
.subpages .featured-books {
  display: none;
}
#featured-books h4 {
  color: #fff;
  margin: 0 0 11px;
}
/*Blogpages*/
article .post-thumb {
  border: 10px solid #cdcdcd;
  float: left;
  margin: 0 10px 10px 0;
}
article .post-thumb img {
  display: block;
}
.post-navigation .button {
  padding: 7px 50px;
}
/*Events*/
.section-events #content .getpost-wrapper {
  border: 3px solid #fff;
  float: left;
  height: 290px;
  position: relative;
  width: 33.3%;
}
.section-events #content .getpost-wrapper a {
  position: relative;
}
.section-events #content .getpost-title {
  font-size: 16px;
  line-height: 20px;
  margin: 15px;
}
.event-dates {
  background: #000 none repeat scroll 0 0;
  color: #fff;
  text-align: center;
}
.home .event-dates {
  background: #1b1b1b none repeat scroll 0 0;
  left: 0;
  position: absolute;
  right: 0;
}
.section-events #content .getpost-content {
  font-size: 14px;
  margin: 0 15px 15px;
}
/*interviews*/
iframe {
  max-width: 100%;
}
/*Woo*/
.minicart {
  background: #111 none repeat scroll 0 0;
  position: absolute;
  right: 0;
  text-align: center;
  width: 100px;
  z-index: 99;
}
.minicart i {
  margin-right: 10px;
}
.minicart > a {
  color: #fff;
}
.button.add_to_cart_button.product_type_simple {
  color: #fff;
}
.amount {
  color: #f71903 !important;
  font-weight: 600;
}
.woocommerce #respond input#submit.added::after, .woocommerce a.button.added::after, .woocommerce button.button.added::after, .woocommerce input.button.added::after {
  content: "";
  font-family: WooCommerce;
  position: absolute;
  top: 10px;
  z-index: 0;
}
.payment_methods li {
  list-style: outside none none;
}
/*Contact*/
.wpcf7-form-control.wpcf7-submit {
  background: #f71903 none repeat scroll 0 0 !important;
  margin-top: 0;
  padding: 10px 0;
  width: 100%;
}
#main-wrapper #main-content input, #main-wrapper #main-content textarea {
  background: #222 none repeat scroll 0 0;
  border: 0 none;
  color: #fff;
  margin-bottom: 0;
  padding: 10px;
  width: 100%;
}
/* Misc */
.gallery-item img {
  border: 3px solid #222;
  float: none;
  margin: 5px;
}
.gallery-size-thumbnail .gallery-item {
  background: #efefef none repeat scroll 0 0;
  float: left;
  font-size: 13px;
  line-height: 21px;
  margin: 10px;
  max-width: 200px;
  padding: 10px;
  text-align: center;
}
/* ----------------- Responsive ------------------- */

@media all and (min-width: 1025px) {

}

@media all and (max-width: 1230px) {
  #main-menu li a {
  font-size: 15px;
  padding: 23px 11px;
}
}
@media all and (max-width: 1024px) {
	.two_third, .three_fourth, .five_sixth, .two_fifth, .three_fifth, .four_fifth {margin:0 auto;float:none;clear: both;width:100%;}
}

@media all and (min-width: 1001px)  {#mobile-nav,#mobile-toggle {display:none !important;}}
@media all and (max-width: 1000px)  {
	#main-menu {display: none;}
	#mobile-nav,#mobile-toggle {display: block;}
	.fullwidth .one_fourth:nth-child(3), .fullwidth .one_fifth:nth-child(4), .fullwidth .one_sixth:nth-child(4) {clear: left;}
	.one_half, .one_third.last {margin:0 auto;float:none;clear: both;}
	.one_half {width:100%;}
	.one_third, .one_fourth {width:50%;}
	.one_fifth, .one_sixth {width:33.33%;}
#buckets .one_third.last {
  width: 100%;
} 
#buckets .one_third:nth-child(1), #buckets .one_third:nth-child(2) {
  clear: none;
  float: left;
  width: 50%;
} 
#meet-mat .one_half {
  float: left;
  max-width: 480px;
  text-align: justify;
  width: 59%;
}
#content .cycle-slide {
  background-size: cover;
  height: 364px;
}
#content .slide-text {
  font-size: 17px;
  position: relative;
  text-align: center;
  width: 100%;
}
#content .cycle-slideshow {
  height: 380px;
  z-index: 0;
}
#footer-menu {
  margin: 0;
}
}
@media all and (max-width: 800px)  {
  .section-events #content .getpost-wrapper {
  width: 50%;
}
}
@media all and (max-width: 640px)  {
	.fullwidth .one_fifth:nth-child(4) {clear:none;}
	.fullwidth .one_fifth:nth-child(3) {clear: left;}
	.one_third, .one_fifth.last {float: none;clear: both;margin:0 auto;}
	.one_third {width:100%;}
	.one_fifth {width:50%}
#content .cycle-slide {
  background-position: 80% center;
  background-size: 1440px auto;
}
#content .slide-text {
  font-size: 17px;
  position: relative;
  text-align: center;
  width: 100%;
}
#content .cycle-slide .page-wrapper {
  height: 174px;
  left: 0;
  max-width: none;
  padding: 0 10px;
  position: absolute;
  right: 0;
  top: 363px;
  width: 100%;
}
#content .cycle-slide h1 {
  font-size: 20px;
  margin: 20px 0 10px;
}
#content .cycle-slide.slide-Dark .page-wrapper {
  background: #111 none repeat scroll 0 0;
}
#content .cycle-slideshow {
  height: 600px;
}
#meet-mat {
  background-image: url("http://www.whentechfails.com/wp-content/uploads/head-shot-2.jpg") !important;
  background-position: center 110px;
  background-size: auto auto;
  height: auto;
}
#meet-mat h3 {
  margin: 20px auto 390px;
  text-align: center;
}
#meet-mat .one_half {
  float: left;
  max-width: none;
  width: 100%;
}
#content .cycle-slide .button {
  clear: both;
  display: block;
  margin: 20px auto;
  max-width: 410px;
}
}

@media all and (max-width: 480px)  {
	.fullwidth .one_fifth:nth-child(3) {clear:none;}
	.fullwidth .one_fifth:nth-child(3) {clear: left;}
	.one_fourth {float: none;clear: both;margin:0 auto;}
	.one_fourth {width:100%;}
	.one_sixth {width:50%;}
	.fullwidth .one_sixth:nth-child(2n+1) {clear: left;}
#buckets .one_third:nth-child(1), #buckets .one_third:nth-child(2) {
  clear: both;
  float: none;
  width: 100%;
}
#content .cycle-slide h1 {
  margin: 20px auto 0;
  max-width: 300px;
}
#mobile-toggle {
  max-width: 30%;
}
#content .slide-144 {
  background-position: -710px center;
}  
}

@media all and (max-width: 360px) {
	.one_fifth, .one_sixth {float: none;clear: both;margin:0 auto;}
	.one_fifth, .one_sixth {width:100%;}
#buckets .getpost-wrapper, #featured .getpost-wrapper {
  background-size: auto 361px;
  height: 360px;
} 
#content .slide-text {
  font-size: 17px;
  line-height: 18px;
  position: relative;
  text-align: center;
  width: 100%;
}
#content .cycle-slide .button {
  font-size: 16px;
}
}