﻿/*布局定位*/
.rel {position: relative;}
.abs {position: absolute;}


.fixed {
    position: fixed !important;
    top:0;
}


.text-left { text-align: left;}
.text-center {text-align: center;}
.text-right { text-align: right;}

/*布局*/
.inline {display: inline;}
.block {display: block;}
.inline-block {display: inline-block;}
.none {display: none;}



.z-9 {z-index: 9 !important;}
.z-99 {z-index: 999 !important;}
.z-999 {z-index: 999 !important;}
.z-9999 {z-index: 9999 !important;}
.z-max {z-index: 99999 !important;}

/*颜色*/
/*color*/
.c-white {color: #fff;}
.red {color: #f00;}
.c3 {color: #333}
.c6 {color: #666}
.c8 {color: #888;}
.c9 {color: #999;}
.ca {color: #aaa;}
.cc {color: #ccc;}

/*background-color*/
.bgc-f5 {background-color: #f5f5f5}
.bgc-gray {background-color: #ddd}
.bgc-white {background-color: #FFF}
.bgc-green {background-color: #0f0}
.bgc-blue {background-color: #00f}
.bgc-red {background-color: #f00}
.bgc-yellow {background-color: #ff0}
.bgc-orange {background-color: #f90}
.bgc-purple {background-color: #639}
.bgc-cyan {background-color: #0ff}
.bgc-black {background-color: #000}





.w50p {
    width: 50%;
}

.mg10 {
    
}

.item {
    margin: 10px;
    padding: 10px;
    border:2px dashed #cce7ff;
    border-radius: 5px;
    background-color: #ebf6ff;
}


.item-title {
    color: #4f98da;
     font-size: 20px;
     margin-bottom: 10px;
}

.item-btn {
    display: inline-block;
    padding: 5px 15px;
    background-color: #69b4f5;
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    border-radius: 2px;
    transition: all 400ms;
}

.item-btn:hover {
    background-color: #3389d4;
    cursor: pointer;
}

/*不换行*/
.nowrap {white-space:nowrap; text-overflow:ellipsis; overflow:hidden;}

/*字体*/
.f8 {font-size: 8px;}
.f10 {font-size: 10px;}
.f12 {font-size: 12px;}
.f14 {font-size: 14px;}
.f16 {font-size: 16px;}
.f18 {font-size: 18px;}
.f20 {font-size: 20px;}
.f25 {font-size: 25px;}
.f30 {font-size: 30px;}

.item-tip {
    width: 100%;
    border-left: 5px solid #69b4f5;
    font-size: 16px;
    line-height: 25px;
    padding-left: 10px;
    margin-bottom: 10px;
}




.w20p {
    width: 20%;
}

.w80p {
    width: 80%;
}


.w100p {
    width: 100%;
}

.h100p {
    height: 100%;
}

.cell-box{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}

.cell-left {
    width: 20%;
    line-height: 30px;
    text-align: right;
}

.cell-right {
    width: 80%;
    padding-left: 20px;
}

.cell-input {
  display: block;
  height: 25px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.cell-input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}



.cell-input {
  height: 25px;
}


.cell-select {
  height: 35px;
  width: 195px;
}



.cell-select,.cell-input {
      display: block;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.cell-textarea {
  padding: 6px 12px;
  font-size: 14px;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;

}



.cell-textarea:focus,.cell-select:focus, .cell-input:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}


::-ms-browse, [type='file'] {
    padding: 8px 10px;
    line-height: 15px;
    border: 1px solid #a0b3d6;
    background: #f0f3f9;
    color: #34538b;
}
::-webkit-file-upload-button {
    padding: 8px 10px;
    line-height: 15px;
    border: 1px solid #a0b3d6;
    background: #f0f3f9;
    color: #34538b;
}

.red { color: #f00;}


.cell-yz {
  border:1px solid #ddd;
  margin-top: 5px;
}


.img-box {
  border:1px solid #ddd;
  width: 100%;
  height: 200px;
  border-radius: 3px;
  margin-top: 10px;
}


/*头像*/
.profile-pic {
  width: 35px;
  height: 35px;
  border-radius: 50%; }



  .profile-pic-lg {
  width: 50px;
  height: 50px;
  border-radius: 50%; }




.profile-pic-xl {
  width: 75px;
  height: 75px;
  border-radius: 50%; }


/*
.profile-pic-sm {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%; }

.profile-pic-lt {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%; }

.profile-pic-lg {
  width: 1rem;
  height: 1rem;
  border-radius: 50%; }

.profile-pic-xl {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%; }

.profile-pic-o {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 2px solid #fff; }*/





/*flex布局*/
.flex, .flex-right, .flex-end,.flex-align, .flex-center,.layout-between, .flex-column-c, .flex-around, .flex-between, .item-desc, .flex-column, .flex-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; }

.flex1 {
  flex: 1 1 0; }

.flex2 {
  flex: 2 1 0; }

.flex-right {
  justify-content: flex-end; }

.flex-end, .mi-cell-right {
  align-items: flex-end; }

.flex-align, .flex-center, .mi-cell-left, .mi-cell-right, .comment-icon, .comment-send, .moji-item, .share-item, .mi-item-tip, .layout-between, .flex-column-c{
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; }

.flex-center, .mi-cell-left, .mi-cell-right, .comment-icon, .comment-send, .moji-item, .share-item, .mi-item-tip {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; }

.flex-around {
  justify-content: space-around; }

.flex-between, .item-desc {
  justify-content: space-between; }

.layout-between, .node-title, .node-goods-title, .app-inter, .mi-good-nunber, .model-title {
  justify-content: space-between; }

.flex-column, .item-desc {
  flex-direction: column; }

.flex-column-c {
  flex-direction: column; }

.flex-wrap, .mi-box-d, .share-box, .mi-specifica-box {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap; }

.flex-shrink, .item-pic {
  flex-shrink: 0; }


  .pdh-10 {padding:0 10px;}

  .pdb10 {
    padding-bottom: 10px;
  }


  .c8 {
    color: #888;
  }

.mt10 {margin-top: 10px;}


.mb10 {margin-bottom: 10px;}




/*标签*/
.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    cursor: pointer;
}


.bgc-info {
  background-color: #248bd8;
}

.dashed-line {
  border-bottom:1px dashed #ddd;
}



.top0 {top: 0;}
.top5 {top: 5px;}

.right0 {right:0;}
.right5 {right:5px;}



.mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,.5);
  z-index: 99999;
}

.max-img {
  max-width: 100%;
  max-height: 100%;
}


.upload-pic {
    width: 80px;
    height: 80px;
    border:1px solid #ddd;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    cursor: pointer;
}

/*卡牌式模块化*/
.block-box {
    background-color: #fff;
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 0 10px 1px #aaa;
    padding: 10px;
    border:1px solid #ddd;
}


/*关闭按钮*/
.mask-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}



.close {
    display: inline-block;
    width: 30px;
    height: 5px;
    background-color: #fff;
    line-height: 0;
    font-size: 0;
    vertical-align: middle;
    -webkit-transform: rotate(45deg);
}

.close:after {
    content: '/';
    display: block;
    width: 30px;
    height: 5px;
    background-color: #fff;
    -webkit-transform: rotate(-90deg);
}


table {
  border-spacing: 0;
  border-collapse: collapse;
}
td,
th {
  padding: 0;
}


table {
  background-color: transparent;
  font-size: 12px;
}
caption {
  padding-top: 8px;
  padding-bottom: 8px;
  color: #777777;
  text-align: left;
}
th {
  text-align: left;
}
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}
.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
.table > tbody + tbody {
  border-top: 2px solid #ddd;
}
.table .table {
  background-color: #fff;
}
/*.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: 5px;
}*/
.table-bordered {
  border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #ddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}
/*.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

tbody tr:nth-child(2n) {
  background-color: #e6f3ff;
}*/

/*
tbody tr:hover {
  background-color: #c7f2ff;
}*/


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination>li {
    display: inline;
}


.pagination>li:first-child>a, .pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}


.pagination>li:last-child>a, .pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.bg-danger {
  padding:5px 10px;
  background-color: #e36f6f;
  border-radius: 3px;
  border: 1px dashed #e49393;
  font-weight: 600;
  color: #fff;
}


.dialog {
    width: 600px;
    border-radius: 5px;
    padding:20px;
    background-color: #fff;
    border: 1px solid #999;
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    position: fixed;
    z-index: 999;
    top: 150px;
    left: 50%;
    margin-left: -300px;
}


.dialog .close {
    display: inline-block;
    width: 30px;
    height: 5px;
    background-color: #ddd;
    line-height: 0;
    font-size: 0;
    vertical-align: middle;
    -webkit-transform: rotate(45deg);
}

.dialog .close:after {
    content: '/';
    display: block;
    width: 30px;
    height: 5px;
    background-color: #ddd;
    -webkit-transform: rotate(-90deg);
}


