/* *********** Stylesheet - Reports ********** */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


/*  ---------- CSS Reset -------- */ 

body {
    background-color: rgb(251, 250, 253);
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
}

/*  ---------- Global Styles -------- */ 

/*  Grid Area Names */

.header {
  grid-area: hd;  
}

.footer {
  grid-area: ft;
}

.content {
  grid-area: main;
}

.sidebar {
  grid-area: sd;
}

.aside {
    grid-area: as;
}

/* Typography */

h2 {
  padding-bottom: 20px;
}

h3 {
  padding-bottom: 20px;
}

img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}



.wrapper {
    max-width: 1800px;
    width: 95%;
    margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  grid-template-areas:
    "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
    "sd sd sd main main main main main main as as as"
    "ft ft ft ft   ft   ft   ft   ft   ft ft ft ft";
}

.sidebar, .content, .aside {
  margin: 10px;
}

/*  ---------- Navbar - Logo - Navigation  -------- */ 

.navbar {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px;
   border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);    
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
   border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);    
}

.logo-oth {
    display: flex;
    flex-direction: column;
    align-items: center;
}

ul {
    list-style-type: none;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #333;
  }



.navbar ul{
    display: flex;
}

.navbar li {
  padding: 15px;
}

.navbar a {
    color: #646464;
    padding: 10px;
    margin: 15px;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.75;
    transition: all 0.4s;
}

.navbar a:hover, a:focus {
    border-bottom: 3px #646464 solid;
    opacity: 1;
}


/*  ---------- Main Container - 3 Column Grid Layout  -------- */ 

.container-grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    justify-content: space-evenly;
    margin: 0 auto;
    gap: 10px;
} 


/*  ---------- 3 Column - Shared Styles  -------- */ 

.column-left, .column-centre, .column-right {
    display: grid;
    border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  padding: 10px; 
    }


/*  ----------  Left Column - Info - Search - Category  --------- */ 

.column-left {
    display: grid;
    align-content: start;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

.some-space {
  margin: 30px 0px;
}

.database-search-name, .database-search-category, .database-search-note {
  border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 15px;
}

.database-search-name img {
  max-height: 100px;
  width: auto;
}




/* ------- Submit Button Hover State ------- */

input[type="submit"] {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  padding: 5px 8px;
  border: 2px solid green;
  font-size: 12px;

  cursor: pointer;
}

input[type="submit"]:hover {
  color: #f4f4f4;
  background-color: green;
}

/* ------- Munro Corbett Other Buttons ------- */

input[value="Munros"],
input[value="Corbetts"],
input[value="Others"] {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  margin: 1px 1px;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
      margin: 10px 0px;

}

input[value="Search"] {
  text-transform: uppercase;
  font-size: 14px;
  margin: 20px 0px;
  padding: 5px 25px;
  border-radius: 8px;
}



input[type="text"] {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  background-image: url("https://cdn.bitdegree.org/learn/search-icon.png?229dfb2d");
  background-size: 10px;
  background-position: 3px 3px;
  background-repeat: no-repeat;
  padding-left: 5px;
  height: 30px;
  width: 85%;
}

fieldset {
  border: none;
  margin: none;
  padding: none;
}

.item {
  margin-bottom: 20px;
}





/*  ----------  Centre Column - Report & Photo Gallery  --------- */ 

.column-centre {
    display: grid;
    gap: 20px;
}


/* -------- Report ------ */


.report-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.report-header-dist-time {
    text-align: right;
}

.metres {
  font-size: 60%;
}

.report-narrative p {
  font-size: 120%;
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 12px;
}





/*  ---------- Photo Gallery  --------- */ 


      .heading {
        text-align: center;
        padding: 32px;
      }

      .row {
        display: -ms-flexbox; /* IE 10 */
        display: flex;
        -ms-flex-wrap: wrap; /* IE 10 */
        flex-wrap: wrap;
        padding: 0 4px;
      }

      /* Create two equal columns that sits next to each other */

      .pg-column {
        -ms-flex: 50%; /* IE 10 */
        flex: 50%;
        padding: 0 04px;
      }

      .pg-column img {
        margin-top: 8px;
        border-radius: 8px;
        vertical-align: middle;
      }

      /* Style the buttons */

      .btn {
        border: none;
        outline: none;
        padding: 10px 16px;
        background-color: #f1f1f1;
        cursor: pointer;
        font-size: 18px;
      }

      .btn:hover {
        background-color: #ddd;
      }

      .btn.active {
        background-color: #666;
        color: white;
      }

      figure {
          max-width: 100%;
        height: auto;
        margin: 0px;
        padding: 0px;
      }
    

     figcaption {
      display: block;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #333;
  text-align: center;
  background-color: #eee;
    padding: 5px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
     }




/*  ---------- Right Column - Walk Data - Map - Profile - Statistics   -------- */ 

.column-right {
    display: grid;
    align-content: start;
    gap: 20px;
    text-align: center;
}

.italic-sml {
  font-size: 10px;
}

.map {
    border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 25px;
}

.pro {
    border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 25px;
}

.stats {
    border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 25px;
}



/* Footer */


.footer {
     display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
   border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  padding: 10px 
}


.footer-links-container {
    display: flex;
    gap: 0.5rem;
    text-align: center;
}

.nav-footer a {
    color: #646464;
    padding: 10px;
    margin: 15px;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.75;
    transition: all 0.4s;
}

.nav-footer a:hover, a:focus {
    border-bottom: 3px #646464 solid;
    opacity: 1;
}

.credit-footer {
  display: flex;
  gap: 0.5rem;
}

.credit {
  font-size: 18px;
  opacity: 0.75;
}


/* Sticky - Next - Previous */

.sticky-container-prev {
    height: 5rem;
    width: 5rem;
    background-color: rgb(204, 201, 193);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    opacity: 65%;
    font-size: 120%;
    font-weight: 600;
    text-align: center;
}

.sticky-container-next {
    height: 5rem;
    width: 5rem;
    background-color: rgb(204, 201, 193);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    opacity: 65%;
    font-size: 120%;
    font-weight: 600;
    text-align: center;
}

/* Media Queries */


@media (max-width: 600px) {
  figcaption {
    font-size: 12px;
  }
}


 @media (width <= 1250px) {
  .wrapper {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
      "main main main  main main main main main main main main main"
      "sd sd sd sd sd sd as as as as as as"
      "ft ft ft   ft  ft   ft   ft   ft   ft ft ft ft";
  }
} 


 @media (width <= 850px) {
  .wrapper {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
      "main main main  main main main main main main main main main"
      "as as as as as as as as as as as as"
      "sd sd sd sd sd sd sd sd sd sd sd sd "
      "ft ft ft   ft  ft   ft   ft   ft   ft ft ft ft";
  }


  .navbar-nav {
    display: flex;
    flex-direction: column;
      
}

.navbar-nav li {
  padding-bottom: 15px;
}

  .footer-links-container {
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

.credit-footer {
  display: flex;
  flex-direction: column;
}

.credit {
  font-size: 15px;
}

.nav-footer a {
    padding: 5px;
    font-size: 15px;
}  
}

