:root{
    /* Colours */
    --brandPrimary: #0073ae;
    --brandHighlight: #029ae6;
    --lightPrimary: #ffffff;
    --lightSecondary: #f8f8f8;
    --darkPrimary: #000000;
    --darkSecondary: #222222;
    --darkTertiary: #555555;
    /* Fonts */
    --brandFontPrimary: "Raleway", sans-serif;
    /* Padding */
    --paddingTiny: 10px;
    --paddingSmall: 40px;
    --paddingMedium: 60px;
    --paddingLarge: 80px;
    /* Header */
    --navHeightMobile: 100px;
    /* Structure */
    --wrapperWidth: 90%;
    --wrapperMaxWidth: 2000px;
}

html, body{
    padding: 0px;
    margin: 0px;
    font-family: var(--brandFontPrimary);
    font-feature-settings: 'lnum' 1;
    scroll-behavior: smooth;
}

a{
    color: inherit;
}

/* ==
   STRUCTURE
== */

.outer-wrapper{
    width: var(--wrapperWidth);
    max-width: var(--wrapperMaxWidth);
    margin: auto;
}


.container{
    display: flex;
    position: relative;
    margin:auto;
}

.inner-container{
    /* max-width: 2000px; */
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}

.inner-container-narrow{
    display: flex;
    width: var(--wrapperWidth);
    max-width: var(--wrapperMaxWidth);
    margin:auto;
    flex-wrap: wrap;
    position: relative;
}

/* ==
   HELPER CLASSES
   These classes are intended for use on .container, which is always a flexbox.
== */

/* Backgrounds */
.bg-brandPrimary{
    background-color: var(--brandPrimary);
}
.bg-lightPrimary{
    background-color: var(--lightPrimary);
}
.bg-darkPrimary{
    background-color: var(--darkPrimary);
}
.bg-white{
    background-color: var(--lightPrimary);
}

.bg-blue{
    background-color: var(--brandPrimary);
    color: var(--lightPrimary);
}
.bg-darkGrey{
    background-color: var(--darkSecondary);
    color: var(--lightPrimary);
}
.bg-darkGrey a{
    color:rgb(255, 122, 122);
    transition: 0.2s;
}
.bg-darkGrey a:hover,
.bg-darkGrey a:focus,
.bg-darkGrey a:active{
    color:rgb(255, 255, 255);
}
.bg-lightGrey{
    background-color: var(--darkTertiary);
    color: var(--lightPrimary);
}


/* Background colour columns */
.featureColouredColumns{
    position: relative;
}
.featureColouredColumns .backgroound-colours{
    display: flex;
    position: absolute;
    width:100%;
    height:100%;
}
.featureColouredColumns .backgroound-colours > div{
    width:100%;
}

.featureColouredColumns .inner-container-narrow{
    /* width:; */
    /* max-width: var(--wrapperMaxWidth); */
}

.featureColouredColumns .inner-container-narrow .left-content-box,
.featureColouredColumns .inner-container-narrow .right-content-box{
    display:flex;
}

.featureColouredColumns .inner-container-narrow > div{
    width:50%;
    padding: var(--paddingLarge);
    /* padding: var(--paddingMedium) var(--paddingTiny); */
    box-sizing: border-box;
}

.featureColouredColumns h2{
    font-size: 2.8em;
    margin-bottom:0.5em;
    margin-top:0;
}

.featureColouredColumns p{
    font-size: 1.4em;
    line-height: 1.4em;
}
.featureColouredColumns p:last-of-type{
    margin-bottom: 0;
}
.featureColouredColumns p:first-of-type{
    margin-top: 0;
}



/* Feature text 2 cols */

.featureText2Col .heading-box h2{
    font-size: 2.8em;
    margin-bottom:0.5em;
    margin-top:0;
}
.featureText2Col p:last-of-type{
    margin-bottom: 0;
}
.featureText2Col p:first-of-type{
    margin-top: 0;
}

.featureText2Col .heading-box,
.featureText2Col .cols-box{
    padding: var(--paddingLarge);
    /* padding: var(--paddingMedium) var(--paddingTiny); */
    box-sizing: border-box;
}
.featureText2Col .heading-box{
    padding-bottom: 0;
}
.featureText2Col .cols-box{
    padding-top: 0;
    display: flex;
}

