body {
    margin: 0;
    padding: 0;
    color: #555;
    font: normal 14px 'Roboto', Arial, Helvetica, sans-serif;
    /*background: #EFEFEF;*/
    background: #131D15 url('../assets/bg-15.jpg') no-repeat fixed;
    background-size: cover;
}

body.is-soc-master {
    background: #131D15 url('../assets/bg-soc-master-5.jpg') no-repeat bottom fixed;
    background-size: cover;
}

body.is-soc-vert {
    background: #131D15 url('../assets-soc-vert/bg-1.jpg') no-repeat center fixed;
    background-size: cover;
}

body.is-soc-sender {
    background: #131D15 url('../assets-soc-sender/bg.jpg?2') no-repeat center fixed;
    background-size: cover;
}
body.is-client-master, body.is-invoice-site {
    background: #f1e4d5;
}

ul {
    list-style-type: square;
}

input[type="text"] {
    width: 177px;
}

#page {
    margin-top: 20px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
    /*box-shadow: 0px 0px 62px rgba(100, 100, 255, 0.5);*/
    /*box-shadow: 0px 0px 62px rgba(255, 255, 255, 0.5);*/
    /*box-shadow: 0px 0px 62px rgba(77, 242, 32, 0.5);*/
    /*border: 1px solid #e0e0e0;*/
}

#header {
    margin: 0;
    padding: 0;
    height: 108px;
}

#content {
    padding: 20px;
}

#sidebar {
    padding: 20px 20px 20px 0;
}

#footer {
    padding: 10px;
    margin: 10px 20px;
    font-size: 0.8em;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

#logo {
    display: inline-block;
    *display: inline;
    zoom: 1;
    padding: 25px 0 25px 20px;
    vertical-align: top;
}

#logo img {
    display: block;
    width: 300px;
    height: 57px;
}

#logo.logo-socmaster {
    padding-top: 7px;
}

#logo.logo-socmaster img {
    height: 98px;
}

#logo.logo-socvert {
    padding-top: 28px;
}

#logo.logo-socvert img {
    height: 60px;
    width: 245px
}

#logo.logo-socsender {
    padding-top: 25px;
    padding-left: 30px;
}

#logo.logo-socsender img {
    height: 68px;
    width: 218px
}

.header-center {
    display: inline-block;
    *display: inline;
    zoom: 1;
    float: right;
    vertical-align: top;
    padding: 20px;
    width: 240px;
}

.header-right {
    display: inline-block;
    *display: inline;
    zoom: 1;
    float: right;
    vertical-align: top;
    padding: 34px 20px 20px 20px;
    width: 245px;
}

#mainmenu {
    /*background: #343434;*/
    /*background: #4D4E4D;*/
    background: #494949;
    clear: both;
}

#mainmenu ul {
    min-height: 44px;
    padding: 0 20px;
    margin: 0;
}

#mainmenu ul li {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

#mainmenu ul li a {
    color: #ffffff;
    font-family: 'Roboto', 'Arial', sans-serif;
    text-transform: uppercase;
    background-color: transparent;
    font-size: 12px;
    text-decoration: none;
    padding: 15px 10px;
    height: 14px;
    display: inline-block;
    *display: inline;
    zoom: 1;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a {
    color: #f3f3f3;
    background-color: #707070;
    text-decoration: none;
}

.is-client-master #mainmenu, .is-invoice-site #mainmenu {
    background: #ff8d00;
}

.is-client-master #mainmenu ul, .is-invoice-site #mainmenu ul {
    min-height: 54px;
}

.is-client-master #mainmenu ul li a, .is-invoice-site #mainmenu ul li a {
    padding: 20px 10px;
}

.is-client-master #mainmenu ul li a:hover, .is-client-master #mainmenu ul li.active a, .is-invoice-site #mainmenu ul li a:hover, .is-invoice-site #mainmenu ul li.active a {
    background: #ff5e00;
}

div.flash-error, div.flash-notice, div.flash-success {
    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
}

div.flash-error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

div.flash-notice {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324;
}

div.flash-success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880;
}

div.flash-error a, div.flash-error h3 {
    color: #8a1f11;
}

div.flash-notice a {
    color: #514721;
}

div.flash-success a {
    color: #264409;
}

div.form .rememberMe label {
    display: inline;
}

div.view {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #C9E0ED;
}

