* {
  box-sizing: border-box;
}
html {
  font-family:  "museo-slab",serif;
  font-size: calc(15px + 0.390625vw);
}
body {
  color: #003189;
  background-color: #ffffff;
  margin: 0px;
}
hr {
  color: #016;
}
a {
}
strong {
  font-weight: bold;
}
img {
  max-width: 100%;
  height: auto;
  margin: 5px;
}
h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin:8px;
  text-align: center;
}
h2 {
  font-size: 1.3rem;
  font-weight: bold;
  margin:4px;
  padding-top: 8px;
}
h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin:4px;
  padding-top: 0.1vw;
  text-align: center;
}
h4 {
  font-size: 1.0rem;
  font-weight: bold;
  margin:4px;
  padding-top: 0.1vw;
  text-align: left;
}
th {
  font-size: max(16px,3vw);
  font-size: 1.3rem;
  font-weight: bold;
}
td {
  font-size: max(14px,2.5vw);
}
p {
  font-size: 1.0rem;
  padding: 12px 0px 0px 0px;
  margin: 0px 2px 5px 2px;
}
.buttonstyle {
  color: #003189;
  font-size:14px;
  border-style: solid;
  border-radius: 4px;
  border-color: #003189;
  background-color: #d6ddff;
  padding: 2px 4px;
  width: 100%;
  text-align: center;
  color: white;
  background-color: #0000aa;
  border-style: outset;
  border-color: #ffe5b4;
  border-radius: 6px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 1.0rem;
  margin: 4px 2px;
  cursor: pointer;
}


/*
.div-box {
  border:solid #003189;
  border-radius: 20px;
}
*/


ul {
  font-size:20px;
}
input[type=button], input[type=submit], input[type=reset] {
  color: white;
  background-color: #0000aa;
  border-style: outset;
  border-color: #ffe5b4;
  border-radius: 6px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 1.0rem;
  margin: 4px 2px;
  cursor: pointer;
}
input[type=checkbox] {
    height: 1.5rem;
    width:  1.5rem;
  }
input[type=text], input[type=password] {
  background-color: #d6ddff;
  padding: 0px 0 0 0;
  width: 50vw;
  height: max(3vw,32px);
  font-size: 1.2rem;
  border:1px solid #003189;
}
select {
  margin: 0px 0 0 0;
  width: 50vw;
  height: max(4vw,20px);
  font-size: 1.0rem;
}
select[multiple] {
  height: auto;
}
textarea {
  width: 50vw;
  height: max(20vw,100px);
  font-size: 1.0rem;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

/*
.firstrow {
  min-height:600px;
  text-align:center;
}
*/

/* =================== */
/*  For Messages       */
/* =================== */
.errormsg, .warningmsg, .message {
  height: 100%;
  padding: 10px 0px 10px 0px;
  width: 100%;
  text-align: center;
  font-size: 1.0rem;
  border-top: 2px solid;
  border-bottom: 2px solid;
}
.errormsg {
  color: red;
  background-color: #fbb;
}
.warningmsg {
  color: black;
  background-color: #ffa;
}
.message {
  color: green;
  background-color: #afa;
}

/* =================== */
/*  For image pop-ups  */
/* =================== */
img[id^='myImg'] {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
img[id^='myImg']:hover {opacity: 0.7;}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
/* Add Animation */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)}
  to {-webkit-transform:scale(1)}
}
@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}
/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 2rem;
  font-weight: bold;
  transition: 0.3s;
}
.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* =================== */
/*  FLEXBOX            */
/* =================== */
.flex-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.toprow-flex {
  justify-content: space-between;
  align-items: center;
  background-color: #d6ddff;
  overflow: hidden;
  width: 100%;

  font-size: 1rem;
  margin: 0px;
  padding: 4px;
}
.titlerow-flex {
  flex-basis: 100%;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  background-image: url("../pics/image-from-rawpixel-id-5910897-original_PublicDomain__CROPPED.jpg");
  background-position: center center;
  background-repeat:no-repeat;
  height: 15vw;
  height: 15vw;
  height: 9rem;
/*  width: 100%;  */
  background-size:cover;
  align-items: center;
}
.headerrow-flex {
  color: #000000;
  background-color: #ddd;
  padding: 18px 8px;
}
.topnav-flex {
  display: flex;
  flex-direction: row;
}
.topnav-flex a {
  text-align: center;
  text-decoration: none;
}
.topnav-flex .icon {
  display: none;
}
.flex-2col {
  align-items:top;
  }
