﻿/*******************************
         Fonts  
*******************************/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --color-azul: #002F5D;  
    --color-turquesa: #007298;  


}


/* Aplica Roboto Slab como fuente principal */
body, * {
    font-family: 'Roboto Slab', serif;
}


/*******************************
		Font Family  
*******************************/
.H1, h1 {
    font-size: 2em !important;
    font-weight: 700;
    text-align: center;
    display: block;
    color:  var(--color-azul);
}
 
tr:has(input[type="radio"]) {
    padding: 13px !important;
    display: block;
    border: 1px solid #f5f5f5;
    margin: 0 0 6px 0;
    border-radius: 5px;
}


 
input[type="radio"]:checked + label {
    background-color: #e0f7fa; 
    padding: 10px;
    border-radius: 5px;
    font-weight: bold; /* Opcional para resaltar el texto */
}
 
.has-radio {
    transition: background-color 0.3s ease;
}

input[type="radio"]:checked + label {
    background-color: #e0f7fa;
}









.H2, h2 {
	font-size: 2em;
}

.boldTexts {
	font-weight: bold;
}

.whiteFont {
	color: #FFFFFF;
}

.link {
	text-decoration: none !important;
}
/*******************************
		General  
*******************************/
* {
    font-family: "Roboto Slab", serif;
	margin: 0;
	padding: 0;
	color: #090a0c;
}

body {
    display: block !important;
    background-image: url(./images/BGImg-Medidor.webp) !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    background-color: #122337;
}

.Container {
	width: 90% !important;
	margin: 0 auto;
}

.flowColumn {
	display: flex !important;
	flex-direction: column;
}

.MarginTop {
	margin-top: 1em;
}

.MarginRight {
	margin-right: 1em;
}

.MarginLeft {
	margin-left: 1em !important;
}

.TAC {
	text-align: center;
}

br {
	height: 0 !important;
	width: 0;
}
/*******************************
		Inputs	
*******************************/
input[type=text], input[type=password], input[type=number], textarea, select, ui-menu-item-wrapper {
    background: #F7F8FA;
    border: 0;
    padding: 12px;
    font-size: 1.2em;
    border-radius: 8px;
    color: #494a51;
    width: 100%;
}

input[type=submit]
{
	cursor: pointer;
}

.ui-menu .ui-menu-item-wrapper {
	color: white;
	background-color: black;
	background-image: linear-gradient(to left, rgb(44, 22, 5), rgb(9, 14, 24));
}

.ui-datepicker .ui-datepicker-header {
	background: #333 !important;
}
/*******************************
		Buttons	
*******************************/
.button {
	padding: 0.5em 1.25em;
	border-radius: 1.5em !important;
	height: 40px;
	color: #fff;
}

	.button:hover, .cmdLogin:hover, .cmdRegister:hover {
		cursor: pointer;
	}

.purpleButton {
	background: rgb(41, 26, 67);
	border-radius: 5px;
	border-width: 3px;
	border-color: rgb(110, 74, 174);
}

.greenButton {
	background: rgb(18, 72, 31);
	border-radius: 5px;
	border-width: 3px;
	border-color: rgb(51, 143, 72);
}
/*******************************
			 Login  
*******************************/
#LoginPage {

}

#LoginFormulary {
    background: white;
    max-width: 600px;
    margin: 52px auto;
    display: block;
    padding: 50px;
    border-radius: 21px;
    box-shadow: 1px 1px 1px #0000009e;
}

#LoginFormulary span {
    color: var(--color-turquesa);
    font-weight: 600;
    margin: 15px 0 1px 0;
    display: block;
}

#LoginFormulary img {
    display: block;
    width: 158px !important;
    height: auto !important;
    margin: auto;
}

table {
    width: 100%;
    margin: 0px 0 0 0;
}

.contenedorbotones td {
    width: 50%;
    display: inline-block;
} 

input {
    width: 100% !important;
}

td, td {
    display: block;
    width: 100%;
}

