/*
1. Genaral Theme
2. Mega Menu
3. Meta Boxes
4. Logo Settings Page
5. Form Add Sidebar
6. Widget
7. Product Category
8. Product Color Attribute
10. WooCommerce Customize
11. Menu Color Picker
*/
/***************** 1. Genaral Theme *****************/
.hidden{
	display: none
}
#setting-error-tgmpa{
	display: block;
}
.post-type-blogone_footer_block #edit-slug-box,
.post-type-blogone_mega_menu #edit-slug-box{
	display: none;
}
.blogone-post-edit-button, 
.blogone-post-view-button{
	margin: 0 10px;
	display: inline-block;
}

/***************** 2. Mega Menu *****************/
.menu-item-bar dt.menu-item-handle{
	width: 500px;
}
.menu-item-settings{
	width: 500px;
	padding: 15px;
}
.menu-item-bar dt.menu-item-handle,
.menu-item-settings{
	max-width: 500px;
}
.menu-item-settings .description{
	margin-bottom: 7px;
}
.menu-item-settings .description-thin{
	width: 240px;
}
.menu-item-settings .description-wide{
	width: 490px;
}
.menu-item-settings .wp-editor-wrap{
	clear: both;
}
.menu-item-settings .wp-editor-container textarea.wp-editor-area {
	height: 150px !important;
}
.field-sc-is-megamenu{
	font-weight: bold;
}
.menu-edit .field-description.description-wide{
	width: 100%;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #d9d9d9
}
.nav-menus-php .item-edit{
	overflow: hidden;
}
.menu-item-settings .field-sc-bg-color label{
	margin-right: 10px;
}
.menu-item-settings .field-sc-bg-color .description{
	display: block;
	margin-bottom: 10px;
}

/***************** 3. Meta Boxes *****************/
.blogone-meta-box-field{
	width: 100%; 
	overflow: hidden;
	margin-bottom: 6px;
}
.form-table td.blogone-meta-box-field{
	width: 85%
}
.blogone-meta-box-field label{
	float: left;
	line-height: 28px;
	width: 27%;
	font-weight: 600;
}
.blogone-meta-box-field .field{
	float: left;
	width: 68%
}
.blogone-meta-box-field .field input:not(.colorpicker):not(.wp-picker-clear), 
.blogone-meta-box-field .field select, 
.blogone-meta-box-field .field textarea{
	min-width: 250px;
}
.blogone-meta-box-field .field textarea{
	height: 100px;
	width: 364px;
}
.blogone-meta-box-field .field input[type="button"]{
	font-size: 13px;
	line-height: 30px;
	margin-left: 5px;
	min-width: 50px !important;
	padding: 0 5px;
	border: none;
	background-color: #00aef0; 
	color: #fff;
}
.blogone-meta-box-field .field input[type="button"]:hover{
	background-color: #0089bd; 
	cursor: pointer
}
.blogone-meta-box-field .field input[type="button"]:disabled{
	background-color: #ebebeb; 
	color: #666
}
.blogone-meta-box-field .field input[type="button"]:disabled:hover{
	cursor: auto
}
.blogone-meta-box-field .field input[type="button"].wp-picker-clear{
	padding: 0
}
.blogone-meta-box-field .field input.upload_field{
	width:65%;
}
.blogone-meta-box-field .field .preview-image{
	max-width: 50%; 
	max-height: 200px; 
	margin-top: 5px; 
	margin-left: 1px; 
	display: block;
}
.blogone-meta-box-field .field .description{
	display: block;
	font-style: italic;
}
.blogone-meta-box-field.blogone-heading-box{
	margin-top: 20px;
	margin-bottom: 20px;
}
.blogone-meta-box-field.blogone-heading-box h2{
	margin-bottom: 0 !important; 
	font-size: 20px !important; 
	background-color: rgba(240,240,241,0.5);
}

#page_options.blogone-hidden{
	display: none !important
}