.featureText2Col .cols-box .left{
    width:65%;
    display: flex;
}

.featureText2Col .cols-box .left .left-content-box{
    font-size: 2em;
    line-height: 1.4em;
    padding-right: var(--paddingSmall);
}

.featureText2Col .cols-box .right{
    width:35%;
}

.featureText2Col .cols-box .right .right-content-box{
    font-size: 1.4em;
    line-height: 1.4em;
}

/* Text */
.text-brandPrimary{
    color: var(--brandPrimary);
}
.text-lightPrimary{
    color: var(--lightPrimary);
}
.text-darkPrimary{
    color: var(--darkPrimary);
}
.text-align-center{
    text-align: center;
}
.text-align-left{
    text-align:left;
}
.text-align-right{
    text-align: right;
}

/* Alignment */
.justify-start{
    justify-content: start;
}
.justify-center{
    justify-content: center;
}
.justify-end{
    justify-content: end;
}
.justify-space-between{
    justify-content: space-between;
}
.justify-space-around{
    justify-content: space-around;
}
.justify-space-evenly{
    justify-content: space-evenly;
}
.align-items-center{
    align-items: center;
}

/* Flex */
.direction-column{
    flex-direction: column;
}

/* Padding */
.padding-tiny{
    padding: var(--paddingTiny);
}
.padding-small{
    padding: var(--paddingSmall);
}

/* Animations */
.start-hidden{
    opacity: 0;
}
.fade-in-top{
    animation: fade-in-top 1.5s linear 0.5s 1 forwards;
}
.fade-in-bottom{
    animation: fade-in-bottom 1.5s linear 0.5s 1 forwards;
}
.fade-in-left{
    animation: fade-in-left 1.5s linear 0.5s 1 forwards;
}
.fade-in-right{
    animation: fade-in-right 1.5s linear 0.5s 1 forwards;
}
.floaty{
    animation: floaty ease-in-out infinite;
}

/* A11y */
.visibility-hidden{
    visibility: hidden;
}


/* Header & Footer */

footer{
    padding: var(--paddingSmall);
    background-color: var(--brandPrimary);
}

header{
    position: fixed;
    top: 0px;
    background-color: rgba(255,255,255,0.6);
    width: 100%; 
    z-index: 1;
    backdrop-filter: blur(5px);
}

header .outer-wrapper{
    padding: 0 var(--paddingMedium);
    box-sizing: border-box;
}

nav{
    display: flex;
    
}

nav ul{
    display: flex;
    padding: 0px;
    margin: 0px;
}

nav li{
    list-style: none;
    display:flex;
    align-items: center;
}

nav a{
    font-weight: bold;
    text-decoration: none;
    padding: var(--paddingTiny);
    color: var(--darkPrimary);
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

nav a.phone{
    color: var(--brandPrimary);
}

nav a:hover{
    color: var(--brandPrimary);
}

/* Map */
#googleMap {
    width: 100%;
}
    #googleMap #map {
    height: 500px;
    width: 100%;
}

/* Splash area */
#splash{
    background-size: cover;
    height: 50vw;
    max-height: 1000px;
    overflow: hidden;
    position: relative;
    padding-top:40px;
    /* animation: fade-in 1.5s linear 0.5s 1 forwards; */
    background-attachment: fixed;
    background-position: center;
}
#splash .inner-container{
    height: 50vw;
    max-height: 1000px;
    margin: 0px auto;
    position: relative;
    overflow: hidden;

}
#splash .logo-container{
    position:absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
}

#splash .logo-container img{
    width: 100%;
    height: auto;
}

/* #splash .logo-container .secondary-animation-container{
    animation: fade-in-down 1s ease 2s 1 forwards;
} */

#splash .main-image-container{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5%;
    width: 25%;
}

#splash .main-image-container img{
    width: 100%;
    height: auto;
    animation: sway 3s ease-in-out infinite;
    transform-origin: 70% 90%;
}

