/*RESET*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	text-decoration: none;
	outline: inherit;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

::-webkit-scrollbar {
    width:10px;
}
 
::-webkit-scrollbar-track {
    background:rgba(255,255,255,0.3);
}
 
::-webkit-scrollbar-thumb {
	background:#999;
    border-radius: 5px;
}

body {
    font-family: 'Lato', sans-serif;
    color: #222222;
    width: 100%;
    height: 100%;
    position: relative;
}


/*FONTS*/
@import url('https://fonts.googleapis.com/css?family=Abhaya+Libre:800|Lato:400,700');
strong {
    font-weight: 700;
}

p,
li {
    font-size: 16px;
    line-height: 150%;
    margin: 20px auto;
    letter-spacing: 1px;
}

ul li,
ol li {
    margin: 5px 0;
    margin-left: 25px;
}

ul.no-list {
    list-style: none;
}
ul.no-list li {
    margin: 0;
    padding: 5px 0;
}
ul.no-list .fa {
    font-size: 24px;
    width: 30px;
    color: #222222;
}


/*LINKS*/
a:link,
a:hover,
a:visited,
a:focus,
a:active {
    color: inherit;
    text-decoration: none;
}
.link a:link {
    color: #d43847;
    text-decoration: underline;
}
.link a:hover,
.link a:focus {
    text-decoration: none;
}
.link a:visited {
    color: #d43847;
}

.underline {
    text-decoration: underline;
}
.underline:hover,
.underline:focus {
    text-decoration: none;
}


/*OBJECTS*/
.button {
    display: inline-block;
    padding: 15px 20px;
    background: white;
    color: #d43847;
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    outline: none;
    -webkit-appearance: none;
    margin: 20px auto 0;
    border-radius: 40px;
    border: 2px solid #d43847;
    font-size: 16px;
}
.button:hover,
.button:focus {
    cursor: pointer;
    background: #d43847;
    color: white;
}

hr {
    border: none;
    margin: 50px auto;
    width: 100%;
    height: 1px;
    background: #ddd;
}
nav hr {
    margin: 10px auto;
}
footer hr {
    margin: 10px auto 10px 25px;
}
footer i.fa {
    font-size: 36px;
}

.banner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    border: 2px solid white;
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    position: relative;
    z-index: 100;
    overflow: hidden;
}
.banner img {
    width: 100%;
}
.banner iframe {
    width: 100%;
    border: none;
}

.icon {
    width: 80px;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
 }
 .embed-container iframe,
 .embed-container object,
 .embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

.map {
    width: 100%;
    height: 600px;
    margin: 0;
    border: none;
}

.image-100 {
    width: 100%;
}
img,
video {
    max-width: 100%;
}
video {
    max-height: 90vh;
}

.diagram-border {
    border: 2px solid black;
    padding: 3px;
    margin-left: 10px;
}

.dealer-map {
    width: 100%;
    height: 500px;
    margin: 25px 0;
    border: none;
    outline: none;
}

.gallery {
    width: calc(50% - 2px);
}
.gallery img {
    width: 100%;
}
.gallery img:hover {
    opacity: .5;
}


