/*@import 'https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i';*/

/* noto-sans-regular - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Noto Sans'), local('NotoSans'),
       url('../../fonts/noto-sans-v7-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../../fonts/noto-sans-v7-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* noto-sans-700 - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Noto Sans Bold'), local('NotoSans-Bold'),
       url('../../fonts/noto-sans-v7-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../../fonts/noto-sans-v7-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* noto-sans-italic - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 400;
  src: local('Noto Sans Italic'), local('NotoSans-Italic'),
       url('../../fonts/noto-sans-v7-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../../fonts/noto-sans-v7-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* noto-sans-700italic - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: italic;
  font-weight: 700;
  src: local('Noto Sans Bold Italic'), local('NotoSans-BoldItalic'),
       url('../../fonts/noto-sans-v7-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../../fonts/noto-sans-v7-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* Para calcular mejor width y height */
*, *:before, *:after {
  box-sizing: border-box;
}

body {
	font-family: 'Noto Sans', sans-serif;
	font-size: 12pt;
	margin: 0;
	padding: 0;
	height: 100%;
	background: #fcfcfc;
	min-width: 320px;
	/* background: #444 url(../../images/container_bg.png); */
}

.modal {
	overflow: hidden;
}

a img {
	vertical-align: middle;
}

a, a:hover, a:visited {
	text-decoration: none;
	outline: none;
}

a, a:visited {
	color: #2d92d7;
}

a:hover {
	color: #4fa3dd;
}

p {
	color: #576a75;
	line-height: 150%;
}


h1, h2, h3, h4 {
  color: #576a75;
}

h2 {
	/*color: #444;*/ /* Para fondo claro */
	/*color: #dcdcdc;  Para fondo negro */
}

h1, h2, h3, h4 {
	margin: 5px 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

*:disabled {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
	/*z-index: 10;*/
	cursor: not-allowed !important;
}

[readonly] {
	pointer-events: none;
	cursor: not-allowed !important;
}

.disabled-overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	/*	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-o-filter: grayscale(100%);*/
	z-index: 10;
}

ul {
	/*margin-left: 10px;*/
	list-style-type: none;
}

li {
	color: #576a75;
	list-style-type: none;
    position: relative;
	margin-left: 15px;
	vertical-align: middle;
}

li::before {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: #339ebd;
	left: -15px;
	top: 50%;
  	transform: translateY(-50%);
}

span.tip img {
	text-align: center;
	vertical-align: middle;
	height: 22px;
	width: 22px;
	margin-top: -4px;
}

section, header, nav, footer {
	display: block;
}

header, footer {
	width: 100%;
	z-index: 10;
	text-align: center;
	color: #576a75;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

header {
	position: fixed;
	top: 0;
	height: 120px;
	transition: all 0.2s ease;
	/*background: rgba(250, 250, 250, 0.9);*/
	background: #fff;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	height: 34px;
	line-height: 34px;
	background: #fff;
}

footer img {
	vertical-align: middle;
}

footer p {
	color: #efefef;
}

header span, footer span{
	color: #6d8492;
	font-weight: bold;
}

blockquote {
	background: #f9f9f9;
	border-left: 4px solid #ccc;
	margin: 10px;
	padding: 10px;
}

/* MAIN */
#container {
	padding-top: 120px;
	padding-bottom: 70px;
}

#content {
	/* min-width: 600px; */
	padding: 10px 10px;
	margin: 20px 50px;
}

/* Button Menu */
.button-menu-container {
	position: relative;
	display: inline-block;
}

.button-menu-content {
	position: absolute;
	display: none;
	background: #fff;
	/*background: rgba(255, 255, 255, 0.8);*/
	min-width: 150px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
	transition: 0.2s ease-in;
	/*visibility: hidden;*/
	/*opacity: 1;*/
}

.button-menu-content a {
	color: #6d8492;
	text-decoration: none;
	display: block;
	padding: 2px 5px;
	line-height: 32px;
	text-align: left;
}

.button-menu-content a:hover {
	background: rgba(58, 169, 202, 0.8);
	color: #fff;
}

.show-menu {
  visibility: visible;
  opacity: 1;
}

/* HR */
hr {
/*    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, transparent, #aaa, transparent);
    background-image: -moz-linear-gradient(left, transparent, #aaa, transparent);
    background-image: -ms-linear-gradient(left, transparent, #aaa, transparent);
    background-image: -o-linear-gradient(left, transparent, #aaa, transparent);
	margin: 5px 0;*/

	height: 0;
	/* margin-top: 1em;
	margin-bottom: 1em; */
	margin: 5px;
	border: 0;
	border-top: 2px solid #e5e5e5;
}

