/*************
  procument style
**************/

/*
*{
  color:orange;
  outline:solid 1px orange;
}
*/


/* design stage */
  #*{outline:solid 1px rgba(255,0,0,0.2)}
  #img{max-width:32px;}
  
  
  a{
    color:inherit;
  }
  menu>a>*{
    vertical-align:middle;
  }
  

/* Base on 5.html */

  .toppanel{
    display:flex;
    flex-direction: row;
    
    text-align:center;
    
    /*height:40px;*/
    height:80px;
    line-height:80px;
    
    white-space:nowrap;
  }
  .toppanel>div{
    /* margin:0px 30px; */
  }
  .toppanel>.toppanelleft img{
    height:100%;
  }
  .toppanel>.toppanelcontent{
    flex:1;
  }
  
  
  
  
  
  /* bottom panel */
  .bottompanel{
    flex-direction: row;
    
    text-align:center;
    
    height:80px;
    line-height:80px;
  }
  
  
  
  
  

  .middlepanel{
    display:flex;
    flex-direction: row;
    overflow-y: auto;
  }
  .leftpanel{
    min-width:200px;
  }
  .leftpanelmenu{
    
  }
  menu>menuframe{
    #display:none;
    display:block;
  }
  menu.expend>menuframe{
    display:block;
  }
  .bottompanel{
    text-align:center;
  }
  
  
  html{
    height:100%;
  }
  body{
    height:100%;
    margin:0px;
  }
  menu{
    padding:0px;
    margin:0;
  }
  menu menu{
    padding-left:0px;
  }
  menu>a{
    padding:15px 30px;
    display:block;
  }
  
  /* color theme */
  .leftpanel, .toppanel, .bottompanel, .footerpanel{
    font-weight:bold;
    color:#d0d6e4;
    background-color:#37404f;
  }
  
  .toppanel .btn{
    width:80px;
    text-align:center;
    display:inline-block;
  }
  .toppanel .btn:hover{
    background-color:#4c596d;
    cursor:pointer;
  }
  /*.leftpanelcontent menu:first-child>a{*/
  /*.leftpanelcontent>menu:nth-child(2){*/
  .leftpanelcontent>menu.all-service{
    /*background-color:red;*/
    background-color:#37404f;
    position: sticky;
    top:0;
    z-index:1;
  }
  /*.leftpanelcontent>menu:nth-child(2)>menuframe{*/
  .leftpanelcontent>menu.all-service>menuframe{
    height: 60vh;
    overflow-y: auto;
  }
  .leftpanelcontent menu>a{
    border-bottom:solid 1px #6b6b6b;
  }
  menu>a:hover{
    background-color:#4c596d;
    cursor:pointer;
  }
  
  menu menu{
    background-color:#222831;
  }
  
  menu.sel{
    /*color:#6686b9;*/
    color:#89a2c9;
    background-color:#222831;
  }
  .contentpanel{
    flex:1;
    position:relative;
    background-color:#f2f3f5;
  }
  
  
  /* menu animation */
  menuframe{
    transition: 0.5s all;
    overflow: hidden;
    transition-timing-function: ease-in-out;
#    transition-timing-function: cubic-bezier(0.68, -1.72, 0.5, 3.15);
  }
  menu.expendable>menuframe{
    max-height:0vh;
  }
  menu.expendable.expend>menuframe{
    max-height:50vh;
  }
  
  /* add menu expendable icon*/
  menu>a{
    position:relative;
    user-select: none;
    -webkit-user-drag: element;
    -webkit-user-drag: none;
  }
  menu.expendable.expend>a:after{
    transform: rotate(-270deg);
  }
  menu.expendable>a:after{
    content:" ➤ ";
    position:absolute;
    right:15px;
    top:calc(50% - 10px);
    transform: rotate(-180deg);
    
    user-select: none;
    pointer-events: none;
    transition:0.5s all;
  }
  
  
  /* add menu expendable icon*/
  /*
  menu:before{
    content:"　";
    position:absolute;
    left:0px;
    top:0px;
    width:100px;
    line-height:40px;
    background-image:url('https://www.searchpng.com/wp-content/uploads/2019/02/Men-at-work-Icon-PNG-1024x1024.png');
    background-size: 32px;
    background-repeat: no-repeat;
  }
  menu{
    padding-left:24px;
  }
  */
  
  /* app view (single screen view UI) */
  .body{
    /*
    width:50%;
    height:50%;
    */
    height:100%;
    display:flex;
    flex-direction:column;
    background-color:#37404f;
  }
  .middlepanel{
    flex:1;
  }
  body.webappmode>.body .middlepanel{
    overflow-y:auto;
  }
  .leftpanel{
    display: flex;
    flex-direction: column;
  }
  .leftpanelcontent{
    overflow-y:auto;
  }
  .contentpanel{
    overflow:auto;
    
    #border-radius: 50px 0px 0px 0px;
  }
  .toppanelcontent{
    text-align:center;
  }
  .leftpaneltop{
    padding: 20px 20px;
    background-color:rgba(255,255,255,0.1);
  }
  
  
  menu>a>img{
    height:48px;
  }
  
  
  
  /* jiligulu class theme */
  /**{*/
  body{
    font-family:Microsoft YaHei;
  }
  
  
  /* left panel */
  #leftpanel .leftpaneltop menu>a{
    padding:10px;
  }
  #leftpanel .leftpaneltop menu>a:nth-child(2){
    padding:0px;
  }
  #leftpanel .leftpaneltop .nbar_notibtn{
    position: absolute;
    top: -28px;
    right: 50px;
    padding: 4px 5px;
    width: 28px;
    height: 18px;
    background-color: #16191C;
    border-radius:20%;
    color:rgba(255, 255, 255, 0.65098);
    font-size: 14px;
  }

  #leftpanel .leftpaneltop .nbar_notibtn:hover{
    background-color: #26292C;
    color:#fff;
  }
  
  
  #leftpanel .leftpaneltop .leftpaneltoptitle{
    line-height: 68px;
  }


  .toppanel .mnubtn{
    display:flex;
  }
  .body > .mnubtn{
    display:none;
    background-color: rgba(0,0,0,0.01);
  }
  .mnubtn{
    background-color: rgba(0,0,0,0.0);
    border-radius:10px;
    transition: all 0.15s;
    cursor:pointer;
  }
  .mnubtn.pinmnubtn:before{
    content:'\f08d';
  }
  .mnubtn:before{
    content:'\f0c9';
    font-family: FontAwesome;
    /*
    line-height: 25px;
    text-align: center;
    */
    margin: auto;
  }
  .mnubtn:hover{
    background-color: rgba(0,0,0,0.3);
  }
  
  .leftpanel .leftpanelcontent ._leftsubtitle{
    margin: 15px 5px 4px 0px;
    margin: 15px 5px 14px 0px;
    font-size: smaller;
    text-decoration: underline 1px solid #a7aec0;
    color:#6b6b6b;
    color:#a7aec0;
    text-underline-offset: 5px;
    text-align: center;
  }

  /* content panel */
  table{
    display:block;
    overflow-x:auto;
  }


