/* v.2023-10-15 */

:root {
  --darkgray: #333;
  --accentcolour1: #44748a;
  --headingcolour1: #222;
  --bordercolour1: #44748a;
  --bordercolour2: #aaa;
  --photobordercolour: #111;
}


html, body {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 300;
  box-sizing: border-box;
  color: var(--darkgray);
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0px;
  padding: 0px;
}

h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 50px;
}

h2 {
  font-size: 28px;
  font-weight: 500;
}

h3 {
  font-size: 22px;
  font-weight: 500;
}

p {
  font-size: 18px;
  font-weight: 300;
}

a {
  color: var(--accentcolour1);
}

.material-icons {
  color: #555;
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .material-icons {
    font-size: 38px;
  }

  h1 {
    font-size: 2em;
  }
}

.bannerimage {
  width: 100%;
  height: 50vh;
  background-position: center;
  background-size: 100%;
  overflow: hidden;
}

.mpio_logo {
  position: absolute;
  top: 440px;
  right: 5%;
  width: 150px;
  transition: 350ms;
}
.mpio_logo:hover {
  transform: scale(1.1);
  transition: 350ms;
}

@media screen and (max-width: 800px) {
  .bannerimage {
    background-size: cover;
    height: 40vh;
  }
  .mpio_logo {
    display: none;
  }
}


.grow:hover {
  transform: scale(1.02);
  transition: 150ms;
}

/* .contentblock sets boundaries around content, mostly for text areas */
/* Used on home page, weddings, and more */
.contentblock {
  display: block;
  margin: 15px auto;
  padding: 5px 50px;
  max-width: 800px;
}
@media screen and (max-width: 800px) {
  .contentblock {
    padding: 5px 15px;
  }
}
.contentblock p {
  line-height: 1.5;
}


.two_column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 25px auto;
  max-width: 1200px;
  gap: 15px;
}
@media screen and (max-width: 800px) {
  .two_column {
    display: block;
  }
}


.divider {
  display: block;
  margin: 30px auto;
  width: 85%;
  border-bottom: 3px solid var(--accentcolour1);
  border-radius: 2px;
  clear: both;
}

.divider2 {
  display: block;
  margin: 50px auto;
  width: 33%;
  border-bottom: 1px solid var(--accentcolour1);
  clear: both;
}

/* Used on Photo Locations page, main sections */
.divider-heading {
  display: block;
  margin: 150px auto 50px auto;
  font-size: 1.5em;
  font-weight: 500;
  padding: 10px;
  border-bottom: 3px solid var(--accentcolour1);
  text-align: center;
  width: 96%;
  max-width: 1000px;
  scroll-margin-top: 70px;
  line-height: 1.1em;
  background-color: #555;
  color: white;
}
@media screen and (max-width: 800px) {
  .divider-heading {
    line-height: 1;
  }
}


.gridwrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(100px, auto);
  column-gap: 3%;
  row-gap: 30px;
  margin: 20px auto;
}

.gridcontent1 {
  margin: 0px;
}

@media screen and (max-width: 800px) {
  .gridwrapper {
    display: block;
  }
  .gridcontent1 {
    margin-bottom: 50px;
  }
}

/* Used on home page, athabasca page, wedding packages */
.card {
  margin: 0px;
  background-color: white;
  padding: 10px;
  box-shadow: 1px 2px 3px 0px #aaa;
  text-align: center;
  text-decoration: none;
  color: var(--main-text-color);
  border: 1px solid var(--bordercolour2);
  border-radius: 6px;
  overflow: hidden;
  transition: 150ms;
}
/* Note: use .grow if you want to make it react on hover */
.card img {
  border: 1px solid var(--photobordercolour);
  max-width: 100%;
}
.card:hover {
  border-color: var(--bordercolour1);
}
@media screen and (max-width: 800px) {
  .card {
    display: block;
    margin-bottom: 25px;
    border-color: var(--bordercolour1);
  }
}


/* minibutton */
/* Small 'pill' for jump links like the top of photo locations */
.minibutton {
  margin-left: 10px;
  padding: 3px 8px;
  background-color: #ddd;
  font-weight: 400;
  border: 1px solid var(--main-text-color);
  border-radius: 5px;
  box-shadow: inset 1px 1px 3px white, inset -1px -1px 3px #333;
  transition: 100ms;
  text-decoration: none;
}

.minibutton:hover {
  transition: 100ms;
  color:rgb(101, 152, 175);
  background-color: #eee;
}

.minibutton:active {
  box-shadow: inset -1px -1px 3px white, inset 1px 1px 3px #333;
}


/* button2 - used on /athabascau page */
.button2 {
  display: block;
  margin: 15px auto;
  width: 90%;
  border-bottom: 3px solid #333;
  border-radius: 15px;
  overflow: hidden;
  padding: 15px;
  background-image: linear-gradient(rgb(101, 152, 175), rgb(60, 104, 124));
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: white;
}
.button2:hover, .button2:focus {
  /* background-color: rgb(82, 129, 151); */
  background-image: linear-gradient(rgb(60, 104, 124), rgb(101, 152, 175));
  border-bottom: 1px solid #333;
  padding-top: 17px;
}
@media screen and (max-width: 800px) {
  .button2 {
    padding: 25px 15px;
    font-size: 20px;
  }
  .button2:hover, .button2:focus {
    padding-top: 27px;
    padding-bottom: 25px;
  }
}

/* NEW HOME PAGE STUFF */

.contentblock2 {
  display: block;
  margin: 15px auto;
  width: 85%;
  max-width: 1200px;
}
@media screen and (max-width: 800px) {
  .contentblock2 {
    padding: 5px 25px;
    width: 100%;
  }
}