.buttonLogin {
    background-color: var(--color-azul);
    border: none;
    font-weight: bold;
    padding: 1em;
    width: 222px !important;
    color: #ffffff;
    border-radius: 9px;
    font-size: 1.1em;
    margin: 0 0 73px 0;
}
 
td span {
    margin: 17px 0 11px 0px;
    display: block;
    font-size: 1.0em;
}

.Logo {
	width: 150px;
	margin: 0 auto;
}

.FormLogin {
}

.iconLoginField {
	width: 18px;
}

.FieldUserIcon {
	grid-area: FieldUserIcon;
	display: flex !important;
	justify-content: center;
	align-items: center;
	background: #114556;
}

.FieldUserContent {
	grid-area: FieldUserContent;
	background-color: black;
	background-image: linear-gradient(to left, rgb(55, 33, 5), rgb(9, 14, 24));
	border-color: rgb(77, 53, 5);
	display: flex !important;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 1em;
}

.FieldUserContent > * {
	margin-bottom: 10px;
}

.FieldUserContent input {
	background: none;
	width: 90%;
	color: #fff;
	padding: 1em;
	border: solid 1px #00f;
	border-radius: 10px;
}

.StackFieldLogin > div{
	display: grid !important;
	grid-template-columns: 40px 1fr;
	grid-template-rows: 1fr;
	grid-template-areas: 'FieldUserIcon FieldUserContent';
	margin: 0 auto -4em !important;
}

.ControlsLogin {
	display: flex !important;
	justify-content: flex-end;
}
/*******************************
		DataAppController  
*******************************/
.AdminContent {
	min-height: 100vh !important;
}

.MasterPanel {
	width: 100% !important;
	display: flex !important;
	flex-direction: column;
	padding: 1em;
}

.MasterPanel > div > div:nth-child(4){
	background: rgba(255, 255,255,0.4);
}

.MasterDetail {
	display: grid !important;
	grid-gap: 0;
	grid-template-columns: 50% 50%;
	grid-template-rows: 1fr;
}

.FooterContent {
	display: none !important;
	padding: 1em 0;
	width: 90%;
	margin: 2em auto;
}
/*******************************
			Header  
*******************************/
.HeaderMain {
	background-color: rgba(12, 9, 18, 0.75);
	padding: 1em 5%;
}

.HeaderMain td:nth-child(1) {
	width: 8em;
}

.HeaderMain td:nth-child(3) div {
	display: flex !important;
	justify-content: flex-end;
	align-items: center;
}

.HeaderMenu {
	display: flex !important;
}

.HeaderMenu nav:last-child {
	margin-left: 0;
}

.HeaderMain td:nth-child(3) div a {
	text-decoration: none;
}

.Logo-header {
	width: 65px;
}

#IconLogout {
	width: 2.3em;
}
/*******************************
	   Select Controller   
*******************************/
.MainSearch, .SearchComponent, .AdvancedSearchComponent {
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	display: flex !important;
	margin-right: 1em;
}

.MainSearch {
    max-width: 1200px;
    margin-top: 1em;
    background:var(--color-azul);
    border-radius: 20px;
    margin: auto;
    color: white;
}

.MainSearch > *:first-child, .SearchComponent > *:first-child, .AdvancedSearchComponent > *:first-child, .InsertContent td select, .InsertContent td input {
	margin-right: 1em;
}

.SearchComponent, .AdvancedSearchComponent {
    height: 45px;
    padding: 13px;
    border-radius: 5px;
}


.SearchComponent input[type=text] {
	color: #3f2e7c;
	padding: 0.5em 1em;
	border: solid 1px rgb(0, 0, 255);
}

.SelectResults {
    max-width: 800px;
    border-radius: 20px;
    margin: auto;
    background: #ffffff;
    color: #020202;
}
 
.iconSearch {
    width: 33px !important;
    padding: 14px;
    border-radius: 26px;
    border: 2px solid white; 
}

.SelectResults a {
    text-decoration: none;
    color: #272020;
}

.SelectResults td {
	padding: 1em;
}

span#ctr_Label_557 {
    color: white !important;
}

