

/* Global Styles */

@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'Overpass', sans-serif;
    width:  100%;
}

body { font-size: 1.4rem; }

h1 { font-size: 2.4rem; } 


li {
    list-style: none;
}
a {
    text-decoration: none;
}

/* MENU STYLES */

.expandedLogo{
  position: fixed;
  padding-top: 5px;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.expandedLogo img{
  position: relative;
  margin-left: 50%;
  height: 75px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  transform: translate(-50%, 0);
}
  
.header{ 
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    height: 75px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    z-index: 10;
}





.resized {
    height: 75px !important;
    
}

.resized .navbar {
 margin-top: 2.5px; 
}


.navbar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 75px;
    margin-bottom: 0px;
    height: 75px;
    -webkit-transition: all 4s ease-in-out;
    transition: all 0.4s ease-in-out;
}


.nav-logo img {
  position: fixed;
  top: 5px;
  left: 10px;
  height: 0px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;

}


.hamburger {
    display: none;
}

.bar {
     display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #475569;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    margin-left: 5rem;
}

.nav-link{
    font-size: 1.6rem;
    font-weight: 400;
    color: #475569;
}

.nav-link:hover{
    color: #fcab5a;
}


@media only screen and (max-width: 600px) {

    .header{ 
    height: 75px;
    }

    body { font-size: 1.2rem; }

    .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-top: 2.5px;
    }

    .nav-menu {

        position: fixed;
        left: -100%;
        top: 150px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.20);
        z-index: 5;
    }

    .expandedLogo img{
    height: 0px !important;
    }

    .nav-logo img {

    top: 5px !important;
    height: 60px !important;
    }

    .nav-menu {
      top: 75px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-logo img {
      position:  absoute;
    }


}

/* Section Spacer */

.spacer {
  height: 1px;
  background-color: #fcab5a;
  margin-bottom: 5vh;
  margin-left: 10vw;
  margin-right: 10vw;
  margin-top: 5vh;
}

.miniSpacer{
  height: 1px;
  background-color: #378DC9;
  margin-bottom: 1vh;
}

.aboutTopSpacer{
 margin-top: 5vw;   
}


/* PARALLAX CSS  */

.thumbnail{

  position:  relative;
  z-index: -5;
  overflow: hidden;
  width:  100vw;
  max-height: 90vh;
}

.indexPara{

  position:  relative;
  z-index: -5;
  overflow: hidden;
  width:  100vw;
  filter: brightness(90%);
  max-height: 80vh;
}