.blocktitle {
  margin: 10px 0px;
  padding: 0px 5px;
  border-bottom: 1px solid #333;
}

.blockcontent {
  margin: 0px;
  padding: 0 5px;
  font-size: 0.9em;
  font-weight: 400;
  text-align: justify;
  color: var(--main-text-color);
}

/* Original usage making 'cards' on home page */
.gridwrapper2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1%;
  row-gap: 30px;
  margin: 20px auto;
}

.gridcontent2 {
  margin: 0px;
  text-decoration: none;
  color: var(--main-text-color);
  padding: 5px;
  border: 2px solid var(--bordercolour2);
}

@media screen and (max-width: 800px) {
  .gridwrapper2 {
    display: block;
  }
  .gridcontent2 {
    display: block;
    margin-bottom: 25px;
  }
}
.gridcontent2 img {
  border: 1px solid var(--photobordercolour);
  max-width: 100%;
}

.gridcontent2:hover, .gridcontent2:focus {
  border: 2px solid var(--bordercolour1);
}


img.responsive {
  display: block;
  margin: auto;
  border: 1px solid var(--photobordercolour);
  box-shadow: 1px 1px 1px #333;
  max-width: 50%;
}

@media screen and (max-width: 800px) {
  img.responsive {
    max-width: 90%;
  }
}













/* Photo Locations Page photolocations.html */

.photo-location {
  display: grid;
  margin: 50px auto;
  max-width: 1000px;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 25px 15px 50px 15px;
  background-color: white;
  border-radius: 10px;
  border: 1px solid var(--bordercolour1);
}

.photo-location h2, .photo-location h3 {
  margin: 25px auto;
  padding-bottom: 10px;
  border-bottom: 1px solid #44748a;
  width: 100%;
  max-width: 1000px;
  text-align: center;
  grid-column: span 2;
}



.loc-photobox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: fit-content;
}

.loc-photo {
  border: 1px solid var(--photobordercolour);
  box-shadow: 1px 2px 3px #444;
  height: 225px;
  width: 100%;
  max-width: 225px;
  border-radius: 10px;
  overflow: hidden;
  transition: 150ms;
}
.loc-photo img {
  min-height: 100%;
  max-width: 100%;
  object-fit: cover;
  overflow: hidden;
  cursor: pointer;
}


@media screen and (max-width: 800px) {
  .photo-location {
    display: block;
  }
  .loc-photo {
    display: block;
    max-width: 40vw;
    height: 40vw;
  }
  .loc-photo img {
    min-height: 40vw;
  }
  .loc-photobox {
    padding-bottom: 20px;
    margin: auto;
  }
}

.loc-description {
  display: grid;
  grid-template-rows: auto 65px;
}

.loc-description p {
  line-height: 1.3;
  margin: 0;
}

.loc-tag-block {
  display: grid;
  grid-template-columns: 44px 44px auto 44px 44px 44px 44px 44px;
  gap: 5px;
  margin: 10px 0;
  padding: 7px 0;
  background-color: white;
  height: 55px;
  font-size: 0.8em;
  text-align: center;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
}
.loc-tag-block a {
  text-decoration: none;
  color: var(--main-text-color);
}
/* Images or icons showing location features (paid, indoor, etc) */
.loc-tag-block img {
  box-sizing: border-box;
  height: 24px;
  margin: 0 5px;
  vertical-align: bottom;
}










/* Collapsible Accordion Elements */
/* Updated 2023-09-03 */

/* Put each accordion in a separate div container so input, label and content are connected */
.coll_container {
  display: block;
}

/* Hide the default checkbox */
.coll_input {
  display: none;
}

/* Label for each section */
.coll_label {
  display: grid;
  grid-template-columns: 35px auto 50px;
  cursor: pointer;
}
.coll_label:hover {
  opacity: 0.95;
}

/* modifies divider-heading when inside a collapsible */
/* Example: photo locations page */
.coll_container .divider-heading {
  margin-bottom: 0px;
}
.coll_input:checked~.divider-heading {
  border-bottom: 8px solid var(--accentcolour1);
}


/* Open/Close Icon beside each collapsible area */
.coll_label::before {
  box-sizing: border-box;
  display: inline-block;
  content: " ";
  background: url('https://subphoto.ca/images/icon-faq_open1.svg');
  background-size: 25px;
  background-repeat: no-repeat;
  width: 30px;
  height: 100%;
  background-position-y: center;
}
.coll_input:checked~.coll_label::before {
  background: url('https://subphoto.ca/images/icon-faq_close1.svg');
  background-size: 25px;
  width: 30px;
  height: 100%;
  background-repeat: no-repeat;
  background-position-y: center;
}

/* Collapsible Content - hidden until clicked */
.coll_content {
  display: none;
  margin: 0px auto;
  width: 96%;
  max-width: 1000px;
  padding: 50px 5px;
  border: 1px solid var(--accentcolour1);
  background-color: rgb(68, 116, 138, 0.1);
}
.coll_input:checked~.coll_content {
  display: block;
}
/* Collapsible footer says "click to open" */
.coll_input:checked~.coll_footer {
  display: none;
}
.coll_footer {
  display: block;
  margin: 5px auto;
  text-align: center;
  font-size: 0.9em;
  font-style: italic;
}




/* ----- PAGE FOOTER ----- */
.footer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin: 25px 0px 0px 0px;
  background-color: var(--darkgray);
  font-size: 14px;
  color: white;
  font-weight: 300;
  padding: 20px 5%;
}
.footer a {
  text-decoration: none;
  color: white;
}
.footer a:hover {
  text-shadow: 0 0 2px white;
}


