/*
Theme Name:			    D4skivvy
Author:				      D4
Author URI:			    http://www.d4webdesign.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:14px/1.75em 'Open Sans', sans-serif; overflow-x: hidden;}
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"] {padding: 8px 15px;border-radius:3px;display:inline-block;color:#fff;background-color:#1A78B2;}
iframe {
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
}
.button:empty {opacity:0.1;cursor:default;  }
.page-wrapper {width:calc(100% - 20px);min-width:320px;max-width:1280px;margin:0 auto;padding:20px;position:relative;}
.page-title {}
.page-content {}
.post-content {
  border-top: 2px solid #cdcdcd;
  margin-top: 20px;
  padding-top: 40px;
}
#content #subpage-masthead .page-wrapper {
  background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
  max-width: none;
  padding: 90px 25% 0;
  width: 100%;
}
.blog .post-thumb img {
  border: 10px solid rgba(255, 255, 255, 0.1);
  float: left;
  margin: 0 20px 10px 0;
}
.blog #content .post-content {
  clear: both;
  padding-bottom: 20px;
}
.post-content.first {margin:0;padding:0;border:0;}
.post-title {}
.post-snippet {}
.post-navigation {}
.page-meta, .post-meta {font-size:0.75em;color:#555;}
.post-next, .post-prev {
  border-radius: 0;
  font-size: 25px;
  height: 44px;
  overflow: hidden;
  padding: 10px 12px;
  position: relative;
  text-align: center;
  width: 50px;
}
.post-next a, .post-prev a {
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  text-indent: -999px;
  top: 0;
}
.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: #222 none repeat scroll 0 0;
  border-bottom: 3px solid;
  left: 0;
  min-height: 80px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
}
#header .page-wrapper {
  padding: 0;
  width: 100%;
}
#logo {
  left: 0;
  position: absolute;
}
#main-menu {
  margin-top: 36px;
}
#main-menu li a {
  color: #fff;
  font-size: 17px;
  padding: 8px 25px;
}
#main-menu li a:hover {}
#main-menu li.current_page_item > a {}
#main-menu .sub-menu {}
#main-menu .sub-menu li a {
  background-color: #111;
  padding: 8px 24px;
}
#main-menu .sub-menu li a:hover {
  background-color: #000;
}

#header-contact {
  position: absolute;
  right: 0;
  top: 0;
}
#header-contact a {
  background: #151515 none repeat scroll 0 0;
  display: inline-block;
  font-size: 14px;
  margin: 0 20px 0 2px;
  padding: 3px 10px 3px 43px;
  position: relative;
  color:#fff;
}
#header-contact i {
  background: #2fada6 none repeat scroll 0 0;
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 10px;
  position: absolute;
  top: -2px;
}
/* ---- FOOTER ---- */
#footer {}
#footer-copyright {font-size:0.75em;}
#footer-copyright a:link, #footer-copyright a:hover {color:inherit; text-decoration:none;}

.footer-content {
  background: #222 none repeat scroll 0 0;
  color: #fff;
}
#footer a {
  color: #fff;
}
.footer-content br {
  display: none;
}
#footer .footsidebar-5 {
  border-top: 2px solid #444;
  clear: both;
  display: block;
  float: none;
  padding: 20px 0;
}
.footsidebar-5 a {
  display: block;
  float: left;
  width: 25%;
}
.footer-bottom {
  background: #111 none repeat scroll 0 0;
  color: #fff;
  padding: 50px;
  text-align: center;
}
/* ------------------- HOMEPAGE ------------------- */
.home #main-wrapper {
  max-width: none;
  padding: 0;
  width: 100%;
}
#main-slideshow .page-wrapper {
  background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
  bottom: 0;
  left: 0;
  max-width: none;
  padding: 0 16%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
#main-slideshow {
  height: 620px;
  position: relative;
  text-shadow: 0 0 10px #000;
}
#main-slideshow .cycle-slide {
  background-size: cover;
  bottom: 0;
  color: #fff;
  right: 0;
}
#main-slideshow h1 {
  font-size: 50px;
  margin-bottom: 10px;
  margin-top: 270px;
}
.slide-content {
  font-size: 23px;
  font-weight: bold;
  line-height: 31px;
  max-width: 570px;
}
#main-slideshow .button {
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  margin-top: 10px;
  text-shadow: none;
}
.cycle-slideshow {z-index: 0;}
.cycle-slide {}
.cycle-slide-active {}
.cycle-pagerelement {cursor:pointer;}
.cycle-next {}
.cycle-pause {}
.cycle-prev {}
#per-slide-template {font-size:24px;}
#per-slide-template span { cursor:pointer; color:#000; }
#per-slide-template span.cycle-pager-active { color:#333 }
#buckets br {
  display: none;
}
#buckets a {
  background: rgba(47, 173, 166, 0.8) none repeat scroll 0 0;
  border: 10px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  display: block;
  font-size: 26px;
  font-weight: bold;
  padding: 80px 20px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s all ease-in-out;
}
#buckets a:hover {
  background: #1a78b2 none repeat scroll 0 0;
}
#buckets p {
  margin: 0;
}
#buckets > div {

}
#buckets .bucket-showers {
  background-image: url(img/backgrounds/shower_bg.jpg);
}
#buckets .bucket-mirrors {
  background-image: url(img/backgrounds/mirror_bg.jpg);
}
#buckets .bucket-windows {
  background-image: url(img/backgrounds/windows_bg.jpg);
}
#buckets .bucket-storefront {
  background-image: url(img/backgrounds/storefront_bg.jpg);
}
#buckets .bucket-railing {
  background-image: url(img/backgrounds/railing_bg.jpg);
}
#buckets .bucket-specials {
  background-image: url(img/backgrounds/specials_bg.jpg);
}
#buckets .skivdiv-content {
  padding: 0;
  position: relative;
}
#home-about h2, #home-testimonials h2 {
  font-size: 30px;
  margin: 50px auto 40px;
  text-align: center;
}
#home-about .page-wrapper, #home-testimonials .page-wrapper {
  max-width: 1050px;
}
#home-about {
  background: rgba(0, 0, 0, 0) url("img/backgrounds/sd-skyline_bg.jpg") no-repeat scroll center top;
  color: #fff;
  font-size: 17px;
  line-height: 29px;
}
#home-about .one_third {
  text-align: center;
}
#home-testimonials {
  background: #f9f9f9 none repeat scroll 0 0;
  color: #333;
  font-size: 19px;
  padding: 50px 0;
  text-align: center;
}
#home-testimonials .getpost-wrapper {
  left: 0;
  right: 0;
}
#home-testimonials .getpost-title {
  margin: 20px auto 50px;
}
/* ----------------- Subpages -------------------- */
.page-title {
  color: #fff;
  font-size: 60px;
  margin: 0;
  padding: 100px 0;
}
#subpage-masthead {
  background-attachment: fixed;
  background-position: center top;
  background-size: 100% auto;
}
.subpage #main-content {
  min-height: 230px;
}