/* #splash .main-image-container .secondary-animation-container{
    animation: fade-in-up 1s ease 2s 1 forwards;
} */

#splash .smaller-image-container{
    position: absolute;
    transform: translate(-50%, -50%);
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

#splash .smaller-image-container img{
    width:100%;
    height: auto;
}

/* Bg colours */
.bg-white{
    background-color: var(--lightPrimary);
    color: var(--darkPrimary)
}

/* Matrix blocks */
.introSection{
    font-size: 2em;
}
.introSection .container{
    padding-top: var(--paddingMedium);
    padding-bottom: var(--paddingMedium);
}
.introSection h1{
    font-weight: 100;
    color: var(--brandPrimary);
    width:100%;
}

.fullWidthImages .image-container{
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fullWidthImages img{
    min-width: 100%;
    width: 100%;
    min-height: 100%;
    height: auto;
    object-fit: cover;
}

/* Forms & modals */
form label {
    visibility: hidden;
    height:0px;
    width:0px;
    display: block;
}

form input,
form textarea{
    padding: 0.8em;
    border: 1px solid var(--brandPrimary);
    width:90%;
    margin: 4px;
    resize: none;
    font-family: var(--brandFontPrimary);
    font-size: 1em;
    letter-spacing: 0.02em;
}

form input::placeholder,
form textarea::placeholder{
    color: var(--brandPrimary);
}

form button,
a.button{
    text-transform: uppercase;
    padding: 0.8em 2.5em;
    font-size: 1em;
    font-weight: 800;
    border:0px solid;
    background-color: var(--brandPrimary);
    color: var(--lightPrimary);
    margin: 4px;
    transition: 0.2s;
    letter-spacing: 0.03em;
    text-decoration: none;
}
form button:hover,
form button:focus,
form button:active,
a.button:hover,
a.button:focus,
a.button:active{
    background-color: var(--brandHighlight);
    color: var(--lightPrimary);
    cursor: pointer;
}

.modal{
    position:fixed;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    display:block;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content: center;
}

.modal .shroud{
    position: fixed;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    display:block;
    z-index:3;
    background-color: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    overscroll-behavior-y: contain;
    transition: 0.5s; /*This needs to be longer than 0.4*/
}

.modal .shroud.backdrop-blur{
    backdrop-filter: blur(6px);
}

.modal-inner{
    box-shadow: 0px 0px 50px rgba(0,0,0,0.2);
    width:100%;
    max-width: 1000px;
    position: relative;
    background-color: var(--lightPrimary);
    max-height: 100%;
    overflow: scroll;
    z-index:4;
    overscroll-behavior-y: contain;
}

.form-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-bottom: var(--paddingMedium);
    /* padding-top: var(--paddingSmall); */
    padding-top: 0px;
}

.form-wrapper .image-container img{
    width:100%;
    height:auto;
}

.modal-inner h3{
    font-size: 2.4em;
    color: var(--brandPrimary);
    padding-top: var(--paddingMedium);
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.modal-inner h3 .light{
    font-weight: 300;
    letter-spacing: 0.01em;
}

.form-wrapper .form-container,
.form-wrapper .image-container{
    width: 47.5%;
}

.modal .button-close{
    width :30px;
    height: 30px;
    /* background-image: url('/assets/images/close.svg'); */
    position: absolute;
    right:0px;
    top:0px;
    padding: 20px;
    transition: 0.2s;

}
.modal .button-close svg{
    width: 30px;
    height: 30px;
    fill: var(--brandPrimary)!important;
    transition: 0.2s;
}

.modal .button-close:hover{
    background-color: var(--brandHighlight);
}

.modal .button-close:hover svg{
    fill: var(--lightPrimary)!important;
}

/* storage units section */
.storageUnits{
    padding-top: var(--paddingMedium);
    padding-bottom: var(--paddingMedium);
}

.storageUnits .section-title{
    width:100%;
}

.storageUnits .section-title h2{
    font-size: 2.8em;
    letter-spacing: 0.02em;
    color: var(--brandPrimary);
    text-transform: uppercase;
    margin-bottom: 0px;
}
.storageUnits .section-title p{
    font-size: 1.4em;
    letter-spacing: 0.02em;
    color: var(--brandPrimary);
    /* margin-top: var(--paddingTiny); */
    margin-top: 0;
}

.storageUnits .storage-unit{
    box-sizing: border-box;
    padding-top: var(--paddingSmall);
    padding-bottom: var(--paddingLarge);
    padding-left: var(--paddingSmall);
    padding-right: var(--paddingSmall);
    transition: 0s;
}

.storageUnits .storage-unit:hover{
    background-color: var(--lightSecondary);
}

.storageUnits .storage-unit:hover img{
    mix-blend-mode: multiply;
    /* transition: 0.4s; */
}

.storageUnits .storage-unit.one-third{
    width:33.33%;
}

.storageUnits .storage-unit.one-half{
    width:50%;
}

.storageUnits .storage-unit img{
    width:100%;
    height:auto;
}

.storageUnits .storage-unit h3{
    font-size: 1.8em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--brandPrimary);
    margin-bottom: 0;
}

