/**********************************************************************************

    Project Name: GMMP
    Project Description: SMS Management
    File Name: style.css
    Author: Bobby 
    Author URI: http://www.monkeyfly.net
    Version: 1.0.0
    
**********************************************************************************/

/* ---------- RESET ---------- */
/* ---------- Based upon 'reset.css' in the 
Yahoo! User Interface Library: 
http://developer.yahoo.com/yui ---------- 
Simple Admin System-----------------  */

*, html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4,
h5, h6, pre, form, label, fieldset, input, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

q:before, q:after {
    content: '';
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

a img {
    border: none;
}
/* Gets rid of IE's blue borders */

a {
    text-decoration: none;
}

body {
    font-size: 1em; /* Prevents an IE bug where em's scale out of proportion */
}





/* ---------- CLEARFIX ---------- */
/* For modern browsers */
.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}







/* ---------- GENERAL ---------- */
.round {
    border-radius: 0.3125em; /* 5/16 */
    -moz-border-radius: 0.3125em; /* 5/16 */
    -webkit-border-radius: 0.3125em; /* 5/16 */
}

p {
    margin-bottom: 1.25em; /* 20/16 */
    color: #9498a1;
}

.fl {
    float: left;
}

.fl-padding-right {
    float: left;
    padding-right: 3em;
}

.fr {
    float: right;
}

.cb {
    clear: both;
}

.half-size-column {
    width: 48%;
}

.display-half-size-column {
    width: 49%;
}

.changepassword-left-size-column{
    width:60%
}

.changepassword-right-size-column{
    width:38%
}

.feedback-left-size-column{
    width:48%
}

.feedback-right-size-column{
    width:48%
}

.contact-left-column {
    width: 28%;
}

.contact-right-column {
    width: 70%;
}

.online-charge-left-column {
    width: 28%;
}

.online-charge-right-column {
    width: 70%;
}


div.stripe-separator {
    background: transparent url('/images/separator-bg.png') repeat-x left center;
    height: 0.562em; /* 9/16 */
    display: block;
    margin: 1.25em 0; /* 20/16 */
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.625em; /* 10/16 */
}

/*Temporary styles*/
ul.temporary-button-showcase {
    list-style-type: none;
}

    ul.temporary-button-showcase li {
        width: 24%;
        float: left;
        margin-bottom: 1em;
    }

code {
    display: inline-block;
    background-color: #f8f9fa;
    border: 1px solid #eeefef;
    padding: 0.416em 0.833em; /* 5/12 10/12 */
    color: #2a2e36;
}

blockquote {
    display: block;
    font-style: italic;
    border-left: 2px solid #eeefef;
    padding-left: 0.833em; /* 10/12 */
    color: #9498a1;
}

cite {
    font-style: italic;
    font-weight: bold;
    display: block;
    padding-left: 0.833em; /* 10/12 */
    margin-top: 0.833em; /* 10/12 */
    color: #9498a1;
}






/* ---------- TYPOGRAPHY ---------- */
body, form {
    font-family: "Droid Sans", Helvetica, Arial, sans-serif;
    line-height: 1.125em; /* 18/16 */
}

    p, .button, form input, ul#nav li ul, ul#tabs, div.side-menu ul li a, table,
    .information-box, .confirmation-box, .error-box, .warning-box, ol, .regular-ul,
    .custom-ul, blockquote, cite {
        font-size: 0.75em; /* 12/16 */
    }

div.content-module-heading span {
    font-size: 0.625em; /* 10/16 */
}

form p input[type="text"], form p input[type="password"], form p input[type="checkbox"], form p input[type="radio"] {
    font-size: 1.5em; /* 12/12. I did 12 because they're contained within a P tag, that has font size of 12px*/
}

h1 {
    font-size: 2.125em; /* 18/16 */
}

h2 {
    font-size: 0.875em; /* 14/16 */
}

h3 {
    font-size: 0.75em; /* 12/16 */
}

