/**
 * @file ui-widgets.css
 * @author Oliver Merkel <Merkel(dot)Oliver(at)web(dot)de>
 *
 * @section LICENSE
 *
 * Copyright 2021, Oliver Merkel <Merkel(dot)Oliver(at)web(dot)de>
 * All rights reserved.
 *
 * Released under the MIT license.
 *
 * @section DESCRIPTION
 *
 * Minimal, dependency free replacement for the jQuery UI "ui-darkness"
 * theme, covering only the widget/state/tabs/accordion/button classes
 * that js/hangman-core.js applies. Colours match the previous theme.
 */

.ui-helper-reset {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  line-height: 1.3;
  text-decoration: none;
  font-size: 100%;
  list-style: none;
}

.ui-helper-clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.ui-widget {
  font-family: Segoe UI, Arial, sans-serif;
  font-size: 1.1em;
}

.ui-widget-content {
  border: 1px solid #666666;
  background: #000000;
  color: #ffffff;
}

.ui-widget-content a {
  color: #ffffff;
}

.ui-widget-header {
  border: 1px solid #333333;
  background: #333333;
  color: #ffffff;
  font-weight: bold;
}

.ui-widget-header a {
  color: #ffffff;
}

.ui-corner-all {
  border-radius: 6px;
}

.ui-corner-top {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.ui-corner-bottom {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.ui-state-default {
  border: 1px solid #666666;
  background: #555555;
  color: #eeeeee;
  font-weight: bold;
}

.ui-state-hover {
  border: 1px solid #59b4d4;
  background: #0078a3;
  color: #ffffff;
  font-weight: bold;
}

.ui-state-active {
  border: 1px solid #ffaf0f;
  background: #f58400;
  color: #ffffff;
  font-weight: bold;
}

.ui-state-default a,
.ui-state-hover a,
.ui-state-active a {
  color: inherit;
  text-decoration: none;
}

.ui-button {
  padding: .4em 1em;
  display: inline-block;
  position: relative;
  line-height: normal;
  margin-right: .1em;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
  user-select: none;
  border: 1px solid #666666;
  background: #555555;
  color: #eeeeee;
  font-weight: bold;
  text-decoration: none;
}

.ui-button:hover,
.ui-button:focus {
  border-color: #59b4d4;
  background: #0078a3;
  color: #ffffff;
}

.ui-button:active {
  border-color: #ffaf0f;
  background: #f58400;
  color: #ffffff;
}

/* Tabs */
.ui-tabs {
  position: relative;
  padding: .2em;
}

.ui-tabs .ui-tabs-nav {
  margin: 0;
  padding: .2em .2em 0;
}

.ui-tabs .ui-tabs-nav li {
  list-style: none;
  float: left;
  position: relative;
  top: 0;
  margin: 1px .2em 0 0;
  border-bottom-width: 0;
  padding: 0;
  white-space: nowrap;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  float: left;
  padding: .5em 1em;
  text-decoration: none;
  cursor: pointer;
  color: #eeeeee;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
  margin-bottom: -1px;
  padding-bottom: 1px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
  cursor: text;
  color: #ffffff;
}

.ui-tabs .ui-tabs-panel {
  display: block;
  border-width: 0;
  padding: 1em 1.4em;
  background: none;
}

/* Accordion */
.ui-accordion .ui-accordion-header {
  display: block;
  cursor: pointer;
  position: relative;
  margin: 2px 0 0 0;
  padding: .5em .5em .5em .7em;
  font-size: 100%;
}

.ui-accordion .ui-accordion-content {
  padding: 1em 2.2em;
  border-top: 0;
  overflow: auto;
}
