/*
 * CMB2 Overrides & General stuff
 */

.listings_wp input::placeholder,
.listings_wp_options input::placeholder {
    color: #ccc;
}
.iris-picker,
.iris-picker * {
    box-sizing: content-box !important;
}
.listings_wp .column-logo img {
  border: medium none;
  height: auto;
  max-width: 100%;
}

.listings_wp #cmb2-metabox-listings_wp_contact_form .cmb2-id-url,
.listings_wp #cmb2-metabox-listings_wp_contact_form .cmb2-id-comment {
    display: none;
    visibility: hidden;
}
.listings_wp h2.hndle .dashicons {
    color: #55ad8d;
    font-size: 22px;
    margin: -1px 8px 0 0;
}
.listings_wp p.cmb2-metabox-description,
.listings_wp_options p.cmb2-metabox-description,
.listings_wp span.light {
    color: #888;
    font-size: 12px;
    font-style: normal;
    margin-top: 3px;
}
.listings_wp span.light {
    font-size: 13px;
    display: block;
    color: #aaa;
}
.listings_wp .cmb-type-group .cmb2-wrap > .cmb-field-list > .cmb-row,
.listings_wp .postbox-container .cmb2-wrap > .cmb-field-list > .cmb-row {
    padding: 1.2em 0 0;
}
.postbox.cmb-row.cmb-repeatable-grouping {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    margin: 25px 0;
}
.listings_wp .cmbhandle-title {
    cursor: pointer;
}
.listings_wp #side-sortables {
    padding-top: 0;
}
.listings_wp #side-sortables .cmb-th {
    padding-bottom: 5px;
}
.listings_wp #side-sortables .cmb-th label {
    padding: 0;
}
.listings_wp #side-sortables .cmb-th label::after {
    border-bottom: medium none;
    padding-top: 0;
}
.listings_wp #side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row {
    padding: 0;
}
.listings_wp #side-sortables .cmb2-wrap > .cmb-field-list > .cmb-row:not(:last-of-type) {
    border: none;
}
.listings_wp #side-sortables .cmb-td .cmb2_select {
    width: 100%;
}
.listings_wp .cmb2-wrap input[type="email"],
.listings_wp .cmb2-wrap input[type="number"] {
    width: 100%;
}
.listings_wp .cmb2-wrap input.cmb2-upload-file {
    width: 65% !important;
}
.cmb2-postbox .cmb-row:not(:last-of-type) {
    border: none;
}
.listings_wp .cmb2-element.ui-datepicker .ui-datepicker-header,
.listings_wp .cmb2-element.ui-datepicker .ui-timepicker-div .ui-widget-header {
    background: #55ad8d;
}
.listings_wp .ui-datepicker .ui-datepicker-buttonpane button {
    box-shadow: 0 1px 0 #ddd;
    text-shadow: none;
}
.listings_wp #ui-datepicker-div {
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
    border: 1px solid #bbb;
}

/*
 * Listing Status
 */
#cmb2-metabox-_lwp_listing_status a {
  text-decoration: none;
}
#cmb2-metabox-_lwp_listing_status .most-recent {
    margin-top: 0;
    padding-top: 0;
}
#archive-listing.button {
  margin: 15px 0 10px;
}
.archived-text{
  margin: 15px 0 10px;
  padding: 4px 10px;
  border-left: 4px solid transparent;
  background: #fff none repeat scroll 0 0;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  font-size: 12px;
}
.archived-text.warning {
  border-color: #ffb900;
}
.archived-text.error {
  border-color: #dc3232;
}

/*
 * Listing Address
 */

.listings_wp #lwp-find {
    margin: -8px 10px 0 0;
    width: 120px;
    float: left;
}
.listings_wp #lwp-reset {
    margin: -8px 0 0;
    width: 120px;
    float: left;
}
.listings_wp .lwp-admin-map {
    display: inline-block;
    margin: 15px auto 0;
    width: 100%;
    border: 2px solid #eee;
}
.listings_wp .cmb2-metabox-description.map-desc {
    margin: 0 auto 15px !important;
    padding: 0 !important;
}
/*
 * Listing Open for inspection
 */

#cmb2-metabox-_lwp_listing_open .inside .cmb-row {
    margin: 0;
    padding: 0;
}
#cmb2-metabox-_lwp_listing_open .cmb-repeatable-group .cmb-group-title {
    background-color: #f5f5f5;
    padding: 10px 10px 10px 40px;
}
#cmb2-metabox-_lwp_listing_open .cmb-repeatable-group .cmb-group-title .title {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
#cmb2-metabox-_lwp_listing_open button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
    color: #aaa;
    padding-left: 5px 10px;
    top: 8px;
}
/*
 * Listings Columns
 */

