/* Document variables */

html { 
  font-size: 1rem;
  font-weight: 400;
}

body {
  font-family: 'Raleway', 'Helvetica', sans-serif;
  line-height: 1.7rem;
  color: #262626;
}

:root {
--overlay-color: rgba(24, 39, 51 , 0.85);
--menu-speed: 0.75s;
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

a {
color: #262626;
text-decoration: none;
}

ul {
list-style: none;
}

/* Text across the document */

h2,
p {
font-family: 'Raleway', 'Helvetica', sans-serif;
color: #4F4D4D;
} 

h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Hyperlink style */
a.experienceBodyLink {
  color: #007fff;
}


/* import Google fonts */

@font-face {
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: local('Raleway SemiBold Italic'), local('Raleway-SemiBoldItalic'), url(https://fonts.gstatic.com/s/raleway/v14/1Ptpg8zYS_SKggPNyCgwkqV_AtCb71ka4Q.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Raleway'), local('Raleway-Regular'), url(https://fonts.gstatic.com/s/raleway/v14/1Ptug8zYS_SKggPNyC0IT4ttDfA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Raleway Medium'), local('Raleway-Medium'), url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwN4rWqZPANqczVs.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Raleway SemiBold'), local('Raleway-SemiBold'), url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwPIsWqZPANqczVs.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
  @font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Raleway Bold'), local('Raleway-Bold'), url(https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwJYtWqZPANqczVs.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
/* 90% page container */

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header & nav elements */

.home-link {
  z-index: 10;
}

.main-nav {
    position: relative;
  }
  
  .navContainer {
    position: absolute;
    width: 100%;
  }
  
  .main-nav ul.deskNavMenu {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    font-size: 1.2rem;
    font-family: 'Raleway', 'Helvetica', sans-serif;
    font-weight: 300; 
    letter-spacing: 0.15rem; 
    }
  
    .main-nav ul li a:hover {
      border-bottom: 1px solid #262626;
    }
  
  .main-nav ul {
    display: flex;
  }
  
  .main-nav ul li {
    padding: 0 10px;
    align-items: right;
  }
  
.main-nav {
    background-color: white;
    display: flex;
    position: relative;
    width: 100%;
    z-index: 5;
  }

  h1.tippingPointText {
    font-family: 'Raleway', 'Helvetica', sans-serif;
    font-weight: 600;
    display: flex;
    position: relative; 
    font-size: 1.4rem;
    letter-spacing: 0.15rem;
    color: black;
    margin-left: 0rem;
  }

  .main-nav .tippingPointLogo {
    margin: 1.5rem 1rem 1rem 0rem;
    display: flex;
    align-items: center;
  }
  
  .navContainer {
    margin-top: 1.52rem;
  }

  @media only screen and (max-width: 900px) {
    .main-nav ul.deskNavMenu {
      display: none;
    }
  }

  .deskNavMenu > li:last-child {
    margin-right: 0px;
    padding-right: 0px;
  }

/* Page title */

.pageTitle h1 {
  font-family: 'Raleway', 'Helvetica', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: black;
  margin-left: 0rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15rem;
  line-height: 3rem;
}
  
/* Project images */

.project-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.modal-image-wrap { 
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.project-image-container {
  position: absolute;
  overflow: hidden;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%; 
  border: 1px solid rgba(167, 165, 166, 0.5);
}

.projectImage {
  position: absolute;
  top: 0px;
  left: 0px; 
  width: 100%;
  height: 100%;
}

/* When page is in default view show a pointer when mousing over project images, but with lightbox open just show a pointer. */

.project-image-wrap .projectImage {
  cursor: pointer;
}
.modal-image-wrap .projectImage { 
  cursor: default;
}

/* Lightbox X */
.lightbox-menu-wrap {
    position: relative; /* change back to absolute? */
    top: 15px;
    right: 15px; 
    z-index: 5;
}

.lightbox-menu-wrap .lightbox-hamburger {
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    z-index: 6;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 12px;
    border-radius: 50%; /* delete? */
    outline: none; /* delete? */
    border: none; /* delete? */
    background-color: rgba(46, 49, 49, 0.4); /* delete? */
}

/* Hamburger Line */
.lightbox-menu-wrap .lightbox-hamburger > div {
    position: relative;
    flex: none;
    width: 100%;
    height: 2px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(135deg);
    transition: all 0.6s ease;
  }

.lightbox-hamburger:hover {
  background-color: #fff;
}

.lightbox-hamburger:hover > div {
  background-color: #333;
  transform: rotate(-135deg); 
}


/* Hamburger Lines - Top & Bottom */
.lightbox-menu-wrap .lightbox-hamburger > div::before,
.lightbox-menu-wrap .lightbox-hamburger > div::after {
  content: '';
  position: absolute;
  z-index: 8;
  top: -10px;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}

/* Apply hover state to close modal button */



/* Moves Line Down */
.lightbox-menu-wrap .lightbox-hamburger > div::after {
    top: 10px;
  }

/* Turns Lines Into X */
.lightbox-menu-wrap .lightbox-hamburger > div:before,
.lightbox-menu-wrap .lightbox-hamburger > div:after {
    top: 0;
    transform: rotate(90deg);
}


/* skyscanner BWS [p1] */
#p1-image1 {
  background: url('../images/02_project_page_images/00_Book_With_Skyscanner/01_main_image/pro_1_bws_diary_study_image_anon.jpg') no-repeat center top/cover;
}

#p1-image2 {
  background: url('../images/02_project_page_images/00_Book_With_Skyscanner/02_secondary_images/BWS_research_method_anon.jpg') no-repeat center top/cover;
}

#p1-image3 {
  background: url('../images/02_project_page_images/00_Book_With_Skyscanner/02_secondary_images/BWS_proposition_canvas.jpg') no-repeat center center/contain, #fff;
}

/* JL Experience Desk [p2] */
#p2-image1 {
  background: url('../images/02_project_page_images/01_ JL_Experience_desk_disc/01_main_image/JL_Experience_Desk_Main.JPG') no-repeat center top/cover;
}

