@-ms-viewport     { width: device-width; }
@-o-viewport      { width: device-width; }
@viewport         { width: device-width; }

body {
    padding-top: 70px;
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px 0;
}

h1 {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 20px;
}

h2 {
    font-size: 27px;
    line-height: 27px;
    margin-bottom: 20px
}

h3 {
    font-size: 20px;
    line-height: 20px;
}

p {
    margin: 0 0 15px;
}

footer {
    background: none repeat scroll 0 0 #394755;
    color: #D6DFE5;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 15px;
}

footer a, footer a:hover {
    color: #D6DFE5;
    text-decoration: underline;
}

.navbar {
    background: none repeat scroll 0 0 #394755;
    padding: 10px 0;
}

.navbar.navbar-admin {
    padding: 0;
}

.navbar input[type=search] {
    padding: 3px 5px;
}

.navbar-header button.navbar-toggle {
    border-color: #DDD;
    color: #DDD;
}

.navbar-header button.navbar-toggle .icon-bar {
    background-color: #DDD;
    color: #DDD;
}

.navbar-header button.navbar-toggle:hover .icon-bar {
    background-color: #394755;
    color: #394755;
}

.navbar-default .navbar-nav > li > a {
    color: #EAEAEA;
    font-size: 1.15em;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #FFF;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: #000;
    background-color: #FFF;
}

a.brand img {
    width: 200px;
    height: 40px;
}

.login-controls {
    display: table-cell;
    float: right;
    width: 100px;
    text-align: right;
}

.login-controls a {
    color: #EAFF00;
}

.search-input {
    padding-left: 20px;
}

.breadcrumb {
    background-color: #f6f6f6;
    /*font-size: 0.85em;*/
    margin-bottom: 15px;
}

.breadcrumb > li {
    display: inline;
}

div.ga-adv {
    min-height: 60px;
    margin-bottom: 20px;
    border-left: 5px solid #A6E1C3;
    border-top: 1px solid #A6E1C3;
    border-right: 1px solid #A6E1C3;
    border-bottom: 1px solid #A6E1C3;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

div.ga-adv-bricks {
    min-height: 280px;
    margin-bottom: 20px;
    border-left: 5px solid #A6E1C3;
    border-top: 1px solid #A6E1C3;
    border-right: 1px solid #A6E1C3;
    border-bottom: 1px solid #A6E1C3;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

div.ga-adv-brick1 {
    float: left;
    width: 336px;
    height: 280px;
}

div.ga-adv-brick2 {
    float: left;
    width: 300px;
    height: 250px;
    margin-left: 10px;
}

fieldset.city-category {
    margin-bottom: 30px;
}

fieldset.city-category legend {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 12px;
    padding-bottom: 5px;
}

fieldset.city-category .catlist {
    margin-left: 2px;
    margin-bottom: 0;
    font-size: 1.1em;
}

fieldset.city-category .catlist > div {
    margin-bottom: 4px;
}

fieldset.city-category .allcats {
    margin-left: 2px;
    margin-bottom: 0;
    font-size: 1.1em;
}

fieldset.city-category .allcats a {
    color: #333;
}

fieldset.firm-item {
    margin-bottom: 20px;
}

fieldset.firm-item legend {
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 5px;
    color: #08c;
}

fieldset.firm-item .firm-info {
}

fieldset.firm-item .firm-info i.fa {
    margin-right: 4px;
}

.firm-page .firm-info {
    margin-bottom: 20px;
}

.firm-page .firm-info .mga {
    float: right;
    margin-bottom: 0px;
    margin-left: 5px;
    width: 42%;
}

h3.firm {
    font-size: 22px;
    line-height: 22px;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-top: 1px dashed #CCCCCC;
}

.firm-info {
    margin-bottom: 0;
    line-height: 1.5em;
}

.firm-info i.fa {
    margin-right: 4px;
    width: 18px;
    text-align: left;
}

.firm-info > div {
    margin-bottom: 5px;
}

.firm-balloon {
    margin-bottom: 0;
    line-height: 1.5em;
}

.firm-balloon i.fa {
    margin-right: 0;
    width: 18px;
    text-align: left;
}

.firm-balloon .site-flash {
    margin-top: 8px;
    clear: both;
}

.firm-balloon .site-flash > img {
    float: left;
    margin-right: 5px;
}

.firm-balloon .site-flash > div {
    float: left;
    font-size: 18px;
    font-weight: bold;
    margin-top: 3px;
    color: #dd1144;
}

#firm-controls {
    z-index: 100;
    display: none;
    position: absolute;
}

#firm-controls a {
    color: #dd1144;
}

#promo-firms {
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #FDFDEB;
    border: 1px solid #E5E5E5;
}

.static-map {
    margin-bottom: 20px
}

.static-map img {
    border: 1px solid #e1e1e8;
}

.firms-static-map {
    position: relative;
    border: 1px solid #e1e1e8;
}

.firms-static-map-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    height: 300px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.firms-static-map-inner:before {
    position: absolute;
    content: '';
}

.firms-static-map-bg {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.firms-static-map-bg:before {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.firms-static-map-btn {
    display: block;
    position: relative;
}

#map-container {
    width: 100%;
    height: 0;
}

#firms-map, #ru-country-map, #ua-country-map, #by-country-map, #kz-country-map, #regions-map {
    margin-bottom: 20px;
    border: 1px solid #CCC;
}

#map, #ru-country, #ua-country, #by-country, #kz-country, #region-map {
    width: 100%;
    height: 200px;
}

#map-loading, #ru-country-loading, #ua-country-loading, #by-country-loading, #kz-country-loading, #region-loading {
    background-image: url(/themes/default/img/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #FAFAFA;
    opacity: 0.9;
    z-index: 100;
    display: none;
    position: absolute;
}

#firms-map button {
    position: absolute;
    z-index: 99;
    left: 50%;
    margin-left: -57px;
    bottom: 10px;
    height: 22px;
    padding: 0 10px;
    display: none;
    color: #337ab7;
}

#firms-map button span.map-expanded {
    display: none;
}

#show-firms-map {
    display: none;
    text-align: center;
    margin-bottom: 10px;
}

#show-firms-map a {
    border-bottom: 1px dashed #337ab7;
}

#sidebar {
    text-align: center;
}

#sidebar fieldset.city-category {
    text-align: left;
}

#sidebar fieldset.city-category ul {
    margin-left: 15px;
    padding-left: 0;
}

div#load-pager {
    text-align: center;
    margin-bottom: 10px;
}

#list-pager:before, #list-pager:after {
    display: table;
    line-height: 0;
    content: "";
}

#list-pager:after {
    clear: both;
}

#list-pager ul {
    list-style: none;
    margin-left: 0;
}

#list-pager ul li {
    float: left;
    margin-right: 10px;
}

.data-loading-process, #data-loading, #mapnew-loading, #search-category-data-loading, #email-firm-data-loading, #phone-link-data-loading, #charts-loading, #new-lead-data-loading, #firm-data-error-loading, #send-sms-loading, #send-code-loading {
    background-color: #F1F1F1;
    background-image: url(/themes/default/img/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 1000;
    display: none;
    position: absolute;
}

#charts-loading {
    background-color: white;
}

.delayed-loader {
    background-color: #F1F1F1;
    background-image: url(/themes/default/img/loading.gif);
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 100;
    display: none;
    position: absolute;
}

#map-outer {
    font-size: 0.85em;
}

#map-status {
    font-weight: bold;
}

#addr-map {
    border: 1px solid #AAAAAA;
}

#firms-list-controls {
    background-color: #FAFAFA;
    padding: 8px 15px;
    margin: 0 0 20px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#firms-list-controls:before, #firms-list-controls:after {
    display: table;
    line-height: 0;
    content: "";
}