div.breadcrumbs {
    font-size: 0.9em;
    padding: 5px 20px;
}

div.breadcrumbs span {
    font-weight: bold;
}

div.search-form {
    padding: 10px;
    margin: 10px 0;
    background: #eee;
}

.portlet {

}

.portlet-decoration {
    padding: 3px 8px;
    background: #B7D6E7;
    border-left: 5px solid #6FACCF;
}

.portlet-title {
    font-size: 12px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #298dcd;
}

.portlet-content {
    font-size: 0.9em;
    margin: 0 0 15px 0;
    padding: 5px 8px;
    background: #EFFDFF;
}

.portlet-content ul {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.portlet-content li {
    padding: 2px 0 4px 0;
}

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

.operations li {
    padding-bottom: 2px;
}

.operations li a {
    font: bold 12px Arial;
    color: #0066A4;
    display: block;
    padding: 2px 0 2px 8px;
    line-height: 15px;
    text-decoration: none;
}

.operations li a:visited {
    color: #0066A4;
}

.operations li a:hover {
    background: #80CFFF;
}

button,
input,
textarea,
select {
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: inherit;
    padding: 6px;
}

button,
input,
select {
    font-size: 15px;
    line-height: normal;
}

textarea {
    font-size: 100%;
    overflow: auto;
    vertical-align: top;
}

.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.yiiPager a {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.428571429;
    font-weight: normal;
    color: black;
    background-color: #e6e6e6;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    /*box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);*/
    cursor: pointer;
}

.button:hover,
.button:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
.yiiPager a:hover,
.yiiPager a:focus {
    color: #5e5e5e;
    background-color: #ebebeb;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active,
.yiiPager a:active,
.yiiPager .selected a {
    color: #757575;
    background-color: #e1e1e1;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: linear-gradient(top, #ebebeb, #e1e1e1);
    /*box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;*/
    border-color: transparent;
}

.button:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled {
    color: #757575;
    background-color: #e1e1e1;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: linear-gradient(top, #ebebeb, #e1e1e1);
    cursor: default;
    /*box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;*/
    border-color: transparent;
}

.button {
    display: inline-block;
    *display: inline;
    zoom: 1;
    text-decoration: none;
}

.yiiPager a {
    text-decoration: none;
}

.yiiPager {
    margin: 0;
    padding: 0;
}

.yiiPager li {
    padding-left: 5px;
}

.yiiPager, .yiiPager li {
    list-style: none;
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.yiiPager .hidden {
    display: none;
}

.checkbox input[type=checkbox], .checkbox input[type=radio] {
    float: left;
    margin: 0 6px 0 0;
}

div.form .row.checkbox {
    margin-top: 10px;
    margin-bottom: 10px;
}

.checkbox label {
    cursor: pointer;
}

.checkbox-list input[type=checkbox] {
    clear: both;
    float: left;
    margin: 4px 6px 0 0;
}

div.form .checkbox-list label {
    font-weight: normal;
    margin-bottom: 3px;
    font-size: 14px;
}

div.form input[type=text], div.form input[type=password] {
    width: 250px;
}

div.form textarea {
    width: 350px;
    min-height: 50px;
}

div.form .oplata-radio label {
    width: 200px;
    margin-bottom: 20px;
}

div.form .oplata-radio .oplata-radio-label-inner, .oplata-radio input[type=radio] {
    vertical-align: top;
    display: inline-block;
    *display: inline;
    zoom: 1;
}

div.form .oplata-radio .oplata-radio-label-inner {
    margin-left: 10px;
}

div.form .oplata-radio label {
    padding: 10px 10px 8px 10px;
    margin: 0 20px 20px 0;
    border: 1px dotted #bbbbbb;
    width: 650px;
    cursor: pointer;
}

div.form .oplata-radio .oplata-radio-title {
    font-size: 18px;
}

div.form .oplata-radio .oplata-radio-description {
    font-size: 14px;
    font-weight: normal;
}

div.form .oplata-radio-2 .oplata-radio-2-label-inner, .oplata-radio-2 input[type=radio] {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
}

div.form .oplata-radio-2 .oplata-radio-2-label-inner {
    margin-left: 10px;
}

div.form .oplata-radio-2 label {
    cursor: pointer;
    margin-bottom: 5px;
}

div.form .oplata-radio-2 .oplata-radio-2-title {
    font-size: 18px;
}

div.form .oplata-radio-2 .oplata-radio-2-description {
    font-size: 14px;
    font-weight: normal;
}

.tariff-item {
    width: 280px;
    border: 1px dotted #494949;
    padding: 10px;
    margin-right: 30px;
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.tariff-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tariff-item-price {
    font-size: 18px;
}

.tariff-item-description {
    margin-bottom: 10px;
}

.tariff-item-select {
    margin-top: 10px;
}

input.oplata-submit, .big-button, input.big-button {
    padding: 10px 20px;
    font-size: 18px;
}

.oplata-select-other-tariff {
    margin-top: 20px;
    margin-bottom: 30px;
}

table a {
    color: #666;
    font-weight: normal;
    text-decoration: underline;
}

table a:active,
table a:hover {
    color: #bd5a35;
}

table {
    color: #666;
    background: #eaebec;
    margin: 20px 0 0 0;
}

table th {
    padding: 10px 10px;
    border-left: 1px solid #e0e0e0;
    background: #494949;
    font-weight: normal;
    color: white;
}

.is-client-master table th, .is-invoice-site table th {
    background: #ff8d00;
}

table th a {
    color: white !important;
}

table th:first-child {
    text-align: left;
    padding-left: 20px;
    border-left: 0;
}

table td:first-child {
    text-align: left;
    padding-left: 20px;
    border-left: 0;
}

table td {
    padding: 18px 10px;;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    word-wrap: break-word;
    background: #fdfdfd;
}

table tr.even td {
    background: #f9f9f9;
}

/*table tr.deny-on td {
    background: #FDEFF1;
    background: -webkit-gradient(linear, left top, left bottom, from(#FDEFF1), to(#FAE9EB));
    background: -moz-linear-gradient(top, #FDEFF1, #FAE9EB);
}*/

table tr.deny-off td {
    background: #EDFFEA;
}

/*table tr:last-child td {
    border-bottom: 0;
}*/

/*table tr:hover td {
    background: #f2f2f2;
}

table tr:hover + tr td
{
    background: #f2f2f2;
}*/

table input, table input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

table input[type="checkbox"] {
    width: auto;
}

table .button-column {
    min-width: 42px;
}

.grid-view .pager {
    margin-top: 35px;
}

.request-info-left, .request-info-right {
    width: 350px;
    margin: 20px;
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.control-index {
    list-style: square;
}

.control-index li {
    font-size: 18px;
    line-height: 24px;
}

.control-right-link {
    font-size: 16px;
    font-weight: normal;
    color: #9F9F9F !important;
    float: right;
}

#page div.wide.form .row {
    display: table;
}

#page div.wide.form label {
    width: 150px;
    float: none;
    display: table-cell;
    vertical-align: middle;
    padding-right: 20px;
    margin: 0;
}

#page div.wide.form .radio-list input {
    display: inline-block;
    vertical-align: top;
    margin-right: 2px;
}

#page div.wide.form .radio-list label {
    display: inline-block;
    padding: 0;
    width: auto;
}

#page div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage {
    padding-left: 170px;
}

