.align-left {
    text-align: left !important;
}

:root {
    --color-ingsys: rgba(56, 79, 140, 1);
}

.text-ingsys {
    font-weight: bold;
    color: rgba(56, 79, 140, 1);
}

.btn {
    font-size: 0.78rem;
}

h4 {
    font-size: 0.9rem;
}

.container {
    overflow: hidden;
}

.bg-success {
    background-color: #28a7451f !important;
}

.bg-danger {
    background-color: #dc35454f !important;
}

.party-selection-item {
    cursor: pointer;
}

.party-selection-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.darken-hover:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.align-items-center {
    display: flex;
    align-items: center;
}

.col-sm-1,
.col-sm-2 {
    width: 50px;
    font-size: 13px;
}

.show {
    cursor: pointer;
}

.modal-content {
    width: 100%;
}

@media (max-width: 800px) {
    .line-col {
        display: block !important;
        text-align: center !important;
    }

    .media-w-75 {
        width: 75%;
    }

    .btns-bar {
        min-width: 200px !important;
        height: auto !important;
        clear: both !important;
        float: none !important;
    }

    .btns-bar button {
        display: block;
        width: 100%;
        float: none !important;
        clear: both !important;
        margin: 5px;
    }

    .btn-group-lg>.btn,
    .btn-lg {
        padding: 0 !important;
    }

    .table-m tbody th {
        font-size: 11px !important;
    }

    .btn {
        font-size: 0.7rem !important;
    }

    h4 {
        font-size: 1.3rem !important;
    }
}

.btns-bar {
    min-width: 485px;
}

.modal-lg {
    max-width: 1300px;
    min-width: 90%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.btn-success2 {
    color: white;
    background-color: #117a65;
}

.btn-success2:hover {
    color: white;
    background-color: #138d75;
}

.btn-success3 {
    color: white;
    background-color: #2c67b3;
}

.btn-success3:hover {
    color: white;
    background-color: #22528e;
}

.not-hover:hover {
    background-color: inherit !important;
}

.navbar-toggler-icon {
    color: white;
}

.pointer {
    cursor: pointer;
}

.bg-grey {
    background-color: #fafafa;
}

.btn-primary {
    background-color: #384f8c;
    border-color: #384f8c;
}

button a {
    color: inherit;
    text-decoration: none;
}

.decoration-none {
    text-decoration: none;
}

.decoration-none:hover {
    text-decoration: none;
}

button a:hover {
    color: inherit;
    text-decoration: none;
}

.logo {
    max-height: 200px;
    text-align: center;
    padding: 5px 0;
    min-width: 1920px;
}

.logo2 {
    height: 100px;
    text-align: center;
    padding: 0;
    margin: 0;
}

.bg-f {
    background-color: #fafafa;
    min-height: 385px;
    max-height: 500px;
    overflow: scroll;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    transform: translateX(0%);
}

.main-nav li {
    display: inherit;
}

.navbar.navbar-expand-lg {
    background-color: #384f8c;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.navbar.navbar-expand-lg a {
    color: white;
}

.navbar.navbar-expand-lg a:hover {
    color: white;
    text-shadow: white 0px 0px 0px;
}

.navbar.navbar-expand-lg .dropdown-menu a {
    color: #384f8c;
}

.navbar.navbar-expand-lg .dropdown-menu a:hover {
    color: #384f8c;
    text-shadow: #384f8c 0px 0px 0px;
}

.nav-link {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    background-color: rgba(55, 55, 55, 0.2);
    margin: 5px;
    border-radius: 5px;
}

.nav.navbar-nav {
    padding-right: 0 !important;
}

.nav-item {}

.nav-link:nth-child(1) {
    border-left: none;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #70a2d74a;
}

.table .thead-dark th {
    vertical-align: middle;
    font-size: 0.7rem;
}

.table .thead-dark #Hora {
    width: 5%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center right;
}

