/*
$color-blue: #2e4a6f;
$color-red: #880000;
$color-blue-light: #2586be;
$color-grey: #848484;
$color-red-logo: #db0000;
*/

textarea {
    width: 100%;
    padding: 5px;
}

input,
textarea,
select {
    border: 1px solid #ccc;
}

.text-blue {
    color: #0776b6;
}

.text-blue-light {
    color: #2690e4;
}

.text-align-justify {
    text-align: justify;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.form-group {
    margin-bottom: 10px;
}

.btn-red {
    background: url('../images/btn-red.png');
    min-width: 270px;
    border-radius: 5px;
    border: none;
    height: 44px;
    padding: 0 25px;
    color: #fff;
    font-size: 22px;
}

.btn-red-small {
    font-size: 16px;
    height: 30px;
}

.page-wrapper {
    position: relative;
    overflow: hidden;
}

.row {
    margin: 0;
}

.display-table {
    display: table;
}

.display-table-cell {
     display: table-cell;
     vertical-align: top;
}

.vertical-align-middle {
    vertical-align: middle;
}

.display-table-cell.image-col {
    width: 220px;
    margin-right: 10px;
}

#company-profile, #company-profile-blocked {
    overflow: hidden;
}

#company-profile .contact .links.links a {
    background: none;
    border: none;
    color: #848484;
    text-decoration: none;
    height: 18px;
    line-height: 18px;
}

#company-profile .contact .links.links a:hover,
#company-profile .contact .links.links a:focus {
    color: #2e4a6f !important;
    text-decoration: underline;
}

.btn-email,
.btn-phone {
    background: url('../images/button_email_request.png') no-repeat center center;
    border-radius: 5px;
    width: 100%;
    height: 30px;
    padding: 0;
    margin-bottom: 5px;
    cursor: pointer;
}

.btn-phone {
    background: url('../images/button_phone_request.png') no-repeat center center;
}

.btn-email a,
.btn-phone a {
    width: inherit;
    height: inherit;
    display: block;
}

.btn-email a span,
.btn-phone a span {
    display: none;
}

.company-phone {
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    color: #880000;
}

#company-profile .contact .title textarea,
#company-profile-blocked .contact .title textarea {
    color: #2e4a6f;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
}

#company-profile .contact .address,
#company-profile-blocked .contact .address {
    padding: 0;
}

.sidebar-popular.prices .item .price,
.sidebar-popular.prices .item .price span {
    font-weight: bold;
    color: #db0000;
}

header .collapse-menu {
    position: absolute;
    width: 40px;
    cursor: pointer;
    height: 40px;
    top: 18px;
    display: none;
    padding: 15px;
    left: 20px;
}

header .collapse-menu span {
    position: absolute;
    width: 30px;
    margin: 0;
    display: block;
}

header .collapse-menu span,
header .collapse-menu span::before,
header .collapse-menu span::after {
    transition: all 0.2s ease;
    border-radius: 2px;
    width: 30px;
    content: "";
    position: absolute;
    height: 5px;
    background: #db0000;
    left: 0;
}

header .collapse-menu span::before {
    top: -9px;
}

header .collapse-menu span::after {
    bottom: -9px;
}

header .collapse-menu.inactive span::before {
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    width: 30px;
    height: 5px;
    top: 0;
}

header .collapse-menu.inactive span {
    height: 0;
}

header .collapse-menu.inactive span::after {
    -ms-transform: rotate(-45deg); /* IE 9 */
    -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
    transform: rotate(-45deg);
    width: 30px;
    height: 5px;
    top: 0;
}

header .btn-close-search,
header .search-icon {
    cursor: pointer;
    position: absolute;
    color: #db0000;
    font-size: 25px;
    top: 22px;
    right: 15px;
}

#header #logo {
    top: 17px;
}

.company-profile-mobile {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #808080;
    background: #e5e5e5;
    padding: 20px;
    width: 100%;
}

.company-profile-mobile .title {
    font-size: 20px;
    line-height: 25px;
    color: #2586be;
    margin-bottom: 10px;
}

.company-profile-mobile .photo {
    margin-left: 10px;
}

.company-profile-mobile .photo img {
    max-width: 175px !important;
    border: 1px solid #808080;
    float: right;
    width: auto;
}

