
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: #393939;
    text-decoration: none;
}
a {
    background-color: transparent;
}


.container{ padding-top: 10px; padding-bottom: 10px;}

p.titulo-sistema { 
    color: #999; 
    font-size: 22px; 
    line-height: 30px; 
    padding-top: 12px; 
}

h4 { 
    font-size: 16px; 
    font-weight: 700; 
    color: #006cb7; 
    padding: 15px 0; 
    text-transform: uppercase; 
}

header{ margin-bottom: 2rem;}

header nav{ 
    background: url('../imgs/bg-menu.png');
	background-position: center;
	background-size: cover;
    color: white;
	border-radius: 8px;
	padding: 4rem 3rem;
}

header .nav-item{  padding: 1.3rem;}
header .nav-link{ color: white; font-size: 1.2rem;}
header .nav-link:hover{ color: #A7A7A7;}

/* Estilo do ícone do navbar-toggler na versão mobile */
.navbar-toggler {
    border-color: transparent; /* Remove o contorno do botão */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='white' class='bi bi-list' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2.5 12.5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11zm0-5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11zm0-5a.5.5 0 0 1 0-1h11a.5.5 0 0 1 0 1h-11z'/%3E%3C/svg%3E");
}

/* Ajusta o texto "Menu" ao lado do ícone */
.navbar-toggler span.text-white {
    font-size: 1rem; /* Tamanho do texto */
    font-weight: 500; /* Negrito leve */
    line-height: 1; /* Ajusta o espaçamento vertical */
    color: white; /* Deixa o texto branco */
    margin-right: 5px;
}

/* Estilo para o offcanvas */
.offcanvas {
    background-color: rgba(248, 161, 53, 0.9); /* Cor com transparência */
    color: white; /* Texto branco para contraste */
}

/* Estilo para o cabeçalho do menu */
.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Linha separadora com transparência */
}

/* Estilo para os links do menu */
.offcanvas .nav-link {
    color: white; /* Texto branco */
    font-weight: 500; /* Semi-negrito */
    padding: 0.5rem 1rem; /* Espaçamento interno */
    transition: color 0.3s ease; /* Transição suave ao passar o mouse */
}

.offcanvas .nav-link:hover {
    color: rgba(255, 255, 255, 0.7); /* Efeito hover com opacidade */
}

/* Estilo para o botão "Fechar" */
.offcanvas .btn-close {
    filter: brightness(0) invert(1); /* Deixa o botão de fechar branco */
}




header #logo img { 
    width: 100%; 
    max-width: 350px; 
}

@media (max-width: 1200px) { 
    header .nav-item{ padding: 1rem;}
    header .nav-link{ font-size: 1rem;}
}

@media (max-width: 950px) { 
    header #logo { 
        text-align: center !important;  
        margin-top: 0px;
        margin-bottom: 10px;
    }
    header #logo img { 
        max-width: 150px; 
    }
    header .nav-item{  padding: 1rem;}
    header .navbar{  padding: 5px;}
    header .nav-item{  padding: 1rem;}
}


@media (max-width: 770px) { 
    header{ margin-bottom: 0.6rem;}
    .navbar-toggler { font-size: 1.2rem;}
}

body { 
    font-family: "Lato", Helvetica, Arial, sans-serif !important; 
    color: #393939 !important; 
    font-size: 13px; 
    background: #FFF; 
}

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Ubuntu', sans-serif; 
    font-weight: 400; 
}

.theme-logo { 
    margin: 80px auto; 
    text-align: center; 
}

.theme-logo .fa { 
    color: #006cb7; 
}

.theme-text { 
    font-size: 56px; 
    margin-bottom: 30px; 
    font-family: 'Ubuntu', sans-serif; 
    color: #393939; 
    font-weight: 600; 
}

.theme-text h1 { 
    font-size: 56px;  
    font-weight: 600; 
}

.theme-text h2 { 
    font-weight: 600; 
}

.theme-logo .btn-success { 
    font-size: 18px; 
    font-weight: 600; 
    margin-right: 10px; 
    width: 220px; 
    line-height: 30px; 
}

.right-inner-icon { 
    position: relative; 
}

.right-inner-icon i { 
    padding: 9px 12px; 
    pointer-events: none; 
    position: absolute; 
    right: 0; 
    font-size: 25px; 
}

.left-inner-icon { 
    position: relative; 
}

.left-inner-icon i { 
    color: #ccc; 
    padding: 12px 15px; 
    pointer-events: none; 
    position: absolute; 
    font-size: 16px; 
}

.btn-anchor { 
    margin: 5px 3px; 
}

.flat-form { 
    background: #fff; 
    padding: 20px; 
    box-shadow: 0 0 2px 0 #ccc; 
}

.flat-form .header { 
    color: #222; 
    font-weight: 200; 
    margin-bottom: 20px; 
    border-bottom: 1px solid #ccc; 
    padding-bottom: 20px; 
}

.flat-form .header h3 { 
    margin-top: 0; 
    margin-bottom: 0; 
    font-weight: 200; 
}

.display-wizard { 
    background: #fff; 
    border: 1px solid #efefef; 
    border-radius: 3px; 
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.04); 
    margin-bottom: 40px; 
    padding: 20px; 
    position: relative; 
    transition: padding 0.5s ease; 
}

.alert-bg-white { 
    background: #fff !important; 
    border-color: #d5d5d5 !important; 
    color: #404040 !important; 
    padding-left: 61px; 
    position: relative; 
}

.alert-bg-white .alert-link { 
    color: #333 !important; 
}

.alert-link { 
    color: #fff; 
}

.alert-bg-white .icon { 
    border: 1px solid #bdbdbd; 
    height: 100%; 
    left: -1px; 
    padding-top: 15px; 
    position: absolute; 
    text-align: center; 
    top: -1px; 
    width: 45px; 
}

.alert-primary { 
    background: #006cb7; 
    color: #fff; 
    border-color: #006cb7; 
}

.btn-labeled { 
    padding: 5px 10px; 
}

.navbar-success { 
    background-color: #0FB492; 
    border: none; 
}

.tab-content { 
    background: #F5F5F5; 
    padding: 10px; 
}

.date-time-picker .form-control { 
    border-radius: 4px; 
    border: 1px solid #ccc; 
    padding: 5px; 
    width: 60%; 
}

.btn-label { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 0.25rem; 
}

.btn-circle { 
    border-radius: 50%; 
    width: 2.5rem; 
    height: 2.5rem; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.botao {
    text-align: right;
    margin: 15px 0px 10px 0;
    background: #EEEEEE;
    padding: 10px;
}

.botao button {
    min-width: 300px;
    font-size: 17px;
}

@media (max-width: 600px) { 
    .botao { 
        text-align: center; 
        margin: 15px 0 10px; 
        background: inherit; 
        padding: 10px; 
    }
    .botao button { 
        width: 100%; 
        min-width: 100px; 
    }
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 24px 0 15px 0;
    background: #eee;
    color: #999;
    border-top: 1px solid #D7D7D7;
}
footer span {display: block;}

#title h3 { 
    border-bottom: 1px solid #eee; 
    padding: 8px 6px; 
}

.t-center { 
    text-align: center !important; 
}

.showmobile { 
    display: none !important; 
}

.hidemobile { 
    display: inline-block !important; 
}

@media (max-width: 770px) { 
    .showmobile { 
        display: block !important; 
    }
    .hidemobile { 
        display: none !important; 
    }
}


/* Custom Styles Differentiated from Bootstrap */

