﻿body {
    color: #DDD;
}

input:hover,input[type="text"]:hover,input[type="number"]:hover,select:hover,option:hover {
    box-shadow: 0 0 10px #0099CC;
}

input,input[type="text"],input[type="number"],select,option {
    background-color: rgb(58, 58, 58) !important;
    border: 1px solid #444;
    color: #33b5e5 !important;
    opacity: .85;
    text-align: center;
    outline: none;
    border-radius: 5px;
}

.rotate-270 {
    transform: rotate(270deg)
}

.arrow-down:after {
    content: '\25BC';
}

.arrow-right:after {
    content: '\25B6';
}

a {
    text-decoration: none;
    border: 0;
    color: #DDD;
    transition: 1000ms;
    -webkit-transition: 1000ms;
    -ms-transition: 1000ms;
    -moz-transition: 1000ms;
}

a:hover {
    color: #fff;
    transition: 1000ms;
    -webkit-transition: 1000ms;
    -ms-transition: 1000ms;
    -moz-transition: 1000ms;
    border-radius: 5px;
    text-shadow: 0 0 10px;
}

th, .th {
    background: #0e0e0e;
    opacity: 0.90;
    padding: 4px 6px;
    text-align: center;
    font-size: 14px;
    font-weight: bolder;

    margin-bottom: 0.125rem;

    color: white;

    width: 100%;
}

td, .td {
    text-align: center;
    background: rgba(13, 16, 20, 0.55);
    border: 1px solid #000;
    padding: 5px 2px;
    vertical-align: middle;

    color: white;
}

/* 这里必须单独拿出来, 否则td标签排序混乱 */
.td {
    display: flex;
    justify-content: center;
    align-items: center;

    line-height: 18px;
}

tr {

}

th td {
    font-family: 微软雅黑, serif;
    font-size: 13px;
}

.th .td {
    font-family: 微软雅黑, serif;
    font-size: 13px;
}

.td + .td {
    margin-left: 0.125rem;
}

.td-container {
    width: 100%;
    display: flex;
}

.td-container + .td-container {
    margin-top: 0.125rem;
}

.header-image {
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    position: relative;
    /*width: 654px;*/
    margin: 0 auto 3px;
}

.header-image.overview {
    background-image: url(/styles/resource/images/header/header_jungle.jpg);
}

.header-image.buildings {
    background-image: url(/styles/resource/images/header/jungle.jpg);
}

.header-image.fleet {
    background-image: url(/styles/resource/images/header/header_shipyard.jpg);
}

.header-image.defense {
    background-image: url(/styles/resource/images/header/header_defense.jpg);
}

.header-image.research {
    background-image: url(/styles/resource/images/header/header_research.jpg);
}

.overview-planet-data {
    float: right;
    margin: 140px 5px 0px 0px;
    width: 320px;
    font-size: 14px
}

.overview-planet-data span {
    color: #6F9FC8;
    font-weight: 700;
}

.header-image h2 {
    font: bold 18px/22px '微软雅黑', 'AR PL UMing TW', 'Arial';
    height: 40px;
    line-height: 35px;
    margin-left: 180px;
    text-align: left;
    overflow: hidden;
    padding-top: 7px;
    white-space: nowrap;
    width: 350px
}

input[type="button"] {
    border: 1px solid #1C1F23;
    border-radius: 5px;

    color: #33b5e5;
    background: rgb(58, 58, 58);
    opacity: .85;
    text-align: center;
    outline: none;

    padding: 5px;
}

input[type="button"]:hover {
    text-shadow: rgba(174, 206, 232, 0.84) 0 0 4px;
    box-shadow: 0 0 10px #0099CC;
}

.img_rot {
    -webkit-transition: 0.4s;
    -webkit-transition: -webkit-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
}

.img_rot:hover {
    transform: rotateZ(360deg);
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
}

.curr-tag {
    color: red;
}

.input-btn,button[type="submit"] {
    border: 1px solid #1C1F23;
    border-radius: 5px;
    background: rgb(58, 58, 58);
    color: #33b5e5;
    opacity: .85;
    text-align: center;
    outline: none;
    padding: 0.2rem 0.4rem;
}

.input-btn:hover,input[type="submit"]:hover {
    text-shadow: rgba(174, 206, 232, 0.84) 0 0 4px;
    box-shadow: 0 0 10px #0099CC;
}

.menucat1-head {
    background-image: url('/styles/theme/gow/img/menu_wirt2.png');
    background-size:cover;
    height: 28px;
}

.menucat2-head {
    background-image: url('/styles/theme/gow/img/menu_com2.png');
    background-size:cover;
    height: 28px;
}

.menucat3-head {
    background-image: url('/styles/theme/gow/img/menu_acc2.png');
    background-size:cover;
    height: 28px;
}

.menu-footer{
    background-image: url('/styles/theme/gow/img/menu-foot.png');
    background-size:cover;
    height: 28px;
}

.slideout-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 256px;
    min-height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    z-index: 0;
    display: none;
}

.slideout-menu-left {
    left: 0;
}

.slideout-menu-right {
    right: 0;
}

.slideout-panel {
    position: relative;
    z-index: 1;
    will-change: transform;
    /*background-color: #000;*/
    /* A background-color is required */
    min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
    overflow: hidden;
}

.slideout-open .slideout-menu {
    display: block;
}