﻿.custom-center {
   margin:0 auto;
}

.color-white{
    color:#fff !important;
}

.field-validation-error {
    font-weight: bold;
    padding: 5px 10px;
    min-width: 19px;
    color: #fff;
    background-color: #DA291C;
    color: #fff;
    background-color: #DA291C;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    margin-top:5px;
}
.selected-row td {
    background-color: #eee;
}
.icono-waiting {
    animation: girar infinite 5s linear;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.paginacion {
    text-align: right !important;
    font-size: 11px !important;
    color: #da291c !important;
    padding: 14px 0 !important;
}


    .paginacion a {
        text-decoration: none !important;
        margin: 0 0 0 4px !important;
        color: #666666 !important;
        border: 1px solid #979797 !important;
        border-radius: 5px;
        padding: 5px !important;
        font-size: 14px !important;
        background-color: #ffffff;
        width: 42.91px;
    }

        .paginacion a:hover {
            background-color: #e9ecef;
            color: #da291c !important;
        }

    .paginacion .Selected {
        text-decoration: none;
        color: #ffffff !important;
        font-weight: bold !important;
        font-size: 15px !important;
        background-color: #da291c;
    }

        .paginacion .Selected:hover {
            text-decoration: none !important;
        }

    .paginacion .botonNav {
        padding-right: 5px !important;
        padding-left: 5px !important;
    }

td.acciones-td  {
    padding-top: 18px !important;
}

/*Css de tabla*/
table tbody tr:hover {
    background-color: #eee;
}

table.tabla {
    width: 100%;
    font-size: 10pt;
}

    table.tabla tr {
        border: none;
    }

        table.tabla tr.selected {
            background-color: #F79C9C;
        }

            table.tabla tr.selected:hover {
                background-color: #F79C9C;
            }

        table.tabla tr:hover {
            background-color: #eee;
        }

        table.tabla tr td {
            padding: 10px 10px;
            border-bottom: 1px solid #e9ecef;
            cursor: pointer;
            text-align: center;
            padding-top: 20px;
        }

.tabla th {
    font-weight: bold;
    background-color: #da291c;
    padding: 7px 7px;
    border-bottom: 2px solid #e9ecef;
    cursor: pointer;
    color: #fff;
    text-align: center;
}


table.tabla2 {
    width: 100%;
}

    table.tabla2 tr {
        border: 1px solid #ccc;
    }

        table.tabla2 tr.selected {
            background-color: #F79C9C;
        }

            table.tabla2 tr.selected:hover {
                background-color: #F79C9C;
            }

        table.tabla2 tr:hover {
            background-color: #eee;
        }

        table.tabla2 tr td {
            padding: 2px 2px;
            border: 1px solid #ccc;
            cursor: pointer;
            text-align: center;
        }

.tabla2 th {
    font-weight: bold;
    background-color: #D4D3D4;
    padding: 2px 2px;
    border: 1px solid #ccc;
    cursor: pointer;
    color: #222222;
    text-align: center;
}
/*Fin de css de tabla*/

.validation-summary-errors {
    color: rgba(218,41,28,1);
}

.boton-grid {
    font-size: 30px;
    border: solid 1px #da291c;
}

    .boton-grid:hover {
        color: #000000 !important;
        border: solid 1px #000000;
    }

.max-width-form-small {
    max-width: 700px;
    margin: 0 auto;
}

.modal-header-custom, .modal-footer-custom {
    background: #fff !important;
}

.dt-buttons {
    justify-content: center;
}

.margin-custom-a {
    margin-top: 30px;
}

.bg-gray {
    background-color: #e9ecef;
}

.swal2-container {
    z-index: 50000000000 !important;
}

.solo-lectura {
    background-color: #e9ecef;
    opacity: 1;
}

.solo-lectura2 {
    opacity: 1;
}


.center-element {
    justify-content: center;
}

.card-header > .nav .nav-link::before {
    content: '';
    border-radius: 15px;
    background: #000000;
    transition: all .2s;
    height: 4px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -2px;
    opacity: 0;
}


input[type='checkbox'] {
    accent-color: #da291c;
}

/***Css range***/
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #da2c14;
    cursor: pointer;
    height: 5px !important;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
}

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background-color: #f4f4f4;
        overflow: visible;
        cursor: pointer;
    }

