@charset "UTF-8";
/**
 * These are styles that go along with ../js/hcmc_ol.js, the library which 
 * provides basic category-based feature display on a vector layer for 
 * OpenLayers 3.
 */
@font-face {
  font-family: "ui-font";
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/ui.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/ui.woff") format("woff");
}
@font-face {
  font-family: "Inter VF";
  font-weight: 1 900;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/Inter-RomanVar.woff2") format("woff2-variations");
  font-display: swap;
}
@font-face {
  font-family: "Inter ";
  font-weight: 300;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/Inter-Light.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/Inter-Light.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-weight: 300;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/OpenSans-Light.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/OpenSans-Light.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-weight: 300;
  font-style: italic;
  src: url("https://hcmc.uvic.ca/webFonts/OpenSans-LightItalic.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/OpenSans-LightItalic.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/Inter-Regular.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/Inter-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/OpenSans-Regular.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/OpenSans-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/OpenSans-Regular.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/OpenSans-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-weight: 400;
  font-style: italic;
  src: url("https://hcmc.uvic.ca/webFonts/OpenSans-Italic.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/OpenSans-Italic.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/Inter-SemiBold.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/Inter-SemiBold.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  font-weight: 500;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/OpenSans-SemiBold.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/OpenSans-SemiBold.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  src: url("https://hcmc.uvic.ca/webFonts/Inter-Bold.woff2") format("woff2"), url("https://hcmc.uvic.ca/webFonts/Inter-Bold.woff") format("woff");
  font-display: swap;
}
:root {
  --primaryColor: #5A6C78;
  --topNavTextColor: #fff;
  --logoFont: "Inter VF", "Inter", Verdana, Geneva, Tahoma, sans-serif;
  --navFont: "Inter VF", "Inter", Verdana, Geneva, Tahoma, sans-serif;
  --sliderColor: #ffffff;
  --buttonBgColor: #ffffff;
  --floatMenuBgColor: #fafafa ;
}

.slider {
  appearance: none;
  background-color: var(--sliderColor) !important;
  /* Grey background */
  outline: none;
  /* Remove outline */
  height: 2px;
}

html,
body {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", verdana, sans-serif;
}

#map {
  height: calc(100% - 3rem);
  /* decrease by 2 to accommodate siteNav div at top of window */
  position: fixed;
  top: 3rem;
  /* increase by 2 to accommodate siteNav div at top of window */
  /*width: calc(100% - 20rem);*/
  width: 100%;
}

div.siteNav {
  padding-top: 0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-bottom: 0.25rem;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: #5A6C78;
  border-radius: 5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px rgba(0, 0, 0, 0.5);
  font-size: 85%;
  
}

div.siteNav button{
    border-style: none;
    background-color: #5A6C78;
    color: #d0d0d0;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
  }
div.siteNav button:hover{
    color: #ffffff;
    text-decoration: underline;
  }

span.docTitle {
  display: block;
  /*font-size: 300%;*/
  font-size: 1.3rem;
  padding: 0.25rem;
  margin: 0 0 0 2rem;
  -ms-flex-item-align: center;
  align-self: center;
  font-family: var(--logoFont);
  font-weight: 500;
  color: #fff;
  letter-spacing: -1px;
  margin-right: 13px;
  padding-right: 15px;
}

@media only screen and (min-width: 924px){
  span.hidable{
    display: inline;
  }
}

@media only screen and (max-width: 923px){
  span.hidable{
    display: none;
  }
}


@media only screen and (max-width: 1023px){
  input#opacitySlider{
    max-width: 5em;
  }
}

@media only screen and (max-width: 823px) {
  div#holToolbar ul#topNavMenu{
    display: none !important;
  }
  div.siteNav{
    display: block;
  }
}

@media only screen and (min-width: 824px) {
  ul.topNavMenu{
    display: flex;
  }
  div.siteNav{
    display: none;
  }
}


/* Customization: this will actually be a link to the home page. */
span.docTitle > a, span.docTitle > a:visited{
    text-decoration: none;
    color: #fff;
    letter-spacing: -1px;
}

div#holToolbar > button {
  -ms-flex-preferred-size: 2rem;
  flex-basis: 2rem;
  font-family: "ui-font";
}

div#holToolbar select {
    min-width: 6.5em;
}

form {
  margin: 0;
  padding: 0;
}

div#holToolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin: 0;
  padding: 0;
  height: 3rem;
  position: fixed;
  top: 0rem;
  /* increase by 2 to accommodate navSitebar div at top of window */
  width: 100%;
  -webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.175);
          box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.175);
  background-color: var(--primaryColor);
}