h4 {
    font-size: 0.685em; /* 11/16 */
}

h5 {
    font-size: 0.625em; /* 10/16 */
}


p#adduser {
    text-align: right;
    margin-right: 25%;
}

p#userinfolabel {
    text-align: right;
}

p#userinfocontent {
    text-align: left;
}





/* ---------- COLORS ---------- */
a {
    color: #2069b4;
}

    a:hover {
        color: #2a2e36;
    }

p a, p a:hover {
    border-bottom: 1px dotted;
}

.blue {
    background-color: #2069b4;
    color: white;
}

    .blue:hover {
        background-color: #5081b3;
        color: white;
    }





/* ---------- WIDTHS ---------- */
/* Form Inputs Style */
.default-width-input {
    width: 20.833em; /* Default Value. Equals 250px for the 12px font size */
}

.full-width-input {
    width: 91%;
}

.half-width-input {
    width: 45%;
}

/* Textarea Style */
.full-width-textarea {
    width: 95%;
    height: 5em; /* 150/12 */
}

.p2psms-width-textarea {
    width: 95%;
    height: 8em; /* 150/12 */
}

.date-input {
    width: 10em;
    padding: 0.8em 3em 0.8em 0.625em;
}

.normal-input {
    width: 9em;
    padding: 0.8em 3em 0.8em 0.625em;
}



.cyclesms-date-input {
    width: 17%;
    padding: 0.3em 6em 0.3em 0.6em;
}

/* Page Container Style */
.page-full-width {
    padding: 0em 1.875em; /* 30/16 */
}

.page-limited {
    width: 60em; /* 960/16 */
    margin: 0 auto;
}





/* ---------- BUTTONS ---------- */
.button {
    padding: 0.833em; /* 10/12 */
    display: inline-block;
    text-decoration: none;
    background-repeat: no-repeat;
}

.dark {
    background-color: #3f4551;
    color: white;
}

    .dark:hover {
        background-color: #5d6677;
        color: white;
    }

.text-upper {
    text-transform: uppercase;
}

.small-button {
    padding: 0.312em 1em; /* 5/16 16/16 */
}

.normal-button {
    padding: 0.633em;
    font-size: 1.2em;
}

.contact-button {
    width: 9em;
    padding: 0.7em 3em 0.7em 0.625em;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
    background-repeat: no-repeat;
}


.image-left {
    background-position: 0.833em center; /* 10/12 */
    padding-left: 3em; /* 36/12 */
}

.image-right {
    background-position: right center;
    padding-right: 3em; /* 36/12 */
}

.ic-left-arrow {
    background-image: url("/images/icons/ic_left.png");
}

.ic-right-arrow {
    background-image: url("/images/icons/ic_right.png");
}

.ic-print {
    background-image: url("/images/icons/ic_print.png");
}

.ic-cancel {
    background-image: url("/images/icons/ic_cancel.png");
}

.ic-delete {
    background-image: url("/images/icons/ic_delete.png");
}

.ic-add {
    background-image: url("/images/icons/ic_add.png");
}

.ic-download {
    background-image: url("/images/icons/ic_download.png");
}

.ic-edit {
    background-image: url("/images/icons/ic_edit.png");
}

.ic-favorite {
    background-image: url("/images/icons/ic_favorite.png");
}

.ic-lock {
    background-image: url("/images/icons/ic_lock.png");
}

.ic-power {
    background-image: url("/images/icons/ic_power.png");
}

.ic-refresh {
    background-image: url("/images/icons/ic_refresh.png");
}

.ic-settings {
    background-image: url("/images/icons/ic_settings.png");
}

.ic-upload {
    background-image: url("/images/icons/ic_upload.png");
}

.ic-search {
    background-image: url("/images/icons/ic_zoom.png");
}


.ic-table-edit {
    background-image: url("/images/icons/table/actions-edit.png");
}