.popup.photo .content .inner .img {
    border: 1px solid #ccc;
    float: none;
}

.btn-read-more {
    width: auto !important;
    display: block;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background: #f4f4f4;
    margin: 20px auto 10px auto;
    padding: 10px 30px;
}

.btn-read-more:before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 100%);
    content: '';
    position: absolute;
    bottom: 110px;
    right: 0;
    left: 0;
    height: 200px;
}

.front1,
.front2 {
    cursor: pointer;
}

#fancybox-wrap {
    box-sizing: content-box !important;
}

.popup.price .form .title input,
.popup.price .form textarea {
    width: 100%;
}

.popup.photo .content .inner .img img,
.popup.price .img img {
    max-width: 100% !important;
    width: auto; !important;
    margin: 0 auto;
}

.advice-create-page {
    background: #f7f7f7;
}

.advice-create-page #page #container,
.advice-create-page #page #container #content #footer {
    padding-top: 0;
    background: none;
    border: none;
}

.advice-create-page input,
.advice-create-page .form textarea {
    border: 1px solid #c8c8c8;
    border-radius: 5px;
    width: 100%;
}

.advice-create-page input {
    height: 30px;
}

.advice-create-page .form textarea {
    height: 100px;
    resize: none;
}

.advice-create-page .btn-email {
    width: 190px;
}

.advice-create-page .btn-back {
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    background: #f4f4f4;
    padding: 8px 30px 7px 30px;
}

.advice-create-page .company {
    display: inline-block;
    line-height: 13px;
    padding: 2px 20px 2px 5px;
    margin-right: 3px;
    margin-bottom: 3px;
    border: 1px solid #c5c2c4;
    background: #efefef;
    color: #333;
    border-radius: 3px;
}

.advice-create-page .row {
    margin-left: -15px;
    margin-right: -15px;
}

.navigationTop ul li.active a {
    height: 39px !important;
}

#home-content a img {
    max-width: 100%;
}

#home-content .itemView .gallery .block .image a {
    height: auto;
}

#main-content .itemPhoto .block .price,
.itemView.prices .price{
    color: #c00 !important;
}

.form .row.frontend .field input.textField {
    height: 20px;
}

.textarea-profile-address {
    height: 60px !important;
    resize: none;
}

.nav .empty a {
    border: 1px solid #767676;
    border-radius: 3px;
    background: #f7f7f8;
    color: #535353;
}

.btn-three,
a.btn-three {
    height: 24px;
    font-size: 13px;
}

.btn-three.with-email-icon span {
    padding-right: 26px;
    background: url(/images/icons/icon_letter.png) right center no-repeat;
}

#header #search {
    border: 1px solid #db0000;
    background: none;
    height: 27px;
}

#header #search .searchButton,
#header #search .searchButton:hover{
    width: 27px;
    height: 27px;
    top: 0;
}

#header #search .searchButton i {
    display: block;
    font-size: 18px;
    text-align: center;
    line-height: 24px;
    color: #574b44;
}

.nav .level-1 .sublevel .current {
    background: #0073ce;
}

.nav .level-1 .sublevel .sub:hover {
    border-radius: 5px;
    background: #2690e4;
}

.nav .level-1 .sublevel .empty.sub:hover .inactive,
.nav .level-1 .sublevel .sub:not(.empty):hover > a {
    color: #fff;
}

.partial-get-offers {
    background: url(/images/offers.png) left top no-repeat;
    width: 214px;
    margin-left: 0;
    padding-top: 90px;
    float: left;
}

.partial-get-offers .content-wrapper {
    position: relative;
    height: 92px;
}

#column-right .block .blockInner .popupBtn2,
#column-right .block .blockInner .popupBtnSpecial {
    height: 30px;
    width: 187px;
    margin-left: 14px;
}

.partial-get-offers .content-wrapper .popupBtn1 {
    background: url(/images/button_red.png) center center no-repeat;
    margin: 25px 0 15px 14px;
    display: block;
    height: 30px;
    width: 187px;
}

#column-right .block .blockInner .popupBtn2,
#column-right .block .blockInner .popupBtnSpecial {
    margin-top: 20px;
}

