

/********************** Colores **********************/

#toast-container > div{opacity: 1 !important;}

.toast {
	background-color:#303030;
}
.toast-success {
	background-color:#303030 !important;
	border-left: 10px solid #51A351;
}
.toast-error {
	background-color:#303030 !important;
	border-left: 10px solid #BD362F;
}
.toast-info {
	background-color:#303030 !important;
	border-left: 10px solid #2F96B4;
}
.toast-warning {
	background-color:#303030 !important;
	border-left: 10px solid #F89406;
}


.bg-orange, .state-orange{
	background-color: var(--colorBg);
}

.bg-green, .state-green{
	background-color: var(--colorBg);
}

.bg-red, .state-red{
	background-color: var(--colorBg);
}

.procedure-table td > div.state-green{
	border-bottom: 5px solid #5eaa2a !important;
	padding: 5px 10px 5px;
}

.procedure-table td > div.state-orange{
	border-bottom: 5px solid #f0ad4e !important;
	padding: 5px 10px 5px;
}

.procedure-table td > div.state-red{
	border-bottom: 5px solid #e72929 !important;
	padding: 5px 10px 5px;
}


html{
	scroll-behavior: smooth;
}

/********************** Encabezados **********************/

h1{
	font-family: var(--fontFamily2);
	font-weight: 500; /* bold -> medium */
	font-size: 28px;
	margin-bottom: 3rem;
}

h2{
	font-family: var(--fontFamily1);
	font-weight: 700; /* bold */
	font-size: 22px;
	border-bottom: 1px solid var(--colorLines);
}

h3{
	font-family: var(--fontFamily1);
	font-weight: 700; /* bold */
	font-size: 20px;
}

h4{
	font-family: var(--fontFamily1);
	font-weight: 500; /* medium */
	font-size: 18px;
}

h5{
	font-family: var(--fontFamily1);
	font-weight: 500; /* medium */
	font-size: 16px;
}

.tramites h1{
	font-family: var(--fontFamily1);
	font-weight: 700; /* bold */
	font-size: 22px;
	border-bottom: 1px solid var(--colorLines);
}

.tramites h2{
	font-family: var(--fontFamily1);
	font-weight: 700; /* bold */
	font-size: 20px;
}

.tramites h2.big-h2{
	font-family: var(--fontFamily1);
	font-weight: 700; /* bold */
	font-size: 22px;
	border-bottom: 1px solid var(--colorLines);
}

.tramites h3{
	font-family: var(--fontFamily1);
	font-weight: 500; /* medium */
	font-size: 18px;
}

.tramites h4{
	font-family: var(--fontFamily1);
	font-weight: 500; /* medium */
	font-size: 16px;
}

body, p, li, .displaytag td{
	font-family: var(--fontFamily1);
	font-weight: 400; /* regular */
	font-size: 14px;
	color: var(--textColor);
}

/********************** Componentes **********************/

/* Enlaces */

a:link, a:active, a:visited {
	color: var(--mainColorLight);
	text-decoration: none;
}

a:hover {
	color: var(--mainColorDark);
	text-decoration: underline;
}


/**********************  **********************/

.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: var(--fontFamily1);
	font-size: 14px;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

body>div.container {
	flex: 1;
}

@media (max-width: 767px) { .container{ width: 100%; } }

::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;
}

.loggin .btn-rounded:hover {
	border: 1px solid #000000;
	color: #000000 !important;
	background-color: #fff !important;
}

.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-title {
	margin-bottom: 1rem;
}

.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;
}

input.filtro-tramites{
	padding-right: 40px;
}

.filtro-tramites-icon{
	position: absolute;
	right: 30px;
	top: 9px;
	color: var(--mainColor);
}

.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: 0;
	border-collapse: separate;
	width: 100%;
	/*border-top: 1px solid var(--colorLines);*/
}

.procedure-table th {
	padding-bottom: 0;
}

.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, .procedure-table th > div {
	border-bottom: 1px solid var(--colorLines);
	margin: 0;
	padding: 2rem 0rem;
	display: flex;
	align-items: center;
    gap: 1rem;
}

