/* General styling */
html, body { 
    width:100%;
    height: 100%;
}

.landing-page {
  background: url(../images/bg_img.jpg) no-repeat center center fixed;
  box-shadow: inset 0 0 0 1000px rgba(255, 255, 255, 0.8);
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  -ms-background-size: cover;
  background-attachment: fixed;
}

a {
  color: black;
}

a:hover {
  color: lightslategray;
  text-decoration: none;
}

.content a {
  text-decoration: underline;
}

/* Fonts */
@font-face {
  font-family: 'Amatic SC';
  src: url('../fonts/AmaticSC-Regular.ttf');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.ttf');
  font-display: swap;
}

@font-face {
  font-family: 'Kodchasan';
  src: url('../fonts/Kodchasan-Regular.ttf');
  font-display: swap;
}

@font-face {
  font-family: 'Quattrocento Sans';
  src: url('../fonts/QuattrocentoSans-Regular.ttf');
  font-display: swap;
}

@font-face {
  font-family: 'Quattrocento Sans Bold';
  src: url('../fonts/QuattrocentoSans-Bold.ttf');
  font-display: swap;
}

.summary {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-style: italic;
  text-align: center;
  padding-top: 15px;
}

.content {
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 18px;
  font-weight: lighter !important;
}

.content h4 {
  text-align: left;
  padding-bottom: 5px;
}

.content h5 {
  color: rgb(141, 141, 141);
  -webkit-text-fill-color: rgba(141, 141, 141);
}

.content p {
  text-align: left;
}

.image-row {
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

.image-row img {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3)
}

figcaption {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  padding-top: 5px;
  text-align: right;
  color: rgb(110, 110, 110);
}

.bottom-buffer {
  padding-bottom: 40px;
}

.bottom-buffer .row div {
  padding-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .image-row {
    padding-left: 0px;
    padding-right: 0px;

  }
}

/* Icon styling */
.icon-style {
  width: 24px;
}

/* Landing page styling */
/* Landing page title block styling */
.title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 55px 40px;
  color: rgb(77, 77, 77);
}

.title-block h1 {
  font-family: 'Amatic SC', cursive;
  font-size: 150px;
  padding-bottom: 15px;
  text-align: center;
}

.title-block h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  padding-bottom: 10px;
  text-align: center;
}

.title-block p {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  text-align: center;
  padding-left: 100px;
  padding-right: 100px;
}

/* Landing page section styling */
.sections {
  display: flex;
  justify-content: center;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px
}

.sections p {
  font-family: 'Kodchasan', sans-serif;
  font-size: 18px;
  text-align: center;
}

.sections div {
  padding-top: 10px;
  padding-right: 20px;
}

.landing-img {
  display: flex;
  justify-content: center;
}

.landing-img img {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3)
}

.landing-img img:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5)
}

/* Class for blog red dot. Have removed dot from index page */
/* .notification {
  box-shadow: none !important;
  width: 10px;
  padding-bottom: 5px;
} */

@media screen and (max-width:992px) {
  .title-block p {
    padding: 0px;
  }

  .sections {
    padding-bottom: 40px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media screen and (max-width: 768px) {
  .title-block {
    padding: 20px;
  }

  .title-block h1 {
    font-size: 90px;
  }

  .title-block h6 {
    font-size: 22px;
  }

  .title-block p {
    font-size: 16px;
    padding: 0px;
  }

  .sections {
    padding-bottom: 40px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .sections div {
    padding-bottom: 15px;
  }
}

/* Sub-page styling */
/* Navbar styling */
.navbar {
  font-family: 'Kodchasan', sans-serif;
  background-color: #fcfaf5;
  box-shadow: 0 1px 20px 1px rgb(204, 204, 204);
}

.navbar-nav {
  margin: 0 auto;
  /*  Centres the navbar */
}

.navbar-toggler {
  border: none;
}

nav span i {
  font-size: 30px;
}

.nav-item {
  text-align: center;
}

/* Sub-page styling */
.sub-page-style {
  background-color: #fcfaf5;
}

.title {
  margin-top: 50px;
  padding-left: 20px;
  padding-top: 30px;
  padding-bottom: 10px;
  text-align: center;
}

.title small {
  font-size: 65px;
}

.title h1 {
  font-family: 'Amatic SC', cursive;
  font-size: 100px;
}

.subtitles div {
  padding-right: 40px;
}

div.subtitles {
  padding-top: 60px;
  padding-right: 40px;
  padding-left: 40px;
}

.subtitles h3 {
  font-family: 'Kodchasan', sans-serif;
  font-size: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .title h1 {
    font-size: 80px;
  }
}

/* Tips page styling */
#tips h4 {
  padding-top: 15px;
}

#tips p {
  padding-left: 1em;
}

.tips-bold {
  font-family: 'Quattrocento Sans Bold', sans-serif;
  font-size: 20px;
}

/* Not just skiing styling */
#not-just-skiing h4 {
  padding-top: 15px;
}

