@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

html {
	scroll-behavior: smooth;
}

@media screen and (min-width: 1023px) {
	.menu-content {
		grid-template-columns: 15rem 1fr;
		display: grid;
	}
}

@media screen and (max-width: 1024px) {
	.menu-content {
	    border-top: none;
	    overflow: hidden;
	}
}


/* Header or title font */

.has-font-family-header {
	font-family: 'Lato', serif;
}

.react-entry {
    overflow-x: hidden;
    width: 100%;
}

.button.is-brown {
	background-color: #bd6237;
}
.button.is-brown.is-hovered, .button.is-brown:hover {
	background-color: #b15b32;
}

.button.is-warning {
	background-color: #ffa535;
}
.button.is-warning.is-hovered, .button.is-warning:hover {
	background-color: #ed9930;
}

/* progress bar slow transition */

.progress::-webkit-progress-value {
	transition: width 0.5s ease;
}

/* header image below navbar */
.header {
	background-image: url(/static/img/header_abstract2.jpg);
	min-width: 100%;
    height: 130px;
    background-size: cover;
    margin-bottom: 0 !important;
}


.header-big {
    background: linear-gradient(270deg, #2278b2, #ce7723, #ca3e3e);
    background-size: 600% 600%;
	
    -webkit-animation: AnimationName 20s ease infinite;
    -moz-animation: AnimationName 20s ease infinite;
    animation: AnimationName 20s ease infinite;
	}
.gestor-animated {
	font-size: 20rem;
	background: linear-gradient(270deg, #e5c3e0, #b5dbae, #dfbaba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 600% 600%;
    animation: textShine 20s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}
@keyframes AnimationName {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}

@keyframes textShine {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}

.header-title {
	font-size: 3rem;
}

.header-logo {
	max-height: 120px;
}

/* center html tables */

.is-content-centered {
	margin-left: auto;
    margin-right: auto;
}

/* dash table queda por encima de algunos elementos */
.is-background {
	position: relative;
	z-index: 0;
}

body { overflow-x:hidden; }

/* en reporting, la ultima row de la tabla es una tabla, y no tiene borde */

.table tbody tr:last-child td, .table tbody tr:last-child th {
	border-bottom-width: 1px;
}

.content table tbody tr:last-child td, .content table tbody tr:last-child th {
	border-bottom-width: 1px;
}

/* segundo menú */

@media screen and (max-width: 1024px) {
	.is-fixed-top-submenu {
		/* position: sticky; */
		/* top: 52px; */
		left: 0;
		right: 0;
		z-index: 1;
	}
}

@media screen and (min-width: 1023px) {
	.is-fixed-top-submenu {
		position: sticky;
		top: 0px;
		left: 0;
		right: 0;
		z-index: 1;
	}
}

.is-top-submenu-dark {
	background-color: #e5e5e5 !important;
}

.is-content-centered {
	margin-left: auto;
	margin-right: auto;
}

/* row hover on dash_table */

.table-hover table.cell-table tr:hover td.dash-cell {
    background-color: rgb(233, 233, 233) !important;
}

/* modal */

.modal-open {
overflow: hidden;
}

.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}

.modal {
position: fixed;
top: 0;
left: 0;
z-index: 1050;
display: none;
width: 100%;
height: 100%;
overflow: hidden;
outline: 0;
}

.modal-dialog {
position: relative;
width: auto;
margin: 0.5rem;
pointer-events: none;
}

.modal.fade .modal-dialog {
transition: -webkit-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
-webkit-transform: translate(0, -50px);
transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
.modal.fade .modal-dialog {
	transition: none;
}
}

.modal.show .modal-dialog {
-webkit-transform: none;
transform: none;
}

.modal.modal-static .modal-dialog {
-webkit-transform: scale(1.02);
transform: scale(1.02);
}

.modal-dialog-scrollable {
display: -ms-flexbox;
display: flex;
max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
max-height: calc(100vh - 1rem);
overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
-ms-flex-negative: 0;
flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
overflow-y: auto;
}

.modal-dialog-centered {
display: -ms-flexbox;
display: flex;
-ms-flex-align: center;
align-items: center;
min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
display: block;
height: calc(100vh - 1rem);
height: -webkit-min-content;
height: -moz-min-content;
height: min-content;
content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-pack: center;
justify-content: center;
height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
content: none;
}

.modal-content {
position: relative;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
width: 100%;
pointer-events: auto;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 0.3rem;
outline: 0;
}

.modal-backdrop {
position: fixed;
top: 0;
left: 0;
z-index: 1040;
width: 100vw;
height: 100vh;
background-color: #000;
}

.modal-backdrop.fade {
opacity: 0;
}

.modal-backdrop.show {
opacity: 0.5;
}

.modal-header {
display: -ms-flexbox;
display: flex;
-ms-flex-align: start;
align-items: flex-start;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 1rem 1rem;
border-bottom: 1px solid #dee2e6;
border-top-left-radius: calc(0.3rem - 1px);
border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header .close {
padding: 1rem 1rem;
margin: -1rem -1rem -1rem auto;
}

.modal-title {
margin-bottom: 0;
line-height: 1.5;
}

.modal-body {
position: relative;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
padding: 1rem;
}

.modal-footer {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 0.75rem;
border-top: 1px solid #dee2e6;
border-bottom-right-radius: calc(0.3rem - 1px);
border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer > * {
margin: 0.25rem;
}

.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}

@media (min-width: 576px) {
.modal-dialog {
	max-width: 500px;
	margin: 1.75rem auto;
}
.modal-dialog-scrollable {
	max-height: calc(100% - 3.5rem);
}
.modal-dialog-scrollable .modal-content {
	max-height: calc(100vh - 3.5rem);
}
.modal-dialog-centered {
	min-height: calc(100% - 3.5rem);
}
.modal-dialog-centered::before {
	height: calc(100vh - 3.5rem);
	height: -webkit-min-content;
	height: -moz-min-content;
	height: min-content;
}
.modal-sm {
	max-width: 300px;
}
}

@media (min-width: 992px) {
.modal-lg,
.modal-xl {
	max-width: 800px;
}
}

@media (min-width: 1200px) {
.modal-xl {
	max-width: 1140px;
}
}

._dash-loading {
	margin: auto;
	color: transparent;
	width: 0;
	height: 0;
	text-align: center;
}

._dash-loading::after {
	content: '';
	display: inline-block;
	width: 2rem;
	height: 2rem;
	color: black;
	vertical-align: text-bottom;
	border: 0.25em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	-webkit-animation: spinner-border 0.75s linear infinite;
	animation: spinner-border 0.75s linear infinite;
	margin-top: 2rem;
}


.mermaid .label {
	font-size: inherit;
	font-weight: inherit;
}

/* copy paste from dash_mantine_docs */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

input:invalid {
    outline: none !important;
}

#wrapper {
    margin-left: 260px;
    /* margin-right: 320px; */
}

@media only screen and (max-width: 1500px) {
    #toc-navbar {
        display: none;
    }

    #wrapper {
        margin-right: 0;
    }
}