#firms-list-controls:after {
    clear: both;
}

#firms-count {
    text-align: left;
    margin-bottom: 5px;
}

#firms-count strong {
    font-style: normal;
}

#firms-sort {
    text-align: left;
}

#firms-sort span {
    margin-right: 5px;
    font-weight: bold;
    font-style: normal;
}

#firms-sort span a {
    font-weight: normal;
}

#firms-filter {
    padding: 0;
    margin: 15px 0 20px 0;
    text-align: left;
}

#firms-filter:after, #firms-filter:before {
    display: table;
    line-height: 0;
    content: "";
}

#firms-filter:after {
    clear: both;
}

#firms-filter .firms-filter-title {
    font-size: 18px;
    float: left;
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 10px;
}

#firms-filter .firms-filter-controls {
    float: right;
}

#firms-filter .firms-filter-controls a {
    margin-left: 10px;
    font-size: 0.85em;
}

#firms-filter .firms-filter {
    /*float: left;
    margin-right: 15px;*/
    clear: both;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #CCC;
}

#firms-filter .firms-filter label {
    margin-bottom: 0;
    line-height: 25px;
    font-weight: normal;
}

#firms-filter .firms-filter label input[type=checkbox] {
    vertical-align: text-bottom;
    margin: 0 4px 1px 0;
}

#firms-filter .firms-filter select {
    /*height: 15px;*/
    padding: 0;
    margin: 0 0 3px 0;
    width: 100px;
    font-size: 0.85em;
}

#firms-filter .firms-filter .multiselect-name {
    /*float: left;*/
    line-height: 25px;
    /*margin-right: 5px;*/
    display: inline;
}

#firms-filter .firms-filter .multiselect-info {
    font-size: 0.85em;
    /*float: left;*/
    line-height: 25px;
    display: inline;
}

#firms-filter .firms-filter .multiselect-list {
    display: none;
    position: absolute;
    width: 180px;
    height: 200px;
    z-index: 1000;
    background-color: #FFFFFF;
    border: 1px solid #999999;
}

#firms-filter .firms-filter .multiselect-list .multiselect-list-list {
    width: 100%;
    height: 170px;
    overflow-x: visible;
    overflow-y: scroll;
    padding: 5px;
}

#firms-filter .firms-filter .multiselect-list .multiselect-list-list .multiselect-list-item {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dotted #CCCCCC;
}

#firms-filter .firms-filter .multiselect-list .multiselect-list-list .multiselect-list-item-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

#firms-filter .firms-filter .multiselect-list .multiselect-list-controls {
    width: 175px;
    height: 25px;
    border-top: 1px solid #CCCCCC;
    padding-left: 5px;
    color: #CCCCCC;
    text-align: right;
}

#firms-filter .firms-filter .multiselect-list .multiselect-list-controls a {
    font-size: 0.85em;
    line-height: 25px;
    margin-right: 5px;
}

#firms-filter .filter-expand-div {
    display: none;
}

#firms-filter .filter-expand-control {
    float: left;
    font-size: 0.85em;
    line-height: 25px;
}

#firms-filter .filter-expand-control a {
    font-size: 0.85em;
}

#firms-filter button {
    margin-top: 10px;
}

#update-date {
    font-size: 0.85em;
    font-style: italic;
}

#feedbackform { margin:0; padding:5px; min-height: 400px;}
#feedbackform div.row { margin-bottom: 10px; }
#feedbackform label { margin: 0; display: block; }
#feedbackform span.required { color: #ff0000; }
#feedbackform input { width: 250px; }
#feedbackform input.subject { width: 500px; }
#feedbackform div.submit input { font-size: 14px; font-weight: bold; height: 30px; width: 120px; }
#feedbackform textarea { width: 100%; padding: 2px; }
#feedbackform div.cell { float: left; margin-right: 10px; }
#feedbackform div.cell img.refresh-captcha { display: block; border: 1px dotted #CCCCCC; height: 50px; }
#feedbackform div.cell a.refresh-captcha { font-size: 10px; margin-left: 10px; }
#feedbackform div.cell input { width: 100px; }
#feedbackform div.cell div.hint { font-size: 10px; line-height: 1.3em; margin-top: 3px; }
#feedbackform .errorSummary
{
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
}
#feedbackform .feedback-success {
    border: 1px dotted #CCC;
    padding: 7px;
    background: #E3FBEB;
    font-size: 0.9em;
}

#loginform { margin:0; padding:1px; min-height: 400px; width: 350px; }
#loginform div.row { margin-bottom: 10px; }
#loginform label { margin: 0 0 5px 0; display: block; }
#loginform span.required { color: #ff0000; }
#loginform input { width: 300px; }
#loginform div.submit input { font-size: 14px; font-weight: bold; height: 30px; width: 120px; margin-right: 7px; }
#loginform div.captcha { float: left; margin-right: 10px; width: 130px; }
#loginform div.captcha img.refresh-captcha { display: block; border: 1px dotted #CCCCCC; height: 50px; }
#loginform div.captcha a.refresh-captcha { font-size: 10px; margin-left: 10px; }
#loginform div.code { float: left; margin-right: 10px; width: 170px; }
#loginform div.code input { width: 100px; }
#loginform div.code div.hint { font-size: 10px; line-height: 1.3em; margin-top: 3px; }
#loginform .errorSummary
{
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
    width: 300px;
}
#loginform .login-warning-block { padding-right: 14px; font-size: 0.85em; }

#regform { margin:0; padding:1px; min-height: 400px; width: 350px;}
#regform div.row { margin-bottom: 10px; }
#regform label { margin: 0 0 5px 0; display: block; }
#regform span.required { color: #ff0000; }
#regform input { width: 300px; }
#regform div.submit input { font-size: 14px; font-weight: bold; height: 30px; width: 200px; margin-right: 7px; }
#regform div.captcha { float: left; margin-right: 10px; width: 130px; }
#regform div.captcha img.refresh-captcha { display: block; border: 1px dotted #CCCCCC; height: 50px; }
#regform div.captcha a.refresh-captcha { font-size: 10px; margin-left: 10px; }
#regform div.code { float: left; margin-right: 10px; width: 170px; }
#regform div.code input { width: 100px; }
#regform div.code div.hint { font-size: 10px; line-height: 1.3em; margin-top: 3px; }
#regform .errorSummary
{
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
    width: 300px;
}
#regform .reg-success {
    border: 1px dotted #CCC;
    padding: 7px;
    background: #E3FBEB;
    font-size: 0.9em;
}

#changepwdform { margin:0; padding:1px; min-height: 400px; width: 350px;}
#changepwdform div.row { margin-bottom: 10px; }
#changepwdform label { margin: 0 0 5px 0; display: block; }
#changepwdform span.required { color: #ff0000; }
#changepwdform input { width: 200px; }
#changepwdform div.submit input { font-size: 14px; font-weight: bold; height: 30px; width: 125px; margin-right: 7px; }
#changepwdform .errorSummary {
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
    width: 300px;
}
#changepwdform .reg-success {
    border: 1px dotted #CCC;
    padding: 7px;
    background: #E3FBEB;
    font-size: 0.9em;
}

#profileform { margin:0; padding:1px; min-height: 400px; width: 350px;}
#profileform div.row { margin-bottom: 10px; }
#profileform label { margin: 0 0 5px 0; display: block; }
#profileform span.required { color: #ff0000; }
#profileform input { width: 200px; }
#profileform div.submit input { font-size: 14px; font-weight: bold; height: 30px; width: 125px; margin-right: 7px; }
#profileform .errorSummary {
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
    width: 300px;
}
#profileform .reg-success {
    border: 1px dotted #CCC;
    padding: 7px;
    background: #E3FBEB;
    font-size: 0.9em;
}