.even_row {
	padding: 5px;
	background-color: var(--colorBg);
}

.procedure-table th > div {
	padding-bottom: 1rem;
}

.procedure-table .procedure-action{
	text-align: center;
}

.procedure-table .procedure-action.action1{
	width: 100px;
}

.procedure-table .procedure-action.action2{
	width: 70px;
}

@media (max-width: 767px) {
	.procedure-table th{display: none;}
	.procedure-table td > div, .procedure-table th > div { gap: 2rem; }
	.procedure-table .procedure-action.action1, .procedure-table .procedure-action.action2{ width: 40px; }
}

.procedure-table .tr-title{
    margin: 0;
    font-weight: bold;
    color: var(--mainColor);
}

.procedure-table .tr-description{
    margin: 0;
}

.procedure-table .icon-table{
    margin: 0;
    color: var(--mainColor) !important;
    font-size: 3rem;
}

.procedure-table .icon-table:hover {
    color: var(--mainColorDark) !important;
}

.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: var(--textColor);
}

.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;*/
}

.preferencies-form{
	display: flex;
	flex-wrap: wrap;
}

.row-end {
	margin: 2rem 0;
	padding: 0;
	justify-content: flex-end;
}

.col {
	display: flex;
	flex-direction: column;
}

/* 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;
}

.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;
	}
}



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;
}

.procedure-table .selection-row {
	background: transparent;
}


/********************** Container Oficina **********************/
/*
body>div.container-fluid {
	flex: 1;
	width: 90%;
}
*/

.firstbar .container-fluid, .navbar .container-fluid, body>div.container-fluid {
	width: 100%;
	padding-right: 30px;
	padding-left: 30px;
}
@media (max-width: 767px) { body .container-fluid{ width: 100% !important; } }


/********************** Cabecera y menu **********************/

/* FIRSTBAR */
.firstbar{
	background: var(--textColor);
	color: white;
}
.firstbar.rep{
	background: #5b5b5b;
}
.firstbar a:link, .firstbar a:visited, .firstbar button{
	color: white;
	padding: 5px 20px;
}
.firstbar a:hover, .firstbar button:hover{
	background-color: #525252;
	color: white !important;
	text-decoration: none !important;
}
.firstbar .container, .firstbar .container-fluid{
	display: flex;
	align-items: center;
}
.firstbar.rep .container, .firstbar.rep .container-fluid{
	justify-content: flex-end;
}
.firstbar .margin{
	flex-grow: 1;
}
.firstbar .accesibility{
	flex-grow: 1;
}
@media (max-width: 767px) { .firstbar .accesibility{ display: none; } .firstbar .margin{ display: none; } }
/*
@media (max-width: 767px) { .firstbar .lang{ display: none; } }
*/
.firstbar button{
	background: transparent;
	border: none;
}
.firstbar .hour{
	padding: 5px 20px;
	background: var(--mainColor);
}
@media (max-width: 767px) { .firstbar .hour{ margin-left: -30px; } }

.firstbar .hour span{
	font-weight: bold;
	margin-right: 8px;
}

.firstbar .user-logout {
	margin-bottom: 0;
	font-weight: bold;
	display: flex;
}

.firstbar .user-logout span{
	padding: 5px 20px;
}

.firstbar .dropdown-menu a, .firstbar .dropdown-menu a:hover{
	color: black  !important;
}

#clock_id{
	display: none !important;
}

.firstbar .user{ 
    display: flex;
	justify-content: flex-end;
}

@media (max-width: 767px) { .firstbar .user{ flex-grow: 1;  text-align: right;  margin-right: -30px; } }

/* NAVBAR */

.navbar {
	background: white;
	margin-bottom: 0;
}

@media (max-width: 991px) { .navbar > .container { width: auto; } }

.navbar-header{
	align-items: center;
}
@media (min-width: 768px) { .navbar-header { display: flex; height: 108px; } }