.ic-table-delete {
    background-image: url("/images/icons/table/actions-delete.png");
}

.ic-table-send {
    background-image: url("/images/icons/table/actions-send.png");
}

.ic-table-pay {
    background-image: url("/images/icons/table/actions-pay.png");
}

.ic-table-subusers {
    background-image: url("/images/icons/table/actions-subusers.png");
}



/* ---------- MENU BUTTONS ---------- */
.menu-email {
    background-image: url("/images/icons/menu/menu-email.png");
}

    .menu-email:hover {
        background-image: url("/images/icons/menu/menu-email-over.png");
    }

.menu-email-special {
    background-image: url("/images/icons/menu/menu-email-special.png");
    color: #7fcdff;
}

.menu-settings {
    background-image: url("/images/icons/menu/menu-settings.png");
}

    .menu-settings:hover {
        background-image: url("/images/icons/menu/menu-settings-over.png");
    }

.menu-logoff {
    background-image: url("/images/icons/menu/menu-logoff.png");
}

    .menu-logoff:hover {
        background-image: url("/images/icons/menu/menu-logoff-over.png");
    }

.menu-user {
    background-image: url("/images/icons/menu/menu-user.png");
}

.login-button {
    padding: 0 0 0 0; /* 10/12 */
    width: 99%;
    display: inline-block;
    text-decoration: none;
    background-repeat: no-repeat;
    text-align: center;
    font-weight: bold;
    font-family: 黑体;
    font-size: 1.25em;
}

.reg-button {
    padding: 0.833em; /* 10/12 */
    width: 40%;
    display: inline-block;
    text-decoration: none;
    background-repeat: no-repeat;
    text-align: center;
    font-weight: bold;
    font-family: 黑体;
    font-size: 1.25em;
}



/* ---------- FORMS ---------- */
.login-form-label {
    display: block;
    font-size: 1.5em;
    font-family: 黑体;
    color: #2a2e36;
}

.reg-form-label {
    display: inline;
    font-size: 1.75em;
    font-family: 黑体;
    text-align: right; /*让<label>右对齐*/
    padding-right: 10px;
    color: #2a2e36;
}

.send-date-label {
    display: inline;
    text-align: right; /*让<label>右对齐*/
    padding-right: 2px;
}

.input-label {
    display: inline;
    text-align: right; /*让<label>右对齐*/
    padding-right: 2px;
}

.input-label-left {
    display: inline;
    text-align: left; 
    padding-right: 2px;
 
}

.validate-label{
    text-align: left; /*让<label>右对齐*/
    padding-right: 2px;
    color:red;
    font-size:0.8em;
}

.display-label {
    display: inline;
    color:black;
    font-size:1.1em;
}

.cycle-sms-label {
    display: inline;
    text-align: right; /*让<label>右对齐*/
    padding-right: 2px;
}

.reg-form input[type="text"], input[type="password"], textarea {
    border: 1px solid #d9dbdd;
    padding: 0em 0em; /* 16/16 10/16 */
    outline: none;
    font-size: 1.5em;
}

.cycle-form input[type="radio"] {
    margin-right: 0.1em;
}

.p2pselect {
    padding: 0.25em 0 0.25em 0; /* 16/16 10/16 */
    font-size: 1.5em;
}

.contact-select {
    width: 9em;
    padding: 0.25em 0 0.25em 0;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    font-size: 1.12em;
}

.charge-label {
    width: 9em;
    padding: 0.35em 0.6em 0.25em 0.6em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    margin-right: 1.5em;
    font-size: 1.25em;
    display: inline;
}


form label {
    display: block;
    color: #2a2e36;
    margin: 0 0 0.3125em 0;
}

    form label.alt-label {
        text-transform: none;
    }

form input[type="text"], input[type="password"], textarea {
    border: 1px solid #d9dbdd;
    padding: 0.3em 0.625em; /* 16/16 10/16 */
    outline: none;
}

    form input[type="text"]:hover, input[type="password"]:hover, textarea:hover,
    form input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
        border: 1px solid #bbbdbe;
    }

