/* Override the default template logo with our custom logo * /
.app-logo {
    height: 23px;
    width: 97px;
    background: url('../img/logo.png');
    background-size: 100%;
    background-repeat: no-repeat;
}
.app-logo-inverse {
    height: 23px;
    width: 97px;
    background: url('../img/logo-inverted.png');
    background-size: 100%;
    background-repeat: no-repeat;
}

.app-header__logo .logo-src {
    background: url('../img/logo-allblack.png');
    background-size: 100%;
    background-repeat: no-repeat;
}
.app-header.header-text-light .app-header__logo .logo-src {
    background: url('../img/logo-allwhite.png');
    background-size: 100%;
    background-repeat: no-repeat;
}

*/

:root{
    --red: #303958;
}

.app-header {
    top: 0 !important;
}

.app-login-box .login-title {
    font-size: 3.5rem;
    color: white;
    letter-spacing: .2rem;
    font-variant: small-caps;
}

.app-top-bar .nav-item span {
    font-size: .81818rem;
    border-radius: 30px;
    padding: .3rem .75rem;
    color: rgba(255,255,255,.6);

    display: flex;
    align-items: center;
}

.bg-danger {
    background-color: #f2031c !important; /* grm red */
}

.app-header.bg-danger {
    background-color: #f2031c !important; /* grm red */
}

.bg-primary {
    background-color: #303958 !important; /* tpg blue */
}

.app-header.bg-primary {
    background-color: #303958 !important; /* tpg blue */
}

.app-header__logo {
    min-width: 200px;
}
.app-header__logo .logo-src {
    background: url(../img/aimbridge-latam-white-800h.png) 50% 50% no-repeat !important;
    background-size: contain !important;
    height: 50px !important;
    width: 100% !important;
}

.app-page-title #audit-title-wrapper.page-title-wrapper::before  {
    background: none !important;
}

.app-page-title #audit-title-wrapper + .card {
    padding-bottom: 0;
    margin-bottom: 0 !important;
}


.app-page-title .page-title-wrapper::before {
    background-color: #303958 !important; /* tpg blue */
}

.custom-background-widget{
    background-image: radial-gradient(circle 248px at center,#7795e4 0,#3f69d8 47%,#3f69d8 100%)!important;
}
/*Delete HTML date arrow behind  jquery datepicker*/
.custom-datepicker::-webkit-calendar-picker-indicator {
    display: none;
}
/*bolder group text jquery datepicker*/
.select2-container--bootstrap4 .select2-results__group {
    font-weight: bold;
}

.select2.select2-container {
    border: 1px solid rgb(206, 212, 218);
    border-radius: 4px;
    font-size: 1rem;
}
.select2 .select2-selection {
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

legend {
    font-weight: normal !important;
}

span.code {
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    font-size: 87.5%;
}

.prettyprint-container {
    max-width: calc(100vw - 370px);
}

.card-clickable {
    cursor: pointer;
}

.text-capitalize {
    text-transform: initial !important;
}

.btn-xs {
    font-size: .8rem !important;
}

.accounting {
    text-align: right;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    font-size: 87.5%;
}

.item-concept-remove-button {
    position: absolute;
    float: right;
    clear: none;
    top: 1px;
    right: 2px;
}

.integration-remove-button {
    position: absolute;
    float: right;
    clear: none;
    top: 1px;
    right: 2px;
}

.no-margin {
    margin: 0;
}

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

/* Select2 input fixes */
.select2-selection.select2-selection--multiple {
    border: none !important; /* fallback to the theme's own border display */
    padding-top: 1px !important;
    padding-bottom: 0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
}

/* DateTimePicker input fixes */
.btn-outline-secondary {
    border-color: rgb(206, 212, 218);
}

/* Select2 input fixes */
.select2-selection__placeholder {
    color: gray;
}

.select2-container--default {
    height: 38px;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    /*height: 38px !important;*/
    background: transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}

ul.flash-message {
    margin-bottom: 0;
}


/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 980px) {
    .app-sidebar {
        overflow-y: scroll;
        height: 100%;
    }

    .scrollbar-sidebar {
        overflow-y: scroll;
        height: 100%;
    }
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 250px; /* Ajusta según necesites */
}

.search-wrapper .select2-container {
    flex: 1;
    width: 100% !important;
}

.search-wrapper .select2-selection--single {
    height: 36px !important; /* Ajusta la altura */
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.search-wrapper .select2-selection__rendered {
    padding-left: 35px !important; /* Para dejar espacio al ícono */
}

.search-wrapper .search-icon-wrapper {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #777;
    z-index: 10;
}


.comment-box {
    display: flex;
    border-radius: 0.5rem;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
}

.comment-box:not(:last-child) {
    margin-bottom: 0.5rem;
}

.comment-box-user img {
    margin-bottom: 0.5rem;
    float: none;
}

.comment-box-user {
    flex: 0 0 150px;
    padding: 0.25rem;
    padding: 0.75rem;
    border-right: 1px solid #ededed;
    text-align: center;
}

.comment-box-user .description {
    font-size: 12px;
}

.comment-box-comment {
    flex: 1 0 0;
    padding: 0.75rem 1rem;
}

.comment-box-delete {
    flex: 0 0 50px;
    padding: 0.75rem;
}
