/* Páginas de cuenta */

.account-pages {
    /*background: url("../img/fondo-cuenta.jpg") center;*/
    background: #f3f3f3;
}

img.account-pages-logo {
    max-width: 100%;
}


/* Transiciones */

#droba-loader::before,
#droba-loader::after {
    background-color: #97DD5B;
    -webkit-transition: .7s all ease;
    -o-transition: .7s all ease;
    transition: .7s all ease;
}


/* Elementos a ocultar estando vacíos */

div.alert:empty {
    display: none;
}

.oculto-vacio:empty {
    display: none;
}


/* Botones */

.btn-primary {
    background-color: #97DD5B !important;
    border: 1px solid #97DD5B !important;
    font-weight: 400;
}

.btn-primary.btn-trans {
    background-color: #B7FD7B !important;
    color: #478D0B !important;
    border: 1px solid #97DD5B !important;
    font-weight: 400;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary {
    background-color: #b7fd7b !important;
    border: 1px solid #b7fd7b !important;
    color: #535353 !important;
    font-weight: bold;
}

#sidebar-menu>ul>li>a:hover,
#sidebar-menu .subdrop,
#sidebar-menu ul ul a:hover,
#sidebar-menu>ul>li>a.active {
    color: #77bD3B !important;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus,
.page-item.active .page-link {
    background-color: #97DD5B;
    border-color: #97DD5B;
}


/* Controles de formulario */

.checkbox-custom input[type="checkbox"]:checked+label::before {
    background-color: #97dd5b;
    border-color: #97dd5b;
}

.dropify-message .file-icon p {
    font-size: 18px !important;
}


/* Tablas */

table.table-acciones td {
    vertical-align: middle;
}


/* Mapas */

#map {
    width: 100%;
    height: 300px;
    border: solid 1px #dfdee3;
}

.controls {
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 2px 0 0 2px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    height: 32px;
    outline: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#ubicacion {
    background-color: #fff;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    margin-left: 12px;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 50%;
}

#ubicacion:focus {
    border-color: #4d90fe;
}

/* Fix formuarios */
.money-field+.parsley-errors-list {
    position: absolute;
    margin-top: 2.5rem;
}

.container-agregar-etapas label {
    margin-right: 1rem;
}

.container-agregar-etapas table {
    margin-top: 1rem;
}

/* Estilos loading */
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #dfc;
    border-color: #dfc transparent #dfc transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.css-loading {
    text-align: center;
    margin: 2rem 0;
}

.show-loading {
    display: block;
}

.hide-loading {
    display: none;
}

/* tooltip mapeo_lotes */
.tooltip-inner {
    background-color: #f3f3f3 !important;
    color: #000;
    border-radius: 5px;
}

/* leyenda mapeo_lotes */

.mapa_leyenda {}

.mapa_leyenda_item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mapa_leyenda_item_circle {}


.mapa_leyenda_item_circle {
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

/* Asignar colores según la posición */
.mapa_leyenda_item:nth-child(1) .mapa_leyenda_item_circle {
    background-color: #007bff;
}

.mapa_leyenda_item:nth-child(2) .mapa_leyenda_item_circle {
    background-color: #ffc107;
}

.mapa_leyenda_item:nth-child(3) .mapa_leyenda_item_circle {
    background-color: #000;
}

/* sidebar */
.left.side-menu,
.content-page {
    transition: all 0.4s ease;
}

#select2-data_enganches-container {
    margin-bottom: 0 !important;
}

.tablero-btn {
    border: none;
    color: #97DD5B !important;
    cursor: pointer;
}

.tablero-btn i::before {
    color: #97DD5B;
    font-size: 15px !important;
}

.validar-proyectos {
    min-width: 100%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.validar-proyectos p {
    font-size: 18px !important;
}


/* badges */
.badge-disponible {
    background-color: #007bff;
}