#firms-list {
    margin-bottom: 20px;
}

#firms-list .single-firm-info {
    margin-bottom: 10px;
}

#firms-list .single-firm-info table {
    width: 100%;
    border-top: 1px solid #F6F6F6;
}

#firms-list .single-firm-info table tr {
    vertical-align: top;
}

#firms-list .single-firm-info table td {
    padding: 5px 10px;
    border-bottom: 1px solid #F6F6F6;
}

#firms-list .single-firm-info table td.title-header {
    background-color: #EBFFEB;
    padding: 0 0 0 10px;
}

#firms-list .single-firm-info table td.title-header.declined {
    background-color: #FFAD99;
}

#firms-list .single-firm-info table td.controls {
    font-size: 0.85em;
}

#firms-list .single-firm-info table td.names {
    width: 115px;
}

#firms-list .single-firm-info table tr.compare-firms-title > td {
    width: 50%;
}

#firms-list .single-firm-info table tr.compare-firms-info > td {
    padding: 0;
}

#firms-list .single-firm-info table.compare-addeditfirm {
    border: none;
}

#firms-list .single-firm-info table.compare-addeditfirm td {
    padding: 5px;
}

#firms-list .single-firm-info table.compare-addeditfirm td.compare-header {
    font-weight: bold;
}

#firms-list .single-firm-info table.compare-addeditfirm tr.compare-select td.compare-header {
    color: orange;
}

#firms-list .single-firm-info table.compare-addeditfirm tr.compare-select {
    background-color: #FCFCFC;
}

#firms-list .single-firm-info table.compare-addeditfirm td.compare-value {
    width: 45%;
}

#firms-list .single-firm-info table.compare-addeditfirm td.compare-value-x2 {
    width: 90%;
}

#firms-list .single-firm-info table.compare-addeditfirm td.moderate-controls {
    width: 10%;
}

#firms-list .single-firm-info pre {
    background-color: inherit;
    border: none;
    padding: 0;
    color: red;
    margin: 0;
}

#firms-list .single-firm-info table td.title-header.need_correction {
    background-color: #FFDACC;
}

#firms-list .single-firm-info table td.title-header.moderating {
    background-color: #FFE4B2;
}

#firms-list .single-firm-info table td.title-header.disabled {
    background-color: #E0E0E0;
}

#firms-list .single-firm-info table td.title-header.deleted {
    background-color: #FFDBDB;
}

#firms-list .single-category-desc {
    margin-bottom: 0;
    margin-left: 0;
}

#firms-list .single-category-desc > li {
    list-style-type: none;
}

#firms-list .single-category-desc a.top-firm-link, #firms-list .single-category-desc i {
    color: orangered;
    font-size: 0.85em;
    font-weight: bold;
}

#firms-list table.categories-desc {
    width: 100%;
}

#firms-list table.categories-desc tr {
    vertical-align: top;
}

#firms-list table.categories-desc td.topup-buttons {
    width: 250px;
    line-height: 12px;
    padding-bottom: 15px;
}

#firms-list table.categories-desc td.topup-buttons a.top-firm-link, #firms-list table.categories-desc td.topup-buttons i {
    color: orangered;
    font-size: 0.85em;
    font-weight: bold;
}

#firms-list table.categories-desc ul {
    padding-left: 16px;
}

#firms-list .single-firm-desc {
    margin: 0;
    padding-left: 0;
}

#firms-list .single-firm-desc > li {
    list-style-type: none;
}

#firms-list .single-firm-info.moderating table td.title-header {
    background-color: #FFFFD6;
}

#firms-list .single-firm-info.moderating table td.title-header h3 {
    color: #B2B26B;
}

#firms-list .single-firm-info.need_correction table td.title-header {
    background-color: #FFAD99;
}

#firms-list .single-firm-info.need_correction table td.title-header h3 {
    color: #B22400;
}

#firms-list .single-firm-info.need_correction table td.title-header h3 sup {
    font-size: 0.5em;
    font-style: italic;
    top: -1em;
}

#firms-list .single-firm-info.need_correction .moderator-text {
    border-top: 1px solid #F6F6F6;
    margin-top: 5px;
    padding-top: 5px;
    color: red;
    font-style: italic;
}

#firms-list .single-firm-info.disabled table td.title-header {
    color: #CCCCCC;
    background-color: #F6F6F6;
}

#firms-list .single-firm-info.disabled table td.title-header h3 {
    color: #999999;
}

#firms-list .single-firm-info.deleted table td.title-header {
    color: #CCCCCC;
    background-color: #F6F6F6;
}

#firms-list .single-firm-info.deleted table td.title-header h3 {
    color: #CCCCCC;
}

#firms-list .single-firm-info.deleted table td {
    color: #AAAAAA;
}

#firms-list .single-firm-info.deleted pre {
    color: #FFB2B2;
}

#firms-list .disabled .single-firm-desc {
    color: #CCCCCC;
}

#firms-list h1.moderating {
    color: #B2B26B;
}

#firms-list h1.disabled {
    color: #999999;
}

#firms-list h1.deleted {
    color: #CCCCCC;
}

#firms-list h2.other-cities {
    margin-top: 25px;
}

#firms-list h2.other-categories {
    margin-top: 25px;
}

#firms-list .single-firm-info.search-firm table td.title-header {
    background-color: #FAFAFA;
}

#firms-list .single-firm-info.attach-firm table td.title-header {
    background-color: #FAFAFA;
}

#firms-list .single-firm-info.admin table td.title-header {
    background-color: #F6F6F6;
}

#firms-list .single-firm-info.admin h2 sup {
    font-size: 0.5em;
    font-style: italic;
    top: -1em;
}

#firms-list .single-firm-info.admin table tr.compare-firms-title td {
    width: 45%;
    text-align: center;
    font-weight: bold;
    background-color: #FCFCFC;
}

#firms-list .single-firm-info.admin table tr.compare-firms-title td.moderate-controls {
    width: 10%;
}

#firms-list tr.subinfo td {
    background-color: #FCFCFC;
}

#firms-list .single-firm-info.admin table tr.moderate-controls td {
    background-color: #FCFCFC;
}

#firms-list .single-firm-info.admin table tr.moderate-controls textarea {
    width: 98%;
    height: 50px;
    margin-bottom: 0;
}

#firms-list .single-firm-info.admin table tr.moderate-controls label {
    margin-left: 10px;
    font-weight: normal;
    vertical-align: middle;
    display: block;
}

#firms-list .single-firm-info.admin table tr.moderate-controls label input {
    margin-top: 0;
    vertical-align: middle;
}

#firms-list .single-firm-info.admin table tr.moderate-controls label input[type=checkbox] {
    margin-left: 18px;
    vertical-align: middle;
}

#firms-list .single-firm-info.admin table tr.moderate-controls textarea.dup-exist-list {
    margin-left: 28px;
    width: 94%;
}

#firms-list .single-firm-info.admin table tr.moderate-controls hr {
    margin: 5px 0;
}

#firms-list span.attached-firm {
    font-size: 0.6em;
    font-style: italic;
    color: red;
}

#firms-list a.btn.attach-firm {
    margin-left: 20px;
    font-size: 0.6em;
    line-height: 14px;
    padding: 4px 10px;
}

#firms-list #next-step-continue {
    font-size: 0.85em;
    line-height: 14px;
    padding: 4px 10px;
}

#firms-list .nav-tabs {
    margin-bottom: 0px;
}

#firms-list .tab-content {
    padding-top: 5px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow-x: hidden;
}

.firm-controls {
    margin-bottom: 10px;
    padding: 10px 10px 0 10px;
    text-align: left;
}

.firm-controls a.btn {
    margin-bottom: 5px;
    width: 100%;
}

#firms-list-table {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 5px;
}