form input[type="checkbox"], form input[type="radio"] {
    margin-right: 0.833em; /* 10/12 */
}

form input[type="submit"] {
    border: none;
    cursor: pointer;
    padding: 0.833em; /* 10/12 */
    text-align: center;
    background-position: right center;
    padding-right: 3em; /* 36/12 */
    background-repeat: no-repeat;
    font-weight: bold;
    text-transform: uppercase;
}

form#login-form input[type="submit"] {
    border: none;
    cursor: pointer;
    padding: 0.3em; /* 10/12 */
    text-align: center;
    background-position: right center;
    padding-right: 0em; /* 36/12 */
    background-repeat: no-repeat;
    font-weight: bold;
    text-transform: uppercase;
}

form#search-form input {
    border: none;
    /* The inner text overflows on the BG image, so we're setting a right padding to stop that */
    padding: 0.625em 3em 0.625em 0.625em; /* 36/12 */
}

    form#search-form input:focus {
        /* Same as .dark:hover */
        background-color: #5d6677;
        color: white;
    }

form#contact-group-form input {
    width: 9em;
    padding: 0.7em 3em 0.7em 0.625em;
}

form#changegroup input {
    width: 9em;
    padding: 0.6em 3em 0.6em 0.625em;
    font-weight: bold;
    display: inline-block;
    line-height: 1.12em;
    font-size: 1.12em;
    background-repeat: no-repeat;
}

form#online-form p {
    margin-top: 1.5em; /* 10/12 */
    display: block;
}

form#online-form input[type="radio"] {
    margin-right: 0.1em; /* 10/12 */
}

.online-form-pay-middle {
    vertical-align: middle;
}

form p em {
    margin-top: 0.833em; /* 10/12 */
    display: block;
}

form p.form-error, form p.form-error label {
    color: #cf4425;
}

    form p.form-error em {
        background: transparent url('/images/icons/message-boxes/error.png') no-repeat left center;
        padding-left: 2em; /* 24/12 */
    }

form input.error-input {
    border: 1px solid #ff876f;
}

    form input.error-input:hover {
        border: 1px solid #b03e27;
    }

/* Styling the HTML5 placeholders */
/* So far they don't work in: IE, Opera 10 and below, Firefox 3.6 and below */
::-webkit-input-placeholder {
    color: #858d9c;
}

:-moz-placeholder {
    color: #858d9c;
}




/* ---------- CONTENT BOXES ---------- */
.information-box, .confirmation-box, .error-box, .warning-box {
    padding: 0.833em 0.833em 0.833em 3em; /* 10/12 36/12 */
    margin-bottom: 0.833em; /* 20/12 */
}

.information-box {
    background: #e5f5f9 url('/images/icons/message-boxes/information.png') no-repeat 0.833em center;
    border: 1px solid #cae0e5;
    color: #5a9bab;
}

.confirmation-box {
    background: #e7fae6 url('/images/icons/message-boxes/confirmation.png') no-repeat 0.833em center;
    border: 1px solid #b7cbb6;
    color: #52964f;
}

.error-box {
    background: #fde8e4 url('/images/icons/message-boxes/error.png') no-repeat 0.833em center;
    border: 1px solid #e6bbb3;
    color: #cf4425;
}

.warning-box {
    background: #fdf7e4 url('/images/icons/message-boxes/warning.png') no-repeat 0.833em center;
    border: 1px solid #e5d9b2;
    color: #b28a0b;
}