.isProcessed-1 {
    opacity: 0.5;
}

/*.requests-grid td {
    border-bottom: 1px solid #F2F2F2;
    border-left: 1px solid #F2F2F2;
}*/

/*td.requests-border-bottom {
    border-bottom: 1px solid #E0E0E0;
}*/

.requests-grid .more-button {
    margin-top: 5px;
}

.requests-grid .already-sent, .groups-grid .already-sent {
    opacity: 0.5;
}

.requests-grid .request-actions {
    min-width: 114px;
}

/*#requests-grid_c1 {
    width: 400px;
}*/

.requests-grid .request-user {
    width: 380px;
}

.groups-grid .request-user {
    width: 600px;
}

.requests-grid .request-user-avatar, .groups-grid .request-user-avatar {
    float: left;
    width: 70px;
    height: 70px;
    background-size: cover;
    margin-right: 20px;
}

.requests-grid .request-source, .requests-grid .request-activity {
    margin-top: 10px;
    font-size: 15px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    /*float: left;
    min-width: 260px;*/
}

.requests-grid .request-activity {
    /*min-width: 150px;*/
}

.requests-grid .request-user-name, .groups-grid .request-user-name {
    float: left;
    text-decoration: underline;
    margin-top: 23px;
    font-size: 18px;
}

