.prefix {
    position: absolute;
    padding: 9px;
}

.sortingCheat{
    display: none;
}

textarea {
    resize: none;
}

#page-content {
    background: url(../../recursos/background.png);
    background-repeat: no-repeat;
    background-color: white;
    background-size: 100% auto;
}

body {
    background: #1a3e63;
}

body {
    overflow-y: scroll;
}

#cover {
    background-color: black;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    position: fixed;
    z-index: 1049;
    top: 0;
}

#cover.in {
    opacity: 0.3;
}

.desplegableContainer {
    max-height: 35px;
    overflow: visible;
    margin-bottom: 10px; 
}

.desplegableContainer .desplegable {
    padding: 0px;
    margin-top: 2px;
    border-radius: 4px;
    border: 1px solid #ccc;
    position: absolute;
    z-index: 1000;
    width: calc(100% - 30px);
    background: white;
    display: none;
    max-height: 305px;
    overflow-y: auto;
}

.desplegableContainer .desplegable .item {
    list-style: none;
    overflow: auto;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-user-select: none;
}

.desplegableContainer .desplegable .item.no-registros,
.desplegableContainer .desplegable .item.no-registros:hover {
    background: #ffbeb6 !important;
    height: 50px;
    cursor: default !important;
}

.desplegableContainer .desplegable .item.no-registros .body {
    text-align: center;
    margin-top: 10px;
}

.desplegableContainer .desplegable .item.no-registros p {
    font-size: 14px;
}

.desplegableContainer .desplegable .item.itemhover,
.desplegableContainer .desplegable .item:hover { 
    background-color:#ccc !important; 
    color:#232323 !important; 
}

.desplegableContainer .desplegable .item:last-of-type {
    border-bottom: 0;
}

.desplegableContainer .desplegable .item .pic {
    text-align: center;
    padding-left: 0;
}

.desplegableContainer .desplegable .item .pic img {
    height: 60px;
    width: auto;
    border: 1px solid #ccc;
}

.desplegableContainer .desplegable .item p {
    margin-bottom: 5px;
}

.busquedaProveedor .body {
    overflow:hidden;
}


/*AJUSTES DE RESOLUCIÓN EN MEDIA QUERYS*/




@media (min-width: 768px) {
    #page-content>.block.full.block-alt-noborder
    {
        width: 100%;
        margin: auto;
        margin-bottom: 5px;
    }
   #horizontal-menu-collapse {
        width: 100%;
        margin: auto;
    } 

   
    .navbar-nav>li {
        display: flex;
        float: left;
        padding: 0px 9px;
    }
    
    .navbar-nav>li.dropdown {
        display: none;
    }

    .block.full.block-alt-noborder {
        margin-top: 70px !IMPORTANT;
    }
}

@media (max-width: 767px) {    
    .navbar-nav>li {
        display: none;
    }
    
    .navbar-nav>li.dropdown {
        display: block;
    }
    
    .navbar-nav .open .dropdown-menu {
        position: absolute;
        margin-left: -118px;
        background-color: white;
        border: 1px solid rgba(0,0,0,0.15);
        -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

    .block.full.block-alt-noborder {
        margin-top: 70px !IMPORTANT;
    }
    
    .username {
        display:none;
    }
}




.navbar-nav {
    float: right;
    margin: 0;
    padding-left: 0px;
    margin: 0 0 0 20px;
    width: 100%;
}

.navbar a {
    
    margin-right: 2px; /* Ajusta el valor para controlar el espacio entre los elementos */
  }
  
  .navbar a:last-child {
    margin-right: 0px; /* Elimina el margen derecho del último elemento para evitar espacio extra */
  }


  
  .navbar a:last-child {
    padding-left: 0px;
    padding-right: 0px; /* Elimina el padding derecho del último elemento */
  }

.navbar-nav>li {
    float: left;
}

.navbar.navbar-default {
    background: white;
    border-bottom: 10px solid #1B3E64; 
}

footer {
    padding: 9px 10px;
    background-color: #1B3E64 !important;
    color: white;
}

.table-responsive ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    white;
}
.table-responsive :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    white;
   opacity:  1;
}
.table-responsive ::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    white;
   opacity:  1;
}
.table-responsive :-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    white;
}
.table-responsive ::-ms-input-placeholder { /* Microsoft Edge */
   color:    white;
}

.table-responsive {
    margin: auto;
}

.username {
    margin-top:10px;
    margin-right: 5px;
}

a.username {
    margin-right: 10px;
}

.user-preview {
    width: 150px;
    height:150px;
    overflow: hidden;
}

.user-preview a {
    width: 100%;
    height: 100%;
    display: block;
}

.user-preview img {
    max-height: none;
    height:100%;
    width: 100%;
    object-fit: cover;
}

.user-preview img:hover {
    cursor: pointer;
    filter: brightness(1.2);
}

.modal-body
{
    max-height: 70vh !important;
    overflow: auto;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

td .ellipsis {
    margin: 0;
}

.ellipsis-container {
    max-width:200px;
}

.switch.disabled span {
    background-color: #dbe1e8;
    border-color: #dbe1e8;
    cursor: default;
}

.switch.disabled span:after {
    background-color: transparent;
}

.table-container {
  position: relative;
}
.table-container .table-loading {
    display: none;
    position:absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
    justify-content:center;
    align-items:center;
}

.img-idioma {
    width: 100px;
    height: 100px;
}

.checkbox label:after, 
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 50%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

.dropzone .dz-preview .dz-error-message {
    top: 150px!important;
}

header {
    background-color: white !IMPORTANT;
    z-index: 100 !IMPORTANT;
    position: fixed !IMPORTANT;
    width: 100%;
}