/* ---------- MENU ---------- */
ul#nav {
    list-style-type: none;
}

    ul#nav > li {
        float: left;
        margin-right: 0.312em; /* 5/16 */
        position: relative;
    }

    ul#nav li:first-child {
        margin-left: 0;
    }

    ul#nav li:hover ul {
        left: 0; /* On hover, we make the submenu visible again */
    }
    /* Persistent hover state, exactly the same style as the inner anchor on hover (.dark:hover) */
    ul#nav li:hover a {
        background-color: #5d6677;
        color: white;
    }

    ul#nav li.v-sep {
        border-right: 1px solid #3f4551;
        margin-right: 0.625em; /* 10/16 */
        padding-right: 0.625em; /* 10/16 */
    }

    ul#nav li ul {
        list-style-type: none;
        position: absolute;
        z-index: 999;
        margin-top: -2px;
        left: -9999px;
    }

        ul#nav li ul li a {
            color: white;
            padding: 0.833em 0 0.833em 3em;
            border-top: 1px solid #6a7282;
            background: #5d6677 url('/images/menu-indicator.png') no-repeat right center;
            display: block;
            width: 100%;
            white-space: nowrap;
        }

        ul#nav li ul li:last-child a {
            border-bottom-right-radius: 0.3125em; /* 5/16 */
            border-bottom-left-radius: 0.3125em; /* 5/16 */
            -moz-border-bottom-right-radius: 0.3125em; /* 5/16 */
            -moz-border-bottom-left-radius: 0.3125em; /* 5/16 */
            -webkit-border-bottom-right-radius: 0.3125em; /* 5/16 */
            -webkit-border-bottom-left-radius: 0.3125em; /* 5/16 */
        }

        ul#nav li ul li a:hover {
            background-color: #7a8497;
        }





/* ---------- TOP + HEADER ---------- */
div#top-bar {
    background-color: #367fba;
    padding: 0.625em 0; /* 10/16 */
    line-height: 0.5em; /* 18/16 */
}

div#header {
    padding: 1.25em 0; /* 20/16 */
}

div#header-with-tabs {
    padding: 1.25em 0 0 0; /* 20/16 */
}

div#login-intro {
    background: transparent url('/images/login-icon.png') no-repeat left center;
    padding: 0.312em 0 0.312em 3.125em;
}

    div#login-intro h1 {
        text-transform: uppercase;
        margin: 0.312em 0 0 0;
        color: #9498a1;
    }


a#company-branding img {
    height: 55px;
}

a#company-branding-small img {
    height: 30px;
}





/* ---------- TABS ---------- */
ul#tabs {
    list-style-type: none;
}

    ul#tabs li {
        float: left;
    }

        ul#tabs li a {
            border: 1px solid #eeefef;
            border-bottom: none;
            padding: 1em 0.833em; /* 20/12 10/12 */
            margin: 0 0.416em -1px 0;
            display: block;
            color: #9498a1;
            font-size: 1em;
            font-weight: bold;
        }

            ul#tabs li a:hover {
                color: #2a2e36;
            }

            ul#tabs li a.dashboard-tab {
                background: transparent url('/images/tab-dashboard.png') no-repeat 0.833em center /* 10/12 */;
                padding-left: 3em; /* 36/12 */
            }

            ul#tabs li a.active-tab, ul#tabs li a.active-tab:hover {
                background-color: #f8f9fa;
                font-weight: bold;
                color: #2a2e36;
            }





/* ---------- TABLES ---------- */
table {
    width: 100%;
    margin-bottom: 1.25em; /* 20/16 */
}

    table th {
        background-color: #32bebe;
        color: white;
        text-transform: uppercase;
        text-align: center;
        padding: 1.25em 0 1.25em 0em; /* 15/12 */
        border-left: 1px solid #747c8a;
    }

    table tbody td {
        padding: 0.833em 0 0.833em 1.25em; /* 10/12 15/12 */
        border-left: 1px solid white;
        border-bottom: 1px solid #32bebe;
    }

    /* Alternate table row */
    table tbody tr:nth-child(odd) {
        background-color: #f8f9fa;
    }

    /* Push the first cell to the right so it doesn't stick to the table border */
    table td:first-child, table th:first-child {
        text-align: center;
        padding: 0;
        border: none;
        border-bottom: 1px solid #32bebe;
    }

    table td:last-child, table th:last-child {
        text-align: center;
        padding: 0;
    }

    table td.table-footer {
        text-align: left;
        vertical-align: middle;
        padding-top: 1.25em /* 15/12 */;
        border: none;
    }