.partial-get-offers .category-wrapper,
#column-right .category-wrapper {
    padding: 0 20px;
    color: #1f1f1f;
    line-height: 17px;
    font-size: 12px;
}

.partial-get-offers .content-wrapper .categorySelected,
#column-right .block .blockInner .categorySelected {
    background: url(/images/triangle-small.png) 124px 6px no-repeat;
    display: inline-block !important;
    border-radius: 3px;
    width: 140px;
    height: 20px;
    cursor: pointer;
    border: 1px solid #aaa;
}

.partial-get-offers .content-wrapper .categorySelected input,
#column-right .block .blockInner .categorySelected input {
    width: 120px;
    border: none;
    background: 0 0;
    padding: 0 0 0 5px;
}

#main-content .navigationTop ul li a {
    background: #0073ce;
}

#main-content .navigationTop ul li a:hover {
    background: #2690e4;
}

#main-content .navigationTop ul li a i {
    background-position: -8px -6px;
    height: 20px;
}

#main-content .navigationTop ul li a i.advices {
    background-position: -126px -6px;
}

#main-content .navigationTop ul li a i.articles {
    background-position: -301px -6px;
}

#main-content .navigationTop ul li a i.prices {
    background-position: -420px -6px;
}

#main-content .navigationTop ul li a:hover i {
    background-position-y: -49px;
}

#main-content .navigationTop ul li.active a i {
    background-position-y: -91px;
}

#company-profile-blocked #company-email {
    background: url("/images/button_email_request.png") no-repeat;
    position: relative;
    width: 187px;
    height: 30px;
}

#company-profile-blocked #company-email a {
    position: absolute;
    width: inherit;
    height: inherit;
    left: 0;
    top: 0;
}

#company-profile-blocked #company-email span {
    display: none;
}

.popup.photo .content .inner .txt .companyPhone {
    background: linear-gradient(#fff, #eaeaea);
    background: -webkit-gradient(linear,0 0,0 100%, from(#fff), to(#eaeaea));
    background: -webkit-linear-gradient(top, #fff, #eaeaea);
    background: -moz-linear-gradient(top, #fff, #eaeaea);
    padding: 0 20px;
}

.popup.photo .content .inner .txt .companyPhone a {
    text-decoration: none;
    font-size: 12px;
    color: #535353;
}

.sidebar-catalog-item {
    width: 214px;
    float: right;
}

.popup .content-all-companies {
    display: none;
}

.popup-all-companies:not(.automatic_popup) .content-all-companies {
    display: block;
}

.popup-all-companies:not(.automatic_popup) .col2 #users-all {
    display: none;
}

.popup-all-companies:not(.automatic_popup) .col2 {
    min-height: 20px;
}

.popup-all-companies:not(.automatic_popup) .col2 .label2 {
    display: inline-block;
    float: right;
    padding-right: 212px;
    line-height: 20px;
}

.popup#request.automatic_popup .inner .label2 {
    padding-left: 257px !important;
}

.flash-success-red {
    color: #ff0000;
}

.message-disallowed-comment {
    margin: 20px 0;
    color: #848484;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: none;
}

.catalog-uploaded-images {
    padding: 20px 0 0 20px;
}

.catalog-uploaded-images .itemPhoto {
    width: 550px !important;
}

.catalog-uploaded-images .itemPhoto.catalog {
    margin: 0 !important;
}

.catalog-uploaded-images .itemPhoto .block {
    margin: 0 50px 20px 0 !important;
}

.catalog-uploaded-images a.remove-photo {
    color: #555; !important;
}

.notice-describe-price {
    float: left;
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid #c00;
}

.notice-describe-price a {
    color: #c00 !important;
    font-weight: bold;
}

.row-show-answer-checkbox {
    margin-left: 120px;
}

.row-answer-form-contacts .advice-block-title {
    width: 115px;
}

.page-write-answer a {
    color: #0026ff;
}

#catalog-form .row-buttons {
    text-align: right;
}

#catalog-form .row-buttons .btn-one {
    margin-left: 20px;
}

.itemView.catalog iframe,
.redactor_editor iframe {
    max-width: 100%;
}

.itemPhoto.catalog a.update-price,
.item-summary-block.user a.update {
    color: #c00 !important;
}

.form-catalog-is-new-record .update-price {
    display: none;
}

.user-logout-block {
    margin-top: 30px;
    font-size: 15px;
    color: #848484;
}

.user-logout-block .logout a span::after {
    content: "x";
    width: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    margin-left: 5px;
    background: #800;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
}

.user-logout-block .logout a {
    color: #2586be;
    float: right;
}

.user-logout-block .logout a:hover {
    color: #800;
    text-decoration: underline;
}

.user-logout-block .title a {
    font-size: 15px;
    color: #848484;
}

.two-column .catalog .user-logout-block {
    margin-top: 0;
    margin-bottom: 25px;
}

.admin-statistic {
    margin: 0 10px 20px;
    color: #000;
}

.advice-category {
    margin: -2px 0 5px 27px;
    color: #2586be;
    font-size: 13px;
}

.advice-category .link-change-rules {
    font-size: 12px;
    color: #db0000;
}

.itemView .advice-category {
    margin: 0;
}

#catalog-form .publish-item {
    display: inline-block;
}

