/* Color theme. */
:root {
	--themeColor: #1c4b82;
	--themeColorTransparency1: #1c4b8280;
	--themeColorTransparency2: #1c4b8220;
	--themeColorTransparency3: #1c4b8210;
}

/* HTML elements */
h1 {
	background-color: var(--themeColorTransparency2);
	font-size: x-large;
	font-weight: bold;
	text-align: center;
}

h2 {
	background-color: var(--themeColorTransparency3);
	font-size: large;
	text-align: center;
}
pre {
	white-space: pre-wrap;
}

button {
	background-color: var(--themeColorTransparency1);
	border-color: var(--themeColor);
	border-radius: 8px;
	border-style: solid;
	border-width: 2px;
	color: white;
	cursor: pointer;
	display: inline-block;
	font-size: large;
	letter-spacing: 2px;
	margin-bottom: 16px;
	margin-left: 0px;
	margin-right: 16px;
	margin-top: 16px;
	overflow: hidden;
	padding: 8px 16px;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	white-space: nowrap;
}

button.secondary {
	background-color: var(--themeColorTransparency3);
	border-color: var(--themeColorTransparency1);
	color: black;
}

button:hover,
button:focus {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Elements on the main page that are identified by ID. */
#indexNotification {
	padding: 8px;
	position: fixed;
	top: 0px;
	width: 100%;
}

#indexBanner {
	background-color: var(--themeColor);
	z-index: 4;
}

#indexMenuButton {
	background-color: white;
	margin-top: 2px;
	margin-right: 2px;
	margin-bottom: 2px;
}

#indexTitleText {
	color: white;
	font-weight: bold;
}

#indexBanner2ndRow {
	color: white;
}

#indexSectionName {
	font-size: large;
	font-weight: bold;
	color: var(--themeColor);
}
#indexPageName {
	font-weight: bold;
	color: var(--themeColor);
}
#SysLogin_formLogin {
	align-self: auto;
	margin-top: 64px;
}

#indexPictureFullScreen {
	cursor: pointer;
	z-index: 10;
}

#indexPictureFullScreen img {
	height: 100%;
}

#indexPleaseWait {
	cursor: wait;
	z-index: 10;
	opacity: 10%;
}

#indexPleaseWait i {
	font-size: 8em;
}

#indexExamplePhoto {
	background-color: black;
	bottom: 0;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 2;
}

/* Main elements that are identified as classes. */
.w3-modal {
	background-color: transparent;
}

.w3-modal-content {
	border: var(--themeColor) solid 2px;
	border-radius: 16px;
	box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

.d-backgroundOnHover:hover {
	background-color: var(--themeColorTransparency1);
	color: white;
}

/* Forms. */

form {
	background-color: var(--themeColorTransparency3);
	padding: 1em;
}

.fa-asterisk {
	color: red;
	font-size: 0.5em;
	vertical-align: super;
}

.dwisFormField {
	margin-bottom: 2em;
}

input {
	border: 1px solid #cccccc !important;
	padding: 8px;
	width: 100%;
}

input[type='date'],
input[type='datetime-local'],
input[type='number'] {
	max-width: 320px;
}

input[type='radio'] + label {
	margin-right: 1em;
}

input :focus {
	border: 2px solid var(--themeColor) !important;
}

.dwisNotification {
	padding: 16px;
	font-weight: bold;
}

.dwisNotificationTypeInfo {
	background-color: lightblue;
}
.dwisNotificationTypeSuccess {
	background-color: lightgreen;
}
.dwisNotificationTypeWarning {
	background-color: lightyellow;
}
.dwisNotificationTypeError {
	background-color: lightpink;
}

/* Style for elements only when the medium is the printer. */
@media print {
	html,
	body {
		margin-top: 0;
		margin-left: 0;
		padding: 0;
	}

	body {
		font-size: 0.6em;
	}

	.pageBreak {
		page-break-before: always;
	}

	/* Lo que no se debe imprimir */
	header,
	.w3-modal-content,
	#indexBanner,
	.noPrint {
		display: none;
	}
}

/* Style for elements only when the medium is the screen.. */
@media screen {
	/* Lo que no se debe ver en pantalla */
	.soloPrint {
		display: none;
	}
}
