.bpc-radio-image{
	width:40px;
	height:40px;
}
body .wrap h2{
	margin-left:10px;
}

#adminmenu .menu-icon-mygallery div.wp-menu-image:before {
  content: "\f306";
}

.mygallery-attachments-list .add-attachment {
    background: #ddd;
    box-shadow: 0 0 0 1px #ccc;
    width: 150px;
    position: relative;
    float: left;
    padding: 0;
    color: #464646;
    list-style: none;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.mygallery-attachments-list .add-attachment a {
    display: table-cell;
    vertical-align: middle;
    height: 150px;
    text-align: center;
    width: 150px;
    height: 150px;
    color:#666;
    font-weight: bold;
    text-decoration: none;
}

.mygallery-attachments-list .add-attachment a:hover {
	color:#444;
}

.mygallery-attachments-list .add-attachment a div.dashicons {
	font-size:50px;
	width: 50px;
	height: 50px;
}

.mygallery-attachments-list .add-attachment a span {
	display: block;
}


.mygallery-attachments-list .attachment-preview,
.mygallery-attachments-list .attachment-preview .thumbnail {
    width: 150px;
    height: 150px;
    cursor:move;
}

.mygallery-attachments-list .attachment {
    border: transparent 1px solid;
    box-shadow: none !important;
	width: auto !important;
	padding: 0 !important;
}

.mygallery-attachments-list .attachment.placeholder {
	width: 150px !important;
	height: 150px;
	border: #1e8cbe 1px dashed;
	background: #eee;
}

.mygallery-attachments-list li {
	margin: 0px 10px 10px 0px !important;
}

.mygallery-attachments-list .attachment.ui-sortable-helper {
    opacity: 0.5;
}

.mygallery-attachments-list .attachment.ui-sortable-helper:hover .close {
    display: none;
}

.mygallery-attachments-list input.describe {
	margin:0;
	width: 150px;
	font-size: 12px;
}

.mygallery-attachments-list .attachment .attachment-preview a {
	display: none;
	position: absolute;
	padding: 0;
	font-size: 20px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	background-color: #444;
	border-top-right-radius: 50%;
	border-top-left-radius: 50%;
	border-bottom-right-radius: 50%;
	border-bottom-left-radius: 50%;
}

.mygallery-attachments-list .attachment .attachment-preview:hover a {
	display: block;
}

.mygallery-attachments-list .attachment .attachment-preview a span {
	color:#fff;
}

.mygallery-attachments-list .attachment .attachment-preview a:hover span {
	color:#ddd;
}

.mygallery-attachments-list .attachment .attachment-preview a.remove {
	top: 5px;
	right: 5px;
}

.mygallery-attachments-list .attachment .attachment-preview a.info {
	top: 5px;
	left: 5px;
}

.spacer {
	display: inline-block;
	width:30px;
}

.gallery_template_field td {
	padding-bottom: 20px;
}

.gallery_template_field th {
	vertical-align: top;
	text-align: left;
	padding-top: 0.3em;
	padding-right: 10px;
}

.gallery_template_field textarea {
	min-width: 500px;
	min-height: 100px;
}

.mygallery_metabox_field-icon label {
	display:inline-block;
	margin-right:10px;
	border:solid 3px transparent;
	background:#aaa;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding:5px;
	line-height: 0;
}

.mygallery_metabox_field-icon input:checked + label {
	border:solid 3px #444;
	background: #888;
}

.mygallery_metabox_field-icon label:hover {
	border:solid 3px #444;
}

.mygallery_metabox_field-thumb_size label {
	vertical-align: baseline;
}

.mygallery_metabox_field-thumb_size input[type="number"] {
	margin-right: 10px;
}

#mygallery_pages ul li:hover .row-actions { visibility: visible; }

.mygallery-shortcode {
	text-align: center;
}

.mygallery-shortcode input {
	cursor: pointer;
	text-align: center;
	padding: 10px;
	font-family: "courier new", courier;
	border: none;
	box-shadow: none;
	background: #efefef;
}

.wp-list-table .mygallery-shortcode {
	cursor: pointer;
	font-size: 1em;
	border: none;
	box-shadow: none;
	background: #efefef;
	font-family: "courier new", courier;
}

.mygallery-shortcode-message {
	font-style: italic;
	color: #2EA2CC !important;
}

.mygallery-help {
	position: relative;
	display: block;
	line-height: 19px;
	padding: 11px 15px 11px 40px;
	font-size: 14px;
	text-align: left;
	margin: 5px 0 20px 2px;
	background-color: #F4F4FF;
	border-left: 4px solid #1e8cbe;
	-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
}

.mygallery-help:before {
	content: "\f223";
	font: 400 30px/1 dashicons !important;
	speak: none;
	color: #1e8cbe;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	vertical-align: bottom;
	position: absolute;
	left: 5px;
	height: 100%;
	margin-top: -15px;
	top: 50%;
}

.mygallery-metabox-settings {
	width: 100%;
}

.gallery_template_field h4 {
	font-size: 1.2em;
	border-bottom: solid 1px #EEE;
	padding-bottom: 5px;
}

.mygallery_metabox_custom_css {
	width: 100%;
	height: 10em;
}

.myg-nav-tabs a:focus {
	box-shadow: none;
	outline: 0;
}

/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/

#mygallery_modal_wrap{
	position:fixed;
	top:0;
	left:0;
	z-index:99999;
	width: 100%;
	height: 100%;
	background:rgba(0,0,0,0.40);
}
#mygallery_container{
	margin:200px 0;
}
#mygallery_modal_content_wrap{
	background:#ffffff;
	width:200px;
	margin:0 auto;
	padding:20px;
	border-radius:4px;
	border: 0 solid rgba(255,255,255,0.85);
    box-shadow: 0 1px 15px rgba(255,255,255,.85);
	-webkit-box-shadow: 0 1px 15px rgba(255,255,255,.85);
	-moz-box-shadow: 0 1px 15px rgba(255,255,255,.85);
}

.mygallery_spinnerx16{
	background:url(../images/loaderx16.gif) no-repeat center center;
	display:inline-block;
	width:16px;
	height:16px;
	z-index:20;
}
