/* ------------------------------------------*/

/* ------------BROWSER DEFAULTS--------------*/

/* ------------------------------------------*/

h1, h2, p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin: 0;
  font-weight: 400;
}

body {
  background-color: #535356;
  color: white;
  padding: 0;
  margin: 0;
  font-family: brandon-grotesque, serif;
  font-size: 16px;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

figure {
  margin: 0;
}

em {
  font-weight: bold;
  font-style: normal;
}

/* HEADERS */

h1 {
  font-size: 46px;
  line-height: 60px;
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 40px;
  }
}

h2 {
  font-size: 40px;
}

p, li {
  font-size: 20px;
}

header, .header {
  padding-top: 20px;
  padding-bottom: 20px;
}

header.side-header {
  padding-top: 0;
  padding-bottom: 0;
}

header.side-header h1 {
  text-align: right;
  font-weight: 700;
}

/* END HEADERS */

/* ------------------------------------------*/

/* -------------PROJECT COMMON---------------*/

/* ------------------------------------------*/

.rel {
  position: relative;
}

.content {
  flex: 1 0 auto;
  margin-top: 94px;
}

@media screen and (max-width: 520px) {
  .content {
    margin-top: 150px;
  }
}

.central {
  width: 80vw;
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.central.halfwidth {
  width: 30vw;
}

/* TILES */

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tile {
  width: 47%;
  position: relative;
  margin-bottom: 6%;
  display: block;
  text-decoration: none;
}

.tile a {
  text-decoration: none;
}

@media screen and (max-width: 548px) {
  .tile {
    width: 100%;
  }
}

/* END TILES */

/* TEXT STYLES */

.text-bold {
  font-weight: 700;
}

.text-light {
  font-weight: 300;
}

.text-normal {
  font-weight: 400;
}

/* END TEXT STYLES */

.sliced-image {
  width: 100vw;
  height: 25vw;
  object-fit: cover;
  object-position: 50% 50%;
  -webkit-clip-path: polygon(0 0, 0 70%, 100% 100%, 100% 0);
  clip-path: polygon(0 0, 0 70%, 100% 100%, 100% 0);
  position: relative;
  z-index: 1;
}

/* FOOTER */

.footer {
  flex-shrink: 0;
  background-color: #0084c6;
  color: white;
  width: 100%;
  /* 100vw was causing horizontal scrollbars */
  z-index: 1;
  font-size: 18px;
}

.footer .central {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer span, .footer a {
  display: block;
  color: white;
  text-decoration: none;
}

.footer .find span, .footer .find a {
  text-align: right;
}

/* END FOOTER */

/* BOX */

.box {
  padding: 20px 25px;
  box-sizing: border-box;
  border: white 2px solid;
  background: #48435c;
  margin-bottom: 20px;
}

/* END BOX */

/* DIAMOND BUTTON */

.diamondsBtn {
  width: 150px;
  height: 150px;
  position: relative;
}

.diamondsBtn>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.diamondsBtn a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

.diamondsBtn div {
  width: 64%;
  color: white;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.diamondsBtn:hover div {
  color: hotpink;
}

/* END DIAMOND BUTTON */

.callsToAction {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 50px;
  z-index: 2;
}

/* ------------------------------------------*/

/* ----------------- FORMS ------------------*/

/* ------------------------------------------*/

form label {
  display: block;
}

form input, form textarea {
  width: 100%;
  border-radius: 15px;
  border: none;
  font-size: 20px;
  padding: 2px 5px;
  box-sizing: border-box;
  font-family: brandon-grotesque, serif;
}

form input[type="text"], form input[type="email"], form textarea {
  padding: 2px 8px;
}

form textarea {
  min-height: 300px;
  resize: vertical;
}

form input[type="number"] {
  width: 50%;
  text-align: right;
}

form input[type="checkbox"] {
  width: auto;
}

form input[type="submit"], form button, form input[type="button"] {
  border-radius: 0;
  margin-top: 30px;
  line-height: 29px;
}

form fieldset {
  border: none;
  width: 100%;
  padding: 15px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

form fieldset legend {
  font-size: 28px;
  text-transform: uppercase;
  margin-top: 15px;
}

/* ------------------------------------------*/

/* ---------------VALIDATION ----------------*/

/* ------------------------------------------*/

input:focus:invalid {
  border: 1px solid #d70000
}

/* ------------------------------------------*/

/* ------------------MENU--------------------*/

/* ------------------------------------------*/

.menu {
  background-color: #5a5766;
  position: absolute;
  top: 0;
  left: 0;
  color: black;
  width: 100%;
  /* 100vw was causing horizontal scrollbars */
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 100;
}

.menu nav {
  display: flex;
  flex-wrap: wrap;
  max-width: 768px;
  margin: 0 auto;
}

.menu nav a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: white;
  flex-grow: 1;
  text-align: center;
  align-content: center;
  align-items: center;
}

.menu nav a.logo {
  flex-grow: 3;
}

.menu nav a.logo img {
  height: 49px;
}

.menu nav a svg {
  height: 49px;
  width:49px;
  stroke-width:2px;
}

@media screen and (max-width: 520px) {
  .menu {
    padding-bottom: 5px;
  }
  .menu nav a.logo {
    order: 0;
    flex-basis: 100%;
    margin-bottom: 10px;
  }
  .menu nav a {
    order: 1;
  }
}

/* ------------------------------------------*/

/* -------------FLOATING MENU----------------*/

/* ------------------------------------------*/

.floating-menu {
  display: none;
  position: fixed;
  z-index: 999;
  left: 1vw;
  top: 0;
  bottom: 0;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.floating-menu nav {
  display: flex;
  flex-direction: column;
  padding: 3px 2px;
  border-radius: 30px;
  color: white;
  width: 60px;
  background-color: #9d547c;
}

.floating-menu nav a {
  padding: 5px;
  width: 50px;
  text-decoration: none;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-menu nav a svg {
  display: block;
  width: 50px;
  height:50px;
  stroke-width:2px;
}

.floating-menu nav a img {
  display: block;
  width: 50px;
  height:50px;
}

.nav-active-page {
  stroke-width:4px;
}

/* -- small tablet portrait view -- */

@media screen and (max-width: 900px) {
  .floating-menu {
    left: 0.5vw;
  }
}

/* -- mobile landscape view -- */

/* keep menu on the side, but lose border radius and snap to the sides */

@media screen and (max-height: 567px) and (min-width: 500px) {
  .floating-menu {
    top: 0;
    left: 0;
    padding: 0;
  }
  .floating-menu nav {
    border-radius: 0;
    height: 100vh;
    justify-content: space-evenly;
    width: 50px;
  }
  .floating-menu nav a {
    padding: 0;
  }
  .floating-menu nav a img {
    width: 40px;
  }
  .floating-menu nav a span {
    display: none;
  }
}

/* -- mobile portrait view -- */

/* snap to bottom of screen, fullwidth, no border radius */

@media screen and (orientation: portrait) {
  .floating-menu {
    width: 100%;
    height: auto;
    top: auto;
    left: 0;
    bottom: 0;
  }
  .floating-menu nav {
    border-radius: 0;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    height: unset;
    align-items:center;
  }
  .floating-menu nav a {
    font-size: 14px;
    width: 40px;
  }
  .floating-menu nav a img {
    width: 50px;
    height:50px;
  }
  .footer {
    padding-bottom: 86px;
  }
}

/* smallest mobile portrait (iPhone 5 and smaller) */

@media screen and (max-width: 340px) {
  .floating-menu nav a {
    font-size: 12px;
    width: 30px;
  }
  .floating-menu nav a img {
    width: 40px;
    height:40px;
  }

  .floating-menu nav a svg {
    width:40px;
    height:40px;
  }
}

@media screen and (max-height: 350px) {
  .floating-menu nav {
    display: none;
  }
}

/* ------------------------------------------*/

/* -------------BACK TO TOP------------------*/

/* ------------------------------------------*/

#backtotop-jumper {
  position: fixed;
  z-index: 100;
  font-weight: 700;
}

#backtotop-jumper img {
  transform: rotate(-90deg);
}

#backtotop-jumper div {
  text-transform: uppercase;
}


/* ------------------------------------------*/

/* -------------BACKGROUNDS------------------*/

/* ------------------------------------------*/

.bg-snowflake {
  background-image: url('/resources/snowflake.png');
  background-size: cover;
  background-position: 50%;
  width: 100%;
  /* 100vw was causing horizontal scrollbars */
  overflow: hidden;
}

.bg-plum {
  background-color: #48435c;
}

.bg-slate {
  background-color: #535356;
}

div.bg-icespikes {
  position: relative;
  background: #48435c;
  background: linear-gradient(to right, #48435c, #5a5766);
  overflow: hidden;
}

img.bg-icespikes {
  position: absolute;
  z-index: 0;
  width: 120%;
  top: -5%;
}

/* ------------------------------------------*/

/* ---------------HOTSPOTS-------------------*/

/* ------------------------------------------*/

.hotspots-container {
  position: relative;
}

.hotspots-container img {
  display: block;
}

.hotspots-container svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 80vw;
  max-width: 1020px;
  pointer-events: none;
}

.hotspots-container svg line {
  stroke: #fd2a82;
  stroke-width: 8px;
  display: none;
}

.hotspot {
  display: block;
  height: 50px;
  width: 50px;
  border: 8px solid #fd2a82;
  border-radius: 50%;
  position: absolute;
}

.hotspot-detail {
  position: absolute;
  border: 5px solid #fd2a82;
  background-color: #535356;
  width: 30vw;
  top: 5%;
  left: 5%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: none;
  z-index: 100;
}

.hotspot-detail .close {
  text-decoration: none;
  color: #fd2a82;
  font-size: 4vmin;
  line-height: 1;
  display: block;
  align-self: flex-end;
}

.hotspot-detail h2 {
  line-height: 1;
}

.hotspot-detail p {
  font-size: 2.5vmin;
}

/* ------------------------------------------*/

/* -----------------TABLES-------------------*/

/* ------------------------------------------*/

.table {
  margin-top: 50px;
  margin-bottom: 50px;
  overflow-y: hidden;
  overflow-x: auto;
}

.table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  z-index: 1;
}

.table table, .table th, .table td {
  border: 1px solid #ad0264;
  font-weight: 400;
  background-color: #9792e3;
}

.table td {
  background-color: #656297;
}

.table th, .table td {
  height: 100px;
  width: 100px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  user-select: none;
}

.table td {
  text-transform: uppercase;
}

.table tr.selected td, .table tr.selected th {
  background-color: #ad0264;
}

.table tr.hover td, .table tr.hover th, .table td.hover, .table th.hover {
  background-color: #edffec;
  color: black;
}

/* ---------------------------- */

/* ----- SIDE JUMPER ---------- */

/* ---------------------------- */

.side-jumper {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 15vh;
  text-decoration: none;
  transform: rotate(-90deg);
  transform-origin: 95%;
  z-index: 99;
}

.side-jumper img {
  width: 60px;
  transform: rotate(90deg);
}

.side-jumper div {
  color: white;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
  padding: 0 10px;
  font-size: 50px;
}

@media screen and (max-width: 1280px) {
  .side-jumper img {
    width: 4vw;
  }
  .side-jumper div {
    height: 4.7vw;
    line-height: 4.7vw;
    font-size: 4vw;
  }
}

@media screen and (max-width: 500px) {
  .side-jumper img {
    width: 10vw;
  }
  .side-jumper div {
    font-size: 30px;
  }
}

@media screen and (max-height: 415px) {
  .side-jumper {
    top: 5vh;
  }
}

/* ------------------------------------------*/

/* -----------------SLIDER-------------------*/

/* ------------------------------------------*/

#overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #48435c;
  opacity: 0.8;
  z-index: 1000;
  display: none;
}