#firms-list-table td {
    width: 50%;
    padding: 5px;
}

.add-new-firm {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 20px;
}

.add-new-firm a {
    color: #d14;
}

#upper {
    margin-top: 10px;
}

#addeditfirm {
}

#addeditfirm input[type=text] {
    padding: 3px 5px;
}

#addeditfirm select {
    padding: 3px 5px;
    width: 200px;
}

#addeditfirm label {
    font-weight: normal;
    vertical-align: middle;
}

#addeditfirm .row {
    margin-bottom: 10px;
}

#addeditfirm .status-ok {
    color: #3f9f3f;
}

#addeditfirm .has-errors {
    color: red;
}

#addeditfirm .row.has-errors input, #addeditfirm input.has-errors {
    border-color: red;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    /*color: red;*/
}

#addeditfirm .row.has-errors input:focus, #addeditfirm input.has-errors:focus {
    border-color: red;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #FF6666;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #FF6666;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #FF6666;
}

#addeditfirm div.errorMessage {
    font-size: 0.85em;
    color: red;
}

#addedit-country {
    width: 105px;
    margin-right: 5px;
    margin-bottom: 0;
}

#addedit-region {
    width: 200px;
    margin-right: 5px;
    margin-bottom: 0;
}

#addedit-city {
    width: 200px;
    margin-bottom: 0;
}

#AddEditFirmForm_name {
    width: 98%;
    margin-bottom: 0;
}

#AddEditFirmForm_street_type {
    width: 100%;
}

#AddEditFirmForm_street_name {
    width: 97.7%;
}

#AddEditFirmForm_building_number {
    width: 120px;
}

#AddEditFirmForm_building_subnumber_type {
    width: 100px;
    margin-right: 10px;
}

#AddEditFirmForm_building_subnumber {
    width: 70px;
}

#addeditfirm .field-desc {
    font-size: 0.75em;
    margin-left: 9px;
}

#no-address-checkbox {
    vertical-align: middle;
}

.no-address-checkbox-label {
    font-weight: normal;
    font-size: 0.85em;
    font-style: italic;
    margin-bottom: 0;
    line-height: 15px;
}

#addeditfirm table.addr {
    width: 100%;
}

#addeditfirm table.addr tr {
    vertical-align: top;
}

#addeditfirm table.addr td {
    padding-bottom: 10px;
    line-height: 12px;
}

#addeditfirm table.addr td.left {
    width: 105px;
    padding-right: 7px;
}

#addeditfirm table.addr td.middle {
    width: 220px;
    padding-right: 7px;
    overflow: hidden;
}

#addeditfirm table.addr select, #addeditfirm table.addr input {
    margin-bottom: 0;
}

#addeditfirm #street-type {
    width: 105px;
}

#addeditfirm #building-number {
    width: 250px;
    margin-right: 5px;
}

#addeditfirm #street-name {
    width: 98%;
}

#addeditfirm #building-other {
    width: 250px;
}

#addeditfirm .add-active {
    color: #3f9f3f;
    cursor: pointer;
}

#addeditfirm .del-active {
    color: #dd1144;
    cursor: pointer;
}

#addeditfirm .add-disabled, #addeditfirm .del-disabled {
    color: #CCCCCC;
    cursor: default;
}

#addeditfirm textarea {
    width: 98%;
    height: 250px;
}

fieldset.mandatory-params {
    border: 1px dotted #CCCCCC;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #F5F5F5;
}

fieldset.aux-params {
    border: 1px dotted #CCCCCC;
    padding: 15px;
    margin-bottom: 20px;
}

fieldset.aux-params input[type=radio] {
    margin: 0;
}

fieldset.aux-params .search-field {
    padding-left: 17px;
}

fieldset.categories-params {
    border: 1px dotted #CCCCCC;
    padding: 15px;
    margin-bottom: 20px;
}

fieldset.categories-params select {
    margin-bottom: 0px;
}

fieldset.mandatory-params legend, fieldset.aux-params legend, fieldset.categories-params legend {
    border: none;
    width: auto;
    margin: 0;
    padding: 0 10px;
    font-size: 16px;
    line-height: 10px;
    font-weight: bold;
}

table.firm-phone {
    /*width: 100%;*/
    border-collapse: collapse;
}

table.firm-phone tr {
    vertical-align: middle;
}

table.firm-phone tr td {
    padding: 0;
    margin: 0;
    line-height: 12px;
    /*font-size: 16px;*/
}

table.firm-phone tr.firm-phone-inputs td {
    height: 30px;
}

table.firm-phone tr.firm-phone-descs td {
    font-size: 0.75em;
    text-align: center;
    padding-bottom: 10px;
}

table.firm-phone tr td input, table.firm-phone tr td select {
    margin: 0;
}

table.firm-phone tr td.firm-phone-plus {
    padding-right: 3px;
}

table.firm-phone tr td.firm-phone-bracket {
    padding-left: 3px;
    padding-right: 3px;
}

table.firm-phone tr td.firm-phone-number-ext {
    padding-left: 10px;
    padding-right: 10px;
}

table.firm-phone tr td.firm-phone-controls {
    padding-left: 10px;
}

table.firm-phone tr td.firm-phone-type {
    padding-left: 10px;
}

table.firm-phone tr td.firm-phone-country-code {
    width: 25px;
}

table.firm-phone tr td.firm-phone-country-code input {
    width: 40px;
}

table.firm-phone tr td.firm-phone-city-code {
    width: 62px;
}

table.firm-phone tr td.firm-phone-city-code input {
    width: 62px;
}

table.firm-phone tr td.firm-phone-number {
    width: 80px;
}

table.firm-phone tr td.firm-phone-number input {
    width: 80px;
}

table.firm-phone tr td.firm-phone-number-ext input {
    width: 60px;
}

table.firm-phone tr td.firm-phone-other input {
    width: 200px;
}

table.firm-phone tr td.firm-phone-type select {
    width: 80px;
}

table.firm-site {
    border-collapse: collapse;
}

table.firm-site tr {
    vertical-align: middle;
}

table.firm-site tr td {
    padding: 0 0 10px 0;
    margin: 0;
    line-height: 12px;
    /*font-size: 16px;*/
}

table.firm-site tr td input {
    margin: 0;
    width: 350px;
}

table.firm-site tr td.firm-site-inputs {
    width: 350px;
}

table.firm-site tr td.firm-site-controls {
    padding-left: 10px;
}

table.firm-social {
    border-collapse: collapse;
}

table.firm-social tr {
    vertical-align: middle;
}

table.firm-social tr td {
    padding: 0 0 10px 0;
    margin: 0;
    line-height: 12px;
    font-size: 16px;
}

table.firm-social tr td input {
    margin: 0;
    width: 350px;
}

table.firm-social tr td.firm-social-inputs {
    width: 350px;
}

table.firm-social tr td.firm-social-controls {
    padding-left: 10px;
}

table.firm-email {
    border-collapse: collapse;
}

table.firm-email tr {
    vertical-align: middle;
}

table.firm-email tr td {
    padding: 0 0 10px 0;
    margin: 0;
    line-height: 12px;
    font-size: 16px;
}

table.firm-email tr td input {
    margin: 0;
    width: 350px;
}

table.firm-email tr td.firm-email-inputs {
    width: 350px;
}

table.firm-email tr td.firm-email-controls {
    padding-left: 10px;
}

table.firm-work-time {
    border-collapse: collapse;
    margin-bottom: 5px;
}

table.firm-work-time .btn-toolbar {
    margin: 0;
}

table.firm-work-time select {
    width: 42px;
    margin: 0;
    padding: 0;
}

table.firm-work-time tr {
    vertical-align: middle;
}

table.firm-work-time tr td {
    padding: 0;
    margin: 0;
    line-height: 12px;
    font-size: 16px;
}