/* Destinations page */
#destinations {
  font-family: 'Kodchasan', sans-serif;
  font-size: 26px;
  text-align: center;
  padding-top: 20px;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 60px;
}

#destinations h3 {
  padding-bottom: 10px;
}

#destinations img {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3)
}

@media screen and (max-width: 768px) {
  #destinations {
    padding-right: 5px;
    padding-left: 5px;
  }

  #destinations div {
    padding-bottom: 25px;
  }
}

/* Places tabs styling*/
#tabs .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  font-family: 'Montserrat', sans-serif;
  background-color: transparent;
  border-bottom: 4px solid !important;
  font-weight: bold;
}

#tabs .nav-tabs .nav-link {
  font-family: 'Montserrat', sans-serif;
  border: 1px solid transparent;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  font-size: 18px;
}

/* Nav icon styling */
nav img {
  margin-left: 5px;
  margin-bottom: 5px;
}


/* Places page styling */
#places .row {
  padding-top: 15px;
}

#places h3 {
  padding-top: 80px;
}

/* Just for the Whistler page as there is only one destination in Canada so far */
#tab-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding-top: 40px;
}

#whistler .bottom-buffer {
  padding-bottom: 100px;
}

#whistler #tab-title img {
  margin-left: 5px;
  margin-bottom: 5px;
}


/* Photo grid css */
.row#photo-grid {
  /* IE10 */
  display: -ms-flexbox;
  display: flex;
  /* IE10 */
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 50px;
}

/* Five equal columns that sit next to each other (maybe do six to make it even when it collapses?)*/
.column {
  /* IE10 */
  -ms-flex: 16.6%;
  flex: 16.6%;
  max-width: 16.6%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

.image-overlay {
  position: relative;
}

.overlay {
  font-family: 'Kodchasan', sans-serif;
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  /* Black see-through */
  background: rgba(0, 0, 0, 0.4);
  color: #f1f1f1;
  width: 100%;
  transition: .5s ease;
  opacity: 0;
  color: white;
  font-size: 16px;
  padding: 2px;
  text-align: center;
}

.image-overlay:hover .overlay {
  opacity: 1;
}

/* Responsive layout - makes a two column-layout instead of five columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes a two column-layout and the overlay opaque for iPhones */
@media screen and (max-width:600px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }

  .overlay {
    opacity: 1;
    font-size: 14px;
    padding: 1px;

  }
}

/* About us styling */
#about-us p {
  text-align: center;
}

#about-us img {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3)
}

/* Footer styling */
footer {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  background-color: black;
  padding-top: 1em;
}

footer div {
  padding-bottom: 1em;
}

footer a {
  color: white;
}

footer a:hover {
  color: lightslategray;
}

footer i {
  padding-left: 5px;
  padding-right: 5px;
}

/* Envelope icon styling */
#contact img {
  margin-left: 2px;
  margin-right: 2px;
  height: 14px;
  width: 19px;
}

/* Scroll back to top css */
#back2Top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  overflow: hidden;
  z-index: 999;
  display: none;
  cursor: pointer;
  position: fixed;
  top: 50%;
  right: 10px;
  background-color: rgba(221, 221, 221, 0.7);
  color: #555;
  text-align: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#back2Top:hover {
  background-color: rgb(179, 179, 179);
  color: #000;
}

/* Test */
.collapse-menu {
  padding: inherit;
  vertical-align: text-top;
}

.space-evenly {
  justify-content: space-evenly;
}