/* TABLES */
table.table {
    table-layout: fixed;
}

table.table thead>tr>th:first-child[colspan="2"] {
    width: 68px;
    padding-left: 4px;
}

.table td.phone-hide {
    padding: .75rem 0;
}

/* table.table tbody td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.table tbody td:hover {
    white-space: unset;
    overflow: visible;
} */

.field-table input[type="checkbox"] {
    position: inherit;
    left: 0;
    opacity: 100;
}

.field-table {
    border-collapse: collapse;
}

.field-table th,
.field-table td {
    padding: 10px;
    border: 1px solid #ccc;
}

.field-table th {
    background-color: #eee;
}

.field-table .form-group {
    margin: 0;
}

/************/
/*  Legado  */
.card .body .row>div {
    padding-bottom: 20px;
}

label {
    font-weight: 700;
}

.hidden {
    display: none;
}

.form-control {
    font-size: 14px;
}

.select2.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    font-size: 16px;
    margin-right: 9px;
}


/* Checkboxes
   ========================================================================== */
/* CUSTOM CSS CHECKBOXES */
form p {
    margin-bottom: 10px;
    text-align: left;
}

form p:last-child {
    margin-bottom: 0;
}

/* Remove default checkbox */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

[type="checkbox"]+label {
    font-weight: normal;
    margin: -2px 0 -2px 20px;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    user-select: none;

    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
    /* IE10+ */
}

[type="checkbox"]+label:before,
[type="checkbox"]:not(.filled-in)+label:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    transition: .2s;
}

[type="checkbox"]:not(.filled-in)+label:after {
    border: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

[type="checkbox"]:not(:checked):disabled+label:before {
    border: none;
    background-color: rgba(0, 0, 0, 0.26);
}

[type="checkbox"].tabbed:focus+label:after {
    -webkit-transform: scale(1);
    transform: scale(1);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
}

[type="checkbox"]:checked+label:before {
    top: -4px;
    left: -5px;
    width: 12px;
    height: 22px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #26a69a;
    border-bottom: 2px solid #26a69a;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"]:checked:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    border-bottom: 2px solid rgba(0, 0, 0, 0.26);
}

/* Indeterminate checkbox */
[type="checkbox"]:indeterminate+label:before {
    top: -11px;
    left: -12px;
    width: 10px;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #26a69a;
    border-bottom: none;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"]:indeterminate:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    background-color: transparent;
}

[type="checkbox"].filled-in+label:after {
    border-radius: 2px;
}

[type="checkbox"].filled-in+label:before,
[type="checkbox"].filled-in+label:after {
    content: '';
    left: 0;
    position: absolute;
    /* .1s delay is for check animation */
    transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    z-index: 1;
}

[type="checkbox"].filled-in:not(:checked)+label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 20% 40%;
    transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:not(:checked)+label:after {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #5a5a5a;
    top: 0px;
    z-index: 0;
}

[type="checkbox"].filled-in:checked+label:before {
    top: 0;
    left: 1px;
    width: 8px;
    height: 13px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

[type="checkbox"].filled-in:checked+label:after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #26a69a;
    background-color: #26a69a;
    z-index: 0;
}

[type="checkbox"].filled-in.tabbed:focus+label:after {
    border-radius: 2px;
    border-color: #5a5a5a;
    background-color: rgba(0, 0, 0, 0.1);
}

[type="checkbox"].filled-in.tabbed:checked:focus+label:after {
    border-radius: 2px;
    background-color: #26a69a;
    border-color: #26a69a;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:before {
    background-color: transparent;
    border: 2px solid transparent;
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:after {
    border-color: transparent;
    background-color: #BDBDBD;
}

[type="checkbox"].filled-in:disabled:checked+label:before {
    background-color: transparent;
}

[type="checkbox"].filled-in:disabled:checked+label:after {
    background-color: #BDBDBD;
    border-color: #BDBDBD;
}

/*========================================================================== */

.btn>img {
    max-height: 24px;
    width: auto;
}

.btn-default {
    border: 1px solid #ccc;
}

.btn-default:hover {
    background: #f6f6f6;
}

.btn-primary {
    background-color: #1f91f3 !important;
}

.btn.btn-default {
    height: 36.5px;
}

.btn+.btn {
    margin-left: 5px;
}

a {
    color: #1f91f3;
}

a.text-decoration-none {
    text-decoration: none !important;
}

a.text-decoration-none:hover {
    color: #1b709f;
}

.btn-primary:hover {
    filter: brightness(105%);
}

.navbar-brand {
    height: 50px;
}

.container .card {
    border: 0;
}

.container .card img {
    max-width: 100%;
}

.titulo-externo {
    margin: -41px 0 0 45px;
    font-size: 26px;
    text-transform: unset;
}

.titulo-externo.fone {
    display: none;
    text-transform: unset;
}

@media only screen and (max-width: 768px) {
    header .navbar-brand>.nav-link {
        background: none;
        color: #003951 !important;
        padding: 0 !important;
        font-size: 23px;
        margin-top: -38px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    h6 {
        font-size: 14px;
    }

    .titulo-externo.pc {
        display: none;
    }

    .titulo-externo.fone {
        display: block;
    }

    th {
        font-size: 13px;
    }

    td {
        padding: 0.5px 8px !important;
    }

    td>div {
        padding: 13px 6px 0 !important;
        margin-bottom: 13px !important;
    }

    td>div select {
        padding: 0 4px !important;
    }

    .actions {
        text-align: center;
    }

    .actions>.btn {
        margin: 10px 5px 5px;
    }

    .table-responsive .table>tbody>tr {
        border-radius: 7px;
    }

    .table-responsive .table>tbody>tr>td::before {
        font-size: 75%;
    }
}


/*TABLE*/
.table-responsive {
    display: contents !important;
}

table input[type='checkbox'] {
    text-align: center;
    margin: 0 auto;
}

.pagination {
    margin: 0 auto;
    justify-content: center;
}

.pagination li {
    margin: 0 1px;
    border: 1px solid #ccc;
    width: 35px;
    text-align: center;
    align-items: center !important;
    display: grid;
    height: 34px;
    border-radius: 3px;
    background: white;
}

.pagination li a {
    color: #444;
    text-decoration: none;
}

.pagination li:hover {
    background: #ddd;
    transition: all .25s;
}

.pagination li:hover a {
    color: #555;
    transition: all .25s;
}


.pagination li.active {
    background: #1f91f3;
}

.pagination li.active a {
    color: white;
}

.pagination li i {
    margin-top: 4px;
}

.body.bg-red {
    background-color: #F44336 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
    padding: 15px;
}

/* Load Page*/
.loading {
    background: #fff8;
    width: 100%;
    height: calc(100% + 15px);
    z-index: 9999;
    display: block;
    position: absolute;
    top: 0;
}


.loading p {
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 20px;
}

.loading .material-icons {
    animation: rotating 1.8s linear infinite;
    font-size: 35px;
}


@-webkit-keyframes rotating {

    /* Safari and Chrome */
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}