﻿/*
*** 共用
*/

html {
    height: 100%;
    min-width: 1200px;
}
body{
    background: #fff;
    height: 100%;
    color: #000; /*修改bootstrap*/
}
body,div,table,td,ul,ol,li,form,h1,h2,h3,h4,h5,h6,p{
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: "微软雅黑",verdana,helvetica,arial,sans-serif;
    letter-spacing: 2px;
    text-indent: 2px;
}
body,div,table,td,ul,ol,li,form,p{
    font-size: 16px;
}
a,a:hover,a:focus,a:visited{
    text-decoration: none;
}
a{
    color: #000;
    cursor: pointer;
}
label{
    margin-bottom: 0;
    font-weight: normal;
}
input:focus {
    outline: none;
}
iframe {
    width: 100%;
    border: none;
}
.table-fixed {
    table-layout: fixed;
}
.left{
    float: left !important;
}
.right{
    float: right !important;
}
.block { /*hide和hidden强制隐藏*/
    display: block;
}
.linebreak { /*强制换行*/
    word-break: break-all;  /* 强制换行 主要针对英文单词*/
    /*white-space: pre;*/       /* 会保留空格 不会自动换行，遇到换行符才会换行  不用*/
    /*white-space: pre-wrap;*/  /* 自动换行 保留全部空格*/
    /*white-space: pre-line;*/  /* 自动换行 多个空格合并成一个    有问题，第一行会空出*/
}
.padding0 {
    padding: 0!important;
}
.opacity0 {
    opacity: 0;   
    -moz-opacity: 0;
    -khtml-opacity: 0;
    filter: alpha(opacity=0); 
}

.hidden { 
    display: none !important; 
}

.label-success {
    color: #5cb85c;
}
.label-danger {
    color: #d9534f;
}
.label-warning {
    color:#d55050;
    padding:2px;
}

form table{ 
    white-space: nowrap;
}
.form-label { 
    text-align: right;
}

.h-100{
    height:100% !important
}
.w-100{
    width:100% !important
}
.wh-100{
    width:100%;
    height:100% !important
}

.border-none {
    border:none !important
}

table{ 
    border:0;
    margin:0;
    border-collapse:collapse;
    border-spacing:0;
}
table td{ 
    padding:2px 2px;
}

.clearfix {/*清除浮动*/
    *zoom: 1; 
    overflow: hidden;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    visibility: hidden;
    clear: both;
}

.indent { /*首行缩进两个字*/
    text-indent:2em;
}


/*
* form表单问题
*/
.input-interfere { /*用来干扰浏览器账号密码自动填充*/
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    /*border: none;*/ /*不可设置 在360极速模式下干扰失败*/
    opacity: 0;   
    -moz-opacity: 0;
    -khtml-opacity: 0;
    filter: alpha(opacity=0); 
    position: fixed;
    left: -10px;
    bottom: -10px;
}
input::-ms-clear, input::-ms-reveal{
    display: none;
}
::-ms-clear, ::-ms-reveal{
    display: none;
}
select.placeholder:invalid { /*placeholder样式  兼容性差*/
    color: gray;
}


.color-block{
    display: block !important;
}
.color-red {
    color: red !important;
}
.color-success  {
    color: #999 !important;
}
.color-gray {
    color: gray;
}

.font-bold {
    font-weight: bold !important;
}
.font-normal {
    font-weight: normal !important;
}

.bg-red {
    background: #f00 !important; /*f50*/
    cursor: pointer !important;
}

.cursor-default {
    cursor: default!important;
}

.btn-icon {
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    padding: 0 15px 0 35px; 
}