table.firm-work-time tr td.firm-work-time-controls {
    padding-left: 10px;
}

table.firm-work-time tr.firm-work-time-inputs {
}

table.firm-work-time tr.firm-work-time-links td a {
    font-size: 0.75em;
    padding: 0 0 10px 0;
}

div.row.submit {
    margin-top: 10px;
}

div.row.submit .button-div {
    float: right;
}

#submit-next {
    margin-left: 18px;
    width: auto;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    padding: 1px 20px;
}

#submit-prev {
    width: auto;
    height: 30px;
    margin-top: 5px;
    font-style: italic;
    font-size: 13px;
    padding: 1px 20px;
}

.category-params {
    padding: 8px 15px;
    margin: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-top: 10px;
}

.category-params:after, .category-params:before {
    display: table;
    line-height: 0;
    content: "";
}

.category-params:after {
    clear: both;
}

.category-params .row {
    margin-bottom: 0 !important;
}

.category-params .category-param {
    float: left;
    min-height: 10px;
    /*margin-right: 15px;*/
}

.category-params .category-param label {
    margin-bottom: 0;
    line-height: 20px;
    font-size: 0.85em;
}

.category-params .category-param label input[type=checkbox] {
    margin-top: 0;
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

.category-params .category-param select {
    height: 15px;
    padding: 0;
    margin: 0 0 3px 0;
    width: 100px;
    font-size: 0.85em;
}

.category-params .category-param .multiselect-name {
    font-size: 0.85em;
    float: left;
    line-height: 20px;
    margin-right: 5px;
}

.category-params .category-param .multiselect-info {
    font-size: 0.85em;
    float: left;
    line-height: 20px;
}

.category-params .category-param .multiselect-list {
    display: none;
    position: absolute;
    width: 180px;
    height: 200px;
    z-index: 1000;
    background-color: #FFFFFF;
    border: 1px solid #999999;
}

.category-params .category-param .multiselect-list .multiselect-list-list {
    width: 170px;
    height: 165px;
    overflow-x: visible;
    overflow-y: scroll;
    padding: 5px;
}

.category-params .category-param .multiselect-list .multiselect-list-controls {
    width: 175px;
    height: 25px;
    border-top: 1px solid #CCCCCC;
    padding-left: 5px;
    color: #CCCCCC;
    text-align: right;
}

.category-params .category-param .multiselect-list .multiselect-list-controls a {
    font-size: 0.85em;
    line-height: 25px;
    margin-right: 5px;
}

.category-params .params-expand-div {
    display: none;
}

.category-params .params-expand-control {
    float: left;
    font-size: 0.85em;
    line-height: 25px;
}

.category-params .params-expand-control a {
    font-size: 0.85em;
}

#searchfirm {
}

#searchfirm select {
    padding: 3px 5px;
    width: 200px;
}

#searchfirm .row {
    margin-bottom: 10px;
}

#searchfirm .has-errors {
    color: red;
}

#searchfirm .row.has-errors input, #searchfirm input.has-errors {
    border-color: red;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    /*color: red;*/
}

#searchfirm .row.has-errors input:focus, #searchfirm input.has-errors:focus {
    border-color: red;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #FF6666;
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #FF6666;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #FF6666;
}

#searchfirm div.errorMessage {
    font-size: 0.85em;
    color: red;
}

#searchfirm-country {
    width: 105px;
    margin-right: 5px;
    margin-bottom: 0;
}

#searchfirm-region {
    margin-right: 5px;
    margin-bottom: 0;
}

#searchfirm-city {
    margin-bottom: 0;
}

#SearchFirmAdminForm_name, #SearchFirmAdminForm_firm_id, #SearchFirmAdminForm_phone, #SearchFirmAdminForm_host {
    width: 98%;
    margin-bottom: 0;
}

#searchfirm div.search-button-div {
    float: left;
}

#searchfirm div.search-button-div input {
    width: 200px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
}

#searchfirm div.new-firm-div {
    float: right;
    padding-right: 20px;
}

#attach-firm {
}

#attach-firm .attach-method {
    border: 1px solid #F6F6F6;
    margin-bottom: 10px;
}

#attach-firm .attach-method-header {
    background-color: #FAFAFA;
    padding: 7px;
}

#attach-firm .attach-method-header input {
    margin-top: 0;
    margin-right: 7px;
    vertical-align: middle;
}

#attach-firm .attach-method-header label {
    font-weight: bold;
}

#attach-firm .attach-method-body {
    padding: 7px;
}

#attach-firm .attach-method-desc {
    margin-bottom: 7px;
    padding: 5px 10px 10px 10px;
    border-bottom: 1px solid #F6F6F6;
    font-size: 0.85em;
    line-height: 15px;
}

#attach-firm .attach-method-data {
    padding-top: 5px;
}

#attach-firm .attach-method-data button {
    height: 20px;
    width: 70px;
    font-size: 0.85em;
    line-height: 10px;
}

#attach-firm .attach-method-action {
    display: none;
}

#searchusers {
}

#searchusers input[type=submit] {
    width: 150px;
    margin-top: 27px;
}

#users-list {
}

#users-list table {
    width: 100%;
}

#users-list table th, #users-list table td {
    padding: 5px;
}

#users-list table th:nth-child(1) {
    width: 55px;
}

#users-list table th:nth-child(4) {
    width: 100px;
}

#users-list table th:nth-child(5) {
    width: 175px;
}

#email-send, #site-check, #phone-check {
    margin-top: 10px;
}

#phone-check {
    width: 165px;
}

#email-check-msg, #site-check-msg, #phone-check-msg {
    display: inline;
    font-size: 0.85em;
}

#pin-code {
    width: 80px;
    padding: 3px 5px;
}

#check-pin-code {
    vertical-align: top;
    height: 30px;
    width: 40px;
}

.check-process {
    color: #394755;
}

.check-success {
    color: green;
}

.check-error {
    color: red;
}

.position-good {
    color: green;
    font-size: 0.85em;
    display: inline-block;
    margin-top: 8px;
}

.position-warn {
    color: orange;
    font-size: 0.85em;
    display: inline-block;
    margin-top: 8px;
}

.position-bad {
    color: red;
    font-size: 0.85em;
    display: inline-block;
    margin-top: 8px;
}

#top-firm {
}

#top-firm .top-firm-promo-desc {
    font-size: 0.85em;
    line-height: 15px;
    min-height: 20px;
    margin-bottom: 20px;
    background-color: #FDFDFD;
    border: 1px solid #f6f6f6;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    padding: 9px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#top-firm .top-method {
    margin-bottom: 10px;
}

#top-firm .top-method-header {
    margin-bottom: 0px;
    font-weight: bold;
    font-size: 1.25em;
    padding: 10px 15px;
}

#top-firm .top-method-body {
    padding: 15px;
    border-bottom: 1px solid #F6F6F6;
    border-left: 1px solid #F6F6F6;
    border-right: 1px solid #F6F6F6;
}

#top-free-instr {
    margin-top: 10px;
    border-top: 1px solid #F6F6F6;
    padding-top: 10px;
    display: none;
}

#top-free-list {
    margin: 20px 0;
}

#top-get-list-message, .msg-check-backlink {
    font-size: 0.85em;
    margin-left: 10px;
}

#top-firm .top-free-list-site {
    margin-bottom: 0;
}

#top-firm .top-free-list-links {
    border-bottom: 1px solid #F6F6F6;
    border-left: 1px solid #F6F6F6;
    border-right: 1px solid #F6F6F6;
    padding: 15px;
}

#top-firm .top-free-list-link {
    padding: 2px 0;
}

#top-firm .top-free-list-link label {
    display: inline;
}

#top-firm .top-free-list-link a {
    font-size: 0.75em;
}

