/*HTML*/
* {
	margin: 0;
	padding: 0;
}

body {
	background:#FFFFFF;
  font-family: "Open Sans", sans-serif;
	line-height: 20px;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	color:#111;
	opacity: 1;
	visibility: visible;
	-webkit-transition: opacity 0.24s ease-in-out;
	-moz-transition: opacity 0.24s ease-in-out;
	transition: opacity 0.24s ease-in-out;
}

header {
 background-color: #00783E; 
}

b{
	font-weight: bold;
}

canvas {
	display: block;
	position: relative;
	margin:30px auto;
	background: #FFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border:solid 1px #00783E;
  cursor:crosshair; 
}

h1{
  font-family: 'Song Myung', serif;
  font-weight: bold;
  font-style: italic;
  font-size: 3.5em;
}

h2{
  font-size: 2.5em;
  font-weight: bold;
}

h3, legend{
  font-size: 1.8em;
  font-weight: bold;
}
h4{
  font-size: 1.5em;
  font-weight: bold;
}
h5{
  font-weight: bold;
}

h2.listado{
  background: url("../elementos/listado.png") no-repeat 0 12px;
  padding: 5px 0 5px 40px;
}
h3.listado{
  background: url("../elementos/listado.png") no-repeat 0 5px;
  padding: 5px 0 5px 40px;
}

iframe{
  width: 100%;
  height: 620px;
  border: none;
  margin: 0;
  padding: 0;
}


/*BOOTSTRAP*/
.container{
  max-width: 1440px; 
}
.row {
  margin: 10px auto 30px;
}
.modal-header{
  background-color: #00783E;
}


/* HEADER y MENU */
header .row{
  margin:0;
  color: #FFF;
  font-weight: bold;
}
img#logo, img#logo_modal {
	width: 170px;
}
nav.navbar {
	background-color: #00783E !important;
  padding: 10px 0 0 0;
}
div.dropdown-menu{
  background-color: #00783E;
  border: none;
}
a.dropdown-item{
  font-size: 13px;
}
.nav-item a:link, .nav-item a:visited{
	color: #FFF !important;
	font-weight: bold;
}
.nav-item a:hover, .nav-item a:active{
	color: #00783E !important;
	background-color: #FFF;
} 


/*ENLACES Y BOTONES*/
a:link, a:visited {
	text-decoration:none;
	font-weight: bold;
}

a.btn-primary:link, a.btn-primary:visited {
	color: #FFF !important;
}

.btn-primary, .btn-primary.disabled {
	color: #FFF;
	background-color:#00783E;
	border-color: #00783E;
	font-weight: bold;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}

.btn-primary:hover, .btn-primary:active {
	color: #FFF;
	background-color: #6CC049;
	border-color: #00783E;
}

.btn-danger, .btn-danger.disabled, .btn-secondary, .btn-secondary.disabled{
	font-weight: bold;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}

.btn-danger:hover, .btn-danger:active {
	color: #D9534F;
	background-color: #FFF;
	border-color: #D9534F;
}

.btn-secondary:hover, .btn-secondary:active {
	color: #6C757D;
	background-color: #FFF;
	border-color: #6C757D;
}

.list-group-item-primary {
	color: #FFF;
	background-color:#00783E;
	border-color: #00783E;
	font-weight: bold;
}

.list-group-item-primary:hover, .list-group-item-primary:active {
	color: #FFF;
	background-color: #6CC049;
	border-color: #00783E;
}

.active{
  color: #FFF;
	background-color: #6CC049 !important;
  border-color: #00783E !important; 
}


/*LISTADOS*/
table.listado{
	width:100%;
	border-collapse: collapse;
	margin:10px auto 30px 0;
}

table.normal{
	border-collapse: collapse;
	margin:10px auto 30px 0;
}

table.listado tr, table.normal tr{
	margin: 0 5px;
	border-bottom:solid 1px #CCCCCC;
}

table.listado th, table.normal th{
	text-align:center;
	color:#00783E;
	font-weight:bold;
	border-top:solid 1px #CCCCCC;
	padding:5px;
}

table.listado td, table.normal td{
	padding:5px;
}

table.listado tr.mini td{
	font-size: 1em;
	padding: 2px;
}
table.listado .fecha {
	width:120px;
	text-align:center;
}

table.listado .cont {
	width:300px;
	text-align:center;
}

table.listado .asunto {
	width:200px;
	text-align:center;
}
table.listado .acciones {
	width:305px;
	text-align:center;
}

table.listado th.fondo, table.listado td.fondo {
	color:#FFF;
	background:#6CC049;
  font-weight: bold;
}

table.listado th.apartado, table.listado td.apartado {
	border-bottom: solid 4px #6CC049;
}

table.listado th, table.normal th, table.listado td.subtotal {
	color:#00783E;
	background: #CCC;
	font-size: 1.1em;
	font-weight: bold;
	border-bottom: solid 4px #6CC049;
	padding-top: 20px;
}

table.listado th.total, table.listado td.total {
	color:#FFF;
	background: #00783E;
	font-size: 1.1em;
	font-weight: bold;
	border-bottom: solid 4px #6CC049;
	padding-top: 20px;
}

table.listado td.total_col {
	color:#FFF;
	background: #00783E;
	font-size: 1.1em;
	font-weight: bold;
}

table.listado th.min, table.listado td.min {
	padding: 5px;
}

table.listado th.linea_izda, table.listado td.linea_izda {
	border-left: solid 1px #BBB;
}

table.listado th.linea_dcha, table.listado td.linea_dcha {
	border-right: solid 1px #BBB;
}

/*FORMULARIOS*/
.custom-control-input:checked~.custom-control-label::before{
  background-color: #00783E; 
}

/*GRÁFICOS*/
#contenido .grafico {
	display:block;
	margin: 30px auto;
}
#contenido .grafico h3, #contenido .grafico h5 {
	color: #00783E;
}

/*ICONOS*/
span.icono_OK, span.icono_KO, a.icono_OK, a.icono_OK:visited, a.icono_KO:link, a.icono_KO:visited {
	display: inline-block;
	width: 25px;
	height: 25px;
	color: #FFF;
	text-align: center;
	line-height: 25px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

span.icono_OK, a.icono_OK:link, a.icono_OK:visited {
	background:#6CC049;
	border: solid 1px #6CC049;
}
span.icono_KO, a.icono_KO:link, a.icono_KO:visited {
	background:#F00;
	border: solid 1px #F00;
}
a.icono_OK:hover, a.icono_OK:active, a.icono_KO:hover, a.icono_KO:active {
	background:#FFF;
	color:#000;
}

/*FIN CONTENIDO*/
#fin{
	clear:both;
	margin: 10px 0 0 0;
	padding: 0;
	text-align: right;
	display: block;
	color: #6CC049;
	font-size: 4em;
	letter-spacing: -5px;
}
#fin + .linea{
	width:auto;
	background:#6CC049;
	margin:-14px 0 20px 0;
	height:1px;
	display:block;
}

/*FOOTER*/
footer{
  margin: 0 auto;
  background: #00783E

}