@charset "utf-8";


/* font body */
body {
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Bitstream Vera Sans",sans-serif;
    font-size: 12px;
}

/* font title */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Bitter, serif;
}
h1, .h1 {
    font-size: 26px;   
}
h2, .h2 {
    font-size: 18px;
}

.container {
  width: auto;
  max-width: 978px;
}


.photo {
    margin-bottom: 20px;
}

/* video responsive */
.flex-video {
  position: relative;
  padding-top: 25px;
  padding-bottom: 67.5%;
  height: 0;
  margin-bottom: 16px;
  overflow: hidden;
}
 
.flex-video.widescreen { padding-bottom: 57.25%; }
.flex-video.vimeo { padding-top: 0; }
 
.flex-video iframe,
.flex-video object,
.flex-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
  .flex-video { padding-top: 0; }
}


/* bootstrap override */

.navbar {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.breadcrumb {
    background-color: transparent;
    padding-left: 0;
    margin-bottom: 5px;
    font-size: 12px;
    font-family:'Lucida Grande', Helvetica, sans-serif;
}

.navbar-collapse {
    padding-left: 0;
}

.page-header {
    border-bottom: none;
    margin: 20px 0 10px;
    padding-bottom: 0;
}

.page-header  .h1{
    margin-bottom: 10px;
}

/*mainmenu*/
.collapse.navbar-collapse.main-collapse {
  
}

ul.nav.nav-tabs li, ul.nav.nav-tabls li a {
    font-size: 14px;
}
.navbar.main ul li{
    font-size: 14px;
}
.navbar.main ul li a {      
    color: #777;
    font-family:'Lucida Grande', Helvetica, sans-serif;
    padding: 10px;
}
.navbar.main li.active a {      
    color: #000;
}
.navbar.main .navbar-toggle .icon-bar {
background-color: #cccccc;
}

.navbar-nav>li>a {
   padding: 5px 10px; 
}


/*submenu*/
.navbar.sub{
   /* background-color: #DDEDF7;*/
    min-height: 20px;
    margin-bottom: 10px;
}
.navbar.sub ul li{
    font-size: 14px;
}
.navbar.sub ul li a {      
    color: #678;
    padding-top: 5px;
    padding-bottom: 5px;
}
.navbar.sub li.active a {      
    color: #000;
}
.navbar.sub .navbar-toggle .icon-bar {
background-color: #cccccc;
}


span.label {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: normal;
}


.post-box { height: 210px;}
.post-box img { max-height: 100px; display: block; margin-bottom: 5px;}
.post-photo { margin-bottom: 5px;}

.post-box.video {
    height: 150px;
}
.post-box.video a {
    font-size: 0.9em;
    line-height: 1em;
}


#site-title {
    text-shadow: 1px 1px 1px #335577;
    font-size: 2.0em !important;
}
#site-title span {color: #999;}
#site-title a {
	color: #000;
	text-decoration: none;
}
#site-title a span.a { color: #AABBCC;}
#site-title a span.v { color: #00CC00;}
#site-title a span.b { color: #EEEEEE;}
#site-title a span.r { color: #CC0000;}


pre code {
    font-family: Monaco,Consolas,"Courier New",monospace;
    font-size: 0.9em;
}

.form-horizontal label.control-label {
    padding-right: 0px;
}

html {
    overflow-y: scroll; 
}

label.control-label {
    font-size: 10px;
}

.form-control, .btn {
    padding: 3px 8px;
    height: 29px;
}

.economic-container .form-control {
    padding: 3px 8px;
    height: 28px;
}

.economic-container .form-group {
    margin-bottom: 5px;
}

.btn {
    margin: 10px;
}

#sub-menu ul.nav li {
    padding: 0px;
}

#sub-menu ul.nav li.active {
    color: #555;
    cursor: default;
    background-color: #eee;
    border: 1px solid #ccc;
}

#sub-menu ul.nav li a {
    width: 100%;
    font-size: 12px;
}

#sub-menu ul.nav li a:hover {
    width: 100%;
}

#sub-menu ul.nav li.active a {
    color: #555;
    cursor: default;
}

div.inner-grid {
    padding:15px;
    margin:0px;
    background-color:#eee;
}

div.inner-grid>table {
    background-color:#fff;
}

div.inner-grid.custom>table {
    background-color:inherit;
}

