#block-firmsrating-main {
    float: left;
    width: 960px;
    height: 387px;
    margin-left: -20px;
    background-image: url('/sites/all/modules/custom/firmsrating/images/firmsrating_back1.jpg');
}

.firmsrating_mainblock {
    float: left;
    width: 930px;
    margin: 5px 0 0 15px;
}

.firmsrating_mainblock .header1 {
    float: left;
    width: 100%;
    margin: 10px 0 3px 0;
    height: 22px;
}

.firmsrating_mainblock .title1 {
    float: left;
    color: #263c27;    
    font-size: 19px;
    font-weight: bold;
    font-family: Sans-serif, DejaVu Sans;
}

.firmsrating_mainblock .currency {
    color: #ffc81f;
    font-weight: bold;
}

.firmsrating_mainblock .title2 {
    float: right;
    color: #fff;    
    font-size: 19px;   
    font-style: italic;
    font-family: Sans-serif, DejaVu Sans;
}

.firmsrating_mainblock .header2 {
    float: left;
    width: 100%;
    height: 32px;
    background: #59781c;
    color: #fff;
    font-family: Sans-serif, DejaVu Sans;
    font-size: 15px;
    line-height: 15px;
    font-weight: bold;    
}

.firmsrating_mainblock .title_image {
    float: left;
    height: 22px;
    width: 22px;
    margin: -5px 5px 0 0;
}

.firmsrating_mainblock #spravochnik {
    float: left;
    margin: 10px 0 0 10px;
}

.firmsrating_mainblock #rating {
    float: left;
    width: 428px;
    margin: 10px 0 0 192px;
}

.firmsrating_mainblock .title_link { 
    float: left;
    font-size: 11px;   
    line-height: 11px;
    color: #c9ee7f;    
    font-weight: normal;
    margin: 1px 0 0 10px;
}

.firmsrating_mainblock .urating_splash {
    margin-top: 0;
}

.firmsrating_mainblock .title_link a{
    color: #c9ee7f;
    text-decoration: underline;
}

.firmsrating_mainblock .title_link a:hover {
    text-decoration: none;
}


.firmsrating_mainblock #map {
    float: right;
    margin: 10px 36px 0 0;
}


.firmsrating_add {
    float: right;
    margin: 4px 0 0 10px;
    background-color: #ef4b2c;
    color: #fff;
    text-decoration: none;
    padding: 5px 8px;
    font-family: Sans-serif, DejaVu Sans;
    font-size: 14px;
    font-weight: bold;
    line-height: 14px;
    height: 14px;    
    border: solid 1px #9e321c;
}

.firmsrating_mainblock .firmsrating_all {
    float: left;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    margin-top: 10px;
}


.firmsrating_mainblock .content {
    float: left;
    height: 312px;
    width: 930px;    
    padding: 0;
}

.firmsrating_firm_main {
    float: left;
    background: #2c3f06;
    width: 100%;
    height: 138px;       
}

.firmsrating_firm_main .info {
    float: left;
    width: 320px;
    height: 119px;
    margin: 10px 0 0 7px;        
}

.firmsrating_firm_main .rating {
    float: left;
    width: 52px;
    height: 80px;
    margin: 25px 5px 20px 0;
    font-family: Sans-serif, DejaVu Sans;
    font-weight: bold;
    color: #aacb67;
}

.firmsrating_firm_main .score {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 20px;       
}

.firmsrating_firm_main .rating_img {
    float: left;
    width: 28px;
    height: 28px;
    margin: 10px 0 2px 12px;
}

.firmsrating_firm_main .count {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 15px;   
    margin-top: 6px;
}

.firmsrating_firm_main .firmsection {
    float: left;
    width: 260px;
    font-size: 12px;
    font-weight: bold;
    color: #aacb67;
    margin-bottom: 4px;
}

.firmsrating_firm_main .image {
    float: left;
    width: 80px;
    height: 60px;
    margin: 1px 6px 4px 0;
    border: 3px solid #658904;
}

