@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background-color: #FFF;
}

a {
  color: #0A8D45;
  text-decoration: none;
}

p {
  color: #003D4C;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: 18px;
  width: 100%;
  clear: both;
}

h1, h2, h3, h4, h5, h6 {
  color: #0A8D45;
  font-weight: 700;
  font-family: "Nunito Sans", sans-serif;
  width: 100%;
  clear: both;
}

li {
  color: #003D4C;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  font-size: 18px;
}

/* ---------- Class defined by Dan for info box type classes ------- */
.greenbox {
  padding: 1em;
  background: #a1d99b;
  color: black;
  border: 2px solid black;
  border-radius: 10px;
}
.center {
  text-align: center;
}


.container h1, .container h2, .container h3, .container h4 {
  margin-top: 60px;
}

div {
  clear: both;
}

img {
  width: 100%;
  height: auto;
  margin: auto;
  display: block;
}

figcaption {
  margin-top: 10px;
  padding-bottom: 10px;
  color: #5A5A5A;
  margin-bottom: 20px;
  border-bottom: 5px solid #eee;
}

.intro {
  background-color: #F6F6F6;
  padding: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-left: -40px;
  margin-right: -40px;
  margin-bottom: -80px;
  position: relative;
  top: -80px;
  border-radius: 10px;
}

.intro h1 {
  margin-top: 20px;
}

.intro p {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}

.back a {
  background-color: #0A8D45;
  color: #fff;
  border-radius: 4px;
  border: none;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 1em;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all .2s;
  position: absolute;
  top: 25px;
}

.back a:hover {
  -ms-transform: scale(1.04, 1.04); /* IE 9 */
  transform: scale(1.04, 1.04); /* Standard syntax */
  text-decoration: none;
}

.back a .glyphicon {
  margin-left: 0;
  margin-right: 10px;
}

.logout {
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  margin-top: 25px;
}

#logout-button {
  background-color: #0A8D45;
  color: #fff;
  border-radius: 4px;
  border: none;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 1em;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  transition: all .2s;
}

#logout-button:hover {
  -ms-transform: scale(1.04, 1.04); /* IE 9 */
  transform: scale(1.04, 1.04); /* Standard syntax */
}

.btn-primary {
  border: none;
  background-color: transparent;
  padding: 0;
}

.logo {
  margin-top: -18px;
  width: 80px;
  height: auto;
}

.header-logo {
  margin-top: -50px;
  width: 150px;
  height: auto;
}

.site-header {
  display: block;
  padding: 15px;
  background-image: url("../images/Zelus_BG_Header.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 50px;
  box-shadow:  rgba(0,0,0,0.4) 0 0 0 10000px inset;
  text-align: center;
}

.site-header h1 {
  display: inline-block;
  width: 100%;
  color: #0A8D45;
  font-family: "Avenir", sans-serif;
  font-weight: 500;
  font-size: 6.6em;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.site-header h3 {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
  color: #F6F6F6;
}

.container {
  display: block;
  width: 100%;
  max-width: 960px;
  margin-top: 30px;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 50px;
}

/* --------------- table work -------------------*/
/* Avoid the dashboard (main page table setup) ---- */

table:not(.dashboard) {
  font-family: "Source Sans Pro", sans-serif;
  border: 3px solid #000000;
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}

table:not(.dashboard) td, table:not(.dashboard) th {
  border: 1px solid #000000;
  padding: 5px 4px;
}
table:not(.dashboard) tbody td {
  font-size: 13px;
  text-align: center;
}
table:not(.dashboard) tr:nth-child(even) {
  background: #d2d0d08a;
}
table:not(.dashboard) thead {
  background: #b3b3b3;
  background: -moz-linear-gradient(top, #dbdbdb 0%, #d3d3d3 66%, #CFCFCF 100%);
  background: -webkit-linear-gradient(top, #dbdbdb 0%, #d3d3d3 66%, #CFCFCF 100%);
  background: linear-gradient(to bottom, #dbdbdb 0%, #d3d3d3 66%, #CFCFCF 100%);
  border-bottom: 3px solid #000000;
}
table:not(.dashboard) thead th {
  font-size: 15px;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

.table_container {
  overflow-x: auto;
  width: 100%;
}


.dashboard {
  margin: auto;
  font-family: "Source Sans Pro", sans-serif;
  border-collapse: separate;
  border-spacing: 0 0.8em;
  width: 100%;
}

.dashboard td, .dashboard th {
  padding: 10px;
  white-space: normal;
}

.dashboard td {
  color: #003D4C;
  font-size: 1.2em;
  background-color: #F6F6F6;
}

.dashboard td a {
  color: #0A8D45;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard td a .glyphicon {
  position: relative;
  top: 2px;
  left: 0;
  transition: left 0.3s;
}

.dashboard td a:hover {
  text-decoration: underline;
}

.dashboard td a:hover .glyphicon {
  left: 4px;
}

.dashboard td.download a {
  display: inline-block;
  background-color: #0A8D45;
  color: #fff;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9em;
  font-weight: 600;
  transition: all 0.2s;
  min-width: 122px;
}

.dashboard td.download a:hover {
  text-decoration: none;
  -ms-transform: scale(1.04, 1.04); /* IE 9 */
  transform: scale(1.04, 1.04); /* Standard syntax */
}

.dashboard td.download a .glyphicon {
  position: relative;
  top: 2px;
  transition: all 0.3s;
}

.dashboard td.download a:hover .glyphicon {
  left: 0;
}

.dashboard td.unavailable {
  color: #8B8B8B;
}

.dashboard td:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.dashboard td:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.dashboard th {
  color: #003D4C;
  font-size: 1.5em;
  text-align: left;
  padding-bottom: 0;
}

.glyphicon {
  margin-left: 5px;
}


@media (min-width: 529px) {
  /*Img classes to add on img tags depending on if the image is set to be full width, floating to the right, or floating to the left*/

  .img-full-width {
    width: calc(100% + 200px);
    height: auto;
    margin-left: -100px;
    margin-right: -100px;
    display: block;
  }

  .img-float-right {
    float: right;
    max-width: 50%;
  }

  .img-float-left {
    float: left;
    max-width: 50%;
  }

  /*-------------- end img classes ------------------*/
}

@media (max-width: 528px) {
    .intro {
      margin-right: -15px;
      margin-left: -15px;
      border-radius: 0;
      padding: 15px;
    }

    .logo {
      margin-top: -14px;
      margin-right: 12px;
      width: 54px;
    }

    .header h1 {
      font-size: 4.4em;
      letter-spacing: 2px;
    }
}

@media (max-width: 350px) {
    .logo {
      margin-top: -14px;
      margin-right: 12px;
      width: 44px;
    }

    .header h1 {
      font-size: 4em;
      letter-spacing: 2px;
    }

    .header h3 {
      font-size: 1.6em;
    }
}