ul.holMenu {
  /*max-width: 30rem;*/
  list-style-type: none;
  margin-right: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 100%;
  /*fill container height*/
  margin: 0 0 0 3rem;
  padding: 0;
}

ul.holMenu > li {
  margin: 0;
  padding: 0 0.75rem;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #39464e;
}

ul.holMenu > li:hover {
  background-color: #f0f0f0;
}

/*slide out menu for Geometry Collection trigger item*/
ul.holMenu > li:last-of-type > ul > li.hasSubmenu::after {
  font-family: "ui-font";
  content: "⏵";
  /*right caret*/
  font-size: 1rem;
  vertical-align: middle;
  position: absolute;
  right: 0.4rem;
  padding-top: 0.1rem;
}

ul.holMenu > li:hover > ul {
  visibility: visible;
  opacity: 1;
}

ul.holMenu > li > ul {
  position: absolute;
  list-style-type: none;
  margin: 0.25rem 0 0 -0.75rem;
  padding: 0;
  max-width: 15rem;
  background-color: white;
  visibility: hidden;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.175);
  border: 1px solid rgba(240, 240, 240, 0);
  min-width: 170px;
  /*display: flex;
  flex-direction: column;*/
  top: 42px;
  /*align flush with menu bar at top*/
}

ul.holMenu > li > ul li {
  padding: 0.4rem 1.25rem 0.4rem 1.25rem;
  margin: 0;
  font-family: "Helvetica Neue", Verdana, sans-serif;
  color: #39464e;
  font-size: 0.9rem;
}

ul.holMenu > li > ul li:hover {
  background-color: #f0f0f0;
}

ul.holMenu > li > ul > li > ul {
  list-style-type: none;
  margin: 0.25rem 0 0 0;
  padding: 0;
  max-width: 10rem;
  background-color: white;
  opacity: 0;
  visibility: hidden;
  display: none;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.175);
}

/*slide out menu*/
ul.holMenu > li > ul > li:hover > ul {
  visibility: visible;
  opacity: 1;
  display: inline-block;
  position: absolute;
  left: 170px;
  margin-top: -6px;
  /*align ul to left*/
  min-width: 150px;
}

div#holToolbar > span:nth-of-type(2) {
  margin-left: auto;
  margin-right: 1rem;
  position: relative;
  -ms-flex-item-align: center;
      align-self: center;
}

div#holToolbar > span:nth-of-type(2)::after {
  font-family: "ui-font";
  content: "⟠";
  /*down caret*/
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 0.9rem;
  pointer-events: none;
}

/*select dropdown at top of menu nav bar*/
div#holToolbar > span > select {
  padding: 5px 8px;
  border-radius: 3px;
  border: 1px solid #cccccc;
  overflow: hidden;
  background-color: var(--buttonBgColor);
  appearance: none;
  font-size: 0.9rem;
  color: #39464e;
  -ms-flex-preferred-size: 16.9rem;
      flex-basis: 16.9rem;
  box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.06), inset -1px -1px 1px 0 rgba(0, 0, 0, 0.02);
}

div#holToolbar > span > select:focus {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

div#holToolbar > span > select::after {
  font-family: "ui-font";
  content: "";
  /*down caret*/
  position: absolute;
  top: 0;
  left: -5px;
}

/*info 'i' Button*/
div#holToolbar > button {
  background-color: var(--buttonBgColor);
  border: 1px solid #cccccc;
  border-radius: 3px;
  -ms-flex-item-align: center;
      align-self: center;
  font-size: 1rem;
  padding: 5px 8px;
  color: #39464e;
  margin-right: 0.5rem;
  box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.06), inset -1px -1px 1px 0 rgba(0, 0, 0, 0.02);
}

div#holToolbar > button:active {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

input#fileInput {
  display: none;
}

button.pressed {
  background-color: #909090;
  border-style: inset;
}

/*right menu box*/
div#holRightBox {
  position: fixed;
  top: 4rem;
  /* increase by 2 to accommodate siteNav div at top */
  right: 0.5rem;
  padding: 0;
  border: 0;
  margin: 0;
  width: 20rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkitbox-sizing: border-box;
  max-height: calc(100% - 4.5rem);
  /* was 3 should formerly have been 4.5 to fit bottom of box into window, increase by 2 to accommodate siteNav div at top */
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px rgba(0, 0, 0, 0.5);
  background-color: #fafafa;
  border-radius: 5px;
}

nav#holNav {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -ms-flex-negative: 1;
      flex-shrink: 1;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  height: auto;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--floatMenuBgColor);
}

