.homepage .module-search .module-content,
.tags {
	background-color: #0072A2 !important;
	opacity: 0.80;
}

.homepage .module-search,
.box {
	background-color: none !important;
	background: none !important;
	margin-bottom: 20px;
}

.counter-box {
	padding-bottom: 80px;
}


.site-footer {
	background-color: #59656e !important;
	background-image: none;
}


.footer-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.1em;
}

.attrib {
	font-size: .8em;
	margin-top: 1rem;
}

.fleft {
	float: left;
}

.fright {
	float: right;
}

.hero {
	background-image: none;
}

body {
	background-image: None;
	background-color: #eeeeee !important;
	background-size: cover;
	background-position: center center;
	padding: 0px !important;
}

.navigation .nav-pills li a,
.navigation .nav-pills li.active a {
	background-color: transparent;
	color: #ffffff;
}

.navigation .nav-pills li a:hover,
.navigation .nav-pills li.active a {
	background-color: #008bd0;
	color: #ffffff;
}


.istac-app-header.istac-title-bar .account ul li a {
	display: block;
	color: #59656e;
	font-size: 16px;
	font-weight: initial;
	padding: 0 10px;
	line-height: 31px;
}


.istac-app-header.istac-title-bar .account ul li a:hover {
	color: #ffffff;
	background-color: #008bd0;
	text-decoration: none;
}

a.tag:hover {
	color: #fff;
	background-color: #004568;
	border: 0px;
	-webkit-box-shadow: inset 0 1px 0 #3d97b3;
	-moz-box-shadow: inset 0 1px 0 #3d97b3;
	box-shadow: inset 0 1px 0 #3d97b3;
}

a:hover,
a:focus {
	text-decoration: none;
}

.site-footer,
.site-footer label,
.site-footer small,
.site-footer a {
	color: #ffffff;
}


.btn-primary {
	background-image: none;
	background-color: #004678;
	color: #ffffff;
}

.open>.dropdown-toggle.btn-primary,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
	color: #ffffff;
	background-color: #004678;
	background-image: none;
	border-color: #004678;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
	color: #ffffff;
	background-color: #004678;
}

.homepage .module-search {
	margin: 100px 0 20px 0;
}

.search-form .search-input.search-giant button {
	margin-top: -13px;
}

.istac-app-header.istac-title-bar .account ul li {
	border-left: 1px solid #dddddd;
}

[role=main],
.main {
	background: none;
	padding-bottom: 80px;
	min-height: 700px;
}

.nav-item.active>a,
.nav-aside li.active a,
.istac-app-header.istac-title-bar .account ul li a.btn-datasets {
	background-color: #8098A7;
	color: #FFFFFF;
	min-width: 90px;
	text-align: center;
}


.istac-app-header.istac-title-bar .account ul li a.btn-datasets:hover,
.istac-app-header.istac-title-bar .account ul li.active a.btn-datasets {
	background-color: #008bd0;
	color: #FFFFFF;
}

.resource-item:hover {
	background-color: #eeeeee;
}

.nav-item.active>a::before,
.nav-aside li.active a::before {
	content: ' ';
	position: absolute;
	top: 0;
	right: -10px;
	width: 0;
	height: 0;
	border-top: 17px solid transparent;
	border-bottom: 17px solid transparent;
	border-left: 10px solid #008bd0;
	background-image: none;
}

.nav-item.active>a:hover,
.nav-aside li.active a:hover {
	color: #ffffff;
	background-color: #008bd0;
}

.home-app {
	font-size: 20px;
	font-weight: 500;
	color: #59656e !important;
	padding-top: 10px;
	padding-left: 36px;
	padding-bottom: 10px;
}

.title-icon {
	border-radius: 50%;
	border: 1px solid;
	border-top-color: currentcolor;
	border-right-color: currentcolor;
	border-bottom-color: currentcolor;
	border-left-color: currentcolor;
	border-color: inherit;
	font-size: 17px;
	width: 20px;
	height: 20px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin-right: 2px;
}

.media-heading {
	text-align: center;
}

.image a:hover {
	text-decoration: none;
}

.istac-app-header.istac-title-bar .nav-collapse {
	margin-right: 36px;
}


.media-item.group-home-item {
	position: relative;
	float: left;
	width: 120px;
	padding: 5px 0px 5px 0px;
	margin: 6px 0px 6px 0px;
	background: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	height: auto;
	list-style: none;
}