.navbar-brand {
	height: auto;
	padding: 10px 10px;
	display: flex;
}
.navbar-brand img {
	max-height: 89px;
	max-width: 200px;
	height: 48px;
}
@media (min-width: 768px) { .navbar-brand img { max-width: 250px; height: 58px;} }
@media (min-width: 992px) { .navbar-brand img { max-width: 300px; height: 75px;} }
@media (min-width: 1200px) { .navbar-brand img { max-width: 345px; } }

.navbar-toggle {
    margin-top: 12px;
    border: none;
    transition: all 0.2s;
    color: var(--mainColor);
    font-size: 3rem;
}

.navbar-nav{ }

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
	border-color: var(--mainColor);
}

@media (min-width: 768px) { .navbar-nav { height: 108px; } }

.navbar-item{
	position: initial !important;
}

.navbar-item > a{
	box-sizing: border-box;    
    display: flex;
	transition: all 0.2s;
}
@media (min-width: 768px) { .navbar-item > a{ height: 108px; } }

.navbar-item.open > a {
		background: white !important;
		box-shadow: none !important;

}
@media (min-width: 768px) { 
	.navbar-item.open > a {
		border-bottom: 5px solid var(--mainColorDark);
	}
}

@media (min-width: 768px) { 
	.navbar-top{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100%;
	}
}

.navbar-top i{
	font-size: 2.2rem;
	margin-bottom: 6px;
	color: var(--mainColor);
}
@media (max-width: 767px) { .navbar-top i{ margin: 0 5px 0 8px; } }

.navbar-item a:hover .navbar-top i {
	color: var(--mainColorDark);
}

.navbar-top span{
	font-weight: 700;
	color: var(--textColor);
}

.navbar-item a:hover .navbar-top span {
	color: var(--textColor);
	text-decoration: underline;
}

@media (min-width: 768px) {
	.main-menu .dropdown-menu{
		padding-bottom: 2rem;
		border: none;
		border-top: 1px solid var(--colorLines);
		border-bottom: 5px solid var(--mainColor); 
		border-radius: 0;
		columns: 3;

		margin-top: 0;
		border-top-left-radius: 0;
		border-top-right-radius: 0;
		padding-top: 62px;
	}
}

@media (min-width: 768px) { .main-menu .dropdown-menu { width: 100%; padding-left: calc((100% - 750px)/2);	padding-right: calc((100% - 750px)/2); } }
@media (min-width: 992px) { .main-menu .dropdown-menu { width: 100%; padding-left: calc((100% - 970px)/2);	padding-right: calc((100% - 970px)/2); columns: 4; } }
@media (min-width: 1200px) { .main-menu .dropdown-menu { width: 100%; padding-left: calc((100% - 1170px)/2);	padding-right: calc((100% - 1170px)/2); } }

.submenu-title{
	width: 100%;
	position: absolute;
	top: 14px;
	border-bottom: 1px solid var(--colorLines);
	padding-bottom: 13px;
	font-size: 1.8rem;
	color: var(--mainColor) !important;
	margin: 0 15px;
	font-weight: bold;
	display: none;
}

@media (min-width: 768px) { .submenu-title { width: 750px; display: block; } }
@media (min-width: 992px) { .submenu-title { width: 970px; } }
@media (min-width: 1200px) { .submenu-title { width: 1170px; } }

.submenu-element{
    overflow: hidden;
    text-overflow: ellipsis;
}


.main-menu .dropdown-menu a:hover{
	color: var(--textColor) !important;
	background-color: transparent;
	background-image: none;
	text-decoration: underline;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: var(--textColor);
    border-bottom: 1px solid var(--colorLines);
    padding: 10px 15px 10px 25px;
  }
}

/********************** Enlaces de interés y footer **********************/

.footer-links{
    margin-top: 3rem;
    padding: 2rem 0 3rem 0;
    background-color: var(--textColor);
    color: white;
}

.footer-links .interest-links-grid {
	columns: 3;
	display: block !important;
	margin-bottom: 1rem;
}

@media (max-width: 991px) { .footer-links .interest-links-grid { columns: 2;} }
@media (max-width: 767px) { .footer-links .interest-links-grid { columns: 1;} }

.footer-links a:link, .footer-links a:visited{
    color: white;
	text-decoration: none;
}

.footer-links a:hover{
    color: white !important;
	text-decoration: underline;
}

