* {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

header {
    border-bottom: 1px solid #566a8833;
    display: block;
    padding: 0 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    font-size: 3em;
}

p {
    line-height: 1.8em;
}

#headerLogo {
    float: left;
    display: block;
    padding: 20px 0;
}

#mobileNav {
    display: none;
}

nav {
    float: right;
}

nav > ul {
    float: left;
    list-style-type: none;
}

nav > ul > li {
    display: inline-block;
    padding: 0 20px;
    position: relative;
}

nav > ul > li::after {
    content: "";
    display: block;
    width: 45px;
    height: 4px;
    background-color: white;
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
    transition: 0.2s opacity;
}

nav > ul > li:hover::after {
    opacity: 100;
}

.navSelected::after {
    opacity: 100;
}

nav > ul > li > a {
    text-decoration: none;
    padding: 30px 0;
    display: block;
    color: white;
}

nav .dropdown {
    position: absolute;
    top: 100%;
    z-index: 1;
    list-style: none;
    left: 0;
    width: 220px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

nav .dropdown > li {
    
}

nav .dropdown > li > a {
    padding: 20px 20px;
    display: block;
    color: white;
    text-decoration: none;
    background-color: #2e3b4e;
    transition: background-color 0.5s;
}

nav .dropdown > li > a:hover {
    background-color: #0d1729;
}

nav > ul > li:hover .dropdown {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s linear;
}

#navSearch {
    float: right;
    background-color: white;
    padding: 15px 30px;
    border-radius: 30px;
    margin-top: 15px;
    margin-left: 10px;
}

#navSearch input {
    border: none;
}

#navSearch button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.contentCenter {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

#noHero {
    width: 100%;
    height: 88px;
    background-color: #2e3b4e;
}

#homepageHero {

    color: white;
    padding-top: 10px;
    padding-left: 60px;
    padding-right: 60px;
    margin: auto;
}

#innerContainer {
    display: inline-block;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    padding: 0px;
    height: 800px;
    overflow: hidden;
}

.videoOverlay {
    position: absolute;
    top: 30%;
    text-align: center;
    left: 30%;
    right: 30%;
}

#heroVideo {
/*    position: fixed;*/
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
}

#homepageHero h1 {
    font-weight: 400;
    font-size: 3em;
    margin-bottom: 30px;
}

#homepageHero span {
    display: block;
    margin-top: 30px;
    font-size: 3em;
}

#myVideo {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#heroText {
    margin-top: 270px;
    margin-bottom: 90px;
    text-align: center;
}

.pinkButton {
    display: inline-block;
    background-color: #e7526b;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.5s;
    color: white;
    text-decoration: none;
    box-sizing: border-box;
}

.pinkButton:hover {
    background-color: #c21f3a;
}

.blueSection {
    background-color: #2e3b4e;
    color: white;
    padding: 80px 0;
}

.twoColumn {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2,49%);
    grid-gap: 2%;
}

.freeQuoteSection {
    background-image: url('/images/freequote-bg.jpg');
    background-size: cover;
    position: relative;
    text-align: center;
    color: white;
    padding: 120px 0;
}

.blueDrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.freeQuoteSection h1 {
    font-weight: 300;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.freeQuoteSection p {
    font-weight: 300;
    max-width: 510px;
    margin: 0 auto;
    margin-bottom: 0px;
    margin-bottom: 25px;
}

.whiteButton {
    display: inline-block;
    background-color: white;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.5s;
    color: #e7526b;
    text-decoration: none;
    box-sizing: border-box;
}

.whiteButton:hover {
    background-color: #ffcad1;
}

.blueSection h2 {
    color: #989ca3;
    text-align: center;
    margin: 15px 0;
    font-weight: 400;
    font-size: 1.3em;
}

.whiteSection {
    background-color: white;
    color: #2c2c2c;
    padding: 80px 0;
}

.whiteSection h1 {
    font-weight: 300;
    color: #2e3b4e;
    font-size: 2.4em;
    margin-bottom: 20px;
}

.whiteSection p {
    line-height: 1.8em;
    text-align: left;
    margin: 0 auto;
    margin-bottom: 20px;
}

.whiteSection h2 {
    font-weight: 700;
    color: #2e3b4e;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.whiteSection ul {
    list-style-position: inside;
    margin-bottom: 20px;
    margin-left: 20px;
}

.greyButton {
    display: inline-block;
    background-color: #969da6;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.5s;
    color: white;
    text-decoration: none;
    max-width: 200px;
    width: 100%;
    box-sizing: border-box;
}

.greyButton:hover {
    background-color: #6c7580;
}

#servicesGrid {
    display: grid;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(3,25%);
    justify-content: center;
    grid-column-gap: 10%;
    grid-row-gap: 60px;
    margin-top: 60px;
}