.firmsrating_firm_main .name {
    float: left;
    width: 160px;
    margin-top: 5px;
    font-size: 14px;
    color: #f1bf1d;   
    line-height: 16px;
}

.firmsrating_firm_main .name p {
    margin: 0;
}

.firmsrating_firm_main .coord {
    float: left;
    width: 260px;
    height: 12px;
    overflow: hidden;
    font-size: 12px;
    line-height: 12px;
    color: #aacb67;  
    margin: 2px 0; 
    font-family: Sans-serif, DejaVu Sans;
}

.firmsrating_firm_main .coord .title {
    color: #61831e;
    font-weight: bold;
}

.firmsrating_firm_main .comments {
    float: left;
    width: 442px;
    height: 133px;    
    background: #3c550c;
    border-top: solid 4px #e3ffac;
}

.firmsrating_firm_main .comments_count {
    float: left;
    margin: 8px 0 0 80px;
    height: 12px;
    line-height: 9px;
    font-size: 11px;
    color: #fff;
    background-image: url('/sites/all/modules/custom/firmsrating/images/icon_comment3.png');
    background-repeat: no-repeat; 
    padding-left: 16px;
}

.firmsrating_firm_main .comment_add {
    float: right;
    color: #c9ee7f;
    height: 12px;
    line-height: 9px;
    font-size: 11px;
    margin: 7px 10px 0 0; 
    background-image: url('/sites/all/modules/custom/firmsrating/images/icon_pencil.png');
    background-repeat: no-repeat; 
    padding-left: 16px;
}

.firmsrating_firm_main .comment_add a{
    color: #c9ee7f;    
}

.firmsrating_firm_main .map {
    float: left;
    margin: 0 0 0 15px;
}

.firmsrating_firm_main .map_icons {
    float: left;
    width: 92px;
    height: 15px;    
    margin: 5px 0 0 34px;
}

.firmsrating_firm_main .comment_add:hover {
    text-decoration: none;
}

.firmsrating_comment_main {
    width: 433px;
    height: 30px;
    background: #e3ffac;
    padding: 0 0 6px 9px;
}

.firmsrating_comment_main .vote_img {
    float: left;
    height: 20px;
    width: 20px;
    margin: 7px 1px 0 2px;
}

.firmsrating_comment_main .vote {
    float: left;
    height: 15px; 
    width: 20px;
    font-size: 15px;    
    font-weight: bold;
    font-family: Sans-serif, DejaVu Sans;    
    margin: 10px 2px 0 3px;
    color: #fff;
}

.firmsrating_comment_main .comment_submited {
    float: left;
    width: 82px;
    margin: 0 6px 0 0;  
    text-align: right;
}

.firmsrating_comment_main .name {
    float: left;
    width: 100%;
    height: 14px;
    font-size: 10px;  
    font-weight: bold;
    color: #263c27;
    margin: 0;
    overflow: hidden;    
}

.firmsrating_comment_main .date {
    float: left;
    width: 100%;
    height: 11px;
    font-size: 11px;
    font-weight: bold;
    font-family: Sans-serif, DejaVu Sans;     
    color: #78a226;   
}

.firmsrating_comment_main .text_img {
    float: left;
    height: 32px;
    width: 11px;
    background-image: url('/sites/all/modules/custom/firmsrating/images/comment_img1.png');
    background-repeat: no-repeat;
}

.firmsrating_comment_main .text_wrap {
    float: left;
    background-color: #fff;    
    height: 30px;
    width: 280px;    
    border: solid 1px #78a127;
    border-left: none;    
}

.firmsrating_comment_main .text {
    float: left;
    height: 23px;
    width: 272px;    
    font-size: 11px;
    line-height: 11px;
    color: #263c27;
    margin: 3px 5px;
    overflow: hidden;
}

#firmrating_add {   
    width: 345px;
    margin: 1px 0 0 0;
}