a.table-actions-button {
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    background-position: center center;
}

.set-width-six {
    width: 6em;
}

.set-text-table-center {
    text-align: center;
}

.set-width-seven {
    width: 7em; /* 84/12 */
}

.set-width-three {
    width: 3em; /* 84/12 */
}

.set-width-nine {
    width: 9em; /* 84/12 */
}




/* ---------- LISTS ---------- */
ol li, .regular-ul li {
    margin-left: 1.25em; /* 20/16 */
}

ol, .regular-ul, .custom-ul {
    margin-bottom: 1.25em; /* 20/16 */
}

.custom-ul {
    list-style-type: none;
}

    .custom-ul li {
        background: transparent url('/images/menu-dark-indicator.png') no-repeat left center;
        padding-left: 1.25em /* 10/12 */;
    }



/* ---------- CONTENT ---------- */
div#body {
    border: 1px solid #eeefef;
    text-align: center;
}

div#login-content {
  /*  background: #f8f9fa url('/images/artwork-pattern.png') repeat-x left bottom; */
    display: inline-block;
    padding: 0.875em 0 0.3125em 0; /* 30/16 */
    vertical-align: bottom;
}

div#content {
    background: #f8f9fa url('/images/artwork-pattern.png') repeat-x left bottom;
    padding: 0.875em 0 0.3125em 0; /* 30/16 */
}

div#main-image {
    display: inline-block;
    padding: 0.875em 1.875em 0.3125em 0;
    vertical-align: bottom;
}

    div#main-image img {
        max-height: 300px;
    }


form#login-form {
    text-align: left;
    width: 18.75em; /* 300/16 */
    margin: 1em auto;
}

form#reg-form {
    text-align: right;
    width: 26.75em; /* 300/16 */
    margin: 1em auto;
}

form#forgot-pwd-form {
    text-align: right;
    width: 45em; /* 300/16 */
    margin: 1em auto;
}

div.side-menu {
    background: #367fba;
    border: 1px solid #eeefef;
    width: 15%;
    margin-bottom: 1em; /* 16/16 */
}

    div.side-menu h3 {
        text-transform: uppercase;
        font-weight: bold;
        margin: 1.25em; /* 15/12 */
        color: white;
        line-height: 0.60em;
    }

    div.side-menu ul {
        list-style-type: none;
    }

        div.side-menu ul li a {
            padding: 0.833em 1.25em; /* 10/12 15/12 */
            border-top: 1px solid #f8f9fa;
            display: block;
            background: white url('/images/menu-dark-indicator.png') no-repeat right center;
        }

            div.side-menu ul li a:hover {
                background-color: #f8f9fa;
            }

div.side-content {
    width: 83%; /* 100% - 15% for the side menu - 2% for the left margin */
}

div.content-module {
    background: white;
    margin-bottom: 1em; /* 16/16 */
    border: 1px solid #eeefef;
}

div.content-module-heading {
    background: #367fba;
    cursor: pointer;
}

    div.content-module-heading h3 {
        text-transform: uppercase;
        color: white;
        font-weight: bold;
        margin: 1.25em; /* 15/12 */
        line-height: 0.60em;
    }

    div.content-module-heading span {
        color: #969dac;
        text-transform: uppercase;
        margin: 1.5em; /* 15/10 */
        line-height: 0.60em;
    }

div.content-module-main {
    padding: 1em; /* 16/16 */
}





/* ---------- FOOTER ---------- */
div#footer {
    text-align: center;
    padding: 1.875em 0; /* 30/16 */
}
