input, textarea {
	background: #FFF;
    border: 1px solid #D9D9D6;
    padding: 7px;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul,li,ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.typecho-option h4 {
	margin: 0;
	padding: 0;
	line-height: 22px;
	font-size: 14px;
	margin-top: 3px;
}

.typecho-option-inline label {
	display: inline-block;
	margin-left: 10px;
	margin-top: 6px;
}

.typecho-option-group .typecho-option-inline {
	
}

.typecho-option input[type="checkbox"], .typecho-option input[type="radio"] {
	vertical-align: middle;
	margin-top: -2px;
}

.typecho-option .typecho-option-foucs {
	border-color: #28a8ce;
}

code {
	padding: 2px 4px;
    font-size: 90%;
    background: #ebebeb;
    color: #ababab;
    border-radius: 4px;
}

input.invalid {
	border:1px solid #c83623;
}

.set-post-thumbnail {
	cursor: pointer;
}

.layer-panel {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: #fbfbfb;
}

.layer-panel-head {
	position: absolute;
	left: 0;
	right: 0;
	top:0;
	height: 39px;
	padding: 0 15px;
}

.layer-panel-body {
	position: absolute;
	left: 0;
	right: 0;
	top: 40px;
	bottom: 53px;
	overflow: auto;
}

.layer-panel-foot {
	position: absolute;
	left: 0;
	right: 0;
	bottom:0;
	height: 32px;
	padding: 10px 15px;
	background: #f6f6f6;
	border-top: 1px solid #ddd;
	text-align: right;
}
.layer-panel-inner {
	margin: 0 15px;
}

.layer-panel-uploader {
	width: 100%;
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -90px;
	text-align: center;
}

.layer-panel-attachments li {
	float: left;
	width: 16.666%;
	margin-top: 10px;
}

.layer-panel-attachments .layer-panel-imagebox {
	display: block;
	border: 1px solid #ccc;
	background: #f5f5f5;
	vertical-align: middle;
	position: relative;
	width: 110px;
	height: 110px;
	position: relative;
	margin: 0 auto;
	cursor: pointer;
	overflow: hidden;
}

.layer-panel-attachments .layer-imagebox-check {
	display: block;
	width: 20px;
	height: 20px;
	background:#fff url(img/check.png) no-repeat center;
	position: absolute;
	right: 1px;
	bottom: 1px;
	display: none;
}

.layer-panel-attachments .layer-panel-imagebox:hover,
.layer-panel-attachments li.selected .layer-panel-imagebox {
	border-color: #467b96;
	background: #fff;
	box-shadow: 0 0 2px 1px #467b96;
}

.layer-panel-attachments li.selected .layer-imagebox-check{
	display: block;
}
	
.layer-panel-attachments .layer-imagebox-inner {
	position: absolute;
    left: 0px;
    top: 0px;
    bottom:0px;
    right: 0px;
    -webkit-transform: translate(50%,50%);
    transform: translate(50%,50%);
}

.layer-panel-attachments .layer-panel-imagebox img {
	position: absolute;
	left: 0;
	top: 0;
	-webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.layer-panel-attachments .layer-panel-imagebox img.imagebox-width-image {
	max-height: 100%;
}

.layer-panel-attachments .layer-panel-imagebox img.imagebox-height-image {
	max-width: 100%;
}

.layer-panel-attachments .upload-imagebox {
	text-decoration: none;
	color: #555;
	line-height: 110px;
	text-align: center;
}

/**
 * layer
 */
.layui-layer .layui-layer-btn .layui-layer-btn0 {
    border-color: #48809c;
    background-color: #4e88a6;
    color: #fff;
}



/**
 * admin fix
 */

.typecho-login .i-logo {
	display: none;
}