/*
Theme Name: PROYECTO
Description: Este es un tema hijo de Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: Polyedra
Author URI:  https://polyedra.mx
Template: salient
Version: 1.0
*/

/* TIPOGRAFIA */
:root {
    --cafe: #975D13;
    --negro: #161a27;
    --verde: #27a688;
    --rojo: #cd2f4f;

    /* Bootstrap standard colors */
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-danger: #dc3545;
    --bs-warning: #ffc107;
    --bs-info: #0dcaf0;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-muted: #6c757d;
    --bs-white: #ffffff;
    --bs-black-50: rgba(0, 0, 0, 0.5);
    --bs-body: #212529; /* You can adjust this to your site's body color */
}
html, body {
    min-height: 100%;
    margin: 0;
}

.site-main {
    min-height: calc(100vh - 200px);
}

nav li{
    list-style-type: none;
}

/* El footer estará siempre en la parte inferior */
.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}
*{
    font-family: 'Jost', sans-serif !important;
    font-weight: 400;
}
p{
    padding-bottom: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: #161a27;
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6{
    font-weight: 500 !important;
}

h1{
    font-size: 36px;
    line-height: 1.2;
}
h2{
    font-size: 30px;
    line-height: 1.3;
}
h3{
    font-size: 24px;
    line-height: 1.4;
    text-transform: uppercase;
}
h4{
    font-size: 20px;
    line-height: 1.5;
}
h5{
    font-size: 18px;
    line-height: 1.6;
}
h6{
    font-size: 16px;
    line-height: 1.7;
}
#cotizacion ol {
    counter-reset: level1; /* Resetea el contador en el primer nivel */
    margin-left: 0;
    padding-left: 20px;
}
#cotizacion ol ol{
    margin-left: 20px;
}
#cotizacion ol li {
    list-style: none; /* Remueve el estilo predeterminado de la lista */
}
#cotizacion ol li::before {
    content: counter(level1, upper-roman) ". "; /* Nivel 1: Números romanos en mayúsculas */
    counter-increment: level1;
    margin-left: -20px;
    display: inline-block;
    width: 20px;
}
#cotizacion ol li ol {
    counter-reset: level2; /* Resetea el contador en el segundo nivel */
}
#cotizacion ol li ol > li::before {
    content: counter(level2, upper-alpha) ". "; /* Nivel 2: Letras mayúsculas */
    counter-increment: level2;
}
#cotizacion ol li ol li ol {
    counter-reset: level3; /* Resetea el contador en el tercer nivel */
}
#cotizacion ol li ol li ol > li::before {
    content: counter(level3) ". "; /* Nivel 3: Números */
    counter-increment: level3;
}
#cotizacion ol li ol li ol li ol {
    counter-reset: level4; /* Resetea el contador en el cuarto nivel */
}
#cotizacion ol li ol li ol li ol > li::before {
    content: "(" counter(level4, lower-alpha) ") "; /* Nivel 4: Letras minúsculas con paréntesis izquierdo */
    counter-increment: level4;
}
#cotizacion ol li ol li ol li ol li ol {
    counter-reset: level5; /* Resetea el contador en el quinto nivel */
}
#cotizacion ol li ol li ol li ol li ol > li::before {
    content: "(" counter(level5) ") "; /* Nivel 5: Números entre paréntesis */
    counter-increment: level5;
}
#cotizacion ol li ol li ol li ol li ol li ol {
    counter-reset: level6; /* Resetea el contador en el sexto nivel */
}
#cotizacion ol li ol li ol li ol li ol li ol > li::before {
    content: "(" counter(level6, lower-alpha) ") "; /* Nivel 6: Letras minúsculas entre paréntesis */
    counter-increment: level6;
}

#cotizacion ul {
    margin-left: 0;
    padding-left: 0;
}
#cotizacion ul li {
    list-style: none;
    padding-left: 15px;
}
#cotizacion ul li::before {
    content: "— ";
    margin-left: -15px;
    width: 15px;
    display: inline-block;
}

