﻿/* CSS Reset
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: 12px Arial;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*
   Макет
*/

html, body, #wrap {
    height: 100%;
}

    body > #wrap {
        height: auto;
        min-height: 100%;
    }

.main {
    padding-bottom: 100px;
}
/* отступ должен быть равен высоте футера */

.footer-container {
    position: relative;
    margin-top: -100px; /* отрицательное значение высоты футера */
    height: 100px;
    clear: both;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}
/* End hide from IE-mac */



a {
    color: #00ade6;
}

div.page-header-container {
    height: 61px;
    width: 100%;
    background: #231f20 url(../images/header-logo.png) left center no-repeat;
}

div.page-header {
    line-height: 61px;
    padding-right: 20px;
    text-align: right;
}

    div.page-header a {
        color: white;
    }

div.main {
    padding: 20px 20px 120px 20px;
}

div.menu-container {
    background-color: #f8f8f8;
    border: 1px solid #f2f2f2;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    height: 31px;
    margin-bottom: 10px;
}

ul.menu li {
    float: left;
    line-height: 31px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: bold;
}

    ul.menu li a {
        color: black;
        font-size: 14px;
        font-weight: bold;
        text-decoration: underline;
    }

    ul.menu li.active {
        margin-top: -1px;
        margin-right: 3px;
        color: white;
        text-decoration: none;
        background-color: #00ade6;
        border: 1px solid #009ac8;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    }

        ul.menu li.active a {
            color: white;
            text-decoration: none;
        }

div.footer-container {
    height: 100px;
    background: #f8f8f8 url(../images/footer-bg-top.png) left top repeat-x;
}

div.filter-container dt {
    font-weight: bold;
    padding: 0 10px;
}

    div.filter-container dt:after {
        content: ":";
    }

div.filter-container dt,
div.filter-container dd {
    float: left;
    line-height: 55px;
}

div.filter-container img,
div.filter-container input,
div.filter-container button {
    vertical-align: middle;
}

    div.filter-container img.ui-datepicker-trigger {
        margin: 0 5px;
    }

div.footer {
    margin-left: 20px;
    background: url(../images/footer-logo.png) left center no-repeat;
    padding-left: 75px;
    height: 100px;
}

    div.footer p {
        font-size: 10px;
        line-height: 1.7em;
    }

div.footer-text-container {
    height: 100px;
    display: table-cell;
    vertical-align: middle;
}

div.buttons {
    text-align: center;
}

button, a.button {
    height: 29px;
    color: white;
    border: 1px solid #009ac8;
    background-color: #00b9f1;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 0 10px;
    cursor: pointer;
}

    button.disabled {
        border: 1px solid #d6d6d6 !important;
        background-color: #d6d6d6 !important;
        cursor: none;
    }

    button.button-ok,
    button.button-cancel {
        width: 75px;
    }

a.button {
    display: inline-block;
    height: 29px;
    line-height: 29px;
    text-decoration: none;
}

button.square {
    width: 29px;
}

button.big {
    margin: -4px 0 0 7px;
    padding: 0;
}

    button.big .icon,
    button.big .text {
        height: 25px;
        float: left;
        line-height: 25px;
        text-align: center;
    }

    button.big .icon {
        width: 29px;
        border-right: 1px solid #009ac8;
    }

    button.big .text {
        padding: 0 15px;
    }

button.green {
    border: 1px solid #40be00;
    background-color: #68d033;
}

button.big.green .icon {
    border-right: 1px solid #40be00;
}

button.grey {
    border: 1px solid #7c8081;
    background-color: #c1c1c1;
    cursor: pointer;
}

button.yellow {
    border: 1px solid #e3a100;
    background-color: #f7b71c;
}

button.big.yellow .icon {
    border-right: 1px solid #e3a100;
}

button.red, a.button.red {
    border: 1px solid #ce0000;
    background-color: #f61d1d;
}

button.big.red .icon {
    border-right: 1px solid #ce0000;
}

button.gray, a.button.gray {
    border: 1px solid #e2e2e2;
    background-color: #f8f8f8;
}

    button.big.gray .icon, a.button.gray .icon {
        border-right: 1px solid #e2e2e2;
    }

div.download {
    display: inline;
}

button.download {
    width: 22px;
    height: 22px;
    margin-left: 10px;
    padding: 0;
    cursor: pointer;
    vertical-align: top;
    background-color: #f8f8f8;
    border-color: #f8f8f8;
}

button.disabled {
    border: 1px solid #e2e2e2;
    background-color: #e2e2e2;
    cursor: default;
}

/*
   Фильтр
*/

div.filter-container {
    height: 55px;
    background-color: #f8f8f8;
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    margin-bottom: 8px;
}

    div.filter-container input.date {
        width: 65px;
        margin-left: 2px;
    }

/*
   Таблица
*/

section.user-campaigns,
section.campaigns {
    min-width: 1100px;
    word-wrap: break-word;
}

table.fancy {
    width: 100%;
    border-collapse: collapse;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    table-layout: fixed;
}

    table.fancy th,
    table.fancy td {
        padding: 20px 10px;
        border: 1px solid white;
        text-align: center;
    }

    table.fancy th {
        font-weight: bold;
        background-color: #ededed;
        border: 1px solid #e2e2e2;
    }

        table.fancy th a {
            font-weight: bold;
            color: black;
            text-decoration: none;
        }

        table.fancy th.chbox {
            width: 20px;
        }

        table.fancy th.kievstarid {
            width: 120px;
        }

div.table-container {
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 20px;
}

table.fancy tr.odd {
    background-color: #ffffff;
}

table.fancy tr.even {
    background-color: #f5f5f5;
}

table.fancy td.count {
    text-align: right;
}

table.fancy tbody tr:hover {
    background-color: #e7f1f4;
}

table.fancy tfoot td {
    font-weight: bold;
}

form.sign-in .editor-field, .error-field {
    text-align: center;
}

form.sign-in .error-field {
    color: red;
    height: 25px;
    padding-top: 5px;
}

    form.sign-in .error-field .field-validation-error {
        font: 16px Arial;
    }

form.sign-in input {
    width: 250px;
    height: 55px;
    line-height: 53px;
    font-size: 18px;
    color: #00b9f1;
    text-align: center;
}

.pager {
    float: left;
}

    .pager span {
        padding-right: 5px;
    }

        .pager span,
        .pager span a {
            font-weight: bold;
        }

            .pager span.current:after,
            .pager span a:after {
                content: ",";
            }

h2 {
    padding: 15px 10px 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ededed;
    font-weight: bold;
    font-size: 12pt;
}

h3 {
    padding: 15px 10px;
    font-weight: bold;
}

h4 {
    margin-bottom: 20px;
    border-bottom: 1px solid #EDEDED;
    text-align: center;
    padding-bottom: 10px;
    font-size: 14pt;
}
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
    font-weight: bold;
}