.icon-search {
    /*color: #0086c8;*/
    border: 1px solid #b1b487;
    background: url(/Content/Img/icon-search-16-2.png) no-repeat 5px center;
}
.icon-delete{
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background: url(/Content/Img/del-cart.png) no-repeat center;
    background-size: 50%;
}
.icon-reset {
    color: #0086c8;
    border: 1px solid #0086c8;
    background: url(/Content/Img/reset.png) no-repeat 5px center;
    background-size: 25%;
}
.icon-rotate {
    transform:rotate(180deg);
    -ms-transform:rotate(180deg); 
    -moz-transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
    -o-transform:rotate(180deg); 
    filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.icon-box {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.border-bottom {
    border-bottom: 1px solid #ddd;
}
.only-border-bottom {
    border: none!important;
    border-bottom: 1px solid #ccc!important;
    border-radius: 0 !important;
    background: none;
    box-shadow: none;
    width: 100%;
    position: relative;
    z-index: 1;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.only-border-bottom:focus {
    box-shadow: none;
}
form .only-border-bottom {
    width: 60px;
    text-align: right;
    margin: 0 5px 0 8px;
}



/*滚动*/
.display-title {
    cursor: pointer;
}
.display-content {
    display: none;
}


/*
*   共有头部
*/
.header {
    background: #fff;
    position: absolute;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 901;
    -moz-box-shadow: 0 0 12px 1px #b4b4b4 !important;
    -webkit-box-shadow: 0 0 12px 1px #b4b4b4 !important;
    box-shadow: 0 0 12px 1px #b4b4b4 !important;
    border-bottom: 1px solid #eee;
}
.header .header-container {
    height: 70px;
}
.header  .navbar-header {
    height: 100%;
}
.header .logo-box, .header .logo-box img{
    display: block;
    height: 94%;
    padding: 3px;
}
.header .navbar-nav  {
    height: 100%;
}
.header .navbar-nav>li{
    padding: 4px 18px 10px;
}
.header .navbar-nav>li>a {
    padding: 20px 0 10px;
    border-bottom: 3px solid #fff;
}
.header .navbar-nav>li>a span {
    font-size: 16px;
}
.header .navbar-nav>li.active>a  {
    border-bottom-color: #1077a7;
}
.header .navbar-nav>li.active>a span  {
    color: #1077a7;
}
.header .nav>li>a:focus, .header .nav>li>a:hover {
    background-color: transparent;
    border-bottom-color: #1077a7;
}

/*
*   共有介绍
*/
.banner {
    width: 100%;
    display: block;
}
.main {
    /*height: 100%;
    padding: 80px 0 60px 0;*/
    padding-top: 70px;
}
.section-title {
   position: relative;
   height: 200px;
}
.section-title>div{
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    /*transform:*/ 
    padding-bottom: 10px;
    font-weight: 600;
    text-align: left;
    background: url(/content/img/icon/icon-section-title.png) no-repeat center bottom;
}
.section-title .cn {
    font-size: 24px;
    text-align: center;
    letter-spacing: 5px;
    text-indent: 5px;
    font-family: kaiti,SimSun; 
    font-weight: 600;
}
.section-title .en {
    font-size: 14px;
    border-bottom: 1px solid #000;
    text-align: center;
    padding-bottom: 5px;
    font-weight: normal;
    letter-spacing: 2px;
    text-indent: 2px;
    display: table;
    margin: 0 auto;
    font-family: Tahoma;
}


/*
*   共有底部
*/
.footer{
    position: relative;
    background: #273143; /*#4d4d4d;*/
    width: 100%;
    height: 350px;
    color: #fff;
}
.footer .left {
    width: 60%;
    line-height:36px;
}
.footer .left .link {
    padding-top: 20px;
    margin-bottom: 50px;
}
.footer .left .link a {
    color: #fff;
    margin-right: 40px;
}
.footer .left .link a:hover {
    color: #ccc;
}
.footer .right {
    width: 38%;
    font-size: 12px;
    text-align: center;
    padding: 25px 0;
}
.footer .right img {
    width: 120px;
    margin: 10px auto;
}
.footer div {
    font-size: 12px;
    line-height: 22px;
    margin-top: 20px;
}
.footer .copyright {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid #7c818a;
    text-align: center;
    line-height: 46px;
}

/* 置顶 */
.top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    cursor: pointer;
    width: 40px;
}


/*
*** 对checkbox css重构
*/
.checkbox-custom { /*需要有高度*/
    position: relative;
    padding: 0;  
}
.checkbox-custom input[type="checkbox"] {
    /*filter:alpha(opacity=0);*/  /*ie低版本不支持before和after 所以用原生的checkbox*/
    -moz-opacity:0;
    -khtml-opacity: 0; 
    opacity: 0; 
    position: absolute;
    cursor: pointer;
    z-index: 2;
    margin: -10px 0 0 0;
    top: 50%;
    left: 1px;
    width: 22px;
    height: 22px;
}
.checkbox-custom label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1px;
    margin-top: -9px;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 2px;
    border: 1px solid #e96717;
    background: #fff;
}
.checkbox-custom input[type="checkbox"]:checked + label:after {
    position: absolute;
    display: inline-block;
    font-family: 'FontAwesome';
    content: '\2714';
    top: 50%;
    left: 3px;
    margin-top: -8px;
    font-size: 11px;
    line-height: 1;
    width: 18px;
    height: 18px;
    color: #e96717;
    text-align: center;
    line-height: 18px;
}
.checkbox-custom label {
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    display: block;
    padding-left: 30px
}

/*
*** 对input搜索框组的重构 需要先设置好搜索框位置 
*/
.search-box {
    height: 100%;
    min-width: 100px;
    max-width: 300px;
    min-height: 30px;
    background: #fff;
}
.search-box .search-middle-layer {
    width: 100%;
    height: 100%;
}
.search-box a {
    position: absolute;
    right: 5px;
    top: 10px;
    line-height: 20px;
    padding: 5px 30px 5px 5px;
    z-index: 1000;
}
.search-box .search-inner-layer {
    /*border-radius: 30px;*/
    height: 100%;
    /*background: #f5f5f5;*/
    border: 1px solid #b1b487;
    position: relative;
}
.search-box input {
    display: block;
    width: 100%;
    height: 100%;
    padding-right: 30px;
    padding-left: 20px;
    line-height: 28px;
    border: none;
    background: none;
}
.search-box button {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 30px;
    border: none;
    background: url(/Content/Img/icon-search-16-2.png) no-repeat center;
    z-index: 99;
}

/*
*** 对bootstrap css修改
*/
.btn {
    padding: 3px 12px;
}
.btn:focus {
    outline: none !important;
}
.modal-footer .btn {
    padding: 6px 12px;
}
.table {
    word-break: break-all;
    margin-bottom: 0;
}
.table-fixed>tbody>tr>td {
    padding: 4px;
    line-height: 28px;
}
.container-fluid { /*container宽度固定container-fluid宽度100%*/
    padding: 0;
}
.container.container-child-padding0 > div, .container-fluid.container-child-padding0 > div {
    padding: 0;
}
.container.paddingRight0>div, .container-fluid.paddingRight0>div {
    padding-right: 0;
}
.container.paddingLeft0>div, .container-fluid.paddingLeft0>div {
    padding-left: 0;
}
.container .paddingRight15, .container-fluid .paddingRight15 {
    padding-right: 15px!important;
}
.container .paddingLeft15, .container-fluid .paddingLeft15 {
    padding-left: 15px!important;
}
.form-control {
    color: #000;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #fff;      /*日期输入框用到*/
    opacity: 1; 
}
input.disabled-style[disabled] {
    background: #ffe7e7;
}
.form-group {
    margin-bottom: 0;
}
body.modal-open{
    overflow: auto !important;
    padding: 0 !important;
}

.modal .modal-content {
    height: 100%;
    overflow: hidden;
}
.modal .modal-content .modal-body {
    overflow: hidden;
}
.modal .modal-content .modal-body > div {
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}

/*.table {
    width: 100%;
    padding: 2px;
    line-height: 22px;
    border-collapse: collapse;
    white-space: normal !important;
    table-layout: fixed;
    word-break: break-all;
    text-align: center;
}
.table, .table tr th, .table tr td {
    border: 1px solid #ddd;
    min-height: 30px;
}*/



/* bootstrap重写了fieldset 现还原*/
fieldset{
    padding:.35em .625em .75em;
    margin:0 2px;
    border:1px solid silver;
}
legend{
    font-size: 14px;
    padding:.5em;
    border:0;
    width:auto;
    margin-bottom: 0;
}


    /* 3D正反切换 */
    .transformRotateY {
        position: relative;
        margin: 100px auto;
        width: 224px;
        height: 224px;
    }
    .transformRotateY img { 
        position: absolute;
        left: 0;
        top: 0;
        transition: all 2s;
        background: #fff;
        width: 100px;
        height: 100px;
    }
    .transformRotateY img:first-child {
        z-index: 1;
        backface-visibility: hidden;
    }
    .transformRotateY:hover img {
        transform: rotateY(180deg);
    }
    /*
        https://blog.csdn.net/weixin_41105030/article/details/88877162
        https://blog.csdn.net/qq_42209630/article/details/80396521
        <div class="rotateY">
		    <img class="a" src="img/a.svg" alt="">
		    <img class="b" src="img/b.svg" alt="">
	    </div>
    */

    .newsrow { 
        position: relative; 
        width: 100%; 
        height: auto;
        margin: 0 auto;
        overflow: hidden;
        /*background: #edf2f6;*/
        padding:0;
    }
    .newsrow .newsleft { 
        float: left; 
        position: relative; 
        width: 50%;
        height:auto;
        transition: all .8s ease-in-out;
        -moz-transition: all .8s ease-in-out;
		-webkit-transition: all .8s ease-in-out;
		-o-transition: all .8s ease-in-out;
    }
    .newsrow .newsright { 
        float: right; 
        position: relative; 
        width: 50%;
        height:auto;
        transition: all .8s ease-in-out;
        -moz-transition: all .8s ease-in-out;
		-webkit-transition: all .8s ease-in-out;
		-o-transition: all .8s ease-in-out;
    }

    .newsrow .newstop { 
        position: relative; 
        height:auto;
        top: 1000px;
        transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
		-webkit-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
    }

    .transition { 
        transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
		-webkit-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
    }

/*bootstrap边框修改*/
.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th {
    border-bottom: 0;
}
.breadcrumb {
    margin-bottom: 35px;
}
.breadcrumb>li+li:before {
    color: #999;
}
.close { /*弹出层右上角关闭x*/
    filter: alpha(opacity=50);
    opacity: .5;
}
.close:focus, .close:hover {
    filter: alpha(opacity=90);
    opacity: .9;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th, .table-bordered, .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th, .form-control, .modal-header,.modal-footer,.modalSelfPro .modal-body>div {
    border-color: #b4b187;/*aaf*/
}
.btn-default, .ht-rili-td {
    border-color: #b4b187!important;/*aaf*/ 
}
.btn.btn-restructure-primary {
    color: #fff;
    background-color: #e96717;
    border-color: #e96717; 
}

.btn.btn-restructure-info {
    color: #fff;
    background-color: #999;
    border-color: #999; 
}

.btn.btn-success {
    color: #fff;
    background-color: #b4b188;
    border-color: #b4b188; 
}

.btn.btn-restructure-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn.btn-light-color {
    background: #ddd!important;
    border-color: #ddd!important;
    color: #888!important;
}
 
.btn-restructure-primary:hover, .btn-restructure-primary:active,.btn-restructure-primary:focus, .btn-restructure-primary.active.focus, .btn-restructure-primary.active:focus, .btn-restructure-primary.active:hover, .btn-restructure-primary:active.focus, .btn-restructure-primary:active:hover, .btn-restructure-primary:active:focus, .btn-restructure-primary.active, .btn-restructure-primary:active, .open>.dropdown-toggle.btn-restructure-primary {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}
.btn-restructure-primary.disabled.focus, .btn-restructure-primary.disabled:focus, .btn-restructure-primary.disabled:hover, .btn-restructure-primary[disabled].focus, .btn-restructure-primary[disabled]:focus, .btn-restructure-primary[disabled]:hover, fieldset[disabled] .btn-restructure-primary.focus, fieldset[disabled] .btn-restructure-primary:focus, fieldset[disabled] .btn-restructure-primary:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.btn-restructure-info:hover, .btn-restructure-info:active,.btn-restructure-info:focus, .btn-restructure-info.active.focus, .btn-restructure-info.active:focus, .btn-restructure-info.active:hover, .btn-restructure-info:active.focus, .btn-restructure-info:active:hover, .btn-restructure-info:active:focus, .btn-restructure-info.active, .btn-restructure-info:active, .open>.dropdown-toggle.btn-restructure-info {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}
.btn-restructure-info.disabled.focus, .btn-restructure-info.disabled:focus, .btn-restructure-info.disabled:hover, .btn-restructure-info[disabled].focus, .btn-restructure-info[disabled]:focus, .btn-restructure-info[disabled]:hover, fieldset[disabled] .btn-restructure-info.focus, fieldset[disabled] .btn-restructure-info:focus, fieldset[disabled] .btn-restructure-info:hover {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}
 
.btn-success:hover, .btn-success:active,.btn-success:focus, .btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:hover, .btn-success:active:focus, .btn-success.active, .btn-success:active, .open>.dropdown-toggle.btn-success {
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.btn-restructure-danger:hover, .btn-restructure-danger:active,.btn-restructure-danger:focus, .btn-restructure-danger.active.focus, .btn-restructure-danger.active:focus, .btn-restructure-danger.active:hover, .btn-restructure-danger:active.focus, .btn-restructure-danger:active:hover, .btn-restructure-danger:active:focus, .btn-restructure-danger.active, .btn-restructure-danger:active, .open>.dropdown-toggle.btn-restructure-danger  {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.layui-layer-btn {
    border-top: 1px solid #b4b187;/*aaf*/
}
.layui-layer-btn .layui-layer-btn0 {
    background-color:  #b4b187!important;
    border-color: #b4b187!important;
}
.layui-layer-btn a{
    border-color: #bbb !important;
}
.layui-layer-title {
    background-color: #ccc !important;
}

.layui-laydate-content td, .layui-laydate-content th {
    padding: 0!important;
}


/*配合laydate的date*/
.date-relative {
    position: relative;
}

.date-relative .date-absolute{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: text;
    background: #fff;
    filter: alpha(opacity=0);
    opacity: 0;
}

.date-relative .date-icon {
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 8px;
    top: 50%;
    margin-top: -8px;
    /*background-image: url('/Content/Img/icon-calendar.png');*/
    background-repeat: no-repeat;
    background-position: center center;
}

.date-relative input.date {
    cursor: text !important;
}


fieldset {
    border-color: #b4b187 !important;
}

body .reset-border-color {
    /*border-color: #7b7b7b !important;*/
    /*border-color: #aaf !important;*/
    border-color: #b4b187 !important;
}
body .reset-box-shadow {
    /*7b7b7b 999 aaf*/
    /*-moz-box-shadow: 0 0 12px 1px #933 !important;
    -webkit-box-shadow: 0 0 12px 1px #933 !important;
    box-shadow: 0 0 12px 1px #933 !important;
    border-color: #933 !important;*/
}

body .reset-box-shadow:hover, body .reset-box-shadow.active {
    /*09f*/
    /*border-color: #09f !important;*/
    -moz-box-shadow: 0 0 12px 0 #999 !important;
    -webkit-box-shadow: 0 0 12px 0 #999 !important;
    box-shadow: 0 0 12px 0 #999 !important;
}

body .reset-background-color {
    background-color: #aff !important;
}

.container {
    min-width: 1170px;
}



@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }