* {
  font-family: "Roboto", "Didact Gothic", sans-serif;
  box-sizing: border-box;
}

:root {
  --main-bg-color: white;
  --heading-bg-color: black; /* #0468b3; */
  --secondary-bg-color: black; /* #0468b3; */
  --site-logo-url: url("../images/co2me_web.jpg");
  --border-radius: 10px;
  --box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.3);

  --background-color: #022167;
  --background-color2: #0072cd;
  --background-gradient: linear-gradient(
    180deg,
    var(--background-color) 0%,
    var(--background-color2) 100%
  );
}

input[type="text"],
input[type="button"],
input[type="submit"] {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  border-radius: var(--border-radius);
}

H2 {
  font-weight: bold;
  background-color: #ddd;
}

BODY {
  margin: 20px;
  margin-top: 0px;
  padding: 0;
  min-height: 100vh;
  background-color: var(--main-bg-color);
}

INPUT[type="text"] {
  padding: 10px;
  margin: 10px;
  border: 1px solid #616670;
}

INPUT[type="submit"],
INPUT[type="button"],
BUTTON {
  background: none;
  border: none;
  color: var(--main-bg-color);
  background-color: var(--heading-bg-color);
  cursor: pointer;
  white-space: normal;
  padding: 10px;
  margin: 10px;
  border-radius: var(--border-radius);
}

A {
  color: var(--heading-bg-color);
}

HEADING A {
  color: white;
}

.reversed {
  background-color: var(--main-bg-color);
  color: var(--heading-bg-color);
}

A.reversed {
  background: none;
  color: var(--main-bg-color);
}

BUTTON.reversed {
  border: 1px solid var(--heading-bg-color);
}

BUTTON.correct {
  background-color: #0a0;
  color: #fff;
}

BUTTON.incorrect {
  background-color: #a00;
  color: #fff;
}

SECTION {
  border: 1px solid var(--heading-bg-color);
}

HEADING {
  display: block;
  color: var(--main-bg-color);
  background: var(--heading-bg-color);
  background-image: var(--background-gradient);
  font-size: 12pt;
  font-weight: bold;
  padding: 5px;
}

.privacy_tos_form {
  background-color: white;
  border: 1px solid var(--heading-bg-color);
  padding: 10px;
  width: 90%;
  max-width: 768px;
  margin: auto;
  margin-top: 10px;
}

.logon_form {
  background-color: white;
  border: 1px solid var(--heading-bg-color);
  padding: 10px;
  width: 320px;
  margin: auto;
  margin-top: 10px;
}

.logon_form_logo {
  background-repeat: no-repeat;
  background-size: 180px auto;
  background-position: center;
  background-image: var(--site-logo-url);
  height: 200px;
}

.logon_form INPUT {
  width: 100%;
  padding: 10px;
  margin: 10px 0px;
}

.logon_form INPUT[type="checkbox"] {
  width: auto;
  margin: 10px;
  margin-bottom: inherit;
  margin-top: 20px;
}

.logon_form LABEL {
  display: block;
}

.main_grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 330px minmax(320px, 960px);
  -ms-grid-rows: 70px auto auto 1fr;

  grid-template-columns: 330px minmax(320px, 960px);
  grid-template-rows: 70px auto auto 1fr;
  grid-template-areas:
    "site_logo site_title"
    "sidebar main_content"
    "searchbar main_content"
    "categories main_content";

  grid-gap: 20px;
  margin: 0 auto;
  padding-top: 10px;
  justify-content: center;
  align-items: start;
}

.site_logo {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: site_logo;
  align-self: center;
  justify-self: center;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: var(--site-logo-url);
  height: 100%;
  width: 100%;
}

.site_name {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: site_title;
  font-size: 36pt;
  font-style: italic;
  font-weight: bold;
  justify-self: center;
  align-self: center;
  color: var(--heading-bg-color);
}

.user_profile {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: sidebar;
}

.search {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
  grid-area: searchbar;
}

.search > DIV {
  display: flex;
}

.search > DIV > INPUT:first-child {
  flex: 1;
}

.main_content {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  -ms-grid-row-span: 3;
  grid-area: main_content;
}

.navigator {
  -ms-grid-row: 4;
  -ms-grid-column: 1;
  grid-area: categories;

  display: grid;

  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
  grid-gap: 0px;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
}

.navigator IMG {
  width: 100%;
  height: auto;
}

.side_menu {
  -ms-grid-row: 4;
  -ms-grid-column: 1;
  grid-area: categories;
  display: none;
}

.featured_content_grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}

.featured_content_grid :first-child {
  grid-column: 1 / -1;
}

.featured_content_grid DIV,
SECTION {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
}

.featured_content_grid IMG {
  width: 100%;
  height: auto;
}

UL.article-list {
  list-style-type: none;
  margin: 0;
  padding: 0px;
  width: 100%;
  display: block;
}