#firmrating_all {  
    width: 645px;
    margin: 1px 0 0 10px;
}


.firms_wrap {
    float: left;
    width: 645px;
    border: solid 1px #98ca33;
    padding-left: 10px;
    background: #f5ffe2;
    margin-bottom: 15px;
}

.firm_section {
    float: left;    
    width: 100%;
    margin: 3px 0;
    cursor: pointer;
}

.firm_section .symbol {
    float: left;
    height: 16px;
    width: 16px;
    border: 1px solid #6f9a21;
    color: #6f9a21;
    font-size: 15px;
    /*line-height: 18px;
    font-weight: bold;*/
    text-align: center;
    padding: 0;   
    margin: 7px 0 0 0;
}

.firm_section .symbol:hover {
    color: #263c27;
}

.firm_section .folder {
    float: left;
    height: 23px;
    width: 32px;        
    margin: 4px 5px 0 5px;
    background-image: url('/sites/all/modules/custom/firmsrating/images/folder32x23.png');
}

.firm_section .folder .text {
    text-align: center;
    font-size: 8px;
    font-weight: bold;
    width: 100%;
    height: 9px;    
    margin-top: 9px;
    color: #000;
}

.firm_section .count {
    float: left;
    color: #6f9921;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
}

.firm_section .name {
    float: left;
    height: 14px;
    width: 550px;
    color: #263c27;
    font-size: 13px;
    font-weight: bold;
    margin-top: 9px;
}

.firm_section .name .txt {
    float: left;
}

.firm_section .name:hover {
    color: #6f9a21;
}

.firm_section .children {
    float: left;
    width: 95%;
    margin-left: 5%;
    display: none;
}

.firm_section .firms {
    float: left;
    width: 542px;
    margin: 5px 0 0 60px; 
    cursor: auto;
}

.firms_title_wrap {
    float: left;
    height: 26px;
    background: #4d6919;
    width: 542px;  
}

