
/*----------------------------------------------*/
/* PERSONALIZAR BOOTSTRAP						 */
/*----------------------------------------------*/

.alert p {
	margin-bottom: 0.5rem;
} 

/*----------------------------------------------*/
/* Varios                            */
/*----------------------------------------------*/

.privado h1 {
	font-size: 2.5rem;
}

h3 {
	font-size: 1.5rem;
}

.only_admin {
	background-color: #FFa500 !important; padding: 4px; font-size: 80%; color: #111;
}

.only_admin a {
	color: #111 !important;
}

.asterisco {
	color:#999; font-style:italic; font-size: 90%; text-align: left;
}

/*----------------------------------------------*/
/* Breadcump                                  */
/*----------------------------------------------*/

div.breadcumb {
	border: 1px solid #ccc; padding: 0px; font-size: 85%; margin-bottom: 20px;
}

div.breadcumb a {
	line-height: 36px; padding: 0px 0px 0px 40px; color: #444; text-decoration: none;
	background: url(../img/bg_breadcumb.png) no-repeat left center; 
}

div.breadcumb a.home {
	background: none; padding-left: 10px;
}

/*----------------------------------------------*/
/* Globo Saldo                                  */
/*----------------------------------------------*/

span.saldo {
	margin-top: -15px; background: #79AF02; padding: 10px 15px 7px 15px; text-align: center; 
	border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px;
}

span.saldo a {
	display:block; color: #fff; font: 26px 'Open Sans', Helvetica, sans-serif; letter-spacing: -0.5px; text-decoration: none;
}

span.saldo em {
	font-size: 70%; color: #333;	
}

span.saldo.pagado {
	display: block; margin-bottom:40px; color: #fff; font-size: 180%; paddding: 20px;
}

/*----------------------------------------------*/
/* Globo rojo                                   */
/*----------------------------------------------*/

span.red {
	background: #B52525;
}

span.red em {
	color: #ccc;	
}

/*----------------------------------------------*/
/* Titulos varios                               */
/*----------------------------------------------*/

div.title-and-button {
	margin: 10px 0px 10px 0px; 
}

div.title-and-button h1,
div.title-and-button h2 {
	display: inline; font-size: 2rem !important;
}

div.title-and-button a.btn {
	margin-top: 10px;
}

/*----------------------------------------------*/
/* Tabla/listado normal                         */
/*----------------------------------------------*/

td.left {
	text-align: left !important;	
}

td.center {
	text-align: center !important;	
}

td.right {
	text-align: right !important;	
}

table.listado {
	margin: 0px auto 0px auto; border-collapse: collapse; width: 100%;
}

table.listado h2,
table.listado h3 {
	margin: 0px;	
}

table.listado a {
	color: #000; text-decoration: none;
}

table.listado a:hover {
	text-decoration: underline;
}

table.listado thead tr,
table.listado tfoot tr {
	background: #DFDFDF; 
}

table.listado thead th,
table.listado thead td,
table.listado tfoot td  {
	padding: 8px 4px; border-width: 0px; font-weight: bold;
}

table.listado tbody tr {
	height: 65px;
}

table.listado tbody td {
	padding: 8px 4px; border: solid #eee; border-width: 1px 0 1px 0;		
}

table.listado tbody td.on {
	background-color: #E3E3E3;
}

table.listado tbody td.concepto {
	width: 80%;
}

table.listado tbody td.totales {
	width: 80%; text-align: right; 
}

table.listado tbody td.importe {
	width: 20%; text-align: right; font-family: monospace, serif; padding-right: 20px;
} 

table.listado td.num {
	text-align: center;	font-family: monospace, serif; min-width: 60px;
} 

table.listado tbody td.acciones {
	text-align: right;	
}

table.listado tbody td.acciones a {
	font-size: 95%; color: #DA595C; margin: 3px; padding: 3px; text-decoration: underline;
}

table.listado tbody td.acciones a:hover {
	background-color: #DA595C; color: #fff; text-decoration: none;
}

table.listado tbody td.acciones a i.fas {
	color: #000; font-size: 130%;
}

table.listado tbody td.acciones a:hover i.fas {
	color: #fff; font-size: 130%;
}

