@import "login.css";
@import "navbar.css";
@import "sidebar.css";
@import "datatable.css";
@import "select2.css";
@import "switch.css";
@import "table.css";
@import "home.css";
@import "manager.css";
@import "summary.css";
@import "form.css";

/* Custom CSS */
* {
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f5f5;
    background-image: url("/img/background/ubintia.png");
    background-position: center;
    background-size: 35%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-size: 14px;
    overflow-x: hidden;
}

hr {
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid #979797;
    opacity: 0.3;
}

a,
a:hover,
a:visited,
a:active,
a:focus,
a:active:focus,
a:link,
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
    color: #949494;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

p {
    margin: 0;
    color: #080a34;
}

input:active:focus,
input:focus,
select:active:focus,
select:focus,
textarea:active:focus,
textarea:focus,
.btn:active:focus,
.btn:focus {
    outline: none;
}

textarea {
    resize: none;
}

ul.list-group {
    margin-bottom: 0;
}

li {
    list-style-type: none;
}

li.active {
    font-weight: bold;
}

sup.required {
    color: #dc3545;
}

small {
    font-size: 12px;
}

span.fas,
span.far {
    font-size: 14px;
    cursor: pointer;
}

span.fa-spin {
    font-size: 42px;
}

span.disabled {
    cursor: auto;
    opacity: 0.3;
}

/**
Ocultar la barra de scroll para tadas la paginas y elementos de la app.
Se tienen que ocultar el scroll para cada elemento en concreto mirar sidebar.css para referencia.

::-webkit-scrollbar,
.display-none {
    display: none;
}
*/

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
    margin-bottom: 15px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.padding-left {
    padding-left: 0;
}

.padding-right {
    padding-right: 0;
}

.fa-2x {
    font-size: 1.6em;
}

#app {
    width: 100%;
}

.container {
    position: absolute;
    max-width: 100%;
    width: 100%;
    padding-left: 240px;
    padding-right: 0;
    transition: all 0.4s ease 0s;
}

.container div.title {
    position: fixed;
    margin-top: 55px;
    width: 100%;
    height: 55px;
    background-color: #e0e0e4;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    padding: 17px 0 0 20px;
    color: #080a34;
    z-index: 3;
}

.container div.page-content {
    padding-top: 55px;
}

.container hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.container .row:first-child {
    margin-top: 75px;
}

.container .row {
    margin-top: 20px;
    margin-bottom: 20px;
}

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-group {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 15px;
    position: relative;
}

label.col-form-label {
    font-weight: normal;
    font-size: 15px;
    color: #1e22aa;
}

p.col-form-label {
    font-weight: normal;
    font-size: 15px;
    text-align: left !important;
    color: #1e22aa;
}

label[for="state"] {
    font-weight: bold;
    font-size: 15px;
    color: #080a34;
    padding-top: 7px;
    margin-bottom: 10px !important;
}

.badge {
    font-size: 12px;
}

.form-control {
    box-shadow: none !important;
    border-radius: 5px;
    font-size: 13px;
    color: #080a34;
    border: 1px solid #ddd;
    padding: 6px 12px;
}

.form-control:focus {
    border-color: #080a34;
}

.form-control[readonly] {
    background-color: #fff;
}

input.form-control {
    height: 33px;
}

p.form-control {
    border: none;
}

