/************************   Bootstrap Additional CSS rules   ************************/

.directorypress-form-control-feedback.glyphicon {
	color: #555555;
}

.directorypress-ajax-loading {
	background: url('../images/ajax-indicator.gif') no-repeat center;
}
.directorypress-admin-wrap {
	float: left;
	margin: 4px 15px 0 0;
	width: 100%;
}
.sidebar {
	float: right;
	width: 20%;
	margin-right: 1%;
}
.sidebar .postbox {
	min-width: inherit;
}
.sidebar .postbox h3 {
	padding: 10px;
}
.directorypress-settings-wrap {
	float: left;
	width: 78%;
	margin-right: 1%;
}
.directorypress-index-setting-row {
	border-top: 1px solid #DFDFDF;
}
.directorypress-index-setting-row th {
	text-align: center;
}
.directorypress-description-big {
	font-size: 14px;
	font-style: italic;
	font-weight: bold;
}
.directorypress-red-asterisk {
	color: red;
	font-weight: bold;
	font-size: 18px;
	line-height: 1px;
	padding: 2px;
}
.clear_float {
	clear: both;
}

/* Listing locations input */
.directorypress-locations-metabox {
	padding-bottom: 10px;
}

.directorypress-locations-metabox label {
	width: 160px;
	display: inline-block;
}
.directorypress-location-in-metabox {
	border-bottom: 1px solid #EFEFEF;
	padding: 15px 0;
}
.directorypress-location-input {
	overflow: hidden;
}
.directorypress-mylocation {
	display: inline-block;
	right: 15px;
	top: 0;
	cursor: pointer;
}

/* Icons selection dialog */
.directorypress-icons-theme-name {
	font-size: 14px;
	color: black;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: center;
}
.directorypress-icons-theme-block {
	padding: 15px;
}
.directorypress-icons-theme-block span, .directorypress-icons-theme-block span.fa-icon{
    padding: 0;
    float: left;
    background-color: white;
    cursor: pointer;
    font-size: 25px !important;
    width: 52px;
    height: 52px;
    background: #f9f9f9;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-align: center;
    line-height: 50px;
	
}
.directorypress-content-wrap.ui-dialog .ui-dialog-titlebar{
	background: none;
	padding: 0;
	border: none;
	height:15px;
	
}
.directorypress-content-wrap.ui-dialog .ui-dialog-titlebar .ui-dialog-title{
	display:none;
}
.ui-button.ui-dialog-titlebar-close{

    border: 1px solid #d3d3d3 !important;
    position: absolute !important;
    top: -10px !important;
    right: -10px !important;
    height: 30px !important;
    width: 30px !important;
    border-radius: 50%;
    background: #fff !important;

}
.ui-dialog-titlebar-close:before{

    display:none;

}
.directorypress-icon, .fa-icon {
	padding: 3px;
	float: left;
	background-color: white;
	cursor: pointer;
	font-size: 25px !important;
}
.directorypress-selected-icon {
	background-color: #FCA057;
}
.directorypress-icon:hover, .fa-icon:hover {
	background-color: #EFEFEF;
}
.directorypress-selected-icon:hover {
	background-color: #FCA057;
}
.directorypress-icon-tag {
	font-size: 20px !important;
}
.directorypress-marker-icon-tag {
	box-shadow: none !important;
	display: inline-block;
	margin-right: 5px;
	vertical-align: middle;
	font-size: 28px !important;
}
.wp-picker-input-wrap {
	position: relative;
}


.directorypress-tax-dropdowns-wrap select {
    min-width: 200px
}

/* jQuery UI sortable widget customizations */
.ui-sortable-placeholder {
	background-color: #FFFBCC !important;
}
.ui-sortable tr, .directorypress-move-label {
	cursor: move;
}
.ui-widget-overlay {
    background-repeat: repeat !important;
	z-index: 5 !important;
}
/* Content fields select/radio/checkboxes configuration */
#selection_items_wrapper {
	display: inline-block;
}


.directorypress-content-wrap .ui-slider-horizontal {
	height: 8px;
}
.directorypress-content-wrap .ui-slider .ui-slider-handle.ui-corner-all {
	top: -8px;
	width: 21px;
	height: 21px;
	border-radius: 10px;
}

/* Content fields */
.directorypress-delete-selection-item {
	    float: left;
    margin-right: 5px;
    cursor: pointer;
    font-size: 32px;
    line-height: 42px;

}
.directorypress-field-item {
	padding: 10px 0;
}
.directorypress-field-input-select {
	min-width: 200px
}
.directorypress-field-icon {
	box-shadow: none !important;
	margin-right: 5px;
	display: inline-block;
	vertical-align: middle;
}
.directorypress-content-wrap-fields-metabox .directorypress-field-item {
	padding: 10px 0;
	
}
.directorypress-content-wrap-fields-metabox .directorypress-field-item p {
	margin: 0;
}
span.directorypress-week-day {
	display: inline-block;
	width: 160px;
}