.post-type-listing .enquiries a {
    display: inline-block;
    vertical-align: top;
}
.post-type-listing .enquiries a:after {
    border-right: 5px solid transparent;
    border-top: 5px solid #72777c;
    content: "";
    display: block;
    height: 0;
    margin-left: 8px;
    width: 0;
}
.post-type-listing .enquiries span {
    background-color: #72777c;
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 11px;
    height: 2em;
    line-height: 21px;
    min-width: 24px;
    padding: 0 8px;
    text-align: center;
}
/*
 * Options 
 */

.listings_wp_options .inside .cmb-th label {
    display: block;
    font-size: 13px;
    padding: 0;
}
.listings_wp_options .cmb-type-labels .cmb-th {
    padding: 10px 10px 20px 0;
}
.listings_wp_options .cmb-type-labels .cmb-td {
    padding: 0 10px;
}
.listings_wp_options .license-active {
    border-top: 1px solid #46b450;
    display: block;
    padding: 5px 10px;
    width: 95%;
}
.listings_wp_options .cmb-repeat .cmb-td {
    padding: 10px 0 0;
}
.listings_wp_options .cmb2-wrap .cmb-row.cmb-repeat-row {
    padding: 0;
}
.listings_wp_options .cmb-repeat .cmb-th + .cmb-td {
    margin-left: 10px;
}
.listings_wp_options .cmb-add-row {
    margin: 20px 0 15px;
}
.listings_wp_options .postbox.cmb-row.cmb-repeatable-grouping {
  margin: 5px 0 10px;
}

.listings_wp_options .cmb-row.cmb-repeat-group-field {
  padding: 8px 0;
  border: none !important;
}
.listings_wp_options .cmb-repeatable-group .cmb-td {
  padding: 0;
}
.listings_wp_options .cmb-repeatable-group .cmb-row.cmb-remove-field-row {
  margin: 0;
  padding: 0 0 10px 0;
}
.listings_wp_options .cmb2-radio-list {
  float: left;
  width: 100%;
}
.listings_wp_options .cmb2-radio-list li {
  float: left;
  width: 33%;
  height: 40px;
}
.listings_wp_options .cmb2-radio-list i:before {
  display: inline-block;
  margin: 0;
  line-height: 20px;
}


/* agent profile image */

#profile-page #current_img{
  position: relative;
  width: 160px;
  height: auto;
  text-align: right;
  margin-bottom: 10px;
}
#profile-page .button.listings_wp_wpmu_button {
  margin: 10px 0;
}

#profile-page .listings-wp-current-img{
  display: block;
  max-width: 150px;
  max-height: 150px;
  width: 100%;
  height: auto;
  padding: 4px;
  background: #fefefe;
  border: 1px solid #e5e5e5;
}

/* #profile-page .listings-wp-current-img.placeholder{
  width: 1px;
  height: 1px;
  border: 0;
  background: transparent;
} */

#profile-page .edit_options{
  display: block;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  max-width: 160px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.25);
}
#profile-page .edit_options .remove_img, #profile-page .edit_options .edit_img{
  float: left;
  position: relative;
  color: #444;
  font-size: 13px;
  width: 50%;
  height: 100%;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
#profile-page .edit_options span{
  display: block;
  position: relative;
  top: 50%;
  margin-top: -10px;
}

#profile-page .edit_options .remove_img{
  color: #fff;
  background-color: rgb(214, 14, 14);
  background-color: rgba(214, 14, 14, 0.50);
}

#profile-page .edit_options.single .remove_img{
  width: 100%;
}

#profile-page .edit_options .remove_img:hover, #profile-page .edit_options .remove_img:focus{
  background-color: #ff0000;
  background-color: rgba(214, 14, 14, 0.75);
}

#profile-page .edit_options .edit_img{
  color: #fff;
  background-color: rgb(50, 50, 50);
  background-color: rgba(50, 50, 50, 0.50);
}

#profile-page .edit_options .edit_img:hover, #profile-page .edit_options .edit_img:focus{
  background-color: rgb(25, 25, 25);
  background-color: rgba(50, 50, 50, 0.75);
}

/* Radio Button Styles */
#profile-page #listings_wp_options{
  margin-bottom: 10px;
}

#profile-page #listings_wp_external{
  display: none;
}