/* CLOSING AGENT PAGE */

#closing-agent-form {
  border: 1px solid #06232f;
  background-color: #dbe4f6;
  padding: 10px 0;
  position: relative;
}
#closing-agent-form .row {
  clear: both;
}
#insert-date {
  position: absolute;
  left: 20px;
  top: 20px;
}


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


/* HEADER */
#closing-agent-result-header {
  background: none #fff;
  color: white ! important;
  margin-bottom: 0.5em;
  padding: 0.5em 0px;
}
#closing-agent-result-header table {
  border: medium none;
}
#closing-agent-result-header table th {
  border-left: none;
  font-size: 18px;
  border-bottom: 3px solid #000 !important;
  border-top: 3px solid #000 !important;
  padding: 5px;
  color: #000;
  background-color: #fff !important;
  text-align: center;
  width: 40%;
}
#closing-agent-result-header table th:first-child { border-right: 1px solid #000; }


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


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

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

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

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

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

#closing-agent-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 #closing-agent-form {
  border: 1px solid #72ad43;
  background-color: #cdffcc;
  padding: 10px 0;
}

.box-tier-green #closing-agent-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 #closing-agent-next-expiration .view-content.view-content-license .views-row.views-row-first.views-row-last {
  border-top: 1px solid #72ad43;
}

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

#button-upgrade-table td { font-size: 11px; }
#button-upgrade-table td p { font-size: 10px; font-weight: bold; width: 50%; float: left; margin: 0; }


/* Vetting */
.button-upgrade,
.button-register {
  display: block;
  background: #06232f none repeat scroll 0 0;
  border-radius: 5px;
  color: #fff !important;
  cursor: pointer;
  font-weight: normal;
  line-height: 30px;
  margin: 0;
  padding: 0 10px;
  text-align: center;
  float: right;
  text-transform: uppercase;
  font-size: 9px;
  white-space: nowrap;
}

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

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



/* Licenses */
#closing-agent-licenses .table {
  margin: 0;
}
#views-exposed-form-licenses-business-bus button,
#views-exposed-form-licenses-individual-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 */
#closing-agent-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;
}

.views-field-field-performance-rating span.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;
}

#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;
}



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

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