.firms_title_wrap .firms_title {
    float: left;
    margin-top: 6px;    
    height: 10px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.firms_title_wrap .v_line {
    float: left;
    width: 1px;
    background: #98ca33;
    height: 100%;
}


.firmsrating_firm_teaser {
    float: left;
    width: 540px;
    height: 60px;
    border: 1px solid #98ca33;
    border-top: none;
    background: #f5ffe2;
}

.firmsrating_firm_teaser p {
    margin: 0;
}

.firmsrating_firm_teaser a {
    color: #000;
    text-decoration: none;
}

.firmsrating_firm_teaser a:hover {
    text-decoration: underline;
}

.firmsrating_firm_teaser .col1 {
    float: left;
    width: 57px; 
    height: 58px;
    padding: 3px; 
    text-align: center;       
}

.firmsrating_firm_teaser .col2 {
    float: left;
    width: 154px;         
    height: 54px;
    text-align: center;
    background-color: #e4f0ce;
    padding: 3px;   
    overflow: hidden;
    font-size: 11px;  
    font-weight: bold;
    border-left: solid 1px #98ca33;
    border-right: solid 1px #98ca33;
}

.firmsrating_firm_teaser .col2 .cell_wrap {
  display: table;
  width: 100%;
  height: 54px;
  overflow: hidden;
}

.firmsrating_firm_teaser .col2 .cell {
  display: table-cell;
  vertical-align: middle;
}

.firmsrating_firm_teaser .col2 .for_ie {
  display: none;
  width: 1px;
  margin-left: -1px;
}

*+html .firmsrating_firm_teaser .col2 .for_ie, *+html .firmsrating_firm_teaser .col2 .valign {
  display: inline-block;
  vertical-align: middle;
}
*+html .firmsrating_firm_teaser .col2 .valign {
  width: 100%;
}
*+html .firmsrating_firm_teaser .col2 .for_ie {
  height: 100%;
}
*+html .firmsrating_firm_teaser .col2 .for_ie, *+html .firmsrating_firm_teaser .col2 .valign {
  display: inline;
}


.firmsrating_firm_teaser .col3 {
    float: left;
    height: 54px;
    width: 264px;
    text-align: center;
    padding: 3px; 
    font-size: 10px;  
    overflow: hidden;     
    border-right: solid 1px #98ca33;
}

.firmsrating_firm_teaser .col4 {
    float: left;
    width: 38px; 
    height: 54px; 
    padding: 3px;     
    background-color: #e4f0ce;    
}

.firmsrating_firm_teaser .score {
    float: left;
    color: #61831e;
    font-size: 18px;
    width: 100%;
    height: 17px;  
    margin-top: 3px;
}

.firmsrating_firm_teaser .bottom {
    float: left;
    width: 428px;
    height: 16px;
    font-size: 10px;   
    color: #caec69;
    padding-left: 5px;
    border-top: solid 1px #98ca33;    
    background: #3c550c;
}

.firmsrating_firm_teaser .more {
    float: left;   
    text-decoration: none;
    width: 30px; 
    height: 30px;  
    margin: 13px 0 0 4px;
}

.firmsrating_firm_teaser .more:hover {
    width: 32px;
    height: 32px;  
}

.firmsrating_firm_teaser .admin {
    float: left;
    width: 16px;
    height: 16px;
    margin: 1px 0 2px 11px;
    cursor: pointer;
}

.firmsrating_firm_teaser .admin:hover {
    width: 17px;
    height: 17px;
    margin-bottom: 1px;
}

.firmsrating_firm_teaser .admin_edit {
    
}

.firmsrating_firm_teaser .admin_delete {
    
}

.firmsrating_firm_teaser .rating {
    float: left;
    color: #70ad08;
    font-size: 10px;
    line-height: 11px;
    height: 30px;
    width: 20px;
    margin: 2px 4px 2px 4px;
    text-align: center;
}

.firmsrating_firm_teaser .like {
    float: left;
    width: 20px;
    color: #70ad08;   
}

.firmsrating_firm_teaser .dislike {
    float: left;
    width: 20px;
    color: #fd0d01;   
}



.firmsrating_firm {
    float: left;
    width: 100%;
}

.firmsrating_firm .info_wrap {
    float: left;
    background: #2c3f06;
}

.firmsrating_firm .info {
    float: left;
    width: 278px;
    min-height: 280px;
    font-size: 12px;   
    background: #2c3f06;
    padding: 10px 10px 5px 10px;
    overflow: hidden;
    color: #aacb67;  
    font-size: 11px;
    line-height: 17px;
    border-right: solid 1px #354c08;
}

.firmsrating_firm .info .title {
   float: left;
   color: #f1bf1d;
   font-weight: bold;
   font-size: 15px;
   clear: both;
   margin-bottom: 10px;
   width: 100%;
}

.firmsrating_firm .info p {
    margin: 0;
}


.firmsrating_firm .info .str {
    float: left;
    width: 100%;
}

.firmsrating_firm .info .sec {
   float: left;
   color: #6a910f;
   font-weight: bold;
   font-size: 11px;
   height: 11px;
}

.firmsrating_firm .info .text {
   float: left; 
   color: #aacb67;  
   font-size: 11px;
}


.firmsrating_firm .media {
    float: left;
    background-color: #2c3f06;
    width: 359px;
    height: 295px;     
}

.firmsrating_firm .mediabuttons {
    float: left;
    margin: 7px 0 0 35px;
}

.firmsrating_firm .mediabutton {
    float: left;
    height: 12px;
    width: 50px;
    font-size: 11px;   
    line-height: 11px;
    padding-left: 22px;  
    margin-right: 8px;
    text-decoration: underline;    
    color: #a2c464;  
    cursor: pointer;
    border-right: solid 1px #4d6919;
}

.firmsrating_firm .mediabutton:hover {
    text-decoration: none;
}

.firmsrating_firm .selected_mediabutton {
    color: #e5ffb1;
}

.firmsrating_firm #edit-vote-submit {
    float: left;
    height: 26px;
    width: 194px;
    line-height: 14px;
    margin: 5px 0 0 0;
    padding: 0 10px;
    border-radius: 0;
    background: #ef4b2c;
    border: solid 1px #9e321c;
    color: #fff;
    font-weight: bold;
    font-family: Sans-serif, DejaVu Sans;
    
}