.paraBox{
  position: relative;
  color: black;
  z-index: 4;
  font-size: 62.5%;
}

 .overlay{
  font-size: 4.5vw;
  text-align: center;
  color: whitesmoke;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.line1{font-size: 8.5vw;}
.line2{font-size: 3vw;}
.line2:before{
  content:" ";
  display: block;
  height: 1vw;
  width: 19vw;
  position: absolute;
  top: 52%;
  left: 18.6vw;
  background: white;
}
.line2:after{
  content:" ";
  height: 1vw;
  width: 18.6vw;
  background: white;
  display: block;
  position: absolute;
  top: 52%;
  right: 18.6vw;
}

.aboutPara .overlay{
  top: 55%;  
}

.aboutPara .line2:before{
    top: 82%;
    width: 15vw;
    left: 22vw;
    }
.aboutPara .line2:after{
    top: 82%;
    width: 15vw;
    right: 22vw;
    }

.line3{font-size: 6.4vw;}

.paraButton{
    top:  80%;
    position: absolute;
    bottom: 10%;
    left: 25%;
    width: 50%;
    height: 6.5vw;
    border: 0.5vw solid #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    pointer-events: all;
    cursor: pointer;
}

.paraButton p {
    width: 70%;
    text-align: right;
    color: #fff;
    font-size: 3vw;
}

.arrow{
   width: 30%;
   height: 100%;
   display: flex;
   align-items: center;
   padding-left: 1.5vw;
      -webkit-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
}

.arrow img{
   height: 3vw;

}


.paraButton:hover .arrow {
    padding-left: 3vw;
}



/* Overview Section */

.contentBlock{
    width:  100vw;
    max-width: 100%;
    font-size: 2vw;
    padding:  0px 10vw;
}
@media only screen and (max-width: 840px) {
    .contentBlock{
        font-size: 3vw !important;
    }
}

.contentBlock h1{
    font-size: 3vw;
    color: #1e90ff;
    text-align: center;
}

.contentBlock h1 a{
    color: #1e90ff;
}

.contentBlock h1 a:hover{
    color: #1e90ff;
}
.contentBlock h1 a:visited{
    color: #1e90ff;
}

.row1{
    width: 100vw;
    max-width: 100%;
}

.row1 p {padding: 1vh 10px;}



.row2{
    width: 100vw;
    max-width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 3vw;
    flex-wrap: wrap;
    
}

.findFloatPage .row2{
    flex-wrap: unset;
}

.row2 > * {
    flex: 1 1 100px;
    height: 100%;
    margin: 20px;
}

.row2 p {
    flex-basis: 450px;
    min-width: 51%;
    max-width: 100%;
}

.ffDesc{
 text-align: center;   
}

.ffAddress{
    text-align: right;
}


.row2 img{
    width: 41%;
    min-width: 450px;
    max-width: 50%;
    padding: 20px;
    margin-bottom: 20px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.findFloatPage .row2 img{
    min-width: 150px;
}

.row2 img:hover{
    padding: 0px;
}

@media only screen and (max-width: 600px) {
    
    .contentBlock{
        padding:  0!important;   
        }

    .row2 img{
        min-width: 300px !important;
    }

    .findFloatPage .row2 img {
    min-width: 150px !important;
    padding: 0 !important;
    }
}

.sectionTitle{

    text-align: center;
    background-color: #378DC9;
    color: #aed0e8;
    padding: 1vh 0;
    margin:  8vh 0;
    font-size: 5rem;
}

.infographic{
    width: 100vw;
    max-width: 100%;
    display: flex;
    justify-items: space-around;
    flex-wrap: wrap;
    background-color: #E1F2FE;
    border-radius: 0 25vw 0 25vw;
    padding:  10vw;
}

.infographic > *{
    flex:  1 1 100%;
    flex-basis: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.infoWrap h2{
    color: #378DC9;
}

.infoWrap p{
    width: 80%;
}

.infoWrap > image{
    width: 20vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* FIND A RETAILER SECTION */

/* Section container*/

.findRetailer{
  width:  100vw;
  max-width: 100%;
  padding:  2.5vw; 
  display: flex;
  justify-content: space-around;
  align-items: center;
  left:0px;
  top:0px;
}

.findRetailer > *{
    width:  100%;
}


#map{
  height: 40vh;
  background: grey;
  z-index: 5;
  border: 1px solid orange;
}

/* Form elements container*/


#form{
 margin-right:  2vw;
 display: flex;
 align-items: center;
 flex-direction: column;

}

/* Searchbar and button container*/

.postcodeForm
{
display: flex;
flex-direction: row;
border: 2px solid #fcab5a; 
border-radius: 4px;
background-color: #fff;
}

.postcodeForm > *{
height:  100%;
font-size: 2vw; 
font-weight: bolder;
text-align: center;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
padding: 0px;
margin: 0px;
border: none;
}

/* Searchbar*/


.findRetailer input[type=text] {
color:  #f79011;
text-transform:uppercase
}

.findRetailer input[type=text]:focus {
outline:  none;
}

/* Searchbar button*/

#postcodeButton {
background-color: #EEE;
color: #378DC9;
padding: 0px 2px 0px 2px;
}

#postcodeButton:hover {
    cursor: pointer;
    color: #489EDA;
}

/* Error message - Sits below postcodeForm in forms container*/

#errorMesage {
margin-top: 5px;
color: #d61a25;
}

/* Search results container - In forms container*/

.searchResults{
   height:  0px;
   overflow: hidden;
   -webkit-transition: all 0.6s ease-in-out;
   transition: all 0.6s ease-in-out;
}

.resultsTitle{
    width: 100%;
    margin-top:  30px;
    margin-bottom:  10px;
    text-align: left; 
    font-size: 2.2rem;
    border-radius: 4px;
    color: #378DC9;
}
.resultsLine {
    display: flex;
    justify-content: space-between; 
    padding: 5px;
    font-size: 2rem;
    color: #555555;
    border-bottom: 1px solid #1e90ff;
}

.resultsLine:hover {
    cursor: pointer;
    font-size: 2.1rem;
}

.distance{
    color: #64d164;
    font-weight: bolder;
}

/* Smaller screens*/