.groups-grid .request-user-name {
    width: 510px;
}

.requests-visited-pages {
    list-style: square;
    margin: 0 0 0 17px;
    padding: 0;
}

.requests-visited-pages li {
    padding-top: 5px;
}

.request-comment-column, .user-comment-column {
    padding: 0;
    width: 200px;
    height: 100%;
}

.request-info-source {
    max-width: 206px;
}

/*
tr.even .request-comment-column textarea {
    background: #F9F9F9;
}

tr:hover .request-comment-column textarea {
    background: #F2F2F2;
}*/

.request-comment-column textarea, .user-comment-column textarea {
    width: 280px;
    border: none;
    border-radius: 0;
    height: 100%;
    padding: 10px;
    font-size: 13px;
    resize: vertical;
    background: transparent;
}

.user-comment-column textarea {
    min-height: 70px;
}

div.form .oplata-money input[type=text] {
    font-size: 22px;
    width: 80px;
}

.oplata-money h3 {
    margin-bottom: 10px;
}

.oplata-money-after {
    font-size: 22px;
    margin-left: 10px;
}

.connect-code {
    width: 500px;
    height: 90px;
    resize: none;
}

.connect-money-checkbox {
    display: block;
    margin: 10px 0 20px 10px;
}

.connect-money-checkbox input {
    display: inline-block;
    vertical-align: top;
    width: 30px;
    height: 30px;
}

.connect-money-checkbox .connect-money-desc-p {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    cursor: pointer;
}

.connect-money-checkbox .connect-money-desc-1 {
    font-size: 20px;
}

div.form input[type="text"].partner-url {
    width: 280px;
}

.back-link {
    font-size: 16px;
    color: #9F9F9F !important;
    display: inline-block;
    padding-bottom: 10px;
}

.summary {
    float: right;
    margin-top: 35px;
}

/** Messenger **/

.messenger-container {
    width: 100%;
    background: #FDFDFD;
    border: 1px solid #E0E0E0;
    margin: 0 -1px;
    height: 602px;
}

@media (min-height: 700px) {
    .messenger-container {
        height: 802px;
    }
}

.messenger-top-right {
    float: right;
}

.messenger-settings {
    margin-top: 5px;
}

.messenger-settings label {
    cursor: pointer;
}

.messenger-settings label input[type="checkbox"] {
    vertical-align: bottom;
}

.messenger-container tr:last-child td {
    border-bottom: 0;
}

.messenger-container table {
    margin: 0;
}

.messenger-container td, .messenger-container td:first-child, .messenger-container td:last-child {
    padding: 0;
    vertical-align: top;
}

.messenger-left, .messenger-right {
    vertical-align: top;
    box-sizing: border-box;
    height: 600px;
    max-height: 602px;
}

.messenger-left {
    width: 40%;
    overflow: auto;
}

.messenger-right {
    width: 60%;
}

.messenger-right table {
    height: 100%;
}

.messenger-right-info {
    height: 91px;
}

tr.messenger-right-info td, tr.messenger-right-info td:first-child, tr.messenger-right-info td:last-child {
    border-bottom: 1px solid #E0E0E0;
    padding: 10px;
}

.messenger-right-messages, .messenger-right-messages-td {
    height: 100%;
}

.messenger-message-item td, .messenger-message-item td:first-child, .messenger-message-item td:last-child {
    padding: 10px;
}

.messenger-messages-list tr.messenger-message-item:first-child td, .messenger-messages-list tr.messenger-message-item:first-child td:first-child, .messenger-messages-list tr.messenger-message-item:first-child td:last-child {
    padding-top: 20px;
}

.messenger-messages-list tr.messenger-message-item:last-child td, .messenger-messages-list tr.messenger-message-item:last-child td:first-child, .messenger-messages-list tr.messenger-message-item:last-child td:last-child {
    padding-bottom: 20px;
}

.messenger-right-messages td.messenger-message-item-left, .messenger-right-messages td.messenger-message-item-left:first-child, .messenger-right-messages td.messenger-message-item-left:last-child {
    padding-left: 20px;
}

.messenger-right-write {
    height: 100px;
    background-color: #F2F2F2;
}

.messenger-right-write td, .messenger-right-write td:first-child, .messenger-right-write td:last-child {
    padding: 10px;
}