.table .thead-dark .both {
    background-image: url(https://cdn.datatables.net/1.10.20/images/sort_both.png);
}

.table .thead-dark .asc {
    background-image: url(https://cdn.datatables.net/1.10.20/images/sort_asc.png);
}

.table .thead-dark .desc {
    background-image: url(https://cdn.datatables.net/1.10.20/images/sort_desc.png);
}

#foto-div {
    padding: 10px 10px 30px 10px;
}

#foto {
    width: 300px;
    height: 100%;
    margin: 0 auto;
}

.form-check.first {
    padding-top: 6px;
}

.form1 .form-check {
    padding-left: 0;
}

.form1 .form-check-input {
    margin: 0 0 0 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.marked {
    background-color: #6c757d;
    color: white;
}

.form2 input {
    cursor: pointer;
}

.form-align {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.form-align .label {
    width: 75%;
    cursor: pointer;
    padding-left: 20px;
    border: 1px solid #c7cfdd61;
    padding: 7px 0;
    border-radius: 2px;
    margin: 3px 0;
}

.form-align .label:hover {
    color: #0056b3;
}

.btnhide {
    display: none;
}

.box {
    box-sizing: border-box;
    border: 1px solid #dee2e630;
}

form .multiselect-native-select .btn-group {
    display: block;
    margin: 0 auto;
    width: 100% !important;
}

.multiselect.dropdown-toggle.btn.btn-default {
    max-width: 250px;
}

form .dropdown-menu {
    display: inline-block !important;
    width: 100% !important;
    text-align: center;
    position: relative;
    border: 1px solid #dee2e6de;
    background-color: transparent;
    border-bottom: none;
}

form .input-group .form-control.multiselect-search {
    border-radius: 5px !important;
    cursor: text;
}

form .multiselect-search .input-group-btn {
    display: none !important;
}

form .multiselect-item span {
    display: none;
}

form .multiselect.dropdown-toggle::after {
    display: none;
}

form .multiselect-container .input-group {
    margin: 0;
    padding: 5px;
}

form .multiselect-container li a label {
    padding: 3px 0 3px 0;
}

.form1 select {
    margin-top: 15px;
}

.form1 h5 {
    font-size: 18px;
    margin-top: 25px;
}

.route_info .w-100 {
    width: 99% !important;
}

.route_info .w-14 {
    width: 13% !important;
    display: inline-block;
}

.route_info .col-md-4 {
    width: 32.3333% !important;
    display: inline-block;
}

.route_info .col-md-6 {
    width: 49.5% !important;
    display: inline-block;
}

.route_info .col-md-3 {
    width: 24.5% !important;
    display: inline-block;
}

label.checkbox {
    color: #212529;
}

label.checkbox:hover {
    color: #0056b3;
}

.multiselect-container>li>a>label.radio,
.multiselect-container>li>a>label.checkbox {
    margin: 0;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #c7cfdd61;
    padding: 7px 0;
}

.prebody .list-group-item-light.list-group-item-action:hover {
    background-color: #e0f3ff !important;
}

.prebody .not-hover.list-group-item-light.list-group-item-action.grey {
    border: none;
    background-color: #fafafa;
}

.shadow {
    border-radius: 6px;
    box-shadow: 0px 0px 4px rgb(227, 227, 227) !important;
}

.prebody .not-hover.list-group-item-light.list-group-item-action.grey:hover {
    background-color: #fafafa !important;
}

#gallery ul {
    list-style: none;
    font-size: 0;
    padding: 0;
}

#gallery li {
    width: 25%;
    height: 150px;
    background-color: #fafafa;
    display: inline-block;
    box-sizing: border-box;
    border: 2px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

#gallery a {
    color: #fff;
    text-shadow: 2px 2px 2px #333;
}

#gallery img {
    max-width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
}

#gallery div {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

#gallery span {
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#gallery .opacity {
    font-size: 16px;
    position: absolute;
    top: -50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    display: inline-block;
    background-color: #fafafac4;
    z-index: 1;
    transition: top 0.2s linear;
}