.media #photo {
    background-image: url('/sites/all/modules/custom/firmsrating/images/photo_icon_small.png');
    background-repeat: no-repeat;
    padding-left: 24px;
}

.media #video {
    background-image: url('/sites/all/modules/custom/firmsrating/images/video_icon_small.png');
    background-repeat: no-repeat;
}

.media #panorama {
    background-image: url('/sites/all/modules/custom/firmsrating/images/pano_icon_small.png');
    background-repeat: no-repeat;
    padding-left: 18px;
    
}

.media #map {
    background-image: url('/sites/all/modules/custom/firmsrating/images/map_icon_small.png');
    background-repeat: no-repeat;
    padding-left: 16px;
    border: none;
}


.firmsrating_firm .mediacontent {
    float: left;
    margin: 10px 0 0 10px;
    background-color: #fff;
    width: 340px;
    height: 255px;
}

.firmsrating_firm .social {
    float: right;  
    margin-top: 8px;
}

.firmsrating_firm .social p {
    margin: 0;
}

.firmsrating_firm .rating {
    float: left;
    width: 660px;
    height: 40px;   
    background: #2c3f06;
    padding: 5px 0;
    border-top: solid 1px #354c08;
}

.firmsrating_firm .rating_title {
    float: left;
    color: #aacb67;
    font-size: 2em;
    height: 2em;
    margin: 12px 0 0 10px;
}

.firmsrating_firm .rating_score {
    float: left;    
    font-size: 2em;
    height: 2em;
    margin: 12px 30px 0 0;
}

.firmsrating_firm .good {
    color: #70ad08;
}

.firmsrating_firm .bad {
    color: #fd0d01;
}

.firmsrating_firm .neut {
    color: #ccc;
}

.firmsrating_firm .img{
    float: left;
    height: 32px;
    width: 32px;
    margin-top: 4px;
}

.firmsrating_firm .count {
    float: left;
    font-size: 16px;
    height: 16px;
    margin: 12px 15px 0 3px;
}

.firmsrating_firm .votes {
    float: right;
    width: 98%;
   
}

.firmsrating_firm .admin {
    float: left;
    width: 24px;
    height: 24px;
    padding: 2px;
    border: 2px solid #ccc;
    margin-right: 5px;
    cursor: pointer;
}

.firmsrating_firm .admin:hover {
    border-color: #70ad08;
}

.firmsrating_firm .admin_buttons {
    float: right;
    margin-top: -70px;
}

.firmsrating_firm .firm_comments {
    float: left;
    width: 638px;
    padding: 10px;
    border: solid 1px #98ca33;
    background: #e4f0ce;
    margin: 5px 0 20px 0;
}

.firmsrating_comment {
    float: left;
    width: 610px;       
    padding: 0 0 6px 9px;
    margin-bottom: 2px;
}

.firmsrating_comment .admin_button {
    cursor: pointer;
}

.firmsrating_comment .vote_img {
    float: left;
    height: 20px;
    width: 20px;
    margin: 7px 1px 0 2px;
}

.firmsrating_comment .vote {
    float: left;
    height: 15px; 
    width: 20px;
    font-size: 15px;    
    font-weight: bold;
    font-family: Sans-serif, DejaVu Sans;    
    margin: 10px 2px 0 3px;
    color: #fff;
}

.firmsrating_comment .comment_submited {
    float: left;
    width: 90px;
    margin: 0 6px 0 0;  
    text-align: right;
}

