html, body {
    font-family: Arial, Tahoma, sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
    height: 100%;
    background: #ddd;
    line-height: 1.5em;
    color: #444;
}

.crazy-error-container {
    border: 5px solid white;
    background: #ff4f4f;
    color: white;
    font-size: 18px;
    padding: 18px 22px;
    position: fixed;
    left: -350px;
    top: 40%;
    width: 350px;
    text-align: center;
}


#wrapper {
/*    width: 100%;*/
    width: 980px;
    margin: 0 auto;
    min-height: 100%;
    #height: auto !important;
    #height: 100%;
    position: relative;
    background: #eee;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

    #wrapper.login-page {
        background: #eee url('/img/coins.jpg') no-repeat 90% 50px;
    }

    #header {
        position: relative;
        height: 135px;
    }

        #user-container {
            position: absolute;
            top: 20px;
            right: 30px;
            max-width: 200px;
            text-align: right;
        }

        #user-container-mp {
            padding: 10px 15px;
            background: #FFF8B3;
        }

        #top-login-password {
            width: 15ex;
        }

        .balance {
            display: -moz-inline-box;
            display: inline-block;
            -display: block;
            -position: relative;
            border-top: 1px solid #595959;
            border-left: 1px solid #7f7f7f;
            border-right: 1px solid #7f7f7f;
            border-bottom: 1px solid white;
            vertical-align: middle;
        }

            .balance .digit {
                display: block;
                width: 13px;
                height: 25px;
                background: url('/img/digit.gif') no-repeat;
                float: left;
                color: black;
                line-height: 25px;
                text-align: center;
                font-weight: bold;
                text-shadow: 0 1px 0 #white;
            }

    #logo {
        margin: 25px 0 20px 30px;
    }

    #lang-switcher {
        position: absolute;
        top: 20px;
        right: 40px;
    }

#footer {
    display: block;
    font-style: normal;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #bed8e6;
    color: #518fb6;
}

    #footer p {
        margin: 10px 30px;
    }

    #helper {
        height: 80px;
    }

/* Common { */

.toggler {
    cursor: pointer;
}

a, a:visited {
    color: #3087DB;
    outline: 0;
}

img {
    vertical-align: middle;
}

hr {
    padding: 0;
    margin: 10px 0;
}

.pseudo-link {
    color: #3087DB;
    cursor: pointer;
    position: relative;
    top: -.1em;
    border-bottom: 1px dotted #3087DB;
    text-decoration: none;
}

    .pseudo-link ins {
        text-decoration: none;
        position: relative;
        top: .1em;
    }

form {
    padding: 0;
    margin: 0;
}

form.inline, form.inline * {
    display: inline;
}

    input, select, textarea {
        font-family: Arial, Tahoma, sans-serif;
        font-size: 1em;
    }

    input[type="text"], input[type="password"], textarea {
        background: white;
        border-top: 1px solid #888;
        border-bottom: 1px solid #ccc;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding: 3px;
        color: #555;
        width: 30ex;
    }

        input.search {
            background: white url('/img/srch-icn.gif') no-repeat 3px center !important;
            padding: 3px 3px 3px 23px;
        }

        input[disabled] {
            background: #e8e8e8;
            border-top: 1px solid #bbb;
        }

        textarea.textarea-large {
            width: 60ex;
            height: 8em;
        }

        input.with-help {
            padding-right: 20px;
        }

    /* small text fields */
    input.number, input.currency {
        width: 5ex;
    }

    input.url {
        width: 60ex;
    }

        input[type="text"].hint {
            color: #888;
        }

    input[type="text"].wrong, input[type="password"].wrong, textarea.wrong {
        background: #FFCBC2 !important;
        color: #77332D;
    }

    input[type="text"].required, input[type="password"].required, textarea.required {
        background: #fef8b8;
    }

    input[type="submit"], input[type="button"] {
        font-size: 1em;
    }

    form dl {
        padding: 0;
        margin: 0;
    }

        form dl dt {
            padding: 0;
            margin: 0 0 2px 0;
            font-weight: bold;
        }

        form dl dd {
            padding: 0;
            margin: 0 0 .8em 0;
        }

        form span.form-hint {
            font-size: 11px;
            font-style: italic;
            color: #777;
            max-width: 220px;
            display: inline-block;
        }

        form span.form-error, form .error {
            color: #c00;
        }

        form table tr th, table tr th {
            vertical-align: top;
            text-align: left;
        }

        form table tr td, table tr td {
            vertical-align: top;
        }

