﻿html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 60px;
}
body > .container {    
    
}
.scrollable-x::-webkit-scrollbar {
    height: 6px;
}

.scrollable-x::-webkit-scrollbar-thumb {
    background-color: #888;
}

.scrollable-x::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}
.navbar {
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 575px) {
    .container {
        width: 540px;
        max-width: 100%;
    }
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: normal;
    background-color: #f5f5f5;    
}
.footer > div {
    padding: 10px 15px 0 15px;
}
.navbar-brand {
    margin-left: 15px;
    margin-right: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
}
.btn-primary {
    color: #fff;
    background-color: #9687BF;
    border-color: #9687BF;
}
.btn-primary:hover {
    color: #fff;
    background-color: rgb(99, 86, 135);
    border-color: #9687BF;
}
.btn-outline-primary {
    color: #9687BF;
    background-image: none;
    background-color: transparent;
    border-color: #9687BF;
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: #9687BF;
    border-color: #9687BF;
}
.btn-outline-primary:active, .btn-outline-primary.active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #9687BF;
    border-color: #9687BF;
}
.btn-outline-primary:focus, .btn-outline-primary.focus {
    -webkit-box-shadow: 0 0 0 2px rgba(150, 135, 191, 0.5);
    box-shadow: 0 0 0 2px rgba(150, 135, 191, 0.5);
}
.btn:focus, .btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 2px rgba(150, 135, 191, 0.25);
    box-shadow: 0 0 0 2px rgba(150, 135, 191, 0.25);
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: rgba(150, 135, 191, 0.25);
    border-color: #9687BF;
}
.dropdown-item:focus, 
.dropdown-item:hover {
    color: #1d1e1f;
    text-decoration: none;background-color: rgba(150, 135, 191, 0.25);
}
.text-purple {
    color: #9687BF;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #9687BF;
}
.dropdown-toggle::after {
    display:none;
}
.body-content i.fas {
    color: #9687BF;
}
.body-content .btn.btn-outline-primary:hover i.fas,
.body-content .btn.btn-outline-primary:active i.fas {
    color: inherit;
}
.form-control:focus {
    border-color: #9687BF;
}
a:focus, a:hover {
    color: #9687BF;
}
.btn-outline-primary.disabled {
    color: #9687BF;
}
.scrollable-list {
    max-height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    list-style-type: none;
    margin: 0;
    padding: 0 .5em;
}
.scrollable-list li {
    padding: 0 0;
    display: inline-block;
}
.scrollable-list li:not(:last-child)::after {
    content: ',';
}
    .scrollable-list li:first-child {
        padding-top: .3em;
    }
    .scrollable-list li:last-child {
        padding-bottom: .3em;
    }
 .scrollable-list.summary-users {
    margin-left: -10px; 
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
 }
/* #region form & validation */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    rgba(0,0,0,.3) !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    rgba(0,0,0,.3) !important;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    rgba(0,0,0,.3) !important;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    rgba(0,0,0,.3) !important;
}
.validationElement {
    border-color: #a94442 !important;
    border-top-right-radius: 0 !important;
    color: #a94442 !important;
}
span.validationMessage {
    top: -1.45em;
    position: absolute;
    right: 0;
    font-size: 0.8em;
    background-color: #a94442;
    padding: 0 .3em;
    color: #fff;
}
/* #endregion validation */
/* #region list-group */
.list-group-item.list-group-item-action.nodetitle {
    border-bottom-left-radius: 0; 
    border-bottom-right-radius: 0; 
    padding-top: .3em; 
    padding-bottom: .3em;
}
.list-group-item.list-group-item-action.nodetitle,
.list-group-item.list-group-item-action.nodetitle h5 i {
    color: rgba(136, 136, 136, .9);
    background-color: #f0f0f0;
}