#top-firm .top-free-list-link input[type=radio] {
    margin-top: 0;
    margin-right: 6px;
}

#top-months-count {
    width: 50px;
    margin-bottom: 0;
    padding: 2px 4px;
}

#top-month-cost, #top-total-cost {
    font-size: 1.25em;
    color: #ff6000;
}

#top-month-cost-header {
    color: #ff6000;
}

#payment-result {
    min-height: 400px;
}

.index-info {
}

.index-info .index-item {
    margin-bottom: 20px;
}

.index-info .index-item .header {
    margin-bottom: 5px;
    font-size: 1.25em;
}

.index-info .index-item .categories {
    margin-top: 5px;
    font-size: 0.85em;
    color: #777777;
}

.index-info .index-item .categories ul {
    margin-bottom: 0;
    margin-left: 12px;
    padding-left: 3px;
}

.index-info .index-item .categories ul li {
    line-height: 15px;
}

.index-categories {
    margin-bottom: 15px;
}

.index-categories h3 {
    font-size: 16px;
}

.index-categories i {
    width: 25px;
    text-align: center;
}

.index-categories .col1 i {
    color: #3f9f3f;
}

.index-categories .col2 i {
    color: #FF8533;
}

.index-categories .col3 i {
    color: #dd1144;
}

.index-categories .btn {
    text-align: left;
    margin-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.index-regions {
}

.index-regions i {
    width: 15px;
    text-align: center;
}

.index-regions .btn {
    text-align: left;
    margin-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.index-products {
    margin-bottom: 15px;
}

.index-products h3 {
    font-size: 16px;
}

.index-products i {
    width: 25px;
    text-align: center;
}

.index-products .col1 i {
    color: #3f9f3f;
}

.index-products .col2 i {
    color: #FF8533;
}

.index-products .col3 i {
    color: #dd1144;
}

.index-products .btn {
    text-align: left;
    margin-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.products-row {
    margin-bottom: 30px;
}

.product-cell > div {
    border: 1px solid #DDDDDD;
    padding: 15px;
}

.product-desc ul {
    padding-left: 17px;
}

.product-cell .product-images {
    text-align: center;
    height: 230px;
    width: 230px;
    position: relative;
}

.product-cell .product-image {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.product-cell .product-price {
    font-size: 18px;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    padding-bottom: 10px;
    color: #DD1144;
}

.product-desc ul {
    padding-left: 17px;
}

.product-specs td {
    padding: 5px 10px 5px 0px;
}

.products-promo-top {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #DDD;
}

.products-promo-middle {
    margin-top: 0px;
    padding-top: 15px;
    border-top: 1px solid #DDD;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #DDD;
}

.products-promo-bottom {
    margin-top: 0px;
    padding-top: 15px;
    border-top: 1px solid #DDD;
}

#productsTopWidget {
    margin-bottom: 30px;
}

#productsMiddleWidget {
    margin-bottom: 30px;
}

#productsBottomWidget {
    margin-bottom: 30px;
}

.index-desc {
    margin-bottom: 15px;
}

img.help {
    border: 1px solid #CCCCCC;
    margin: 10px 0;
}

img.help-wide {
    border: 1px solid #CCCCCC;
    margin: 10px 0;
    width: 50%;
}

.firm-info ul.firm-info-list {
    margin-left: 33px;
    margin-bottom: 3px;
    padding-left: 0;
}

.firm-info ul.firm-info-list ul {
    margin-left: 16px;
    margin-bottom: 3px;
    padding-left: 0;
}

.firm-info ul.firm-info-list-icons {
    list-style-type: none;
    margin-left: 17px;
    margin-bottom: 3px;
    padding-left: 0;
}

.firm-info ul.firm-info-list-icons img {
    margin-right: 3px;
    width: 16px;
    height: 16px;
}

span.user-firms-ok {
    color: limegreen;
}

span.user-firm-on-moderation {
    color: orange;
}

span.user-firm-need-correction {
    color: rosybrown;
}

span.user-firms-disabled {
    color: lightgrey;
}

span.user-firms-deleted {
    color: red;
}

div.admin-controls {
    padding: 10px;
    background-color: #FDFDEB;
    border: 1px solid #DDDDDD;
    margin-bottom: 10px;
}

div.admin-controls table {
    width: 100%;
    border-collapse: collapse;
}

div.admin-controls table th {
    text-align: left;
}

div.admin-controls table tr {
    vertical-align: top;
}

div.admin-controls table td {
    width: 33.3%;
}

#comments-list {
}

#comments-list .moderate-firm-comment {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #DDDDDD;
}

#comments-list .moderate-firm-comment.comment-odd {
    background-color: #FAFAFA;
}

#comments-list .moderate-comment-firm {
}

#comments-list .moderate-comment-firm-last {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #DDDDDD;
}

#comments-list .moderate-comment-firm-name {
    font-weight: bold;
    font-size: 16px;
}

#comments-list .moderate-comment-firm-address {
    font-size: 12px;
    font-style: italic;
}

#comments-list .moderate-comment-prevlink {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dashed #DDDDDD;
}

#comments-list .moderate-comment-item-title {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dashed #DDDDDD;
}

#comments-list .moderate-comment-item-title select {
    margin-bottom: 0;
    padding: 0;
    height: 20px;
    line-height: 20px;
    width: 110px;
}

#comments-list .firm-comments-accepted {
    color: limegreen;
}

#comments-list .firm-comments-declined {
    color: red;
}

#comments-list .moderate-comment-item-text {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #DDDDDD;
}

#comments-list .comment-stop-words {
    margin-top: 10px;
    font-weight: bold;
}

#comments-list .comment-stop-words-list {
    color: red;
    font-style: italic;
}

#comments-list .moderate-comment-item-text textarea {
    width: 98%;
    height: 100px;
    margin-bottom: 0;
}

#comments-list .moderate-comment-item-buttons {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #DDDDDD;
}

#comments-list .firm-comment-item {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px dotted #DDDDDD;
    font-size: 0.85em;
}

#comments-list .firm-comment-item.accepted {
    background-color: #D6F5D6;
}

#comments-list .firm-comment-item.declined {
    background-color: #FADBD8;
}

#comments-list .firm-comment-item-title {
}

#comments-list .firm-comment-item-text {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dotted #DDDDDD;
}

.region-firms-list {
    margin-bottom: 30px;
}

.region-firms-list .firm-item {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px dashed #CCCCCC;
}

.region-firms-list .firm-item.first {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.region-firms-list .firm-item .header, .region-firms-list .firm-item .header a {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.region-firms-list .firm-item .categories {
    font-size: 0.85em;
}

.region-firms-list .firm-item .categories li {
    line-height: 15px;
    font-style: italic;
}

.row.skip-moderation {
    margin-top: 10px;
    margin-bottom: 15px !important;
}

.row.skip-moderation input {
    margin-top: 0;
}

.row.accept-rules {
    margin-top: 10px;
    margin-bottom: 15px !important;
}

.row.accept-rules input {
    margin-top: 0;
    vertical-align: text-bottom;
}

.row.accept-rules label {
    font-weight: normal;
}

div.moderate-field {
}

div.moderate-field label {
    margin-bottom: 7px;
    line-height: 15px;
    font-size: 0.85em;
}

div.moderate-field label input[type=checkbox] {
    margin-top: 0;
    width: 10px;
    height: 10px;
}

div.moderate-field .moderate-field-control a {
    font-size: 0.85em;
}

div.moderate-field .moderate-field-list {
    display: none;
    position: absolute;
    width: 180px;
    height: 250px;
    z-index: 1000;
    background-color: #FFFFFF;
    border: 1px solid #999999;
}

div.moderate-field .moderate-field-list .moderate-field-list-items {
    width: 178px;
    height: 223px;
    overflow-x: visible;
    overflow-y: scroll;
    padding: 5px;
}

div.moderate-field .moderate-field-list .moderate-field-list-items label {
    font-weight: normal;
}

div.moderate-field .moderate-field-list .moderate-field-list-items input[type=checkbox] {
    vertical-align: middle;
}

div.moderate-field .moderate-field-list .moderate-field-list-close {
    width: 175px;
    height: 25px;
    border-top: 1px solid #CCCCCC;
    padding-left: 5px;
    color: #CCCCCC;
    text-align: right;
}

div.moderate-field .moderate-field-list .moderate-field-list-close a {
    font-size: 0.85em;
    line-height: 25px;
    margin-right: 5px;
}

div.js-warning {
    display: none;
    font-size: 0.85em;
    margin-top: 5px;
    margin-bottom: 0px;
    line-height: 1.5em;
    color: #777;
    border-color: #CCC;
}

#rules-dialog, #comments-rules-dialog {
    font-size: 0.85em;
    line-height: 1.5em;
    display: none;
}

div.js-warning i.fa {
    color: #dd1144;
}

.js-catselect {
    vertical-align: middle;
    margin-left: 5px;
}

.js-caterase {
    vertical-align: middle;
}

#search-category-dialog {
    font-size: 0.85em;
    line-height: 1.5em;
    display: none;
}