/* HEADER */
#header-outer{
    z-index: 11;
}

/* BOTONES Y DEMÁS */
button, .btn{
    background-color: var(--cafe);
    color: #ffffff !important;
    border: 1px solid var(--cafe);
}
button svg path, .btn svg path{
    color: #ffffff !important;
}
button:hover, button:focus, button:active,
.btn:hover, .btn:focus, .btn:active{
    background-color: #000000;
    color: #ffffff !important;
}
button.btn,
input[type="submit"].btn,
a.btn{
    padding: 15px 10px !important;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 400;
}
a.btn:hover{
    background-color: #000000;
    color: #ffffff;
}
a.btn.agregar{
    background-color: #0d6efd;
    color: #ffffff;
}
a.btn.guardar{
    background-color: #198754;
    color: #ffffff;
}
a.btn.ver{
    background-color: #000000;
    color: #ffffff;
}

a.btn.agregar-alimento,
a.btn.agregar-ejercicio{
    margin: 0;
    padding: 5px 10px !important;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    font-size: 10px !important;
    height: auto;
    line-height: 1;
}
input.inline,
select.inline{
    display: inline-block;
    margin: 0 5px;
    max-width: 400px;
}
input.inline.fecha{
    max-width: 100px;
}
.tooltip {
    z-index: 9999;
}

/* GENERAL TABLAS */

table.conceptos td{
    padding: 0 !important;
}
table td.money{
    text-align: right;
}
table tr.ingreso,
table tr.ingreso td{
    background-color: rgba(25,135,84,0.2) !important;
}
table tr.egreso,
table tr.egreso td{
    background-color: rgba(220,53,69,0.2) !important;
}
table tr.negociacion,
table tr.negociacion td{
    background-color: rgba(111,66,193,0.2) !important;
}
table tr.desarrollo,
table tr.desarrollo td{
    background-color: rgba(255,193,7,0.2) !important;
}
table tr.finalizado,
table tr.finalizado td{
    background-color: rgba(25,135,84,0.2) !important;
}
table tr.archivado,
table tr.archivado td{
    background-color: rgba(0,0,0,0.2) !important;
}
table tr.cancelado,
table tr.cancelado td{
    background-color: rgba(220,53,69,0.2) !important;
}

/* COTIZACIÓN */
#cotizacion{
    margin: 0 auto;
}
#cotizacion .container{
    max-width: 800px;
}
#cotizacion .cabecera .ubicacion{
    text-align: right;
}

#cotizacion #portada .logo{
    text-align: center;
    margin-bottom: 50px;
}
#cotizacion #portada .logo img{
    width: 350px;
}

#cotizacion #presupuesto .contenido table.presupuesto{
    width: 100%;
    border-collapse: collapse;
}
#cotizacion #presupuesto .contenido table.presupuesto th{
    background-color: var(--cafe);
    color: white;
    padding: 5px 10px !important;
    text-align: left;
    font-size: 16px;
}
#cotizacion #presupuesto .contenido table.presupuesto td{
    padding: 10px;
    font-size: 16px;
    border: none;
}
#cotizacion #presupuesto .contenido table.presupuesto tr:nth-last-child(2) td{
    max-height: 10px;
    padding: 0;
}
#cotizacion #presupuesto .contenido table.presupuesto tr:last-child td{
    border-top: 1px solid var(--cafe);
    border-bottom: 1px solid var(--cafe);
}
#cotizacion #presupuesto .contenido p.total{
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: var(--cafe);
}

#cotizacion #requisitos .contenido {
    column-count: 2;
    column-gap: 20px; /* Ajusta el espacio entre columnas */
}
#cotizacion #requisitos .contenido p,
#cotizacion #requisitos .contenido h4{
    font-size: 12px;

}
#cotizacion #requisitos .contenido h4{
    font-weight: bold;
    break-inside: avoid-column; /* Evita que los h4 se dividan entre columnas */
}