.article-list HEADING {
  text-align: left;
}

.article-list LI.section {
  font-weight: bold;
  height: auto;
  background: #ddd;
  background-image: linear-gradient(180deg, #ddd, #eee);
  min-height: auto;
}

.article-list LI {
  width: 100%;
  background-color: white;
  border: none;
  border-bottom: 1px solid grey;
  display: block;
  vertical-align: top;
  text-align: left;
  margin: 0px;
  padding: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  color: black;

  position: relative;
  min-height: 64px;
}

.article-list LI:last-child {
  border-bottom: none;
}

.article-list LI IMG {
  max-height: 48px;
  height: auto;
  width: 48px;
  float: left;
  margin-right: 5px;
  vertical-align: middle;
}

#article_view H1 {
  color: var(--secondary-bg-color);
}

#article_content {
  text-align: left;
}

#article_content IMG,
#article_content VIDEO {
  max-width: 70%;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
}

.answer_button {
  display: block;
  width: 80%;
  margin: 10px auto;
}

.submit_answer_button {
  display: block;
  width: 80%;
  margin: 10px auto;
}

.answer_feedback {
  display: none;
  text-align: center;
}

UL.sticker_sort_preview {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
}

.sticker_sort_preview LI {
  width: 160px;
  height: 240px;
  background-size: contain;
  border: 1px dashed black;
  background-color: #fff;
  margin: 5px;
  padding: 0px;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  box-sizing: center-box;
}

.sticker_preview_image {
  height: 160px;
  color: black;
  font-size: 18pt;
  font-weight: bold;
  background-color: #fff;
  background-position: bottom left;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sticker_preview_title {
  width: 100%;
  height: 80px;
  float: left;
  text-align: center;
  background-color: #acaeb2;
  color: black;
  font-size: 12pt;
  border-top: 1px solid black;
  border-bottom: 1px dashed black;
  box-sizing: border-box;
  overflow: hidden;
}

.youtube_player {
  margin: 0 auto;
  display: block;
}

.location_search {
  background-color: white;
  padding: 10px;
  width: 100%;
  margin: 0px;
  margin-top: 10px;
  grid-area: locationsearch;
}

.location_search INPUT {
  width: 100%;
  padding: 10px;
  margin: 10px 0px;
}

.location_search INPUT[type="checkbox"] {
  width: auto;
  margin: 10px;
  margin-bottom: inherit;
  margin-top: 20px;
}

.location_search LABEL {
  display: block;
}

.location_list {
  grid-area: locationlist;
  height: 100%;
  overflow-y: auto;
}

.location_list TABLE {
  display: inline-block;
}

.location_list TH {
  background-color: var(--main-bg-color);
  color: var(--heading-bg-color);
  border-bottom: 1px solid var(--heading-bg-color);
  padding: 2px;
}

.location_list TD {
  text-align: left;
  padding: 2px;
}

.mainCategory,
.secondaryCategory,
.articleRead,
.articleUnread {
  cursor: pointer;
}

@media print {
  .printOnly {
    display: block !important;
  }

  .displayOnly {
    display: none !important;
  }
}

@media screen {
  .printOnly {
    display: none !important;
  }

  .displayOnly {
    display: block !important;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  HEADING {
    color: white; /* var(--main-bg-color) */
    background-color: black; /* var(--heading-bg-color) */
  }

  SECTION {
    border: 1px solid black;
    margin: 5px;
  }

  INPUT[type="submit"],
  INPUT[type="button"],
  BUTTON {
    color: white;
    background-color: black;
  }

  .reversed {
    background-color: white;
    color: black;
  }

  A.reversed {
    background: none;
    color: white;
  }

  BUTTON.reversed {
    border: 1px solid black;
  }

  .site_name {
    color: black;
  }

  .navigator SPAN {
    height: 159px;
    width: 159px;
    display: inline-block;
    float: left;
  }

  .featured_content_grid DIV {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding: 5px;
    float: left;
  }

  .featured_content_grid :first-child {
    width: 100%;
  }
}

.contentTabStrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  align-items: center;
  grid-gap: 0.5rem;
  font-weight: bolder;
  color: var(--heading-bg-color);
  border-bottom: 1px solid var(--heading-bg-color);
}

.contentTabStrip DIV {
  height: 30px;
  margin: 0px;
  padding: 5px;
  cursor: pointer;
  text-align: center;
}

.contentTabSelected {
  color: white;
  background-color: var(--heading-bg-color);
}

.video_area {
  height: 300px;
  text-align: center;
  padding: 20px;
  margin: 20px;
  border: 10px dotted black;
  border-left: none;
  border-right: none;
  box-sizing: content-box;
}
.video_container {
  height: 300px;
  width: 400px;

  display: none;
}

IFRAME.video_container {
  margin: auto;
}

.video_container > IFRAME {
  margin: auto;
  display: block;
}

.delete_sticker {
  display: none;
}