input[type = date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.buttons,
.delete {
    text-align: center;
}

.alert {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: justify;
}

.alert .fa-times {
    float: right;
}

.alert-warning {
    position: initial;
    width: 100%;
}

.input {
    padding: 6px 0;
}

.view-options {
    display: inline;
}

.btn,
.btn:hover,
.btn:active,
.btn:visited,
.btn:focus,
.btn:active:focus,
.btn:link,
.btn[disabled]:hover,
.btn:focus-visible {
    width: 100%;
    padding: 6px 12px;
    box-shadow: none;
    text-align: center;
    height: 36px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    outline: none;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:link,
.btn-primary[disabled]:hover,
.btn-primary:focus-visible {
    border-radius: 10px;
    border: 1px solid #1e22aa;
    background-color: #1e22aa;
    color: #fff;
}

.btn-default {
    border-radius: 10px;
    border: transparent;
    background-color: transparent;
    color: #1e22aa;
}

.btn-default:hover,
.btn-default:active,
.btn-default:visited,
.btn-default:focus,
.btn-default:active:focus,
.btn-default:link,
.btn-default[disabled]:hover,
.btn-default:focus-visible {
    border: 1px solid #ddd;
    background-color: #ddd;
    color: #1e22aa;
}

.btn-option {
    height: 33px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #949494;
}

.btn-option:hover,
.btn-option:active,
.btn-option:visited,
.btn-option:focus,
.btn-option:active:focus,
.btn-option:link,
.btn-option[disabled]:hover,
.btn-option:focus-visible {
    height: 33px;
    border: 1px solid #ddd;
    background-color: #ddd;
    color: #949494;
}

.btn-outline-secondary {
    z-index: 1 !important;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #949494;
    width: 40px;
    height: 33px;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary:visited,
.btn-outline-secondary:focus,
.btn-outline-secondary:active:focus,
.btn-outline-secondary:link,
.btn-outline-secondary[disabled]:hover,
.btn-outline-secondary:focus-visible {
    border: 1px solid #ddd;
    background-color: #ddd;
    color: #949494;
    width: 40px;
    height: 33px;
}

.btn-reset,
.btn-reset:hover,
.btn-reset:active,
.btn-reset:visited,
.btn-reset:focus,
.btn-reset:active:focus,
.btn-reset:link,
.btn-reset[disabled]:hover,
.btn-reset:focus-visible {
    width: auto !important;
    padding: 6px 12px !important;
    text-transform: initial;
    font-size: 12px !important;
}

.card {
    margin-bottom: 15px;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15),
    0 1px 2px 0 rgba(0, 0, 0, 0.2);
    margin-left: 50px;
    margin-right: 50px;
    border-radius: 0;
}

.card-body .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.results,
.total,
.options {
    margin-top: 15px;
    margin-bottom: 15px;
}

.results {
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    color: #080a34;
}

.total {
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    color: #080a34;
}

.options {
    text-align: right;
}

.form-group.buttons {
    display: flex;
    margin-right: 60px;
}

.form-group.buttons .col-md-6 {
    text-align: right;
}

.form-group.buttons .col-md-6:nth-child(1) {
    margin-right: 5px;
}

.form-group.buttons .col-md-6:nth-child(2) {
    margin-left: 5px;
}

form .inputs .col-md:nth-child(1) {
    padding-left: 0;
    padding-right: 5px;
}

form .inputs .col-md:nth-child(2) {
    padding-left: 5px;
    padding-right: 0;
}

span.legend,
span.file,
span#file {
    font-style: italic;
    font-size: 12px;
}

span.label {
    padding: 5px;
    font-weight: normal;
    font-size: 12px;
}

.required-fields,
.is-invalid {
    font-weight: bold;
    color: #dc3545;
}

.create-option,
.update-option,
.message-option,
.gate-option,
.delete-option {
    color: #949494;
    cursor: pointer;
    text-decoration: none;
}

.create-option:hover,
.create-option:active,
.create-option:focus,
.create-option:active:focus {
    color: #007bff;
}

.update-option:hover,
.update-option:active,
.update-option:focus,
.update-option:active:focus {
    color: #d39e00;
}

.gate-option:hover,
.gate-option:active,
.gate-option:focus,
.gate-option:active:focus {
    color: #1CD591;
}

.message-option:hover,
.message-option:active,
.message-option:focus,
.message-option:active:focus {
    color: #0054d3 !important;
}

.see-option:hover,
.see-option:active,
.see-option:focus,
.see-option:active:focus {
    color: #003cd3;
}

.has-message-option {
    color: #00CBFF;
}

.delete-option:hover,
.delete-option:active,
.delete-option:focus,
.delete-option:active:focus {
    color: #dc3545;
}

.nav-tabs .nav-link {
    width: auto;
    max-width: 100%;
    text-align: center;
    font-size: 13px;
    color: #080a34;
}

.tab-content {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 15px;
}

.tooltip {
    font-size: 12px;
}

.tooltip-inner {
    width: auto;
    max-width: 250px;
    text-align: left !important;
    padding: 5px;
}

.datepicker {
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
}

.jodit-status-bar {
    display: none;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}


@font-face {
    font-family: 'password';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../fonts/password.ttf') format('truetype');
}

@media screen and (max-width: 991px) {
    .card {
        margin-left: 0;
        margin-right: 0;
    }

    /*.card .card-body .col-md-12,*/
    /*.card .card-body .col-md-6,*/
    /*.card .card-body .col-md-4 {*/
    /*    width: 100%;*/
    /*}*/
    form .col-md-12 .buttons .col-md:nth-child(1) {
        padding-left: 0;
        padding-right: 0;
    }

    form .col-md-12 .buttons .col-md:nth-child(2) {
        padding-left: 0;
        padding-right: 0;
    }

    form .inputs .col-md:nth-child(1) {
        padding-right: 0;
        margin-bottom: 5px;
    }

    form .inputs .col-md:nth-child(2) {
        padding-left: 0;
        margin-top: 5px;
    }

    .form-group.buttons {
        margin-right: 10px;
    }

    .form-group.buttons .col-md-6 {
        text-align: center;
    }

    .view-options {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .offset-md-6 {
        margin-left: 0;
    }

    .col-md-4 {
        width: 100%;
    }

    .offset-md-8 {
        margin-left: 0;
    }

    .options {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding-left: 0;
    }

    .options {
        text-align: center;
    }

    .table-responsive {
        border: none;
    }

    .form-group.buttons {
        display: block;
        margin-right: 0;
    }

    .form-group.buttons .col-md-6:nth-child(1) {
        margin-right: 0;
    }

    .form-group.buttons .col-md-6:nth-child(2) {
        margin-left: 0;
    }

    .btn,
    .btn:hover,
    .btn:active,
    .btn:visited,
    .btn:focus,
    .btn:active:focus,
    .btn:link,
    .btn[disabled]:hover,
    .btn:focus-visible {
        width: 100%;
    }

    .btn-default {
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 768px) {
    .col-md {
        flex: 0 0 auto;
    }
}

/*Font to do a password with out type=password to avoid auto completion*/
@font-face {
    font-family: 'password';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../fonts/password.ttf') format('truetype');
}

.export {
    font-weight: bold;
    font-size: 20px;
    margin-top: 0;
    margin-right: 10px;
}

.-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.-callout-info {
    border-left-color: #5bc0de;
}

.datepicker table tr td.disabled, .datepicker table tr td.disabled:hover {
    text-decoration: line-through;
}

.tab-content-pills {
    border: none !important;
    padding: 15px;
}

.fv-plugins-bootstrap .fv-help-block {
    margin-top: 0;
    font-size: 12px;
    font-weight: bold;
}

.form-control.is-valid, .was-validated .form-control:valid {
    border-color: rgb(221, 221, 221);
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: rgb(221, 221, 221);
}

input.is-invalid {
    font-weight: normal;
    color: #080a34;
}

.color_red {
    color: red;
}

.message_historic {
    background-color: #DCF8C6;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.type_historic {
    font-size: 12px;
    color: #777777;
    float: left;
    width: 70%;
}

.date_historic {
    font-size: 12px;
    color: #777777;
    float: right;
}

.msg_historic {
    float: none;
    margin-top: 25px;
}

.body_state {
    margin-top: 25px;
    text-align: end;
}

.opacity_3 {
    opacity: 0.3;
}


.bling-icon {
    position: relative;
    color: #0048ff;
    animation: blingPulse 1.4s infinite ease-in-out;
}

.bling-icon::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(0, 81, 255, 0.4) 0%, transparent 80%);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 1.4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes blingPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes sparkle {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