/*popup box that appear under menu when item is selected*/
div#holInfo {
  display: none;
  padding: 0.25rem;
  overflow: auto;
  margin: 0;
  -webkit-box-flex: 3;
      -ms-flex: 3;
          flex: 3;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  box-sizing: border-box;
  background-color: white;
  border-radius: 0 0 5px 5px;
  color: #39464e;
}

nav#holNav h2 {
  font-size: 100%;
  text-align: center;
  padding: 0.5rem;
  margin: 0;
  color: #39464e;
  height: 2rem;
}

nav#holNav h2 input#chkShowAll {
  display: inline-block;
  float: left;
}

/*search button on top of right menu*/
button#btnNavSearch {
  float: right;
  display: inline-block;
  font-family: ui-font;
  background-color: rgba(245, 245, 245, 0.4);
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-size: 1rem;
  padding: 5px 8px;
  text-align: center;
  color: #39464e;
  box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.06), inset -1px -1px 1px 0 rgba(0, 0, 0, 0.02);
}

/*active state for button*/
button#btnNavSearch.pressed {
  display: inline-block;
  float: right;
  text-align: center;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  color: #969696;
}

h2 input#inpNavSearch {
  appearance: none;
  box-shadow: none;
  border-radius: 0;
}

/*text field for search*/
input#inpNavSearch {
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 1rem;
  border: solid 1px #ccc;
  box-shadow: inset 1px 1px 2px 0 #707070;
  transition: box-shadow 0.5s;
}

input#inpNavSearch:focus {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

nav#holNav h2 input {
  display: none;
}

nav#holNav ul {
  list-style-type: none;
  padding: 0.1rem;
  margin: 0.5rem;
  color: #39464e;
}

nav#holNav > ul > li {
  padding: 0.5rem 0.5rem;
  margin-top: 0.2rem;
  margin-left: 0.2rem;
  margin-right: 0.2rem;
  vertical-align: middle;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

/*List of pre-created colours used below to get a hover effect*/
/*
(0, 0, 0)
(85, 0, 0)
(0, 85, 0)
(0, 0, 85)
(85, 85, 0)
(85, 0, 85)
(0, 85, 85)
(150, 0, 0)
(0, 130, 0)
(0, 0, 150)
*/
ul#holCategories > li:nth-of-type(1):hover {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

ul#holCategories > li:nth-of-type(2):hover {
  background-color: rgba(85, 0, 0, 0.2) !important;
}

ul#holCategories > li:nth-of-type(3):hover {
  background-color: rgba(0, 85, 0, 0.2) !important;
}

ul#holCategories > li:nth-of-type(4):hover {
  background-color: rgba(0, 0, 82, 0.2) !important;
}

ul#holCategories > li:nth-of-type(5):hover {
  background-color: rgba(85, 85, 0, 0.2) !important;
}

ul#holCategories > li:nth-of-type(6):hover {
  background-color: rgba(85, 0, 85, 0.2) !important;
}

ul#holCategories > li:nth-of-type(7):hover {
  background-color: rgba(0, 85, 85, 0.2) !important;
}

ul#holCategories > li:nth-of-type(8):hover {
  background-color: rgba(150, 0, 0, 0.2) !important;
}

ul#holCategories > li:nth-of-type(9):hover {
  background-color: rgba(0, 130, 0, 0.2) !important;
}

ul#holCategories > li:nth-of-type(10):hover {
  background-color: rgba(0, 0, 150, 0.2) !important;
}

/*last list item gets a bottom margin*/
ul#holCategories > li:last-of-type {
  margin-bottom: 0.2rem;
}

nav#holNav > ul > li > input {
  float: right;
}

nav#holNav li:first-child,
nav#holNav > ul > li.headless li {
  border-top: none;
}

nav#holNav > ul > li > ul {
  display: none;
  font-size: 90%;
  margin-top: 0.5rem;
}

nav#holNav > ul > li > ul > li {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.33rem;
  margin-top: 0.33rem;
  padding: 0.2rem;
  vertical-align: middle;
  border-bottom: 1px solid #b1b1b1;
  transition: background-color 0.2s ease, border 0.2s ease;
}

/*hover effect for sub menu item in categories*/
ul#holCategories > li > ul > li:hover {
  background-color: rgba(240, 240, 240, 0.8);
  border-bottom: 1px solid rgba(240, 240, 240, 0.8);
  border-radius: 3px;
}

nav#holNav > ul > li > ul > li:last-of-type {
  border-bottom: 0;
}

nav#holNav > ul > li > ul > li > input {
  float: left;
}

nav#holNav > ul > li > ul > li.selected span {
  outline: solid 2px white;
  /*border-top-style: none;*/
  /*background-color: white;*/
}

nav#holNav > ul > li > ul > li > span {
  margin-top: 0;
  margin-bottom: 0.2rem;
  padding: 0 2rem;
  cursor: pointer;
  display: block;
}