.storageUnits .storage-unit p.subtitle{
    font-size: 1.2em;
    letter-spacing: 0.02em;
    color: var(--brandPrimary);
    margin-top: 0.3em;
    margin-bottom:0;
}

.storageUnits .storage-unit h3 .light{
    font-weight: 300;
    text-transform: none;
}

/* .storageUnits .section-title */
/* .storageUnits .section-title */




@keyframes sway {
    0%{
        transform: rotate(-2deg);
    }
    50%{
        transform: rotate(5deg);
    }
    100%{
        transform: rotate(-2deg);
    }
}

@keyframes fade-in-up {
    0%{
        transform: translateY(200px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fade-in-down {
    0%{
        transform: translateY(-200px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fade-in-left {
    0%{
        transform: translateX(-200px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes fade-in-right {
    0%{
        transform: translateX(200px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes fade-in {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

@keyframes floaty {
    0%{
        transform: translateY(-10px) rotate(-2deg);
    }
    50%{
        transform: translateY(10px) rotate(2deg);
    }
    100%{
        transform: translateY(-10px) rotate(-2deg);
    }
}

/* Iconfonts */
@font-face {
    font-family: 'storego';
    src: url("../fonts/storego.eot?eak8xe");
    src: url("../fonts/storego.eot?eak8xe#iefix") format("embedded-opentype"), url("../fonts/storego.ttf?eak8xe") format("truetype"), url("../fonts/storego.woff?eak8xe") format("woff"), url("../fonts/storego.svg?eak8xe#storego") format("svg");
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'storego' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-clock:before {
    content: "\e900";
}

.icon-map:before {
    content: "\e901";
}

.icon-phone:before {
    content: "\e902";
}

.iconLarge{
    font-size:5em;
    margin-top: 0.2em;
    margin-right: 0.3em;
}

section, .right, .left{
    position: relative;
}
.anchor{
    position:absolute;
    top:-80px;
}

/* Breakpoint - Tablet */
@media screen and (max-width: 1400px) {
    :root{
        --wrapperWidth: 100%;
    }
    .iconLarge{
        font-size:4em;
    }
    .featureColouredColumns p,
    .featureText2Col .cols-box .right .right-content-box{
        font-size:1.2em;
    }
    .featureText2Col .cols-box .left .left-content-box{
        font-size: 1.6em;
    }
}

@media screen and (max-width: 1200px) {

    :root{
        --paddingTiny: 10px;
        --paddingSmall: 30px;
        --paddingMedium: 40px;
        --paddingLarge: 50px;
    }

    .featureColouredColumns .inner-container-narrow > div{
        width:100%;
    }
    .featureColouredColumns .inner-container-narrow h2{
        /* text-align: center; */
    }
    .featureColouredColumns .inner-container-narrow .left-content-box, 
    .featureColouredColumns .inner-container-narrow .right-content-box{
        /* justify-content: center; */
    }
    .featureText2Col .cols-box .left,
    .featureText2Col .cols-box .right{
        width:100%;
    }
    .featureText2Col .cols-box{
        flex-wrap: wrap;
    }
    .featureText2Col .cols-box .left .left-content-box{
        padding-right: 0;
        padding-bottom: var(--paddingSmall);
    }
}

@media screen and (max-width: 1000px) {
    .mobile-hidden{
        display:none;
    }
    header .container{
        flex-wrap: wrap;
        justify-content: center!important;
    }
    header .container > div{
        width:100%;
        text-align: center;
    }
    .anchor{
        position:absolute;
        top:-100px;
    }
    #splash{
        padding-top:100px;
        height: 65vw;
    }
    #splash .inner-container {
        height: 65vw;
        max-height: auto;
        margin-left: -14%;
        margin-right: -14%;
        width: 128%;
    }
    header .outer-wrapper{
        padding: 0 var(--paddingSmall);
    }
    nav a{
        font-size:0.8em;
        padding: 1.2em 0.6em;
        letter-spacing: 0.02em;
    }
    .introSection h1{
        font-size:1.2em;
    }

    .storageUnits .section-title h2,
    .featureText2Col .heading-box h2,
    .featureColouredColumns h2{
        font-size: 2em;
    }

    .storageUnits .storage-unit h3{
        font-size: 1.6em;
    }
    .storageUnits .section-title p{
        font-size: 1.2em;
    }
    .storageUnits .storage-unit p.subtitle{
        font-size: 1em;
    }
    .iconLarge{
        font-size:4em;
    }
    .featureColouredColumns p,
    .featureText2Col .cols-box .right .right-content-box{
        font-size:1em;
    }
    .featureText2Col .cols-box .left .left-content-box{
        font-size: 1.3em;
    }
    
}

@media screen and (max-width: 650px) {
    .storageUnits .storage-unit.one-third,
    .storageUnits .storage-unit.one-half{
        width:50%;
    }
    .featureText2Col .icon-box{
        display: none;
    }
    .modal .form-wrapper{
        flex-wrap: wrap;
    }
    .modal .form-wrapper > div{
        width:100%;
        max-width: 90%;
    }
    .modal .form-wrapper .image-container{
        width:70%;
    }

    /* .storageUnits .image-container {
        width:30%;
        float:left;
        padding-right: 20px;
        box-sizing: border-box;
        vertical-align: top;
    }

    .storageUnits h3{
        display:inline-block;
        text-align:left;
        width:70%;
        float: right;
        margin-top:1.3em;
    }

    .storageUnits .storage-unit p.subtitle,
    .storageUnits .storage-unit p.unit-size{
        display: inline-block;
        text-align:left;
        width:70%;
        float: right;
        margin-bottom:0;
    }

    .storageUnits .storage-unit .form button, a.button{
        display: inline-block;
        text-align:left;
        float: left;
    }

    .storageUnits .storage-unit{
        text-align: left;
    } */

}


.mobile-contact-bar{
    display: none;
    position: fixed;
    left:0px;
    right:0px;
    bottom:0px;
    background-color: rgba(0,115,174,1);
    backdrop-filter: blur(4px);
    box-shadow: 0px 5px 60px rgba(0,0,0,0.5), 0px 5px 8px rgba(0,0,0,0.3);
    margin: 2em 1em;
    border-radius: 0.5em;
}

.mobile-contact-bar a{
    width:100%;
    padding:1em;
    display:block;
    text-align: center;
    text-decoration:none;
    font-weight:800;
    color: var(--lightPrimary);
    letter-spacing: 0.06em;
    font-size: 1.2em;
    margin: 0em;
}

/* Breakpoint - Phone */

@media screen and (max-width: 550px) {
    #splash{
        padding-top:0px;
        height: 94vw;
    }
    #splash .inner-container {
        height: 94vw;
        max-height: auto;
        margin-left: -40%;
        margin-right: -40%;
        width: 180%;
    }
    
    .fullWidthImages .container{
        flex-wrap: wrap;
    
    }
    .fullWidthImages .image-container{
        width:100%;
    }
    
    header{
        display: none;
    }
    
    .mobile-contact-bar{
        display: block;
    }
    footer{
        padding-bottom:140px!important;
        font-size:0.8em;
    }
    .modal .form-wrapper .image-container{
        width:80%;
    }
}