#p2-image2 {
  background: url('../images/02_project_page_images/01_ JL_Experience_desk_disc/02_secondary_images/01_jl_exp_desk_interview_experience_map.JPG') no-repeat center center/cover;
}

#p2-image3 {
  background: url('../images/02_project_page_images/01_ JL_Experience_desk_disc/02_secondary_images/02_jl_exp_desk_vision_learning_areas.jpg') no-repeat center center/contain, #fff;
}

#p2-image4 {
  background: url('../images/02_project_page_images/01_ JL_Experience_desk_disc/02_secondary_images/03_jl_exp_desk_vision_workshop_idea_groups.JPG') no-repeat center top/cover;
}

#p2-image5 {
  background: url('../images/02_project_page_images/01_ JL_Experience_desk_disc/02_secondary_images/04_jl_exp_desk_workshop_vpc.JPG') no-repeat center top/cover;
}

/* premier inn zip [p3] */

#p3-image1 {
  background: url('../images/02_project_page_images/02_Premier_Inn_Zip/01_main_image/00_zip_room_final_main.jpg') no-repeat center top/cover;
}

#p3-image2{
  background: url('../images/02_project_page_images/02_Premier_Inn_Zip/02_secondary_images/01_zip_lounge.jpg') no-repeat center top/cover;
}

#p3-image3 {
  background: url('../images/02_project_page_images/02_Premier_Inn_Zip/02_secondary_images/03_zip_room_type_pros_cons.jpg') no-repeat center top/contain, #fff;
}

/* F&F Retail [p4] */

#p4-image1 {
  background: url('../images/02_project_page_images/03_F&F_Virtual_Fitting_Room/01_main_image/00_tesco_ipad_main.jpg') no-repeat center top/cover;
}

#p4-image2 {
  background: url('../images/02_project_page_images/03_F&F_Virtual_Fitting_Room/02_secondary_images/01_tesco_research_service_safari.jpg') no-repeat center top/cover;
}

#p4-image3 {
  background: url('../images/02_project_page_images/03_F&F_Virtual_Fitting_Room/02_secondary_images/02_in-store_innovation_overview.jpg') no-repeat center top/cover;
}

#p4-image4 {
  background: url('../images/02_project_page_images/03_F&F_Virtual_Fitting_Room/02_secondary_images/03_tesco_research_overview_anon.jpg') no-repeat center top/cover;
}

#p4-image5 {
  background: url('../images/02_project_page_images/03_F&F_Virtual_Fitting_Room/02_secondary_images/04_tesco_key_findings_anon.jpg') no-repeat center top/cover;
}

#p4-image6 {
  background: url('../images/02_project_page_images/03_F&F_Virtual_Fitting_Room/02_secondary_images/05_Staff_task_management.jpg') no-repeat center top/contain, #fff;
}

/* Premier Inn - Experience Vision [p5] */

#p5-image1 {
  background: url('../images/02_project_page_images/04_Premier_Inn_Future_Experience_Vision/01_main_image/00_PI_brand_visioning_ws.jpg') no-repeat center top/cover;
}

#p5-image2 {
  background: url('../images/02_project_page_images/04_Premier_Inn_Future_Experience_Vision/02_secondary_images/01_PI_Strategic_Framework_Business.jpg') no-repeat center center/cover;
}

#p5-image3 {
  background: url('../images/02_project_page_images/04_Premier_Inn_Future_Experience_Vision/02_secondary_images/02_PI_guest_journey_preview.jpg') no-repeat center center/contain, #fff;
}

/* Premier Inn - Self-check in [p6] */

#p6-image1 {
  background: url('../images/02_project_page_images/05_Premier_Inn_Self_Check_In/01_main_image/00_pi_guest_arrivals.jpg') no-repeat center top/cover;
}