input[type=range]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #f4f4f4;
    overflow: visible;
    cursor: pointer;
}

#DataTables_Table_0_wrapper .row .col-sm-4 {
    text-align: center !important;
}

.nowrap {
    white-space: nowrap !important;
}

    .nowrap a {
        margin-left: 8px;
    }

    .nowrap button {
        margin-left: 8px;
    }

.alinear-derecha {
    text-align: right !important;
}

.alinear-izquierda {
    text-align: left !important;
}


.error-form {
    border: solid 1px #CD5C5C;
}

.subtitle {
    background: rgba(65, 60, 60, 0.5);
    padding: 10px;
    color: #fff;
    justify-content: center;
}

.icono {
    color: #D81E05 !important;
}

    .icono:hover {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
    }

.no-border-right {
    border-right: none !important;
}

.no-border-left {
    border-left: none !important;
}

.canva-img {
    border: solid;
    width: 400px;
    height: 200px;
}

.preview-img {
    border: solid;
    width: 400px;
    height: 200px;
    margin: 0 auto;
}

.input-mayus {
    text-transform: uppercase;
}

.input-minus {
    text-transform: lowercase;
}

.titulo {
    background-color: rgba(65, 60, 60, 0.5);
    text-align: center;
    color: #ffffff;
}

.table-width {
    width: 100%;
}

.title-table {
    background-color: #da291c;
    text-align: center;
    color: #ffffff;
}

.border-total {
    border-top: solid 1px;
}

table.table-width tbody tr td {
    padding: 5px;
}