#directorypress-upload-functions {
	margin: 20px 0 40px;
}
.directorypress-upload-option {
	margin: 10px 0;
}
.directorypress-attached-item {
	float: left;
	margin: 15px;
}
.directorypress-attached-item > label {
	display: block;
}
.directorypress-img-div-border {
	background-color: #FFFFFF;
	border: 2px solid #DAE2E8;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 15px;
}
.directorypress-img-div-border > a {
	display: inline-block;
}
.directorypress-img-div-border img {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 none !important;
	background: none repeat scroll 0 0 #FFFFFF !important;
	box-shadow: none !important;
	vertical-align: middle !important;
	border-radius: 0;
}
.directorypress-img-div-helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.directorypress-delete-attached-item {
	width: 20px;
	height: 20px;
	background: url('../images/delete.png') no-repeat center;
	cursor: pointer;
}

.directorypress-maps-canvas {
	margin: 20px 0;
	border: 1px solid black;
}
.directorypress-maps-canvas .gm-style img {
	max-width: none !important;
	box-shadow: none !important;
}
.directorypress-maps-canvas .gm-style label {
	width: auto !important;
	display: inline !important;
}
.directorypress-maps-canvas .gm-style-cc > div {
	word-wrap: normal;
}

.directorypress-map-marker,
.directorypress-map-marker-empty {
	border-radius: 50% 50% 50% 0;
	height: 40px;
	margin: -30% 0;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	width: 40px;
	cursor: pointer;
	text-align: center
}
.directorypress-map-marker-empty:after,
.directorypress-map-marker:after {
	background: #fff;
	border-radius: 50%;
	content: "";
	position: absolute;
	display: block
}
.directorypress-map-marker:after {
	height: 78%;
	left: 11%;
	top: 11%;
	width: 78%
}
.directorypress-map-marker-empty:after {
	height: 40%;
	left: 32%;
	top: 28%;
	width: 40%
}
.directorypress-map-marker .directorypress-map-marker-icon {
	font-size: 22px!important;
	position: relative;
	top: 20%;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	z-index: 1;
	vertical-align: middle;
	display: inline-block;
}
.directorypress-widget-listing-logo,
a.directorypress-hint-icon {
	position: absolute
}

.directorypress-mapbox-marker {
  cursor: pointer;
}

.badge {
	border-radius: 10px;
	color: #ffffff;
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	line-height: 1;
	min-width: 10px;
	padding: 3px 7px;
	text-align: center;
	vertical-align: baseline;
	white-space: nowrap;
}
.directorypress-listing-status-active, .directorypress-invoice-status-paid {
	background-color: #5BB75B;
}
.directorypress-listing-status-expired {
	background-color: #DA4F49;
}
.directorypress-listing-status-unpaid, .directorypress-invoice-status-unpaid {
	background-color: #FAA732;
}
.directorypress-listing-status-stopped, .directorypress-invoice-status-pending {
	background-color: #000000;
}

/* We do not need restore section in vafpress-framework */
#section_restore {
	display: none !important;
}


/* 
	Bootstrap has default img max-width set to 100% and for some reason lightbox stops resizing
	http://stackoverflow.com/questions/17523977/lightbox-v2-shrinks-the-image-in-the-box
*/
.lb-image{
	max-width: inherit;
}

.directorypress-admin-table label input[type="checkbox"] {
    margin-top: 3px !important;
	margin-left: 0 !important;
}

#directorypress-upload-wrapper {
	margin-bottom: 50px;
}

.vp-wrap .vp-checkbox .field label, .vp-wrap .vp-radiobutton .field label {
  display: block !important;
}

/* Content fields and Groups */
.wp-list-table.contentfields tbody tr:nth-child(odd) {
	background: #f9f9f9
}
.directorypress-nested-sortable-wrapper {
	width: 500px;
}
ul.directorypress-nested-sortable, ul.directorypress-nested-sortable ul {
	list-style-type: none;
	/* margin: 20px 0; */
}
ul.directorypress-nested-sortable li, ul.directorypress-nested-sortable ol li {
	background: linear-gradient(to bottom, #ffffff 0%, #f6f6f6 47%, #ededed 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	border-color: #d4d4d4 #d4d4d4 #bcbcbc;
	border-image: none;
	border-radius: 3px;
	border-style: solid;
	border-width: 1px;
	cursor: move;
	margin: 10px 0;
	padding: 10px 20px;
}
ul.directorypress-nested-sortable li.directorypress-sortable-group, ul.directorypress-nested-sortable ol li.directorypress-sortable-group {
	background: linear-gradient(to bottom, #ffffff 0%, #A6A6A6 47%, #A6A6A6 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
	border-color: #d4d4d4 #d4d4d4 #bcbcbc;
}

.bootstrap-select .btn.dropdown-toggle,
.bootstrap-select .dropdown-menu.open{display:none;}

#select_field_icon_dialog,
#select_field_icon_dialog2{background:#eee; padding:0;}
#select_field_icon_dialog .cat_directorypress-icon,
#select_field_icon_dialog2 .directorypress-icon2{
	display: inline-block;
	width: 70px;
	height: 70px;
	margin-bottom: 5px;
	background: #ccc;
	text-align: center;
	vertical-align: middle;
	position: relative;
}
#select_field_icon_dialog .cat_directorypress-icon img,
#select_field_icon_dialog2 .directorypress-icon2 img{

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
	margin:0 auto;
	max-width:50px;

}
#select_field_icon_dialog .button,
#select_field_icon_dialog2 .button{
	margin-left:15px;
}

