body {
	font-family: 'Open Sans Condensed', sans-serif;
	background-image: url("images/brickwall.png");
	padding: 0;
	margin: 0;
	background-color: #3b404e;
	justify-content: center;
	font-size: 20px;
	border-top: solid 3px #009427;
}

h1 {
	font-size: 3em;
	margin:0;
	padding:0;
	text-transform: uppercase;
	text-align:center;
	color:#FF7900;
}

h2 {
	font-size: 2em;
	color: #009427;
	text-transform: uppercase;
	margin:0;
	padding:0;
}

h3 {
	font-size: 1.8em;
	color: #444;
	margin:5px 0;
	padding:0;
}

hr { 
	border: 0; 
	height: 1px; 
	background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
	background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0); 
}

.slide {
	background: url('images/slider7.jpg');
	margin-top: -15px;
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 390px;
}

.container {
    width: 100%;
    /*height: auto;*/
	margin: 0 auto 10px auto;
	border-bottom:solid 1px #DDD;
	box-sizing: border-box;
}

.container-grid-2 {
	display: grid;
	grid-template: 1fr / repeat(2, 1fr);
	grid-gap: 10px;
}

.container-grid-4 {
	display: grid;
	grid-template: 1fr / repeat(4, 1fr);
	grid-gap: 10px;
}

.item {
	padding: 5px;
}

.container-grid-2 img {
	max-width: 400px;
	display: block;
	margin: 0 auto;
	filter:grayscale(100%);
}

.container-grid-2 img:hover {
	filter: grayscale(0%);
	transition: 1.5s;
}

.container-grid-4 img {
	max-width: 40%;
	display:block;
	margin:0 auto;
	filter: grayscale(0%);
	cursor: pointer;
}

.container-grid-4 img:hover {
	filter:grayscale(100%);
	transition: 1.5s;
}

.container-grid-4 a {
	padding: 5px 0;
	font-size:1.3em;
	color: #444;
	text-align: right;
	text-decoration: none;
}

.container-grid-4 a:hover {
	text-decoration: underline;
	color: #FF7900;
}

.block-main {
	border:solid 1px #DDD;
	background-color: white;
	vertical-align: top;
	border-radius:5px;
	padding: 10px;
	box-sizing: border-box;
}

.block-main p {
	text-align: justify;
}

.block-main h2 {
	text-align: center;
}

.block {
	vertical-align: top;
	border-radius:5px;
	text-align: justify;
	padding: 10px;
	box-sizing: border-box;
}

.block a {
	color: #FF7900;
	text-decoration: none;
}

.block a:hover {
	text-decoration: underline;
}

footer {
	text-align: center;
	color: white;
	background: rgba(0, 0, 0, .8);
	width: 100%;
}

footer a {
	text-decoration: none;
	color: #FF7900;
}


/* ************************** GALERIA ESTILOS *********************** */
.slider{
	display:block;
	position:relative;
	margin:auto;
	width:100%;
	max-width:960px;
	max-height:540px;
	overflow:hidden;	
}

.boton{
	position:absolute;
	display:block;
	bottom:30px;
	margin:0;
	padding:0;
	z-index:999;
	cursor:pointer;
	opacity:0;
}

.boton:nth-child(1){
	left:30px;
}
.boton:nth-child(3){
	left:60px;
}
.boton:nth-child(5){
	left:90px;
}
.boton:nth-child(7){
	left:120px;
}

.slider label{
	position:absolute;
	bottom:30px;
	width:12px;
	height:12px;
	background: rgba (50,50,50,.5);
	border-radius:7px;
	z-index:100;
	border: 1px solid #777;
}

.slider label:nth-child(2){
	left:30px;
}
.slider label:nth-child(4){
	left:60px;
}
.slider label:nth-child(6){
	left:90px;
}
.slider label:nth-child(8){
	left:120px;
}

.boton:checked + label{
	background: rgba (0,0,0,.6);
	border-color: #eee;
}

.contenedor-img img {
	display: block;
	float: left;
}


.cuatro-imagenes {
	width: 400%;
}

.cuatro-imagenes img {
	width: 25%;
}

.contenedor-img {
	position: relative;
	left: 0;
	-webkit-transition: left .3s ease-in;
	-ms-transition: left .3s ease-in;
	-moz-transition: left .3s ease-in;
	-o-transition: left .3s ease-in;
	transition: left .3s ease-in;
}

.boton:nth-child(1):checked ~ .contenedor-img {
	left: 0;
}

.boton:nth-child(3):checked ~ .contenedor-img {
	left: -100%;
}

.boton:nth-child(5):checked ~ .contenedor-img {
	left: -200%;
}

.boton:nth-child(7):checked ~ .contenedor-img {
	left: -300%;
}






