﻿#my_menu{
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    height: calc(100vh - 58px);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    
}


.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}



#nav{
    position: fixed;
    left: 0px;
    top: 0px;
    margin: 0px 0px 0px 0px;
    width: 100%;
    height: 55px;
    box-shadow: 2px 2px 1px 0px rgba(100,100,100,0.1);
    padding: 0px 30px;
    background-color: white;
    z-index: 5;
 }

 #nav .info{
     cursor: pointer;
 }

 .mt-nav{
    margin-top: 58px !important;
    height: calc(100vh - 58px);
 }

 #current_bot{
     max-width: 150px !important;
     background-color: var(--primary-color) ;
 }

 #img_cur_page{
     width: 40px;
     height: 40px;
 }


 .div_menu_bots .plan, #current_bot .plan{    
    font-size: 10px !important;
    position: absolute;
    bottom: -4px;
    left: 20px;
 }

 #div_menu_bots_c{
    max-height: 80vh;
    overflow-y: auto;
 }
 
 #div_menu_bots_c .div_menu_bots p{
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px !important;
 }

 
 .div_menu_bots *{     
    display: inline;
    vertical-align: middle;
}

.div_menu_bots p{
    margin-left: 10px;    
}

.div_menu_bots{   
    user-select: none;  
    cursor: pointer;
    display: block;
}

#current_bot img{
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.div_menu_bots img{
    width: 40px;
    height: 40px;
    border-radius: 20px;
}



#current_bot .text-truncate{
    max-width:  130px;
}


 #sidebarCollapse{
    z-index: 1;
 }


 #mysidebar {
    max-width: 250px;
    width: 250px;
    z-index: 4;
    color: #fff;
    transition: all 0.3s;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden !important;  
}


.maincontainer{
    height: 100%;
    width: calc(100% - 253px);
}



 #nav .info i{
     font-size: 1.3rem;
 }




 #mysidebar ul li a {
    font-weight: 400px;
    font-size: 14px;
    display: block;
    color:  #212b36;
    line-height: 1.6rem;
    margin-top: 0.3rem;
}


#mysidebar ul li a i {
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.3em;
}



 #sidebarCollapse{
    z-index: 1;
    display: none !important
 }
 
 .nav_item_1{
    padding-left: 1.6rem;
    color: rgba(0, 0, 0, 0.7);
}

.nav_item_1 i{
    color: rgba(0, 0, 0, 0.5);
    padding-right: 1.4rem;
    font-size: 1.3em;
}
 
 .nav_item_2{
     padding-left: 65px !important;
     color: rgba(0, 0, 0, 0.5);
     margin-top: 0.3rem !important;
 }
 


 #p_nome{
     color: rgba(0, 0, 0, 0.8);
     display: inline; 
     margin-right: 15px;
     padding-top: 10px;
     padding-left: 8px;
 }
 
 
 #img_perfil{
     width: 32px;
     height: 32px;
     display:inline;
     border-radius: 16px;
     margin-right: 4px;
     vertical-align: middle;
     box-shadow: 0 0 1px 0px white inset, 0 0 1px 0px white;
 }

 #mysidebar a, #mysidebar a:hover, #mysidebar a:focus{
    text-decoration: none;
    transition: all 0.3s;
}
 
 #p_nav_info{
     text-align: center;
 }
 
 
 .navbar {
     padding: 15px 10px;
     background: #fff;
     border: none;
     border-radius: 0;
     margin-bottom: 40px;
     box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
 }

 
 .line {
     width: 100%;
     height: 1px;
     border-bottom: 1px dashed #ddd;
     margin: 40px 0;
 }
 
 /* ---------------------------------------------------
     SIDEBAR STYLE
 ----------------------------------------------------- */



 
 #mysidebar.active {
     left: 0 !important;
 }

 
 #dismiss {
     width: 35px;
     height: 35px;
     line-height: 35px;
     text-align: center;
     background: #7386D5;
     position: absolute;
     top: 10px;
     right: 10px;
        cursor: pointer;
     -webkit-transition: all 0.3s;
     -o-transition: all 0.3s;
     transition: all 0.3s;
 }
 #dismiss:hover {
     background: #fff;
     color: #7386D5;
 }
 
 .overlay {
     top: 0px;
     left: 0px;
     position: fixed;
     width: 100vw;
     height: 100vh;
     background: rgba(0, 0, 0, 0.7);
     z-index: 988;  
     display: none;
 }
 
 #mysidebar .sidebar-header {
     padding: 20px;
     background: #6d7fcc;
 }
 
 #mysidebar ul.components {
     padding: 0px 0px;
 }
 
 #mysidebar ul p {
     color: #000;
     padding: 10px;
 }
 

 
 
 .nav_item_1:hover i, .nav_item_1:hover, .nav_item_2:hover i, .nav_item_2:hover, .nav_item_3:hover i, .nav_item_3:hover, .div_menu_bots:hover p{
    color: var(--primary-color)  !important;
 }
 
 #mysidebar ul li.active > a, a[aria-expanded="true"], .div_menu_bots[aria-expanded="true"]:hover {
     color: #fff;
 }


 

 
 
 a[data-toggle="collapse"] {
     position: relative;
 }

 
 #mysidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #999;
}
 
