/* CSS Document */
/* Reset de estilos globales */
*{
	font-family: 'Segoe UI', 'Helvetica', 'Verdana', 'sans-serif';
	position:relative;
	margin:0;
	padding:0;
	box-sizing: border-box;
}
html{
	background-color: var(--light);
}
html,body{
	overflow: hidden;
	margin: 0;
	height:100%;
}
body{
	color:var(--text-color);
	transition: all 500ms ease;
	display: grid;
	align-content: start;
	grid-template-columns: auto;
	grid-template-rows: 40px calc(100% - 40px) 0;
	grid-template-areas: 
    'header header' 
    'main main' 
    'footer footer';
}
header
{
	grid-area:header;
    box-shadow: 0 4px 2px -2px rgba(0,0,0,0.3);
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index:6;
	background-color: var(--secondary);
	color: var(--light);
}
main{
	grid-area:main;
	display:flex;
	justify-content: space-between;
	flex-direction: column;
	overflow: hidden;
}
footer{
	grid-area:footer;
}
html,body,header,aside,section,footer{
	position:relative;
}
img,video{
	width: 100%;
	height: auto;
}
a{
	color:currentColor;
	text-decoration: none;
}
button{
	border:none;
	font-size:16px;
	margin:0;
	padding:0px;
	border-radius:0;
	background-color:unset;
	color:currentColor;
	cursor:pointer;
	min-width: inherit;
}
.hover:hover{
	background-color: var(--hover) !important;
	color:var(--white) !important;
}.hover:hover > p{
	color:var(--white) !important;
}
/*
.btn-global{
	background-color: var(--primary);
	color: var(--light);
	border-radius: 5px;
	padding: 7.5px 15px;
	font-weight: bold;
	box-shadow: var(--box-shadow-light);
	transition: all 300ms ease;
}
.btn-global:hover{
	background-color: var(--secondary);
	color: var(--light);
	box-shadow: var(--box-shadow-dark);
}
.btn-secondary{
	background-color: var(--tertiary);
	color: var(--secondary);
	border-radius: 5px;
	padding: 7.5px 15px;
	font-weight: bold;
	box-shadow: var(--box-shadow-light);
	transition: all 300ms ease;
}
.btn-secondary:hover{
	background-color: var(--secondary);
	color: var(--light);
	box-shadow: var(--box-shadow-dark);
}
.link-global{
	color: var(--primary);
	cursor: pointer;
	transition: all 300ms ease;
}
.link-global:hover{
	color: var(--secondary);
	text-decoration: underline;
}
.hover:hover{
	background-color: var(--hover) !important;
	color:var(--light) !important;
}.hover:hover > p{
	color:var(--light) !important;
}
.hover-red {
	background-color: var(--cuaternary) !important;
	color:var(--secondary) !important;
}
.hover-red:hover{
	background-color: var(--red) !important;
	color:var(--light) !important;
}*/
/**
 * Menú configuración de la app, perfil...
 **/
header .dropdown{
	right: 0px;
	position: fixed;
	left: calc(100% - 250px);
	max-height: calc(100% - 40px);
	background-color: var(--tertiary);
	color: var(--secondary);
	top: 42.5px;
}
header .info-header { 
	display: flex;
	align-items: center;
	justify-content: center;
}
header .user-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

header .user-tools > button {
	flex:1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
} 

header .user-tools > button:hover{
	color:var(--white);
	background-color: var(--primary);
}
header .dropdown > li > button:hover {
	background-color: var(--primary);
	color:var(--light);

}

/***
WINDOWS MODAL
***/
div#windows{
    z-index:998;
	position:unset;
}
div#windows > .container{
	z-index: 3;
	position:absolute;
	min-height:50%;
	/*border: 1px solid rgba(0,0,0,0.3);*/
	overflow: unset !important;
}
div#windows > .container,
div#windows > .container > .body{
	display:-ms-flex;
	display:flex;
	-ms-flex-direction:column;
	flex-direction:column;
	border-radius: 10px;
}
div#windows > .container > .body{
	flex:1;
    /*font-size: 18px;*/
    overflow-y: auto;
    overflow-x: hidden;
	border-radius: 0px 0px var(--radius) var(--radius);
}
div#windows > .container > .header{
    display:flex;
	align-items: stretch;
    overflow: hidden;
	/*border-bottom: 1px solid var(--gray-300);*/
	padding:0.5rem;
	box-shadow: 0 4px 2px -2px rgba(0,0,0,0.3);
	z-index:4;
	border-radius: var(--radius) var(--radius) 0px 0px;
	background-color: var(--light-secondary);
	color:var(--black-lam);
}
div#windows > .container > .header > .info{
	font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    color:currentColor;
	flex:1;
	display:-ms-flex;
    display: flex;
    justify-content:start;
    align-items: center;
    text-align: left;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	cursor: move;
	padding:0 0.5rem;
}
div#windows > .container > .header > .info > p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
div#windows > .container > .header > .info > p > span{
	display: block;
	font-size: 12px;
	font-weight: 400;
}
div#windows > .container > .header > .windows-actions{
	display:flex;
	gap: 0.25rem;
}
div#windows > .container > .body{
	background-color: var(--light);
}
