
.tabs {
  clear: both;
  padding: 0;
  font: normal 70% "Segoe UI Semibold", arial, sans-serif;
}
.tabs h1 {
  border-bottom: none;
  float: left;
  display: block;
  padding: 0.2em 0.5em;
  margin: 0;
  border-radius: 0.2em 0.2em 0 0;
  font-size: 150%;
}
.tabs h2 {
  border-bottom: none;
  float: left;
  display: block;
  padding: 0.2em 0.5em;
  margin: 0;
  border-radius: 0.2em 0.2em 0 0;
  margin-top: 1em;
  line-height: 1;
  font-size: 150%;
}
.tabs .active {
  color: #fadbbc;
  background: #735c3d;
}


/* -------------------- */
body, html {
  font: normal 1vw "Segoe UI", arial, sans-serif;
  cursor: default;
  margin: 0;
  padding: 0;
  background: #000;
  color: #eee;
}

.header {
  padding: 1em;
  background: url("../img/bg_1.jpg") left 80%;
  /*background-size: contain;*/
  /*resize: both;*/
}

.header img.logo {
  width: 25%;
  max-width: 291px;
  height: auto;
}

.body {
  background: #211d1c;
  padding: 1em;
}

.footer {
  text-align: center;
  background: #000;
  padding: 1em;
  margin-bottom: 3em;
}

/* Links */
a:link, a:visited {
  text-decoration: none;
  color: #3db3f2;
}
a:hover /*, .tabs h1 span:hover*/ {
  color: #8fd7fe;
  text-decoration: none;
}

.hr {
  border: 3px solid #454551;
  border-left: none;
  border-right: none;
  margin: 0.5em 0;
  width: 100%;
}
.soon_container {
  text-align: center;
  text-shadow: 1px 1px 2px #000;
  padding: 0.5em;
}
.timer_box {
  padding: 4px;
  width: 98%;
  text-align: right;
  margin-top: 1em;
}
#timer, .event_timer {
  color: #fadbbc;
  font-weight: bold;
}
#soon_text {
  font-size: 150%;
  color: #cad5f2;
}

.countdown_box{
  padding-bottom: 1em;
  font-size: 150%;
}
#countdown {
  color: #fadbbc;
  font-weight: bold;
}


/* Table */
.tt_row {
  display: table-row;
  width: 100%;
  background: transparent linear-gradient(#3b3b3d, #2d2920);
}

.tt_cell.timehours:first-child {
  border-right: 1px solid #000;
}

.tt_cell.timehours {
  min-width: 1%;
  font-size: 120%;
  padding: 0.3em 0;
  height: 1em;
  text-align: center;
  color: #cad5f2;
  background: #1e2128;
  background: linear-gradient(#484f61, #1e2128) repeat-y;
  text-shadow: 1px 1px 2px #000;
}

.tt_cell {
  border: none;
  border-bottom: 1px solid #000;
  display: table-cell;
  padding: 0.0em;
}

.tt_cell.passed {
  background: #302a1e;
  background: linear-gradient(#533b19, #715a3b) repeat-y;
}

.tt_table {
  border-top: 1px solid #000;
  border-right: 0 solid #454f5b;
  border-left: 0 solid #454f5b;
  z-index: 1;
  display: table;
  font: normal 90%/125% "Segoe UI Semibold", arial, sans-serif;
  width: 100%;
}

/* Events */
.event {
  z-index: 100;
  width: 75%;
  min-width: 4em;
  position: relative;
  padding: 0.0em;
  margin: 0.5em;
  display: block;
  color: #EEE;
  background: #91ae9a;
  border: 1px solid #000;
  border-radius: 0.3em;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
}
.event span {
  width: 100%;
  display: block;
  margin-top: 4em;
  text-align: center;
  font-size: 120%;
  padding-bottom: 0.2em;
}
.event span::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.2em;
  opacity: .7;
  z-index: -1;
  background: #000;
  display: block;
}



.event.m30 {
   
}

.event.passed {
  color: #ccc;
  background: #444;
}
.event.karanda.passed {
  color: #91ae9a;
}
.event.nuber.passed {
  color: #a6a379;
}
.event.kutum.passed {
  color: #7f9fab;
}
.event.kzarka.passed {
  color: #bd9b97;
}
.event.kamos.passed {
  color: #bd9b97;
}
.event.ofin.passed {
  color: #7d979f;
}
.event.well.passed {
  color: #837d9f;
}
.event.kvint.passed {
  color: #9d7997;
}
.event.muraka.passed {
  color: #9d7997;
}

.event.current {
  background: #E33;
  color: #fff !important;
}

/* Boss icon */
.event::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 120px 120px;
  background-position-x: 50%;
  background-position-y: 50%;
}
.event.passed::before{
  opacity: .3;
}

.karanda {
  background: #91ae9a;
}
.karanda::before{
  background-image: url("../img/ic_karanda.png");
}
.nuber {
  background: #a6a379;
}
.nuber::before{
  background-image: url("../img/ic_nuber.png");
}

.kutum {
  background: #7f9fab;
}
.kutum::before{
  background-image: url("../img/ic_kutum.png");
}

.kzarka {
  background: #bd9b97;
}
.kzarka::before{
  background-image: url("../img/ic_kzarka.png");
}

.ofin {
  background: #7d979f;
}
.ofin::before{
  background-image: url("../img/ic_ofin.png");
}

.well {
  background: #837d9f;
}
.well::before{
  background-image: url("../img/ic_well.png");
}

.kvint {
  background: #9d7997;
}
.kvint::before{
  background-image: url("../img/ic_kvint.png");
}

.muraka {
  background: #97799f;
}
.muraka::before{
  background-image: url("../img/ic_muraka.png");
}

.kamos {
  background: #bd9b97;
}
.kamos::before{
  background-image: url("../img/ic_kamos.png");
}

.gray {
  color: #444;
}

/* VK */
#vk_like {
  clear: none !important;
  float: right;
  width: 155px !important;
  font-size: 1px !important;
}
#vk_like iframe {
  width: 155px !important;
}