@media only screen and (max-width: 1200px) {
    #components-navbar {
        display: none;
    }

    #wrapper {
        margin-left: 0;
    }
}

.demo-container {
    display: flex;
    max-width: 100%;
    overflow: hidden;
}

.demo-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
}

.demo-controls {
    width: 250px;
    padding: 20px;
    gap: 10px;
}

.demo-control {
    margin: 10px;
}

@media only screen and (max-width: 750px) {
    .demo-container {
        flex-direction: column;
    }

    .demo-controls {
        width: 100%;
    }
}

.dmc-bar {
    background-image: linear-gradient(to right, yellow, orange);
}

.dmc-thumb {
    border-color: orange;
    height: 20px;
    width: 20px;
    background-color: white;
}


/* dasb building block */

.nav-list-items {
    padding: 1rem;
    list-style: none;
}

.sec-nav-list-items {
    padding: 0.75rem;
    list-style: none;
    cursor: pointer;
}

.nav-list-items:hover, .sec-nav-list-items:hover {
    background-color: rgb(215, 215, 215);
    color: #e6e6e6;
}

.mantine-Navbar-root a:-webkit-any-link {
    text-decoration: none;
    color: #495057;
}

#main-header-orange {
	background: rgb(253,156,29);
	background: linear-gradient(90deg, rgba(253,156,29,1) 50%, rgba(252,108,69,1) 100%);
}
#main-header-blue {
	/* background: rgb(92,129,245);
	background: linear-gradient(90deg, rgba(92,129,245,1) 50%, rgba(55,160,246,1) 100%); */
	background: rgb(49,125,207);
	background: linear-gradient(90deg, rgba(49,125,207,1) 50%, rgba(66,176,203,1) 100%);
}
#main-header-pink {
	background: rgb(255,130,84);
	background: linear-gradient(90deg, rgba(255,130,84,1) 50%, rgba(242,109,125,1) 100%);
}
#main-header-green {
	background: rgb(81,200,156);
	background: linear-gradient(90deg, rgba(81,200,156,1) 50%, rgba(132,209,93,1) 100%);
}
#main-header-gray {
	background: rgb(158,167,177);
	background: linear-gradient(90deg, rgba(158,167,177,1) 50%, rgba(185,194,204,1) 100%);
}
#main-header-purple {
	background: rgb(203,103,191);
	background: linear-gradient(90deg, rgba(203,103,191,1) 50%, rgba(166,113,231,1) 100%);
}
#main-header-red {
	background: rgb(255,113,45);
	background: linear-gradient(90deg, rgba(255,123,48,1) 50%, rgba(255,112,47,1) 100%);
}
#main-header-dark {
	background: rgb(101,69,211);
	background: linear-gradient(90deg, rgba(101,69,211,1) 0%, rgba(251,75,75,1) 76%, rgba(255,201,125,1) 100%);
}
/* #main-header-dark {
	background: rgb(211,211,211);
	background: linear-gradient(90deg, rgba(211,211,211,1) 50%, rgba(169,169,169,1) 100%);
} */

.page-break { display: none; }

.header-sticky {
	position: sticky;
	top: 0;
	background-color: white;
	z-index: 1;

	transition: box-shadow 150ms ease;

	::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		border-bottom: rem(1px) solid rgb(128, 128, 128);
	}
}

@media print {

	@page {
		size: letter portrait;
		margin-top: 5mm;
		margin-bottom: 5mm;
		margin-left: 0;
		margin-right: 0;
	}

	body * {
		visibility: hidden;
		margin:0;
		padding:0;
	}

	.page-break {
		display: block;
		page-break-before: always;
	}

	.print, .print * { 
		visibility: visible;
	}
	#wrapper {
		margin: 0;
		padding: 0;
		font-size: 0px;
	}
	.no-print {
		display: none;
	}
	.hide-print {
		padding: 0 !important;
		margin: 0 !important;
	}
	.stack {
		gap: 0 !important;
	}

	::-webkit-scrollbar {
		display: none;
	}

	.page-break-inside {
		page-break-inside: avoid;
	}

	.mantine-Paper-root {
		border: 0 !important;
	}
	.dash-table-container, .dash-table-container * {
		font-size: 11px !important;
	}
}