html {
  font-size: 10px;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

div.game input[type=checkbox] {
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  padding: 10px;
}

div.game {
    position:relative; 
    background-color:#ccc; 
    height: 540px;
    border: 2px solid #999; 
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    cursor: default;
}

div.game div.select_msg {
    position: absolute; 
    top: 190px;
    height: auto;
    font-weight: bold;
    color: #333;
    border: 1px solid #aaa; 
    background-color: #eeb;
    padding-top: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

div.game div.column {
    position: absolute; 
    top: 5px;
    height: 525px;
    visibility: hidden;
    border: 2px solid #aaa; 
    background: repeating-linear-gradient(
      -55deg,
      #ccc,
      #bbb 10px,
      #ccc 10px,
      #bbb 20px
    );
}

div.game div.column.target {
    visibility: visible; 
}

div.game div.cell {    
    visibility: hidden;
}

div.hero.target div.cell,
div.empty_cell.target div.cell {
    visibility: visible;
}

div.game div.column input {
    position: absolute;
    width: 20px;
    top: 5px;
    padding:0px;
}

div.game div.cell input {
    position: absolute;
    width: 20px;
    left: 0px;
    top: 0px;
}

div.hero {
    color:#ddd;
    width: 160px; 
    height: 100px;
    display:block;
    padding:6px;
    position:absolute;
    border: 1px solid #ccc; 
    background-color:#555;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    box-shadow: 5px 5px 5px #aaa;
    z-index:3;
}

div.hero.selected {
    border: 4px solid #fff; 
}

div.hero.current {
    color:#fff;
    background-color: firebrick;
    border: 4px solid #fff; 
    box-shadow: 5px 5px 5px #888888;
}

div.hero li {
    color:#fff;
}

div.hero li:hover {
    color:#fff;
}

div.hero ul {
    list-style: disc;
    visibility: hidden;
    border: 2px solid #fff; 
    background-color:#aaa;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    display: inline-block;
    z-index:100;
    position:relative;
    text-align: left;
    opacity: 0;
    transition: opacity 0.2s ease-in;
    box-shadow: 5px 5px 5px #888888;
    padding: 5px;
}

div.hero.current ul {
    border: 4px solid #fff; 
    background-color: #678;
}

div.hero.current ul a {
    color: white;
}

div.hero ul li {
    height: 20px;
    width: 200px;
    padding-left: 15px;
    display: inline-block;
}

div.hero div.body {
    display: block;
    height: 100px;
}

div.hero div.body:hover ul {
    list-style: disc;
    visibility: visible;
    opacity: 1;
}

div.hero div.info {
    position: absolute;
    right: -10px;
    top: 18px;
    background-color:#ffb;
    color: #999;
    padding-left: 5px;
    padding-right: 5px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    width: 20px;
    height: 20px;
    font-size: 15px;
    font-family: 'Times New Roman', Times, serif;
    box-shadow: 4px 4px 4px #aaa;
}

div.hero.current div.info {
    box-shadow: 4px 4px 4px #888888;
}

div.hero div.info div {
    font-family: "Lucida Grande",
        "Lucida Sans Unicode",
        "Bitstream Vera Sans",
        sans-serif;
    font-size: 12px;
    font-weight: normal; 
    padding: 10px;
    text-align: left;
    color: #333;
    z-index: 101;
    visibility: hidden;
    position: absolute;
    width: 300px;
    height: auto;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.25s ease-in;
    background-color: #ffc;
    border: 1px solid #666; 
    box-shadow: 5px 5px 5px #888888;
}

div.hero div.info.bottom-right div {
    bottom: 0px;
    right: 0px;
}

div.hero div.info.bottom-left div {
    bottom: 0px;
    right: 0px;
}

div.hero div.info.top-right div {
    right: 0px;
}

div.hero div.info.top-left div {
    right: 0px;
}

div.hero div.info:hover div {
    opacity: 0.9;
    visibility: visible;
    transition: opacity 0.25s ease-in;
}

div.hero p.stats {
    font-size: 10px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #ffb;
}

div.hero.current p.stats {
    font-size: 10px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #ffb;
}

ul.inactive a {
    pointer-events: none;
}

.empty_cell {
    border: solid 1px #999;
    display:block;
    position: absolute;
    width: 160px; 
    height: 100px;
}

div.hero.dead {
    background: #ddd;
    color: #888;
    box-shadow: none;
    z-index:2;
}

div.hero div.indicator {
    color: #ee6666;
    position: absolute;
    top:50%;
    left:20px;
    display: block;
    z-index: 1001;
    font-size: 18px;
    font-family: Serif;
    font-weight: bold;
    text-shadow: 3px 3px 4px #fff;
}

div.hero div.indicator.hit_points,
span.hit_points {
    color: #FF0000;
}

div.hero div.indicator.resistance_physical,
span.resistance_physical {
    color: #0088c3;
}

div.hero div.indicator.resistance_magical,
span.resistance_magical {
    color: #800080;
}

div.hero div.indicator.mana,
span.mana {
    color: #ffffff;
}

div.hero div.indicator.exotic,
span.exotic {
    color: #ffff66;
}

div.hero div.indicator.explode {
    font-size: 40px;
    top:80%;
    opacity: 0.25;
}

div.hero div.indicator.implode {
    font-size: 16px;
    top:50%;
    opacity: 1;
}

div.hero div.indicator.explodeEffect {
    font-size: 40px;
    opacity: 0.25;
    top:80%;
    -webkit-transition: all 2s ease-out; /* Safari */
    transition: all 2s ease-out;
}

div.hero div.indicator.implodeEffect {
    font-size: 11px;
    opacity: 1;
    top:50%;
    -webkit-transition: all 2s ease-in; /* Safari */
    transition: all 2s ease-in;
}