#search-category-input {
    width: 96%;
}

.search-category-desc {
    font-size: 0.85em;
    font-style: italic;
    line-height: 1.5em;
}

.search-category-dialog .ui-autocomplete {
    max-height: 190px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 90%;
}

.search-category-dialog .ui-autocomplete li {
    font-size: 0.75em;
    border-bottom: 1px solid #AAAAAA;
}

#email-firm-dialog {
    display: none;
    overflow: hidden;
    font-size: 0.85em;
}

#email-firm-name, #email-firm-email, #email-firm-text {
    width: 355px;
    margin-bottom: 10px;
}

#email-firm-text {
    height: 145px;
}

#email-firm-dialog .g-recaptcha {
    margin-top: 10px;
}

#email-firm-dialog .error {
    color: red;
    border-color: red;
}

#new-lead-dialog {
    display: none;
    overflow: hidden;
    font-size: 0.85em;
}

#new-lead-dialog label {
    font-size: 0.85em;
}

#new-lead-dialog .new-lead-dialog-features-list {
    height: 105px;
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px dotted #CCCCCC;
    padding: 3px 10px;
    margin-top: 3px;
    margin-bottom: 10px;
}

#new-lead-dialog textarea {
    width: 357px;
}

#new-lead-dialog input[type=text] {
    width: 357px;
}

#new-lead-form {
    border: 1px solid #08c;
    padding: 5px;
    margin-bottom: 10px;
}

#new-lead-form table {
    width: 100%;
}

#new-lead-form table tr td:nth-child(2) {
    text-align: center;
    width: 120px;
}

#new-lead-form .new-lead-form-title {
    font-size: 18px;
    font-weight: bold;
}

#new-lead-form .new-lead-form-desc {
    font-size: 12px;
    font-style: italic;
}

#phone-link-dialog {
    display: none;
    overflow: hidden;
    font-size: 0.85em;
}

#phone-link-dialog label {
    font-size: 0.85em;
    margin-bottom: 10px;
}

#phone-link-dialog .stars {}
#phone-link-dialog .stars .star {
    width: 16px;
    height: 16px;
    margin: 0 3px 0;
    background: url("star.png") -16px 0 no-repeat;
    float: left;
    cursor: pointer
}
#phone-link-dialog .stars .star.active {
    background: url("star.png") 0 0 no-repeat;
}

#phone-link-dialog .phone-link-choice {
    margin-bottom: 10px;
}

.phone-link-tooltip {
    display: none;
    clear: both;
}

.ui-tooltip-phonelink {
    max-width: 400px;
    font-size: 0.85em !important;
}

.ui-tooltip-phonelink table {
    width: 100%;
}

.ui-tooltip-phonelink table td {
    padding-bottom: 5px;
    padding-top: 5px;
    border-bottom: 1px solid #CCCCCC;
}

.ui-tooltip-phonelink table td:nth-child(2) {
    text-align: center;
    width: 80px;
}

.ui-tooltip-phonelink table td:nth-child(3) {
    text-align: left;
    font-weight: bold;
    width: 30px;
}

.ui-tooltip-phonelink .dot-green {
    color: #00A300;
    font-size: 0.6em;
    vertical-align: middle;
}

.ui-tooltip-phonelink .dot-yellow {
    color: #FFCC00;
    font-size: 0.6em;
    vertical-align: middle;
}

.ui-tooltip-phonelink .dot-red {
    color: #FF4D4D;
    font-size: 0.6em;
    vertical-align: middle;
}

.ui-tooltip-phonelink .dot-o {
    color: #CCCCCC;
    font-size: 0.7em;
    vertical-align: baseline;
}

.ui-tooltip-phonelink .fa-star {
    font-size: 1.25em !important;
    color: #FFCC00;
}

.ui-tooltip-phonelink .fa-star-o {
    font-size: 1.25em !important;
    color: #CCCCCC;
}

.ui-tooltip-phonelink .phone-link-rating {
    font-size: 1em !important;
    margin-top: 7px;
}

.indicator-green {
    color: #00A300;
    margin-left: 5px;
    font-size: 0.6em;
    vertical-align: middle;
}

.indicator-yellow {
    color: #FFCC00;
    margin-left: 5px;
    font-size: 0.6em;
    vertical-align: middle;
}

.indicator-red {
    color: #FF4D4D;
    margin-left: 5px;
    font-size: 0.6em;
    vertical-align: middle;
}

.ui-widget .ui-widget {
    font-size: 0.85em !important;
}

#firm-data-error-dialog {
    display: none;
    overflow: hidden;
    font-size: 0.85em;
}

#firm-data-error-edit-reason {
    width: 100%;
    height: 180px;
}

#firm-data-error-delete-reason {
    width: 100%;
    height: 180px;
}

#firm-data-error-dialog .nav-tabs > li > a {
    padding: 5px 12px;
}

#firm-data-error-dialog .tab-content {
    border-bottom: 1px solid #DDD;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
    padding: 10px;
    margin-bottom: 15px;
}

#firm-data-error-phone table {
    width: 100%;
}

#firm-data-error-phone table tr {
    vertical-align: top;
}

#firm-data-error-phone table td {
    width: 50%;
}

#firm-data-error-phone table td:nth-child(2) {
    padding-left: 20px;
}

#firm-data-error-phone .phones-list {
    height: 80px;
    overflow-y: scroll;
    margin-bottom: 10px;
    border: 1px dotted #DDD;
    padding-left: 5px;
    padding-top: 5px;
}

#firm-data-error-phone .phones-list label {
    font-weight: normal;
}

#firm-data-error-phone input[type=button] {
    font-weight: bold;
}

.firm-error-container .ui-dialog-buttonset button {

}

.address-details-chunks, .phone-details-chunks {
    margin-top: 5px;
    margin-bottom: 5px;
}

.address-details-chunks span, .phone-details-chunks span {
    border: 1px dashed #CCCCCC;
    padding: 5px;
    font-style: italic;
    font-size: 0.85em;
}

.features-stats {
    background-color: #FAFAFA;
    padding: 8px 15px;
    margin: 20px 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.features-stats-title {
    font-weight: bold;
    font-size: 16px;
    margin-top: 3px;
    margin-bottom: 10px;
}

.features-stats-row {
    font-size: 0.85em;
    margin-bottom: 5px;
}

#moderator-stats .stats-month {
    width: 200px;
    margin-bottom: 20px;
}

#moderator-stats .stats-month tr {
    vertical-align: top;
}