.slider {
  position: absolute;
  top: 30vh;
  right: -80vw;
  width: 80vw;
  max-width: 1020px;
  z-index: 1001;
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media screen and (min-width: 1275px) {
  .slider {
    right: -1020px;
  }
}

.slider .rel {
  width: 100%;
}

.slider .jumper {
  display: flex;
  align-items: center;
  text-decoration: none;
  transform: rotate(-90deg) translate(-80%, 0);
  transform-origin: left bottom;
  position: absolute;
  left: 1px;
  /*to help borders lineup better and prevent gap after rotating*/
}

.slider .jumper img {
  width: 60px;
  transform: rotate(180deg);
}

.slider.out .jumper img {
  transform: none;
}

.slider .jumper div {
  color: white;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
  padding: 0 10px;
  font-size: 40px;
}

.slider .box {
  background-color: #535356;
  border: 10px solid white;
  margin: 0;
  min-height: 268px;
  overflow: hidden
}

@media screen and (max-width: 500px) {
  .slider .jumper div {
    height: 10vw;
    line-height: 10vw;
  }
  .slider .jumper img {
    width: 10vw;
  }
}

/* ------------------------------------------*/

/* ---------------BACK BUTTON ---------------*/

/* ------------------------------------------*/

.back {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  color: white;
  text-decoration: none;
}

.back:hover {
  text-decoration: none;
}

.back span {
  text-transform: uppercase;
  font-size: 16px;
}

.back img {
  height: 16px;
}

@media screen and (max-width: 850px) {
  .central {
    width: 75%;
  }
}