/* 
    Assignment 8: Using the jQuery UI Slider and Tab Widgets
    File: main.css
    Ludmyla Almeida, UMass Lowell Computer Science, ludmyla_almeida@student.uml.edu
    Copyright (c) 2019 by Ludmyla Almeida. All rights reserved. 
 */

/* main style */
html body {
  color: #2d2937;
  font-family: "Nunito", sans-serif;
  overflow-x: hidden !important;
}

.navbar-light .navbar-text {
  /* font-family: 'Roboto Mono', monospace; */
  /* font-size: 14px; */
  color: #aa92fb !important;
}

/* navbar */
.navbar,
.navbar a {
  background-color: #2d2937;
  color: #aa92fb !important;
}

.btn-outline {
  border: 1px solid #aa92fb !important;
}

.btn-outline:hover {
  background: #aa92fb;
  color: #fff !important;
}

/* h3 styling */
h3 > span:first-of-type {
  font-size: 0.5em;
}

h3 a,
h3 i {
  color: #aa92fb;
}

h3 a:hover {
  color: #40537a;
  text-decoration: none;
}

/* button  */
.btn-default {
  background-color: #aa92fb !important;
  color: #fff !important;
  font-weight: bold;
}

.clear-btn {
  border: 1px solid #2d2937 !important;
  color: #2d2937 !important;
}

/* form validation  */

.error {
  color: #dc3545;
  font-size: small;
  margin-top: 5px;
}

/* dynamic table styling */
.table #td {
  padding: 0.5rem !important;
}

tr:first-child td,
td:nth-child(1) {
  background-color: #2d2937 !important;
  color: #aa92fb !important;
  text-align: center;
  border: 1px solid #aa92fb;
  font-weight: bold;
  width: 5px;
}

td {
  background-color: #ddd5f9;
  color: #40537a;
  text-align: center;
  width: 5px;
  height: 5px;
}

/* table grid color alternation */
tr:nth-child(2n) td:nth-of-type(2n) {
  background-color: #f9f7ff;
  text-align: center;
}

tr:nth-child(2n + 1) td:nth-of-type(2n + 1) {
  background-color: #f9f7ff;
  text-align: center;
}

/* jquery ui modifications */
.ui-slider {
  margin-top: 1em;
}

#hr1-slider,
#hr2-slider,
#vr1-slider,
#vr2-slider {
  height: 0.3em;
  background: #aa92fb;
  border: none;
}

#hr1-slider .ui-state-default,
#hr2-slider .ui-state-default,
#vr1-slider .ui-state-default,
#vr2-slider .ui-state-default {
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.3);
  border: 4px solid #fff;
  height: 18px;
  width: 18px;
  border-radius: 100px;
  background: #333940;
}

/* style for tabs */
#tabs {
  margin-top: 1em;
}
#tabs li .ui-icon-close {
  float: left;
  /* margin: 0.4em 0.2em  0 0; */
  cursor: pointer;
}

/* overriding style from jquery ui */
#tabs .ui-widget-header {
  background: #fff;
  border: none;
  border-bottom: 1px solid #aa92fb;
}
#tabs .ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
  background: #aa92fb !important;
}
#tabs .ui-widget-content {
  border: 1px solid #aa92fb;
}
.ui-widget-content {
  border: none !important;
}

#tabs .ui-state-active,
#tabs .ui-widget-content .ui-state-active,
#tabs .ui-widget-header .ui-state-active {
  background: #aa92fb;
}

#tabs .ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  background: #fff;
  border-color: #aa92fb;
}

#tabs .ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
  color: #fff;
  font-weight: bold;
}

/* make table scrollable */
.scroll {
  overflow-x: scroll !important;
  overflow-y: scroll !important;
  max-height: 600px;
}

.ui-tabs .ui-tabs-panel {
  overflow-x: scroll;
}

/* scroll bar style */
::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.3);
}