.list-group-item.list-group-item-action h5 {
    color: rgba(136, 136, 136, .9);
}
.list-group-item.list-group-item-action h6,
.list-group-item.list-group-item-action h5 {
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 2px;
}
.list-group-item.list-group-item-action.selected {   
    background-color: rgba(150, 135, 191, .1);
}
.list-group-item-action:active {
    color: inherit;
    background-color: inherit;
}
.list-group-item-action:focus {
    color: inherit;
    text-decoration: none;
    background-color: #fff;
}
.list-group-item:focus, .list-group-item:hover {
    text-decoration: none;
}
/* #endregion list-group */
/* #region login */
body.login {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #eee;
}
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
    color: #636c72;
    text-shadow: 1px 1px #FFFFFF;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input.companyname {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input.username {
    margin-bottom: -1px;
    border-radius: 0;
}
.form-signin input.password {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
#splash-image-container {
    background-image: url('../../Content/images/splash-login.jpg');
    max-width: 300px;
    height: 100px;
    margin: 0 auto;
    background-position: -90px -54px;
    background-repeat: no-repeat;
    box-shadow: inset 0px 1px 2px rgba(0,0,0,0.5);
    border-top: 5px solid #9687BF;
}
/* #endregion login */
/* #region tree-select */
.tree-select-wrapper {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.tree-select {
    height: 130px;
    width: 200px;
    display: inline-block;
    padding: 15px 15px;
    margin-right: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #636c72;
    border-radius: 2px;
    background-color: #fefefe;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.tree-select:last-child {
    margin-right: 0;
}
.tree-select.active {
    cursor: auto;
    background-color: #464a4c;
    /*background-color: #9687BF;*/
    color: #FFFFFF;
}
.tree-select > h5 {    
    height: 47px;
    overflow: hidden;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.tree-select.active > h5 {
    color: #FFFFFF;
    text-shadow: -1px -1px rgba(0, 0, 0, 1);
}
.tree-select.active > .tree-select-icon {
    text-shadow: -1px -1px rgba(0, 0, 0, 1);
}
.tree-select:hover:not(.active) {
    border-color: #9687BF;
    cursor: pointer;
    color: #9687BF;
}
.tree-select > .tree-select-icon {
    width: 50%;
    text-align: center;
    margin-top: 10px;
}
    .tree-select > .tree-select-icon:nth-child(2) {
        padding-left: 10px;
    }
    .tree-select > .tree-select-icon:last-child {
        padding-right: 10px;
    }
/* #endregion tree-select */
/* #region breadcrumb */
.breadcrumb {
    list-style: none;    
    background: none;
    padding: 0 0;
    overflow: hidden;
    width: 100%;    
    overflow: hidden;
    white-space: nowrap;
}    
.breadcrumb-item {
    background: #ddd;
    padding: .2em .3em .2em .9em;
    float: left;
    text-decoration: none;
    color: #444;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    position: relative;
    margin: 0 .2em 0 0;
    float: none;
    display: inline-block;
}
.breadcrumb-item.active {
    background: #9687BF;
    color: #fff;
    text-shadow: -1px -1px rgba(0, 0, 0, 0.5);
}
.breadcrumb-item.active::after {
    background: #9687BF;
}
.breadcrumb-item::after,
.breadcrumb-item::before{
    position: absolute;
    background: #ddd;
    content: "";
    height: 1.90em;
    margin-top: -0.95em;
    position: absolute;
    right: -.5em;
    top: 50%;
    width: 0.8em;
    z-index: -1;
    border-radius: 0.3em;
}

.breadcrumb-item::after{ 
    z-index: 2;
}

.breadcrumb-item::before{
    right: -0.8em;
    z-index: 1;
    background: #fff;
    height: 2.05em;
    margin-top: -1.00em;
    width: 0.7em;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    padding-right: 0.2rem;
}
.tree-select-icon-wrapper {
    display: flex;
}
    .tree-select-icon-wrapper .tree-select-icon {
        width: 50%;
        text-align: center;
    }
/* #endregion breadcrumb */