/* Typography */
@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto/Roboto-Regular.eot');
	src: url('../fonts/Roboto/Roboto-Regular.eot?#iefix')
		format('embedded-opentype'),
		url('../fonts/Roboto/Roboto-Regular.woff') format('woff'),
		url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype'),
		url('../fonts/Roboto/Roboto-Regular.svg#RobotoRegular') format('svg');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Bold';
	src: url('../fonts/Roboto/Roboto-Bold.eot');
	src: url('../fonts/Roboto/Roboto-Bold.eot?#iefix')
		format('embedded-opentype'), url('../fonts/Roboto/Roboto-Bold.woff')
		format('woff'), url('../fonts/Roboto/Roboto-Bold.ttf')
		format('truetype'), url('../fonts/Roboto/Roboto-Bold.svg#RobotoBold')
		format('svg');
	font-weight: 700;
	font-style: normal;
}

.icon-2x {
	font-size: 2rem;
}

.icon-3x {
	font-size: 3rem;
}

.icon-4x {
	font-size: 4rem;
}

.icon-5x {
	font-size: 5rem;
}

.icon-10x {
	font-size: 10rem;
}

/* General */
body {
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

body>div.container {
	flex: 1;
}

body>div.container-fluid {
	flex: 1;
	width: 90%;
}

a, a:hover {
	color: #000;
}

::placeholder {
	font-style: italic;
}

.p-relative {
	position: relative;
}

.d-flex {
	display: flex;
}

.text-center {
	text-align: center;
}

.align-center, .align-end, .justify-end {
	display: flex;
}

.align-end {
	align-items: end;
}

.align-center {
	align-items: center;
}

.justify-end {
	justify-content: flex-end;
}

.p-0 {
	padding: 0 !important;
}

.my-0 {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}

.chk-col label {
	margin-bottom: 0;
}

/* Layout: header */
header {
	width: 100%;
	height: 114px;
	background-image: url(../img/header-left.png),
		url(../img/header-right.png),
		url(/opencms/opencms/sede/resources/images/fondo.jpg);
	background-repeat: no-repeat, no-repeat;
	background-position: left, right, top center;
	display: flex;
	justify-content: flex-end;
	border-bottom: 1px solid #cfd8dc;
}

.logo-ayto {
	position: absolute;
	top: 10px;
	z-index: 10;
	width: 370px;
	height: 75px;
	text-align: right;
}

.loggin {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex-direction: column;
	margin-right: 30px;
}

.loggin .btn-rounded, .loggin .btn-rounded:hover {
	border-radius: 12px;
	border: 0px;
	color: #fff !important;
	padding: 1px 20px;
	font-size: 1.5rem;
}

.btn-default {
	padding: 0.5rem 3rem;
	color: #fff;
	margin-left: 1rem;
	border-radius: 4px;
	background-color: #005b90;
	border: 1px solid #005b90;
	margin-bottom: 1rem;
}

.btn-default:hover {
	border: 1px solid #000000;
	color: #000000 !important;
	background-color: #fff !important;
}

.loggin .btn-rounded:hover {
	border: 1px solid #000000;
	color: #000000 !important;
	background-color: #fff !important;
}

.user-logout {
	margin-bottom: 0;
	font-weight: bold;
}

.timedate>span {
	font-size: 2rem;
}

/* Layout: breadcrumb */
.breadcrumb {
	background-color: transparent;
	padding-left: 0.5rem;
}

.breadcrumb>span {
	margin: 0 0.5rem;
}

/* Layout: nav links */
.bg-nav  {
	background-color: #eee;
}

ul.header-menu {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-left: 0;
}

ul.header-menu li {
	list-style-type: none;
}

.header-menu a {
	color: #000;
	font-size: 2.5rem;
	font-weight: 500;
}

/* Layout: content */
.content-margin {
	margin: 1rem 10rem 0rem 10rem;
}

.content-margin>aside, .content-margin>section {
	padding: 1.5rem 3.5rem;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 3rem;
}

h2 {
	font-size: 2rem;
}

/* Content blocks: search block */
.search-block, .procedures-block {
	margin-bottom: 3rem;
}

.block-links li {
	margin: 2rem 0;
	list-style-type: disclosure-closed;
}

.search-input {
	width: 100%;
	border-radius: 4px;
	padding: 0.8rem;
	border: 1px solid #cfd8dc;
}

.icon-search {
	background-color: transparent;
	font-size: 2rem;
	width: 20px;
	height: 20px;
	border: 0px;
	position: absolute;
	top: 10px;
	right: 15px;
}

.search-all-link {
	display: flex;
	justify-content: flex-end;
	margin: 1rem 0 0 0;
}

/* Content blocks: procedures slide */
.procedures-slide, .procedures-slide-title, .simple-slide {
	display: flex;
	align-items: center;
}

.procedures-slide-title>span, .simple-slide-title {
	margin-right: 2rem;
}

.procedures-slide, .simple-slide {
	align-items: baseline;
	padding: 0 2rem 1rem 2rem;
	border-bottom: 1px solid #cfd8dc;
}

.simple-slide {
	padding: 0;
}

.procedures-slide-title, .procedure-name, .simple-slide-title {
	flex: 1;
}

.icon-arrow-down.turned {
	transform: rotate(180deg);
}

.icon-arrow-down {
	transform: rotate(0deg);
}

.slide-arrow:hover, .slide-arrow:focus {
	text-decoration: none;
}

/* Content blocks: procedures table */
.procedure-table {
	margin-top: 3rem;
	border-collapse: separate;
	width: 100%;
}

.procedure-table th {
	padding-bottom: 1.5rem;
}

.procedure-table td, .procedure-table th {
	text-align: center;
}

.procedure-table td:first-child, .procedure-table th:first-child {
	text-align: left;
	/*width: 85%;*/
}

.procedure-table td>div {
	border: 1px solid #cfd8dc;
	margin-bottom: 1rem;
	border-radius: 4px 4px 0px 0px;
	padding: 1rem 0rem 1rem 2rem;
	display: flex;
	align-items: center;
}

.bg-orange, .state-orange{
	background-color: #f0ad4e;
}

.bg-green, .state-green{
	background-color: #235730;
}

.bg-red, .state-red{
	background-color: #6c2425;
}

.procedure-table td > div.state-green{
	border: 1px solid #235730;
}

.procedure-table td > div.state-orange{
	border: 1px solid #f0ad4e;
}

.procedure-table td > div.state-red{
	border: 1px solid #6c2425;
}

.procedure-name {
	flex: 1;
}

.proc-table-icon {
	text-align: center;
}

.proc-table-icon span {
    margin: 10px;
}

.proc-table-icon>a:hover, .proc-table-icon>a:focus {
	text-decoration: none;
}

.notify-table {
	padding: 0px !important;
	margin: 0px !important;
}

.notify-title {
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 5px;
	margin-left: 10px;
}

.notify-state {
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 5px;
}

.notify-header, .notify-row .proc-table-icon span {
	color: #fff;
}

.notify-row, .notify-content-red {
	margin-bottom: 0 !important;
}

.notify-row-content {
	border-top: 0 !important;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start !important;
}

.notify-row-content>.row, .notify-row-footer>.row {
	width: 100%;
}

.notify-label {
	font-size: 1.4rem;
	margin-top: 15px;
	margin-bottom: 5px;
    font-weight: 700;
}

.state-pending .state-green, .state-red {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.notify-row-footer {
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.notify-content-red {
	border-radius: 0px !important;
	border-bottom: 0px !important;
}

/* Content blocks: forms */
.slide-wrapper {
	padding: 2rem 0;
}

.form {
	padding: 0.9rem 2rem;
}

.form-row, .row-end {
	padding: 0.5rem 2rem;
	display: flex;
	/*justify-content: space-around;*/
}

.row-end {
	margin: 2rem 0;
	padding: 0;
	justify-content: flex-end;
}

.col {
	display: flex;
	flex-direction: column;
}

.form-input, .form-select {
	padding: 0.5rem;
	border: 1px solid #cfd8dc;
	border-radius: 4px;
	padding-left: 1rem;
}

.form-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none; /* Remove default arrow */
	background-image: url(../img/down-arrow.svg); /* Add custom arrow */
	background-repeat: no-repeat;
	background-size: 1rem;
	background-position: right 10px center;
	width: 100%;
}

.form-input[disabled], .form-select[disabled] {
	background-color: #ECEFF1;
}

.btn-i {
	background-color: transparent;
	border: 0;
}

.btn-icon {
	background-color: transparent;
	border: 0;
	margin-left: 1rem;
    margin-right: 1rem;
}

.btn-primary {
	padding: 0.5rem 3rem;
	color: #fff;
	margin-left: 1rem;
	border-radius: 4px;
}

.btn-primary:hover {
	background-color: #fff;
}

/* Content blocks: tabs */
.tab-row {
	margin-top: 3rem;
}

.tab-content {
	margin-bottom: 3rem;
}

.tab-row li.active a {
	color: #fff;
}

.nav-tabs>li>a {
	font-size: 1.5rem;
	cursor: pointer;
}

.tab-content {
	padding: 2rem 0;
}

/* Content blocks: theme table */
.theme-table th {
	border-bottom: 0 !important;
	color: #fff;
}

.theme-table td {
	border-top: 0;
	border-bottom: 1px solid #cfd8dc;
}

.theme-table tr:nth-child(2) {
	background-color: #ECEFF1;
}

.theme-table tr:hover {
	background-color: #FFE082;
	cursor: pointer;
}


/* Content blocks: validate block */
.danger-block {
	border-radius: 4px;
	padding: 1rem 2rem;
	margin: 0.5rem 1rem;
	background-color: #f2dede;
	border: 1px solid #f2dede;
}

/* Content blocks: validate block */
.validate-block {
	border-radius: 4px;
	padding: 1rem 2rem;
	margin: 1.5rem 0;
	background-color: #ECEFF1;
	border: 1px solid #cfd8dc;
}

/* Content blocks: services block */
.services-grid, .interest-links-grid, .lines-grid {
	display: flex;
	flex-flow: wrap;
}

.service-block {
	text-align: center;
}

.service-box {
	border: 1px solid #cfd8dc;
	border-radius: 4px;
	padding: 2rem;
	margin-bottom: 1rem;
}

.service-block>a {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.service-block>a:hover, .service-block>a:focus {
	text-decoration: none;
}

.service-block>a:hover .service-box+span, .service-block>a:focus .service-box+span
	{
	text-decoration: underline;
}

/* Content blocks: gen message block & proc message block */
.message-row {
	display: flex;
	margin-bottom: 1rem;
}

.message-row span {
	margin-right: 1rem;
}

.message-row p {
	    margin: 0 0 0px;
}

.separator-gen-messages, .separator-proc-messages {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.more-line {
	height: 1px;
	flex: 1;
	margin-right: 1rem;
	background-color: #cfd8dc;
}

.more-link :first-child {
	margin-right: 0.5rem;
}

.hidden-gen-messages, .hidden-proc-messages {
	display: none;
}

.opened .gen-messages-arrow, .opened .proc-messages-arrow {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
	display: inline-flex;
}

.separator-gen-messages:hover, .separator-proc-messages:hover,
	.separator-gen-messages:focus, .separator-proc-messages:focus {
	text-decoration: none;
}

/* Content blocks: banners block */
.banners-block {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	padding-top: 2.5rem;
	padding-bottom: 0;
}

.banner-icon {
	color: #856404 !important;
}

.banner-notes, .banner-portal {
	margin: 0.5rem 0;
	padding: 1rem 2rem;
	display: flex;
	border: 0;
	border-radius: 4px;
	align-items: center;
	justify-content: space-between;
	color: #856404 !important;
	background-color: #fff3cd !important;
}

.banner-portal {
	padding: 1.5rem 2rem;
}

.banner-notes .text, .banner-portal .text {
	border-left: 3px solid #856404;
	padding-left: 10px;
	font-weight: 600;
	text-align: left;
}

/* Layout: Interest links */
.interest-links {
	background-color: #eee;
	border-radius: 4px;
}

.interest-links h1 {
	margin-top: 0;
}

.interest-links h1, .interest-links-grid a {
	color: #000;
	margin-bottom: 0;
}

.interest-links h1, .interest-links-grid {
	padding: 2rem;
}

.interest-links-grid {
	padding-top: 0;
	padding-left: 5.5rem;
	padding-right: 5.5rem;
}

.interest-links-section {
	padding-top: 0 !important;
}

.icon-link {
	font-size: 2rem;
	transform: rotate(270deg);
	display: inline-flex;
}

/* Layout: Footer */
.footer-centered {
	padding: 1.5rem 3.5rem;
	padding-top: 0;
	text-align: center;
}

.footer-centered>span {
	margin: 0 1rem;
}

.footer-line {
	border-top: 1px solid #cfd8dc;
	padding-top: 1rem;
}

/* CUSTOMIZE INPUT CHECKBOX */

/* Customize the label (the container) */
.label-chk {
	display: block;
	position: relative;
	padding-left: 2.5rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default checkbox */
.label-chk input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 18px;
	width: 18px;
	background-color: #fff;
	border: 1px solid #cfd8dc;
	border-radius: 2px;
}

/* On mouse-over, add a grey background color */
.label-chk:hover input ~ .checkmark {
	background-color: #fff;
}

/* When the checkbox is checked, add a blue background */
.label-chk input:checked ~ .checkmark {
	background-color: #fff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.label-chk input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.label-chk .checkmark:after {
	left: 5px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid black;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* Responsive */
@media ( max-width : 1366px) {
	.content-margin {
		margin: 1rem 1rem 0rem 1rem;
	}
}

@media ( max-width : 1200px) {
	header {
		width: 100%;
		height: 114px;
		background-image: none;
		background-repeat: no-repeat;
		background-position: 25px;
		display: flex;
		justify-content: flex-end;
		border-bottom: 1px solid #cfd8dc;
	}
}

@media ( max-width : 768px) {
	header {
		width: 100%;
		height: 200px;
		background-image: none;
		background-repeat: no-repeat;
		background-position: top center;
		display: flex;
		justify-content: flex-start;
		border-bottom: 1px solid #cfd8dc;
	}
	.loggin {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		flex-direction: column;
		margin-left: 0;
		margin-top: 80px;
		width: 100%;
		margin-right: 0;
		border-top: 1px solid #cfd8dc;
		padding: 0 15px;
	}
	.content-margin {
		margin: 1rem 1rem 0rem 1rem;
	}
	.form-row, .row-end {
		display: block;
	}
	.col {
		margin-bottom: 1rem;
	}
	.footer-centered a {
		width: 100%;
		display: block;
	}
	.footer-centered span {
		display: none;
	}
}

@media ( max-width : 500px) {
	.header-menu a, h1 {
		font-size: 2rem;
	}
}

footer {
	margin-left: 15px;
	margin-right: 15px;
}

a:link, a:active, a:visited, a:hover {
	text-decoration: none;
}

/* Theme Colors: */
.color-1 {
	color: #005b90 !important;
}

.color-3 {
	color: #235730 !important;
}

.color-bg-3 {
	background-color: #235730 !important;
}

.color-4 {
	color: #856404 !important;
}

.color-bg-4 {
	background-color: #fff3cd !important;
}

.icono-servicio {
	font-size: 50px;
}

.alert {
	top: 90px;
	right: 50%;
	padding: 5px;
	font-weight: 800;
	font-style: italic;
}

.content{
	text-align: justify;
}

/*********** Google Translator Bar *************/

.goog-te-banner-frame.skiptranslate {
	display: none !important;
}
.goog-te-gadget-simple img {
	visibility: hidden;
	width: 0px;
}

a.goog-te-menu-value, a.goog-te-menu-value:link, a.goog-te-menu-value:active, a.goog-te-menu-value:visited, a.goog-te-menu-value:hover{
	color: #000 !important; 	
}

.goog-te-menu-value img, img.goog-te-gadget-icon, img.goog-te-gadget-simple{
	width: 0px !important;
	height: auto !important;
}

.margin10 {
	margin: 10px;
}

.selection-row {
	background: #F5F5F5;
}