body {
  color: #000;
  background: #000000 url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position-y: 0; 
  background-size: 100%;
  font-family: almendra, verdana, geneva, arial, helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

#slider {
  background: url(../images/zoom_bar.png) no-repeat;
  display: none;
  height: 26px;
  margin-left: 40px;
  margin-top: -10px;
  width: 255px;
  z-index: 5;
}
.ui-slider .ui-slider-handle {
  width: 36px;
  height: 37px;
  background: url(../images/zoom_slider.png) no-repeat;
  background-size: 38px;
  overflow: hidden;
  position: absolute;
  border-style: none;
  outline: none;
}
.ui-slider-horizontal {
  background: #361c0a;
  height: 9px;
  border: 0;
  border-radius: 0;
}

#container {
  position: relative;
  width: 983px;
  height: 647px;
  margin: 30px auto 0;
  background: url(../images/panel_main_new.png);
}

@media (max-width: 912px) {
    #container {
        left: 0px;
        margin-left: 0px;
    }
}

@media (max-height: 687px) {
    #container {
        top: 0px;
        margin-top: 0px;
    }
}

#type_menu {
  color: white;
  font-size: 18px;
  height: 50px;
  margin-left: 63px;
  width: 460px;
  text-shadow: 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.typemenu {
  background-image: url("../images/button01.png");
  background-repeat: no-repeat;
  cursor: pointer;
  float: left;
  height: 42px;
  padding-top: 13px;
  text-align: center;
  width: 105px;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.typemenu.selected {
  background-image: url("../images/button01_pushed.png");
}

.panel_left {
  color: black;
  width: 465px;
  height: 454px;
  float: left;
  margin: 115px 20px 0 95px;
  font-weight: bold;
}
.panel_right {
  width: 320px;
  height: 454px;
  float: left;
  margin-top: 123px;
}
#share_menu {
  position: absolute;
  width: 97px;
  height: 47px;
  top: 589px;
  left: 826px;
}
.share_twitter {
  width: 47px;
  height: 47px;
  float: left;
}
.share_facebook {
  width: 47px;
  height: 47px;
  float: left;
  margin-left: 3px;
}

#card {
  width: 300px;
  margin-top: -10px;
  margin-left: 5px;
  -webkit-filter: drop-shadow(0px 0px 15px rgba(0,0,0,0.7));
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: url(shadow.svg#drop-shadow);
}

.classimage {
  cursor: pointer;
  margin-right: 20px;
  opacity: 0.5;
  width: 70px;
}
.classimage.selected {
  opacity: 1;
}

.input-text {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  height: 28px;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 20px;
  padding: 4px 6px;
}
#input-area {
  border-radius: 4px 4px 4px 4px;
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  font-size: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 20px;
  padding: 4px 35px 4px 6px;
  width: 258px;
  height: 86px;
  max-width: 380;
  resize: horizontal;
}

.cardname {
  margin-left: 10px;
  margin-right: 12px;
  width: 280px;
  height: 36px;
}
.cardrace {
  margin-left: 10px;
  width: 134px;
  height: 36px;
}
.stat {
  width: 55px;
  float: left;
  margin-left: 5px;
  margin-top: 8px;
}
.cardstat {
  margin-left: 8px;
  text-align: center;
  width: 35px;
}
.gem {
  margin-top: -4px;
  margin-left: 10px;
  opacity: 0.5;
  width: 57px;
}
.gem.selected {
  opacity: 1;
}
#bold {
  position: absolute;
  top: 10px;
  left: 248px;
  z-index: 3;
  width: 18px;
  height: 18px;
}
.cardtext {
  float: left;
  margin: 8px 0 0 10px;
}
#panel_left_cardname_race {
  width: 460px;
  height: 43px;
  margin-top: 13px;
}
#panel_left_classes {
  width: 460px;
  height: 75px;
  margin-top: 17px;
  overflow: hidden;
  padding-top: 4px;
  padding-left: 11px;
}
#panel_left_mana {
  float: left;
  height: 103px;
  font-size: 16px;
  margin-top: 14px;
}
#panel_left_rarity {
  width: 460px;
  height: 51px;
  margin-top: 15px;
}
#panel_left_cardtext {
  float: left;
  position: relative;
  width: 275px;
  height: 103px;
  margin-top: 14px;
  font-size: 16px;
}
#panel_left_picture {
  clear: both;
  padding: 18px 9px;
  position: relative;
  width: 300px;
  height: 62px;
  font-size: 16px;
  color: white;
}
input[type="file"] {
  color: black;
}
#scroll-left {
  background: url(../images/arrow_left.png) center / 90% no-repeat;
  cursor: pointer;
  position: absolute;
  width: 53px;
  height: 61px;
  top: 190px;
  left: 45px;
}
#scroll-right {
  background: url(../images/arrow_right.png) center / 90% no-repeat;
  cursor: pointer;
  position: absolute;
  width: 53px;
  height: 61px;
  top: 190px;
  left: 542px;
}