/* Meta Boxes - Gallery */
#post_gallery .inside{
	padding: 0;
	margin: 0;
}
.blogone-gallery-box{
	padding: 0 0 0 5px;
}
.blogone-gallery-box .image{
	width: 75px;
	float: left;
	margin: 9px 9px 0 0;
	position: relative;
}
.blogone-gallery-box .image img{
	width: 100%;
	height: auto;
	max-height:80px;
	display: block;
}
.blogone-gallery-box .image .del-image{
	display: block;
	position: absolute;
	top: -6px;
	right: -6px;
	height: 14px;
	width: 14px;
	line-height: 14px;
	text-align: center;
	background-color: #000;
	border-radius: 50%;
}
.blogone-gallery-box .image .del-image:before{
	font-family: dashicons;
	color: #fff;
	content: "\f335";
	font-size: 11px;
	font-weight: 900;
}
.blogone-gallery-box .image .del-image:hover{
	cursor: pointer;
}
.blogone-gallery-box .add-image{
	padding: 5px 0;
	margin: 10px 0;
	display: block;
	clear: both;
	float: left
}

.blogone-gallery-box.context-normal{
	box-sizing: border-box; 
	padding-left: 1px;
}
.blogone-gallery-box.context-normal .image{
	margin: 0 9px 9px 0;
}
.blogone-gallery-box.context-normal .del-image{
	position: absolute; 
	left: 0; 
	top: 0; 
	bottom: auto; 
	right: auto; 
	width: 100%; 
	height: 100%; 
	background: transparent; 
	border-radius: 0;
}
.blogone-gallery-box.context-normal .del-image:before{
	content: '\f00d'; 
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	text-align: center; 
	font-size: 15px; 
	color: red; 
	position: absolute; 
	width: 100%; 
	height: 100%; 
	line-height: 75px; 
	left: 0; 
	top: 0; 
	background-color: rgba(255,255,255,0.3);
}
.blogone-gallery-box.context-normal .add-image{
	clear: none; 
	margin: 0 9px 9px 0; 
	padding: 0; 
	width: 75px; 
	height: 75px; 
	background-color:#f5f5f5; 
	text-decoration: none; 
	font-size: 0
}
.blogone-gallery-box.context-normal .add-image:before{
	content: "\f067"; 
	font-family: "Font Awesome 5 Free"; 
	font-size: 15px; 
	color: #0f0; 
	text-align: center; 
	width: 100%; 
	height: 100%; 
	line-height: 75px; 
	display: block;
	font-weight: 900;
}

/* Meta Boxes - Table */
.blogone-meta-box-field.table{
	margin-bottom: 10px;
}
.blogone-meta-box-field.table table{
	text-align: center;
	width: 100%;
	background-color: #f5f5f5;
	padding: 5px;
}
.blogone-meta-box-field.table table
,.blogone-meta-box-field.table tr
,.blogone-meta-box-field.table td{
	border: none !important;
}
.blogone-meta-box-field.table .field{
	width: 100%;
	display: block;
	margin-top: 5px;
}
.blogone-meta-box-field.table .table-button{
	width: 18px;
	height: 18px;
	margin: 3px;
	display: inline-block;
	text-decoration: none;
	background-color: #81b71a;
	color: #fff;
}
.blogone-meta-box-field.table .table-button.del-row,
.blogone-meta-box-field.table .table-button.del-col{
	background-color: #db4a39;
}
.blogone-meta-box-field.table tbody tr td:last-child{
	width: 50px;
}

.blogone-meta-box-field.table table input{
	min-width: 0 !important;
	width: 100%;
}
.blogone-meta-box-field.table tbody tr:first-child td,
.blogone-meta-box-field.table tbody tr td:first-child{
	font-weight: normal;
}
.blogone-meta-box-field.table tbody tr td{
	font-weight: bold;
}

/* Meta Boxes - Multi Select */
.blogone-meta-box-field.multi-select .field select{
	min-width: 100%;
}