.no-hover {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

fieldset {
    border: solid 1px #9C968D;
    border-style: solid;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    width:100%;
}

    fieldset legend {
        border: solid 1px;
        background-color: #DD3F33;
        color: #FFFFFF;
        border-style: solid;
        font-weight: bold;
        padding: 5px;
    }

    fieldset.fieldset-child {
        border: solid 1px #9C968D;
        border-style: dashed;
        padding: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

        fieldset.fieldset-child legend {
            border: solid 1px;
            background-color: #9C968D;
            color: #FFFFFF;
            border-style: dashed;
            font-weight: bold;
            padding: 5px;
        }

.mayuscula {
    text-transform: uppercase;
}

.justificar {
    text-align: justify;
}

.flotar-izquierda {
    float: left;
}

.flotar-derecha {
    float: right;
}

.justificar {
    text-align: justify;
}

.negrita {
    font-weight: bold;
}

.alinear-derecha {
    text-align: right;
}

.alinear-izquierda {
    text-align: left;
}

.group-text {
    border-left: none !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.tab-active-custom {
    background-color: #959292 !important;
    color: #fff !important;
    border-color: #DA291C !important;
}

    .tab-active-custom:hover {
        color: #fff !important;
    }

.ir-arriba {
    text-align: left !important;
    display: none;
    padding: 10px;
    padding-top: 7px;
    background: #545054;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 5px;
    right: 5px;
    border-radius: 5px !important;
    width: 40px;
    height: 40px;
}

.requerido-span {
    font-weight: bold;
    padding: 5px 10px;
    min-width: 19px;
    color: #fff;
    background-color: #DA291C;
    color: #fff;
    background-color: #DA291C;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.requerido_span {
    font-weight: bold;
    padding: 5px 10px;
    min-width: 19px;
    color: #fff;
    background-color: #DA291C;
    color: #fff;
    background-color: #DA291C;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

.requerido-span2 {
    color: #DA291C;
    font-weight: bold;
}

div.dt-buttons {
    position: relative;
    float: none !important;
}

.div-aviso {
    max-width: 500px;
    margin-top: 50px !important;
    border: dashed 1px #DD3F33;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

.pointer {
    cursor: pointer;
}

.color-help {
    color: #DA291C;
    cursor: pointer;
}

.label-mark {
    border: solid 1px;
    border-color: #DA291C;
    border-radius: 2px;
    margin-top: 3px;
    padding: 5px;
}

#loader {
    display: block;
    z-index: 50000 !important;
}

/*.modal-backdrop {
    z-index: 30000 !important;
}*/

.ocultar {
    display: none !important;
}

div.bold-label label {
    font-weight: bold;
    margin-top: 10px;
}

.wrapper {
    padding: 10px;
    overflow-x: hidden;
}

@media(max-width:100px) {
    .wrapper {
        padding: 10px;
    }
}

.swal2-loading button {
    border-left-color: #DA291C !important;
    border-right-color: #DA291C !important;
    margin-top: -10px !important;
    margin-bottom: 20px !important;
}

.swal2-popup {
    font-size: 12pt !important;
}

h5.subtitle {
    background: rgba(65, 60, 60, 0.5);
    padding: 10px;
    color: #fff;
}

.calendario {
    cursor: pointer !important;
    background-color: #FFFFFF !important;
}

.bg-mapfre {
    background: radial-gradient(circle, #d81e05, #d41904, #d11304, #cd0c03, #ca0303);
    color: #fff;
}

.separar-submit-1 {
    margin-top: 30px;
}

.separar-submit-2 {
    margin-top: 15px;
}

.separar-submit-3 {
    margin-top: 35px;
}

.separar-submit-4 {
    margin-top: 14px;
}

.separar-submit-5 {
    margin-top: 42px;
}

.separar-submit-6 {
    margin-top: 42px;
}

.separar-submit-7 {
    margin-top: 28px;
}

@media (max-width:575px) {
    .separar-submit-4 {
        margin-top: 0px;
    }

    .separar-submit-5 {
        margin-top: 20px;
    }

    .separar-submit-6 {
        margin-top: 0px;
    }

    .separar-submit-7 {
        margin-top: 20px;
    }
}

a {
    text-decoration: none !important;
}

.breadcrumb .breadcrumb-item a {
    color: #6c757d;
}

.breadcrumb .breadcrumb-item.active a {
    color: #DA291C;
}

.vertical-nav-menu li a.mm-active {
    color: #fff;
    background: rgba(218,41,28,1);
    font-weight: bold;
}

.form-control.error {
    min-height: 3rem;
    border-radius: 4px;
    border: solid 1px #ed0000;
}

* {
    font-family: 'DM Sans', sans-serif;
}

.size-block {
    width: 160px;
}


.container-search {
    overflow: hidden;
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
}

    .container-search input#box-search-input {
        width: 90%;
        height: 2rem;
        border: none;
        font-size: 1rem;
        float: left;
        padding-left: 15px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    .container-search:hover button.icon, .container-search:active button.icon, .container-search:focus button.icon {
        outline: none;
        color: #DA291C;
    }

.inputSearch:focus {
    outline: none;
}

.container-search button.icon {
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: none;
    height: 2rem;
    background: #fff;
    -webkit-transition: all .55s ease;
    -moz-transition: all .55s ease;
    -ms-transition: all .55s ease;
    -o-transition: all .55s ease;
    transition: all .55s ease;
}

#box-search-result {
    position: fixed;
    top: 60px;
    left: 55%;
    background: #fff;
    width: 40vw;
    z-index: 8;
    padding-left: 15px;
    display: none;
}

    #box-search-result li {
        list-style: none;
        overflow-x: hidden;
        white-space: nowrap;
    }

        #box-search-result li a {
            display: flex;
            padding: 5px 0 5px 20px;
            margin-right: 20px;
            flex-direction: column;
            overflow-x: hidden;
            color: black;
        }

            #box-search-result li a b {
                color: black;
            }

            #box-search-result li a:hover {
                background: #f3f3f3;
            }

@media screen and (max-width: 1000px) {
    .size-block {
        width: 60px;
    }

    .size-block {
        display: none !important;
    }
}

@media screen and (max-width: 750px) {
    .size-block {
        display: none !important;
    }
}

@media screen and (max-width: 450px) {
    #box-search-result {
        width: 70vw;
        left: 15%;
    }
}
