/* ATLANTICLANDSCAPECONSTRUCTION.COM /home.css */

h1 {margin: 0 auto 0 15px; line-height: 1; font-size: 2.125rem; text-align: left; color: #bfbfbf;}
@media screen and (min-width: 1201px) and (max-width: 1600px) {h1 {font-size: 2.5vw;}}
@media screen and (min-width: 901px) and (max-width: 1200px) {h1 {font-size: 3vw;}}
@media screen and (min-width: 681px) and (max-width: 900px) {h1 {font-size: 4.5vw;}}
@media screen and (min-width: 0px) and (max-width: 680px) {h1 {text-align: center; margin-bottom: .5em;}}
@media screen and (orientation: landscape) and (max-width: 900px) and (max-height: 360px) {h1 {font-size: 3.25vw;}}

h2 {font-size: 1.25em; text-align: right; margin: 0 15px .25em auto;.text-wrap: balance;}
@media screen and (min-width: 0px) and (max-width: 680px) {h2 {font-size: 1.125em; text-align: center; text-wrap: nowrap;}}

#pg-container {display: flex; flex-direction: column; min-height: 100vh; z-index: 1; padding-bottom: 0; background-color: transparent;}

main {padding-left: 0; padding-right: 0;}

.bkgd-carousel {position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow-y: hidden;}
.carousel-itm::before {content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 140px; background: linear-gradient(to bottom, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 100%);
}
.carousel-itm {position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out;}
@media screen and (max-width: 900px) {
.bkgd-carousel {position: absolute; height: 100vh;}
.carousel-itm {background-attachment: scroll; height: 100vh;}
}

html.no-webp .carousel-itm.image1 {background-image: url("/_img/hme/ss-img1.jpg");}
html.webp .carousel-itm.image1 {background-image: url("/_img/hme/ss-img1.webp");}
html.no-webp .carousel-itm.image2 {background-image: url("/_img/hme/ss-img2.jpg");}
html.webp .carousel-itm.image2 {background-image: url("/_img/hme/ss-img2.webp");}
html.no-webp .carousel-itm.image3 {background-image: url("/_img/hme/ss-img3.jpg");}
html.webp .carousel-itm.image3 {background-image: url("/_img/hme/ss-img3.webp");}
html.no-webp .carousel-itm.image4 {background-image: url("/_img/hme/ss-img4.jpg");}
html.webp .carousel-itm.image4 {background-image: url("/_img/hme/ss-img4.webp");}

.carousel-itm.active {opacity: 1;}
@keyframes carouselAnimation {0%, 20%, 100% {opacity: 0;} 3%, 17% {opacity: 1;}}

#hdg-addr {position: fixed; bottom: 0; left: 0; width: 100%; padding: 25px 15px 35px; min-height: auto; display: flex; align-items: center; justify-content: space-between; color: #d1d1d1;
background-position: left top; background-size: 100% 100%; background-repeat: no-repeat; background-color: #00443d;
background-image: url('/_img/ele/bkgd-leaves.jpg');
background-image: -webkit-image-set(url('/_img/ele/bkgd-leaves.webp'), url('/_img/ele/bkgd-leaves.jpg'));
background-image: image-set(url('/_img/ele/bkgd-leaves.webp') type("image/webp"), url('/_img/ele/bkgd-leaves.jpg') type("image/jpeg"));
box-shadow: 0 -2px 5px rgba(0,0,0,0.1);}

#hdg-addr .col-lft {width: 65%; flex-grow: 2;}
#hdg-addr .col-rgt {width: 35%;}
#hdg-addr p {text-align: right; margin: .25em 15px 0 auto; line-height:1.25;}
#phn, #eml {display: inline-block;}
.sep {display: inline-block; width: 1px; height: 1em; background-color: #d1d1d1; margin: 0 10px; vertical-align: middle;}

@media screen and (max-width: 980px) {
#addr {display: block;}
}
@media screen and (max-width: 680px) {
#hdg-addr {flex-direction: column; padding: 20px 10px 20px;}
#hdg-addr .col-lft, #hdg-addr .col-rgt {width: 100%;}
#hdg-addr p {text-align: center;  font-size: 90%; line-height: 1.125;}
#addr {display: block;}
}
@media screen and (orientation: landscape) and (max-width: 900px) and (max-height: 360px) {
#hdg-addr {padding: 10px;}
#hdg-addr p {margin: .125em; font-size: 90%; line-height: 1.125;}
}

/* Target any automatically detected content */
* {-webkit-tap-highlight-color: transparent; -webkit-text-decoration-line: none !important; text-decoration-line: none !important;}
/* More specific targeting for auto-detected links */
a[data-geo], a[data-address], a[x-apple-data-detectors], a[href^="maps.google.com"], a[href^="http://maps.google.com"], a[href^="https://maps.google.com"] {
-webkit-text-decoration: none !important; text-decoration: none !important; border-bottom: none !important; -webkit-border-bottom: none !important;}
/* Additional fix for Chrome on iOS */
*:any-link {-webkit-text-decoration: none !important; text-decoration: none !important;}