.flex-2colCollapse {
  align-items:center;
  justify-content:space-around;
  flex-basis: 50%;
}
.flex-footer {
  background-color: #d6ddff;
  text-align: center;
  font-size: 12px;
  padding: 0px;
  border-color: #003189;
  border: 2px solid;
  justify-content: space-between;
}
.flex-footer-content {
  flex-basis: 30%;
  padding: 6px 6px;
  border: none;
}


/* =================== */
.icon {
  padding: 8px 20px;
  border: none;
  outline: none;
  margin: 0px;
  align-self: flex-start;
}
.icon a {
  color: #003189;
}
.showUser {
  padding: 0vw 2vw;
  background-color: #003189;
  color: white;
  font-size: 0.6rem;
}

/* =================== */
/*  Menu Dropdown      */
/* =================== */
.dropdown {
  padding: 8px 20px;
  border: none;
  outline: none;
  margin: 0px;
  transition: color,background-color 0.3s ease-in-out;
  -webkit-transition: color,background-color 0.3s ease-in-out;;
}
.dropdown a, .dropdown-content a {
  color: #003189;
  text-decoration: none;
  text-align: left;
}
.dropdown-content {
  position: absolute;
  z-index: 2;
  color: #ffffff;
  padding: 4px;
  min-width: 140px;
  transition: opacity 0.3 ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;;
  height: 0;
  opacity: 0;
  text-decoration: none;
  overflow: hidden;
}
.dropdown-content a {
  color: #003189;
  float: none;
  display: block;
  padding: 6px 6px;
  background-color: #d6ddff;
  transition: background-color,color 0.3 ease-in-out;
  -webkit-transition: background-color,color 0.3s ease-in-out;;
}
.dropdown-content hr {
  color: #003189;
  background-color: #d6ddff;
  margin: 0px 0;
}
.dropdown:hover, .dropdown:hover > a, .dropdown:hover > div {
  color: white;
  background-color: #003189;
  opacity: 1;
  height:auto;
}
.dropdown-content a:hover {
  color: white;
  background-color: #003189;
}

/* =================== */
.buttonstyle:hover {
  color: white;
  background-color: #999;
}
.header, .flex-footer {
  width: 100%;
  text-align: center;
}
.header {
/*  background-color: #d0d0ff;  /* was #0c0cff */
  padding: 6px 6px 0px 6px;
  height: 63px;
  position: fixed;
  top: 0;
  left: 0;
}

.smallCal { display:none; }
.largeCal { display:block; }
/* =================== */
/* SCREEN SIZE CHANGES */
/* =================== */
@media only screen and (max-width: 800px) {
  span.calendarTime {
    display: none;
  }
}

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

@media only screen and (max-width: 600px) {
  .flex-container {
    flex-direction: column;
  }
  .flex-2col {
    flex-direction: column;
  }
  .toprow-flex {
    flex-direction: row;
  }
  .topnav-flex {
    flex-direction: column;
    justify-content: flex-start;
  }
  .topnav-flex.icon {
    display: block;
  }
  .topnav-flex div.icon {
    float: none;
    display: block;
    text-align: left;
    color: red;
  }
  .topnav-flex .dropdown {
    display: none;
  }
  .topnav-flex.responsive .dropdown-content {position: relative;}
  .topnav-flex.responsive .icon,
  .topnav-flex.responsive .dropdown {
    float:none;
    display: block;
    width: 100%;
    text-align: right;
  }
  .titlerow-flex {
    flex-direction: row;
  }
  .flex-footer {
    align-items: center;
  }
  .flex-footer-content {
    width: 100%;
  }
  .flex-2colCollapse {
    justify-content:center;
    align-items:center;
  }
  .smallCal { display:block; }
  .largeCal { display:none; }
}

@media only screen and (min-width: 600px) {
  .flex-container {
    flex-direction: row;
  }
  .topnav-flex {
    flex-direction: row;
  }
  .flex-footer {
    align-items: center;
  }
  .flex-2colCollapse {
    justify-content:space-around;
    align-items:flex-start;
  }
  .smallCal { display:none; }
  .largeCal { display:block; }

  span.calendarTime {
    display: inline;
  }
}

.flex-content {
  padding-left: 3vw;
  padding-right: 3vw;
  flex-direction: column;
}

.cal-popup {
  position:fixed;
  top: 50%;
  left: 0%;
  transform: translate(5%,-50%);
  width:90%;
  display: block;
  opacity:0;
  z-index: -1000;
  float:left;
  padding:24px 20px 28px 22px;
  border:2px solid #335ea1;
  background:#fff;
  -moz-box-shadow:0px 0px 13px #000;
  -webkit-box-shadow: 0px 0px 13px #000;
  box-shadow: 0px 0px 13px #000;
  font-size: 3rem;
  line-height: 1rem;
  color:#3a3b3d;
  text-align:left;
  transition: 0.5s ease-in-out 0.25s;
  -webkit-transition: all 0.5s ease-in-out 0.25s;
}

