/*  
    Stylesheet for lab main website
    Updated for Summer I 2013
    Updated in October 2019 by Chase Boone
*/

/*=========== Custom fonts ==============*/

@font-face {
  font-family: 'fut_B';
  src: url('./fonts/FuturaStd-Bold.otf');
}

@font-face {
  font-family: 'fut_EBO';
  src: url('./fonts/FuturaStd-ExtraBoldOblique.otf');
}

@font-face {
  font-family: 'fut_H';
  src: url('./fonts/FuturaStd-Heavy.otf');
}

@font-face {
  font-family: 'fut_MO';
  src: url('./fonts/FuturaStd-MediumOblique.otf');
}

@font-face {
  font-family: 'mont';
  src: url('./fonts/Montserrat-VariableFont_wght.ttf')
  format('truetype');
  font-weight: 1 999;
}

/*=============  Standard html elements  ===============*/

html,
body {
  scrollbar-face-color: #5D1725;
  scrollbar-highlight-color: white;
  font-family: mont;
  margin: 0;
  padding: 0;
}

#banner {
  background-color: #5D1725;
  color: white;
}

nav {
  font-family: mont;
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 700;
  color: #5d1725;
}

nav ul.dropdown-menu, nav div.dropdown-menu {
  font-family: mont;
}

.nav-pills {
  --bs-nav-pills-link-active-bg: #007FA3;
  --bs-nav-link-color: #007FA3;
  --bs-nav-link-hover-color: #007FA3;
}

hr {
  border-color: white;
  background-color: #5D1725;
  height: 2px;
}

h1 {
  text-align: center;
  color: #5D1725;
  font-size: 62px;
  font-family: fut_EBO;
}

h2 {
  text-align: center;
  color: #5D1725;
  padding: 0px 15px;
  font-family: mont;
  font-weight: 700;
}

h4 {
  /* text-align: center; */
  color: #5D1725;
  padding: 0px 15px;
  font-family: mont;
  font-weight: 700;
}

strong {
  font-weight: 700  ;
}

img {
  border: 0;
  margin: 0;
  /* -moz-border-radius: 15px; */
  /* -webkit-border-radius: 15px; */
  /* border-radius: 15px; */
  width: 100%;
  height: auto;
}

footer {
  background-color: #5D1725;
  font-family: fut_MO;
  color: white;
  text-align: center;
}

footer #portrait {
  width: 200px;
  height: auto;
}

a#training-link {
  background-color: #BDD6E6;
  color: #0a58ca;
  border: 1px solid #8dbbff;
}

div#equip .card {
  height: 430px;
}

.card-title {
  font-weight: 600;
}

.popover {
  --bs-popover-max-width: 500px;
}

video#shape_video {
  width: 100%;
  height: auto;
}

/*================= Table formatting ====================*/

table {
  font-size: 1rem;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  border-collapse: collapse;
  empty-cells: hide;
  -moz-box-shadow: 0 0 0 0 #5D1725;
  -webkit-box-shadow: 0 0 0 0 #5D1725;
  box-shadow: 0 0 0 0 #5D1725;
  text-align: center;
  /* -moz-border-radius: 15px; */
  /* -webkit-border-radius: 15px; */
  /* border-radius: 15px; */
}

th,
td {
  padding: 0.5rem;
}

td {
  width: 14.28%;
  border: 1px solid black;
  background-clip: padding-box;
}

/* table tr:first-child td:first-child {
  border-radius: 15px 0 0;
} */

/* table tr:first-child td:last-child {
  border-radius: 0 15px 0 0;
} */

/* table tr:first-child td {
  border-top: 0;
} */

/* table tr td:first-child {
  border-left: 0;
} */

/* table tr:last-child td {
  border-bottom: 0;
} */

/* table tr td:last-child {
  border-right: 0;
} */

table .heading {
  font-size: 1.5rem;
}

/*------------ Table Highlighting -----------------*/

td[onclick]:hover {
  color: #5D1725;
  text-decoration: underline;
  /* border:              .5px solid #5D1725; */
  cursor: pointer;
  -moz-box-shadow: 0 0 2px 2px #5D1725;
  -webkit-box-shadow: 0 0 2px 2px #5D1725;
  box-shadow: 0 0 2px 2px #5D1725;
}

img:hover {
  background: none;
}

/* img#shape:hover {
  background-color: rgba(200, 200, 200, .50);
} */

svg.shape:hover path:first-of-type {
  fill: rgb(150, 150, 150);
  fill-opacity: 0.5;
}

img[alt] {
  visibility: visible;
}

/*---------- Custom classes and id styles -----------*/

div #box {
  border: solid 2px black;
  border-radius: 0px;
}

div #section_heading {
  display: inline-block;
  border: black;
  border-radius: 0px;
  position: relative;
  top: -2px;
  left: -2px;
  font-family: mont, Arial;
  font-weight: 700;
  background-color: black;
  color: white;
  font-size: x-large
}

p.container, ul {
  padding-right: 10px;
}

.top_img {
  height: 195px;
  display: block;
  position: relative;
}

.top_img::after {
  content: "";
  background: url('../images/header.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
  opacity: 0.4;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  z-index: -1;
}

.top_img img {
  position: absolute;
  width: 35%;
  margin-left: 32.5%;
  margin-top: 50px;
}

.centered {
  /* border: 1px solid black; */
  text-align: center;
  /* -moz-border-radius:     15px;
    -webkit-border-radius:  15px; */
  /* border-radius:          15px; */
}

.btn-outline-dark {
  background-color: #212529b9;
  color: white;
}

.btn-outline-dark:hover {
  background-color: #212529;
}

/*----------- Screen Size Dependent Styles ------------*/

@media screen and (max-width: 1200px) {
  .top_img::after {
    background-size: 1200px;
  }

  .top_img img {
    width: 50%;
    margin-left: 25%;
    margin-top: 70px;
  }

  footer #portrait {
    width: 150px;
    height: auto;
  }

  table {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  img {
    width: 75%;
  }

  .popover {
    --bs-popover-max-width: 400px;
  }

  img#shape_img {
    width: 100%;
  }
  
}

@media screen and (max-width: 990px) {
  h1 {
    font-size: 40px;
  }

  .top_img img {
    width: 80%;
    margin-left: 10%;
    margin-top: 70px;
  }

  table {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    width: 100%;
    margin: auto;
    padding: 0px;
  }

  div #box {
    border: solid 2px black;
    border-radius: 0px;
  }

  div #box p.container {
    padding: 0rem 0.5rem;
  }

  div #section_heading {
    border: black;
    border-radius: 0px;
    position: relative;
    top: -2px;
    left: -2px;
  }

  footer #portrait {
    width: 100px;
    height: auto;
  }

  .popover {
    --bs-popover-max-width: 400px;
  }
}

@media screen and (max-width: 578px) {
  h1 {
    font-size: 30px;
  }

  table {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  img.rounded {
    width: 100%;
    height: auto;
  }

  .container {
    width: 100%;
    margin: auto;
    padding: 0px;
  }

  div #box {
    border: solid 2px black;
    border-radius: 0px;
  }

  div #box p.container {
    padding: 0rem 0.5rem;
  }

  div #section_heading {
    border: black;
    border-radius: 0px;
    position: relative;
    top: -2px;
    left: -2px;
  }
  
  footer #portrait {
    width: 75px;
    height: auto;
  }

  .popover {
    --bs-popover-max-width: 300px;
  }
}

a.list-group-item-action {
  color: #007bff;
}