/*
| ----------------------------------------------------
| Text colors variation
| ----------------------------------------------------
*/
.text-primary { color: #F0114C; }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-red { color: #e74c3c; }
.text-green { color: #79b335; }
.text-yellow{color:#FFC107}
.text-blue{color: #4ea6e6;}
.text-cyan{color: #01bf9d;}
/** Dark colors variation for text */
.text-dark { color: #414145; }
.text-dark.dk { color: #333; }
.text-dark.dker { color: #222; }
.text-dark.lt { color: #666; }
.text-dark.lter { color: #7e7e7e; }
/** Light colors variation for text */
.text-light { color: #888893; }
.text-light.dk { color: #626266; }
.text-light.dker { color: #505057; }
.text-light.lt { color: #b5b5bf; }
.text-light.lter { color: #d0d0dc; }


.bg-white { background: #fff; }
.bg-dark { background: #2d2a2f; }
.bg-green { background: #79b335; }
.bg-red { background: #ea4b35; }
.bg-blue { background: #4ea6e6; }
.bg-yellow{ background: #FFC107;}
.bg-dark.dk { background: #201e21; }
.bg-light { background: #f7f7f7; }
.bg-light.dk{background-color:#ededed; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-dark .h1, .bg-dark .h2, .bg-dark .h3, .bg-dark .h4, .bg-dark .h5, .bg-dark .h6,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary .h1, .bg-primary .h2, .bg-primary .h3, .bg-primary .h4, .bg-primary .h5, .bg-primary .h6, .bg-primary {
    color: #fff;
}
.f24{font-size: 24px !important;}
.f18{font-size: 18px !important;}
.f16{font-size: 16px !important;}
.f14{font-size: 14px !important;}
.f13{font-size: 13px !important;}
.f12{font-size: 12px !important;}

.title-1{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.title-2{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.title-3{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.pointer{cursor: pointer;}
 
 /*
| ----------------------------------------------------
| Gap
| ----------------------------------------------------
*/
.gap-5 { height: 5px; }
.gap-10 { height: 10px; }
.gap-15 { height: 15px; }
.gap-20 { height: 20px; }
.gap-25 { height: 25px; }
.gap-30 { height: 30px; }
.gap-35 { height: 35px; }
.gap-40 { height: 40px; }
.gap-45 { height: 45px; }
.gap-50 { height: 50px; }
.gap-60 { height: 60px; }
.gap-70 { height: 70px; }
.gap-80 { height: 80px; }
.gap-90 { height: 90px; }
.gap-100 { height: 100px; }
.gap-120 { height: 120px; }


.pd0{padding:0;}
.p25 {padding: 25px;}
.pt0 { padding-top: 0px; }
.pt { padding-top: 30px; }
.pt-xs { padding-top: 5px; }
.pt-xms { padding-top: 10px; }
.pt-sm { padding-top: 20px; }
.pt-lg { padding-top: 40px; }

.pb0 { padding-bottom: 0px; }
.pb { padding-bottom: 30px; }
.pb-xs { padding-bottom: 5px; }
.pb-xms { padding-bottom: 10px; }
.pb-sm { padding-bottom: 20px; }
.pb-lg { padding-bottom: 40px; }

.pr0 { padding-right: 0px; }
.pr { padding-right: 30px; }
.pr-xs { padding-right: 5px; }
.pr-xms { padding-right: 10px; }
.pr-sm { padding-right: 20px; }
.pr-lg { padding-right: 40px; }

.pl0 { padding-left: 0px; }
.pl { padding-left: 30px; }
.pl-xs { padding-left: 5px; }
.pl-xms { padding-left: 10px; }
.pl-sm { padding-left: 20px; }
.pl-lg { padding-left: 40px; }

.bshadow{box-shadow: 0px 0px 10px 1px #eee;}
/*
| ----------------------------------------------------
| Margin
| ----------------------------------------------------
*/
.mg0 { margin: 0px; }

.mt0{ margin-top: 0px;}
.mt { margin-top: 30px; }
.mt-xs { margin-top: 5px; }
.mt-xms { margin-top: 10px; }
.mt-sm { margin-top: 20px; }
.mt-lg { margin-top: 40px; }

.mb0{margin-bottom: 0px; }
.mb { margin-bottom: 30px; }
.mb-xs { margin-bottom: 5px; }
.mb-xms { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-msm { margin-bottom: 17px; }
.mb-sm { margin-bottom: 20px; }
.mb-lg { margin-bottom: 40px; }

.mr0 { margin-right: 0px; }
.mr { margin-right: 30px; }
.mr-xs { margin-right: 5px; }
.mr-xms { margin-right: 10px; }
.mr-sm { margin-right: 20px; }
.mr-lg { margin-right: 40px; }

.ml0 { margin-left: 0px; }
.ml { margin-left: 30px; }
.ml-xs { margin-left: 5px; }
.ml-xms { margin-left: 10px; }
.ml-sm { margin-left: 20px; }
.ml-lg { margin-left: 40px; }
/*
/*
| ----------------------------------------------------
| img
| ----------------------------------------------------
*/
.img-responsive{
    display: block;
    max-width: 100%;
    height: auto;
}
.avatar-sq{
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    width: 100px;
    height: 100px;
    /*clip: rect(0px,76px,76px,0px); */
    position: absolute;
    right: 55px;
}
.avatar-sq img{
    width: 100%;
    height: auto;
    border-radius: 0%;
   
}
.round{border-radius: 50px;}
/*
| ----------------------------------------------------
| Some li styles
| ----------------------------------------------------
*/
.have-list {
    list-style-type: disc;
    padding: 0;
    margin: 0;
}
.inline li,.inline{
    display: inline-block;
}
.no-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.tbl {
    display: table;
    width: 100%;
    height: 100%;
}
.tbl > .td { display: table-cell; }
.td.vtop { vertical-align: top; }
.td.vmid { vertical-align: middle; }
.td.vbot { vertical-align: bottom; }

.noborder{border:none;box-shadow:none;}
ol.list-1 {
    list-style-type: none;
 list-style-type: decimal !ie; /*IE 7- hack*/
    margin: 0;
    margin-left: 18px;
    padding: 0;
    counter-reset: li-counter;
}
ol.list-1 li {
    position: relative;
    margin: 0px;
    padding: 3px 0 0 30px;
    min-height: 3em;
    list-style-type: none;
}
ol.list-1 li:before {
    position: absolute;
    top: 0;
    left: -15px;
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
    background-color: #323335;
    content: counter(li-counter);
    counter-increment: li-counter;
}
ol.list-1.border-dark li:before {
    color: #323335;
    background-color: #fff;
    border:1px solid #323335;
}

/*
| ----------------------------------------------------
| pagenation 
| ----------------------------------------------------
*/ 


.pagination {
    border-radius: 4px;
    display: inline-block;
    margin: 20px 0;
    padding-left: 0;
}
.pagination > li {
    display: inline-block;
}
.pagination > li > a, .pagination > li > span { 
    color: #323335;
    float: left;
    line-height: 20px;
    margin-left: -1px;
    padding: 10px 15px;
    text-decoration: none;
     background-color: #fff;
    border: 1px solid #e4e4e4;
}
.pagination > li:first-child > a, .pagination > li:first-child > span {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    margin-left: 0;
}
.pagination > li:last-child > a, .pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.pagination.style-2 > li > a {
    border-radius:100%;
     margin-left: 0px;
     margin-right:5px;
     padding: 0 !important;
     width:40px;
     height:40px;
     line-height:37px;

}
.pagination.style-2 > li > a:hover, .pagination.style-2 > li > span:hover,
.pagination.style-2 > li > a.active{
    background-color: #fc4242;
    border-color: #fc4242;
    color: #fff;
}
.pagination.style-2 > li:first-child > a, .pagination.style-2 > li:last-child > a{
    background:none;
    border:none;
    color:#323335;
}
.pagination.style-2 > li:first-child > a:hover, .pagination.style-2 > li:last-child > a:hover{
    color:#fc4242;
}
/*
| ----------------------------------------------------
| font-style
| ----------------------------------------------------
*/ 
.underline{border-bottom: 1px solid;}
.italic{font-style: italic;}
.text-center{text-align: center;}
.text-right{text-align: right;}
.text-left{text-align: left;}
.float-right{float: right;}
.float-left{float: left;}
.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}

.clearfix:after {
  clear: both;
}
.shadow{box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);}

/*
| ----------------------------------------------------
| button
| ----------------------------------------------------
*/ 
.disabled{
    cursor: not-allowed;
    pointer-events: none;

}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #8BC34A;
}

input:focus + .slider {
  box-shadow: 0 0 1px #8BC34A;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;height: 33px;
}

.slider.round:before {
  border-radius: 50%;
}

/*--------------------------------------------------
 * inputfile
 * -----------------------------------------------
*/

.js .inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    max-width: 100%;
    font-size: 1.4rem;
    /* 20px */
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.45rem 1.25rem;
    /* 10px 20px */
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}
.inputfile-1 + label, .inputfile0 + label{
    border: 1px solid #43b5fc;
    padding: 10px 40px;
    color: #43b5fc;
    border-radius: 50px;
}

.inputfile-1:focus + label,
.inputfile-1.has-focus + label,
.inputfile-1 + label:hover ,
.inputfile0:focus + label,
.inputfile0.has-focus + label,
.inputfile0 + label:hover{
    color: #45a0ee;
}
.userphoto{
    position: absolute;
    bottom: -10px;
    left:35%;
}

/*
| ----------------------------------------------------
| A4
| ----------------------------------------------------
*/ 
.a4.page { /*1108新增*/
    padding-top: 0px !important; 
}   
.page {
    width: 210mm;
    max-height: 297mm;
    padding: 20mm;

    margin: 0mm auto; /*1108修改*/
    border: 1px #D3D3D3 solid;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.basic{
    border-bottom:1px solid #000000;
    width:100%;
    height:50px;
    background-color:#EEE;
}
@media print { /*1108新增*/
    .a4 {page-break-after: always;}
}
@page { /*1108新增*/ 
    margin: 0;
    padding:0;
}   
/* letter spacing
 ------------------------------ */
.lspace-sm{
    letter-spacing:3px;
    }
.lspace-1{
    letter-spacing:10px;
    }
.lspace-2{
    letter-spacing:20px;
    }
.lspace-3{
    letter-spacing:30px;
    }
.lspace-4{
    letter-spacing:40px;
    }
.lspace-5{
    letter-spacing:50px;
    }
/*
| ----------------------------------------------------
| visible
| ----------------------------------------------------
*/ 


@-ms-viewport {
    width: device-width
}

.hidden,.visible-xs,.visible-sm,.visible-md,.visible-lg {
    display: none!important
}

@media (max-width: 767px) {
    .visible-xs {
        display:block!important
    }

    table.visible-xs {
        display: table
    }

    tr.visible-xs {
        display: table-row!important
    }

    th.visible-xs,td.visible-xs {
        display: table-cell!important
    }
}

@media (min-width: 768px) and (max-width:991px) {
    .visible-sm {
        display:block!important
    }

    table.visible-sm {
        display: table
    }

    tr.visible-sm {
        display: table-row!important
    }

    th.visible-sm,td.visible-sm {
        display: table-cell!important
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    .visible-md {
        display:block!important
    }

    table.visible-md {
        display: table
    }

    tr.visible-md {
        display: table-row!important
    }

    th.visible-md,td.visible-md {
        display: table-cell!important
    }
}

@media (min-width: 1200px) {
    .visible-lg {
        display:block!important
    }

    table.visible-lg {
        display: table
    }

    tr.visible-lg {
        display: table-row!important
    }

    th.visible-lg,td.visible-lg {
        display: table-cell!important
    }
}

@media (max-width: 767px) {
    .hidden-xs {
        display:none!important
    }
}

@media (min-width: 768px) and (max-width:991px) {
    .hidden-sm {
        display:none!important
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    .hidden-md {
        display:none!important
    }
}

@media (min-width: 1200px) {
    .hidden-lg {
        display:none!important
    }
}

/*
| ----------------------------------------------------
| responsive
| ----------------------------------------------------
*/

@media (max-width: 769px) {
}

/*iphone plus*/
@media (max-width: 415px) {
    .mpd{padding: 0;}
}

/*iphone: 7px*/
@media (max-width: 376px) {
}

/*iphone 5*/
@media (max-width: 322px) {

}