#card-wrapper {
  height: 445px;
  width: 310px;
  margin: 0 13px;
  position: relative;
}

#on-title {
  display: none;
  font-size: 26px;
  font-weight: bold;
  text-shadow: 0.5px 0.5px;
  position: absolute;
  top: 17px;
  left: 30px;
  text-align: center;
  width: 250px;
  z-index: 44;
  text-overflow: clip;
  overflow: hidden;
  white-space: nowrap;
}
#on-gem-on {
  position: absolute;
  z-index: 4;
  width: 35px;
  height: 34px;
  top: 398px;
  left: 244px;
  background-size: 35px;
  background-repeat: no-repeat;
  z-index: 4;
  text-overflow: clip;
  overflow: hidden;
  white-space: nowrap;
}

.on-stat {
  color: white;
  display: none;
  font-family: almendra;
  font-size: 70px;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-shadow: 3px 0 0 #000, -3px 0 0 #000, 0 3px 0 #000, 0 -3px 0 #000, 2px 0 0 #000, -2px 0 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;  
  width: 76px;
  z-index: 10;
}

#on-mana {
  top: 60px;
  left: -2px;
  color: #e9ccff;
  display: none;
  font-size: 55px;
}

#on-attack {
  top: 340px;
  left: 0px;
}

#on-health {
  top: 340px;
  left: 222px;
}

#on-race {
  position: absolute;
  z-index: 3;
  width: 200px;
  height: 44px;
  left: 59px;
  top: 384px;
  overflow: hidden;
  display: none;
  text-align: center;
  background-image:url("../images/templates/race.png");
  background-size: 221px;
  background-repeat: no-repeat;
  background-position-x: -13px;
  background-position-y: 3px;
}

#on-race-text {
  position: absolute;
  z-index: 2;
  width: 186px;
  text-align: center;
  top: 18px;
  color: black;
  font-size: 22px;
  font-family: almendra;
  font-weight: bold;
  text-shadow: 0.5px 0.5px;
}

#on-cardtext {
  position: absolute;
  z-index: 10;
  top: 324px;
  left: 38px;
  display: none;
  pointer-events: none;
  width: 230px;
  height: 78px;
  font-size: 20px;
  text-align: center;
  overflow: hidden;
}

#on-cardtext b {
  text-shadow: 1px 1px, 0.5px 0.5px;
}

/*--------------------*/

#panel_left_classes input[type="radio"] {
  display: none;
}
#panel_left_classes input[type="radio"] + label {
  margin-left: -4px;
}

#picture_warning {
  display: none;
  width: 220px;
  position: relative;
  top: -33px;
  left: 241px;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: red;
}

.tooltipsy {
  width: 89px;
  font-size: 12px;
  color: white;
  text-align: center;
  top: 3px;
  position: relative;
  background: #212121;
  border: 1px solid #dedede;
  padding: 5px;
  border-radius: 6px;
}
.tooltipsy:after, .arrow_box:before {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.tooltipsy:after {
	border-color: rgba(33, 33, 33, 0);
	border-top-color: #212121;
	border-width: 5px;
	margin-left: -5px;
}
.tooltipsy:before {
	border-color: rgba(245, 245, 245, 0);
	border-top-color: #dedede;
	border-width: 8px;
	margin-left: -8px;
}
#panel_left_rarity img {
  cursor: pointer;
}
#panel_left_rarity input[type="radio"] {
  display: none;
}