.footer-links > section > .container > .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
	justify-content: center;
}

.f-title-li {
    font-weight: 800;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: white;
	font-size: 1.9rem;
	float: none;
}

.f-title-li.titleh2 {
	font-size: 2.6rem;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	font-weight: bold;
	font-family: var(--fontFamily2);
}

.footer-links .interest-links-grid a {
	padding-bottom: 6px;
	display: inline-block;
}

.footer-ul {
    padding-left: 0;
    margin-bottom: 2rem;
}

.footer-ul > li {
    list-style-type: none; 
    margin: 1rem 0;
}

.footer-ul > li span img {
  max-width: 20px;
  max-height: 20px;
  margin: 0 6px;
}

footer {
	padding: 3rem 0;
	background-color: #E7E7E7;
	margin: 0;
}

footer a{
    color: var(--textColor);
	text-decoration: none;
}

footer a:hover{
    color: var(--textColor) !important;
	text-decoration: underline;
}

footer > .logo-img {
    max-width: 155px;
    width: 100%;
}

footer > .responsive {
    height: auto;
    max-width: 100%;
}

footer > .container > .row > div:last-child {
	display: flex;
	justify-content: center;
	flex-flow: column wrap;
	align-items: flex-end;
	height: 100%;
}
@media (max-width: 991px) { footer > .container > .row > div:first-child { text-align: center; } }
@media (max-width: 991px) { footer > .container > .row > div:last-child { height: auto; align-items: center; margin-top: 2rem; } }

footer > .container > .row > div:last-child > ul {
    padding-left: 0;
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

footer > .container > .row > div:last-child > ul > li {
    list-style-type: none;
    margin: 0 1.5rem;
}


/*********** Paginación *************/

.unavailable{
    cursor: not-allowed !important;
    border: 1px solid #cccccc !important;
}

.unavailable i{
	color: #cccccc !important;	
} 

.paginationcontainer{
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.activepage{
    color: #ffffff !important;
    font-weight: bold !important;
    background: var(--mainColor) !important;
}

.selectorvalue{
    padding-right: 1em;
    color: var(--textColor);
}

.pageselector{
    background: white;
    padding: 5px 8px;
    border-radius: 4px;
    border: 1px solid var(--colorLinesInput);
}

#table-pagination, 
#table-pagination2{
	display: flex;
}

#table-pagination .pagination, 
#table-pagination2 .pagination{
	display: flex;
	gap: 0.4rem;
}

#table-pagination .pagination a, 
#table-pagination2 .pagination a{
	border-radius: 6px !important;
	border: 1px solid var(--mainColor);
	color: var(--mainColor);
}

#table-pagination .pagination a:hover, 
#table-pagination2 .pagination a:hover{
	background: var(--colorBg);
}

#table-pagination .pagination li:first-child a, #table-pagination .pagination li:last-child a, #table-pagination .pagination a.active, 
#table-pagination2 .pagination li:first-child a, #table-pagination2 .pagination li:last-child a, #table-pagination2 .pagination a.active{
	border-radius: 6px !important;
	border: 1px solid var(--mainColor);
	background: #FFF !important;
	color: var(--mainColor) !important;
	text-transform: uppercase;
}

#table-pagination .pagination li:first-child a:hover, #table-pagination .pagination li:last-child a:hover, #table-pagination .pagination a.active:hover, 
#table-pagination2 .pagination li:first-child a:hover, #table-pagination2 .pagination li:last-child a:hover, #table-pagination2 .pagination a.active:hover{
	background: var(--mainColorDark);
}


.page-elements select{
	background: white;
	padding: 5px 8px;
	border-radius: 4px;
}

.displaytag-banner .btn-big{
    gap: 0;
}

.displaytag-banner > span, .displaytag-banner > a{
    gap: 0;
	margin: 0 3px;
}

.displaytag-banner .btn-big span{
    display: none;
}

.pagebannerr{
	font-weight: bold;
}

.selectorPages {
	margin: 1rem 0;
	clear: both;
}
	

/********************** Detalle trámite **********************/