.messenger-dialog-item {
    padding: 10px 10px 10px 10px;
    border-bottom: 1px solid #E0E0E0;
    cursor: pointer;
}

.messenger-dialog-item:last-child {
    border-bottom: none;
}

.messenger-dialog-item:hover {
    background-color: #f6f6f6;
    /*color: #f3f3f3;*/
}

.messenger-dialog-item.active {
    /*background: #F5F5F5;
    background: #494949;
    background: #707070;
    background: #EDF1F5;*/
    background-color: #f3f3f3;
    /*color: #f3f3f3;*/
    color: #000000;
}

.messenger-dialog-item-out {
    background: url('/assets/out.png') 360px 13px no-repeat;
}

.messenger-dialog-item-inc {
    background: url('/assets/inc.png') 360px 13px no-repeat;
}

.messenger-dialog-avatar {
    float: left;
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 10px;
}

.messenger-dialog-item-peerName {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 10px;
    height: 18px;
}

.messenger-dialog-item-lastMessageBody {
    height: 40px;
    line-height: 20px;
    font-size: 14px;
    width: 282px;
    word-wrap: break-word;
}

.messenger-dialog-item-peerName, .messenger-dialog-item-lastMessageBody {
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messenger-dialog-item-clear {
    clear: both;
}

.messenger-no-dialog {
    padding: 10px;
    font-size: 16px;
}

.messenger-right-info .setComment {
    float: right;
    margin: -10px -10px -10px 0;
    width: 280px;
    border: none;
    border-left: 1px solid #E0E0E0;
    border-radius: 0;
    height: 70px;
    padding: 10px;
    font-size: 13px;
    resize: vertical;
    background: rgba(0, 0, 0, 0);
}

.messenger-dialog-view-peerName {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 10px;
    height: 18px;
}

.messenger-right-write-left, .messenger-right-write-right, .messenger-right-write-left img, .messenger-right-write-right img {
    width: 70px;
    height: 70px;
}

.messenger-right-write-left img, .messenger-right-write-right img {
    border-radius: 3px;
}

.messenger-right-write td {
    border-left: none;
    vertical-align: top;
}

.messenger-right-write td input {
    width: auto;
}

.messenger-right-write-button {
    width: 88px;
    float: left;
    margin-right: 10px;
}

.messenger-right-templates {
    text-align: left;
    line-height: 32px;
}

.messenger-right-write-center textarea {
    width: 100%;
    box-sizing: border-box;
    height: 75px;
    margin-bottom: 10px;
}

.messenger-message-item td {
    border-left: none;
    vertical-align: top;
}

.messenger-message-item-left, .messenger-message-item-left img {
    width: 50px;
    height: 50px;
}

.messenger-message-item img {
    border-radius: 3px;
}

.messenger-message-item-author {
    margin-bottom: 4px;
}

.messenger-message-item-author a {
    color: #2B587A;
    font-weight: bold;
    text-decoration: none;
}

.messenger-message-item-center {
    color: black;
}

.messenger-message-item-body {
    width: 415px;
    word-wrap: break-word;
}

.messenger-message-item-unread td, .messenger-dialog-item-unread {
    background-color: #EDF1F5;
}

.messenger-right-write td {
    background-color: #F2F2F2;
}

.messenger-message-item-right {
    width: 45px;
    font-size: 11px;
    line-height: 16px;
    color: #999;
}

.messenger-messages-list-scroll {
    overflow: auto;
    height: 100%;
    position: relative;
}

.messenger-left-dialog-list-scroll {
    overflow: auto;
    /*height: 100%;*/
    height: 600px;
    position: relative;
}

@media (min-height: 700px) {
    .messenger-left-dialog-list-scroll {
        height: 800px;
    }
}

.messenger-message-item-error {
    color: #CC0202;
}

.messenger-pages {
    margin-top: 30px;
}

.messenger-pages button {
    margin-left: 5px;
}

.messenger-pages .selected {
    color: #757575;
    background-color: #e1e1e1;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
    background-image: linear-gradient(top, #ebebeb, #e1e1e1);
    /*box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;*/
    border-color: transparent;
}

#accounts-grid .save-table-button button {
    min-width: 90px;
}

#accounts-grid .account-username-and-password {
    width: 200px;
}