#cotizacion #requisitos .contenido .columna {
    width: 48%; /* Ajusta para el espacio entre columnas */
    box-sizing: border-box;
}
#cotizacion #condiciones .espacio{
    height: 100px;
}
#cotizacion #condiciones .espacio .leyenda{
    text-transform: uppercase;
    font-weight: 600;
    font-size: 8px;
}
#cotizacion #condiciones .firma{
    margin-top: 100px;
}
#cotizacion #condiciones .firma .datos{
    border-top: 1px solid;
}
#cotizacion #condiciones .firma .datos p{
    margin-bottom: 0;
    font-size: 8px;
}
#cotizacion .controles{
    margin-top: 20px;
}

#cotizacion .seccion{
    max-width: 800px;
    margin: 0 auto;
}

#cotizacion .calculadora .grupo{
    margin-top: 50px;
}

#cotizacion.print p,
#cotizacion.print li,
#cotizacion.print th,
#cotizacion.print td{
    font-size: 13px;
}
#cotizacion.print h3{
    font-size: 16px;
}
#cotizacion.print #presupuesto .contenido table.presupuesto th,
#cotizacion.print #presupuesto .contenido table.presupuesto td{
    font-size: 13px;
}
#cotizacion.print #requisitos .contenido p,
#cotizacion.print #requisitos .contenido h4{
    font-size: 11px;
}
#cotizacion.print .container{
    max-width: 612px;
}
#cotizacion.print section{
    max-width: 612px;
    height: 792px;
}

table.conceptos{
    margin-bottom: 0 !important;
    width: 100%;
}
table.conceptos th{
    font-size: 12px;
}
table.conceptos td{
    padding: 0 !important;
}
table.concepto a.eliminar-fila{
    background-color: #dc3545;
    color: #ffffff;
    padding: 5px 10px !important;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    font-size: 10px !important;
    width: 35px !important;
    height: auto;
    line-height: 1;
    text-align: center;
}

table.conceptos th:nth-child(1),
table.conceptos td:nth-child(1){
    width: 45%;
}
table.conceptos th:nth-child(2),
table.conceptos td:nth-child(2){
    width: 10%;
}
table.conceptos th:nth-child(3),
table.conceptos td:nth-child(3){
    width: 15%;
}
table.conceptos th:nth-child(4),
table.conceptos td:nth-child(4){
    width: 10%;
}
table.conceptos th:nth-child(5),
table.conceptos td:nth-child(5){
    width: 10%;
}
table.conceptos th:nth-child(6),
table.conceptos td:nth-child(6){
    text-align: center;
    width: 5%;
}
table.conceptos th:nth-child(7),
table.conceptos td:nth-child(7){
    text-align: center;
    width: 5%;
}




/* SELECT 2 */
.select2-container{
    width: 100% !important;
}
.select2-container ul li::before{
    content: "";
}
.select2-container .select2-selection--single{
    padding: 0;
    height: auto;
    width: 100%;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 28px;
    font-size: 14px;
    padding: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 12px;
    right: 5px;
}
.select2-container--default .select2-selection--single{
    height: auto;
}
table .select2-container--default .select2-selection--single{
    border: none;
}
.select2-dropdown{
    z-index: 9999;
}
/* .select2-container--default .select2-selection--single
.select2-container--default .select2-selection--single .select2-selection__rendered{
    padding: 10px 10px;
} */

#header-outer:not([data-format=left-header]) #top .span_9{
    justify-content: end;
}

/* MODAL */

/* .modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: 3% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}
*/
.modal .close {
    background-color: var(--negro);
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
    padding: 5px;
    border-radius: 0;
    border: 1px solid var(--negro);
}

.modal .close:hover,
.modal .close:focus {
	background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
	text-decoration: none;
	cursor: pointer;
} 
.modal .close span{
    display: block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    color: #fff;
}
.form-control{
    height: auto;
}
.modal-backdrop{
    z-index: 20;
}
.modal-dialog{
    width: 80%;
    max-width: 600px;
    margin-top: 10vh;
}
.modal-dialog, .modal-dialog .modal-content{
    max-height: 500px;
    overflow-y: scroll;
}

@media (min-width: 576px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}