#catalog-form .btn-item-delete {
    padding-right: 7px;
}

.border-bottom-solid-grey {
    border-bottom: 1px solid #d4d4d4;
}

.border-bottom-dotted-grey {
    border-bottom: 1px dotted #d4d4d4;
}

.border-bottom-solid-grey_2px {
    border-bottom: 2px solid #d4d4d4;
}

.sidebar-calculator {
    margin-top: 40px;
    overflow: hidden;
    border: 1px solid #cecece;
    padding: 20px;
}

.sidebar-calculator img {
    max-width: 100%;
    margin-bottom: 10px;
}

.sidebar-calculator .title {
    line-height: 22px;
    font-size: 19px;
    color: #0776b6;
}

.sidebar-calculator a {
    text-decoration: none;
    text-align: center;
    display: block;
}

#column-right {
    padding-top: 30px;
}

.sidebar-popular {
    padding: 0;
}

.widgets .adform-adbox,
.user-logout-block,
.sidebar-popular,
.widgets img {
    margin: 0 0 30px;
}

.user-rating-reviews-block {
    border-top: 1px solid #ccc;
    padding-top: 15px;
    margin: 0 15px;
    color: #535353;
}

.user-rating-row {
    font-size: 16px;
}

.user-review-block {
    margin: 0 -15px;
    background: #f2f2f2;
    padding: 10px 15px;
}

.user-review-block:nth-child(even) {
    background: #fff;
}

.user-review-block .initials {
    text-transform: uppercase;
    background: #2e4a6f;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    height: 32px;
    width: 32px;
    color: #fff;
}

.user-review-block:nth-child(3n + 1) .initials {
    background: #0073ce;
}

.user-review-block:nth-child(3n + 2) .initials {
    background: #7fc9ff;
}

.item-review-summary-block .icon,
.user-review-block .icon {
    width: 32px;
    height: 25px;
}

.item-review-summary-block .icon-like,
.user-review-block .icon-like {
    background: url('../images/icons/icon-like.png') no-repeat;
}

.item-review-summary-block .icon-dislike,
.user-review-block .icon-dislike {
    background: url('../images/icons/icon-dislike.png') no-repeat;
}

.user-review-block .header {
    word-break: break-all;
    font-size: 10px;
    display: flex;
}

.user-review-block .header .user-review-block-content {
    padding: 0 5px;
    flex: 1;
}

.user-reviews-count-block {
    cursor: pointer;
}

.user-reviews-count-block .icon-arrow-up {
    transform: rotate(-90deg);
    margin-left: 5px;
    margin-top: 1px;
    position: absolute;
    font-size: 25px;

}

.user-reviews-count-block.active .icon-arrow-up {
    transform: rotate(90deg);
    margin-left: 10px;
}

.user-reviews-wrapper.active{
    height: 100%;
}

.user-reviews-wrapper {
    height: 0;
}

.item-review-summary-block {
    justify-content: end;
    display: flex;
    color: #848484;
}

.item-review-summary-block .icon {
    display: inline-block;
}

.user-review-block .review {
    color: #000;
}

.main-page-content-block {
    padding-bottom: 25px;
    margin: 0 auto;
    width: 980px;
}