#servicesGrid > div {
    text-align: center;
    position: relative;
}

#servicesGrid > div img {
    width: 100%;
    margin-bottom: 15px;
}

#servicesGrid > div h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

#servicesGrid > div p {
    font-size: 0.85em;
    margin-bottom: 60px;
    text-align: center;
}

#servicesGrid > div > .greyButton {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#gridLast {
    grid-column: 2;
}

.buySection {
    background-image: url('/images/buyfencing-bg.jpg');
    background-size: cover;
    text-align: center;
    color: white;
    padding: 160px 0;
}

.buySection h1 {
    text-transform: uppercase;
    font-size: 2em;
    margin-bottom: 30px;
}

.buySection p {
    max-width: 510px;
    margin: 0 auto 20px;
}

.blueButton {
    display: inline-block;
    background-color: #2e3b4e;
    padding: 15px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.5s;
    color: white;
    text-decoration: none;
    box-sizing: border-box;
}

.blueButton:hover {
    background-color: #0d1729;
}

footer {
    background-color: #2e3b4e;
    color: white;
    padding: 60px 0;
}

#footerGrid {
    display: grid;
    max-width: 1230px;
    margin: 0 auto;
    grid-template-columns: 30% 20% 10% 25%;
    grid-column-gap: 3%;
    justify-content: center;
    grid-row-gap: 40px;
    padding: 0 20px;
    font-size: 0.8em;
}

#footerLogo {
    margin-top: 100px;
    float: right;
    max-width: 347px;
    width: 100%;
}

footer h2 {
    text-transform: uppercase;
    margin-bottom: 20px;
}

footer p {
    color: #bec1c5;
    margin-bottom: 25px;
}

footer a {
    color: #bec1c5;
    text-decoration: none;
    line-height: 1.8em;
}

footer a:hover {
    text-decoration: underline;
}

#footerCopyright {
    grid-column: span 4;
    text-align: right;
    color: #bec1c5;
    font-size: 0.9em;
}

#footerMap iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.sliderLeft {
    position: absolute;
    left: -25px;
    top: 50%;
}

.sliderRight {
    position: absolute;
    right: -25px;
    top: 50%;
}

.testimonialSlider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

#sliderHolder {
    padding: 0 40px;
    margin: 40px 0;
}

.testimonialSliderElement {
    padding: 0 50px;
}

.testimonialSliderElement img {
    margin: 0 auto;
    display: block;
}

.testimonialSliderElement p {
    margin: 20px 0;
    max-width: none;
}

.testimonialSliderElement a {
    text-decoration: none;
    font-weight: 700;
    color: #e7526b;
    font-size: 1.2em;
    text-align: center;
    display: block;
}

#logosHolder {
    display: grid;
    grid-template-columns: repeat(3,min-content);
    grid-gap: 60px;
    margin-top: 90px;
    justify-content: center;
    justify-items: center;
}

input, textarea {
    padding: 5px 15px;
    border: none;
    font-size: 0.9em;
    margin-bottom: 10px;
    height: 35px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    border-radius: 15px;
    width: 100%;
}

textarea {
    height: 100px;
}

textArea {
    max-width: 100%;
    min-width: 100%;
    float: none;
}

.formLabel {
    display: block;
    padding: 10px 0;
}

.g-recaptcha {
    display: inline-block;
    width: 100%;
}

#MainContent_contactSubmit {
    border: none;
    max-width: 100px;
    display: inline-block;
    background-color: #2e3b4e;
    padding: 5px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.5s;
    color: white;
    text-decoration: none;
    box-sizing: content-box;
}

#MainContent_contactSubmit:hover {
    background-color: #0d1729;
}

#interiorHero {
    width: 100%;
    height: 600px;
    background-color: #2e3b4e;
}

#interiorHero img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    object-position: center;
}

.gallery {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4,300px);
    justify-content: center;
    grid-gap: 40px;
}

.galleryImageContainer img {
    width: 100%;
}