﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.link {
    color: #939393;
}

    .link:hover {
        color: #3d3d3d;
    }

.pull-right {
    text-align: right !important;
}

.pull-left {
    text-align: left !important;
}

.pull-center {
    text-align: center !important;
}

.top-buffer,
.vertical-buffer {
    margin-top: 64px
}


.dialog-container {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background: #ccc /* fallback for old browsers */;
    background: rgba(204, 204, 204, .5);
}

.dialog-message {
    text-align: center;
    top: 50%;
    left: 50%;
    width: 25em;
    height: 5em;
    /*margin: -2em auto 0 -10em*/ /* top is half of height and left is half of width*/ /*;*/
    position: inherit;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.6);
    -moz-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.6);
    box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.6);
    padding: 8px 0px 0px 0px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    border-radius: 20px;
}

.dialog-accentText {
    font-size: 36px;
    font-family: "Segoe UI Light", "Segoe UI", Tahoma, Helvetica, Arial,sans-serif;
}

.dialog-image {
    height: 90%;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.dialog-image-caption {
    text-align: center;
    width: 90%;
    margin: 0 5% 0 5% /* top is half of height and left is half of width*/;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.6);
    -moz-box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.6);
    box-shadow: 1px 1px 10px 0px rgba(50, 50, 50, 0.6);
    padding: 8px 0px 0px 0px;
}

/*Tamaño de las tablas*/
table.table-bordered.dataTable {
    border-right-width: 0;
    font-size: 9pt;
}


.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #c2c2c2;
}


.separatorOpc {
    display: flex;
    align-items: center;
    text-align: center;
}

    .separatorOpc::before,
    .separatorOpc::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #000;
    }

    .separatorOpc:not(:empty)::before {
        margin-right: .25em;
    }

    .separatorOpc:not(:empty)::after {
        margin-left: .25em;
    }


.validation-summary-errors {
    color: red;
}

/*textarea {
    text-transform: uppercase;
}
*/
.inputUpper {
    text-transform: uppercase;
}

.inline-flex {
    display: inline-flex !important;
    margin: .5em !important;
}

.degradarDiv {
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(37,37,88,1) 25%, rgba(0,212,255,1) 100%);
}

.bordeIzq {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.bordeDer {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.bordeComp {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.textoDer {
    text-align: right;
}

.textoIzq {
    text-align: left;
}

.textoCentro {
    text-align: center;
}

.degradarDiv2 {
    background-image: radial-gradient(circle at 82.57% 52.85%, #e99da4 0, #e0909c 16.67%, #d48192 33.33%, #c66e87 50%, #b75c7d 66.67%, #aa4c75 83.33%, #9f4071 100%);
}


/*Validar el navbar*/
.navbar-nav .nav-link {
    color: #fff;
}

.dropend .dropdown-toggle {
    color: black;
    margin-left: 1em;
}

.dropdown-item:hover {
    background-color: #939393;
    color: #fff;
}

.dropdown .dropdown-menu {
    display: none;
}

.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
    display: block;
    margin-top: 0.125em;
    margin-left: 0.125em;
}

@media screen and (min-width: 769px) {
    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    .dropend .dropdown-toggle {
        margin-left: 0.5em;
    }
}


/*Prueba iconos de alertas*/
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    transition: all 0.5s;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.accordion-button::after {
    transition: all 0.5s;
}
