/*
Theme Name: TAP Plumbing
Description: TAP Plumbing theme
Version: 1.0
Author: Andy
*/

/* General styles                                   */
/* ------------------------------------------------ */

td {
	vertical-align: top;
}

a {
	color: #ff6a14;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #d1ff1d;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a {
	line-height: 120%;
    font-family: 'Nunito', sans-serif;
}

h1 {
	font-size: 2.0em;
	margin-top: 0;
    font-weight: 700;
    color: #d1ff1d;
}

h2 {
	font-size: 3.6em;
    font-weight: 500;
    color: #d1ff1d;
    margin: 0 0 50px 0;
}

h3 {
	font-size: 2.2em;
    font-weight: 900;
    color: #ff6a14;
    padding-bottom: 6px;
    margin-bottom: 10px;
    border-bottom: 3px solid #ff6a14;
}

h4 {
    font-size: 1.2em;
    text-transform: uppercase;
    color: #ff6a14;
    font-weight: 900;
    margin: 0;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #81aad2;
	color: #81aad3;
	margin: 30px 0;
    clear: both;
}

.separator {
    height: 5px;
    background: #28c1ff;
    width: 100%;
    position: relative;
    z-index: 1000;
    margin: 0 0 60px 0;
}

.separator-orange {
    background: #f76613;
}

.separator-green {
    background: #d1ff1d;
}

/* Content                                          */
/* ------------------------------------------------ */
.content-over {
    background: #000;
    margin-top: 50px;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    height: 600px;
}

.content {
	font-size: 1.1em;
	min-height: 200px;
    clear: both;
    position: relative;
    z-index: 999;
    overflow: hidden;
}

.content h2, .content h4 {
    text-align: center;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}


a.readmore, input[type="submit"] {
	background: #ffe100;
	color: #005a9c !important;
	padding: 12px 25px 12px 25px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-block;
	margin: 15px 0;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 700;
	text-shadow: none;
	line-height: 100%;
	border: 0;
	cursor: pointer;
}

a.readmore:hover, input[type="submit"]:hover {
	background: #eb6227;
	color: #fff !important;
}


a.readmore, .homepagebox-image img, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* Columns                                          */
/* ------------------------------------------------ */
.columns-container {
    margin: 0 -2%;
    overflow: hidden;
}

.column-twothirds {
    width: 62.333%;
    margin: 0 2% 40px 2%;
    float: left;
}

.column-third {
    width: 29.333%;
    margin: 0 2% 40px 2%;
    float: left;
    text-align: left;
}

.column-third:nth-child(3n+1) {
        clear: both;
    }

.column-half img, .column-twothirds img, .column-third img {
    width: 100%;
    height: auto;
}

.clearfix {
    clear: both;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 0 0 60px 0;
	text-align: center;
}

#footer a, #footer, #footer p {
	color: #f76613;
}

#footer h2 {
    color: #f76613;
    margin: 10px 0;
}

#footer h3, #footer h3 a {
    border-bottom: 0;
    color: #d1ff1d;
    font-size: 40px;
    font-weight: 500;
    margin: 0 0 40px 0;

}

#footer img {
    display: inline-block;
}

#copyright {
    margin: 100px 25px 20px 25px;
    text-align: center;
}

#copyright, #copyright a {
    color: #8c8c8c;
    font-size: 14px;
}

a.scrollup {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 90px;
    right: 17px;
    display: none;
    text-indent: -9999px;
    background: url('images/top.svg') no-repeat;
    opacity: 0.7;
}

.align-left {
    text-align: left;
}

/*
.grecaptcha-badge {
    left: -500px !important;
    right: initial !important;
}*/

/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1280px) {
	#headerpic {
        height: 900px;
    }

    #headerpic .wrapper {
        padding-top: 180px;
    }

    #headerpic .header-text-wrapper {
        max-width: none;
        font-size: 32px;
    }

    #headerpic .header-text-wrapper h1 {
        font-size: 46px;
    }
}



@media screen and (max-width: 900px) {
    #header {
        line-height: 200%;
    }

    #header-lower-over {
        top: -170px;
    }

    #headerlogo {
        background: url(images/header-logo.png) left 35px no-repeat;
        background-size: 70px auto;
    }

    #headertext {
        padding-left: 100px;
    }

    #header a {
        font-size: 18px;
    }

    #header a span {
        font-size: 32px;
    }

    #headerpic {
        height: 700px;
    }

    #headerpic .wrapper {
        padding-top: 150px;
    }

    #headerpic .header-text-wrapper {
        font-size: 28px;
    }

    #headerpic .header-text-wrapper h1 {
        font-size: 40px;
    }

    .column-third {
        width: 46%;
    }

    .column-third:nth-child(3n+1) {
        clear: none;
    }

    .column-third:nth-child(2n+1) {
        clear: both;
    }
}

@media screen and (max-width: 700px) {
    .columns-container {
        margin: 0;
    }

    .column-half, .column-twothirds, .column-third, .column-quarter {
        width: auto;
        float: none;
        margin: 0 0 30px 0;
    }

    #headerpic .wrapper {
        padding-top: 100px;
    }

    #headerpic .header-text-wrapper h1 {
        font-size: 32px;
    }

    #headerpic .header-text-wrapper {
        max-width: none;
        font-size: 28px;
    }
}

/* iOS */
@media screen and (max-width: 380px) {
    #header {
        text-align: left;
        padding-top: 0;
    }

    #headerlogo {
        background: url(images/header-logo.png) 0 35px no-repeat;
        background-size: 45px auto;
    }

    #headertext {
        padding-left: 70px;
        margin-top: -15px;
        line-height: 170%;
    }

    #header a {
        font-size: 16px;
    }

    #header a span {
        font-size: 25px;
    }
    #headerbg {
        height: 120px;
    }

    #header-lower-over {
        height: 170px;
        top: -170px;
    }

    #headerpic .wrapper {
        padding-top: 60px;
    }

    #headerpic .header-text-wrapper {
        font-size: 24px;
    }

    #headerpic .header-text-wrapper h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 2.4em;
    }

    #footer h3, #footer h3 a {
        font-size: 25px;
    }
}




/* WP Common Styles */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	padding-left:13px;
	}

.commenttext {
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

.wp-caption {
    width: 100% !important;
}

.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
   padding-bottom: 10px;
}
.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}

.wp-caption img {
	padding-bottom: 5px;
}

.alignleft, .alignright {
	margin-bottom: 20px;
}

.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}


@media screen and (max-width: 600px) {
    img.alignleft, img.alignright {
        float: none;
        display: block;
        margin: 20px auto;
    }
}