/*
 ** Default style
*/

/* Containers */
#wpcontent{
	margin-right: 200px;
}
body.aqpanel-closed #wpcontent{
	margin-right: 0;
}
#aqpanel{
    z-index: 999;
    right: 0;
    top: 32px;
    bottom: 0px;
    box-sizing: border-box;
    position: fixed;
    width: 200px;
    height: auto;
    background-color: #fbfbfb;
    border-left: solid 2px #bababa;  
    padding-bottom: 20px;
}
#aqpanel.minimized{
	width: 10px;
	padding: 0px;
}
#aqpanel .container{
	overflow-y: scroll;
	height: 100%;
	padding: 15px 20px;
}


/* hide/show panel button */
#aqpanel .collapse-button-icon:after {
	transform: rotate(180deg);
	content: "\f148";
	display: block;
	position: absolute;
	top: 50%;
	left: -12px;
	background: #777;
	color: #fff;
	border-radius: 50%;
	padding: 0;
	text-align: center;
	font: normal 24px/1 dashicons!important;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	cursor: pointer;
}
#aqpanel .collapse-button-icon.closed:after{
	transform: none;
}

/* Fonts */
#aqpanel h1{
	font-size: 1.3em;
}

/* Side panel post display */
.aqpanel-post-container{
	background-color: #f9f9f9;
	padding: 5px;
	border: 1px solid #e5e5e5;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
#aqpanel .aqpanel-post{
	margin-bottom: 10px;
}
.aqpanel-post-container .aqpanel-post-footer{
	opacity: 0;
	margin-top: 5px;
}
.aqpanel-post-container:hover .aqpanel-post-footer{
	opacity: 1;
}
.aqpanel-post-container a{
	text-decoration: none;
}
.aqpanel-delete a{
	color: red;
	float: right;
}
.post-type-title{
	text-transform: capitalize;
}
#aqpanel .wp-post-image{
	max-width: 100%;
	height: auto;
}

/* Post list column */
#aqpanel_featured_posts_col, .column-aqpanel_featured_posts_col, .column-aqpanel_featured_posts_col {
    width: 90px;
    text-align: center !important;
}
.aqpanel_featured_posts_icon{
	color: #aaa;
	cursor: pointer;
}
.aqpanel_featured_posts_icon:hover{
	color: #aaa;
}
.aqpanel_featured_posts_icon span{
	font-size: 26px;
}
.aqpanel_featured_posts_icon.selected{
	color: #b00;
}

/* Gutenberg adaptation */
.edit-post-sidebar, .edit-post-header{
	right: 210px;
}
body.aqpanel-closed .edit-post-sidebar, body.aqpanel-closed .edit-post-header{
	right: 10px;
}
body.block-editor-page #wpbody-content>div:not(.block-editor):not(#screen-meta), body.block-editor-page #wpfooter{
	display: block;
}

/* Show/disable thumbnails */
#aqpanel .thumbnail{
	display: none;
}
body.aqpanel-show-thumbnails #aqpanel .thumbnail{
	display: inline-block;
}

/* Empty message */
#aqpanel .aqpanel-empty{
	margin-top: 10px;
}

/** 
 * WooCommerce
 */
 #aqpanel .order-status{
 	margin-bottom: 5px;
 	margin-top: 5px;
 	display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    line-height: 2.5em;
    color: #777;
    background: #e5e5e5;
    border-radius: 4px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    cursor: inherit!important;
    white-space: nowrap;
    max-width: 100%;
 }
 #aqpanel .order-status.status-wc-completed {
 	background: #c8d7e1;
 	color: #2e4453;
 }

 #aqpanel .order-status.status-wc-on-hold {
 	background: #f8dda7;
 	color: #94660c;
 }

 #aqpanel .order-status.status-wc-failed {
 	background: #eba3a3;
 	color: #761919;
 }

 #aqpanel .order-status.status-wc-processing {
 	background: #c6e1c6;
 	color: #5b841b;
 }

 #aqpanel .order-status.status-wc-trash {
 	background: #eba3a3;
 	color: #761919;
 }
 #aqpanel .order-status>span {
    margin: 0 1em;
    overflow: hidden;
    text-overflow: ellipsis;
}