/*
Copyright (C) 2017 Aeonsoft
www.aeonsoft.it
All rights reserved.
*/
/* 
    Created on : Nov 9, 2017, 3:11:46 PM
    Author     : ramon
*/

body {
    color: #333377;
}

.nav-text {
    color:#FFF;
    float:left;
}

.nav-button {
    float:left;
    padding: 8px 4px;
}


.navbar-dark .header-user-profile {
    color: #fff;
}

.nav-tabs .nav-link {
    background-color: transparent;
}

.nav-tabs button:focus {
    outline: none !important;
}

.header-user-profile {
    float: right;
}

.header-user-profile .user-info {
    float: left;
    font-size: 0.75rem;
    margin: 0px 20px 0px 0px;
}

.header-user-profile .dropdown-toggle::after {
    display:none
}


.page-header {
    padding-bottom: 9px;
    margin: 10px 0 5px;
    border-bottom: 1px solid #eee;
}

.select-dropdown .dropdown-toggle::after {
    position: absolute;
    top: 45%;
    right: 0.8rem;
}

/*I had to add this because bootstrap is changing the height where there is no size or multiple attribute */
select.form-control.custom-select-sm:not([size]):not([multiple]) {
    /*height: calc(1.8125rem + 2px);*/
    height: calc(1.5em + .5rem + 2px);
}
select.form-control.custom-select-lg:not([size]):not([multiple]) {
    height: calc(2.875rem + 2px);
    height: calc(1.5em + 1rem + 2px);
}

/*
.form-inline .form-group,
.form-inline p,
.form-inline input,
.form-inline .select-dropdown,
.form-inline>.btn,
.form-inline .btn-file {
    margin-right: 5px;
}

.form-inline .btn-group,
.form-inline p,
.form-inline input,
.form-inline .select-dropdown,
.form-inline>.btn,
.form-inline .btn-file {
    margin-left: 5px;
}
*/
.form-inline .form-group>label,
.form-group.form-inline>label,
.form-inline .form-group,
.form-group.form-inline,
.form-inline>button.btn {
    margin-right: 5px;
}


.form-group.row label {
    text-align: right;
}

.form-inline .input-group input {
    margin-right: 0px;
    margin-left: 0px;
}

@media (min-width: 576px){
    .form-inline .form-group {
        flex: 0 1 auto;
    }
}


.control-label,
.dropdown .btn,
.dropdown .dropdown-menu,
.form-group .dropdown .btn,
.form-group .dropdown-menu,
.form-inline .form-group .form-control-plaintext {
    /*
    font-size: 14px;
    line-height: 1.42857143;
    */
    width: auto;
}



.select-dropdown .btn{
    padding: .375rem 1.5rem .375rem .75rem;
}
.select-dropdown li a {
    padding: .375rem 2rem .375rem .75rem;
}

.select-dropdown-sm .btn {
    padding: .25rem 1.5rem .25rem .5rem;
}
.select-dropdown-sm li a {
    padding: .25rem 2rem .25rem .5rem;
}

.select-dropdown-lg .btn{
    padding: .5rem 1.5rem .5rem 1rem;
}
.select-dropdown-lg li a {
    padding: .5rem 2rem .5rem 1rem;
}

.select-dropdown {
    position: inherit;
}
.table-entity-attribute .select-dropdown,
.select-dropdown .btn {
    position: relative;
}

.modal-backdrop.show {
    opacity: 0.75;
}


.badge {
    position: relative;
    top: -1px;
}

.badge-default {
    color: #fff;
    background-color: #6c757d;
}





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

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #004187;
}


.table td.table-top-borderless {
    border-top-style: none;
}

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

.card-compact .card-header,
.card-compact .card-body,
.card-compact .card-footer {
    padding: 0.5rem!important;
}

.card-compact .table{
    margin-bottom: 0!important;
}