@media only screen and (max-width: 840px) {
    
    .findRetailer{ 
    flex-direction: column !important;  
    justify-content: center !important;  
      }

    .postcodeForm > *{
    font-size: 4vw !important; 
    }

    #map{
    margin-top:  5px;
    }

    .resultsTitle{
    margin-top:  5px !important; 
    margin-bottom:  5px !important;
}

    .resultsLine {
    font-size: 3vw !important;
    }

    .resultsLine:hover {
    color: #222;
    }
     
}

.menuSpacer{
    position: absolute;
    top: 150px;
    height:  150px;
}

.FAQContainer{
    width:  100vw;
    max-width: 100%;
    border: 1px solid #1e90ff;
    margin-bottom: 30px;
}

.question{
    width:  100vw;
    max-width: 100%;
    padding-left: 4vw;
    display: flex;
    justify-content: start; 
    align-items: center;  
}


.questionText{
    font-size: 1.5em;
    color: #378DC9;
    cursor: pointer;
}

.answer{ 
    box-sizing: unset;
    max-height: 0px;
    transition: max-height 1s cubic-bezier(0, 1, 0, 1);
    font-size: 1.4em;
    padding: 0 4vw;
    margin: 5px 10px 25px 10px;
    border: 1px solid #1e90ff;
    border-top: 2px solid #1e90ff;
    overflow:  hidden;
    display: flex;
    flex-wrap: wrap;
    background-color: #aed0e8;
    border-radius: 0 0 20% 20%;


}

.answer > *{
    flex:  1 0 100%;
    width: 100%;
} 

.answer .textContainer { 
  padding:  3vw 0 6vw 0;  
  flex-basis: 300px;
}


.answer .imageContainer { 
    padding:  3vw 0 6vw 0; 
    flex-basis: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.answer img { 
    flex-shrink: unset;
    flex-grow: unset;
    width: 250px;
}

.answer ul {
    list-style: disc;
    margin-bottom: 20px;
}

.answer li {
    list-style-type: disc;
    display: list-item;
    disc outside none
    background: red;
    margin-left:  30px;
}



.FAQSetExpanded .answer{
    max-height: 400px;
    transition: max-height 0.3s ease-in-out;
}


.FAQIcon {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 0;
  font-size: 1.5em;
  position: relative;
  cursor: pointer;
}

.FAQSet span {
  position: absolute;
  transition: 300ms;
  background: #378DC9;
  border-radius: 2px;
}


.FAQSet span:first-child {
  top: 25%;
  bottom: 25%;
  width: 10%;
  left: 45%;
}

.FAQSet span:last-child {
  left: 25%;
  right: 25%;
  height: 10%;
  top: 45%;
}


.FAQSetExpanded span {
  transform: rotate(90deg);
}

.FAQSetExpanded span:last-child {
  left: 50%;
  right: 50%;
}

.FAQspace{
    height: 3vw;
}








/* FOOTER */

.footWrap{
 background-image: url("assets/oatbg.png");   
}

.footerContainer{
    margin-top: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    min-height: 130px;
    align-items: center;
    width: 100vw;
    max-width: 100%;
    border-top:  1px solid #fcab5a;
}

.footerContainer >* {
    width: 100%;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.footerLeft{
    padding-left: 5vw;
}

.footerRight {
    padding-right: 5vw;
}

.footerLeft img{
    height: 80px;
    align-self: flex-start;
    -webkit-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.creditsBase{
    margin-left: 20px;
    height: 0px;
    overflow: hidden;
    margin-bottom: 10px;
    }

@media only screen and (max-width: 840px) {

   .footerLeft{
    width: 35% !important;
   }

   .footerRight{
    width: 65% !important;
   }

  .footerLeft img{  
    height: 50px !important;  
    } 

} 

@media only screen and (max-width: 600px) {
    
    .footerContainer{
        min-height: 80px !important;
    }

    .creditsBase{
        height: auto !important;
    }
    .credits{
        height: 0 !important;
    }

    .socialMediaLinks{

        height: 100% !important;
    }

    .socialMediaLinks img{
        height: 75px;
        padding: 1px;
    }

    .footerRight {
    height: 100%;
    justify-content: center;
    }


}





.socialMediaLinks{
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.socialMediaLinks img{
    height: 60px;
    padding: 5px;

}

.credits{
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.credits p {
    text-align: right;

}