.SelectResults tr:nth-child(even) {
	background: rgba(6, 81, 90, 0.4);
}

.SelectResults tr:nth-child(1), .SelectResults tr:nth-child(1):hover {
	background: rgba(223, 223, 225, 0.4);
}

.SelectResults tr:hover{
	background: #a1a1a1;
}

.SelectResults tr:nth-child(1) td {
    border-bottom: dotted 1px #3d3d3d;
    width: 95%;
}
.FooterToolBar {
	display: flex !important;
	justify-content: flex-end;
	align-items: center;
}

.FooterToolBar * {
	margin-left: 0;
}

.FooterToolBar > *
{
	margin-right: 2em;
}

.FooterToolBar select {
	border-radius: 5px;
	border-width: 1px;
	border-color: rgb(26, 131, 143);
	width: 100px;
}

.UserFilters {
	margin: 0;
	padding: 0;
}

.UserFilters * {
	margin-bottom: 1em;
}

.UserFilters table {
	background: rgba(12, 9, 18, 0.4);
	width: 100%;
}

.UserFilters td, .InsertContent td {
	padding: 0.5em 1em 0.5em 0;
}

.UserFilters input, .UserFilters select {
	width: 200px !important;
	margin: auto;
	border: solid 1px rgb(0, 0, 255);
}

.UserFilters input[type="image"], .InsertContent input[type="image"] {
	width: 20px !important;
}

.UserFilters select, .InsertContent textarea {
	width: 220px !important;
	margin: auto;
}

.UserFilters input[type=image], .UserFilters input[placeholder='hh:mm'] {
	display: none;
}

.ControlsBar {
	display: flex !important;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	border-top: solid 1px #474050;
	border-bottom: solid 1px #474050;
	padding: 1em 0;
	margin: 0 2em;
}

.ItemControlBar {
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	margin-right: 1.5em;
}

.IconToolbar {
	width: 3.5em !important;
	border-radius: 10em;
}

.IconToolbar_Refresh {
	border: solid;
	border-width: 0.2em;
	border-color: rgb(160, 106, 255);
	border-radius: 10em;
	padding: 0.9em;
}
/*******************************
	   Delete Controller   
*******************************/
#DeleteContainer {
	margin: 1em 0;
}

#DeleteContainer td, .UpdateContainer td{
	padding-bottom: 1em;
}
/*******************************
	   Insert Controller   
*******************************/
.InsertContent, .ui-datepicker-calendar {
	background: rgba(12, 9, 18, 0.4) !important;
	width: 100%;
}

.MainSearch span {
    color: white;
  }

.InsertContent td > div {
	display: flex !important;
	flex-wrap: wrap;
	max-width: 380px;
}

.InsertContent td > div > div {
	width: auto @ !important;
}

.InsertContent td > div > * {
	margin-bottom: 1em;
}

.InsertContent textarea {
	height: 50px;
	width: 275px !important;
}

.InsertContent input[type="text"], .InsertContent input[type="number"], .InsertContent input[type="password"] {
	width: 275px !important;
}

.InsertContent input[type="image"] {
	height: 20px;
	margin: auto;
}

.InsertContent select {
	width: 300px
}

.InsertControlsBar {
	margin-top: 1em;
	margin-left: 0;
}


/*******************************
	Method Controller   
*******************************/
.MethodControls {
	margin-top: 1em;
}

.MethodControls td > div {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
}

.MethodControls select {
	width: 200px;
}

.MethodControls select, .MethodControls input {
	margin-right: 1em;
}

.MultipleUpdateSave {
	width: 20px;
}

.ContainerMethod {
	display: flex !important;
	flex-wrap: wrap;
	margin-top: 1em;
}

.ContainerMethod input {
	margin-bottom: 1em;
	margin-right: 1em;
}

.ContainerMethod .purpleButton {
	border-radius: 10px !important;
}
/*******************************
	   Update Controller   
*******************************/
.TabItem {
	background-color: rgba(45, 32, 70, 0.8);
	color: #ffffff;
	padding: 1em 1em 0.5em 1em;
	margin-right: 1em;
	margin-bottom: 1em;
	text-decoration: none;
}

