@media ( min-width: 999px ){

	#contenedor_categorias_principal{
		width: 70%;
		margin: auto;
	}



	#contenedor_categorias_principal > div:nth-child(1){
		width: 48%;
		padding-bottom: 30%;	
		margin-right: 1.5%;
		margin-bottom: 3%; 
		cursor: pointer;
		
	}	

	#contenedor_categorias_principal > div:nth-child(2){
		width: 48%;
		padding-bottom: 30%;	
		margin-left: 1.5%;
		margin-bottom: 3%;
		cursor: pointer;
	}	



	#contenedor_categorias_principal > div{
		display: inline-block;
		background-size: 100%;
		background-repeat: no-repeat;
		color: #FFF;	
		text-align: center;
		
		position: relative;

	}


	#contenedor_categorias_principal > div > div{
		position: absolute;
		width: 100%;
		top: 50%;
		font-family: serif;
		font-style: italic;
		font-size: 170%;
		text-shadow: 2px 2px 3px #000;
	}
	
	
	#titulo_categorias{
		display: none;
	}
}	




@media ( max-width: 998px ){

	#titulo_categorias{
		display: block;
		color: #555;
		font-size: 30px;
		text-align: center;
		margin-bottom: 20px;
		margin-top: 50px;	
		font-family: serif;
		position: relative;
		
	}



	#contenedor_categorias_principal > div:nth-child(1){
		width: 49%;
		margin-right: 1%;
		cursor: pointer;	
		padding-bottom: 25%;	
	}	

	#contenedor_categorias_principal > div:nth-child(2){
		width: 49%;
		cursor: pointer;	
		padding-bottom: 25%;	
	}	




	#contenedor_categorias_principal{
		width: 100%;
		margin: auto;
	}



	#contenedor_categorias_principal > div{
		width: 100%;
	
		cursor: pointer;
	
		display: inline-block;
		background-size: 100%;
		background-repeat: no-repeat;
		color: #FFF;	
		text-align: center;
		
		position: relative;

	}


	#contenedor_categorias_principal > div > div{
		position: absolute;
		width: 100%;
		top: 50%;
		font-family: serif;
		font-style: italic;
		font-size: 30px;
		text-shadow: 2px 2px 3px #000;
	}
}	
