html,
body {
	width: 100%;
	height: 100%;
}

body {
	font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, \\5FAE\8F6F\96C5\9ED1, Arial,
		sans-serif !important;
	font-size: 12px;
	color: #495060 !important;
	line-height: 1.2;
	background-color: #fff;
	height: 100%;
}

div {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

a {
	cursor: pointer;
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

a:hover {
	color: #1b84ed;
}

/* 主色调 ---- #1b84ed */
/* hover ---- #57a3f3 */

.layui-tab-content {
	padding: 0 !important;
}

input,
textarea {
	border: 0;
	-webkit-appearance: none;
}

@media screen and (min-width: 600px) {
	/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
	::-webkit-scrollbar {
		width: 10px;
		height: 10px;
		background-color: #fff;
	}

	/*定义滑块 内阴影+圆角*/
	::-webkit-scrollbar-thumb {
		border-radius: 10px;
		background-color: #c2c2c2;
	}
}

.r-table::-webkit-scrollbar {
	width: 10px;
	height: 10px;
	background-color: #fff;
}

.layui-layer-content::-webkit-scrollbar {
	width: 0!important;
	height: 0!important;
}

::-webkit-input-placeholder {
	color: #dddee1;
}
:-moz-placeholder {
	color: #dddee1;
}
::-moz-placeholder {
	color: #dddee1;
}
:-ms-input-placeholder {
	color: #dddee1;
}

/* css rest */
button {
	-webkit-transition: border .2s ease-in-out, background .2s ease-in-out, -webkit-box-shadow .2s ease-in-out !important;
	transition: border .2s ease-in-out, background .2s ease-in-out, -webkit-box-shadow .2s ease-in-out !important;
	-o-transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out !important;
	transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out !important;
	transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out, -webkit-box-shadow .2s ease-in-out !important;
}

input,
textarea {
	border: 1px solid #dddee1;
	-webkit-transition: border .2s ease-in-out, background .2s ease-in-out, -webkit-box-shadow .2s ease-in-out !important;
	transition: border .2s ease-in-out, background .2s ease-in-out, -webkit-box-shadow .2s ease-in-out !important;
	-o-transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out !important;
	transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out !important;
	transition: border .2s ease-in-out, background .2s ease-in-out, box-shadow .2s ease-in-out, -webkit-box-shadow .2s ease-in-out !important;
}

input[type=submit]:hover,
button:hover {
	background: #57a3f3 !important;
}

.layui-input:hover,
.layui-textarea:hover
.layui-input:focus,
.layui-textarea:focus {
	border-color: #57a3f3 !important;
}

input:focus,
textarea:focus {
	outline: 0;
	-webkit-box-shadow: 0 0 0 2px rgba(45, 140, 240, .2);
	        box-shadow: 0 0 0 2px rgba(45, 140, 240, .2);
}

.layui-laydate-content .layui-laydate .layui-this {
	background: #1b84ed !important;
}

.layui-btn-disabled {
	background: #57a3f3 !important;
}

.layui-btn-disabled:hover {
	background: #57a3f3 !important;
}

.r-content .layui-btn-danger {
	background-color: #ed3f14!important;
}

.layui-form-danger + .layui-form-select .layui-input,
.layui-form-danger:focus {
	border: 1px solid #ed3f14 !important;
}

.layui-form-danger + .layui-form-select .layui-input,
.layui-form-danger:focus {
	border-color: #ed3f14;
	outline: 0;
	-webkit-box-shadow: 0 0 0 2px rgba(237, 63, 20, .2);
	        box-shadow: 0 0 0 2px rgba(237, 63, 20, .2);
}

.layui-form-select dl dd.layui-this {
	background-color: #1b84ed;
	color: #fff;
}

.layui-form-radio i:hover,
.layui-form-radioed i {
	color: #1b84ed;
}

.layui-form-radio i {
	margin-right: 8px;
	font-size: 18px;
	color: #1b84ed;
}

.layui-form-select dl {
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
	        box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
	border: none;
}

.layui-form-checkbox[lay-skin=primary]:hover i {
	border-color: #1b84ed;
	color: #fff;
}
.layui-form-checkbox[lay-skin=primary] span {
	background: #fff!important;
}

.layui-form-checked[lay-skin=primary] i {
	border-color: #1b84ed;
	background-color: #1b84ed;
	color: #fff;
}

.layui-btn {
	background-color: #1b84ed;
	color: #fff;
	border-radius: 4px;
	line-height: 1.5;
	padding: 6px 15px;
	height: auto;
}

.layui-btn-primary:hover {
	border-color: #57a3f3;
	color: #fff;
	opacity: 1;
}

.layui-nav-tree .layui-nav-bar {
	width: 0;
	background-color: #1b84ed;
}

form .layui-form-switch {
	margin-top: 4px;
}

.layui-form-switch {
	position: relative;
	height: 28px;
	line-height: 28px;
	width: 56px;
	padding: 0 5px;
	margin-top: 0;
	border: 1px solid #d2d2d2;
	border-radius: 20px;
	cursor: pointer;
	background-color: #fff;
	-webkit-transition: .1s linear;
	-o-transition: .1s linear;
	transition: .1s linear;
}

/* input[type="checkbox"] + .layui-unselect {
	background: #ccc;
} */

.layui-form-onswitch {
	border-color: #2d8cf0 !important;
	background-color: #2d8cf0 !important;
}

.layui-form-onswitch i {
	left: 58px !important;
}

.layui-form-switch em {
	right: -10px;
}

.layui-form-onswitch em {
	right: 5px;
}

.layui-form-switch i {
	position: absolute;
	left: 1px;
	top: 2px;
	width: 24px;
	height: 24px;
	border-radius: 20px;
	background-color: #fff;
}

.layui-form-item .layui-input-inline {
	width: auto;
	margin: 0 10px 0 20px;
}

.layui-form-label {
	font-weight: 700 !important;
	width: 70px;
}

.layui-input-block {
	margin-left: 120px;
}

.layui-laypage .layui-laypage-curr .layui-laypage-em {
	background-color: #2d8cf0;
}

.form-left {
	margin-left: 60px;
}

.layui-form-selected {
	z-index: 100000;
}

/* table */
.r-table .layui-table-header {
	background-color: #f8f8f9!important;
}

.r-table .layui-table-body .layui-table-cell {
	font-size: 12px;
	color: #515a6e;
}

.r-table .layui-table-header .layui-table-cell > span {
	color: #515a6e;
	font-weight: 700;
	font-size: 12px;
}

.r-table .layui-table tbody tr:hover, .r-table .layui-table-hover {
	background-color: #ebf7ff !important;
}

.layui-form-radio {
	font-size: inherit!important;
}

.r-table .layui-laypage {
	margin: 0;
}

.layui-laypage a, .layui-laypage span {
	display: inline-block;
	vertical-align: middle;
	height: 32px;
	line-height: 32px;
	background-color: #fff;
	color: rgb(51, 51, 51);
	font-size: 12px;
	padding: 0px 15px;
}

/* table */
.layui-table-cell {
	height: 36px;
	line-height: 36px;
}

/* 登录页面 */
.login-body {
	width: 100%;
	height: 100%;
	padding-top: 160px;
	background: url(../images/bg.png) no-repeat center;
	background-size: 100% 100%;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

@media screen and (max-width: 500px) {
	.login-body {
		padding-top: 80px;
	}
}

.login {
	margin: 0 auto 0 auto;
	max-width: 420px;
	padding: 40px;
	background-color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	border-radius: 4px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

.login a.logo {
	display: block;
	height: 58px;
	width: 167px;
	margin: 0 auto 30px auto;
	background-size: 167px 42px;
}
.login .message {
	margin: 10px 0 0 -58px;
	padding: 18px 10px 18px 60px;
	background: #1b84ed;
	position: relative;
	color: #fff;
	font-size: 16px;
}
.login #darkbannerwrap {
	background: url(../images/aiwrap.png);
	width: 18px;
	height: 10px;
	margin: 0 0 20px -58px;
	position: relative;
}

.login input[type=text],
.login input[type=file],
.login input[type=password],
.login input[type=email],
select {
	/* border: 1px solid #dcdee0; */
	vertical-align: middle;
	border-radius: 3px;
	height: 50px;
	padding: 0px 16px;
	font-size: 14px;
	color: #555555;
	outline: none;
	width: 100%;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.login input[type=text]:focus,
.login input[type=file]:focus,
.login input[type=password]:focus,
.login input[type=email]:focus,
select:focus {
	border: 1px solid #27a9e3;
}
.login input[type=submit],
.login input[type=button] {
	display: inline-block;
	vertical-align: middle;
	padding: 12px 24px;
	margin: 0px;
	font-size: 18px;
	line-height: 24px;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	color: #ffffff;
	background-color: #1b84ed;
	border-radius: 3px;
	border: none;
	-webkit-appearance: none;
	outline: none;
	width: 100%;
}
.login hr {
	background: #fff url() 0 0 no-repeat;
}
.login hr.hr15 {
	height: 15px;
	border: none;
	margin: 0px;
	padding: 0px;
	width: 100%;
}
.login hr.hr20 {
	height: 20px;
	border: none;
	margin: 0px;
	padding: 0px;
	width: 100%;
}

.login-btn {
	width: 100%;
	height: 50px;
	margin-top: 20px;
	font-size: 16px;
}

@media screen and (max-width: 500px) {
	.login {
		width: 80%;
		padding-bottom: 40px;
	}

	.r-content button {
		display: block;
		/*margin-left: 35px !important;*/
	}
}

/* message 组件样式 */
.r-message {
	position: fixed;
	z-index: 101000000000;
	width: 100%;
	top: 16px;
	left: 0;
	pointer-events: none;
	font-size: 12px;
}

.r-message-notice:first-child {
	margin-top: -8px;
}

.r-message-notice {
	position: relative;
	top: -50px;
	z-index: 1;
	opacity: 0;
	padding: 8px;
	text-align: center;
	overflow: hidden;
	height: 50px;
	-webkit-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.r-message-notice-active {
	top: 0 !important;
	opacity: 1 !important;
	z-index: 0 !important;
}

.r-message-notice-content {
	display: inline-block;
	pointer-events: all;
	padding: 8px 16px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
	background: #fff;
	position: relative;
}

.r-message-notice-content-text {
	display: inline-block;
}

.r-message-notice-content-text i {
	margin-right: 8px;
	font-size: 14px;
	top: 1px;
	position: relative;
}

.r-message .success i {
	color: #19be6b;
}

.r-message .info i {
	color: #2d8cf0;
}

.r-message .error i {
	color: #ed3f14;
}

.r-message .warning i {
	color: #f90;
}

.r-message .loading i {
	display: inline-block;
	color: #2d8cf0;
}

.r-btn-error {
	color: #fff;
	background-color: #ed3f14;
	border-color: #ed3f14;
}

.r-btn-error.active,
.r-btn-error:active {
	color: #f2f2f2;
	background-color: #e13c13;
	border-color: #e13c13;
}

/* 弹出层样式rest */
.layui-layer-dialog {
	min-width: 460px !important;
	border-radius: 6px !important;
	background-clip: padding-box !important;
	padding-bottom: 10px !important;
}

.layui-layer-title {
	height: 20px;
	line-height: 20px;
	font-size: 14px;
	color: #1c2438 !important;
	font-weight: 700;
}

.layui-layer-dialog .layui-layer-content {
	color: #495060;
}

.layui-layer-btn a {
	padding: 2px 15px !important;
	font-size: 14px !important;
	border-radius: 4px !important;
}

.layui-layer-btn .layui-layer-btn1 {
	color: #495060;
}

.layui-layer-btn .layui-layer-btn1:hover {
	color: #2d8cf0;
}

.layui-layer-btn .layui-layer-btn0 {
	color: #fff;
	background-color: #2d8cf0 !important;
	border-color: #2d8cf0 !important;
}

.layui-layer-btn .layui-layer-btn0:hover {
	background-color: #57a3f3 !important;
	border-color: #57a3f3 !important;
}

.load-loop {
	-webkit-animation: ani-load-loop 1s linear infinite;
	animation: ani-load-loop 1s linear infinite;
}

@-webkit-keyframes ani-load-loop {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}

	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes ani-load-loop {
	0% {
		-webkit-transform: rotate(0);
		transform: rotate(0);
	}

	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.r-loading {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	height: 100%;
	width: 100%;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.r-loading-active {
	opacity: 1;
	z-index: 1000000000;
}

.r-loading-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: hsla(0, 0%, 100%, .8);
}

.r-loading-wrap {
	position: absolute;
	top: 30%;
	left: 50%;
	text-align: center;
	-webkit-transform: translate3d(-50%, -50%, 0);
	        transform: translate3d(-50%, -50%, 0);
	color: #2d8cf0;
	font-size: 14px;
}

.r-loading-wrap i {
	display: inline-block;
	font-size: 26px;
}

h1 {
	font-size: 26px;
	font-weight: 400;
	color: #495060;
	margin-bottom: 20px;
}

/* 页面 */
.r-content {
	position: relative;
	min-height: 100%;
	padding: 20px 40px;
	margin-bottom: 20px;
}

.r-main {
	padding-top: 20px;
	background: #fff;
}

.r-content button {
	/*margin: 0 0 0 20px;*/
}

.r-content .r-table {
	margin-top: 10px;
	background: #fff;
	/* overflow-x: auto; */
}

.r-content .layui-btn .layui-icon {
	font-size: 12px !important;
}

/* 图片上传 */
.r-img-upload {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	height: 60px;
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
	padding: 10px 0;
}

.r-img-upload-big {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	height: 140px;
}

.r-img-upload > div {
	margin-left: 20px;
}

.r-img-upload-big .img-uplod {
	width: 120px;
	height: 140px;
}

.r-img-upload-big .img-uplod {
	width: 120px;
	height: 140px;
	line-height: 140px;
}

.img-uplod {
	width: 60px;
	height: 60px;
	line-height: 60px;
	background: #fff;
	border: 1px dashed #dddee1;
	border-radius: 4px;
	text-align: center;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	-webkit-transition: border-color .3s ease;
	-o-transition: border-color .3s ease;
	transition: border-color .3s ease;
}

.img-uplod:hover {
	border: 1px dashed #2d8cf0;
}

.img-uplod:hover i {
	color: #2d8cf0;
}

.img-uplod i {
	-webkit-transition: color .3s ease;
	-o-transition: color .3s ease;
	transition: color .3s ease;
	font-size: 26px;
}

.upload-list,
.img-uplod {
	display: inline-block;
}

.r-img-upload-big  .upload-list {
	width: 120px;
	height: 140px;
	line-height: 140px;
}

.upload-list {
	display: inline-block;
	width: 60px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	border: 1px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	position: relative;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	        box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	margin-right: 10px;
}

.upload-list:hover .upload-list-cover {
	display: block;
}

.upload-list-cover i {
	color: #fff;
	font-size: 20px;
	cursor: pointer;
	margin: 0 2px;
}

.upload-list img {
	width: 100%;
	height: 100%;
	vertical-align: top;
}

.upload-list-cover {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, .6);
}

/* 图片预览 */
.img-preview {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	width: 100%;
	height: 100%;
	font-size: 0;
	-webkit-transition: all .3s ease 0.1s;
	-o-transition: all .3s ease 0.1s;
	transition: all .3s ease 0.1s;
}

.img-preview-active {
	opacity: 1;
	z-index: 100000000;
}

.img-preview > .mask {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	cursor: pointer;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}

.img-preview .img {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1000;
	opacity: 0;
	-webkit-transform: translate3d(-50%, -100%, 0);
	transform: translate3d(-50%, -100%, 0);
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	background: #fff;
}

.img-preview-active .img {
	-webkit-transform: translate3d(-50%, -60%, 0) !important;
	transform: translate3d(-50%, -60%, 0) !important;
	opacity: 1 !important;
}

.img-preview-active .mask {
	opacity: .6 !important;
}

@media screen and (min-width: 500px) {
	.r-table .layui-form {
		width: auto;
	}
}

@media screen and (max-width: 500px) {
	.r-content {
		padding: 10px 10px !important;
	}

	.r-content button {
		display: inline-block !important;
	}

	.r-main {
		padding-top: 20px;
		background: #fff;
	}

	.layui-form-item {
		display: block !important;
	}

	.layui-layer-dialog {
		min-width: 80% !important;
	}

	.r-table .layui-form {
		width: 100%!important;
		over-flow: auto;
    -webkit-overflow-scrolling: touch;
	}
}

@media screen and (max-width: 900px) {
	.form-left {
		margin-left: 0;
	}
}

/* 渠道 素材列表 */
.img-list {
	font-size: 0;
}

.img-item {
	display: inline-block;
	font-size: 12px;
	margin: 0 20px 20px 0;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.img-item:hover {
	box-shadow: 0 1px 6px rgba(0,0,0,.2);
	border-color: #eee;
}

.img-item img {
	width: 300px;
	height: 500px;
	cursor: pointer;
}

.img-wrap {
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.img-btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
	width: 100%;
	height: 50px;
	padding: 0 10px;
	background: rgba(0, 0, 0, .8);
	color: #fff;
	transition: all 0.2s ease;
	transform: translateY(-100%);
}

.img-wrap:hover .img-btn {
	opacity: 1;
	z-index: 1;
	transform: translateY(0%);
}

.img-btn a {
	padding: 4px 10px;
}

.item-footer p {
	text-align: center;
	color: #666;
	font-weight: 700;
	line-height: 40px;
}

.item-footer_info {
	display: flex;
	justify-content: space-between;
	color: #000;
	font-weight: 700;
}

.item-footer_info i {
	color: red;
	font-style: italic;
}