/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap"); */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Poppins", sans-serif; */
  font-family: "Helvetica", sans-serif;
}

/* Buttons */
button {
  width: 150px;
  height: 45px;
  background: #385d98;
  border: none;
  outline: none;
  border-radius: 3px;
  font-size: 18px;
  color: whitesmoke;  /*text*/
  cursor: #333;
  font-weight: 600;  /*bold font */
  margin-bottom: 20px;
  cursor: pointer;
}

section {
  /* padding-top: 30px; */
  margin-right: 20px;
  width: 300px;
}

section a {
  color: #385d98;
  text-decoration: none;
}

section a:hover {
  text-decoration: underline;
}

aside {

}

aside p {
  margin-bottom: 5px;
}

.button-small-grey {
  background: dimgray;
}

.button-small-blue {
  background: #385d98;
}

.button-small-red {
  background: red;
}

body {
  display: block;
  color: #333; /* text colour */
  /*justify-content: center;*/
  /* align-items: center; */
  /* min-height: 100vh; */
  /* background: seagreen; */
}

/* _______ THIS DOESN'T WORK _______ */
.single-box-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.single-box-centered h1 {
  margin-top: 20px;
}

.single-box-centered p {
  margin-top: 20px;
  margin-bottom: 20px;
}

header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 12.5%;
  /* background: rgb(227, 227, 255); */
  background: url('/static/images/nav-daytime-clouds-03.jpg');
  background-size: cover;
  background-position: bottom;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000; /* text colour */
  /*z-indrgb(0, 0, 0)100;*/
}

.icon-with-text {
  display: inline-block;
  /*background: lightsalmon; */
  margin: 0 10px;
  text-align: center;
}

.icon-with-text a {
  color: #000;
  text-decoration: none;
}

.icon-with-text a:hover {
  text-decoration: underline;
}

.icon-with-text img {
  width: 38px;
  height: 38px;
}

.icon-with-text p {
  margin: 0;
}

.dialogbox {
  position: relative;
  width: 420px;
  /*background: purple;*/
  /* background: lightsalmon; */
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  color: #000;
  padding: 40px 40px;
}

.dialogbox h1 {
  font-size: 36px;
  text-align: center;
}

.dialogbox h4 {
  text-align: center;
}

dialog {
  /* The default dialog box padding causes a bug in the 'click-away' feature
        Move the padding to the modal-with-clickaway container */
  padding: 0;
  position: relative;
  width: 420px;
  /*background: purple;*/
  /* background: lightsalmon; */
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  color: #000;
  /* Centre positioning: ____________ */
  transform: translateX(-50%);
  left: 50%;
  top: 30%;
}

dialog::backdrop {
  /*background-color: aquamarine;*/
  background-blend-mode: darken;
  backdrop-filter: blur(20px);
}

dialog .modal-with-clickaway {
  padding: 40px 40px;
  align-items: center;
}

dialog .modal-with-clickaway h1 {
  font-size: 36px;
  text-align: center;
  margin-top: 10px;
}

dialog .modal-with-clickaway h4 {
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
}

dialog .modal-with-clickaway p {
  margin-top: 20px;
  margin-bottom: 20px;
}


.selection-box {
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
}

.selection-box select {
  margin-left: 10px;
  height: 1.5rem;
  min-width: 250px;
  border: 2px solid rgba(63, 63, 63, 0.2);
  border-radius: 3px;
  color: #000;
  padding: 3px;
  background: transparent;
}

.input-box {
  width: 100%;
  height: 40px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.input-find-a-user {
  width: 300px;
  height: 40px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(63, 63, 63, 0.2);
  border-radius: 3px;
  font-size: 16px;
  color: #000;
  padding: 3px;
}

.input-box label {
  padding: 3px;
}

.input-box input::placeholder {
  color: gray;
}

.check-box {
  display: flex;
}

.check-box label {
}

.check-box input {
  /* transform: scale(1.5); */
  margin-left: 10px;
  width: 1.5em;
  height: 1.5rem;
  accent-color: #385d98;
}

.dialogbox .remember-me-forgot-pword {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin-top: 50px;
}

.remember-me-forgot-pword label input {
  accent-color: #000;
  margin-right: 3px;
}

/* hyperlink */
.remember-me-forgot-pword a {
  color: #000;
  text-decoration: none;
}

/* on mouse-hover */
.remember-me-forgot-pword a:hover {
  text-decoration: underline;
}

.dialogbox .button-blue {
  width: 100%;
  background: #385d98;
}

.dialogbox .button-grey {
  width: 100%;
  background: dimgray;
}

.dialogbox .hyperlink {
  font-size: 14.5px;
  text-align: center;
  margin: 20px 0 15px;  /* Overrides dialogbox's 'padding' margins */
}

/* Can this an the "forgot" link just use a general class and in html do the BOLD label? */
.hyperlink p a {
  color: #385d98;
  text-decoration: none;
}

.hyperlink p a:hover {
  text-decoration: underline;
}



table {
  border-collapse: collapse;
  width: 100%;
  color: #333; /* text colour */
  /* font-family: Arial, sans-serif; */
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  margin: auto;
  margin-bottom: 20px;
}

table caption {
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  padding: 0.5rem;
}

table th {
  /* background-color: #ff9800; */
  background-color: #385d98;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 1px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #ccc;
}

table tr:nth-child(even) td {
  background-color: #f2f2f2;
  /* background-color: rgb(245, 249, 255); */
}

table tr:nth-child(odd) td {
  /* background-color: #ffedcc; */
  /* background-color: rgb(227, 227, 255); */
  background-color: rgb(210, 220, 234);
}

table tr:hover td {
  /* background-color: #c6c7ff; */
  background-color: #a8b7cf;
}

table td {
  background-color: #fff;
  padding: 5px;
  border-bottom: 1px solid #ccc;
  /* font-weight: bold; */
}

table td img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
}

