/** Add Color Scheme */
:root{
    --primary-color: #0d6efd;
    --primary-color-tint: #4691ff;
}

.btn-primary{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover{
    background-color: var(--primary-color-tint);
    border-color: var(--primary-color-tint);
}

a{
    color: var(--primary-color);
}

a:hover{
    color: var(--primary-color-tint);
}

/** Base CSS Styles */
html, body, .app{
    height: 100%;
}

body{
    background: #e4e4e4;
    font-family: Ubuntu;
}

.alert{
    padding: .5rem;
}

.alert-inline{
    padding: .25rem .4rem;
    font-size: 75%;
}

.alert-danger{
    border-left: 5px solid #842029;
}

.alert-warning{
    border-left: 5px solid #664d03;
}

.alert-success{
    border-left: 5px solid #0f5132;
}

.alert-primary{
    border-left: 5px solid #084298;
}

.alert-info{
    border-left: 5px solid #055160;
}

.font-weight-bold{
    font-weight: bold;
}

.control-label{
    overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	inline-display: block;
    width: 100%;
    position: relative;
    top: 7px;
}

.control-label.control-label-sm{
    font-size: 90%;
    top: 5px;
}

.select2-container--open {
    z-index: 9999999
}

/** Add te angulat ngc-cloak script */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/** Font awesome input icons */
.fa-icon-start input{
    padding-left: 37px;
}

.fa-icon-start i{
    display: block;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 37px;
    color: #999999;
    float: left;
    margin-top: -37px;
}

.fa-icon-end input{
    padding-right: 37px;
}

.fa-icon-end i{
    display: block;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 37px;
    color: #999999;
    margin-top: -37px;
    float: right;
}

.fa-icon-start.fa-icon-sm i,
.fa-icon-end.fa-icon-sm i{
    width: 31px;
    height: 31px;
    line-height: 31px;
    margin-top: -31px;
    font-size: 80%;
}

.fa-icon-start.fa-icon-sm input{
    padding-left: 31px;
}

.fa-icon-end.fa-icon-sm input{
    padding-right: 31px;
}

/** L10N flag */
.l10n-flag input{
    padding-left: 40px;
}

.l10n-flag img{
    display: block;
    width: 30px;
    text-align: center;
    float: left;
    margin-top: -34px;
    margin-left: 5px;
}

.l10n-flag.l10n-flag-sm img{
    width: 28px;
    margin-top: -30px;
}

.l10n-flag.l10n-flag-sm input{
    padding-left: 37px;
}

/** Loader spinner */
.loader, .loader:after{
    border-radius: 50%;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -35px;
    margin-top: -35px;
}

.loader{
    font-size: 10px;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid rgba(255, 255, 255, 0.8);
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: loader 1.1s infinite linear;
    animation: loader 1.1s infinite linear;
}

@-webkit-keyframes loader{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loader{
    0%{
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100%{
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/** Authentication Forms **/
.authentication-forms{
    width: 100%;
    min-height: 100%;
    background: #e4e4e4
}

.authentication-forms .branding{
    height: 200px;
}

.authentication-forms form{
    max-width: 500px;
    margin: auto;
}

/** Application interface itself **/
.application-interface{
    width: 100%;
    min-height: 100%;
    background-color: #e4e4e4;
}

.application-interface .branding{
    width: 100%;
    min-height: 100px;
}

/** Sidebar element */
.sidebar-fixed{
    background-color: #ffffff;
    width: 275px;
    height: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    border-left: 10px solid #333333;
}

.account-information{
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    background: #fafafa;
    padding: 20px 0px;
}

.account-information .margin{
    margin: 10px 0px;
}

.account-information .fa-user{
    display: inline-block;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 28px;
    border: 1px solid #cccccc;
    color: #666666;
    background-color: #e4e4e4;

    -webkit-border-radius: 75px;
    -moz-border-radius: 75px;
    border-radius: 75px;
}

.account-information ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.account-information ul li{
    display: inline;
}

.account-information ul li a{
    text-decoration: none;
}

.account-information ul li i{
    display: inline-block;
    width: 30px;
    text-align: center;
    font-size: 18px;
}

.account-information ul li i.sub-icon{
    position: absolute;
    margin-left: -24px;
    margin-top: 12px;
    font-size: 14px;
}

.l10n li{
    padding: 0px 2px;
    display: inline;
}

.l10n img{
    width: 30px;
    opacity: .50;
}

.l10n .active img{
    opacity: 1;
}

.sidebar-fixed nav{
    padding: 10px;
}

.sidebar-fixed nav h4{
    color: #999999;
    font-size: 12px;
}

.sidebar-fixed nav ul{
    list-style: none;
    margin: 0px 0px 20px 0px;
    padding: 0px;
}

.sidebar-fixed nav ul li a{
    text-decoration: none;
    height: 25px;
    display: block;
    line-height: 25px;
    font-size: 90%;
    margin: 2px 0px;
    padding: 0px 5px;
    
}

.sidebar-fixed nav ul li a:hover,
.sidebar-fixed nav ul li.active a{
    border-left: 5px solid var(--primary-color);
    margin-left: -15px;
    padding-left: 15px;
}

.created-by, .created-by a{
    font-size: 10px;
    color: #999999;
}

/** Main element styling */
main{
    margin-left: 275px;
    padding: 35px 35px 1px 35px;
}

main .card{
    margin-bottom: 35px;
    background-color: rgba(255, 255, 255, .75);
}

.card-404 .card-body{
    padding: 75px 0px;
}

.card-404 i{
    font-size: 175px;
    color: #666666;
    margin-bottom: 50px;
}

.card-breadcrumb ol{
    margin: 0px;
}

.card-breadcrumb ol a{
    color: #666666;
    text-decoration: none;
}

.btn-add{
    width: 38px;
    height: 38px;
}

/** Table styling */
.table{
    font-size: 13px;
    table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid #e4e4e4;
}

.table > thead > tr > th,
.table > tbody > tr > td{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	inline-display: block;
}

.table th{
    background: #e4e4e4;
}

.table tbody th,
.table tbody td{
    vertical-align: middle;
}

.table thead th{
    border-bottom: 3px solid #cccccc !important;
}

.table .sort{
    cursor: pointer;
}

.table .sort-active{
    padding-right: 20px;
}

.table .sort-active::before{
    font-family: 'Font Awesome 5 Free';
	font-size: 9px;
	line-height: 14px;
	content: '\f077';
	color: #999999;
	float: right;
    margin-right: -15px;
    position: relative;
    top: 2px;
}

.table .sort-active.sort-desc::before{
    content: '\f078';
}

.table .loading, .table .empty, table .not-apply{
    color: #999999;
    line-height: 30px;
}

.table .actions{
    width: 50px;
    overflow: visible;
}

.table .actions .btn{
    border: none;
}

.table .badge{
    font-size: 13px;
}

.table .form-check input{
    position: relative;
    top: 3px;
    left: 2px;
}

/** Select pagnation styling */
.select-pagnation select{
    width: 100px;
}

/** Authenticator modal styles */
.authenticator-apps{
    list-style: none;
    margin: 0px 0px 15px 0px;
    padding: 0px;
    overflow: auto;
    font-size: 11px;
}

.authenticator-apps::after {
    content: "";
    clear: both;
}

.authenticator-apps li{
    float: left;
    width: 33%;
}

.authenticator-apps li img{
    width: 50px;
    float: left;
    margin-right: 15px;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: 1px solid #e4e4e4;
}

.authenticator-apps li strong,
.authenticator-apps li a{
    display: block;
    text-decoration: none;
}

.authenticator-apps li i{
    display: inline-block;
    width: 20px;
    text-align: center;
}

.fa-apple{
    font-family: 'Font Awesome 5 Brands';
    color: #999999;
}

.fa-android{
    font-family: 'Font Awesome 5 Brands';
    color: #99cd00;
}

/** Enforce authenticator bar */
.enforce-authenticator-bar{
    display: none;
    background: #d20000;
    z-index: 10;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    line-height: 50px;
    text-align: center;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.enforce-authenticator .sidebar-fixed{
    padding-top: 50px;
}

.enforce-authenticator main{
    padding-top: 65px;
}

.enforce-authenticator .enforce-authenticator-bar{
    display: block;
}

/** Stortable tiles */
.sortable-tiles{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.sortable-tiles > li{
    background: #fafafa;
    border: 1px solid #cccccc;
    padding: 5px;
    margin: 5px 0px;
    font-size: 12px;
    cursor: pointer;
    min-height: 37px;
}

.sortable-tiles > li .single-line{
    line-height: 22px;
    font-size: 15px;
}

.sortable-tiles > li strong,
.sortable-tiles > li address{
    margin: 0px;
    padding: 0px;
}

/** File upload overlay */
.file-upload-overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, .75);
    display: none;
}

.file-upload-overlay .c100{
    position: fixed;
    margin-left: -120px;
    margin-top: -120px;
    top: 50%;
    left: 50%;
}

/** File uploader input */
.file-uploader{
    padding: 10px;
    width: 100%;
    height: 90px;
    position: relative;
}

.file-uploader .file-uploader-thumbnail{
    width: 70px;
    height: 70px;
    border: 1px solid #cccccc;
    background: #fafafa;
    float: left;
    margin-right: 10px;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.file-uploader .file-uploader-thumbnail i{
    font-size: 24px;
    display: block;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    background-size: cover;
}

.file-uploader .fa-cloud-upload-alt{
    color: #999999;
}

.file-uploader strong,
.file-uploader span{
    display: block;
    overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.file-uploader span{
    color: #999999;
    font-size: 12px;
}

.file-uploader .empty{
    line-height: 70px;
}

.file-uploader .empty.hidden{
    display: none;
}

.file-uploader input[type=file]{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #d20000;
    opacity: .5;
    padding: 0px;
    margin: 0px;
    cursor: pointer;
    opacity: 0;
}

.form-control[type=color]{
    height: 35px;
}

.table tr.selected{
    background-color: var(--primary-color);
    color: #ffffff;
}

.modal-backdrop {
    visibility: hidden !important;
}

.modal.show {
    background-color: rgba(0,0,0,0.5);
}

.context-menu{
	position: absolute;
	display: none;
}

.context-menu .dropdown-menu{
	display: block;
	position: static;
	margin-bottom: 5px;
}

.list-buttons{
    margin: 0 -5px;
}

.list-buttons a{
    margin: 0 5px;
    font-size: 20px;
    line-height: 25px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group]{
    background-color: #e4e4e4;
    line-height: 35px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] strong{
    padding: 0 12px !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[role=group] ul{
    background-color: #ffffff;
}