table, table * { /* IE6 strange table bug drop */
    font-size: 1em;
}

    table td {
        vertical-align: top;
    }

    table .td-min {
        width: 1px;
    }

.clebo {
    clear: both;
}

.hidden {
    display: none;
}

.invisible {
    visibility: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: Arial, Tahoma, sans-serif;
    padding: 0;
    margin-top: 0;
/*  font-weight: normal;*/
}

    h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 1.5em;
        margin-bottom: .8em;
        text-align: center;
        text-shadow: 0 1px 0 white;
        color: #5b5b5b;
    }

    h3 {
        font-size: 1.2em;
        margin-bottom: 5px;
        text-align: center;
        color: #5b8eb9;
    }

    h4 {
        font-size: 1em;
        margin-bottom: 5px;
    }

    h5 {
        font-size: .9em;
        margin-bottom: 5px;
    }

p, .p {
    padding: 0;
    margin: .6em 0;
}

    .p-last {
        margin: .6em 0 0 0;
    }

    .p-first {
        margin: 0 0 .6em 0;
    }

ul.data-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    ul.data-list li {
        padding: 0;
        margin: 3px 0;
    }

.shadowed {
    padding: 10px 15px;
    position: relative;
    background: white;
}

    .shadowed i.shd {position: absolute;font-size: 1px;display: block;}
    .shadowed i.shd.tr, .shadowed .shd.tl, .shadowed .shd.br, .shadowed .shd.bl {background: url('/img/shadow/shd-star.png') no-repeat;}
    .shadowed i.shd.tl {background-position: -3px 0;height: 5px;top: 0;left: -3px;width: 3px;}
    .shadowed i.shd.tr {background-position: -6px 0;height: 5px;top: 0;right: -3px;width: 3px;}
    .shadowed i.shd.bl {background-position: 0 -5px;height: 5px;bottom: -5px;left: -3px;width: 6px;}
    .shadowed i.shd.br {background-position: -6px -5px;height: 5px;bottom: -5px;right: -3px;width: 6px;}
    .shadowed i.shd.bottom {background: url('/img/shadow/b.png') repeat-x;left: 3px;right: 3px;background-position: 0 0;height: 5px;bottom: -5px;}
    .shadowed i.shd.left, .shadowed .shd.right {background: url('/img/shadow/lr.png') repeat-y;width: 3px;top: 5px;bottom: 0;}
    .shadowed i.shd.right {background-position: -3px 0;right: -3px;}
    .shadowed i.shd.left {background-position: 0 0;left: -3px;}

#main-notifications {
    padding: 4px 8px;
    background: #f2e685;
    color: #7d7623;
    font-size: 13px;
}

.important-block {
    display: inline-block;
    background: #ffb1b1;
    color: #870000;
    padding: 4px 10px;
}

/* } */

/* Authorization & Registration { */

.auth-container {
    background: white;
    padding: 10px 12px;
    width: 700px;
    text-align: left;
}

    .auth-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #999;
    }

    .auth-container table th {
        width: 200px;
        font-size: 13px;
    }

    .auth-container .table-error {
        min-width: 160px;
        display: inline-block;
    }

    .auth-container h3 span, .shadowed table h3 span {
        position: relative;
        background: white;
        padding: 0 5px;
        z-index: 1;
    }

    .auth-container h3 ins, .shadowed table h3 ins {
        display: block;
        border-top: 1px solid #ddd;
        position: relative;
        top: -.7em;
        z-index: 0;
    }

/* } */

/* Menus { */

#admin-mm {
    list-style-type: none;
    margin: 0;
    position: absolute;
    top: 23px;
    left: 150px;
}

    #admin-mm li {
        display: block;
        float: left;
        padding: 3px 10px;
        background: url('/img/mm-bg.gif') repeat-x 0 0;
        border-bottom: 1px solid #b4b2b2;
        border-top: 1px solid white;
        border-right: 1px solid #d8d8d8;
        border-left: 1px solid #eee;
    }

        #admin-mm li a {
            color: #666;
            text-decoration: none;
            text-shadow: 0 1px 0 #f7f7f7;
        }

    #admin-mm li.admin-mm-selected {
        background: #5e95c9 url('/img/mm-bg-selected.gif') repeat-x 0 0;
        position: relative;
        padding: 3px 11px 4px 11px;
        border: 0;
        border-top: 1px solid #ddefff;
        color: white;
    }

    #admin-mm li.admin-mm-selected a {
        color: white;
        text-shadow: none;
    }