.tramite-info-general{
	background: var(--colorBg);
	padding: 2rem;
	margin-bottom: 10px;
}

.tramite-info-general label{
	text-align: right;
	width: 100%;
	float: none;
}

@media (max-width: 767px) { .tramite-info-general label{ text-align: left; } }

.tramite-actions{
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.tramite-documents{
	background: var(--colorBg);
	padding: 3rem;
}

.tramite-document{
	display: flex;   
	align-items: center;    
	gap: 1.5rem; 
	border-bottom: 1px solid var(--colorLines);
	margin-bottom: 1rem;
	padding-bottom: 1rem;    
}

.tramite-document:last-child{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;    
}

.tramite-document-icon{
	color: var(--mainColor);
	font-size: 2rem;
}

.tramite-document-info{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.tramite-document-name{
	font-weight: bold;
}

.tramite-document-desc{
	font-weight: normal;
}

.tramite-document-actions{
	font-size: 3rem;
	color: var(--mainColor) !important;
	display: flex;
	gap: 20px;
}

.tramite-document-actions a:link{
	color: var(--mainColor) !important;
	text-decoration: none;
}

.tramite-document-actions a:hover{
	color: var(--mainColorDark) !important;
	text-decoration: none;
}

/********************** Tabla plazos **********************/

ul.tramite-plazos{
	margin-top: 0px;
	padding-left: 0px;
}

ul.tramite-plazos li {
	list-style-type: none;
	padding-bottom: 0.5rem;
}

.btn-preview{
	cursor: pointer;
	color:  var(--mainColor) !important 
}

.btn-preview:hover{
	color: var(--mainColorDark) !important;
}
	

/*********** Asistente *************/

#lateral h2{
	font-weight: bold;
	border-bottom: none;;
}

#lateral #lateralStep{
	font-weight: normal !important;
	font-size: 1.4rem;
	margin-top: -31px;
	padding: 0;
}

#lateral .section{
  color: var(--mainColor);
	padding-top: 15px;
}

#lateral .section i{
  color: var(--textColor);
	margin-right: 3px;
}

#lateral .finished_step{
  margin: 0;
  padding: 15px 0;
	border-top: 1px solid var(--colorLines);
}

#lateral .finished_step a{
  color: var(--mainColor);
}

#lateral .finished_step a:hover{
  text-decoration: underline;
}

#lateral .actual_step{
  color: var(--mainColorDark);
	font-weight: bold;
  margin: 0;
  padding: 15px 0;
	border-top: 1px solid var(--colorLines);
}

#lateral .pending_step{
  color: var(--mainColor);
	padding-left: 0;
  margin: 0;
  padding: 15px 0;
	border-top: 1px solid var(--colorLines);
}

#lateral .wizard-position{
	color: var(--textColor);
}

#contenido_visor .pre-h1{
	color: var(--mainColor);
	font-weight: bold;
	margin: 0;
	padding: 20px 0 0 0;
	font-size: 1.7rem;
}

#contenido_visor h1{
	font-family: var(--fontFamily2);
	margin-top: 5px;
}


/*********** Modal *************/

.oculto{
	display: none;
}

/********************** Botones **********************/

button{
	font-family: var(--fontFamily1);
}

.btn-big{
	font-size: 1.3rem;
	padding: 8px 15px;
	border-radius: 6px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-weight: bold;
	text-transform: uppercase;
	-webkit-box-shadow: none;
	cursor: pointer;
	
	margin: 0 4px;
} 

.btn-main{
	background: var(--mainColor);
	color: white !important;
	border: 1px solid var(--mainColor);
}

.btn-main:hover{
	background: var(--mainColorDark);
	color: white !important;
	border: 1px solid var(--mainColorDark);
}

.btn-other{
	color: var(--mainColor) !important;
	background: white;
	border: 1px solid var(--mainColor);
}

.btn-other:hover{
	color: var(--mainColor) !important;
	background: var(--colorBg);
	border: 1px solid var(--mainColorDark);
}

