/*!
Theme Name: A and D Contracting LLC
Description: aandd
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/
html {
	-webkit-text-size-adjust: 100%; margin-top: 0 !important;
} 
/* adjustments being made to make header dimensions more automatic START*/
:root {
	--client-blue: #2d29cd;
	--myblue: #221eb6;
	--light: #f3f3f3;
	--grey: #dbdbdb;
	--dark: #2d2d2d;
	--font-body: montserrat;
	--font-heading: montserrat;
}

body {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5em;
	font-family: var(--font-body);
	overflow-x: hidden;
}
 
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

main {
	display: block;
	padding-bottom: 2em;
} 

header {padding: 20px 0 10px;}
.breakout {
	background-color: var(--light);
	padding: 2em 0;
	width: 100vw;
	position: relative;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 3em;
	margin-bottom: 3em;
}

.first-b {
	margin-top: 0;
}
 

input {
	width: 100%;
	margin-bottom: 5px;
}

input[type='submit'] {}

input[type='submit']:hover {}

.fancylist {
	list-style: none; padding: 0;
}

.fancylist li {
	position: relative;
	margin: .5em 0;
}
ul.fancylist li:before {
    content: '';
    display: inline-block;
    background-image: url(/wp-content/uploads/icon-right-blue.png);
    height: 15px;
    width: 15px;
    background-position: center;
    vertical-align: middle;
    margin-right: 6px;
} 