.validation-summary-big-errors > span {
    font-weight: bold;
    font-size: 14px;
    margin-left: 180px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
    font-weight: bold;
}

.validation-summary-big-errors > span {
    font-weight: bold;
    font-size: 16px;
    margin-left: 180px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

.campaign-profile .main {
    border-bottom: 1px solid #ededed;
}

    .campaign-profile .main dt {
        width: 170px;
        font-weight: bold;
        float: left;
    }

        .campaign-profile .main dt:after {
            content: ":";
        }

    .campaign-profile .main dt {
        line-height: 1.8em;
    }

    .campaign-profile .main dd {
        margin-left: 170px;
        margin-bottom: 8px;
        line-height: 1.8em;
    }



input, textarea, select {
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 5px;
}

    input.plain {
        border: none;
        border-radius: 0;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        padding: 0;
    }

form.campaign dt, .campaign-display dt {
    float: left;
    width: 180px;
}

    form.campaign dt label, .campaign-display dt label {
        font-weight: bold;
    }

form.campaign dd, .campaign-display dd {
    margin-bottom: 20px;
}

    form.campaign dd input,
    form.campaign dd textarea,
    .campaign-display dd input,
    .campaign-display dd textarea {
        width: 450px;
    }

        form.campaign dd input.file-name,
        .campaign-display dd input.file-name {
            width: 300px;
        }

        form.campaign dd input.file-error,
        .campaign-display dd input.file-error {
            width: 300px;
            color: #f62b2b;
        }

    form.campaign dd.field-wrapper div.wrapper,
    .campaign-display dd.field-wrapper div.wrapper {
        display: inline-block;
    }

    form.campaign dd.field-wrapper.files input.file-error,
    form.campaign dd.field-wrapper.files input.file-name,
    .campaign-display dd.field-wrapper.files input.file-error,
    .campaign-display dd.field-wrapper.files input.file-name {
        width: 380px;
    }

form.campaign div.attachments-wrapper ul.attachments,
.campaign-display div.attachments-wrapper ul.attachments {
    padding-bottom: 10px;
}

form.campaign dd input,
.campaign-display dd input {
    height: 23px;
}

form.campaign div.attachments-wrapper,
.campaign-display div.attachments-wrapper {
    display: inline-block;
}

form.campaign dd.field-wrapper p.info,
.campaign-display dd.field-wrapper p.info {
    color: gray;
}

form.campaign input.file,
.campaign-display input.file {
    width: 300px;
}

.campaign-display h3 {
    padding: 15px 0;
    color: #68d033;
}

.ui-widget-content {
    border: 1px solid #f8f8f8;
    background-color: #fcfcfc;
}

.ui-dialog-titlebar {
    display: none;
}

.recipients .fields dt {
    font-weight: bold;
    width: 110px;
    float: left;
}

.recipients dd.field-wrapper {
    margin-bottom: 15px;
}

.recipients .total-wrapper {
    margin-bottom: 10px;
    border-top: 1px solid;
    padding-top: 5px;
}

.recipients .error-wrapper {
    margin-bottom: 10px;
    border-top: 0px solid;
    padding-top: 5px;
}

.recipients .minage {
    margin: 5px;
}

.recipients .maxage {
    margin: 5px;
}

.launch-dialog .fields dt {
    font-weight: bold;
    width: 105px;
    float: left;
}

.launch-dialog dd.field-wrapper {
    margin-bottom: 15px;
    margin-left: 110px;
}

div.small-title {
    font-size: 10px;
    padding-left: 3px;
}

.launch-dialog .total-wrapper {
    margin-bottom: 10px;
    border-top: 1px solid;
    padding-top: 5px;
}

.launch-dialog .error-wrapper {
    margin-bottom: 10px;
    border-top: 1px solid;
    padding-top: 5px;
}

.launch-error-dialog .content {
    text-align: center;
    margin-bottom: 15px;
}

div.launch-dialog img,
div.launch-dialog input,
div.launch-dialog button {
    vertical-align: middle;
}

img.button {
    cursor: pointer;
}

form h3 {
    padding: 15px 0;
    color: #68d033;
}


div.action-wrapper ul {
    white-space: nowrap;
}

    div.action-wrapper ul li {
        margin-bottom: 2px;
        margin-right: 10px;
        float: left;
    }


.recipients.dialog input {
    width: 218px;
}

.recipients.dialog select {
    width: 230px;
}

    .recipients.dialog select.short {
        width: 87px;
        margin-left: 8px;
    }

    .recipients.dialog select.mini {
        width: 72px;
        margin: 5px;
    }

.recipients.dialog input.short {
    width: auto;
}

.recipients.dialog table td.short {
    width: 20px;
}

.recipients.dialog td.add-wrapper img {
    margin-left: 8px;
}


.table-total {
    float: right;
}


.campaign-state.confirming {
    color: #ffa70e;
}

.campaign-state.confirmed {
    color: #68d033;
}

.campaign-state.notconfirmed {
    color: #f62b2b;
}

.clear {
    clear: both;
}

.choice {
    font-weight: bold;
}

.stoplists-link {
    font-weight: bold;
}

.add-code {
    text-decoration: none;
    border-bottom: 1px dashed #00ADE6;
}

.launch-dialog .date.range table {
    width: 100%;
}

div.input-imitator {
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    padding: 5px;
    margin: 2px;
}

input.embedded {
    margin: 0;
    padding: 0;
    border: none;
    width: 80%;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -50px; /* half width of the spinner gif */
    margin-top: -50px; /* half height of the spinner gif */
    text-align: center;
    z-index: 1234;
    overflow: auto;
    width: 100px; /* width of the spinner gif */
    height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
}

div.recipients img {
    vertical-align: middle;
    margin-left: 5px;
}

.swfupload {
    vertical-align: top;
}

.auth_data {
    display: none;
}

ul.attachments {
    display: inline-block;
}

.attachments-wrapper ul.attachments {
    width: 450px;
}

ul.attachments li span {
    padding-right: 10px;
    vertical-align: middle;
}

.pushRight {
    margin-right: 100px!important;
}

h3.custom-alert-header {
    text-align: center;
}

div.custom-alert-message {
    color: red;
    text-align: center;
    margin-top: 5px;
}

.scrollable {
    height: 72px;
    overflow: auto;
    width: 340px;
}

table.blue-table {
    border-collapse: collapse;
}

    table.blue-table th {
        background-color: #8DB3E4;
        font-weight: bold;
        color: black;
    }

    table.blue-table td {
        border: 1px solid #8DB3E4;
        padding: 0 5px;
    }

    table.blue-table tr:hover td {
        background: #dbdbdb;
    }

    table.blue-table tr:nth-child(odd) {
        background-color: #ecf4ff;
    }

    table.blue-table tr:nth-child(even) {
        background-color: #fff;
    }

input.blue-button {
    background: #8DB3E4;
    margin-bottom: 10px;
}

div.account-quit-link {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}

.ui-autocomplete.ui-menu {
    border: 1px solid #a5a5a5;
}

.stoplists table td {
    text-align: left;
}

.importResults {
    width: 350px;
    margin: 0 auto;
}

    .importResults dt {
        float: left;
    }

    .importResults dd {
        text-align: right;
    }

.importAddedCount {
    color: green;
}

.importDuplicatesCount,
.importIncorrectCount {
    color: red;
}

.errors-header {
    margin: 10px 0;
}

#stopListImportButtonContainer {
    display: inline-block;
    position: relative;
    height: 29px;
}

    #stopListImportButtonContainer #importContacts {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        position: relative;
        width: 150px;
        height: 29px;
    }

    #stopListImportButtonContainer #file {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        opacity: 0;
        filter: alpha(opacity: 0);
        -moz-opacity: 0;
        text-align: right;
        width: 140px;
        height: 29px;
        cursor: pointer;
        border-width: 0;
        padding: 0;
        margin: 0;
    }

ul.stoplists-controls {
    margin-bottom: 10px;
}

    ul.stoplists-controls li {
        display: inline-block;
    }

#newCampaignButtonContainer {
    padding-top: 11px;
    float: left;
}

.title-campaign-profile {
    padding-left: 180px;
}


.link {
    color: #00ade6;
    cursor: pointer;
}

    .link:visited {
        text-decoration: none;
        color: #293d6b;
    }

    .link:hover {
        text-decoration: underline;
        color: #293d6b;
    }
