/* ===== Reset & Base ===== */
body,
html {
    margin: 0;
    padding: 0;
    font: 16px / 1.8 "Microsoft YaHei","Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB",Arial,SimSun,sans-serif;
    font-weight: 400;
    color: #575757;
}

/* ===== Grid System ===== */
.grid-container {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 1190px;
    margin-left: auto;
    margin-right: auto;
}

.grid-width-30 { width: 30%; }
.grid-width-70 { width: 70%; }
.grid-width-100 { width: 100%; }

*[class*="grid-width"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 4%;
    padding-right: 4%;
    float: left;
}

.grid-container:after,
*[class*="grid-width"]:after {
    content: '';
    display: block;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    clear: both;
}

@media (max-width:900px) {
    .grid-width-30,
    .grid-width-70,
    .grid-width-100 {
        width: 100%;
    }
}

/* ===== Header ===== */
.header-a {
    min-height: 50px;
    overflow: hidden;
    border-bottom: 1px solid #D9D9D9;
}

.header-a .header-a-logo {
    margin: 10px 0 0;
    display: block;
    font-weight: bold;
}

.header-a .header-a-logo a {
    color: #0277b7;
    text-decoration: none;
}

@media (max-width:900px) {
    .header-a .header-a-logo {
        text-align: center;
        line-height: 1;
    }
}

/* ===== Navigation ===== */
.navigation-b {
    padding: 0 15px 0 0;
    overflow: visible;
}

@media (max-width:900px) {
    .navigation-b {
        text-align: center;
        margin: 0;
        padding: 0 10px;
    }
}

/* ===== Footer ===== */
.footer-a {
    font-size: 13px;
    padding-top: 1em;
    padding-bottom: 1em;
    overflow: hidden;
    color: #8a8a8a;
    border-top: 1px solid #D9D9D9;
}

.footer-a a {
    color: #0287D0;
    text-decoration: none;
}

.footer-a a:hover {
    color: #0277b7;
}

.footer-a p {
    margin: 0;
    display: inline-block;
}

/* ===== Adjoined Sections ===== */
.adjoined-top {
    color: #fff;
}

.adjoined-bottom {
    position: relative;
}

/* ===== Controller Bar ===== */
.c {
    clear: both;
}

.controller {
    display: block;
    list-style-type: disc;
    padding-left: 2px;
    padding-right: 5px;
}

.controller li {
    display: inline-table;
    line-height: 32px;
}

li.actions {
    float: right;
}

/* ===== Options (checkbox labels) ===== */
.options input[type='checkbox'] {
    display: none;
}

.options input[type='checkbox']+label {
    display: inline-table;
    font-size: 13px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.25s;
    -moz-transition: background-color 0.25s;
    -webkit-transition: background-color 0.25s;
    -o-transition: background-color 0.25s;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    line-height: 28px;
    padding: 0 10px 0 30px;
    position: relative;
}

.options label {
    display: inline-table;
    color: #000;
    margin: 0 3px 0 0;
}

.options input[type='checkbox']:checked+label {
    background: #bfdff9;
    text-decoration: none;
}

.options input[type='checkbox']:checked+label:after {
    content: '\2611';
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 10px;
}

.options input[type='checkbox']+label:after {
    content: '\2610';
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 10px;
}

/* ===== Green Buttons ===== */
.greenBtnBox a,
.greenBtnBox button {
    display: inline-block;
    font-size: 16px;
    background: #009688;
    line-height: 32px;
    color: #FFF;
    border-radius: 3px;
    text-align: center;
    padding: 0 15px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    vertical-align: middle;
    margin: 0 5px;
}

.greenBtnBox a:hover,
.greenBtnBox button:hover {
    background-color: rgba(149, 158, 149, 0.75);
    color: #FFF;
    text-decoration: none;
}

.actions a,
.actions button {
    margin: 0 0 0 5px;
}

/* ===== Suspension Buttons ===== */
.suspension {
    text-align: center;
    padding: 10px;
}

.suspension a,
.suspension button {
    display: inline-block;
    font-size: 14px;
    background: rgba(138, 158, 138, 0.88);
    line-height: 32px;
    color: #fff;
    border-radius: 3px;
    text-align: center;
    padding: 0 15px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    vertical-align: middle;
    margin: 0 0 0 5px;
}

.suspension a:hover,
.suspension button:hover {
    background-color: #008000;
    color: #FFF;
    text-decoration: none;
}

/* ===== Utility ===== */
.bgred { background: #b50f0f !important; }

/* ===== Install Button ===== */
#installBtn {
    background-color: #009688;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#installBtn:hover {
    background-color: #2980b9;
}

/* ===== Mobile Adjustments ===== */
@media (max-width:900px) {
    .suspension a,
    .suspension button,
    .actions a,
    .actions button {
        margin: 0 5px 5px 5px;
    }
}

/* ===== Hide Overlay ===== */
.hide_box {
    z-index: 999;
    filter: alpha(opacity=50);
    background: #666;
    opacity: 0.5;
    -moz-opacity: 0.5;
    left: 0;
    top: 0;
    height: 99%;
    width: 100%;
    position: fixed;
    display: none;
}