.media-item h3 {
	font-size: 15px;
	font-weight: normal;
	hyphens: unset;
}

.media-grid {
	margin: 0px !important;
	padding: 12px 0px;
	background: none !important;
	background-color: rgb(255, 255, 255, 0.7) !important;
	display: flex;
	flex-flow: wrap;
	justify-content: flex-start;
}

.count-all-datasets h1 {
	text-align: center;
	color: #59656e;
	margin: 0px;
	padding: 15px;
	background-color: #FFFFFF;
}

.media-view.no-border {
	border: none !important;
}

@media only screen and (min-width: 1399px) {
	.container {
		width: 1400px;
	}

	.span6 {
		width: 680px;
	}

	.span9 {
		width: 1170px;
	}

	.span12 {
		width: 1400px;
	}
}

.span12 {
	margin: 0px !important;
}


.context-info .nums {
	display: flex;
	align-items: center;
	text-align: center;
	justify-content: center;
}

@media only screen and (max-width: 767px) {

	[class*="span"],
	.uneditable-input[class*="span"],
	.row-fluid [class*="span"] {
		float: left;
	}
}

table th:first-child {
	width: 10% !important;
	;
}

.module.module-narrow.social,
.module.module-narrow.module-shallow.license {
	margin: 0px !important;
}

div.input-prepend input:nth-child(4) {
	width: 100%;
}

div.input-prepend input:nth-child(2) {
	width: 60%;
}


input,
select,
textarea {
	color: #333333;
}

.navbar-collapse.in {
	display: block !important;
}

@media (max-width: 1199px) {
	.logo.hidden-lg-down {
		display: none !important;
	}

	#istac-app-header-content {
		padding-top: 0px !important;
	}

	.dropdown-menu {
		-webkit-transition: 0.5s;
		-moz-transition: 0.5s;
		-ms-transition: 0.5s;
		-o-transition: 0.5s;
		transition: 0.5s;
		transition-property: height;
	}

	.dropdown-menu ul {
		flex-flow: column;
	}

	.nav-collapse,
	.nav-collapse.collapse {
		overflow: hidden;
		height: 0;
		padding-top: 1.5rem;
	}

	.home-app {
		padding-left: 16px;
		padding-bottom: 0px;
	}

	.istac-navbar .nav-link .border {
		position: relative;
		left: -2rem;
	}

}

@media (max-width: 767px) {
	a.logo img.logo-corto {
		padding: 10px;
	}
}

@media (min-width: 1200px) {
	.logo.hidden-xl-up {
		display: none !important;
	}

	.btn.btn-navbar {
		display: block;
	}
}

.btn.btn-navbar {
	background-color: #004678;
	font-size: 14px;
	color: #ffffff
}

#dataset-resources li.resource-item {
	display: flex !important;
	flex-flow: row nowrap;
	justify-content: space-between;
}

#dataset-resources li.resource-item .btn-group {
	position: inherit;
	top: 0px;
	right: 0px;
}

.additional-info .module-content:first-child table th:first-child {
	width: 50% !important;
}

nav.navigation li a.btn-datasets {
	background-color: #004678;
	color: white;
}

nav.navigation div ul li {
	border-left: unset;
}

button.btn.btn-navbar {
	background-image: none;
	border-style: none;
	box-shadow: none;
	padding-left: 1rem;
}


.dropdown-menu {
	position: absolute;
	top: 100%;
	z-index: 1000;
	display: none;
	float: right;
	min-width: 160px;
	margin-top: -3px !important;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
	text-align: right;
	list-style: none;
	background-color: #004678;
	-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
	right: 0;
	left: unset;
	border-radius: 5px 0px 5px 5px !important;
	border: unset;

	li a {
		color: white;
	}
}

.dropdown-menu {
	li a:hover {
		background-color: #008bd0;
		color: #FFFFFF
	}
}

.dropdown-menu.abrir {
	-webkit-transition: 0.1s;
	-moz-transition: 0.1s;
	-ms-transition: 0.1s;
	-o-transition: 0.1s;
	transition: 0.1s;
	transition-property: height;
	visibility: visible;
	opacity: 1;
	display: flex;
	flex-flow: column;
	-webkit-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	pointer-events: initial;
	text-align: left;
}

.badge {
	background-color: #0072A2 !important;
}