/***************** 4. Logo Settings Page *****************/
.blogone-logo-settings-page-title{
	font-size: 25px;
	font-weight: bold;
}
#sc-logo-setting-page-wrapper h3{
	font-size: 20px;
	font-weight: bold
}
#sc-logo-setting-page-wrapper .responsive-options-wrapper label,
#sc-logo-setting-page-wrapper .responsive-options-wrapper span{
	margin-right: 2px;
	vertical-align: top;
	line-height: 22px;
}
#sc-logo-setting-page-wrapper .responsive-options-wrapper label{
	font-weight: bold
}
#sc-logo-setting-page-wrapper .responsive-options-wrapper span{
	margin-right: 15px;
}
#sc-logo-setting-page-wrapper .responsive-options-wrapper input.small-text{
	width: 70px;
	max-width: 70px
}

/***************** 5. Form Add Sidebar *****************/
#sc-form-add-sidebar{
	background-color: #fafafa;
	border: 1px solid #e5e5e5;
	padding: 30px 10px;
	margin: 20px 0;
	color: #23282d;
	text-align: center;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04); 
	box-shadow: 0 1px 1px rgba(0,0,0,.04); 
	position: relative;
}
#sc-form-add-sidebar.loading:before{
	content: "\f110"; 
	font-family: "Font Awesome 5 Free";
	position: absolute; 
	left: 50%;
	font-weight: 900;
	top: 50%;
	width: 30px;
	text-align: center;
	line-height: 30px;
	margin-top: -15px;
	margin-left: -15px;
	font-size: 20px;
	z-index: 10; 
	-webkit-animation: fa-spin 1s infinite steps(8);
    animation: fa-spin 1s infinite steps(8);
}
#sc-form-add-sidebar.loading:after{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	content: "";
	background: rgba(255,255,255,0.7);
}
#sc-form-add-sidebar input[type="text"]{
	width: 350px;
	vertical-align: middle;
	line-height:21px;
}
#sc-add-sidebar{
	border: none;
	border-radius: 0;
}
.sidebar-sc-custom-sidebar .delete-sidebar{
	position: absolute;
	top: 15px;
	right: -1px;
	font-size: 15px;
	color: #ccc;
	z-index: 99;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
.sidebar-sc-custom-sidebar .delete-sidebar:before{
	content: "\f2ed";
}
.sidebar-sc-custom-sidebar .delete-sidebar:hover{
	color: #aaa
}

/***************** 6. Widget *****************/
#widgesc-right .widget-inside textarea{
	white-space: normal;
	min-height: 100px
}
.widget .blogone_meta_box_upload_button, 
.widget .blogone_meta_box_clear_image_button{
	margin: 10px 0;
}
.widget .preview-image{
	display: block;
	max-width: 100%;
}

/***************** 7. Product Category *****************/
.blogone-product-cat-upload-field .preview-image{
	float: left;
	margin-right: 10px;
	min-width: 60px;
}
.blogone-product-cat-upload-field .button-wrapper{
	line-height: 60px;
}
.blogone-product-cat-upload-field .preview-image img{
	max-width: 60px;
	max-height: 60px;
}
.taxonomy-product_cat table.wp-list-table .column-description img{
	max-width: 100%;
}

/***************** 8. Product Color Attribute *****************/
.blogone_color_preview_image{
	margin-bottom: 5px; 
	width: 30px; 
	height: 30px;
}

/***************** 10. WooCommerce Customize  *****************/
#customize-control-woocommerce_catalog_columns{
	display: none !important;
}

/***************** 11. Menu Color Picker *****************/
.wp-picker-container .wp-picker-holder{
	position: absolute;
}
.wp-picker-container.wp-picker-active .wp-picker-holder{
	z-index: 99;
}

.blogone-getting-started-notice{
	padding: 20px 10px;
	display: flex;
	align-items: center;
}

.blogone-theme-screenshot{
	margin-right: 20px;
}

.blogone-theme-screenshot img {
    max-width: 200px;
    display: inline-block;
    vertical-align: top;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.wp-core-ui .button-danger{
	background-color: #d51111;
	border-color: #d51111;
	color: #ffffff;
}

.wp-core-ui .button-danger.focus, 
.wp-core-ui .button-danger.hover, 
.wp-core-ui .button-danger:focus, 
.wp-core-ui .button-danger:hover{
	background-color: #b70e0e;
	border-color: #b70e0e;
	color: #ffffff;
}

.blogone-push-down {
    padding-top: 15px;
    display: inline-block;
    padding-left: 8px;
}