#accounts-grid .account-username-and-password input {
    display: block;
}

#accounts-grid .account-username-and-password .account-username {
    margin-bottom: 5px;
}

#accounts-grid .account-project {
    margin-top: 5px;
}

#accounts-grid .account-id {
    width: 25px;
}

#accounts-grid .account-name {
    width: 150px;
}

#accounts-grid .account-isActive {
    width: 55px;
}

#accounts-grid .account-actions {
    width: 90px;
}

#accounts-grid .account-actions .save-table-button button {
    margin-bottom: 5px;
}

.add-table-button button {
    margin-top: 20px;
}

#templates-list {
    margin-bottom: -30px;
}

#templates-list .template-item {
    width: 450px;
    display: inline-block;
    box-sizing: border-box;
    margin-right: 50px;
    margin-bottom: 50px;
}

#templates-list .template-body {
    width: 435px;
    height: 200px;
    display: block;
}

#templates-list .template-isActive {
    display: inline-block;
    margin-top: 11px;
    margin-left: -2px;
    cursor: pointer;
}

#templates-list .template-gender {
    display: inline-block;
    margin-top: 5px;
    margin-left: 10px;
    cursor: pointer;
}

#templates-list .template-actions {
    float: right;
    margin-top: 5px;
}

#templates-list .template-actions button {
    margin-left: 5px;
}

#templates-list .template-isActive input {
    vertical-align: bottom;
}

.vk-templates-categories-list li {
    margin: 5px 0;
}

.vk-templates-categories-list .delete-table-button {
    margin-left: 10px;
    color: #b50000;
    cursor: pointer;
}

.vk-template-category-form {
    font-size: 16px;
    margin-bottom: 20px;
}

.vk-template-category-form input {
    margin-left: 6px;
    margin-right: 10px;
}

/** End Messenger **/

.how-image {
    max-width: 70%;
    height: auto;
    border: 1px solid #d7d7d7;
    margin-bottom: 20px;
}

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox .custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox .custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
}

.profile-delete-city {
    color: red;
    text-decoration: none;
    margin-left: 2px;
}

.photos-check-item {
    height: 200px;
    margin-bottom: 40px;
    white-space: nowrap;
    overflow-y: hidden;
    overflow-x: auto;
    position: relative;
}

.photos-check-item img {
    height: 200px;
    width: auto;
    min-width: 100px;
    padding-right: 10px;
}

.photos-check-item-checkbox input[type="checkbox"] {
    float: left;
    margin: 8px 6px 0 10px;
    cursor: pointer;
}

.photos-check-item-checkbox label {
    padding: 5px 10px 7px 0;
    display: inline-block;
    cursor: pointer;
}

.photos-check-item-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.photos-check-available {
    padding-bottom: 20px;
}

.projects-dropdown {
    float: right;
    margin-top: 25px;
}

.projects-dropdown_messages {
    margin-top: -3px;
    margin-left: 10px;
}

.campaigns-dropdown {
    float: right;
    margin-top: 5px;
    margin-left: 10px;
}

.campaigns-dropdown_groups-add {
    margin-top: 25px;
}

.campaigns-dropdown_requests {
    margin-top: -3px;
}

.automation-settings {
    margin-left: -20px;
}

.automation-settings__rule {
    margin-left: 20px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
}

.automation-settings__add-rule {
    margin-left: 20px;
}

.automation-settings__actions {
    margin-top: 6px;
    margin-bottom: 12px;
}

.automation-settings__add-action {
    display: block;
    margin-bottom: 12px;
}


.automation-settings__action {
    margin-bottom: 6px;
    padding: 12px;
    border: 1px solid #FFD324;
    background: #FFF6BF;
    color: #514721;
}

.automation-settings__expected-message {
    margin-top: 5px;
    width: 500px;
    height: 300px;
}

.group-add-all button {
    margin-top: 10px;
}

.account-isActive {
    text-align: center;
}

.delete-all-button, .export-button {
    float: right;
    margin-top: 30px;
}

.export-button {
    margin-left: 10px;
}

.big-label, div.form label.big-label {
    font-size: 1.2em;
    line-height: 1.25;
    margin-bottom: 0.25em;
    margin-top: 0.5em;
    font-weight: normal;
    color: #111;
}

.hr {
    border-bottom: 1px solid #e0e0e0;
}