#p6-image2 {
  background: url('../images/02_project_page_images/05_Premier_Inn_Self_Check_In/02_secondary_images/02_pi_guest_arrivals_research_overview_anon.jpg') no-repeat center center/contain, #fff;
}

#p6-image3 {
  background: url('../images/02_project_page_images/05_Premier_Inn_Self_Check_In/02_secondary_images/03_pi_guest_arrivals_check-in_overview.jpg') no-repeat center center/contain, #fff;
}

#p6-image4 {
  background: url('../images/02_project_page_images/05_Premier_Inn_Self_Check_In/02_secondary_images/04_pi_guest_arrivals_findings_themes_venn.jpg') no-repeat center top/cover;
}

#p6-image5 {
  background: url('../images/02_project_page_images/05_Premier_Inn_Self_Check_In/02_secondary_images/05_pi_guest_arrivals_finding.jpg') no-repeat center center/contain, #fff;
}

/* Smartphone Sales Journey [p7] */

#p7-image1 {
  background: url('../images/02_project_page_images/11_Smartphone_Journey/01_main_image/01_flow_smartphone_journey.jpg') no-repeat center top/cover;
}

/* Intel 2nd screen [p8] */

#p8-image1 {
  background: url('../images/02_project_page_images/09_Intel_2nd_Screen/01_main_image/00_intel_interface_example.jpg') no-repeat center top/cover;
}

/* Design out crime [p9] */

#p9-image1 {
  background: url('../images/02_project_page_images/12_Designing_Out_Crime/01_main_image/01_dc_design_out_crime_menu.jpg') no-repeat center top/cover;
}

/* Project spec display */

.projectSpec,
.projectSpecMobile {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #bebebe;
}

@media only screen and (max-width:850px){
  .projectSpec {
      display: none;
  }
}

@media only screen and (min-width:851px){
  .projectSpecMobile {
      display: none;
  }
}

/* secondary image grid */

@media only screen and (min-width:650px) {
  .secondaryImageGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: minmax(100px auto);
    row-gap: 2rem;
    column-gap: 2rem;
    line-height: 2.2rem;
  }
}

@media only screen and (max-width:649px) {
  .secondaryImageGrid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      grid-template-rows: minmax(100px auto);
      line-height: 2.2rem;
      row-gap: 2rem;
  }
}

/* Project grid */
.project-text > div {
    /* padding: 1rem; */
    margin: 2.2rem 0rem;  
}

.project-text {
    font-family: 'Raleway';
    font-size: 1rem;
    line-height: 1.7rem;
    letter-spacing: 0.1rem;
    color: #444444;
}

.projectSpec, .projectSpecMobile {
  padding-bottom: 2rem;
}

.section-heading {
  padding-bottom: 0.8rem;
}

/* Image captions */
.image-caption {
  font-family: 'Raleway', 'Helvetica', sans-serif;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 80px;
  background-color: rgba(46, 49, 49 , 0.4);
  color: #fff;
  text-align: left;
  padding: 15px 40px 15px 40px;
}

@media (min-width: 701px) {
  .image-caption h1 {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 1.2rem;
  }
}

@media (max-width: 700px) {
  .image-caption h1 {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.2rem;
  }
}

.secondaryImageGrid .image-caption h1 {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2rem;
}

/* Below 850px with - make the image caption text smaller */

@media only screen and (min-width:850px){
  .imageCaption h1 {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width:850px){
  .imageCaption h1 {
    font-size: 0.9rem;
    line-height: 1.1rem;
    margin-bottom: 5px;
  }
}

/* New modal styling */

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 39, 51 , 0.85);
}

/* Modal Content */
.modal-content {
  position: relative;
  top: 10%;
  margin: auto;
  padding: 0;
  width: 90%;
  height: auto;
  max-width: 1200px;
  z-index: 10;
}

/* Hide the slides by default  */
 .mySlides {
  display: none;
} 

/* New button formatting */

.buttons button#next {
  position: absolute;
  top: 45%;
  right: 15px;
}

.buttons button#prev {
  position: absolute;
  top: 45%;
  left: 15px;
}

.buttons button {
  border: none;
  background-color: rgba(46, 49, 49, 0.4);
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  border-radius: 50%;
  outline: none;
}

.buttons button:hover {
  background-color: #fff;
  color: #333;
}

 Caption text 
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

/* Page footer */

.footerIcon {
  display: inline-block;
  z-index: 3;
}

.footer {
  font-family: 'Raleway', 'Helvetica', sans-serif;
  background-color: #666666;
  width: 100%;
  height: 140px;
  position: relative;
  z-index: 2;
  flex-shrink: 0; /* might delete */
  margin-top: 6rem; 
}

div.footerIconContainer {
  width: 20rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.footer h2 {
  color: white;
  font-weight: 200;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 24px 0px 22px 0px;
}