.newjob_button {
    margin-bottom: 0px;
    margin-right: 20px;
}

h1 {
    font-size: 3em;
}

#map {
    /*width:350px;*/
    height: 200px;
    margin-bottom: 20px;
}

.company-header {
    padding-bottom: 10px;
    /*margin-bottom:10px;*/
    border-bottom: 1px solid #DDD;
}

.company-header span.profile_title {
    font-size: 1.7em;
    font-family: 'Trebuchet MS';
}

/*#contact-person*/

.block-contact-picture {
    text-align: center;
    width: 100px;
    min-width: 100px;
    float: left;
}

.block-contact-info {
    float: right;
    width: 58%;
}

#contact-person .default_contact_picture {
    min-width: 90px;
    max-width: 90px;
    height: 108px;
    max-height: 108px;
    background-image: linear-gradient(#01944d, #5ff14e);
    color: #fff;
    font-size: .85em;
    font-weight: bold;
    padding: 5px;
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    float: none;
    line-height: unset;
    margin-top: auto;
}

#contact-person .contact_picture {
    padding: 5px;
    background: #fff;
}

#contact-person .contact_name {
    margin-top: 3px;
}

#contact-person .contact_name h2 {
    font-weight: bold;
    font-size: inherit;
    color: inherit;
    text-shadow: inherit;
    margin: inherit;
    line-height: inherit;
}

.info {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.2em;
}

.images {
    margin-bottom: 10px;
}

.images .fancybox .icon-play {
    position: relative;
    left: 8%;
}

.images .fancybox video {
    vertical-align: middle;
}

.company_options h3 {
    display: inline;
}

.outline {
    background: #FFE7A1;
    padding: 0 10px;
}

.newjob_link_style {
    background: #ff7f27;
    color: #fff;
    font-weight: normal;
    padding: 7px 24px;
    margin: 45px 0 0;
}

.error-message {
    height: 30px;
}

.error-text {
    background: red;
    color: #fff;
    margin: 10px 10px 10px 0;
    padding: 4px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 11px;
}

@media (max-width:767px) {
    #map {
        width: 100%;
        margin-top: 15px;
    }
    .company-header .span10 h1 {
        font-size: 28px;
    }
    .company-header span.profile_title {
        font-size: 16px;
    }
    .company-header .company_name {
        font-size: 22px;
    }
    .company-header .span2 .batton_popup_new {
        padding: 2%;
        width: 96%;
        margin-top: 15px;
    }
}

.btn_login_facebook_modal {
    display: block;
    color: white;
    width: 88%;
    font-family: helvetica, arial, sans-serif;
    background: #4c69ba;
    background: linear-gradient(#4c69ba, #3b55a0);
    border-color: #4c69ba;
    border-radius: 2px;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 -1px 0 #354c8c;
    padding: 6px 7px;
}

.btn_login_facebook_modal:hover {
    background: linear-gradient(#5b7bd5, #4864b1);
    border-bottom-color: #3b5998;
    border-left-color: #4961a8;
    border-right-color: #4961a8;
    border-top-color: #5874c3;
    box-shadow: inset 0 1px 0 #607fd6;
    cursor: pointer;
    color: #fff;
}

.btn_login_facebook_icon {
    margin: 3px 0 0 3px
}

.block_review_2_messages img.emojione {
    height: 20px;
}

.popover-title {
    display: none;
}

#reports textarea {
    width: 97%;
    height: 90px;
}

.hint-show-page-btn {
    width: 85%;
    margin-bottom: 10px;
    background: #e1e1e1;
    color: #7f90b1;
}

.hint-show-page {
    background: rgb(127, 127, 127);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 10px;
    border: 0;
    text-shadow: none;
}

@media(max-width: 979px) {
    .show-phons-company.show-phons-company-click {
        color: #0E8EAB;
        text-decoration: underline;
    }
    .show-phons-company.show-phons-company-click span {
        color: #0E8EAB !important;
    }
    .phone-company div:first-child {
        color: #0E8EAB;
        text-decoration: underline;
    }

    .show_review .new-stars {
        color: #fff;
    }
}

#topmenuwrap {
    position: relative;
}

.search-block-company {
    position: absolute;
    background: #fff;
    width: 185px;
    height: 26px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.search-block-company .search-bar {
    display: block;
    height: 25px;
    border: none;
    outline: none;
}

.search-block-company .search-bar .search-firm-topcomp.tt-hint, .search-block-company .search-bar .search-firm-topcomp.tt-input {
    margin: 0;
    padding: 0 1.5%;
    height: 25px !important;
}

.search-block-company .search-bar .send-search-firm {
    height: 25px;
    background: none;
    line-height: normal;
    padding: 0 4px 0 0;
    background: #fff;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.search-block-company .search-bar .send-search-firm img {
    margin-top: 2px;
}

.search-block-company-li {
    width: 185px;
    height: 26px;
    margin-top: 6px;
    line-height: normal;
}

.search-block-company .search-bar .search-firm-topcomp.tt-input {
    width: 82%;
}

.search-block-company-li:hover, .search-block-company-li:focus, .search-block-company-li:hover a, .search-block-company-li:focus a {
    background: none !important;
}

.search-block-company .search-bar .tt-menu {
    margin: 3px 0;
    overflow: hidden;
    width: 303px;
}

.tt-dataset.tt-dataset-category-names .tt-suggestion.tt-selectable {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-dataset.tt-dataset-company-names .tt-suggestion.tt-selectable>div:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*width: 99px;*/
    width: 207px;
    margin-top: 3px;
}

.search-block-company-li .tt-menu .tt-dataset.tt-dataset-company-names .tt-suggestion.tt-selectable>div:nth-child(2) {
    margin: 0px 0 0 10px !important;
}

.search-block-company-li .overall-rating {
    height: 20px;
}

.status-inform div .pull-left {
    font-weight: bold;
}

.status-inform div .pull-left.text {
    color: #187e37;
}

.status-inform .circle {
    background: #24bd52 !important;
    border: 0;
}

.new_color_block, #ratings .review, #publicratings .review, #friendratings .review, .load_reviews, .load_publicreview, .load_friendtestimonials {
    background: #e6e6e6 !important;
}

.new_color_block .span12>h2 {
    font-size: 18px;
}

/*Eugene styles*/

.item-box-desc {
    width: 52%;
}

.item-box-name-2 {
    width: 52%;
}

.item-box-btn-2 {
    font-size: 20px;
}

.item-box-price-2, .item-box-btn-2 {
    text-align: right;
    width: 20%;
}

.modal-images {
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
}

.modal-images a {
    flex: 1 0 21%;
    margin: 5px;
}

.modal-images a img {
    max-height: 65px;
}

@media (max-width: 768px) {
    .item-box-desc {
        width: 100%;
    }
    .item-box-price-2 {
        text-align: center;
        font-size: 14px !important;
    }
    .item-box-name-2, .item-box-btn-2 {
        font-size: 14px !important;
    }
}

@media (max-width: 400px) {
    .modal-images a {
        flex: 1 0 45%;
    }
}