table td a {
  color: #385d98;
  text-decoration: none;
}

table td a:hover {
  color: #385d98;
  text-decoration: underline;
}

.centered--content {
  justify-content: center;
  text-align: center;
  display: block;
  background-color: #fff;
  width: 700px;
  padding: 2rem;
}

.centered--content a {
  color: #385d98;
  text-decoration: none;
}

.centered--content a:hover {
  color: #385d98;
  text-decoration: underline;
}

.main--content {
  display: block;
  position: relative;
  background-color: #fff;
  width: 100%;
  padding: 2rem;
}

.main--content .centered--content {
  position: relative;
  margin-left: 250px;
}

.main--content h1 {
  margin-bottom: 20px;
}

.main--content a {
  color: #385d98;
  text-decoration: none;
}

.main--content a:hover {
  color: #385d98;
  text-decoration: underline;
}

.pictures {
  min-width: 1000px;
  width: 78vw;
  display: flex;
  flex-wrap: wrap;
}

.pictures figure {
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 5px;
}

.pictures figure figcaption {
  color: #000;    /* #385d98  for CM blue */
  font-size: small;
  text-transform: uppercase;
  margin-left: 5px;
}

/* hyperlink */
.pictures figure figcaption a {
  text-decoration: none;
  color: #000;
}

.pictures figure figcaption a:hover {
  text-decoration: underline;
  color: #000;  /* #385d98 cm-blue */
}

/* not used */
.pictures img {
  border-radius: 10px;
}

.pictures a img {
  border-radius: 10px;
  filter: brightness(90%);
}


.pictures a:hover img {
  border-radius: 10px;
  filter: brightness(105%);
}

.arrange-horiztonally {
  display: flex;
  position: relative;
  background-color: #fff;
  width: 100%;
  padding: 2rem;
}

.arrange-vertically {
  display: block;
  position: relative;
  background-color: #fff;
  width: 100%;
  padding: 2rem;
}

.video-control {
  width: 350px;
}

.video-thumbnail {
  width: 560px;
}

.video-thumbnail a {
  color: #385d98;
  text-decoration: none;
}

.video-thumbnail a:hover {
  text-decoration: underline;
}


.media-status-indicator img {
  width: 30px;
  height: 30px;
}

.flashes {
  padding: 1rem;
}

.flashes .red {
  background-color: lightpink;
}

.flashes .green {
  background-color: rgb(193, 255, 234);
}

.flashes .blue {
  background-color: rgb(210, 220, 234);
}

.pagination {
  color: rgb(108, 113, 120);  /* static text - no hyperlink */
}

.pagination a {
  color: #385d98;
  padding: 8px 12px;
  text-decoration: none;
  transition: background-color .3s;
  border-radius: 3px;
}

/* Style the active/current link */
.pagination a.active {
  background-color: #385d98;
  color: white;
  border-radius: 3px;
}

/* Add a grey background color on mouse-over */
.pagination a:hover:not(.active) {
  background-color: #a8b7cf;
  border-radius: 3px;
}

.health-box {
  display: flex;
  position: relative;
  background-color: #fff;
  width: 100%;
  margin-bottom: 20px;
}

.health-box table {
  border-collapse: separate;
  width: 100%;
  color: #333; /* text colour */
  /* font-family: Arial, sans-serif; */
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  margin: auto;
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.health-box table th {
  background-color: #385d98;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 1px;
}

.health-box table th .white-text{
  color: #fff; /* hyperlink text colour inside table heading*/
  font-weight: bold;
}

.health-box table tr td {
  background-color: rgb(210, 220, 234);
  text-align: center;
}

.health-box table tbody tr th {
  width: 250px;
  text-align: left;
}

.health-box .cell-highlight {
  background-color: lightpink;
}

.search-box {
  position: relative;
  width: 420px;
  /*background: purple;*/
  /* background: lightsalmon; */
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  color: #000;
  padding: 40px 40px;
}

.searchbar {
  display: flex;
  justify-content: center;
  height: 40px;
  margin-bottom: 4rem;
}

.searchbar input {
  width: 100%;
  height: 45px;  /* Same as push button */
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(63, 63, 63, 0.2);
  border-radius: 3px;
  font-size: 16px;
  color: #000;
  padding: 3px;
  margin-right: 3px;
}

.quick-search-links {
  display: flex;
  position: relative;
  background-color: #fff;
  width: 70%;
  margin-bottom: 20px;
}

.filter-bar {
  display: inline-flex;
  justify-content: left;
  vertical-align: bottom;
  margin-bottom: 30px;
}

.filter-bar input {
  width: 150px;
  height: 45px;  /* Same as push button */
  background: transparent;
  border: none;
  outline: none;
  border: 2px solid rgba(63, 63, 63, 0.2);
  border-radius: 3px;
  font-size: 16px;
  color: gray;
  padding: 3px;
  margin-right: 20px;
}

.filter-bar .input-label-pair {
  display: block;
  justify-content: left;
}

.filter-bar button {
  /*
  TODO: how to make this stick to bottom of container?
        Curently relying on margin-top which renders differently between browsers
  */
  margin-top: 18px;
  margin-right: 5px;
}