/* ----------------- Gravity --------------------- */
#main-content .gfield_label {
  display: none;
}
#main-content .gfield input, #main-content .gfield textarea, #main-content .gfield select {
  background: #efefef none repeat scroll 0 0;
  border: 2px solid #cdcdcd;
  padding: 10px;
  width: 100%;
}
.gform_footer .button:empty {
  opacity: 1;
}
#main-content .gform_confirmation_message {
  border-bottom: 1px dashed #cdcdcd;
  border-top: 1px dashed #cdcdcd;
  padding: 20px 0;
  text-align: center;
}
#main-content .gform_ajax_spinner {
  display: none!important;
}


/* ----------------- Responsive ------------------- */

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

}

@media all and (max-width: 1000px) {
.d4-slidemenu #d4slidemenu-toggle {
  top: 30px;
}
.d4-slidemenu #logo img {
  height: 60px;
}
.d4-slidemenu #logo {
  height: auto;
  padding-top: 0;
  top: 34px;
}
.d4-slidemenu #header {
  height: 100px;
}
#header-contact {
  left: 0;
}
#header-contact a {
  background: #000 none repeat scroll 0 0;
  display: block;
  margin: 0;
}
#header-contact ul, #header-contact li {
  display: block;
}
.d4-slidemenu #d4slidemenu {
  padding-top: 110px;
}
#subpage-masthead {
  background-attachment: scroll;
  background-size: cover;
}
}
@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%;}
#home-about .one_third.last {
  clear: both;
  display: block;
  float: none;
  text-align: center;
  width: 100%;
}
#main-slideshow .page-wrapper {
  padding: 0 20px;
}
}
@media all and (max-width: 829px)  {
#buckets > div > div {
  clear: none;
  float: left;
  width: 50%;
}
#buckets::after {
  clear: both;
  content: "";
  display: block;
}
#footer ul {
  float: none;
  text-align: center;
  width: 100%;
}
.footsidebar-5 a {
  width: 50%;
}
#buckets a {
  font-size: 22px;
}
#main-slideshow h1 {
  font-size: 40px;
  margin-top: 150px;
}
.slide-content {
  font-size: 20px;
}
#main-slideshow .button {
  display: block;
  text-align: center;
}
#main-slideshow {
  height: 450px;
}  
}  

@media all and (min-width: 769px)  {#mobile-nav,#mobile-toggle {display:none !important;}
div#home-about {
    max-height: 680px;
}
}
@media all and (max-width: 768px)  {
	#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%;}
}

@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%}
}

@media all and (max-width: 510px)  {
	.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;}

#main-slideshow h1 {
  line-height: 39px;
  margin-top: 90px;
  width: 50px;
}
#main-slideshow .page-wrapper {
  background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
}
#buckets > div > div {
  clear: both;
  float: none;
  width: 100%;
}
#buckets a {
  padding: 50px 20px;
}
.slide-content {
  line-height: 25px;
}
#home-testimonials {
  font-size: 15px;
}
#home-about h2, #home-testimonials h2 {
  font-size: 22px;
}
#home-about .page-wrapper, #home-testimonials .page-wrapper {
  padding: 0;
} 
#content #subpage-masthead .page-wrapper {
  padding: 20px 20px 0;
  text-align: center;
}
.page-title {
  font-size: 40px;
} 
}

@media all and (max-width: 360px) {
	.one_fifth, .one_sixth {float: none;clear: both;margin:0 auto;}
	.one_fifth, .one_sixth {width:100%;}
}
.pum-content.popmake-content ul {
  text-align: center;
  justify-content: space-evenly;
	display: flex;
}
@media only screen and (max-width: 960px){
	.pum-content.popmake-content ul{
    display: block;
    list-style: none !important;
    padding: 0 !important;
	}
	.pum-content.popmake-content {
    padding: 40px 0px;
}
	div#home-about {
    max-height: 1300px;
}
}
.parent-content {
    background-image: url(../../uploads/windows_bg1.jpg);
    background-size: cover;
}
.child-content {
    background: rgba(47, 173, 166, 0.8) none repeat scroll 0 0;
    color: #ffffff !important;
    padding: 15px;
}
#home-about {
    background-size: cover;
}