/**
  * Company styles
  */

/* Main preview */
#mainBlockInfo {padding-right: 0;}
#mainCompanyName {font-weight: bold;}
#mainBlockInfo span.inc_form {color: gray; font-weight: bold;}
#mainBlockInfo table {border-collapse: collapse;}
#mainBlockInfo table.mainInfo {margin-top: 20px;}
#mainBlockInfo table td {padding: 0px;}
#mainBlockInfo table .label {color: gray; width: 120px;}
#mainBlockInfo table .value {width: 300px;}
#mainBlockInfo td.nonPhoto {width: 428px;}

/* Main edit */
#mainBlockEdit .main_tname, #mainBlockEdit .main_jname, #mainBlockEdit .main_addinfo {width: 472px;}

table.main_house_table .main_house {width: 49px; margin-right: 4px;}
table.main_house_table .main_block {width: 49px; margin-right: 4px;}
table.main_house_table .main_letter {width: 50px}
a.multieditLink {margin-left: 30px;}
.main_index {width: 172px;}
.editMainFDate .ddc {
  display:-moz-inline-stack;
  display:inline-block;
  _overflow:hidden;
  zoom:1;
  *display:inline;
  vertical-align: top;
}

/* Main photo styles */
div.mainPhoto {
  border: 1px solid #c0cad5;
  cursor: default;
  height: 140px;
  overflow: hidden;
  position: relative;
  width: 140px;
}
div.mainPhoto_hover {
  border: 1px solid #587da1;
}
div.mainPhotoCanEdit {
  cursor: pointer;
}
#mainPhotoEditBtn {
  background-color: #587da1;
  color: white;
  display: none;
  height: 19px;
  position: absolute;
  padding: 4px 0 0 0;
  top: 117px;
  text-align: center;
  vertical-align: middle;
  width: 140px;
  z-index: 2;
}
.mainPhoto_hover #mainPhotoEditBtn  {
  display: block;
}
#mainPhoto div.noUserPhoto {
  background-color: #e4ebf0;
  color: #758EAC;
  font-size: 110px;
  line-height: normal;
  text-align: center;
  width: 140px;
  height: 140px;
}
#upphotobtn {
  background-color: white;
  border: 1px solid #DAE2E8;
  padding: 3px;
  width: 480px;
}
div#previewPhoto {
  padding: 6px;
}
div.topPhoto {
  border: 1px solid #DFE6EB;
  width: 140px;
  height: 140px;
  position: relative;
  overflow: hidden;
  z-index: 1000
}
div.photoInfo {
  text-align: justify;
}
#editPhotoImg {
  border: 1px solid #DFE6EB;
  height: 326px;
  width: 326px;
}
#editPhotoImgS {
  position: absolute;
  top: 0;
  left: 0;
}
#photoBorder {
  cursor: move;
  position: absolute;
  z-index: 1002;
  border: dotted 2px #D0D003;
  background-color: #FFFFFF;
  opacity: 0.3;
  filter: alpha (opacity = 30);
}
#photoResizer {
  position: absolute;
  z-index: 1002;
  border: solid 2px #D0D003;
  width: 12px;
  height: 12px;
  font-size: 1px;
  background-color: #D0D003;
  cursor: se-resize;
}
#bigSquareImage {
  padding: 6px;
  text-align: center;
}
#photoDeleteNotify {
  display: none;
  padding: 0 10px 0 10px;
}

/* Main rating Styles */
div#ratingContainer {
  background-color: #EFEFEF;
  height: 22px;
  line-height: 22px;
  margin-top: 10px;
  position: relative;
  width: 142px;
}
div#ratingBar {
  background-color: #DAE2E8;
  height: 22px;
  line-height: 22px;
  left: 0;
  position: absolute;
  top: 0;
  z-index: 1;
}
div#ratingValue {
  color: #8BA1BC;
  line-height: 22px;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 2;
}


/* Contacts */
#contactsBlockInfo td.label {color: gray;width: 100px;}
#contactsBlockInfo span.imType {color: gray;}
#contactsBlockInfo table {border-collapse: collapse;}
#contactsBlockInfo td {padding: 0px;}

#contactsBlockEdit .comment {margin-left: 0; width: 186px;}
#contactsBlockEdit .webaddress, #contactsBlockEdit .email {width: 242px;}
#contactsBlockEdit .country_code, #contactsBlockEdit .phone_number {width: 70px;}
#contactsBlockEdit .city_code {width: 76px;}
#contactsBlockEdit .im {width: 106px;}
#contactsBlockEdit .ddc {
  display:-moz-inline-stack;
  display:inline-block;
  _overflow:hidden;
  zoom:1;
  *display:inline;
  margin-right: 2px;
  vertical-align: top;
}
#contactsBlockEdit a.plusminus {
  font-family: Arial;
  font-size: 18px;
  font-weight: bolder;
  line-height: normal;
  vertical-align: top;
  padding: 0 6px;
}
#contactsBlockEdit a.minus {margin-left: 1px;}
#contactsBlockEdit .plusminus:hover {color: #84A1BF; text-decoration: none;}