#gallery li:hover .opacity {
    top: 50%;
}

#mlkeyboard {
    z-index: 10000000000000000;
}

.invert {
    transform: rotateY(180deg);
}

.dropdown-menu.hidden {
    display: none !important;
}

.subselect {
    border-top: none !important;
    border-bottom: 1px solid #f1f1f1 !important;
    border-left: 1px solid #f1f1f1 !important;
    border-right: 1px solid #f1f1f1 !important;
    background-color: #fafafa !important;
    color: #4497ea;
    font-weight: bold;
    font-size: 16px;
}

.subselect li {
    cursor: pointer;
}

.hidden {
    display: none;
}

.areturn:hover {
    text-decoration: none;
}

.container {
    max-width: 1600px;
}

.form-signin.col-6 {
    display: inline-block !important;
    width: 100%;
    max-width: 100%;
    flex: initial;
}

.table-m {
    font-size: 0.77rem;
}

.table-m td {
    padding: 0 1px;
}

.table-m tr {
    padding: 0 1px;
}

.table-m th {
    padding: 10px 1px;
}

.table-m tbody th {
    font-size: 12px;
}

.nmpd-grid {
    z-index: 10000000000;
}

.quick_products-item:hover {
    background-color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.modalbigger {
    max-width: 730px !important;
}

/*Card*/
.card-input-element+.card {
    height: calc(36px + 2*1rem);
    color: var(--primary);
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid transparent;
    border-radius: 4px;
}

.card-input-element+.card:hover {
    cursor: pointer;
}

.card-input-element:checked+.card {
    border: 2px solid var(--primary);
    -webkit-transition: border .3s;
    -o-transition: border .3s;
    transition: border .3s;
}

.card-input-element:checked+.card::after {
    content: '\e5ca';
    color: #AFB8EA;
    font-family: 'Material Icons';
    font-size: 24px;
    -webkit-animation-name: fadeInCheckbox;
    animation-name: fadeInCheckbox;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@-webkit-keyframes fadeInCheckbox {
    from {
        opacity: 0;
        -webkit-transform: rotateZ(-20deg);
    }

    to {
        opacity: 1;
        -webkit-transform: rotateZ(0deg);
    }
}

@keyframes fadeInCheckbox {
    from {
        opacity: 0;
        transform: rotateZ(-20deg);
    }

    to {
        opacity: 1;
        transform: rotateZ(0deg);
    }
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        transform: translateX(-39%);
    }

    .in-out {
        width: 50%;
        max-width: 50%;
    }

    .nav-link {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        background-color: transparent;
        margin: 0;
        border-radius: 0;
    }

    .nav.navbar-nav {
        padding-right: 50px !important;
    }

    .nav-item {
        display: inline-block !important;
        width: initial;
        text-align: center;
    }

    .nav-link {
        display: inline-block;
    }
}

@media (min-width: 1000px) {
    .form-signin.col-6 {
        flex: 0 0 50%;
    }
}

#subfamilias #familias {
    width: 100% !important;
}

ul.multiselect-container.dropdown-menu {
    width: 100% !important;
}

@media (max-width: 700px) {
    .low-vw-flex {
        display: flex !important;
        flex-direction: column !important;
    }

    .low-vw-flex>h1 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .low-vw-flex>div {
        width: 100% !important;
        max-width: 100% !important;
    }

    #main_form tbody input {
        /*max-width: 60px !important;*/
    }

    .custom-btn {
        font-size: 1rem !important;
    }
}

.special-input-wrap {
    position: relative;
}

.special-input-euro {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    margin: 0;
}

.special-span-euro {
    position: absolute;
    display: block;
    top: 50%;
    transform: translate(-15px, -50%);
    right: 0;
}

@media screen and (max-width: 1300px) {
    .btn {
        padding: 3px;
        margin: 2px;
    }
}

/* Estilos para la versión móvil */
@media (max-width: 530px) {}