/*a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
     content: '\e259';
     display: block;
     position: absolute;
     right: 20px;
     font-family: 'Glyphicons Halflings';
     font-size: 0.6em;
 }
 a[aria-expanded="true"]::before {
     content: '\e260';
 }*/
 
 
 ul ul a {
     font-size: 0.9em !important;
     padding-left: 30px !important;
 }
 
 #current_bot{
    background-color: rgba(0, 0, 0, 0.1);
    background-color: white
 }




#current_bot{
    user-select: text !important;
}

#current_bot p{
    color: rgba(0, 0, 0, 0.67);
    font-size: 16px;   
}

#current_bot span{
    font-size: 0.8em;
    color: #aaa !important;
    user-select: text !important;
    cursor: text;
}

@media only screen and (max-width: 1000px) {
    #current_bot .text-truncate{
        display: none;
    }
    
    #sidebarCollapse{
        display: flex !important;
     }
    
    #mysidebar {
        position: fixed;
        left: -250px;
        width: 250px;
        max-width: 250px;
        top:  0;
        background-color: #fff;
        z-index: 500000000;
    }
    
    .maincontainer{
        width: calc(100% - 1px);
    }
}

@media only screen and (max-width: 900px) {    

    #div_contents{
        padding: 20px 40px 120px 220px;
    }

   

    .maincontainer{
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .maincontainer.large{
        padding-left: 1rem;
        padding-right: 1rem;
    }
 }

 @media only screen and (max-width: 700px) { 
    .maincontainer{
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .maincontainer.large{
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
 }



@media only screen and (max-width: 550px) {    
    .maincontainer.large{
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    .no550{
        display: none !important;
    }
    

    #div_contents{
        padding: 20px 0px 120px 0px; /*sidebar width = 250px*/
    }

    .div_pdd{
        padding-left: 15px;
        padding-right: 15px;
    }

    .my_table, .div_no_pdd{
        border-right: none !important;
        border-left: none !important;
    }
 }

@media only screen and (max-width: 400px) {
   
 }

 @media only screen and (max-width: 355px) {
    #img_perfil{
        display: none;
    }
 }

 
 @media only screen and (max-width: 300px) {
    #p_nome{
        display: none;
    }
 }


body.kds #sidebarCollapse{
    display: flex !important;
}

body.kds #div_contents{
    padding: 20px 20px 120px 20px; /*sidebar width = 250px*/
}


.wide #sidebarCollapse{
    display: flex !important;
 }

.wide #mysidebar {
    position: fixed;
    left: -250px;
    width: 250px;
    max-width: 250px;
    top:  0;
    background-color: #fff;
    z-index: 500000000;
}

.wide .maincontainer{
    width: calc(100% - 1px);
    padding-left: 0;
    padding-right: 0;
}

.wide .maincontainer1{
   max-width: 100%;
}





















































