td{
    overflow:hidden;/*文本超出时隐藏*/
    white-space:nowrap;/*规定表格单元格中的内容不换行。*/
    text-overflow:ellipsis;/*文字隐藏以后添加省略号*/
}

/************  表单校验的样式 begin *************/
input.error{
    border: 1px solid #E6594E;
}

input.valid{
    border: 1px solid #7abd54;
}

.error{
    color: red;
}

/************  表单校验的样式 end *************/


/**弹出内容换行**/
.layui-layer-content{
    word-break:break-all;
    word-wrap:break-word;
}

.modal-body{
    max-height: 600px;
    overflow: scroll;
}

/************** 页面加载效果begin**************/
@-webkit-keyframes typing {
    0% {
        background-color: #fff;
        box-shadow: 12px 0 0 0 rgba(255, 255, 255, .2), 24px 0 0 0 rgba(255, 255, 255, .2)
    }
    25% {
        background-color: rgba(255, 255, 255, .4);
        box-shadow: 12px 0 0 0 #fff, 24px 0 0 0 rgba(255, 255, 255, .2)
    }
    75% {
        background-color: rgba(255, 255, 255, .4);
        box-shadow: 12px 0 0 0 rgba(255, 255, 255, .2), 24px 0 0 0 #fff
    }
}

@-moz-keyframes typing {
    0% {
        background-color: #fff;
        box-shadow: 12px 0 0 0 rgba(255, 255, 255, .2), 24px 0 0 0 rgba(255, 255, 255, .2)
    }
    25% {
        background-color: rgba(255, 255, 255, .4);
        box-shadow: 12px 0 0 0 #fff, 24px 0 0 0 rgba(255, 255, 255, .2)
    }
    75% {
        background-color: rgba(255, 255, 255, .4);
        box-shadow: 12px 0 0 0 rgba(255, 255, 255, .2), 24px 0 0 0 #fff
    }
}

@keyframes typing {
    0% {
        background-color: #fff;
        box-shadow: 12px 0 0 0 rgba(255, 255, 255, .2), 24px 0 0 0 rgba(255, 255, 255, .2)
    }
    25% {
        background-color: rgba(255, 255, 255, .4);
        box-shadow: 12px 0 0 0 #fff, 24px 0 0 0 rgba(255, 255, 255, .2)
    }
    75% {
        background-color: rgba(255, 255, 255, .4);
        box-shadow: 12px 0 0 0 rgba(255, 255, 255, .2), 24px 0 0 0 #fff
    }
}

.loading-container {
    z-index: 2000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: #2dc3e8*/
    background: rgba(0,0,0,0.6);
}

.loading-container.loading-inactive {
    display: none
}

.loading-container.loading-inactive .loader2 {
    display: none
}

.loading-container .loader {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: typing  1s linear infinite alternate;
    -moz-animation: typing  1s linear infinite alternate;
    animation: typing  1s linear infinite alternate;
    margin: 50vh auto;
    position: relative;
    left: -12px
}
.loader2 {
    width: 60px;
    height: 60px;
    background-color: #37bc9b;
    margin: 50vh auto;
    -webkit-animation: rotateplane 1.2s infinite ease-in-out;
    animation: rotateplane 1.2s infinite ease-in-out;
}
@-webkit-keyframes rotateplane {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateY(180deg) }
    100% { -webkit-transform: perspective(120px) rotateY(180deg)  rotateX(180deg) }
}

@keyframes rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    } 50% {
          transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
          -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
      } 100% {
            transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
            -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        }
}
/************** 页面加载效果begin**************/

/********************* tab样式begin ****************************/
.tabs {
    width: 100%;
}

.tab-header {
    position: relative;
    height: 40px;
    line-height: 40px;
    background: #fafafa;
    border-bottom: solid 2px #39AEF5;
    overflow: hidden;
}
.tab-left,
.tab-right {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    color: #888;
    background-color: #ffffff;
    cursor: pointer;
    z-index: 1000;
}

.tab-left {
    left: 0;
    border-right: solid 1px #eee;
}

.tab-right {
    right: 0;
    border-left: solid 1px #eee;
}
.tabs-wrap {
    position: relative;
    overflow: hidden;
    margin: 0 40px;
}

.tabs-wrap ul {
    list-style-type: none;
    height: 40px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    width: 5000px;
}

.tabs-wrap ul li {
    float: left;
    display: inline-block;
}

.tabs-wrap ul li a {
    display: block;
    border-right: solid 1px #eee;
    padding: 0 15px;
    color: #888;
}

.tabs-wrap ul li.active a {
    background-color: #39AEF5;
    color: #fff;
}
.tabs-wrap ul li a:hover {
    text-decoration: none;
}
.tab-close:hover{
    color: red;
}
.panel-content{
    height: calc(100vh - 100px);
}
/********************* tab样式end *************************/

/************ 常用菜单begin ***************/
#used-menu{
    margin-left: 20px;
    width: 45%;
}
#used-menu ul > li{
    list-style: none;
    text-align: center;
    margin-bottom: 10px;
}
#used-menu ul > li .menu-icon{
    display: inline-block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 2px;
    font-size: 30px;
    background-color: #F8F8F8;
    color: #333;
    transition: all .3s;
    -webkit-transition: all .3s;
}
#used-menu ul > li cite{
    position: relative;
    top: 2px;
    display: block;
    color: #666;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}
/************ 常用菜单end***************/