.btn-default{
	font-size: 1.3rem;
	padding: 8px 15px;
	border-radius: 6px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-weight: bold;
	text-transform: uppercase;
	-webkit-box-shadow: none;
	cursor: pointer;
	
	background: var(--mainColor);
	color: white !important;
	border: 1px solid var(--mainColor);

	margin: 0 4px;
}

.btn-default:hover{
	font-size: 1.3rem;
	padding: 8px 15px;
	border-radius: 6px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-weight: bold;
	text-transform: uppercase;
	-webkit-box-shadow: none;
	cursor: pointer;
	
	background: var(--mainColorDark);
	color: white !important;
	border: 1px solid var(--mainColorDark);
}

/*.btn-default{
	background: var(--mainColor) !important;
	text-align: left !important;
	color: white !important;
	margin: 2px 4px;
	font-size: 14px;
	font-weight: bold;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 10px 26px 10px 0px;
	border: 1px solid var(--mainColor) !important;
	text-indent: 21px;
	background-position-x: 0px !important;
	border-radius: 6px;
	cursor: pointer;
}

.btn-default:hover{
	background: var(--mainColorDark) !important;
	text-align: left !important;
	color: white !important;
	margin: 2px 4px;
	font-size: 14px;
	font-weight: bold;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 10px 26px 10px 0px;
	border: 1px solid var(--mainColorDark) !important;
	text-indent: 21px;
	background-position-x: 0px !important;
	border-radius: 6px;
}*/

.btn-default.disabled{
	opacity: 0.5;
}

button[disabled], html input[disabled] {
	cursor: default;
	opacity: 0.5;
}

.btn-default.disabled:hover{
	background: var(--mainColor) !important;
	border: 1px solid var(--mainColor);
}

.btn-i {
	background-color: transparent;
	border: 0;
}

.btn-icon {
	background-color: transparent;
	border: 0;
	margin-left: 1rem;
    margin-right: 1rem;
	font-size: 2rem;
	color: var(--mainColor) !important;
	cursor: pointer;
}

.btn-icon:hover {
	color: var(--mainColorDark) !important;
}

.proc-table-icon .btn-icon, .detalles-sol-icons .btn-icon {
	font-size: 3rem;
}

.white.btn-icon {
	color: white !important;
}

.white.btn-icon:hover {
	color: var(--colorBg) !important;
}

.verification-icon{
	color: rgb(102, 7, 7);
}

/*
.btn-primary {
	padding: 0.5rem 3rem;
	color: #fff;
	margin-left: 1rem;
	border-radius: 4px;
}

.btn-primary:hover {
	background-color: #fff;
}
*/
/********************** Compartir **********************/

.share{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
}

.share label{
	margin-right: 10px;
	margin-bottom: 0;
	color: var(--textColor);
}

.share .btn-preview{
	cursor: pointer;
	color: var(--mainColor) !important;
	width: 30px;
	height: 30px;
	border: 1px solid var(--mainColor);
	border-radius: 5px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
}

.share .btn-preview:hover{
	background-color: var(--colorBg);
	color: var(--mainColorDark) !important;
	text-decoration: none;
}


/********************** Forms **********************/

.form-row label{
	color: var(--textColor);
	font-weight: bold;
	padding-top: 2px;
	font-size: 13px;
	font-weight: 600;
}

textarea, input[type="text"], input[type="password"], select, *|textarea{
	padding: 6px 12px;
	background-image: none;
	border: 1px solid var(--colorLinesInput);
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	background-color: white;

	
	font-family: var(--fontFamily1);
	font-weight: 400; /* regular */
	font-size: 14px;
	color: var(--textColor);
}

textarea[type="textarea"][disabled], input[type="text"][disabled], input[type="password"][disabled], select[disabled], .form-input[disabled], .form-select[disabled] {
	background-color: var(--colorBgDisabled);
	color: var(--textColorDisabled);
	border: 1px solid var(--colorLines);
}
/*
.form-input, .form-select {
	padding: 0.5rem;
	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%;
}

input[disabled], select[disabled] {
	opacity: 13;
}


/********************** Pestañas **********************/

.nav-tabs > li > a {
    color: var(--mainColor);
    font-weight: bold;
}

