*{
    box-sizing:border-box;
}
html,body{
    width:100%;
    height:100%;
    overflow:hidden;
}
html,
.uk-offcanvas-page{
    overflow-y:unset!important; 
    overflow-x:unset!important;
}
body{
    background-color:#eee; /*#4a85cc;*//*#eee;*/
}

#header{ position:fixed; top:0; left:0; right:0; height:112px; z-index:5;background-color:#575575;}
#header h1{ 
    position:relative;
    text-indent:-999999em;
    /*background-image: url(/library/img/logo-white.png);*/
    min-width: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 0 0 0.3em;
}

/* Header Toggle Switches - START */

.switch-container {
    position: absolute;
    right: 100px;
    height: 100%;
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}
  
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #33343d;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: all .2s ease-in-out;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background-color: #575;
}
  
.switch input:focus + .slider {
    box-shadow: 0 0 1px #575;
}
  
.switch input:checked + .slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Header Toggle Switches - END */

#working_modal{
    z-index:999999;
}

#current_team_name{
    color: #ccc;
}

.uk-table-hover{
    cursor: pointer;
}
.tm-table-header{
    background-color: #33343d;
}
.uk-card-media-top svg{
    max-width:200px;
}

#user_profile_link{
    color:#fff;
    text-transform:none;
    font-size:16px;
    padding-right: 1em;
}
#user_profile_link span.uk-icon{
    color:#aaa;
}
#user_profile_link:hover span.uk-icon{
    color:#fff;
}
#main_navigation{
    background-color:#33343d;
    border-top: 1px solid #ccc;
    min-height:31px;
}
#main_navigation .uk-subnav-pill{
    display: inline-flex;
    margin-bottom:0;
}
#main_navigation .uk-subnav-pill>.uk-active>a{
    background-color: #575;
}

/* offcanvas fixes for light background*/
.tm-offcanvas-light .uk-offcanvas-bar{
    color:#666;
}
.tm-offcanvas-light .uk-offcanvas-bar h3,
.tm-offcanvas-light .uk-offcanvas-bar h4{
    color:#333;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-icon-button{
    color: #999;
    background-color:#f8f8f8;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-icon-button:hover{
    background-color: #ebebeb;
    color: #666;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-text-meta{
    color: #999;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-tab>*>a{
    color: #999;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-tab>*>a:hover{
    color: #666;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-tab>.uk-active>a{
    color: #333;
    border-color: #575;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-tab>.uk-active>a,
.uk-tab>.uk-active>a{
    border-bottom: 3px solid #4a85cc;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-tab::before{
    border-bottom: 1px solid #e5e5e5;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-table-divider>:first-child>tr:not(:first-child){
    border-top: 1px solid #e5e5e5;
}
.tm-offcanvas-light .uk-offcanvas-bar .uk-table-hover tbody tr:hover{
    background: #ffd;
}

.tm-active,
.tm-offcanvas-light .uk-offcanvas-bar .uk-table-hover tbody tr.tm-active{
    background-color: #d6e9ff;
}

.uk-card-hover{
    cursor:pointer;
}

.tm-offcanvas-light .uk-offcanvas-bar{
    background: #fff;
    border-right:2px solid #ccc;
}

.uk-offcanvas-bar em {
    color: #f0506e;
}


/* DASHBOARD */
.tm-dashboard-key-number{
    font-size:10em; 
    line-height:1;
}



#footer{ position:fixed; bottom:0; left:0; right:0; height:50px; z-index:3;font-size:0.8em;}


#lobby{
    background-size: cover;
    background-position: bottom;
}
main{
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    overflow: auto;
}
.with-header main{
    top: 112px;
}

.uk-button-primary{
    background-color:#4a85cc;
}
.uk-button-secondary{
    background-color: #33343d;
}

.my-acc-label{
    font-size: 0.8em;
    color: #e85858;
}
.my-acc-required{
    font-size: 0.8em;
    color: #e85858;
}
.uk-form-controls{ position:relative;}
.my-acc-password-toggle{
    cursor: pointer;
    position: absolute;
    right: 7px;
    bottom: 7px;
    border: 1px solid #ccc;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 50%;
    line-height: 22px;
    background-color: #eee;
}

#members_list{
    margin-top:1em;
}
#assigned_access_pane{
    min-height:400px!important;
}

.role-access-level:disabled{
    background-color: #7d1515;
}
.role-access-level:disabled:checked{
    background-color: #006d09;
}

.uk-notification{
    box-shadow: 0 14px 25px rgba(0,0,0,.16);
}
.uk-notification .uk-notification-message{
    background-color: #33343d;
    color: #fff;
}


/* ** MODULES *******************  */
/* Module Navbar */ 
.tm-module-navbar{
    position:absolute;top:0;left:0;width:70px;bottom:0;background-color:#33343d;z-index:1002;border-top: 1px solid #ccc;
}
.tm-module-navbar ul.uk-tab-left::before{
    display:none;
}
.tm-module-navbar .uk-tab li{
    background-color: #33343d;
}

.tm-module-navbar .uk-tab li a{
    font-size: 9px;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    /*width: 70px;*/
    display:block;
    border: 0;
    border-bottom: 1px solid #cacaca;
}
.tm-module-navbar .uk-tab li a:hover{
    color:#575;
}
.tm-module-navbar .uk-tab li.uk-active{
    border-left: 5px solid #575;
}
.tm-module-navbar .uk-tab li.uk-active a:hover{
    color:#575;
}
.tm-module-navbar .uk-tab li a span.uk-icon{
    margin-bottom:0.7em;
    background-color: #33343d;
    color:#fff;
}
.tm-module-navbar .uk-tab li.uk-active a span.uk-icon{
    background-color: #fff;
    color:#33343d;
}
/* Module Menu Options */ 
.tm-module-menu-options{
    top: 112px;
    bottom: 50px; 
    left: 70px;
    right:auto;
}
.tm-module-menu-options .uk-offcanvas-bar{
    width:310px;
}
@media (min-width: 1200px){
    .tm-module-menu-options{
        display:block;
    }
    /* keeps it open a large screen sizes
    .tm-module-menu-options .uk-offcanvas-bar{
        display:block;
        left:0;
    }
    */
}
/* Module Section */
.tm-module-section{
    overflow: hidden;
}
.tm-module-section section{
    position: absolute;
    top:0;
    left:0px;
    right:0;
    bottom:0;
    overflow:auto;
    margin-left: 70px;  
    /*background-image: url(/library/img/logo-white.png);*/
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: center;
}
/*
@media (min-width: 1200px){
    .tm-module-section section{
        margin-left: 380px;    
    }
}
*/

/* WORKSPACE */
.tm-workspace,
.tm-workspace-frame{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
}
.tm-workspace-toolbar{
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:44px;
    background-color:#7b7b7b;
}
.tm-workspace-content{
    position:absolute;
    top:44px;
    left:0;
    right:0;
    bottom:0;
}
.tm-workspace-content-no-tabs{
    top:0;
}
.tm-workspace-toolbar .tm-toolbar-tab{
    cursor:pointer;
    padding: 3px 9px;
}
.tm-workspace-toolbar .tm-close-button{
    background-color: #ccc;
    border-radius: 50%;
    padding: 2px;
    position: relative;
    top: -2px;
    left: 5px;
    color:#333;
}
.tm-workspace-toolbar .tm-close-button:hover{
    background-color: #f0506e;
    color:#fff;
}
.tm-toolbar-tab.tm-selected{
    background-color: #575;
    color: #fff;
}
/* ** MODULES *******************  */