/* Company about */
div#aboutText {/*padding: 24px; */margin-top: 0; text-align: justify;}
#aboutBlockEdit textarea.companyAbout {margin: 4px 0 0 0; width: 472px; height: 100px;}
#aboutBlockEdit textarea.companyDescription {margin: 4px 0 0 0; width: 472px; height: 50px;}
#aboutBlockEdit #keywords_hint {margin-bottom: 10px;}

/* Company branches */
#branchesBlockInfo .branch {background-color: white; padding: 10px;}
#branchesBlockInfo .branch:hover, #branchesBlockInfo .branch_hover {background-color: #EFEFEF;}

/* Company vacancies */
#vacanciesBlockInfo .vacancy {background-color: white; padding: 10px;}
#vacanciesBlockInfo .vacancy:hover, #vacanciesBlockInfo .vacancy_hover {background-color: #EFEFEF;}
#vacanciesBlockInfo .vacancyDate {float: right;}

/* Company news */
#newsBlockInfo .news {background-color: white; padding: 10px;}
#newsBlockInfo .news:hover, #newsBlockInfo .news_hover {background-color: #EFEFEF;}
#newsBlockInfo .newsDate {float: right;}

/* Company goods */
#goodsBlockInfo .good {
  background-color: white;
  display:-moz-inline-stack;
  display:inline-block;
  _overflow:hidden;
  zoom:1;
  *display:inline;
  margin-right: -3px;
  padding: 10px;
  text-align: center;
  width: 100px;
}
#goodsBlockInfo a.goodPhoto {cursor: pointer;}
#goodsBlockInfo a.goodPhoto:hover {text-decoration: none;}
#goodsBlockInfo .noGoodPhoto {
  background-color: #E4EBF0;
  color: #758EAC;
  font-size: 70px;
  height: 100px;
  line-height: normal;
  margin-bottom: 3px;
  text-align: center;
  width: 100px;
}
#goodsBlockInfo .good:hover, #usersBlockInfo .good_hover {background-color: #EFEFEF;}

/* Company services */
#servicesBlockInfo .service {background-color: white; padding: 10px;}
#servicesBlockInfo .service:hover, #newsBlockInfo .service_hover {background-color: #EFEFEF;}


/* Company users */
#usersBlockInfo .user {
  background-color: white;
  display:-moz-inline-stack;
  display:inline-block;
  _overflow:hidden;
  zoom:1;
  *display:inline;
  margin-right: -3px;
  padding: 10px;
  text-align: center;
  width: 100px;
}
#usersBlockInfo a.userPhoto {cursor: pointer;}
#usersBlockInfo a.userPhoto:hover {text-decoration: none;}
#usersBlockInfo .noUserPhoto {
  background-color: #E4EBF0;
  color: #758EAC;
  font-size: 70px;
  height: 100px;
  line-height: normal;
  margin-bottom: 3px;
  text-align: center;
  width: 100px;
}
#usersBlockInfo .user:hover, #usersBlockInfo .user_hover {background-color: #EFEFEF;}

/* Additional block styles */
.addBlockEdit {
  clear: both;
  display: none;
  background-color: #EDEDE5;
  padding: 20px;
}
#addblock_title {width: 472px;}
#addblock_text {width: 472px; height: 100px; margin-bottom: 0;}
.addBlockTextStats {float: left; margin-left: 30px;}
#addBlockLimits {color: gray;}


.t_highlighted {background-color: yellow;}
.blockNotice {margin-bottom: 10px;}

/* Search panel */
.searchBody {
  background-color: #EEEEEE;
  padding:20px 10px;
  margin-bottom: 8px;
}
.searchBody .txt {
  width: 160px;
}
.searchBody .hr {
  margin-top: 10px;
}
a.searchBtn {
  font-size: 11px;
  line-height: normal;
  color: #FFFFFF
}
a.searchBtn div {
  background-color: #32638D;
  margin-top: 20px;
  padding: 8px;
  padding-top: 7px;
  cursor: pointer;
  text-align: center;
}
a.searchBtn:hover div {
  background-color: #84A1BF;
  color: #FFFFFF;
}
a.searchBtn:hover {
  text-decoration: none;
  background-color: #84A1BF;
}
a.btnGreyed div {
  background-color: #8f8f75;
}
a.btnGreyed:hover, a.btnGreyed:hover div {
  background-color: #8f8f75;
}

/* Multiedit fixes */
div.multiedit {margin-bottom: 10px;}
div.multiedit .blockEdit {display: block;}
div.multiedit .multicontrols {padding: 10px;}
div#multiEditNotify {display: none;}

h3 {
  border-bottom: solid 1px #C0C19E;
  padding-bottom: 6px;
  margin: 0 0 15px 0;
  color: #8D3500;
  font-weight: bold;
}

input.bmargin {
  margin-bottom: 10px;
}
.frmCentered {
  margin-left: 140px;
  text-align: left;
  width: 300px;
}
.frmCentered td.pad {
  padding-bottom: 2px;
}
td.nowrap {white-space: nowrap}


#ratingBox, #ratingBox div {
  line-height: normal;
}
#ratingBox .boxContent .listItem {
  color: #808080;
  clear: both;
  display: block;
  margin-bottom: 5px;
  line-height: normal;
}
#ratingBox .listItem .right {
  float: right;
  color: #000;
}