.nav-tabs > li > a:hover {
	border-color: var(--colorLines);
	background-color: var(--colorBg);
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover{
	border-color: var(--colorLines) var(--colorLines) white var(--colorLines);
	background-color: white;
}

/*********** Otros *************/

.oculto{
	display: none;
}

div.sectionSearchRequest {
	padding-left: 0;
}

.displaytag th a:link, .displaytag th {
	color: var(--mainColor) !important;
}

@media (max-width: 767px) {
	.table-responsive {
		width: calc(100vw - 30px);
		overflow-x: auto;
		display: block !important;
	}
}

.link_selects{
	cursor: pointer;
	font-weight: bold;
	color: var(--mainColor);
}

.link_selects:hover{
	text-decoration: underline;
}

/* Bandeja notificaciones */

.contenido-bandeja > div > .table{
	border: 1px solid var(--colorLines);
}

.contenido-bandeja > div > .table > tbody > tr > td{
	border: 1px solid var(--colorLines);
	padding: 0;
}

.contenido-bandeja > div > .table > tbody > tr > td > div {
	color: white;
	background-color: var(--mainColor);
	border: 1px solid var(--colorLines);
	padding: 10px;
}

.contenido-bandeja > div > .table > tbody > tr > td > table {
	margin: 15px;
	border: 1px solid var(--colorLines);
	width: calc(100% - 30px);
}

.contenido-bandeja > div > .table > tbody > tr > td > table .notify-row-content {
	margin: 15px;
	padding: 0;
}

.contenido-bandeja .procedure-table td > div, .contenido-bandeja .procedure-table th > div {
	border-bottom: none;
}

.contenido-bandeja .table-hover > tbody > tr:hover {
	background-color: transparent;
  }

.show-more{
	text-align: center;
	padding: 1rem 0;
	width: 100%;
	clear: both;
}

/* Ajuste documentacion trámite */

.detalles-sol-icons{
	margin-left: 1rem;
	margin-bottom: 1rem;
}

.detalles-sol-icons h4{
	margin-bottom: 6px;
}

.detalles-sol-icons .btn-icon{
	margin-top: 6px;
}

.footerNotif{
    display: flex;
    justify-content: center;
    padding: 1rem;
}

/********************** Accesibilidad **********************/

.screenreader-text {
    /* a generic way to visually hide content while remaining accessible to screen readers (h5bp.com) */
    clip: rect(0 0 0 0);
    overflow: hidden;
    position: absolute;
    height: 1px;
    width: 1px;
}

  

/* Calendario Forms */

.calendar{
	border: 1px solid var(--mainColor);
	border-radius: 10px;
	padding:5px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.23);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.23);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.23);
}

.calendar > table{
	border: none;
	background: transparent;
}

.calendar thead .title {
	background: white;
	color: var(--textColor);
	font-weight: bold;
}

.calendar .button {
	background: white;
	color: var(--textColor);
	font-weight: bold;
	background: transparent;
}

.calendar thead .hilite{
	background: var(--colorBg);
	color: var(--textColor);
	border-bottom: 1px solid white;
}

.calendar thead .name {
	border-bottom: 1px solid white;
	font-weight: bold;
	color: var(--textColor);
	background-color: white;
  }

.calendar tbody .day {
	color: var(--textColor);
}

.calendar tbody td.weekend {
	background-color: var(--colorBg);
	color: rgb(61, 61, 61);
  }

.calendar tbody td.today {
	font-weight: bold;
	color: var(--mainColor);
  }

.calendar tbody td.selected {
	background: #D8D8D8;
	color: var(--mainColorDark);
	border: none;
  }

  .calendar tfoot .ttip {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	background: #ffffff;
  }

  .calendar tfoot .footrow {
	background: transparent;
  }

  .calendar .combo {
	border: 1px solid var(--mainColor);
	background: white;
  }

  .calendar .combo .label {
	color: var(--textColor) !important;
	font-size: 1rem;
  }

  .calendar .combo .label:hover {
	background-color: var(--colorBg);
  }


/********************** Documentación wizard **********************/

.document i{
	font-size: 3rem;
}

.document .icono-clip{
	font-size: 2.5rem;
}
