/* CLOSING AGENT PAGE */
/**
 * GENERAL
  Colors:
 Text: #083141;
 Dark Blue: #06232f;
 Blue: #083141;
 Light Blue: #f0f5fa;
 Green: #80c67b;
 */
#entity-form {
  border: 1px solid #06232f;
  background-color: #eee;
  padding: 10px 0;
  position: relative;
}
#entity-form .row {
  clear: both;
}
#insert-date {
  position: absolute;
  left: 20px;
  top: 20px;
}


/* HEAD */
#entity-text-head {
  line-height: 2em;
  text-align: center;
  padding: 0 10px 10px;
}
#entity-text-head table {
  background: none;
}
#entity-text-head table tr td {
  border: none;
  vertical-align: top;
  padding: 10px 20px;
}
#entity-text-head p {
  line-height: 16px;
  margin: 0;
}
#entity-text-head h2 {
  color: black;
  font-weight: bold;
}


/* HEADER */
#entity-form table th {
  border-left: none;
  font-size: 18px;
  border-bottom: 2px solid #000 !important;
  border-top: 3px solid #000 !important;
  padding: 5px;
  color: #000;
  background-color: #fff;
  text-align: center;
  width: 40%;
  font-weight: bold;
}
#entity-result-header table th:first-child { border-right: 1px solid #000; }


.entity-leftside,
.entity-rightside {
  margin: 0;
  padding: 0 0 10px;
  width: 49%;
}
.entity-leftside table,
.entity-rightside table {
  border: 2px solid black;
}
.entity-leftside {
  float: left;
}
.entity-rightside {
  float: right;
}
.entity-leftside>div {
  margin: 10px 0 0 10px;
}
.entity-rightside>div {
  margin: 10px 10px 0 0;
}

#entity-form table tr .risk-result {
    font-size: 20px;
    padding: 5px 10px 0;
    text-align: left;
}

#entity-risk-rating table td,
#entity-status table td,
#entity-business-info table td,
#entity-eo-insurance table td,
#second-region table td,
#entity-entity-info table td {
  width: 50%;
}

#entity-risk-rating table tr td {
  padding: 10px 5px 0;
  width: 50%;
  vertical-align: top;
  text-align: center;
}

#entity-risk-rating table tr .risk-result {
  font-size: 20px;
  padding: 5px 10px 0;
  text-align: center;
}

#entity-risk-rating table tr .star-result {
  text-align: center;
  position: relative;
  padding: 5px 0;
}

#entity-risk-rating table tr .rating-text {
  padding-right: 60px;
}

#entity-risk-rating table tr td.old {
  vertical-align: middle;
  text-align: left;
  padding: 10px 5px;
}

/* Buttons */
#section-buttons { margin: 0 10px; clear: both; border-top: 1px solid #fff }
#button-message { line-height: 20px; padding: 10px 0; text-align: center; }
.button-group { padding: 10px 0 0; }

.box-tier-green #entity-form {
  border: 1px solid #72ad43;
  background-color: #cdffcc;
  padding: 10px 0;
}

.box-tier-green #entity-result-header {
  background-color: #72ad43;
}

.box-tier-green table th,
.box-tier-green .sorting {
  background-color: #72ad43;
  border-right: 1px solid #fff;
}

.box-tier-green table td {
  border-bottom: 1px solid #72ad43;
}

.box-tier-green h1 {
  color: #72ad43;
}

.box-tier-green #entity-next-expiration .view-content.view-content-license .views-row.views-row-first.views-row-last {
  border-top: 1px solid #72ad43;
}

.box-tier-green .entity-leftside table,
.box-tier-green .entity-rightside table,
.box-tier-green #entity-status-expire table,
.box-tier-green #second-region table {
  border: 2px solid #72ad43;
}




/* Vetting */
.button-upgrade {
  display: block;
  background: #06232f none repeat scroll 0 0;
  border-radius: 5px;
  color: #fff !important;
  cursor: pointer;
  font-weight: normal;
  line-height: 36px;
  margin: 0 10px 0 0;
  padding: 0 20px;
  text-align: center;
  float: left;
}

.button-upgrade.upgrade-disabled {
  background: #cccccc none repeat scroll 0 0;
  border: 1px solid #cccccc;
  color: #666 !important;
  cursor: text;
}

.vetting-message { padding: 12px 0 0; }

/* Licenses */
#entity-licenses table {
  margin: 0 !important;
}
#entity-licenses>table>td {
  padding: 0 !impotant;
}
#entity-licenses table table {
  border: none !important;
}

#entity-licenses .form-group { padding: 0 !important; }

#views-exposed-form-licenses-business-bus button,
#views-exposed-form-licenses-individual-ind button,
#views-exposed-form-licenses-business-ssi-bus button,
#views-exposed-form-licenses-individual-ssi-ind button {
  display: none !important;
}

#views-exposed-form-licenses-business-bus .form-item,
#views-exposed-form-licenses-individual-ind .form-item {
  padding: 0;
}

/* Expired Items */
#entity-expired-items {}


/* Performance Rating */
#edit-field-performance-comments,
#edit-field-performance-rating {
  width: 49%;
  float: left;
  margin-right: 1%;
  min-width: 250px;
  padding-bottom: 20px;
}

#edit-field-performance-rating .form-item {
  display: block;
  float: none;
  height: 24px;
  line-height: 24px;
}

#edit-field-performance-rating .form-item label {
  line-height: 24px;
  display: inline-block;
}

#edit-field-performance-rating .form-item .stars {
  width: 135px;
  text-align: right;
  display: inline-block;
  height: 24px;
  position: relative;
}

#edit-field-performance-rating .form-item .stars .star {
  display: inline-block;
  height: 24px;
  width: 24px;
  margin-right: 2px;
  background: url(images/fivestar.png) 0 -24px no-repeat;
  margin-top: 5px;
  margin-bottom: -5px;
}

#section-reviews { display: none; }

.view-lender-review table {
  border: 1px solid #06232f;
}

.view-lender-review .row-pending-approval td,
.view-lender-review .row-pending-approval td a {
  color: #666;
}

.view-lender-review .row-pending-approval td {
  background: none #ccc;
}


#ca-rating-stars {
  padding-right: 60px;
  display: inline-block;
  height: 24px;
}

#ca-rating-stars span {
  display: inline-block;
  height: 0;
  width: 24px;
  background: url(images/fivestar.png) 0 0 no-repeat;
  padding: 24px 0 0;
  overflow: hidden;
  position: relative;
  margin: 0 2px;
}

#ca-rating-stars span.rating-star {
  background-position: 0 -24px;
}

#ca-rating-stars span.rating-star5 {
  background-position: 0 -48px;
}

.star-result .star-votes {
  position: absolute;
  margin-left: 50px;
  left: 50%;
  top: 10px;
}

.views-field-field-performance-rating {
  vertical-align: middle;
  min-width: 200px;
}

.views-field-field-performance-rating span.rating-star {
  display: inline-block;
  height: 0;
  width: 24px;
  background: url(images/fivestar.png) 0 -24px no-repeat;
  padding: 24px 0 0;
  overflow: hidden;
  position: relative;
  margin: 0 2px;
}

.views-field-field-performance-rating span.rating-text {
  float: left;
  padding: 10px 10px 0 0;
}



#entity-documents {
  margin: 10px;
  clear: both;
  width: 47%;
}

#entity-documents table {
  margin: 0 0 10px;
}
