:root {
    --silpi-primary: 175 85% 29%;
    --silpi-primary-light: 176 52% 55%;
    --silpi-primary-lighter: 176 60% 79%;
    --silpi-primary-lightest: 173 68% 92%;
    --silpi-gray: 210 2% 75%;
    --silpi-gray-light: 0 0% 80%;
    --silpi-gray-lighter: 0 0% 87%;
    --background: 0 0% 98%;
    --foreground: 210 11% 15%;
    --card: 0 0% 100%;
    --card-foreground: 210 11% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 210 11% 15%;
    --primary: 175 85% 29%;
    --primary-foreground: 0 0% 100%;
    --secondary: 173 68% 92%;
    --secondary-foreground: 175 85% 29%;
    --muted: 210 10% 96%;
    --muted-foreground: 210 8% 45%;
    --accent: 176 52% 55%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 72% 51%;
    --destructive-foreground: 0 0% 100%;
    --success: 142 71% 45%;
    --success-foreground: 0 0% 100%;
    --warning: 38 92% 50%;
    --warning-foreground: 0 0% 100%;
    --info: 199 89% 48%;
    --info-foreground: 0 0% 100%;
    --border: 210 14% 89%;
    --input: 210 14% 89%;
    --ring: 175 85% 29%;
    --radius: 0.625rem;
    --sidebar-background: 175 85% 29%;
    --sidebar-foreground: 0 0% 100%;
    --sidebar-primary: 0 0% 100%;
    --sidebar-primary-foreground: 175 85% 29%;
    --sidebar-accent: 175 70% 35%;
    --sidebar-accent-foreground: 0 0% 100%;
    --sidebar-border: 175 60% 40%;
    --sidebar-ring: 0 0% 100%;
    --text-primary: 
}

html{
    font-size: 16px;
    font-family: sans-serif;
    font-optical-sizing: auto;
    font-weight: regular;
    font-style: normal;
    tab-size: 4;
}

/*Ajuste componente Botmaker*/
.wc-button{
    z-index: 99999;
}

/*Tabelas*/
thead{
    border-color: rgb(223,227,231);
}

tr:first-of-type {
	background-color: #f4f5f680;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}
    
table tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

thead th{
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    vertical-align: middle;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 3rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
}

tbody td{
    color: hsl(var(--foreground));
    font-weight: 400;
    vertical-align: middle;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    border-bottom: 1px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    color: black;
}

/*a*/

a {
	color: hsl(var(--primary)) !important;
}

/*Inputs*/
input, select, textarea{
    margin-top: 8px;;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.25rem !important;
    font-size: 0.875rem !important;
    border-radius: 8px !important;
    /*color: #656565 !important;*/
    color: hsl(var(--foreground));
    border: 1px solid #e2dfdf !important;
    padding: 12px 20px !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 1rem !important;
    padding-right: 0.75rem !important;
    background-color: hsl(var(--background)) !important;
}


input, select, textarea::placeholder{
    color: hsl(var(--muted-foreground));
}

.form-control:focus {
    outline-color: hsl(var(--ring)); /* Changes the outline color */
    outline-style: solid; /* Changes the outline style */
    outline-width: 2px; /* Changes the outline width */
    outline-offset: 2px; 
}

.form-control:disabled {
    color: hsl(var(--muted-foreground));
    opacity: 50%;
}

label{
    font-weight: normal;
}

input[type=checkbox] {
	position: relative;
	cursor: pointer;
	width: 30px;
	height: 30px !important;
    appearance: none;
}

input[type=checkbox]:before {
	content: "";
	display: block;
	position: absolute;
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
	background-color: #e9e9e9;
    border-radius: 8px !important;
}

input[type=checkbox]:checked:before {
	content: "";
	display: block;
	position: absolute;
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
	background-color: #64bcbb;
    border-radius: 8px !important;

}

input[type=checkbox]:checked:after {
	content: "";
	display: block;
	width: 9px;
	height: 15px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 5px;
	left: 10px;
}

/*Container */
.container-padrao{
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05);
    -webkit-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05); 
    border-width: 1px;
    border-style: solid;
    border-color: #e5e7eb;
    margin-bottom: 2rem;
    color: hsl(var(--card-foreground));   
    padding: 1rem 1.5rem;
}

/*Botões*/
/*Rodapé de botões dos forms*/
#divBotoesForm {
    position: fixed;
    z-index:99998;
    background-color: hsl(var(--background));    
    display: flex;
    justify-content: center !important;
    align-items: center;
    right: 0;
    left:0;
    bottom:0;
    border-radius: 0px;
    margin: 0;
    border: 0;
    border-top: 1px solid hsl(var(--border));
    height: auto !important;
    padding: 1rem;
    box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05);
    -webkit-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05); 
}

#divBotoesFormConsulta{
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05);
    -webkit-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.05); 
    border-width: 1px;
    border-style: solid;
    border-color: #e5e7eb;
    color: hsl(var(--card-foreground));   
    padding: 1rem 1.5rem;
    margin-bottom: .5rem;
    margin-top: .5rem;
    display: flex;
}

#divBotoesForm button{
    margin-bottom: 4px !important;
}

.container-consulta{
    display: flex;
    justify-content: start;
    align-items: end;
}

button{
    line-height: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: hsl(var(--background)) ;
    padding: 0.5rem 1rem;
    border-radius: 8px !important;
    height: 2.5rem;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--input));
	margin: 4px 4px;
    margin-bottom: 0;
}
/*teste temp
.btn{
    background-color: hsl(var(--background)) ;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--input));
	
}*/

button:hover{
    opacity: .7;
}

button:disabled{
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: all;
}

button:disabled span{
    cursor: not-allowed;
    pointer-events: all;
}

#divBotoesForm button i{
    margin-right: 12px;
    height: 14px;
}

.btn-primary{
    color: hsl(var(--primary-foreground));
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

.btn-warning{
    color: hsl(var(--warning-foreground));
    background-color: hsl(var(--warning));
    border-color: hsl(var(--warning));
}

.btn-danger{
    color: hsl(var(--destructive-foreground));
    background-color: hsl(var(--destructive));
    border-color: hsl(var(--destructive));
}

#divBotoesForm span{
    margin-top: 2px;
    height: 12px;
    line-height: 12px;
}

.btn-pesquisar{
    height: 50px;
}

/*Labels*/
.label{
    border-radius: 16px;
    padding: 4px 16px;
    min-height: 20px;
    display:block;
    line-height: inherit;
}
.label-success{
    background-color: #9cff9c;
    color: #365934;
}
.label-warning {
    background-color: #ffd291;
    color: #a96e1b;
}
.label-info{
    background-color: #f4f4f4;
    padding: .2em .6em .3em;
    color: black;
    font-weight: normal !important;
}

/*Modal*/
.modal-dialog{
    border-radius: 16px;
}

.modal-body{
    overflow: auto;
    padding: 15px 30px; 
}

.modal-header{
    padding: 30px;
}
.modal-header h4{
    font-size: 1.5rem;
    font-weight: 500;
}
.modal-footer{
    padding: 30px;
}