.istac-navbar .navbar-toggleable-lg .navbar-collapse {
	height: 70px;
}

#istac-app-header-content {
	padding-top: 8px;
}

.istac-navbar .navbar-brand.logo {
	padding: 20px 36px 10px 36px;
}

@media (max-width: 1199px) {

	.istac-navbar .navbar-brand.logo,
	.istac-navbar .istac-navbar-toggler {
		padding: 20px 36px 10px 36px !important;
	}
}

.modal.fade.in {
	margin-top: 0px !important;
	top: 0% !important;
}

div.ckanext-showcase-image-container {
	margin: 20px;
}

.js .image-upload #field-image-upload {
	position: inherit;
	opacity: 1;
}

.collapsable-menu ul {
	display: flex;
	gap: 5px;
	margin-bottom: 0;
}

selector#language-selector {
	padding: 4px;
}

.edatos-custom-app-header {
	background-color: white;
	display: flex;
	flex-direction: row-reverse;
	padding: 0.5rem 0.5rem 0.5rem 0px;
}

#edatos-custom-header {
	align-items: end !important;
	flex-flow: column !important;
}

.fa {
	font-family: "Font Awesome 6 Pro" !important;
	font-weight: 100 !important;
}

.format-label {
	background: url("../../sprite-resource-icons.png") no-repeat 0 0;
}

.format-label[data-format=tsv],
.format-label[data-format*=tsv],
.format-label[data-format=pcaxis],
.format-label[data-format*=pcaxis] {
	width: 60px;
	height: 65px;
	background-position: -1720px -220px;
	transform: scale(0.53);
	margin: -14px 0 0 -14px;
}
.subject-area-icon {
    font-size: 94px;
    text-align: center;
    display: block;
    justify-content: center;
}
.subject-area-icon.group-home-icon{
    font-size: 75px !important;
}
.subject-area-icon:before{
	display: inline-block;
    font-family: 'Glyphter';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

/* .icon-<CATEGORY_KEY> => CATEGORY_KEY corresponds 'key' of 'category' in 'categories' array in application-env.yml */

.sector-publico:before {content: '\0059'; color:#E5772D;}
.ciencia-tecnologia:before {content: '\0058'; color: #8C9BA3;}
.icon-Demo_MovimientoNatural:before {content: '\0051'}
.icon-Demo_MovimientosMigratorios:before {content: '\0052'}
.demografia:before {content: '\0053'; color:#8C5C1D}
.hacienda:before {content: '\0046'; color:#E5772D;}
.urbanismo-infraestructuras:before {content: '\0044'; color:#E5772D;}
.icon-Economia_Precios_ConsumoEInversion:before {content: '\0045'}
.empleo:before {content: '\0043'; color:#C01A41;}
.medio-rural-pesca:before {content: '\0041'; color:#E5772D;}
.vivienda:before {content: '\0066'; color:#E5772D;}
.energia:before {content: '\0067'; color:#E5772D;}
.industria:before {content: '\0068'; color:#E5772D;}
.comercio:before {content: '\0064'; color:#E5772D;}
.deporte:before {content: '\004c'; color:#7F5B97;}
.turismo:before {content: '\0062'; color:#E5772D;}
.economia:before {content: '\005a'; color:#E5772D;}
.transporte:before {content: '\0061'; color:#E5772D;}
.sociedad-bienestar:before {content: '\004f'; color:#7F5B97;}
.cultura-ocio:before {content: '\0069'; color:#7F5B97;}
.educacion:before {content: '\004d'; color:#7F5B97;}
.icon-Sociedad_EleccionesYParticipacionCiudadana:before {content: '\004b'}
.legislacion-justicia:before {content: '\004a'; color:#7F5B97;}
.seguridad:before {content: '\0048'; color:#7F5B97;}
.salud:before {content: '\004e'; color:#7F5B97;}
.medio-ambiente:before {content: '\0055'; color:#67A23F;}
.:before {content: '\0056'}


@media only screen and (max-width: 1200px) {
    .subject-area-icon {
        font-size: 8vw;
    }
}
@media only screen and (max-width: 992px) {
    
    .subject-area-icon {
        font-size: 12vw;
    }
}

@media only screen and (max-width: 768px) {
    .subject-area-icon {
        font-size: 15vw;
    }
}

@media only screen and (max-width: 576px) {
    .subject-area-icon {
        font-size: 26vw;
    }
}