.firmsrating_comment .name {
    float: left;
    width: 100%;    
    max-height: 28px;
    font-size: 10px;  
    line-height: 9px;
    font-weight: bold;
    color: #263c27;
    margin: 0;
    overflow: hidden;    
}

.firmsrating_comment .date {
    float: left;
    width: 100%;
    height: 11px;
    font-size: 11px;
    font-weight: bold;
    font-family: Sans-serif, DejaVu Sans;     
    color: #78a226;   
}

.firmsrating_comment .text_img {
    float: right;
    height: 10px;
    width: 11px;
    background-image: url('/sites/all/modules/custom/firmsrating/images/comment_img2.png');
    background-repeat: no-repeat;     
    margin: 7px -1px 0 0;   
}

.firmsrating_comment .text_wrap {
    float: right;
    background-color: #fff;    
    min-height: 30px;
    width: 453px;    
    border: solid 1px #78a127;   
}

.firmsrating_comment .text {
    float: left;    
    width: 440px;    
    font-size: 11px;
    line-height: 11px;
    color: #263c27;
    margin: 3px 5px;  
}

#firmsrating-vote-form {
    float: left;
    width: 100%;
    margin: 0 0 20px 0;
}

#firmsrating-vote-form .form-item {
    float: left;
    margin: 5px 0;
}

#firmsrating-vote-form #edit-vote-submit {
    float: left;
}

 #edit-vote {
    float: left;
    margin: 0;
}

#firmsrating-vote-form .descr {
   float: left; 
   font-size: 12px;
   width: 90%;
   margin: 2px 0 5px;
   color: #78a226;
}

#firmsrating-vote-form .form-item label {
    float: left;
}

#firmsrating-vote-form .form-type-radio {
    margin: 0 7px 0 0;
}

#firmsrating-vote-form .form-radio {
    float: left;
    margin-top: 1px;
}

#firmsrating-vote-form .form-type-textarea {
    margin-top: 0;
}

#firmsrating-vote-form .form-checkbox {
    float: left;
}

#firmsrating-vote-form .form-type-checkbox {
    width: 300px;
}

#firmsrating-search-form {    
    width: 640px;
    margin-bottom: 10px;
    padding: 5px 7px;
    float: left;
    background: #f5ffe2;
    border: solid 1px #98ca33;
}

#firmsrating-search-form .form-item{
    float: left;
    margin: 5px 5px 5px 0;    
}

#firmsrating-search-form .form-item-search {
    width: 412px;
    margin-right: 0; 
}

#firmsrating-search-form .form-select {    
    color: #6b886c;
    border: 1px solid #98ca33; 
}

#firmsrating-search-form #edit-section {
    width: 445px;
    margin-left: 29px;
    font-size: 11px;    
}

#firmsrating-search-form #edit-field {
    width: 150px; 
    margin-left: 5px;    
    font-size: 11px;
}

#firmsrating-search-form .form-text {
    width: 403px;
    margin-left: 0;
    margin-right: 0;
    border: 1px solid #98ca33;
    border-right: none;
    padding: 4px;
    height: 16px;
    
}

#firmsrating-search-form .image {
    float: left;
    margin: 5px 7px 0 0;    
}

#firmsrating-search-form .form-submit {
    float: left;
    height: 26px;
    width: 194px;
    line-height: 14px;
    margin: 5px 0 0 0;
    padding: 0 10px;
    border-radius: 0;
    background: #4b6911;
    border: solid 1px #263c27;
    color: #fff;     
    font-family: Sans-serif, DejaVu Sans;
    
}

#firm_add {
    float: left;
    margin: 0 5px 10px 0;
}

.firms_count {
    float: right;
    margin: 6px 10px 0 0;
    font-size: 11px;
    font-style: italic;
    color: #2c3f06;
}

.firms_title3 {
    float: left;
    font-size: 12px;
    font-style: italic;
    color: #2c3f06;
    margin: -12px 0 15px 2px;
}