/* 
 * 自己的应用的样式，与框架分开点
 * 作者：龙仕云  2016-9-16 中秋第二天。
 */

body{
  font-family: "microsoft yahei","微软雅黑";background-color: #f2f5f5;
}

/*--------------------bs的扩展----------------------------*/
span.input-group-addon {
 border-radius:0px; 
}
div.panel-header ul> li > a.btn{
  margin-top: 0px;
  margin-bottom: 0px;
}

/*------------------------------------------------------*/
/*rightpanel*/
  .rightpanel{
    background-color:#fff;
    padding-top: 60px;
    position:fixed;
    float: right;
    top: 0;
    bottom: 0;
    right: 0px;
    width: 0px;
    z-index: 998; /*nav 999, 所以只能是998*/
    border-left: solid 1px #e8edf3;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    
  }
  
  .rightpanel .rightwell{
    background-color: #fff;
    position: relative;
    height: 100%;
    z-index: -1;
  }
  
  .rightpanel .rightwell .panel-header{
    padding: 7px 0 7px 18px;
    border-bottom: solid 1px #eeece8;
  }
  
  .rightpanel .rightwell .panel-header .panel-heade-nav{
    margin-left: 0;
    font-size: 14px;
    letter-spacing: 2px;  
  }
  .rightpanel .rightwell .panel-header .panel-heade-nav .panel-header-right{
    float: right;!important;
  }
  .rightpanel .rightwell .panel-header .panel-heade-nav .panel-header-right a{
    position: relative;
    display: block;
    padding-right: 20px;
    padding-top: 10px;
  }
  .rightpanel .rightwell .panel-body{
    overflow-y:auto; 
    overflow-x: hidden;
    height:100%;  
    padding-bottom: 80px;
    position: relative;
    z-index: 15;
  }
  .rightpanel .rightwell .panel-body .editormd-html-preview{
    padding: 10px;
  }
  .rightpanel .rightwell .panel-body::-webkit-scrollbar {
    width: 6px;
    height: 9px;
  }
  .rightpanel .rightwell .panel-body::-webkit-scrollbar-thumb{
    background-color: #dbd6cd; 
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
  }
  .rightpanel .rightwell .panel-body::-webkit-scrollbar-track-piece {
    background-color: rgba(0,0,0,.04);
  }

  .rightpanel .rightwell div.msg-error{
    color: red;
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .rightpanel .loading{
    text-align: center; 
    padding: 50px;
  }
  
  .rightpanel .loading h5{
    color: #999;  
  }

  /*按钮的样式*/
  a.clickpanel:hover{ 
    color:brown;
  }
  a.clickpanel{
    color:#353d47;
  }

 .rightpanel .panel-sub-title{
    border-bottom: 1px solid #EAEAEA;
    font-size: 1.1em;
    padding: 1.2em 0em 0.4em 0em;
    margin-bottom: 25px;
    color: #999;
 }


 /*显示进度*/
 .rightpanel .rightwell .panel-header .progressbar{
    position:absolute;
    top: 55px;
    padding: 0px 20px 0px 20px;

    background-color: aquamarine;
    text-align: center;
    left: 50%
  }

  .rightpanel .rightwell .panel-header li a{
    border-radius:0px;
  }


/*end*/

/*滚动条*/
body::-webkit-scrollbar {
  width: 6px;
  height: 9px;
}

body::-webkit-scrollbar-thumb{
  background-color: #dbd6cd; 
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
body::-webkit-scrollbar-track-piece {
  background-color: rgba(0,0,0,.04);
}
/*end*/

/*$('span.errmsg').msg(true,'增加成功。');*/
span.errmsg{
  color: red;
  margin-left: 10px;
}


div.card-body ul.nav li.active a{
  border-top: 2px solid #22A7F0;
}

/*表格的格式*/
.table-body table {
  border: 1px solid #f2f2f2;
}  
  
.table-body table thead th{
  color: #315264;
  padding-top: 10px;
  padding-bottom: 10px;
}

  
.table-body table tbody tr td{
  padding-top: 10px;
  padding-bottom: 10px;
  vertical-align: middle;
}
  
.table-body table tbody tr.active td{
   background-color: #f0f0f0;
}


.alert-default{
  background-color: #f0f0f0;
}

div.radio-group{
  padding-top: 3px;
}

/*select2 allowclear 2017-3-19*/
span.select2-selection__clear{
  color: red;
}

img.select2-img-flag{
    width: 18px;
    height: 18px;
    border-radius:50%;
}

.has-error span.select2-selection{
  border: 1px solid #a94442;
}

.has-success span.select2-selection{
  border: 1px solid #3c763d;
}

label.has-error{
  color: #a94442;
}

label.has-success{
  color: #3c763d;
}

select.has-error{
  border: 1px solid #a94442;
}

select.has-success{
  border: 1px solid #3c763d;
}

input.has-error{
  border: 1px solid #a94442;
}

input.has-success{
  border: 1px solid #3c763d;
}

i.titleicon{
 color:#19B5FE;
}
  


/*屏缩小时处理*/
@media (max-width: 768px) {
  ol.navbar-breadcrumb{
    display:none;
  }
  
  div.page-fluid{
    padding-right:0px;
    padding-left:0px;
  }
  
}

/*显示日志*/
ul.logs li{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;  
}

img.userheadimg{
  width: 20px;
  height: 20px;
  border-radius:50%;
}

/*浮动右窗口当前行的背景色*/
table.table > tbody > tr.fixpanelbgcolor td{
  background-color: #d9edf9;
}


/*上传进度条 2017-4-19 作者：龙仕云*/
.fileinput-button {
  position: relative;
  overflow: hidden;
  
  /*display: inline-block; //去掉因为后面跟着会错行显示了 mrlong 2017-4-21 */
  /*display: inline-table; 在ie浏览器内又有问题了 2017-5-8 */
  display: inline-table;
}
.fileinput-button input {
  position: absolute; /*absolute; 由于在ie内有问题 #278*/
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 20px !important;
  direction: ltr;
  cursor: pointer;
}

/* Fixes for IE < 8 */
@media screen\9 {
  .fileinput-button input {
    filter: alpha(opacity=0);
    font-size: 100%;
    height: 100%;
  }
}
  
.fileuploadprogress{
  position:fixed;
  right: 0;
  bottom: 0;
  margin: 10px 20px 10px 10px;
  width: 350px;
  z-index: 10001;

}
.fileuploadprogress .progress{  
  margin-bottom: 5px;
}
.fileuploadprogress .close{
  margin-left: 3px;
}
/*------------------------------上传进度条 end--------------------*/


/*------------------------------表单内保存按钮浮动 start--------------------*/
.fromgroupbtnfixed{
  position: fixed;
  bottom: 0px;
  background-color: rgba(51,122,183,0.3);
  z-index: 200;
  padding-left: 220px;
  margin-left: -10px;
}

.fromgroupbtnfixed button{
  min-width: 100px;
  letter-spacing: 2px;
  padding-left: 14px;
  padding-right: 12px;
}
/*------------------------------表单内保存按钮浮动 end--------------------*/


/*------------------------------全局统一CSS start--------------------*/

.app-padding-s{
  padding: 8px;
}
.app-padding-m{
  padding: 10px;
}
.app-padding-l{
  padding: 14px;
}
.app-padding-xl{
  padding: 20px;
}
.app-paddingL-s{
  padding-left: 5px;
}
.app-paddingL-m{
  padding-left: 10px;
}
.app-paddingL-l{
  padding-left: 14px;
}
.app-paddingL-xl{
  padding-left: 20px;
}
.app-paddingR-s{
  padding-right: 5px;
}
.app-paddingR-m{
  padding-right: 10px;
}
.app-paddingR-l{
  padding-right: 14px;
}
.app-paddingR-xl{
  padding-right: 20px;
}

.app-margin-s{
  margin: 8px;
}
.app-margin-m{
  margin: 10px;
}
.app-margin-l{
  margin: 14px;
}
.app-margin-xl{
  margin: 20px;
}

.app-marginL-s{
  margin-left: 5px;
}
.app-marginL-m{
  margin-left: 10px;
}
.app-marginL-l{
  margin-left: 14px;
}
.app-marginL-xl{
  margin-left: 20px;
}

.app-marginR-s{
  margin-right: 5px;
}
.app-marginR-m{
  margin-right: 10px;
}
.app-marginR-l{
  margin-right: 14px;
}
.app-marginR-xl{
  margin-right: 20px;
}

.app-marginT-s{
  margin-top: 5px;
}
.app-marginT-m{
  margin-top: 10px;
}
.app-marginT-l{
  margin-top: 14px;
}
.app-marginT-xl{
  margin-top: 20px;
}

.app-marginB-s{
  margin-bottom: 5px;
}
.app-marginB-m{
  margin-bottom: 10px;
}
.app-marginB-l{
  margin-bottom: 14px;
}
.app-marginB-xl{
  margin-bottom: 20px;
}

.app-btn-success{
  border:1px solid #69c06a;background-color: #8bda6f;color:white;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;width: 20px;
}
.app-btn-active{
  border:1px solid #f0b964;background-color: #f8d06c;color:white;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;width: 20px;
}
.app-btn-wait{
  border:1px solid #bfbfbf;background-color: white;color:#999999;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;width: 20px;
}
.app-tip-gray{
  background-color: #9b9b9b;color:white;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;
}
.app-tip-lightgray{
  background-color: #dedede;color:#777777;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;
}
.app-btn-success-rad{
  border-radius: 2px;border:1px solid #69c06a;background-color: #8bda6f;color:white;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;width: 20px;
}
.app-btn-active-rad{
  border-radius: 2px;border:1px solid #f0b964;background-color: #f8d06c;color:white;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;width: 20px;
}
.app-btn-wait-rad{
  border-radius: 2px;border:1px solid #bfbfbf;background-color: white;color:#999999;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;width: 20px;
}
.app-tip-gray-rad{
  border-radius: 2px;background-color: #9b9b9b;color:white;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;
}
.app-tip-lightgray-rad{
  border-radius: 2px;background-color: #dedede;color:#777777;line-height: 20px;padding: 1px 3px;font-size: 11px;height: 20px;
}

.app-img-s{
  width: 60px;height:60px;border-radius: 2px;
}
.app-img-m{
  width: 80px;height:80px;border-radius: 2px;
}
.app-img-l{
  width: 100px;height:100px;border-radius: 2px;
}
.app-img-xl{
  width: 120px;height:120px;border-radius: 2px;
}
.app-head-s{
  width: 20px;height:20px;border-radius: 50%;
}
.app-head-m{
  width: 40px;height:40px;border-radius: 50%;
}
.app-head-l{
  width: 60px;height:60px;border-radius: 50%;
}
.app-head-xl{
  width: 80px;height:80px;border-radius: 50%;
}

.app-title{
  overflow: hidden;text-overflow:ellipsis;white-space: nowrap;color:#454545;font-size: 18px;
}
.app-txt{
  color:#777777;font-size: 14px;
}
.app-txt-span{
  overflow: hidden;text-overflow:ellipsis;white-space: nowrap;color:#9c9c9c;font-size: 14px;
}

/*------------------------------全局统一CSS end--------------------*/