/***************/
/* mobile view */
/***************/

/*@media screen and (max-width: 510px){*/
@media screen and (max-width: 620px){
  .toppanel>.toppanelleft img{
    height: 60%;
    margin: auto;
  }
  .body > .mnubtn{
    display: flex;
  }
  
  .toppanel .mnubtn{
    background-color: rgba(0,0,0,0.2);
    position: fixed;
  }
  .toppanel .toppanelleft{
    /* padding-left:60px; */
  }
  .toppanel .toppanelleft *:nth-child(2){
    margin-left: 68px;
  }
}
/***************/
/***************/


/*****************/
/* max wide view */
/*****************/
  body.max-content
  .body > .mnubtn{
    display:flex;
    position:fixed;
    width: 68px !important;
    height: 68px !important;
    /* background-color: rgba(0,0,0,0.01); */
    
    /*outline: solid 1px red;*/
    height: 38px !important;
  }
  body.max-content
  .body .contentpanel{
    /* margin-top:70px; */
    /* padding-top:26px; */
  }
/*****************/
/*****************/


/*****************/
/* darkmode view */
/*****************/
  @media (prefers-color-scheme: dark){
    .contentpanel,#contentpanel{
      background-color: #222;
      color: #ccc;
    }
  }
/*****************/
/*****************/


/********************/
/* theme preference */
/********************/

  body.right_major{
    /* *{color:silver;} */
    .middlepanel {
      display: flex;
      flex-direction: row-reverse;
    }
  }

/********************/
/********************/