#admin-sm {
    list-style-type: none;
    position: absolute;
    display: block;
    top: 1em;
    margin: 15px 0 0 0;
    left: 0;
    background: #5e95c9;
    white-space: nowrap;
    padding: 0 0 0 4px;
    font-size: 13px;
}

    #admin-sm li {
        display: inline;
        border: 0;
        background: none;
        text-shadow: none;
        position: relative;
        padding: 3px 1ex;
    }

        #admin-sm li a {
            color: #d4e9fd;
            text-shadow: none;
            text-decoration: underline;
            font-weight: normal !important;
        }

/* } */

#product-table td {
    width: 1px;
    white-space: nowrap;
}

#product-table th {
    text-align: left;
}

#product-table th, #product-table td {
    vertical-align: top;
    padding: 10px 10px 2px 10px;
}

    #product-table .country-node td {
        padding: 2px 10px;
    }

    #product-table .country-node th {
        padding: 2px 15px 2px 45px;
        font-weight: normal;
    }

      #product-table .operator-node td {
        padding: 2px 10px;
    }

    #product-table .operator-node th {
        padding: 2px 10px 2px 45px;
        font-weight: normal;
    }

    #product-table .disabled-country th {
        color: #888;
    }

#payout-schemes ul li {
    padding: 0 7px;
}

#payout-schemes ul li.selected {
    background: blue url('/img/selected-bg.gif') repeat-x 0 0;
    color: white;
}

.smaller-headers th {
    font-size: 11px;
}

#payout-schemes td {
    width: 1px;
    white-space: nowrap;
}

.selected {

}

.user-price {
    font-size: 10px;
    color: #999;
    position: relative;
    top: -7px;
}

.price_selector {
    cursor : pointer;
}

.price_selector span {
    background-color: white;
    margin-left:10px;
}

.collapse {
    cursor : pointer;
}

.price_reseter {
    cursor : pointer;
}

.half_selected_price span{
    background-color: red;
}

.full_selected_price span{
    background-color: silver;
}

/* Sites list { */

#sites_list, #product-list, #payment-schemes-list, .short_codes, .partner-balance-log, #tickets-list, #tickets-report, .sms-log-table, .data-table {
    margin: 20px 0 0 0;
}

    #sites_list th, #product-list th, .payment_scheme .main-headers th,
    #payment-schemes-list th, .short_codes th, .partner-balance-log th, #tickets-list th, #tickets-report th,
    #admin-list th, .sms-log-table th, .finance-log th, .data-table th {
        font-size: 13px;
        border-bottom: 1px solid #ddd;
        padding: 2px 10px;
        background: white;
    }

    .separated td, .separated th {
        background: url('/img/separate-bg.png');
    }

    tr.tr-hover td, tr.tr-hover th {
        background: #dee6ee;
    }

    .partner-balance-log td, .sms-log-table td, .finance-log td, .data-table td {
        padding: 3px 10px;
    }

    tr.closed td * {
        color: #999;
    }

    .small-products-list th {
        font-size: 11px !important;
    }

/* } */

.short_codes input[type="text"] {
    width: 10ex;
}

table.payment_scheme thead th {
    text-align: center;
    vertical-align: bottom;
}

table.payment_scheme thead tr.distribution th, table.payment_scheme tbody td {
    text-align: right;
}

table.payment_scheme tbody th {
    text-align: left;
}

/* Tickets */

#tickets-list .answered, #tickets-list .answered-by-another-admin {
    font-weight: bold;
}

.ticket-message h4, hr {
    margin: 0 !important;
    font-size: 12px;
}

.ticket-message {
    padding: 4px 8px;
}

    .ticket-message.initial {
        border: 1px solid #f2e16b;
        background: #FFF9B8;
    }

    .ticket-message.response {
        border: 1px solid #b9e496;
        background: #DDFCD8;
    }

    .ticket-message .attach-size {
        font-size: 11px;
        color: #888;
        margin-left: 10px;
    }



/* } */

.pager-container {
    line-height: normal;
    margin: 10px 0;
}

    .pager-container .pages {
        margin: 10px 0 0 0;
        clear: both;
    }

    .pager-container .page {
        display: block;
        padding: 2px 6px;
        float: left;
        margin: 0 6px 0 0;
    }

    .pager-container .page:hover {
        background: white;
    }

    .pager-container .page.current {
        background: #3087DB;
        color: white;
        font-weight: bold;
    }

    .pager-container .disabled {
        color: #999;
    }

    .pager-container .forward {
        margin-left: 15px;
    }

