/* computers */
.computers * {
  color: #808080;
}

.computers body {
  text-align: center;
  color: #fefefe;
  overflow-y: scroll;
  margin: 0;
}

.computers h1 {
  font-variant: small-caps;
  letter-spacing: 1px;
  font-size: 1.6em;
  text-align: center;
  position: relative;
}

.computers h1::after {
  background-color: #ffc843;
  content: "";
  position: absolute;
  top: 150%;
  height: 2px;
  width: 4%;
  left: 48%;
}

.computers p {
  font-size: 1em;
  line-height: 1.5;
  color: #777;
}

.computers a {
  text-decoration: none;
}

.computers a.link {
  color: #3f6b9d;
  -webkit-transition: all 150ms ease 0s;
  transition: all 150ms ease 0s;
}

.computers a.link:hover {
  color: #e08f24;
}

.computers .tabs {
  position: relative;
  margin: 40px auto;
  width: 1200px;
  max-width: 100%;
  overflow: hidden;
  padding-top: 10px;
  margin-bottom: 60px;
}

.computers .tabs input {
  position: absolute;
  z-index: 1000;
  width: 9%;
  height: 50px;
  left: 0;
  top: 0;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  cursor: pointer;
  margin: 0;
}

.computers .tabs input#tab-2 {
  left: 9%;
}

.computers .tabs input#tab-3 {
  left: 18%;
}

.computers .tabs input#tab-4 {
  left: 27%;
}

.computers .tabs input#tab-5 {
  left: 36%;
}

.computers .tabs input#tab-6 {
  left: 45%;
}

.computers .tabs label {
  background: #ccc;
  color: #333;
  font-size: 1em;
  line-height: 50px;
  height: 60px;
  position: relative;
  top: 0;
  padding: 0 20px;
  float: left;
  display: block;
  width: 9%;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  -webkit-transition: all 150ms ease 0s;
  transition: all 150ms ease 0s;
  border-right: 2px solid white;
}

.computers .tabs label:hover {
  cursor: pointer;
}

.computers .tabs label:after {
  content: "";
  background: #ffc843;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  display: block;
}

.computers .tabs input:hover + label {
  background: #e08f24;
}

.computers .tabs label:first-of-type {
  z-index: 4;
}

.computers .tab-label-2 {
  z-index: 4;
}

.computers .tab-label-3 {
  z-index: 3;
}

.computers .tab-label-4 {
  z-index: 2;
}

.computers .tab-label-5 {
  z-index: 1;
}

.computers .tab-label-6 {
  z-index: 1;
}

.computers .tabs input:checked + label {
  background: #ffc843;
  color: #1a1a1a;
}

.computers .content {
  height: auto;
  width: 100%;
  float: left;
  position: relative;
  z-index: 5;
  background: #ffc843;
  top: -10px;
}

.computers .content div {
  position: relative;
  float: left;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  background: #ffc843;
}

.computers .content div h2 {
  margin-top: 0;
}

.computers .tabs .tab-selector-1:checked ~ .content .content-1,
.computers .tabs .tab-selector-2:checked ~ .content .content-2,
.computers .tabs .tab-selector-3:checked ~ .content .content-3,
.computers .tabs .tab-selector-4:checked ~ .content .content-4,
.computers .tabs .tab-selector-5:checked ~ .content .content-5,
.computers .tabs .tab-selector-6:checked ~ .content .content-6 {
  z-index: 100;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
  width: 100%;
  height: auto;
  padding: 5%;
  display: flex;
  flex-direction: column;
}

.computers .content img {
  width: 100%;
}

.computers .content button {
  background-color: #666;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 1px;
  outline: none;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  width: 220px;
  margin: 3% auto 0;
}

.computers .content div h2 {
  color: #333;
}

.computers .computers-section {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  text-align: left;
  line-height: 1.5;
}

.computers .computers-section a {
  color: #808080;
  text-decoration: underline;
}

.computers .space-section {
  margin-top: 70px;
}

@media screen and (min-width: 768px) {
  .computers .tabs input:checked + label {
    top: -5px;
  }
}

