/* common */
/* add by Guanghua */
html {
	margin:0;
	padding:0;
	width: 100%;
	height: 100%;
	overflow:hidden;
}
body{
	margin:0;
	padding:0;
}

.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }

.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.flex-3 { flex: 3; }
.flex-4 { flex: 4; }
.flex-5 { flex: 5; }

.row-center { display: flex !important; flex-direction: row; align-items: center; }

/* padding */

.p-5 { padding: 5px 5px; }
.p-10 { padding: 10px 10px; }
.p-15 { padding: 15px 15px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

.p-x-5 { padding: 0 5px; }
.p-x-10 { padding: 0 10px; }
.p-x-15 { padding: 0 15px; }
.p-x-20 { padding-left: 20px; padding-right: 20px }

.p-y-3 { padding: 3px 0; }
.p-y-5 { padding: 5px 0; }
.p-y-10 { padding: 10px 0; }
.p-y-15 { padding: 15px 0; }

/* margin  */
.m-auto { margin: auto; }
.m-5 { margin: 5px; }
.m-10 { margin: 10px; }
.m-15 { margin: 15px; }
.mr-10 { margin-right: 10px; }

.m-y-5 { margin: 5px 0; }
.m-y-10 { margin: 10px 0; }
.m-y-15 { margin: 15px 0; }

.modal-dialog {
	margin: 20% auto !important;
	width: 50% !important;
}

/* 杂志首页 */
.ma_header {
    background: #222222;
    width: 100%;
}

.ma_header_content {
	width: 60%;
	margin: auto;
	padding: 10px 0;
}

.ma_header_font {
    color: #fff;
    font-size:13px;
    font-weight:400;
}

.ma_banner {
	width: 100%;
	height: 400px;
}

/* flexslider */
.flexslider{margin:0px auto;position:relative;overflow:hidden;zoom:1;}
.flex-viewport{max-height:2000px;-webkit-transition:all 1s ease;-moz-transition:all 1s ease;transition:all 1s ease;}
.flexslider .slides{zoom:1;}
.flex-direction-nav a{
	width:60px;height:90px;
	line-height:99em;overflow:hidden;
	margin:-60px 0 0;display:block;
	position:absolute;
	top:50%;z-index:10;
	cursor:pointer;
	opacity:0;
	filter:alpha(opacity=0);
	-webkit-transition:all .3s ease;
}
.flex-direction-nav .flex-next{background-position:0 -90px;right:5%;}
.flex-direction-nav .flex-prev{left:5%;}
.flexslider:hover .flex-next{opacity:0.8;filter:alpha(opacity=25);}
.flexslider:hover .flex-prev{opacity:0.8;filter:alpha(opacity=25);}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover{opacity:1;filter:alpha(opacity=50);}
.flex-control-nav{
	width:auto;
	position:absolute;
	bottom:10px;
	left: 50%;
	text-align:right;
	transform: translateX(-50%);
}
.flex-control-nav li a{
	width:35px;
	height:5px;
	background:#ccc;
	opacity:0.45;
	border-radius:5px;
	margin: 0 10px;
	cursor:pointer;
}
.flex-control-paging li a.flex-active{
	background: #DF264A;
	opacity: 1;
}
.ma_home_container {
	width: 100%;
}

.ma_footer {
    width: 100%;
    /*height:120px;*/
    background: #222222;
    padding: 25px;
}

.ma_footer_p {
    font-size:14px;
    font-family:Microsoft YaHei;
    font-weight:400;
    color:#fff;
    line-height:30px;
    text-align: center;
}

.ma_title {
    width: 150px;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    text-align: center;
}

.ma_bookshelf {
	margin-top: 50px;
	background: url(../../images/magazine/bookshelf.png);
	background-position: center;
	background-position-y: 85%;
	-ms-background-position-y: 85%;
	-moz-background-position-y: 85%;
	background-repeat: no-repeat;
}

.ma_books {
   width: 800px;
   margin: 0 auto;
   height: 350px;
   text-align:center;
   display: flex;
   justify-content: center;
   align-items: center;
}

.ma_books li {
	padding: 0 40px;
}

.ma_books div {
	float: left;
	width: 266px;
	text-align:center;
}

.ma_books p {
	margin-top: 50px;
	text-align: center;
	font-size:16px;
	color: #353535FF;
	font-family:Alibaba PuHuiTi;
	font-weight:400;
}

.ma_book_item {
    width: 175px;
    height: 237.5px;
    z-index: 2;
    border-radius:3px;
    cursor: pointer;
    box-shadow: 10px 10px 8px rgba(200, 200, 200, 0.5);
}

.ma_book-item-hover {
	transform:scale3d(1.1, 1.1, 1);
	-webkit-transform:scale3d(1.1, 1.1, 1);
	-moz-transform:scale3d(1.1, 1.1, 1);
	-o-transform:scale3d(1.1, 1.1, 1);
	-ms-transform:scale3d(1.1, 1.1, 1);
}

.ma_title_tip {
    width:150px;
    height:20px;
	background:#DF264A;
    font-family:Arial Black;
    font-weight:400;
    color:#fff;
    line-height:20px;
    text-align: center;
    display: inline-block;
}

.take_ma_button_warp {
    position: fixed;
    right: 25px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	text-align: center;
	z-index: 3;
}

.take_ma_button_warp .close {
    position: absolute;
    right: 0;
    top: -30px;
}

.take_ma_button_warp .take_ma_button {
    padding: 8px 10px;
	background:#f4783b;
	/* -ms-border: 30px dotted;
	border-width: 0; */
	box-shadow:0px 2px 2px 0px #f75c50;
    border-radius:15px;
    border: none;
    color: #fff;
    text-align: center;
    cursor:pointer;
    font-size:10px;
}

.ma_home_qr {
    width: 100%;
    height: 100%;
    transform: scale(0.7);
}


.ma_container_bottom {
	overflow: hidden;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

.ma_container_b_l {
    margin-left: -50px;
    margin-bottom: -50px;
}

.ma_container_b_r {
    float: right;
    margin-right: -50px;
    margin-bottom: -50px;
}

/* 杂志详情页 */
.ma_modal_body {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: center;
    align-items: center;
	padding: 15px;
	text-align: center;
}

.ma_modal_tab {
	flex: 1;
	width: 48%;
	float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    border:1px solid #f2f2f2;
    margin: 10px 5px;
    padding: 5px;
	cursor: pointer;
	text-align: center;
}

.ma_modal_tab_selected {
    border:1px solid #c02b45;
}

.modal_btn {
    background: #f2f2f2;
    border-radius:2px;
    padding: 8px 30px;
}

.modal_btn_submit {
    background: #c02b45;
    color: #fff;
}

.modal_btn_view {
    background: #c02b45;
    color: #fff;
	border-radius:2px;
	padding: 10px 30px;
	cursor: pointer;
}

.take_mode_one, .take_mode_two {
    width: 70%;
    /* display: flex; */
	/* flex: 1; */
	/* text-align: center; */
}

.form_row_item {
    width: 100%;
	-ms-float: left;
    display: flex;
    flex-direction: row;
	margin: 12px 0;
    justify-content: space-between;
}

.form_row_item input {
    flex: 1;
    margin-left: 10px;
    border: none;
    border-bottom:1px solid #d0d0d0;
}

.form_row_item select {
    padding: 0;
    flex: 1;
	margin-left: 10px;
	width: auto;
}

.ma_color_red {
	color: #c02b45;
	text-align: center;

}
.ma_modal_tip_warp {
	/* float: left; */
	margin: 0 auto;
}
.ma_modal_tip {
	display: inline-block;
    width:20px;
    height:20px;
    border:1px solid #c02b45;
    border-radius:50%;
    text-align: center;
    margin: 0 3px;
}

.modal_footer_warp {
	text-align: right;

}

.modal_footer_btn {
	display: inline-block;
}

.ma_view_cover {
    width:140px;
    height:190px;
    box-shadow: 10px 10px 8px #ccc;
}

.ma_info {
    padding: 0 10px;
	line-height:20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.ma_info_time {
	font-size: 12px;
}

.ma_info .ma_info_context {
	height: 100px;
}

.ma_view_download_btn {
	color : #999999;
	display: flex;
	justify-content: flex-end;
	flex: 1;
	line-height: 1;
	font-size: 12px;
}

/* 详情页样式 */

.ma_detail {
	width: 100%;
	height: 100%;
}

.ma_detail_qr_box{
	width: 50px;
	height: 50px;
	background: rgba(0,0,0,0.5);
	position: absolute;
	bottom: 70px;
	right: 30px;
	text-align: center;
	line-height: 50px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	z-index: 99;

	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-ms-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-o-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	cursor: pointer;
}

.ma_detail_qr_box .qr_icon {
	background: url('../../images/magazine/qr_icon.png') no-repeat;
	background-position: center;
	width: 100%;
	height: 100%;
}

.triangle_right {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-left: 6px solid #fff;
	border-bottom: 5px solid transparent;
	position: absolute;
	right: -6px;
	bottom: 20px;
}

.ma_qr_code {
	width: 170px;
	height: 180px;
	text-align: center;
	position: absolute;
	right: 90px;
	bottom: 70px;
	background: #fff;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	display: none;
	padding-top: 20px;
	z-index: 9999000;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-ms-box-shadow: 0 0 15px rgba(0,0,0,0.2);
	-o-box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.ma_lang {
	font-size: 12px;
	color: #3F5154;
}

.magazine .page{
	-webkit-box-shadow:0 0 20px rgba(0, 0, 0, 0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}

/* slider */
.flex-control-nav { left: 0; right: 0; text-align: center; transform: unset; }

.half-width { width: 50%; }
.half-width { width: 50%; }
.inline-block { display: inline-block; }
.float-left { float: left; }
.float-right { float: right; }
.v-center { vertical-align: middle;}
.ma_page {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow-y: scroll;
	overflow-x: hidden;
}
.close {
	opacity: 0.5 !important;
}
.scroll-y {
	overflow-y: auto;
}
.text-more {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media screen and (max-width: 1200px) and (min-width: 0px){
	body {
		min-width: unset !important;
	}
}

@media screen and (min-width: 769px){
	.xs-show {
		display: none;
	}
	.sm-show {
		display: block;
	}
	.ma_header_content {
		width: 1000px;
	}
	.modal-open .modal {
		overflow-y: hidden !important;
	}
}

@media screen and (max-width: 768px){
	.xs-show {
		display: block;
	}
	.sm-show {
		display: none;
	}
	.ma_book_item {
		width: 126px;
		height: 171px;
	}
	.ma_bookshelf {
		margin-top: 15px;
		background-position-y: 82%;
		-ms-background-position-y: 82%;
		-moz-background-position-y: 82%;
		background-size: 100%;
		-webkit-background-size: 100% 50px;
	}
	.ma_bookshelf p {
		margin-top: 20px;
	}
	.ma_header_content {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
	}
	.ma_footer {
		padding: 10px;
	}
	.ma_footer_p {
		line-height: 1.4;
		font-size: 12px;
		margin-bottom: 0;
	}
	.modal-dialog {
		width: 80% !important;
	}
}