.ui-dialog-titlebar {
    background: #eee !important;
    border: none !important;
    height: 15px;
    padding: 0 !important;

}

.ui-dialog-titlebar .ui-dialog-title{
	display:none;
}
#adminmenu li.toppackage_page_directorypress_settings,
#adminmenu li.toppackage_page_directorypress_settings:hover
#adminmenu li.toppackage_page_directorypress_settings:focus{
	background:#7FB33F !important;
	color:#fff;
}
.icon-search-wrapper{
	background:#fff;
	padding:0 15px 15px;
}
.icon-search-wrapper .form-group{
	width:50%;
}
.icon-search-wrapper .form-group input{
	width: 100%;
	min-height: 40px;
}
#adminmenu li.toppackage_page_directorypress_settings:after{
	display:none !important;
}
.toppackage_page_directorypress_settings.menu-top-first,
.toppackage_page_directorypress_settings.menu-top-first:hover{
	color;#fff;
}
.checkbox-wrap {margin:0 !important;}
.checkbox-wrap .checkbox {
    width: 25% !important;
	position:relative;
}
.cz-creat-listing .checkbox label span.radio-check-item::before, label span.radio-check-item::before {
    left: 15px !important;
    top: 19px !important;
	display:none !important;
}
.cz-creat-listing .checkbox label input[type=checkbox]:not(old):checked + span.radio-check-item:before,
label input[type=radio]:not(old):checked + span.radio-check-item:before,
.cz-creat-listing ul.directorypress-categorychecklist li label input[type=checkbox]:not(old):checked + span.radio-check-item:before{
	content:"\f00c";
	
}
.checkbox.directorypress-location-input{position:relative;}
.checkbox.directorypress-location-input label{
	width: 100% !important;
	padding-left:10px;
}
.input-date-time-wrap label {
    display: block !important;
}


.checkbox_how_to_show,
.check_icon_type{
	display: block;
	overflow: hidden;
}

.directorypress-configuration-page-wrap{
	
	
}
.tablenav.bottom,
.tablenav.top{
	margin:0;
	height:0;
}
.directorypress-manager-page-wrap{
	
	
}
.field_remove.directorypress-icon-close{
		color:#DC3232;
		font-size:20px;
}
.field_check.directorypress-icon-check{
		color:#1AB454;
		font-size:20px;
}
.checkbox_how_to_show{
	
}
.checkbox_how_to_show .item-label label,
.check_icon_type .item-label label{
	color:#444;
	font-size:16px;
	margin:10px 0;
	display:block;
}
.checkbox_how_to_show .how-to-show-input,
.check_icon_type .check_icon_type_input{
	background: #eee;
	display: block;
	width: 100%;
	padding: 15px;
	border:2px dashed #d9d9d9;
}
#selection_items_wrapper{
	display:block;
	overflow:hidden;
}
#selection_items_wrapper .selection_item{
	display: block;
	background: #eeee;
	padding: 15px;
	border: 2px dashed #d9d9d9;
	max-width: 100%;
	margin-top: 10px;
}
#selection_items_wrapper .selection_item input{
	padding: 10px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid #d9d9d9;
	float:left;
	width:46.5%;
}
#selection_items_wrapper .selection_item .directorypress-move-label{
	float: right;
	line-height: 42px;
	font-size: 32px;
	color: #a1a1a1;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
#add_selection_item{margin-top:30px;}
.directorypress-configuration-page-wrap p.submit{display:inline-block;}

.admin-note-from-author {

    padding: 30px;
    background: #fff;
    width: 50%;
    margin-top: 30px;

}
.directorypress_category_icon{}
.directorypress_category_icon #dropdownMenuLink{
	width:100%;
	text-align:left;
	text-transform:capitalize;
}
.directorypress_category_icon #dropdownMenuLink i{
	margin-right:5px;
	vertical-align: middle;
}

.directorypress_category_icon .dropdown-menu{
	padding:5px 10px;
	width:100%;
}
.directorypress_category_icon .dropdown-menu .dropmenu_item{
	padding:5px 0;
	border-bottom:1px solid #eee;
}
.directorypress_category_icon .dropdown-menu .dropmenu_item .meta-item img{
	width:28px;
}
.directorypress-upload-display.thumbnail{
	width:100px;
}
.directorypress-upload-display.thumbnail img{
	max-width:100%;
}

