/*  
    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');
  font-weight: 1 999;
}

@font-face {
  font-family: 'montI';
  src: url('./fonts/Montserrat-Italic-VariableFont_wght.ttf');
  font-weight: 1 999;
}

/*=============  Standard html elements  ===============*/

html,
body {
  scrollbar-face-color: #5D1725;
  scrollbar-highlight-color: white;
  font-family: mont;
  margin: 0;
  padding: 0;
}

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;
}

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: 600;
}

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;
}

#banner {
  background-color: #5D1725;
  color: white;
}

/*================= Table formatting ====================*/

table {
  font-size: 1rem;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-color: #EEE;
  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[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;
  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/Physics\ Labs\ and\ Storage\ Rooms/header.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
  opacity: 0.4;
  top: -500px;
  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;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

/*----------- 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%;
  }
}

@media screen and (max-width: 790px) {
  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;
  }
}

@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;
  }
}

a.list-group-item-action {
  color: #007bff;
}