/* Scroll Up */
#return-to-top {
	position: fixed;
	bottom: 40px;
	right: 0px;
	border-radius: 22px;
	width: 40px;
	height: 40px;
	border: none;
	-moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	display: none;
	z-index: 20;
	background: rgba(0, 0, 0, 0.4) url(../../images/icon_button_scrollup.png) center center no-repeat;
}

#return-to-top:hover {
	transform: translate(0, -5px);
	background-color: rgba(77, 164, 223, 0.6);
}

#return-to-top img {
	/*padding: 12px 14px;*/
}

/* Sections */
section {
	/* position: relative, necesario para el loader */
	position: relative;
	box-shadow:
		0 3px 6px rgba(0, 0, 0, 0.16),
		0 3px 6px rgba(0, 0, 0, 0.1);
	background: #f9fafb;
	padding: 10px 10px;
	margin-bottom: 15px;
	border-radius: 5px;
	min-height: 100px;
}

section .section-title {
	border-bottom: 2px solid #88cce0;
	overflow: hidden;
	margin: -10px 0 15px 0;
}

section .section-title h4 {
	color: #576a75;
	padding: 0 5px;
}

section .span-icon {
	margin-top: 10px;
}

/* Valores en común de todos los módulos */
.search-input-div {
	display: inline;
}

.search-by-date-div  {
	position: relative;
	left: 0;
	top: 0;
	width: 100%;
	display: none;
}

.search-listing {
	display: none;
	/* float: right; */
	/* position: absolute;
	right: 0;
	top: 0; */
	float: right;
	clear: both;
}

th.table-buttons, th.table-id {
	width: 190px;
}

.span-icon {
	color: #576a75;
	margin: 2px 0;
	/* padding-left: 24px; */
	display: block;
	position: relative;
}

.span-icon:before {
	content: "";
	display: inline;
	padding: 15px;
	/* vertical-align: middle; */
	background-repeat: no-repeat;
	background-position: left center;
	position: absolute;
	left: 0;
	top: -3px
}

.span-icon.info:before {
	background-image: url(../../images/icon_msg_info.png);
}

.span-icon.success:before  {
	background-image: url(../../images/icon_msg_success.png);
}

.span-icon.question:before  {
	background-image: url(../../images/icon_msg_question.png);
}

.span-icon.warning:before  {
	background-image: url(../../images/icon_warning.png);
}


.span-icon.error:before  {
	background-image: url(../../images/icon_msg_error.png);
}

.span-icon.first-time:before {
	background-image: url(../../images/icon_msg_recent.png);
}

.span-icon.info,
.span-icon.success,
.span-icon.question,
.span-icon.warning,
.span-icon.error,
.span-icon.first-time {
	text-align: center;
	position: static;
}

.span-icon.info:before,
.span-icon.success:before,
.span-icon.question:before,
.span-icon.warning:before,
.span-icon.error:before,
.span-icon.first-time:before {
	position: static;
}

p.required {
	display: none;
	margin: 0 10px;
	color: #e74c3c;
	font-weight: bold;
	float: right;
	line-height: 35px;
}

.delete-confirmation {
	position: relative;
	color: #576a75;
	left: 0;
	top: 0;
	width: 100%;
	display: none;
	text-align: center;
}

/* Django Pagination */
.pagination {
	color: #576a75;
	font-size: 11pt;
	text-align: center;
	margin-top: 10px;
}

.pagination-footer {
	color: #576a75;
	font-size: 11pt;
	text-align: center;
	margin: 2px;
}

.pagination-footer span.total {
	/* color: #3aa9ca; */
	color: #39aacb;
}

/* Django stuff */
label[for*="clear"] {
	display: inline-block;
}

.helptext {
	font-size: 8pt;
	color: #6d8492;
	display: block;
	/*margin-bottom: 5px;*/
	/*text-align: right;*/
	margin-left: 5px;
}

.helptext ul {
	list-style: none;
}

ul.errorlist {
	margin: 0;
}

ul.errorlist li {
	margin-left: 5px;
	list-style: none;
	color: #e74c3c;
	font-size: 9pt;
}

ul.errorlist li::before {
	content: none;
}

.vertical-divider {
	margin-right: 5px;
	border: 1px solid #ccc;
	background: #888;
	vertical-align: middle;
}

/* Sección de filtros de búsqueda */
.search-filters-section {
	position: relative;
	border-radius: 5px;
	border: 1px solid #e0e0e0;
	padding: 5px;
	padding-top: 25px;
	background-color: #f0f0f0;
}

.search-filters-section:before {
	content: "Filtros de búsqueda";
	position: absolute;
	top: 2px;
	left: 5px;
	z-index: 1;
	font-size: 8pt;
	font-weight: bold;
	color: #6d8492;
}

/* Media queries */
@media (max-width: 380px) {
	footer {
		font-size: 9pt;
	}
}