@media screen and (max-width: 767px) {
  .computers h1::after {
    top: 130%;
    width: 7%;
    left: 47%;
  }

  .computers .tabs {
    height: auto;
    background: #fefefe;
    padding-bottom: 300px;
    width: 90%;
    margin-bottom: 0;
  }

  .computers .tabs label {
    text-align: left;
  }

  .computers .tabs input:checked + label {
    padding-left: 30px;
  }

  .computers .tabs label,
  .tabs input {
    width: 100%;
    position: absolute;
  }

  .computers .tabs label.tab-label-1,
  .computers .tabs label#tab-1,
  .computers .tabs input.tab-label-1,
  .computers .tabs input#tab-1 {
    width: 100%;
    top: 250px;
    left: 0;
    height: 50px;
    z-index: 6 !important;
  }

  .computers .tabs label.tab-label-2,
  .computers .tabs label#tab-2,
  .computers .tabs input.tab-label-2,
  .computers .tabs input#tab-2 {
    width: 100%;
    top: 200px;
    left: 0;
    height: 100px;
    z-index: 5 !important;
  }

  .computers .tabs label.tab-label-3,
  .computers .tabs label#tab-3,
  .computers .tabs input.tab-label-3,
  .computers .tabs input#tab-3 {
    width: 100%;
    top: 150px;
    left: 0;
    height: 150px;
    z-index: 4 !important;
  }

  .computers .tabs label.tab-label-4,
  .computers .tabs label#tab-4,
  .computers .tabs input.tab-label-4,
  .computers .tabs input#tab-4 {
    width: 100%;
    top: 100px;
    left: 0;
    height: 200px;
    z-index: 3 !important;
  }

  .computers .tabs label.tab-label-5,
  .computers .tabs label#tab-5,
  .computers .tabs input.tab-label-5,
  .computers .tabs input#tab-5 {
    width: 100%;
    top: 50px;
    left: 0;
    height: 250px;
    z-index: 2 !important;
  }

  .computers .tabs label.tab-label-6,
  .computers .tabs label#tab-6,
  .computers .tabs input.tab-label-6,
  .computers .tabs input#tab-6 {
    width: 100%;
    top: 0;
    left: 0;
    height: 300px;
    z-index: 1 !important;
  }

  .computers .tabs .content {
    top: 300px;
  }

  .computers .content button {
    margin: 6% auto 0;
  }

  .computers .space-section {
    margin-top: 40px;
  }

  .computers .computers-section {
    width: 90%;
  }
}

/* electronics */
.electronics {
  color: #808080;
}

.electronics h1 {
  font-variant: small-caps;
  letter-spacing: 1px;
  font-size: 1.6em;
  text-align: center;
  position: relative;
}

.electronics h1::after {
  background-color: #ffce00;
  content: "";
  position: absolute;
  top: 150%;
  height: 2px;
  width: 4%;
  left: 48%;
}

.electronics .electronics-wrap {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* computer & electronics page */
.tabordion {
  color: #333;
  display: table;
  font-family: "Open Sans", sans-serif !important;
  position: relative;
  width: 100%;
  height: 560px;
  margin: auto;
  margin-left: inherit;
}

.tabordion input[name="sections"] {
  left: -9999px;
  position: absolute;
  top: -9999px;
  visibility: hidden;
}

.tabordion section {
  display: table-cell;
}

.tabordion section label {
  background: #ccc;
  border: 1px solid white;
  cursor: pointer;
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.tabordion section article {
  left: 0;
  position: absolute;
  display: none;
  width: 100%;
  border: 1px solid white;
  box-sizing: border-box;
}

.tabordion input[name="sections"]:checked + label#label1 {
  background-color: #ffc843;
}

.tabordion input[name="sections"]:checked + label#label2 {
  background-color: #cc0000;
  color: white;
}

.tabordion input[name="sections"]:checked + label#label3 {
  background-color: #8a47d7;
  color: white;
}

.tabordion input[name="sections"]:checked + label#label4 {
  background-color: #f68828;
}

.tabordion input[name="sections"]:checked + label#label5 {
  background-color: #00ccff;
}

.tabordion input[name="sections"]:checked + label#label6 {
  background-color: #6cc04a;
}

.tabordion input[name="sections"]:checked ~ article {
  display: block;
}

.comps-avails {
  padding: 20px;
  font-size: large;
  color: black;
}

.floor-map-button {
  font-size: large;
  background-color: #ffc843;
  color: black;
  padding-bottom: 10px;
  display: inline;
}

.floor-seats {
  display: inline-block;
  background-color: black;
  border-radius: 100px;
  height: 46px;
  width: 56px;
  text-align: center;
  line-height: 50px;
  color: white;
}

.comp-availability {
  float: inherit;
}

.floor-map-link {
  font-weight: 600;
  float: right;
  margin-top: 15px;
  padding-bottom: 10px;
}

.compAvail {
  background: #478f00;
  position: absolute;
  border-radius: 50%;
  color: white;
  text-align: center;
  line-height: 35px;
}

.compOff {
  background: #666666;
  position: absolute;
  border-radius: 50%;
  color: white;
  text-align: center;
  line-height: 35px;
}

.compUsed {
  background: white;
  position: absolute;
  border-radius: 50%;
}

.comps-para {
  float: inherit;
}

.fa {
  font: normal normal normal 39px/1 FontAwesome !important;
}

.pc-compAvail {
  background: #478f00;
  border-radius: 50%;
  font-size: 25px;
}

.pc-compOff {
  background: #666666;
  border-radius: 50%;
  font-size: 25px;
}

.pc-compUsed {
  background: white;
  border-radius: 50%;
  font-size: 25px;
}

.mac-compAvail {
  color: #478f00;
  font-size: 39px;
}

.mac-compOff {
  color: #666666;
  font-size: 39px;
}

.mac-compUsed {
  color: white;
  font-size: 39px;
}

.floor-top {
  background-color: white;
  padding: 15px 0 0 10px;
}

.div-inline {
  display: inline-block;
  vertical-align: middle;
  padding: 0px 10px;
}

.legend {
  float: right;
  font-size: 20px;
}

.mac-station-num {
  font-size: 20px;
  color: white;
  margin-left: -25px;
}

