/* Page title */
h2 { 
  font-size: 2.5rem; 
  font-weight: bold; 
  text-align: center; 
  margin-bottom: 5rem; 
  font-weight: 300;
  display: none !important; 
}

/* Links */
a { color: #3e4a89; }

/* Page load */
#load-page {
  position: fixed;
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  margin-top: -125px;
  margin-left: -125px;
  text-align: center;
  animation: blinker 0.5s linear infinte;
}

@keyframes blinker {
 50% { opacity: 0; }
}

/* Notifications */
#error_message_inner { 
  background: #f5f5f5; 
  border: 2px solid #e3e3e3; 
  color: #333333; 
  width: 100%; 
  height: 100%; 
  display: block; 
  padding: 2rem; 
  
}

#shiny-notification-panel { 
  top: 6rem; 
  bottom: unset; 
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto; 
  width: 100%; 
  max-width: 50%; 
  text-align: center; 
}

.shiny-notification { 
  position: fixed; 
  width: 500px;
  height: 50px;
  top: 50%; 
  left: 50%;
  margin-top: -25px;
  margin-left: -250px;
}

/* Menu items */
.bs-select-all, .bs-deselect-all { 
  font-size: 0.95rem !important; 
}

.btn-cycle { 
  /* background-color: #28a745; */
  color: white; 
  padding: 0.1rem 1rem; 
  margin-left: 2px; 
  margin-right: 2px; 
  font-size: 0.95rem; 
  border-radius: 4px; 
  margin-top: -0.15rem; 
}

div#checkout { 
  margin-top: 3rem; 
}

/* Build, download and rename buttons */
button#build_data_dictionary, #download_data, button#rename_button, button#pivot_button, #download_wrangled_data { 
  background: #482878; 
  color: white; 
  padding: 1rem 2rem; 
  display: inline-block; 
  text-align: center; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  text-decoration: none; 
}

button#build_data_dictionary:hover, #download_data:hover, button#rename_button:hover, button#pivot_button:hover, #download_wrangled_data:hover { 
  background: white; 
  color: #482878; 
}

.buttons-copy {
  margin-left: 1rem !important;
}

#download_data, #download_wrangled_data {
  background: #482878;
}
#download_data:hover, #download_wrangled_data:hover {
  color: #482878;
}

#center-button { 
  text-align: center; 
}

#empty_shopping_cart {
  display: block;
  margin-bottom: 3.5rem;
}

/* DataTable elements */
.dataTables_info { 
  display: inline-block; 
  float: left; 
}

.table.dataTable tbody td.active, .table.dataTable tbody tr.active td { 
  background-color: #ebf4fa !important; 
  color: #333 !important; 
}

td[data-type='factor'] input { 
  width: 100px !important; 
}

.dt-buttons { 
  margin-left: 1rem;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
  background-color: #ebf4fa;
  color: #333;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
  background: #3e4a89 !important;
  border-color: #3e4a89 !important;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
  color: white !important;
}

.pagination>li>a, .pagination>li>span {
  color: #3e4a89 !important;
}

/* File input progress bar */
.shiny-file-input-progress {
  margin-top: 1rem;
}
.progress-bar {
  background-color: #482878;
}

/* Visualization elements */
#frequency_table > .table th {
  background: #3e4a89;
  color: white;
}