table.listado small {
	display:block; margin-top:5px; color:#333;	
}

table.listado tbody td span.importante {
	padding: 5px 10px; background-color: #137F31; color: white; font-size: small; text-shadow: #666 1px 1px 1px; 
}

table.listado tbody td span.error {
	padding: 5px 10px; background-color: #9C0322; color: white; font-size: small; text-shadow: #666 1px 1px 1px; 
}

table.cabecera,
thead.cabecera {
	margin: 0px auto 0px auto; border-collapse: collapse; width: 100%; background: #333; color: #fff; font-size: 85%; 
	border-radius: 5px 5px 0px 0px; -moz-border-radius: 5px 5px 0px 0px; -ms-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 5px 5px 0px 0px; -khtml-border-radius: 5px 5px 0px 0px;
}

table.cabecera tbody td {
	padding: 14px 10px;
}

table.cabecera tbody td a {
	padding: 5px 6px; margin-left: 15px; background: #666; color: #ccc; text-decoration: none; font-weight: bold;
	border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px;
}

table.cabecera tbody td a.on,
table.cabecera tbody td a:hover {
	background: #fff; color: #000;
}

table.cabecera form {
	display: inline;	
}

table.cabecera select {
	height: 26px; background-color: #666; color: #ccc; font-weight: bold; font-family: "Open Sans" !important; border: 0px;
}

table.pie {
	margin: 0px auto 0px auto; border-collapse: collapse; width: 100%; background: #333; color: #fff; font-size: 85%; 
	border-radius: 0px 0px 5px 5px; -moz-border-radius: 0px 0px 5px 5px; -ms-border-radius: 0px 0px 5px 5px; -webkit-border-radius: 0px 0px 5px 5px; -khtml-border-radius: 0px 0px 5px 5px;
}

table.pie tbody td {
	padding: 14px 10px; text-align: center;
}

table.pie tbody td a {
	padding: 5px 6px; margin-left: 5px; background: #666; color: #ccc; text-decoration: none; font-weight: bold;
	border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px;
}

table.pie tbody td b {
	padding: 5px 6px; margin-left: 5px; background: #fff; color: #000;
	border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px;
}

table.listado .txtsmall {
	display: block;
	margin-top: 5px;
	color: #333;
}

.txtsmall {
	font-size: smaller;
}

p.descargar_csv {
	padding: 10px 0px; text-align: right;
}

@media(max-width:768px) {
	/*
	table.listado td:nth-child(2) {  
		display:none;
	}
	
	table.listado td:nth-child(3) {  
		display:none;
	}	
	*/
	
	table.cabecera td:nth-child(1) {
		display: none;
	}
	
	table.listado tbody td.acciones {
		text-align: center !important;
	}
	
	table.listado tbody td.acciones a {
		display: block;
	}	
}


/*----------------------------------------------*/
/* Tabla generica                               */
/*----------------------------------------------*/

table.l {
	margin: 0px auto 0px auto; border-collapse: collapse; width: 100%;
}

table.l td.left {
	text-align: left;	
}

table.l thead td {
	text-align: center; padding: 10px; background: #333; color: #fff;
}

table.l thead td small {
	font-size: 80%; color: #eee; display: block;
}

table.l thead h3 {
	color: #fff; margin: 0px;
}

table.l thead h3 a {
	color: #fff; text-decoration: none; 
}

table.l thead h3 a:hover {
	text-decoration: underline; 
}

table.l thead p {
	margin: 2px 0px;	
}

table.l thead p.small {
	color: #eee; font-size: 80%; font-weight: normal;
}

table.l tbody tr {
	border-bottom: 1px solid #ccc;	
}

table.l tbody td {
	text-align: center; padding: 0px 5px; line-height: 38px;
}

table.l tbody td.on {
	background-color: #E3E3E3;
}

table.l tbody td.title {
	text-align: left; padding-left: 20px; font-weight: bold; 
}

table.l tbody td.importe {
	text-align: right; padding-right: 8px;	
}

table.l tbody td.totales {
	font-weight: bold;
}

table.l tbody td img {
	vertical-align: middle;
}

table.l a.btn_blue {
	font-size: 85%;
}

table.l a.btn_blue b {
	line-height: 16px;	
}