.station-name-lv1 {
  line-height: 50px;
}

.lvA-lec2 {
  position: absolute;
  margin-top: 3.5%;
  margin-left: 33.7%;
  font-size: 20px;
  background-color: white;
}

.lvA-lec1 {
  position: absolute;
  margin-top: 24.5%;
  margin-left: 1.7%;
  font-size: 20px;
  background-color: white;
}

.underline {
  clear: both;
  border-bottom: solid gray 1px;
  margin-right: 6px;
  height: 1px;
}

/* accordion */
/* Desktop computer floor tabs */

#tabordion ul.comps-tab {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#tabordion ul.comps-tab > li {
    display: block !important;
    flex: 1 1 0;
    width: auto !important;
    margin: 0 1px 2px 0;
    padding: 0;
}

#tabordion ul.comps-tab > li > a {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    padding: 15px 10px;
    margin: 0;
    text-align: center;
    color: black;
    text-decoration: none;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
  background-color: #4a4f55;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a {
  color: white;
}

.ui-tabs .ui-tabs-nav .ui-state-default,
.ui-tabs .ui-tabs-nav .ui-widget-content .ui-state-default,
.ui-tabs .ui-tabs-nav .ui-widget-header .ui-state-default {
  background-color: #8a8a8d;
}

.ui-tabs .ui-widget-header {
  background: #8a8a8d;
}

@media (max-width: 750px) {
  .tabordion {
    display: block;
    font-size: 0.9em;
    width: 100%;
    height: 100%;
  }

  .tabordion section {
    display: grid;
    width: 100%;
  }

  .tabordion section article {
    position: inherit;
  }
}

@media (max-width: 1050px) {
  .lvA-lec2,
  .lvA-lec1 {
    font-size: 1.7vw;
  }

  div.mac-compAvail,
  div.mac-compOff,
  div.mac-compUsed {
    font-size: 4vw;
  }

  .compAvail {
    font-size: 2vw;
    line-height: 3.5vw;
  }

  .station-name-lv1 {
    line-height: 5vw;
  }

  .compOff {
    font-size: 2vw;
    line-height: 3.5vw;
  }

  .mac-station-num {
    font-size: 2.5vw;
    margin-left: -3vw;
  }

  .pc-compAvail,
  .pc-compOff {
    font-size: 3vw;
  }

  .legend-mac {
    font-size: 3.5vw;
  }
}

@media (max-width: 500px) {
  .legend {
    font-size: 3vw;
  }
}

/* Article Tabs */
#article1 {
  background-color: #00a6a6;
}

#article2 {
  background-color: #6ebe45;
}

#article3 {
  background-color: #ffce00;
}

#article4 {
  background-color: #f28b26;
}

#article5 {
  background-color: #f06543;
}

#article6 {
  background-color: #5f52a4;
}

/* Tab Color */
#comps-tab1.ui-tabs-active {
  background-color: #00a6a6 !important;
}

#comps-tab2.ui-tabs-active {
  background-color: #6ebe45 !important;
}

#comps-tab3.ui-tabs-active {
  background-color: #ffce00 !important;
}

#comps-tab4.ui-tabs-active {
  background-color: #f28b26 !important;
}

#comps-tab5.ui-tabs-active {
  background-color: #f06543 !important;
}

#comps-tab6.ui-tabs-active {
  background-color: #5f52a4 !important;
}

/* when resize tab color */
.ui-accordion-header-active[aria-controls="section1"] {
  background-color: #00a6a6 !important;
}

.ui-accordion-header-active[aria-controls="section2"] {
  background-color: #6ebe45 !important;
}

.ui-accordion-header-active[aria-controls="section3"] {
  background-color: #ffce00 !important;
}

.ui-accordion-header-active[aria-controls="section4"] {
  background-color: #f28b26 !important;
}

.ui-accordion-header-active[aria-controls="section5"] {
  background-color: #f06543 !important;
}

.ui-accordion-header-active[aria-controls="section6"] {
  background-color: #5f52a4 !important;
}

#tabordion .comps-tab li a {
  color: black;
}

#comps-tab6.ui-tabs-active a {
  color: white !important;
}

/* Gives coloring when hovering over the tabs */
#comps-tab1.ui-state-hover:hover {
  background-color: #00a6a6;
}

#comps-tab2.ui-state-hover:hover {
  background-color: #6ebe45;
}

#comps-tab3.ui-state-hover:hover {
  background-color: #ffce00;
}

#comps-tab4.ui-state-hover:hover {
  background-color: #f28b26;
}

#comps-tab5.ui-state-hover:hover {
  background-color: #f06543;
}

#comps-tab6.ui-state-hover:hover,
#comps-tab6.ui-state-hover a:hover {
  background-color: #5f52a4;
  color: white;
}

/* Adds transition when hovering over the tabs */
.ui-state-hover {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

/* This fixes the width problem where the class "main-content sidebarleft" was much wider than it needed to be*/
@media (max-width: 1112px) {
  #main .sidebar-first {
    display: inline-block !important;
  }

  #main.sidebarleft,
  #main.sidebarright {
    display: block !important;
  }
}