/*Billboard*/
.cta-wrapper:before {
    content: '';
    height: 100%;
    width: 120%;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    background: hsl(0deg 0% 5.67% / 70%);
}
.cta-wrapper {
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0;
    padding: 1em 2em;
    line-height: 1.4em;
    
	* {z-index: 9;}
    .cta-text, .cta-text-sub {line-height: 1.1em;display: block;color: #fff;text-transform: uppercase;font-weight: bold;}
    .cta-text {
        font-size: 20px;
    }
    
    .cta-text-sub {
        font-size: 11px;
        letter-spacing: 2px;
        margin-top: 10px;
        font-weight: normal;
    }
	.btn {background: transparent;border: 3px solid var(--client-blue);color: #fff;font-size: 11px;padding: 9px 10px;}
}
.cta-text-sub img {
    max-height: 20px;
    vertical-align: middle;
}
.btn, input[type='submit'],  .wp-block-search__button, button {
	border: 0px solid #fff;
	background: var(--light);
	color: #000;
	padding: .8rem 1.0rem;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	-webkit-transition: all ease .25s;
	transition: all ease .25s;
	text-align: center;
	line-height: 1.1em;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.btn-dk,
.btn:hover, input[type='submit']:hover {
	background: var(--myblue);
	color: #fff;
}
.btn:after, .creds a:after, footer ul li a:before, .home-service a:before {
    content: '';
    background-size: 17px;
    background-image: url(/wp-content/uploads/icon-right-blue.png);
    background-position: 0 1px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 15px;
}
.btn-dk:after, .btn:hover:after {
    background-image: url(/wp-content/uploads/icon-right.png);
    filter: invert(1);
}
.ufg-parent-filters button:after ,
.cta-wrapper .btn:after {display:none;}
 
.ufg-parent-filters button {
    background: var(--light) !important;
    color: #000 !important;
    font-family: 'montserrat';
    font-weight: normal;
}

 .social-creds img {margin: 0 3px;}
footer .btn {
	margin-bottom: 20px;
	margin-right: 1em;
	display: block;
}
 
 
footer.site-footer {
	background: #333;
	color: #fff;
	padding-top: 1.5em;
}

footer h2 {
	margin: 1.3em 0 .5em;
	font-size: 1.5em;
	color: #fff;
} 

.large-wrapper {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 30px;
}

.medium-wrapper {
	max-width: 950px;
	margin: 0 auto;
}

.small-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.small-wrapper,
.medium-wrapper {}

.breakout .small-wrapper,
.breakout .medium-wrapper {
	padding: 0 30px;
}

.medium-wrapper.fb-page {
	padding-bottom: 1em;
}

img {height: auto; max-width: 100%; width: auto;}

h1,h2,h3 {line-height: 1.2em; margin-bottom: .5em;}
h1 {text-transform: uppercase;}
.smaller-h1 {
    letter-spacing: 5px;
    font-size: 17px;
}
.accent {color: var(--myblue);text-transform: uppercase;font-size: 15px;font-weight: bold;display: block;}
.blue-bg .accent {color: #fff;}
.dk .accent { color: #322eeb; }
/*---------BOOTSTRAP--------*/
.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -20px;
	margin-left: -20px;
} 

.row>div {
	width: 100%;
	box-sizing: border-box;
	padding: 0 20px;
}

.bg-img,.breakout, .d-flex, .comment-navigation .nav-links, .posts-navigation .nav-links, .post-navigation .nav-links {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
}

.col-12,
.w-100 {
	width: 100%;
}
.w-100 {width: 100% !important;}
.order-1 {
	-webkit-box-ordinal-group: 2;
	-ms-flex-order: 1;
	order: 1;
}

.order-2 {
	-webkit-box-ordinal-group: 3;
	-ms-flex-order: 2;
	order: 2;
}

.order-3 {
	-webkit-box-ordinal-group: 4;
	-ms-flex-order: 3;
	order: 3;
}

.h-100 {
	height: 100%;
}

.p-0 {
	padding: 0;
}

.pt-0,
.py-0 {
	padding-top: 0 !important;
}

.pb-0,
.py-0 {
	padding-bottom: 0 !important;
}

.pt-4,
.py-4 {
	padding-top: 1.5rem !important;
}

.pb-4,
.py-4 {
	padding-bottom: 1.5rem !important;
}

.p-5 {
	padding: 3rem !important;
}

.m-0 {
	margin: 0;
}

.mt-0,
.my-0 {
	margin-top: 0 !important;
}

.mb-0,
.my-0 {
	margin-bottom: 0 !important;
}

.mt-2,
.my-2 {
	margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
	margin-right: 0.5rem !important;
}
.mb-1 {margin-bottom: .25rem !important;}
.mb-2,
.my-2 {
	margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
	margin-left: 0.5rem !important;
}

.mt-3,
.my-3 {
	margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
	margin-right: 1rem !important;
}

.mb-3,
.my-3 {
	margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
	margin-left: 1rem !important;
}

.mx-auto {
	margin-right: auto !important;
	margin-left: auto !important;
}

.w-max {
	width: max-content !important;
}

.mx-0 {
	margin-right: 0rem !important;
	margin-left: 0rem !important;
}

.mx-5 {
	margin-right: 3rem !important;
	margin-left: 3rem !important;
}

.my-1 {
	margin-top: .25rem !important;
	margin-bottom: .25rem !important;
}
.mt-1 {margin-top: .25rem !important;}
.my-2 {
	margin-top: .5rem !important;
	margin-bottom: .5rem !important;
}

.my-3 {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

.my-4 {
	margin-top: 1.5rem !important;
	margin-bottom: 1.5rem !important;
}

.my-5 {
	margin-top: 3rem !important;
	margin-bottom: 3rem !important;
}

.mt-5 {
	margin-top: 3rem !important;
}

.mt-4 {
	margin-top: 1.5rem !important;
}

.mb-5 {
	margin-bottom: 3rem !important;
}

.py-1 {
	padding-top: .25rem !important;
	padding-bottom: .25rem !important;
}

.py-2 {
	padding-top: .5rem !important;
	padding-bottom: .5rem !important;
}

.py-3 {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

.py-4 {
	padding-top: 1.5rem !important;
	padding-bottom: 1.5rem !important;
}

.py-5 {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}

.px-0 {
	padding-right: 0rem !important;
	padding-left: 0rem !important;
}

.px-3 {
	padding-right: 1rem !important;
	padding-left: 1rem !important;
}

.px-4 {
	padding-right: 1.5rem !important;
	padding-left: 1.5rem !important;
}

.px-5 {
	padding-right: 2rem !important;
	padding-left: 2rem !important;
}

.mb-4 {
	margin-bottom: 1.5rem !important;
}

.align-items-start {
	align-items: start;
}

.justify-content-space-between { justify-content: space-between; }
.justify-content-center { justify-content: center;}
.justify-content-start { justify-content: start;}
.justify-content-end {justify-content: end; }

.text-left {
	text-align: left !important;
}

.text-right {
	text-align: right !important;
}

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

.d-inline-block {
	display: inline-block;
}

.d-block {
	display: block;
}

.align-items-center {
	align-items: center;
}

.d-none {
	display: none;
}
.btn-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    bottom: 0;
}
.gallery img {
    border: none !important;
    object-fit: fill;
    width: 100%;
    margin: 0;
    display: block;
}

.gallery .gallery-item .gallery-icon {
    /* max-width: 310px; */
    margin: 0 auto;
    padding: 0 5px;
}
.gallery  .gallery-item {margin: 0;}
.gallery-wrapper {   position: relative;  }

.gallery-wrapper p {  margin: 0; }

.gallery-wrapper .btn { 
    box-shadow: 0 0 10px #000;
    border: 5px solid #fff;
}
.gallery-columns-6 .gallery-item {
    width: calc(100% / 6) !important;
    float: none !important;
    display: inline-block;
}
/*----------USEFUL CLASSES-----------*/
.inline-links a {
    text-decoration: none;
    color: inherit;
}

.inline-links img {
    filter: invert(1);
    max-height: 18px;
    vertical-align: middle;
}
.triangle-down:before {
    content: '';
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 20px solid var(--myblue);
    height: 0;
    width: 0;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 20px);
}
.triangle-up,
.triangle-down {
  position: relative;
}

.serv .wrap {
    background: var(--grey);
    padding: 1.5em 1.5em;
    height: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.serv .btn {display:block;}
.serv > div {margin: 1em 0 ;}
.serv h2 {font-size: 1.3em;}
.dk {
	background-color: #030303;
}
.bg-white {background-color: #fff; }
.blue-bg {
    background: #221EB6;
    background: radial-gradient(circle, rgba(34, 30, 182, 1) 0%, rgba(0, 0, 0, 1) 100%);
}
.invert,
.invert h1,
.invert h2,
.invert h3,
.invert h4 {
	color: #fff;
}

.last-b {
	margin-bottom: -40px;
}

.bg-img {
	position: relative;
	background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
	min-height: 250px;
	flex-direction: column;
}

.bg-c {
	background-position: center;
}
/*home services*/

.home-service > div {position: relative;/* transform: skew(-10deg, 0deg); */padding: 0;/* min-height: 400px; */display: flex;border: 5px solid #fff;}
.home-service > div:after {
	/*content: '';
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	width: 100%;
	background: hsl(0deg 0% 5.67% / 70%) ;
	z-index: 0;*/
}
.home-service .wrap {
    padding: 8em 1.5em 1.5em;
    position: relative;
    z-index: 1;
    /* transform: skew(10deg, 0deg); */
}
.home-service .wrap h3 {margin: 0}
.home-service >div:before {
	content: '';
	top: 0;
	right: 0;
	left: 0;
	display: block;
	height: 100%;
	position: absolute;
	background-size: cover;
	background-position: center;
}
.home-service >div:after {
    content: '';
    background: rgba(0,0,0,.5);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
	-webkit-transition: all 1s ease-in-out;-moz-transition: all 1s ease-in-out;-o-transition: all 1s ease-in-out;transition: all 1s ease-in-out;
}
 .home-service > div:first-child .wrap {
    /* padding-left: 4.5em; */
}

.home-service > div:last-child .wrap {
    /* padding-right: 2.5em; */
}
.home-service .reno:before {
	background-image: url(/wp-content/uploads/architectural-plans.jpg);
}
.home-service .flooring:before {
	background-image: url(/wp-content/uploads/flooring-installation.jpg);
}
.home-service .drywall:before {
	background-image:  url(/wp-content/uploads/drywall-repair.jpg);
}
.home-service .interior:before {
	background-image: url(/wp-content/uploads/interior-painting.jpg);
}
.home-service .exterior:before {
	background-image: url(/wp-content/uploads/exterior-painting.jpg);	
}
.home-service .deck:before {
	background-image: url(/wp-content/uploads/outdoor-kitchen-with-appliances.jpg);
}
.home-service .repairs:before {
	background-image: url(/wp-content/uploads/master-bathroom-shower-remodel.jpg);
}
.home-service .additions:before {
	background-image: url(/wp-content/uploads/IMG_20260623_140345-scaled-e1782967700101.jpg);
}

.home-service {
    margin: 0;
}
.home-service .wrap p:last-child {
    margin: 0;
}
.home-service a {color: #fff;text-decoration: none;background: rgba(0,0,0,.6);padding: 10px;margin-top: 10px;display: inline-block;}
.home-service a:hover {background-color: #000;}
/*Gallery plugin*/
.ufg-parent-filters {
    text-align: center;
}

.btn-group-sm>.btn, .btn-sm {
    border-radius: 0;
    border: none;
}

.ufg-all-filter-button {
    box-shadow: 0 5px 0 var(--grey);
    background: #fff;
}

.ufg-parent-filters button {
    background: #fff !important; border-radius: 0 !important; border: none !important; 
}

.reasons .wrap {
    max-width: 400px;
    margin: 0 auto;
    border: 10px solid var(--grey);
    padding: 0 1.5em 1em;
    height: 100%;
}

.reasons img {
    background: var(--light);
    margin-top: -50px;
    padding: 0 10px;
}

.reasons > div {
    margin: 2em 0;
}

.reasons p:first-child {
    margin: 0;
}
.number {
    color: var(--myblue);
    font-weight: bold;
    font-size: 45px;
    background: #fff;
    margin-top: -20px;
    display: inline-block;
    padding: 10px 15px;
}
/*Footer*/
footer {
	/* padding: 2em; */
	background: #ededed;
	margin-top: 40px;
}
.footer-sub {padding: 10px; 0;text-transform: uppercase; font-size: 1.1em; letter-spacing: 5px;}
.footer-sub img {vertical-align: middle; max-height: 25px;}
footer a {color: inherit;text-decoration: none;}
footer ul {list-style:none;padding:0;}
footer ul li a {display:block; margin: 0 0 8px;}
.footer-phone-links img {max-height:20px; vertical-align:middle; filter: invert(0); }
.creds .wrap {
    /* background: var(--myblue); */
    /* transform: skew(-11deg, 0deg); */
    display: inline-block;
    padding: 1em;
    line-height: 1em;
}

.creds span {
    display: block;
}

.creds .wrap * {
    transform: skew(-6deg, 0deg);
}

.creds h3 {
    font-size: 1.5em;
    margin: 0;
}

.creds h3 span {
    display: block;
    background: #fff;
    font-size: 2em;
    color: var(--client-blue);
    box-shadow: 0 10px 0 var(--grey);
    margin-bottom: 20px;
    line-height: 1.1em;
    color: var(--client-blue); /* Fill color of the text */
    -webkit-text-stroke: 2px var(--client-blue); /* Width and color of the outline */
}
.creds a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}
/** Begin desktop styles **/
header nav ul {margin:0;padding: 0;}
header nav ul li {
    display: inline-block;
}

header nav ul li a {
    padding: 10px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
    color: #fff;
    width: 100%;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
a.phone-button {
    padding: 10px;
    background: var(--myblue);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 2px 5px;
     
	img {max-height: 17px;vertical-align: middle;}
}

header nav .menu {padding: 0;}

header nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: var(--dark);
    display: none;
    z-index: 500;
}
.menu-toggle {
    background: #fff;
    border: none;
    position: absolute;
    top: 5px;
    right: 10px;
    padding: 0px;
    cursor: pointer;
    z-index: 10000;
    padding: 0 10px;
    
     
	span {height: 5px;margin: 6px 0;background: var(--client-blue);display:block;width: 35px;position: relative;-webkit-transition: all .5s ease-in-out;-moz-transition: all .5s ease-in-out;-o-transition: all .5s ease-in-out;transition: all .5s ease-in-out;}
}
.menu-open .menu-toggle span {background-color: var(--dark);}
.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
    top: 15px;
}
.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    top: -7px;
}
.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
@media only screen and (min-width: 576px) {
	.cta-text-sub img{height: 30px;}
	.cta-wrapper:before {right: -100px;transform: skew(-11deg, 0deg);}
	.gallery-columns-4 {
		grid-template-columns: repeat(4, 1fr);
	}
	header .row>div {
		padding: initial;
	}	 
	footer .btn {
		 max-width: 240px;
	}
	.cta-wrapper {
		left: auto;
	}
}

@media only screen and (min-width: 768px) {
	.cta-wrapper:before {
		right: -10%;
	}
	a.phone-button{margin: .5em  0 .5em 10px;font-size: 17px;}
	header {padding: 10px 0; }
	header nav ul li a {color: #000;display: inline-block;padding: 5px 10px 5px 10px;}
	
	header nav  {position: inherit;background: transparent;width: auto;display: block !important;text-align: right;}
	.breakout .large-wrapper { padding: 0 2em; }
	 body.home .first-b {min-height:430px;}
	.cta-wrapper {
		left: auto; 
		.cta-text, .cta-text-sub {
		}
		.cta-text {
			font-size: 3em;
		}

		.cta-text-sub {
			font-size: 1.3em;
			margin: 10px;
		}
		.btn {font-size: 15px;padding: 15px 15px;border: 5px solid var(--client-blue);}
	}
	
	.gallery-columns-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.gallery-columns-4 {
		grid-template-columns: repeat(4, 1fr);
	}
	.gallery-columns-6 {
		grid-template-columns: repeat(6, 1fr);
	}
	.attachment-thumbnail.size-thumbnail {
		max-width: 100%;
		height: auto;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.justify-content-md-center {
		justify-content: center;
	}

	.text-md-left { text-align: left; }
	.text-md-right { text-align: right; }
	
	.main-navigation #primary-menu > li {
		margin: 0 4px;
		text-align: center;
		display: inline-block;
	}

	.large-wrapper {
		padding: 0 2em;
	}
 
	header .large-wrapper {
		height: 100%;
		position: relative;
	}

	.col-md-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}

	.col-md-10 {
		-ms-flex: 0 0 83.333333%;
		flex: 0 0 83.333333%;
		max-width: 83.333333%;
	}
	.col-md-9 {   -ms-flex: 0 0 75%; flex: 0 0 75%; width: 75%;}
	.col-md-8 {
		-ms-flex: 0 0 66.666667%;
		flex: 0 0 66.666667%;
		max-width: 66.666667%;
	}

	.col-md-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}

	.col-md-4 {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
		padding: 0 1.5em;
	}

	.col-md-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}

	.col-md-2 {
		-ms-flex: 0 0 16.666667%;
		flex: 0 0 16.666667%;
		max-width: 16.666667%;
	}

	.order-md-1 {
		-webkit-box-ordinal-group: 2;
		-ms-flex-order: 1;
		order: 1;
	}

	.order-md-2 {
		-webkit-box-ordinal-group: 3;
		-ms-flex-order: 2;
		order: 2;
	}

	.order-md-3 {
		-webkit-box-ordinal-group: 4;
		-ms-flex-order: 3;
		order: 3;
	}
	.d-md-inline {display:inline !important;}
	.d-md-none {
		display: none !important;
	}

	.d-md-block {
		display: block !important;
	}
	
	.m-md-5 {
		margin-top: 3rem;
	}
 
	.bg-img {
		min-height: 250px;
	}

	.parallax {
		background-attachment: fixed;
	}

	.alignleft {
		float: left;
		margin-right: 1.5em;
		max-width: 50%;
	}

	.alignright {
		float: right;
		margin-left: 1.5em;
		max-width: 50%;
	}
	.pr-md-5 {
		padding-right: 3rem !important;
	} 
	h1 {font-size: 2.2em;}
	h2 {font-size: 2em;}
	h3 { font-size: 1.2em; }
	.accent {/* font-size: 1.5rem; */}
}

@media only screen and (min-width: 992px) {
	.col-lg-2 {
		-ms-flex: 0 0 16.666667%;
		flex: 0 0 16.666667%;
		max-width: 16.666667%;
	}

	.col-lg-4 {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
		padding: 0 1.5em;
	}
}