.ItemSelected {
	border: none !important;
	background-color: rgba(110, 74, 174, 0.8);
	color: #ffffff;
	padding: 1em 1em 0.5em 1em;
	margin-right: 1em;
	text-decoration: none;
}

.TabContainer .MainSearch .ControlsBar {
	margin-left: 0em;
}




/* PASO 2 */
input[type="radio"] {
    position: relative;
    margin-right: 0.5rem;
    vertical-align: middle;
    width: 10px !important;
}

label {
 
    align-items: center;
    font-size: 16px;  
    color: #333;  
}

 
label + br {
    margin-bottom: 0.5rem; 
}
/* Estilo para labels después de input radio o checkbox */
input[type="radio"] + label,
input[type="checkbox"] + label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;  
    font-size: 16px;
    color: #333;  
    line-height: 1.4;
    max-width: calc(100% - 20px);
}

input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
    margin: 0 0.5rem 0 0;  
}
 
.contenedorbotones td:first-child .buttonLogin {
    background-color: #a1dcf1;
    color: #1e1f2d;
    border: none;
}

.labelerrors {
    background: #ffd7d7;
    color: #593434;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #ffbfbf;
    display: block;  
}
 
.labelerrors:empty {
    display: none !important;  
}

 
.contenedoropciones td {
    vertical-align: top;
    display: inline-block;
    padding: 0 !important;
 
}

/* Estilo específico para el primer td */
.contenedoropciones td:first-child {
 width: 9%;
 
}

.contenedoropciones td:nth-child(2) {
    width: 88%;
}

.contenedoropciones td:nth-child(2) * {
    padding: 0 !important;
    margin: 0 !important;
}

.contenedoropciones tr {
    margin: 0 0 19px 0;
    display: block;
}

.contenedoropciones td:nth-child(2) span {
    color: #292727 !important;
}

.H3 {
    font-size: 2em !important;
    text-align: center;
}

.labelresultado {
    font-size: 5em;
    text-align: center;
    border-radius: 8px;
    padding: 20px;
    background: linear-gradient(to right, #09B5CF 0%, #05CF8C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


@media (max-width: 900px) {
    .MainSearch, .SearchComponent, .AdvancedSearchComponent {
        flex-direction: none ;
        justify-content: none ;
        align-items: none ;
        display: block !important;
        margin-right: 0;
      }

      .ControlsBar {
        display: block !important;
        flex-direction: none !important;
        justify-content: none !important;
        align-items: none !important;
        border-top: 0;
        border-bottom: 0;
        padding: 0px 0;
        margin: 0;
      }

      .iconSearch {
        width: 20px !important;
        padding: 14px;
        border-radius: 26px;
        border: 2px solid white;
      }

      .ControlsBar {
        display: block !important;
        flex-direction: none !important;
        justify-content: none !important;
        align-items: none !important;
        border-top: solid 0px #474050;
        border-bottom: solid 0px #474050;
        padding: 1em 0;
        margin: 0 2em;

      }

        .iconSearch, .SearchComponent input[type="text"] {
        vertical-align: middle !important;
        margin-top: 21px;
        }
        
    .SearchComponent input[type="text"] {
      width: 77% !important;
      display: inline-block;
      vertical-align: middle;
    }

    .SearchComponent, .AdvancedSearchComponent {
        height: none !important;
        padding: none !important;
        border-radius: none !important;
      }

      .MainSearch { 
        padding: 11px;
      }
 
      .FooterToolBar span {
        color: white !important;
      }

      .ItemControlBar {
        display: inline-block !important;
      }
}

@media (max-width: 600px) {
    .labelresultado {
        font-size: 2em;  
    }
    .MainSearch { background:rgb(0, 102, 255); }
}

/* Tamaño de fuente para pantallas aún más pequeñas */
@media (max-width: 400px) {
    .labelresultado {
        font-size: 1.5em;  
    }

    .MainSearch { background:rgb(0, 255, 13); }
}