/* Yandex.money */
#yandex_money_iframe {
  float: right;
  width: 140px;
}



/* Table */
table.details  {
  width: 100%;
  background: transparent linear-gradient(#3b3b3d, #2d2920);
}
table.details th, table.calc th {
  min-width: 1%;
  font-size: 120%;
  padding: 0.3em 0;
  height: 1em;
  text-align: center;
  color: #cad5f2;
  background: #1e2128;
  background: linear-gradient(#484f61, #1e2128) repeat-y;
  text-shadow: 1px 1px 2px #000;
}
table.details td:first-child {
  border-right: 1px solid #000;
}
table.details td {
  border: none;
  border-bottom: 1px solid #000;
  display: table-cell;
  padding: 0.3em;
}
table.details td.center {
  text-align: center;
}


/* calc */
table.calc  {
  width: 100%;
  border: 0;
  background: #19191b;
  border-collapse: separate;
  border-spacing: 0.2em;
  width: 100%;
  margin: 1em 0;
}
table.calc td {
  width: 33%;
  padding: 0.3em 0.6em;
  background: #292c33;
  position: relative;
  vertical-align: top;
}
table.calc td:not(.total_level_cell):hover {
  background: #17161b;
}
.craft_level_1 {
  color: #b5b6ba;
}
.craft_level_2 {
  color: #86a85b;
}
.craft_level_3 {
  color: #4a7ea5;
}
.craft_level_4 {
  color: #d9c39c;
}
.craft_level_5 {
  color: #cf424b;
}
.craft_level_6 {
  color: #b540d0;
}
.craft_level_7 {
  color: #b16819;
}



.ui-slider {

}
.ui-slider.ui-slider-horizontal {
  border: none !important;
  background: #926c3b;
  height: 0.2em;
  margin: 1.6em 0.6em 1.6em 0.4em;
  cursor: pointer !important;
}
.ui-slider .ui-slider-handle {
  margin-top: -0.4em;
  font: normal 75% "Segoe UI", arial, sans-serif !important;
  padding: 0.2em !important;

  background: #765242 linear-gradient(#b48a5a, #855c4a) repeat-y !important;
  width: 1em !important;
  border-radius: 0.3em !important;
  border: 1px solid #cfb8a6 !important;
  cursor: grab !important;
}
table.calc .total_level_cell {
  background: linear-gradient(#484f61, #1e2128) repeat-y;
  width: 8% !important;
  text-align: center;
  vertical-align: middle;
}
table.calc .total_level_cell .counter {
  text-align: center;
  font-size: 200%;
}
table.calc .current_level {
  display: block;
  float: right;
  position: absolute;
  top: 0.4em;
  right: 0.4em;
}
.calc_selector {
  padding: 0.2em 0.4em;
}

.calc_caphras .slider_total {
  text-align: center;
  color: #7d979f;
  margin-bottom: 0.6em;
}
.calc_caphras .counter {
  color: #FFF;
  font-size: 120%;
}
.calc_caphras .current_level {
  color: #e0e7ff;
}
/* caphras stats */
.calc_caphras .slider_stats {
  display: table;
  width: 100%;
}
.calc_caphras .slider_stats dl {
  display: table-row;
}
.calc_caphras .slider_stats dt {
  width: 35%;
  display: table-cell;
}
.calc_caphras .slider_stats dd {
  display: table-cell;
  margin-left: 35%;
  color: #FDDC69;
}
.calc_caphras .slider_stats span {
  color: #CCC;
}



.db_item {
  display: block;
  line-height: 1;
  margin: 0.2em 0;
}
.db_item img {
  width: 2.7rem;
  height: 2.7rem;
  vertical-align: middle;
  display: inline-block;
}
.db_item div {
  display: inline-block;
  position: relative;
}
.db_item .enchant {
  width: 100%;
  text-align: center;
  color: #FFF;
  text-shadow: 0 0 0.1em #F33, 0 0 0.2em #F33, 0 0 0.3em #F33;
  font-size: 1rem;
  position: absolute;
  left: 0;
  top: 0.8rem;
  display: inline-block;
}
.db_item .amount {
  width: 100%;
  text-align: right;
  color: #FFF;
  text-shadow: 0 0 0.1em #000, 0 0 0.2em #000, 0 0 0.3em #000;
  font-size: 0.8rem;
  position: absolute;
  right: 0.1rem;;
  bottom: 0.4rem;
  display: inline-block;
}




#to_top {
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 3em;
  right: 1em;
  overflow: hidden;
  width: 4em;
  height: 4em;
  z-index: 100;
  background: #36353b url("../img/icon16_top.png") no-repeat center;
  background-size: 2em;
  cursor: pointer;
  border: 1px solid #cfb8a6;
  border-radius: 0.3em;
}
#to_top:hover {
  background-color: #000;
  box-shadow: 0 1px 5px 1px rgba(0,0,0,0.5);
}
#to_top:active {
  background-color: #FFF;
}