/*----------------------------------------------*/
/* Cajitas                                      */
/*----------------------------------------------*/

table.subbox {
	margin: 0px 0px 30px 0px; border-collapse: collapse; width: 100%;
}

table.subbox thead td {
	padding: 8px; background: #ededed; font: 22px 'Open Sans', Helvetica, sans-serif; letter-spacing: -1px; color: #111; font-weight: normal; 
}

table.subbox tbody td {
	padding: 5px 1px; border: solid #eee; border-width: 1px 0 1px 0; width: 40%;		
}

table.subbox tbody td.campo {
	padding-right: 15px; text-align: right; font-weight: bold; 
}

/*----------------------------------------------*/
/* Formularios                                  */
/*----------------------------------------------*/

#Form,
.StdForm {
	padding: 10px; margin-bottom: 30px; background: #F1F1F1;
}

#Form legend,
.StdForm legend {
	color: #53A451; border-bottom: 1px solid #53A451; padding-left: 4px;
}

#Form div.optional,
.StdForm div.optional {
	background: #E3E3E3; padding: 10px;
}

#Form .form-check,
.StdForm .form-check {
	padding-left: 30px !important;
} 

#Form div.required,
.StdForm div.required {
	background: #E3E3E3; padding: 10px;
}

#Form div.required label,
.StdForm  div.required label {
	font-weight: bold;
}

#Form div.error,
.StdForm div.error {
	background: #E3E3E3; padding: 10px; font-weight: bold; color: #94231e;
}

#Form div.submit,
.StdForm div.submit {
	margin-top: 30px;
}

#Form textarea,
.StdForm textarea {
	font-size: 85%; 
}

#Form input.submit_button,
.StdForm input.submit_button {
	float: right;	
}

#Form div.required .form-check-label,
.StdForm div.required .form-check-label {
	font-weight: normal !important;	
}

#Form .form-check-label a,
.StdForm .form-check-label a {
	color: #000; text-decoration: underline;
}

/* ########################################################################### */
/* # INDICADORES DE ESTADO                                                     */
/* ########################################################################### */

.item-status {
    display: block; width: 70px; text-align: center; color: #fff; font-size: 12px; padding: 5px 4px;
}

.item-status a {
	text-decoration: none !important; color: #fff !important; width: 70px;
}

.item-status a:hover {
	text-decoration: underline !important; color: #fff !important;
}

.item-status.flex {
	width: 100% !important;
}

.item-status.inline-flex {
	display: inline; padding: 3px 4px 3px 4px !important;
}

.item-status.big {
	width: 100px;	
}

.item-status.green {
	background-color: #137F31; text-shadow: #666 1px 1px 1px;
}

.item-status.yellow {
	background-color: yellow; color: #222; text-shadow: #ddd 1px 1px 1px;
}

.item-status.yellow a {
	color: #222 !important;
}

.item-status.red {
 	background-color: #9C0322; text-shadow: #6A0E20 1px 1px 1px; 
}

.item-status.grey {
 	background-color: #999; text-shadow: #333 1px 1px 1px;
}

/* ########################################################################### */
/* # PANEL HOSTING                                                             */
/* ########################################################################### */

#hosting_icons h3 {
	color: #444; margin: 40px 0px 30px 0px; padding: 5px; border-bottom: 1px solid #bbb; 
}

#hosting_icons span {
	display: inline-block; vertical-align: top; width: 120px; height: 80px; margin: 0px 10px 20px 10px; padding: 50px 0px 0px 0px;	
	background-repeat: no-repeat; background-position: top center; text-align: center; font-size: 0.9rem; line-height: 1.1rem;
}

#hosting_icons a:hover {
	text-decoration: none !important;
}

/*----------------------------------------------*/
/* Body > Left menu                             */
/*----------------------------------------------*/

#left_menu ul {
	background: #68A15B;  list-style: none; padding: 0px; text-align: center;  margin-bottom: 40px;
}

#left_menu li {
	display: inline;  
}

#left_menu li a {
	padding: 10px; line-height: 50px; text-decoration: none; color: #fff;
}

#left_menu li a.on {
	background-color: #fff; color: #000; font-weight: bold;
}

#left_menu li a:hover {
	background-color: #fff; color: #000;
}
