/* General
================================================== */

body {
    height: auto !important;
    min-height:100% !important;
    background-color: #F8F8F8 !important;
    color: #505050 !important;
    font-family: 'Droid Serif',serif !important;
    font-size: 12px !important;
    line-height: 2 !important;
    overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal !important;
}

h1 {
  font-size:36px;
  line-height:normal;
  margin:0 0 20px;
}

a,
a:visited, a:hover {
    color: #3da754;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
}

label {
  color:#333333;
  display:block;
  margin-bottom:5px;
}

label.checkbox,
label.radio {
	cursor: pointer;
}

label.radio {
	margin-right: 10px;
}

label.radio img {
	margin-top: 5px;
	margin-left: -18px;
}

ul {
    list-style: disc outside none;
}

.form-footer {
	margin-bottom: 30px;
	padding-top: 10px;
}

.modal-header, .modal-footer {
	background-color: #f8f8f8 !important;
}

.modal-header {
	padding: 5px 20px !important;
}

.modal-body {
	padding: 30px 20px 21px !important;
}

.alert .close {
	margin-top: 5px;
}

.alert-error a {
	color: inherit;
}

#filelist {
	margin-top: -10px;
	margin-bottom: 10px;
}


/* Listing Form
================================================== */

#listing-alert-success,
#listing-alert-error {
	display:none;
	margin-top: -10px;
	margin-bottom: 30px;
}

/** Meta Boxes */

#wpsight-portal-listing-form {
	padding-bottom: 10px;
}

.div_metabox,
#portal-listing-form-title,
#portal-listing-form-description {
	padding: 30px;
    margin-bottom: 30px;
    min-height: 42px;
    overflow: auto;
    background: #f8f8f8;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.mceIframeContainer {
	background-color: #fff !important;
}

.title_div_metabox {
	
}

.div_content_metabox {
    min-height: 42px;
}

.title_div_metabox {
	margin-bottom: 20px;
    line-height: 25px;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px dotted #b0b0b0;
  
}

.description_metabox {
	color: #888;
}

.div_field_metabox {
  float:left;
  width:100%;
  padding-top: 10px;
}

.postbox, .stuffbox {
    border: none !important;
    line-height: inherit !important;
    margin-bottom: 0px !important;
}

.title-normal {
	margin-bottom: 40px !important;
	font-size: inherit !important;
}

.drag-drop #drag-drop-area {
	border: 4px dashed #DDDDDD;
	height: 200px;
}

.drag-drop .drag-drop-inside {
	margin: 40px auto 50px;
	width: 250px;
}

.drag-drop-inside p {
	color: #aaa;
	font-size: 14px;
	margin: 5px 0;
	display: none;
}

.drag-drop .drag-drop-inside p {
	text-align: center;
}

.drag-drop-inside p.drag-drop-info {
	font-size: 20px;
}

.drag-drop .drag-drop-inside p,
.drag-drop-inside p.drag-drop-buttons {
	display: block;
}

.drag-drop.drag-over #drag-drop-area {
	border-color: #83b4d8;
}

#plupload-upload-ui {
	position: relative;
}

ul.rwmb-images {
	margin: 0 !important;
}

#div_content_metabox_listing_images ul.rwmb-images {
	margin-bottom: 20px !important;
}

.rwmb-images img {
	width: auto !important;
	height: auto !important;
}

.rwmb-images li {
	padding: 9px !important;
}

.ui-autocomplete {
	margin: 0;
	list-style: none;
}

.ui-autocomplete li {
	width: 577px;
	background: #fff;
	border: 1px solid #ddd;
	border-top: 0;
}

.ui-autocomplete li:nth-child(odd) {
	background: #f8f8f8;
}

.ui-autocomplete li a {
	display: block;
	padding: 3px;
	color: inherit;
	cursor: pointer;
}

.ui-autocomplete li a:hover {
	background: #eee;
	color: inherit;
	text-decoration: none;
}

#div_content_metabox_listing_layout .layout-img {
	max-width: none !important;
}

/** Save Listing Box */

#div_button_open_preview {
    float:left;
}

#div_button_open_preview a {
    padding-left: 10px;
    padding-right: 10px;	
}

#div_button_save_listing {
    float:right;
}

#div_button_save_listing button {
	padding: 3px 10px 2px;
	line-height: 22px;
}

#div_button_delete_listing {
	margin: 20px 0 -10px;
	clear: both;
}

#div_button_delete_listing a,
#div_button_delete_listing a:visited,
#div_button_delete_listing a:hover {
	color: red;
}

/** Sidebar */

#listing-form-status {
	margin-bottom: 30px;
}

.img_thumbnail {
    max-width: 150px;
}

.div_field_radio_check {
    float: left; 
    margin: 0px 10px 5px 0px;
}

.div_sidebar {
	padding: 30px;
  	min-height: 42px;
    background: #f8f8f8;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
  	overflow-x: auto;
  	overflow-y: hidden;
    margin-bottom: 30px;
}

.div_content_sidebar {
    margin-bottom: 20px;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
}

#div_content_sidebar_featured_image {
	margin-bottom: -10px;
}

.div_content_sidebar.tax_hierarchical {
	margin-bottom: 10px;
	padding: 5px 10px;
	background-color: #fff;
	border-left: 1px solid #eaeaea;
    border-top: 1px solid #eaeaea;
}

.div_content_sidebar.tax_non_hierarchical {
	margin-bottom: 10px;
}