/* Color and Typography Customizations */
.text-primary { color: #393939 !important; }
.bg-primary { background-color: #393939 !important; }
.text-success { color: #0FB492 !important; }
.text-warning { color: #F9A646 !important; }
.text-danger { color: #D44344 !important; }

/* Table Styles */
.table > thead > tr > td.success { background-color: #0FB492; color: #fff; }

/* Form Control */
.form-control {
    border: 1px solid #bdc3c7 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
}
.form-control:focus {
    border-color: #006cb7;
}

.form-select{ font-size: 15px !important; }
.input-group-text{ font-size: 12px !important; }

/* Custom Layout and Structures */
.flat-form {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 2px 0 #ccc;
}

/* Button Customizations */
.btn-anchor {
    margin: 5px 3px;
}
.btn-circle {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

/* Alerts Customization */
.alert-bg-white {
    background: #fff !important;
    border-color: #d5d5d5;
    color: #404040 !important;
}
.alert-primary {
    background: #006cb7;
    color: #fff;
    border-color: #006cb7;
}

/* Icon Alignment */
.left-inner-icon {
    position: relative;
}
.left-inner-icon i {
    color: #ccc;
    padding: 12px 15px;
    pointer-events: none;
    position: absolute;
    font-size: 16px;
}
.right-inner-icon {
    position: relative;
}
.right-inner-icon i {
    padding: 9px 12px;
    pointer-events: none;
    position: absolute;
    right: 0;
    font-size: 25px;
}

/* Responsiveness and Media Queries */
@media (max-width: 950px) {
    #logo {
        text-align: center;
        margin-top: 0px;
    }
}

@media (max-width: 770px) {
    .menu-title {
        display: inline-block;
        width: calc(100% - 45px);
        padding-top: 7px;
        text-align: right;
        color: #fff;
    }
}

/* Popup and Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(235, 230, 230, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 60%;
}
.popup img {
    max-width: 100%;
    height: auto;
}
.popup button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}
.popup button:hover {
    background-color: #0056b3;
}

/* Miscellaneous Adjustments */
.theme-logo {
    margin: 80px auto;
    text-align: center;
}
.theme-logo .fa {
    color: #006cb7;
}
.theme-text {
    font-size: 56px;
    margin-bottom: 30px;
    font-family: 'Ubuntu', sans-serif;
    color: #393939;
    font-weight: 600;
}
.theme-text h1 {
    font-size: 56px;
    font-weight: 600;
}
.theme-text h2 {
    font-weight: 600;
}


.input-group-text + .form-control{  border-radius: 0 0.375rem 0.375rem 0 !important; }

.btn-primary {
    color: #fff;
    background-color: #006cb7;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #DD5F5D;
}

.form-group {
    margin-bottom: 15px;
}

#title {
    padding: 0 0 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: none;
    border-radius: 4px;

}

.btn-default {
    color: #393939;
    background-color: #fff;
    border: 1px solid #ccc;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #393939;
  background-color: #F0F0F0;
  border: 1px solid #ccc;
}

.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
    margin-left: -2px;  border-radius: 0 0.375rem 0.375rem 0 !important;
}

.btn-warning {
    color: #fff;
    background-color: #F9A646;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ec971f;
}


.thumbnail {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Organiza o conteúdo verticalmente */
    padding: 2px;
    margin-bottom: 20px;
    line-height: 1.5;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    text-align: center;
    height: 100%; /* Garante altura uniforme */
}

/* Imagens com tamanho fixo e proporção mantida */
.thumbnail img {
    width: 100%;
    object-fit: cover; /* Corta a imagem para manter proporção */
    border-bottom: 1px solid #ddd;
}

.thumbnail h3{ font-size: 1rem; margin: 0.5rem 0 0 0; padding: 0;}
.thumbnail h4{ font-size: 0.8rem; margin: 0; padding: 0;}

/* Ajuste para o caption ocupar o restante do espaço */
.caption {
    flex: 1; /* Ocupa o espaço restante */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thumbnail .btn { padding: 8px 18px; font-size: 13px !important; }

#total_lista{ text-align: center; margin-top: 2rem;}

.pagination {
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

.pagination .page-link{ font-size: 14px !important;}
.pagination a{ color: #393939; =}
.pagination a:hover{ color: #393939;}
.active>.page-link, .page-link.active {
    background-color: #EEEEEE;
    border-color: #EEEEEE;
    color: #393939;
}

#filtros{ margin: 1.5rem 0 2rem 0;}

.anuncio{ padding: 5px;}

@media (max-width: 990px) {
    #filtros{ margin: 0.5rem 0 1rem 0;}
    #orders{ margin: 1.2rem 0 0rem 0; text-align: center !important;}
    #orders .btn { padding: 5px 8px !important;}
    .anuncio{ padding: 3px;}
    .thumbnail .row {  --bs-gutter-x: 0.5rem !important;}
}