nav#holNav .hidden {
  display: none;
}

nav#holNav > ul > li > span {
  cursor: pointer;
}

/*menu not expanded with right pointed caret*/
nav#holNav > ul > li > span:before {
  content: "⏵";
  /*caret right*/
  font-family: ui-font;
  font-size: 100%;
  position: relative;
  width: 0.9rem;
  display: inline-block;
  /*allow width and height to be specified on pseudo element*/
  padding-left: 0.25rem;
}

/*expanded menu with down pointing caret*/
nav#holNav > ul > li.expanded > span:before {
  content: "⏷";
  /*caret down*/
  font-family: ui-font;
}

nav#holNav > ul > li.headless:before {
  content: "";
}

nav#holNav > ul > li.expanded ul,
nav#holNav > ul > li.headless ul {
  display: block;
}

div#holDocDisplay {
  display: none;
  position: fixed;
  padding: 0.25rem;
  overflow: auto;
  opacity: 1;
  margin: 0;
  box-sizing: border-box;
}

div#holDocDisplay {
  left: 0;
  height: calc(100% - 9rem);
  /* original width: calc(50% - 20rem); */
  width: 50%;
  min-width: 15rem;
  border: solid 1px black;
  background-color: #ffffff;
  top: 9rem;
  resize: both;
}

div#holDocDisplay span.closeBtn{
  right: 51%;
  margin: 0.25rem;
}

div#holDocDisplay iframe#holDocDisplayFrame {
  width: 100%;
  height: calc(100% - 2rem);
  border-style: none;
}

div#holInfo span.closeBtn,
div#holDocDisplay span.closeBtn {
  display: block;
  position: fixed;
  padding: 0.2rem;
  cursor: pointer;
  /*background-color: #c0c0c0;*/
  font-family: ui-font;
  color: #39464e;
}

div#holInfo span.closeBtn:hover,
div#holDocDisplay span.closeBtn:hover {
  color: #c0c0c0;
  background-color: #000000;
}

div#holInfo h2 {
  font-size: 100%;
  text-align: center;
  margin: 0 1.5rem 0.5rem 1.5rem;
}

div#holInfo div {
  font-size: 80%;
  padding: 0.5rem;
}

span.holShowDoc {
  cursor: pointer;
  font-style: italic;
  text-decoration: underline;
}

/* Splash screen EITHER created by user OR generated by my 
   code if not there. */
div#splash {
  position: absolute;
  background-color: #ffffff;
  color: #606060;
  text-align: center;
  top: 30%;
  left: 30%;
  right: 30%;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), inset 0 0 1px 1px rgba(255, 255, 255, 0.1), 0 2px 10px rgba(0, 0, 0, 0.5);
}

div#holLoadingMessage {
  padding: 1rem;
}

/* Functionality for "loading" animation, from GN. */
div.waiting {
  min-width: 15rem;
  min-height: 2rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.3rem 1.3rem 0.2rem 1.8rem;
  text-align: center;
  margin-bottom: 0.5ex;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
  background-image: -webkit-gradient(linear, left top, right top, color-stop(25%, rgba(100, 100, 100, 0.15)), color-stop(25%, transparent), color-stop(50%, transparent), color-stop(50%, rgba(100, 100, 100, 0.15)), color-stop(75%, rgba(100, 100, 100, 0.15)), color-stop(75%, transparent), to(transparent));
  background-image: linear-gradient(90deg, rgba(100, 100, 100, 0.15) 25%, transparent 25%, transparent 50%, rgba(100, 100, 100, 0.15) 50%, rgba(100, 100, 100, 0.15) 75%, transparent 75%, transparent);
  background-color: #c8c8c8 !important;
  z-index: 1;
  background-size: 40px 40px;
  -webkit-animation: move 2s linear infinite;
          animation: move 2s linear infinite;
  overflow: hidden;
}

@-webkit-keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}
/* div in which documents retrieved by AJAX for display in the page 
   have their contents stored. */
div#retrievedDocs {
  display: none;
}

div#holTextEditor {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 8rem;
  background-color: rgba(64, 64, 64, 0.7);
  border: solid 1px black;
  z-index: 2000;
}

div#holTextEditor textarea {
  width: 100%;
  height: calc(100% - 3rem);
}

div#holTextEditor button {
  float: right;
}

textarea#holCoordsBox {
  position: absolute;
  bottom: 0.1rem;
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
  height: 8rem;
  display: none;
}

a.holFeatureLink {
  cursor: pointer;
  color: #0000ff;
  text-decoration: underline;
}
/*# sourceMappingURL=hcmc_ol.css.map */