/*DIVS*/
section {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
section.narrow {
    width: calc(90% - 350px);
    margin: 100px 0;
    float: left;
}

.banner-dealer {
    background: #d43847;
    color: white;
    padding: 25px 0;
}

.tile {
    background: #f9f9f9;
    padding: 5px 20px;
    border-radius: 5px;
    margin: 10px 0;
}

.logo {
    float: left;
    margin: 10px 0 0;
    width: 75%;
    max-width: 300px;
}
.logo img {
    width: 100%;
    margin-top: 10px;
}
.logo p {
    margin: 0;
    color: #d43847;
}

nav {
    float: right;
    text-align: right;
    margin-top: 10px;
}
nav button.button {
    display: none;
}
nav ul {
    list-style: none;
    padding: 10px 0 0;
}
nav ul li {
    display: inline;
    font-size: 16px;
    margin: 0 0 0 15px;
    padding: 0;
}
nav ul li a:link {
    color: #222222;
    text-decoration: none;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li.active,
nav ul li strong {
    color: #d43847;
}

nav ul li.dropdown {
    position: relative;
}
nav ul li.dropdown ul {
    display: none;
    position: absolute;
    top: 17px;
    left: 0;
    width: 300px;
    text-align: left;
    background: white;
    z-index: 1000;
    box-shadow: 0 15px 10px rgba(0,0,0,0.1);
}
nav ul li.dropdown ul li {
    display: block;
    margin-bottom: 5px;
}
nav ul li.dropdown:hover ul {
    display: block;
}
.show-mobile {
    display: none;
}

.container-white,
.container-grey {
    width: 100%;
    padding: 100px 0;
}
.container-grey {
    background: #f4f4f4;
}

.cell-1-3 {
    width: 32%;
    padding: 25px;
}
section.narrow .cell-1-3 {
    padding: 25px 0;
}

.cell-1-4 {
    width: 23%;
    padding: 10px;
}
.cell-1-4 .icon {
    width: 100px;
    margin: 0 auto;
}
.cell-1-4 img {
    width: 100%;
}
.cell-1-4 p {
    margin: 0;
}

.cell-3-4 {
    width: 73%;
    padding: 10px;
}

.cell-1-2 {
    width: 46%;
    position: relative;
}
.cell-1-2 img {
    width: 100%;
}

.cell-slider {
    width: 500px;
}
.cell-slider img {
    width: 100%;
}

.cell-door {
    width: 30%;
    position: sticky;
    position: -webkit-sticky;
    padding-top: 20px;
    top: 0;
    float: left;
}
.cell-door img {
    max-height: 80vh;
}
.cell-details {
    width: 60%;
    margin-left: 40%;
}

.cell-reviews {
    width: calc(95% - 500px);
}

.cell-icon {
    width: 90px;
    padding: 10px;
}
.cell-icon img {
    width: 100%;
}
.cell-text {
    width: calc(100% - 100px);
}

.cell-install {
    width: 45%;
}
.cell-install img {
    width: 100%;
}
.dont-buy {
    width: 100%;
}

.screens p {
    display: inline-block;
    margin:10px;
}
.frame-colour {
    text-align: center;
    display: inline-block;
    padding: 20px;
    border-radius: 5px;
}
.frame-colour .swatch {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    margin: 0 auto;
}
.frame-colour p {
    margin: 0 auto;
}
.cell-colours {
    width: 100%;
}
#bronze {
    background: #3d2821;
    color: white;
}
#sandstone {
    background: #beb9ab;
}
#white {
    background: #e0dfdd;
}
#black {
    background: #231f20;
    color: white;
}
#pebble-khaki {
    background: #a89f88;
}
.cell-maintenance {
    width: 100%;
}

.under-banner {
    background: #f4f4f4;
    padding: 25px;
}
.under-banner img {
    width: 90%;
    max-width: 300px;
}
#enclosures {
    background: url(../images/thumbs/enclosures.jpg) no-repeat top left;
    background-size: cover;
    min-height: 450px;
}
#dealer {
    background: url(../images/thumbs/dealer.jpg) no-repeat center top;
    background-size: cover;
    min-height: 450px;
}

.sidebar {
    width: 350px;
    margin: 0;
    float: right;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    background: #f9f9f9;
}
.sidebar .space {
    margin-top: 25px;
}

footer {
    background: #222;
    padding: 50px 0;
}
footer ul {
    list-style: none;
}
footer ul li a:link,
footer ul li a:visited {
    color: #dddddd;
    text-decoration: none;
}
footer ul li a:hover {
    color: #d43847;
}
footer ul li:first-child,
footer ul li:first-child a:visited {
    font-weight: bold;
    font-size: 18px;
    color: #d43847;
}
footer ul:last-child li:nth-child(4) {
    word-break: break-all;
}
footer .beard {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    border: 2px solid white;
    margin: 25px auto;
}
footer .beard:hover,
footer .beard:focus {
    border: 2px solid #d43847;
}


/*FORM*/
form {
    width: 100%;
    max-width: 532px;
    position: relative;
    margin: 0;
    text-align: left;
}
form label {
    display: none;
    font-size: 0;
}

input,
textarea {
    width: 100%;
    margin: 2px 0;
    padding: 10px;
    background: #f4f4f4;
    border: none;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #222222;
    -webkit-appearance: none;
}
input:hover,
textarea:hover {
    padding: 10px 15px;
}

textarea {
    width: 100%;
    height: 150px;
}

.grecaptcha-badge {
    position: absolute !important;
    bottom: -70px !important;
    left: 0 !important;
}


/*MODIFIERS*/
.left {
    text-align: left;
}
.right {
	text-align: right;
}
.center {
	text-align: center;
}
.justify {
	text-align: justify;
}

.pdg-20 {
    padding: 0 20px 50px 20px;
}

.ftlt {
    float: left;
}
.ftrt {
    float: right;
}
.clear {
    clear: both;
}

.space {
    margin-top: 100px;
}

.flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.flex-start {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.heading {
    font-family: 'Abhaya Libre', serif;
    font-weight: 800;
    font-size: 48px;
    font-style: italic;
    letter-spacing: 1px;
}
.sub-heading {
    font-family: 'Abhaya Libre', serif;
    font-weight: 800;
    font-size: 24px;
    font-style: italic;
    letter-spacing: 1px;
}
.tag {
    padding: 10px;
    position: absolute;
    background: #d43847;
    color: white;
    bottom: 5px;
    left: -10px;
    z-index: 100;
    font-size: 21px;
    font-weight: bold;
}
.question {
    font-size: 21px;
    margin: 50px 0 0;
    color: #222;
    font-weight: bold;
    padding-left: 30px;
    position: relative;
}
.question:before {
    content: 'Q.';
    position: absolute;
    left: 0;
}
.answer {
    margin: 0;
    padding-left: 30px;
}

.red {
    color: #d43847;
}


/*MEDIA QUERIES*/
@media (max-width:1400px) {
    .map {
        height: 500px;
    }
}

@media (max-width:1024px) {
    header {
        position: relative;
    }
    nav {
        margin: 35px auto 0;
        padding: 0;
        width: 100%;
        position: absolute;
        right: 0;
        z-index: 200;
    }
    nav button.button {
        display: block;
        -webkit-transition: none;
        transition: none;
        margin: 10px 0 0;
        float: right;
    }
    nav ul {
        display: none;
        -webkit-transition: none;
        transition: none;
        width: 100%;
        background: white;
        text-align: right;
        padding: 20px;
    }
    nav ul.hide-mobile {
        display: none !important;
    }
    nav ul li {
        display: block;
        border-bottom: 1px solid #eeeeee;
        padding: 5px 0;
        margin: 0;
    }
    nav ul li.dropdown ul {
        position: relative;
        top: 0;
        width: auto;
        text-align: right;
        box-shadow: none;
        padding: 0;
    }
    nav ul li.dropdown ul hr {
        display: none;
    }

    .under-banner {
        width: 48%;
        margin-bottom: 25px;
    }
    #dealer {
        width: 100%;
        min-height: 350px;
        padding: 25px;
        background: url(../images/thumbs/dealer-wide.jpg) no-repeat top center;
        background-size: cover;
    }

    .cell-slider,
    .cell-reviews {
        width: 100%;
    }
    .cell-slider img {
        max-width: 768px;
        margin-bottom: 25px;
    }

    footer ul {
        width: 48%;
        margin-bottom: 20px;
    }

    section.narrow {
        width: 100%;
        padding: 0;
    }
    .sidebar {
        width: 100%;
    }
    .sidebar .cell-1-2 {
        width: calc(25% - 20px);
    }
    .cell-colours {
        width: calc(50% - 10px);
    }
    .swatches .frame-colour {
        width: 33.33%;
    }

    .map,
    .dealer-map {
        height: 400px;
    }
}

@media (max-width:960px) {
    .map {
        height: 425px;
    }
}

@media (max-width:768px) {
    .container-white,
    .container-grey {
        padding: 50px 0;
    }
    section.narrow {
        margin: 50px 0;
    }

    .cell-1-3 {
        width: 48%;
    }

    .under-banner {
        width: 100%;
    }
    .under-banner p {
        max-width: 400px;
        margin: 24px 0;
    }
    #enclosures {
        min-height: 350px;
        background-position: left center;
    }

    #dealer {
        background: url(../images/thumbs/dealer.jpg) no-repeat center;
        background-size: cover;
    }

    .cell-1-2 {
        width: 100%;
    }
    .sidebar .cell-1-2 {
        width: calc(50% - 10px);
    }

    .space {
        margin-top: 50px;
    }
    #dealer-locations .space {
        margin-top: 100px;
    }

    .map,
    .dealer-map {
        height: 350px;
    }

    .cell-door,
    .cell-details {
        width: 100%;
        position: relative;
        float: none;
        margin: 0;
    }
    .cell-door img {
        max-width: 300px;
    }
}

@media (max-width:532px) {
    nav ul:nth-child(2) li:first-child,
    nav ul:nth-child(2) li:nth-child(2) {
        display: none;
    }

    footer ul {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    footer ul li {
        margin: 0;
    }
    footer hr {
        margin: 10px auto;
    }

    .cell-1-3 {
        width: 100%;
    }

    #enclosures,
    #dealer {
        min-height: 400px;
    }

    .cell-install {
        width: 100%;
    }

    .cell-icon {
        width: 100%;
        padding: 0;
    }
    .cell-icon img {
        width: 80px;
    }
    .cell-text {
        width: 100%;
    }

    .cell-1-4 {
        width: 48%;
    }

    .map {
        height: 250px;
    }

    .cell-colours {
        width: 100%;
    }
}

@media (max-width:414px) {  
    
}