.taxonomy-term-list {
	width: 100%;
	max-height: 200px;
	overflow-y: auto;
	overflow-x: hidden;
	clear: both;
}

.title_div_sidebar {
	margin-bottom: 20px;
    font-weight: bold;
    font-size: 15px;
    line-height: 25px;
    border-bottom: 1px dotted #b0b0b0;  
}

.tax_value_list {
    margin-left: 15px;
    width: 100%;
    position:relative;
}

.div_tax_delete {
	float: left;
	margin-top: 10px;
	margin-right: 2px;
}

.tax_value_list span {
	position: relative;
}

.tax_value_list span a {
    background: url("../images/xit.gif") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    float: left;
    height: 10px;
    margin: 5px 0 0 -12px;
    overflow: hidden;
    position: absolute;
    text-indent: -9999px;
    width: 10px;
}

.tax_value_list span a:hover {
    background: url("../images/xit.gif") no-repeat scroll -10px 0 transparent;
}

.tax_value_list span {
    cursor: default;
    display: block;
    float: left;
    font-size: 11px;
    line-height: 1.8em;
    margin-right: 20px;
    white-space: nowrap;
}

.tax_most_used,
.tax_most_used_cloud {
	clear: both;
}

.tax_most_used {
	margin-top: 20px;
}

.tax_most_used_choose {
	display: block;
	margin: -5px 0;
	cursor: pointer;
}
.tax_most_used_cloud {
	display: block;
}

.div_content_sidebar.tax_hierarchical label.checkbox:hover {
	color: #000;
}

.div_content_sidebar.tax_hierarchical label.checkbox.level-2 {
	margin-left: 15px;
}

.div_content_sidebar.tax_hierarchical label.checkbox.level-3 {
	margin-left: 30px;
}


/* Login
================================================== */

.tabs > li.active > a {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #FFFFFF;
    border-color: #DDDDDD #DDDDDD transparent;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    color: #808080;
}
.tabs > li > a {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    line-height: 36px;
    margin-right: 2px;
    padding: 0 15px;
}
.tabs > li > a, .pills > li > a {
    display: block;
}

.post-title, .post-title h1 {
  font-size:18px;
  line-height:normal;
  margin-bottom:15px;
}

.row:before, .row:after {
    content: "";
    display: none !important;
}

.form-field-register-error {
    color: #FF0000;
}

.form-field-success {
    color: #3DA754;
}

#sidebar {
    padding-bottom: 10px;
}


/* Dashboard
================================================== */

#portal-dashboard-buttons {
	padding-top: 20px;
}

.dashboard-button a {
	display: block;
	margin-bottom: 40px;
	text-align: center;
	font-size: 18px;
}

.dashboard-button a,
.dashboard-button a:hover {
	color: inherit !important;
	text-decoration: none;
}

.dashboard-button i {
	display: block !important;
	color: inherit;
	font-size: 60px;
}

.dashboard-button a:hover i {
	color: #43a97b;
}


/* Profile
================================================== */

#div_sidebar_profile_image,
#div_sidebar_profile_password {
	max-width: 100%;
	max-height: none;
}

#item_profile {
	height: auto !important;
	width: auto !important;
}

#div_sidebar_profile_image .rwmb-images li {
	cursor: default;
}

.wpsight-portal-modal-image {
	margin-bottom: 20px;
	padding: 20px;
	background: url(../../../themes/wpcasa/lib/admin/img/bg-logo-img.png);
	text-align: center;
}

.rwmb-image-bar {
	background: rgba(51,51,51,.9) !important;
}

.rwmb-image-bar a,
.rwmb-image-bar a:hover {
	color: #fff;
}

#wpsight-portal-profile-form-wrap {
	margin-bottom: 40px;
}

#table_listings_info {
	margin-bottom: 30px;
}

#profile-footer {
	margin-bottom: 0;
}

#display_name {
	display: block;
	width: 100%;
	margin-bottom: 20px;
}

#tab_login_form .nav-tabs {
	margin-bottom: 30px;
}

#profile-alert-success,
#profile-alert-error {
	margin-top: -10px;
	margin-bottom: 10px;
}

#portal-no-access {
	margin-bottom: 40px;
}

#div_content_sidebar_profile_image,
#div_content_sidebar_profile_password {
	margin-bottom: 0;
}


/* Listings
================================================== */

#table_listings {
	margin-bottom: 30px !important;
	border: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#table_listings th {
	padding: 10px 15px;
	border-bottom: 1px solid #e0e0e0;
}

#table_listings td {
	padding: 30px 15px;
	border-top: none;
	border-bottom: 1px solid #e0e0e0;
}

#table_listings th+th,
#table_listings td+td {
	border-left: none;
}

#table_listings tbody tr.even td {
	background-color: #fff !important;
}

#table_listings tbody tr.odd td {
	background-color: #f0f0f0;
}

#table_listings thead .sorting,
#table_listings thead .sorting_asc,
#table_listings thead .sorting_desc {
	padding-left: 20px;
	background-position: center left;
}

#table_listings_length {
	padding-top: 30px;
}

#table_listings_length,
#table_listings_filter {
	margin-top: -20px;
	padding-bottom: 50px;
}

#table_listings_wrap {
	padding-bottom: 40px;
}

.listings-actions {
	display: none;
	margin-top: 20px;
}

#table_listings .label {
	margin-bottom: 10px;
}

.listing-excerpt{
	height:100px;
}