form.search ul.options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.allow-sort th {
    cursor: pointer;
    background-position: 5px center;
    background-repeat: no-repeat;
    padding-left: 15px;
}

    .allow-sort th.hover .table-th-sort-span {
        background-image: url("/img/sort/hover.gif") !important;
    }

.table-th-sort {
    font-style: italic;
    background-color: #faffad !important;
}

.table-th-sort-span {
    display: none;
}

.table-th-sort {
    background-image: url("/img/sort/asc.gif") !important;
}

.table-th-sort-rev {
    background-image: url("/img/sort/desc.gif") !important;
}

#search_widget-suggested-list {
    background: #FFF;
    padding: 5px 0;
}

#search_widget-suggested-list ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    #search_widget-suggested-list ul li {
        margin: 0;
        padding: 0 6px;
        cursor: pointer;
    }

    #search_widget-suggested-list ul li:hover {
        background: url('/img/selected-bg.gif') repeat-x;
        color: white;
    }


.el-px {
    font-size: 11px;
    color: #aaa;
}

.features {
    font-size: 13px;
}

table.features {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0;
    padding: 0;
}

    table.features tr {
        border: none;
        margin: 0;
        padding: 0;
    }

    table.features td {
        width: 25%;
        border: none;
        margin: 0;
        padding: 15px;
    }

    .features h3 {
        text-align: left;
        height: 3em;
    }

    .feature-list {
        line-height: normal;
    }

        .feature-list li {
            padding: 2px 0 2px 10px !important;
            background: url('/img/small-arr.gif') no-repeat 0 8px;
        }

    .mp-tabs {
        margin: 0 -30px 30px -30px;
        padding: 5px 30px;
    }

        .mp-tabs strong {
            background: white;
            border-top: 1px solid #ddd;
            border-right: 1px solid #ddd;
            border-left: 1px solid #ddd;
            padding: 5px 10px;
            position: relative;
            top: 4px;
        }

        .mp-tabs a {
            position: relative;
            top: 4px;
        }

    .mp-content {
        margin: -30px -30px 0 -30px;
        padding: 20px;
        background: white;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

/* Baloon */

.baloon {
    position: absolute;
    top: 170px;
    left: 10px;
    width: 212px;
    background: url('/img/baloon-top.png') no-repeat 0 16px;
    color: black;
    font-size: 11px;
    z-index: 20000;
}

    .baloon-arr {
        position: absolute;
        top: 0;
        width: 36px;
        height: 18px;
        background: url('/img/baloon-arr.png') no-repeat 0 0;
    }

        .baloon-arr.left {
            left: 10px;
        }

        .baloon-arr.right {
            right: 10px;
        }

    .baloon-bottom {
        background: url('/img/baloon-bot.png') no-repeat 0 0;
        position: absolute;
        top: 100%;
        height: 5px;
        width: 100%;
        left: 0;
    }

    .baloon-content {
        margin: 25px 10px 5px 10px;
        line-height: 1.3em;
    }

/* Colour buttons */

.colour-button {
    display: inline-block;
    height: 26px;
    height: 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    color: white;
    position: relative;
    -display: inline;
}

    .colour-button.blue {
        background: #83c0fe;
        color: white;
    }

    .colour-button.red {
        background: #fa6f19;
        color: white;
    }

    .colour-button.yellow {
        background: #fed922;
        color: black;
    }

        .colour-button.yellow span {
            text-shadow: 0 1px 0 #fff4b7;
        }

.colour-button ins {
    display: block;
    height: 26px;
    background: url('/img/button-r.png') no-repeat right 0;
    margin: 0 -1px -2px -1px;
    text-decoration: none;
}

    .colour-button span {
        display: block;
        height: 26px;
        background: url('/img/button-l.png') no-repeat 0 0;
        padding: 0 8px 0 10px;
        margin-right: 3px;
        line-height: 26px;
        text-shadow: 0 -1px 0 #333;
    }

.result {
    text-align: center;
    display: block;
}

.loading_indicator {
    display: none;
}

form.edit_survey textarea, form.edit_survey input[type=text] {
    width: 500px;
}

form.edit_survey textarea {
    height: 7em;
}

.partner_mail .header {
    cursor: pointer;
    background: #BBBBBB;
}

.partner_mail .body {
    display: none;
}