.input-grid {
  display: grid;
  grid-template-columns: 30% 60%;
  gap: 10px 10px;
  background-color: #ffff;
  padding: 10px 10px 10px 10px;
  width: 100%;
  margin:0 0 0 0;
}
.input-prompt {
  font-size: max(3vw,16px);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1vw;
  text-align: right;
  margin-top:auto;
  margin-bottom:auto;
}

/* =================== */
/* CALENDAR            */
/* =================== */
.calendar-grid {
  display: grid;
  grid-template-columns: 14% 14% 14% 14% 14% 14% 14%;
  gap: 0px;
  background-color: #335ea1;
  padding: 10px 10px 10px 10px;
  width: 100%;
  margin:0 0 0 0;
}
.calendar-grid-gap {
  background-color:#ffffff;
  grid-column: 1 / span 7;
  height:5px;
  margin:1px 1px 0px 1px;
}
.calendar-grid .grid-title {
  background-color:#ffffff;
  grid-column: 1 / span 7;
  font-weight:bold;
  font-size:1.5rem;
  color:#53316c;
  font-family:"Myriad Pro", Arial, Helvetica;
  letter-spacing:-1px;
  text-transform:uppercase;
  text-align:center;
  margin:1px 1px 0px 1px;
  padding:12px 1vw;
}
.calendar-grid .dayList {
  background-color:#ffffff;
  color:#53316c;
  text-transform:uppercase;
  font-size:0.8rem;
  font-weight:bold;
  font-family:"Myriad Pro",Arial;
  text-align:center;
  margin:1px 1px 1px 1px;
  padding:4px;
}
.calendar-grid .date {
  overflow:auto;
  height:10vw;
  background-color: #ffffff;
  padding: 2px 4px 2px 0px;
  margin:1px 1px 1px 1px;
}
.calendar-grid .date .numb {
  float:right;
  font-size: 0.8rem;
  font-size:min(max(1.7vw,6px),24px);
  color:#53316c;
  font-weight:bold;
  font-family:"Myriad Pro", Arial;
}
.calendar-grid .date p {
  line-height: 0.8rem;
  text-indent: -5px;
  margin: 0px 3px 0px 3px;
  padding: 0px 0px 6px 5px;
}
.calendar-grid .date p a {
  color:#335ea1;
  font-size:min(max(1.5vw,4px),16px);
  text-decoration:none;
}
.cal-popup-box {
  width: 100%;
  border: solid;
  border-color: #335ea1;
  padding: 6px 6px;
  font-family:"Myriad Pro", Arial, Helvetica;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
.cal-popup-box h1 {font-size:1.5rem;line-height:1.5rem;color:#3a3b3d; font-weight:normal; margin:0; font-family:Arial; letter-spacing:0;text-align:left;}
.cal-popup-box ul {font-size:1.3rem;line-height:1.3rem;list-style:none; padding:0; margin:0rem 0 1rem 0;}
.cal-popup-box ul li {font-weight:bold; margin:0; padding:0.3rem 0 0 0;font-family:"Myriad Pro", Arial, Helvetica;}
.date .cal-popup .cal-popup-box p {padding:1rem 0 0 0;color:#335ea1;}
.date .cal-popup .cal-popup-box p a {color:#335ea1;text-decoration:underline;}

#dim {
  display: block;
  opacity: 0;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: url('semitransparent1x1.png');
  background: rgba(0, 0, 0, 0.7);
  z-index:-100;
  transition: 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
}


/* =================== */
.fontawesome-icon {
  color: #335ea1;
}

.left {
  text-align:left;
}
.right {
  text-align:right;
}
.center {
  text-align: center;
}
.smalltable {margin: 0 auto;}
.smalltable td, .smalltable th { font-size: 0.65rem;}

/* =================== */
/* FILE UPLOAD         */
/* =================== */
[id^='drop-area-'] {
  border: 2px dashed #003189;
  border-radius: 20px;
  width: 80%;
  height: 100px;
  margin: 20px 50px 20px 50px;
  padding: 0px;
  overflow: clip;
}
.drop-highlight {
  border-color: blue;
  color:blue;
  background-color: #CCC;
}
[id^='gallery-'] {
  margin-top: 10px;
}
[id^='gallery-'] img {
  max-height: 75px;
  margin-bottom: 4px;
  margin-right: 4px;
  vertical-align: middle;
}
[id^='fileElem-'] {
  display: none;
}

[id^='table-'] td {
  overflow: hidden;
  white-space: nowrap;
  font-size: 1rem;
}
