﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.nav-pills .nav-item.dropdown > .nav-link {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.dropdown-menu {
    /*padding: 0.5rem 0 !important;*/
    margin: 0 !important;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
    }

dropdown-item {
    padding: 0rem 1.5rem !important;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 95% !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 95% !important;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

a[disabled] {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.5 !important;
    text-decoration: none !important;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

/* Formatação das tabelas 
-------------------------------------------------- */

table.dataTable td, table.dataTable th,
table.dataTable td, table.dataTable th {
    padding: .25rem;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.2em !important;
}

table.dataTable .nav-link {
    padding: 0.02em 0.35em !important;
}

table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
    color: #212529 !important;
}

table.dataTable tbody tr td a:not(.dropdown-item) {
    padding: 0 4px !important;
    margin: 0 2px !important;
    vertical-align: bottom !important;
}

/* Personalizado form*/
div .card-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

div .card-body .form-group {
    margin-bottom: 0.05rem;
}

/* Personalizado form validated */

.form-check-input.is-invalid ~ .form-check-label, .was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545 !important;
}

.form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label {
    color: #28a745;
}

.form-control.is-invalid, .was-validated .form-control:invalid {
    background-image: none !important;
    padding-right: 0.5rem !important;
}

.form-control:not(textarea).is-invalid, .was-validated .form-control:not(textarea):invalid {
    border-bottom: 1px solid #dc3545 !important;
}

.form-control.is-valid, .was-validated .form-control:valid {
    background-image: none !important;
    padding-right: 0.5rem !important;
}

.form-control:not(textarea).is-valid, .was-validated .form-control:not(textarea):valid {
    border-bottom: 1px solid #28a745 !important;
}