#moderator-stats .stats-month td, #moderator-stats .stats-month th {
    text-align: center;
}

#moderator-stats .stats-month td span.disabled {
    color: #CCCCCC;
}

#moderator-stats .stats {
    width: 220px;
    margin-bottom: 20px;
}

#moderator-stats .stats td {
    text-align: center;
    width: 30px;
}

#moderator-stats .stats td:nth-child(1) {
    text-align: left;
    width: 190px;
}

#chart-interval {
    width: 100px;
    margin-bottom: 0;
    height: 20px;
    line-height: 20px;
    padding: 1px 2px;
}

#moderator-select {
    width: 200px;
    margin-bottom: 0;
    height: 20px;
    line-height: 20px;
    padding: 1px 2px;
}

#firms-chart, #comments-chart {
    width: auto;
    height: 350px;
    border: 1px solid #AAAAAA;
    margin-bottom: 10px;
}

tr.week-selected td {
    background-color: #777;
    color: #FFF;
}

tr.week-selected td a {
    color: #FFF;
}

td.day-selected {
    background-color: #777;
    color: #FFF;
}

td.day-selected a {
    color: #FFF;
}

img.help-image {
    border: 1px solid #CCC;
}

#paid-promo-chart {
    min-height: 300px;
}

#free-promo-chart {
    min-height: 300px;
}

#tariff-form {
    margin-top: 20px;
}

#tariff-form h2 {
    margin-bottom: 20px;
}

table.current-tariff td:nth-child(1) {
    width: 160px;
    font-weight: bold;
}

table.current-tariff td ul {
    padding-left: 16px;
}

button.tariff-renew {
    color: #333333;
    font-size: 13px;
    font-weight: bold;
}

button.tariff-buy {
    color: #333333;
    font-size: 13px;
    font-weight: bold;
}

#tariff-months-count {
    width: 50px;
    margin-bottom: 0;
    padding: 2px 4px;
}

#tariff-cost, #tariff-total-cost {
    font-size: 1.25em;
    color: #ff6000;
}

#search-top-form table {
    width: 100%;
}

#search-top-form table td:nth-child(1) {
    width: 100%;
    padding-right: 15px;
    padding-top: 2px;
}

#search-top-form table td:nth-child(2) {
    padding-top: 2px;
}

#search-form-text {
    width: 100%;
    padding: 5px;
}

.alert-disabled {
    color: #999;
    background-color: #eee;
    border-color: #ddd;
}

.alert-disabled > span {
    color: #999 !important;
}

div.ya-pager {
    /*padding-left: 15px;
    padding-right: 15px;*/
    padding-top: 20px;
}

div.ya-pager:after {
    clear: both;
    content: " ";
    display: block;
    height: 0;
}

div.ya-pager div.ya-pager-label {
    float: left;
    padding: 5px;
    font-weight: bold;
    margin-right: 15px;
}

div.ya-pager div.ya-pager-arrows {
    float: left;
    padding: 5px;
}

div.ya-pager div.ya-pager-arrow {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

div.ya-pager div.ya-pager-arrow a {
    /*position: relative;
    top: 2px;*/
}

div.ya-pager div.ya-pager-item {
    float: left;
    padding: 5px 10px;
}

div.ya-pager div.ya-pager-item a {
    position: relative;
}

div.ya-pager div.ya-pager-active {
    background-color: #DBE7EC;
    font-weight: bold;
}

div.ya-pager div.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow: hidden;
}

div.ya-pager div.clearfix {
    display:block;
}

.firm-featured-comment {
    padding-left: 10px;
    margin-left: 20px;
    border-left: 1px solid #DDD;
}

.firm-featured-comment .fa-star-orange {
    color: orange;
}

.category-desc {
    margin-bottom: 20px;
}

.category-desc ul {
    padding-left: 18px;
}

.subcategories-buttons {
    margin-top: 20px;
    text-overflow: clip;
    overflow: hidden;
}

.subcategories-buttons .badge {
    background-color: #337ab7;
    font-size: 10px;
}

.subcategories-buttons .btn {
    text-align: left;
    margin-bottom: 10px;
    margin-right: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.subcategories-buttons sup {
    font-weight: bold;
}

h2.subcategory {
    margin-top: 30px;
}

.btn-hidden {
    display: none;
}

.btn-subcategory-all {
    font-weight: bold;
}

.vcontainer {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    padding: 10px;
    border: 1px solid orangered;
    margin-top: 20px;
    margin-bottom: 20px;
}

.vimage {
    width: 110px;
    flex: 0 0 auto;
}

.vimage img {
    width: 100px;
}

.vbody {

}

.vtitle {
    color: #337ab7;
    line-height: 22px;
    font-size: 22px;
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.vdesc {
    color: #333333;
    font-size: 14px;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.vbutton {
    color: #333333;
    font-size: 14px;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.media-widths .mw-1200 {
    display: none;
}

.media-widths .mw-992-1199 {
    display: none;
}

.media-widths .mw-768-991 {
    display: none;
}

.media-widths .mw-481-767 {
    display: none;
}

.media-widths .mw-480 {
    display: none;
}

@media (min-width: 1200px) {
    body {
        font-size: 15px;
        line-height: 1.4;
    }

    .media-widths .mw-1200 {
        display: inline;
    }

    .search-input {
        width: 845px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 15px;
        line-height: 1.4;
    }

    .media-widths .mw-992-1199 {
        display: inline;
    }

    .search-input {
        width: 645px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body {
        font-size: 15px;
        line-height: 1.4;
    }

    .media-widths .mw-768-991 {
        display: inline;
    }

    .search-input {
        width: 425px;
    }

    #sidebar {
        display: none;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .media-widths .mw-481-767 {
        display: inline;
    }

    body {
        padding-top: 0;
    }

    .navbar-fixed-top {
        position: relative;
        margin-bottom: 0;
    }

    h1 {
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    a.brand img {
        margin-top: 5px;
        margin-left: 15px;
        height: 30px;
        width: 150px;
    }

    .navbar-collapse.collapse.in {
        border-color: inherit;
        margin-top: 10px;
    }

    .nav.navbar-nav.navbar-right {
        display: none;
    }

    .nav.navbar-nav {
        margin-bottom: 0;
    }

    .navbar-toggle {
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-controls {
        display: none;
    }

    .search-input {
        width: 97%;
    }

    #sidebar {
        display: none;
    }

    /*.breadcrumb {
        display: none;
    }*/

    #firms-map {
        display: none;
        margin-top: 10px;
    }

    #show-firms-map {
        display: block;
        margin-bottom: 15px;
    }
}

@media (max-width:480px) {
    .media-widths .mw-480 {
        display: inline;
    }

    body {
        padding-top: 0;
    }

    .navbar-fixed-top {
        position: relative;
        margin-bottom: 0;
    }

    h1 {
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    a.brand img {
        margin-top: 5px;
        margin-left: 15px;
        height: 30px;
        width: 150px;
    }

    .navbar-collapse.collapse.in {
        border-color: inherit;
        margin-top: 10px;
    }

    .nav.navbar-nav.navbar-right {
        display: none;
    }

    .nav.navbar-nav {
        margin-bottom: 0;
    }

    .navbar-toggle {
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-controls {
        display: none;
    }

    .search-input {
        width: 97%;
    }

    #sidebar {
        display: none;
    }

    /*.breadcrumb {
        display: none;
    }*/

    #firms-map {
        display: none;
        margin-top: 10px;
    }

    #show-firms-map {
        display: block;
        margin-bottom: 15px;
    }

    .subcategories-buttons .btn {
        max-width: 385px;
    }
}

@media (max-width:480px) and (orientation:landscape) {
}

@media (max-width:480px) and (orientation:portrait) {

}

