body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: #EFEFEF;
}

#page
{
	margin-top: 5px;
	margin-bottom: 5px;
	background: white;
	border: 1px solid #C9E0ED;
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 3px solid #C9E0ED;
}

#content
{
    padding: 20px;
}

#sidebar
{
	padding: 20px 20px 20px 0;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-size: 200%;
}

#mainmenu
{
	background:white url(bg.gif) repeat-x left top;
	min-height: 27px;
}

#mainmenu ul
{
	padding:6px 20px 5px 20px;
	margin:0px;
}

#mainmenu ul li
{
	display: inline;
}

#mainmenu ul li a
{
	color:#ffffff;
	background-color:transparent;
	font-size:12px;
	font-weight:bold;
	text-decoration:none;
	padding:5px 8px;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a
{
	color: #6399cd;
	background-color:#EFF4FA;
	text-decoration:none;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background:#EFFDFF;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}
.grid-view .button-column img{
	width: 14px;
}
.modal-footer{
	bottom: 0;
	position: absolute;
	width: 100%;
}
.modal.fade.in{
	max-height: 80%;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"],
select{
	height: 30px !important;
}

.table-bordered > tbody > tr > td{
	border-top: 1px solid #ddd;
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}
.table-bordered > tbody > tr > td:first-child{
	border-left: 1px solid #ddd;
}
.fc .fc-view td:hover{
	background-color: #efefef !important;
}


/*
.botonera{
	padding-bottom: 100px;
}
#myModalBody{
	max-height: 150px;	
}
@media screen and (min-height:400px){
	#myModalBody{
		max-height: 250px;
	}
	.botonera{
		padding-bottom: 80px;
	}
}
@media screen and (min-height:500px){
	#myModalBody{
		max-height: 390px;
	}
	.botonera{
		padding-bottom: 110px;
	}
}
@media screen and (min-height:690px){
	#myModalBody{
		max-height: 497px;
	}
	.botonera{
		padding-bottom: 30px;
	}
}
*/


div[class*="span"]{
	margin-left: 0;
}
#sidebar {
    padding: 20px 0px 20px 0;
}
.estado .color{
	width: 25px;
	height: 13px;
	margin-right: 10px;
	border: 1px solid #111;
	display: inline-block;
}


@media screen and (max-width:800px){
	.fc-header-title h2{
		font-size: 23px;
		line-height: 23px;
		text-align: center;
		width: 100%;
		display: block;
	}
	h1{
		font-size: 30px !important;
	}
}
@media screen and (max-width:400px){
	.fc-header-title h2{
		font-size: 16px;
		line-height: 18px;
		text-align: center;
		width: 100%;
		display: block;
	}
	h1{
		font-size: 22px !important;
	}
}
.imageUri{
	height: 100px;
}
.contenidoGastos .imageUri,
table.gastos .imageUri{
	height: 50px;
}
.grid-view .button-column{
	width: 80px !important;
}

@media screen and (max-width:650px){
	#reservas-grid tr th:nth-child(5),
	#reservas-grid tr td:nth-child(5),
	#reservas-grid tr th:nth-child(6),
	#reservas-grid tr td:nth-child(6),
	#reservas-grid tr th:nth-child(8),
	#reservas-grid tr td:nth-child(8),
	#clientes-grid tr th:nth-child(1),
	#clientes-grid tr td:nth-child(1),
	#clientes-grid tr th:nth-child(3),
	#clientes-grid tr td:nth-child(3),
	#clientes-grid tr th:nth-child(4),
	#clientes-grid tr td:nth-child(4),
	#clientes-grid tr th:nth-child(5),
	#clientes-grid tr td:nth-child(5),
	#clientes-grid tr th:nth-child(6),
	#clientes-grid tr td:nth-child(6),
	#equipo-grid tr th:nth-child(1),
	#equipo-grid tr td:nth-child(1),
	#gastosvarios-grid tr th:nth-child(3),
	#gastosvarios-grid tr td:nth-child(3),
	#gastosvarios-grid tr th:nth-child(6),
	#gastosvarios-grid tr td:nth-child(6),
	#liquidaciones-grid tr th:nth-child(3),
	#liquidaciones-grid tr td:nth-child(3),
	.button-column .view{
		display: none;
	}
	.button-column img{
		height: 25px;
		width: auto !important;
	}
	.table-reserva tr td:nth-child(1){
		display: none;
	}
	.botonera > div{
		float: none !important;
		padding-top: 5px;
	}
	.cancelar.btn{
		margin-top: 10px;
	}
	.btn{
		margin-bottom: 5px !important;
	}
}

@media screen and (max-width:390px){
	#reservas-grid tr th:nth-child(7),
	#reservas-grid tr td:nth-child(7),
	#reservas-grid tr th:nth-child(1),
	#reservas-grid tr td:nth-child(1),
	#users-grid tr th:nth-child(2),
	#users-grid tr td:nth-child(2),
	#gastosvarios-grid tr th:nth-child(1),
	#gastosvarios-grid tr td:nth-child(1),
	#gastosvarios-grid tr th:nth-child(3),
	#gastosvarios-grid tr td:nth-child(3),
	#gastosvarios-grid tr th:nth-child(5),
	#gastosvarios-grid tr td:nth-child(5),
	#gastosvarios-grid tr th:nth-child(6),
	#gastosvarios-grid tr td:nth-child(6),
	#liquidaciones-grid tr th:nth-child(2),
	#liquidaciones-grid tr td:nth-child(2),
	#liquidaciones-grid tr th:nth-child(3),
	#liquidaciones-grid tr td:nth-child(3),
	#socios-grid tr th:nth-child(2),
	#socios-grid tr td:nth-child(2),
	#socios-grid tr th:nth-child(4),
	#socios-grid tr td:nth-child(4),
	.button-column .view{
		display: none !important;
	}
}

.modal.fade.in{
	display: block !important;
}

div.nuevotipo{
	padding: 20px;
	margin: 15px 0;
	background: #eee;
}

.generar .preloadAjaxGastos{
	padding: 15px 0;
}