/*  Oilbmex Directory Layout */
.dirBox{
	padding: 30px auto 30px auto;
	border: 1px solid rgba(0, 0, 0, 0.8);
	/* max-width: 800px; */
}
.dirTitulo{
	background-color: royalblue;
	color: white;
	width: 100%;
	font-size: 20px;
	text-align: center;
	padding:15px 0px;
}
.dirItemTit{  
	background-color: cornflowerblue;
	color: white;
	display: grid;
	grid-template-columns:  100px repeat(auto-fit, minmax(200px, 1fr));
	grid-template-rows: auto-fit;
	grid-column-gap: 5px;
	grid-row-gap: 5px;
	padding-top: 5px;
}
.dirRow{
	display: grid;
	grid-template-columns:  100px repeat(auto-fit, minmax(200px, 1fr)) ;
	grid-template-rows: auto-fit;
	grid-column-gap: 5px;
	grid-row-gap: 5px;
	align-items: end;
	padding: 0px;
}
.dirRow:nth-child(even) {background: 	azure}
.dirRow:nth-child(odd) {background: lightsteelblue}
.precio{
	margin-top: 0.3rem;
	text-align: center;
	font-size: 1rem;
}
.item{
/* 	font-family: 'Quicksand', sans-serif;	padding: 0px 15px 0px 0px;  */
	align-self: center;
	overflow:hidden;
	text-overflow:ellipsis;
	font-size:1rem;
}
.itemc{
	text-align: center;
}
.itemr{
	text-align: right;
	padding: 0px 6px;
}
.logo{
	display: flex;
	flex-flow: column;
	width: 200px;
	height:50px;
	box-shadow: none!important;
	object-fit: contain;
}
/*  Responsive Design */
html{
	box-sizing: border-box;
	font-family: 'Quicksand', sans-serif;	font-size: 1rem;
	color: var(--dark);
}
body{
	background: #ccc;
	margin: 0px 0px;
	padding: 0px 0px;
}
h4{
	padding:0px;
	margin: 0px;
}
p{
	padding:0px;
	margin: 0px;
}
a{
	text-decoration: none;
	border:0;
	padding: 0;
}
.btn{
	margin: 15px 0px 0px 0px;
	background: var(--ambar);
	color: var(--dark);
	padding: 0.4rem 0.8rem;
	text-decoration: none;
	border:0;
	box-shadow: var(--shadow);
}
.btn:hover{
	background: var(--dark);
	color: var(--light);
}
img{
	max-width:100%;
}
.wrapper{
	margin: 5px 5px;
	line-height: 1.4;
	display: grid;
	grid-gap: 20px;
}
/*   Navigation */
.main-nav ul{
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(4, 1fr);
	padding: 0;
	list-style: none;
}
.main-nav a{
	/* background: var(--primary); */
	/* display: block; */
	text-decoration: none;
	/* padding: 0.8rem; */
	/* text-align: center; */
	/* color: var(--dark); */
	/* text-transform: uppercase; */
	/* font-size: 1.1rem; */
	/* box-shadow: var(--shadow); */
}
.main-nav a:hover{
	/* background: var(--ambar); */
	/* color: var(--dark); */
	/* margin: 0px auto; */
}

/*  Top Container */
.top-container{
	display: grid;
	grid-gap: 20px;
	grid-template-areas: 
		"top-box-t top-box-t top-box-t"
		"top-box-a top-box-a top-box-a"
		"top-box-a top-box-a top-box-a"
		"top-box-a top-box-a top-box-a";
}
.top-container h3{
	font-size:1rem;
	font-weight: normal;
}

/*  Showcase */
.showcase{
	grid-area: showcase;
	min-height: 400px;
	/*  background: url(imagenes/showcase.jpg);  */
	background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.5) 100%), url(../imagenes/showcase.jpg) repeat 0 0;
	background-size: cover; 
	background-position: center;
 	padding: 3rem;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	box-shadow: var(--shadow);
}
.showcase h1{
	font-size: 3rem;
	margin-bottom: 0px;
	color: var(--ambar);
	text-shadow:2px 2px 0 #444;
}
.showcase p{
	font-weight: 700;
	font-size: 2rem;
	margin-top: 0px;
	padding: 3rem 5rem 3rem 0rem;
	color: var(--ambar);
	text-shadow:2px 2px 0 #444
}
/* Top Box */
.top-box{
	background: var(--primary);
	display: grid;
	align-items: center;
	justify-items: center;
	box-shadow: var(--shadow);
	padding: 1.5rem;
}
.top-box{
	font-size: 1rem;
}
.item2{
	font-size: 1rem;
	padding-top: 0.5rem;
	text-align: center;
}
.top-box-t{
	grid-area: top-box-t;
	width: 100%;
	height: 2.5rem;
	/* text-align: center; */
	background: #357376;
}
.top-box-t h3{
	padding: 0.5rem 0.5rem;
	margin: 0;
	text-align: center;
	color: #fff;
}
.top-box-a{
	grid-area: top-box-a;	
}
.top-box-b{
	grid-area: top-box-b;	
}
.top-box-c{
	grid-area: top-box-c;	
}
.top-box-d{
	grid-area: top-box-d;	
}
.top-box-e{
	grid-area: top-box-e;	
}
.top-box-f{
	grid-area: top-box-f;	
}
.top-box-g{
	grid-area: top-box-g;	
}
.top-box-h{
	grid-area: top-box-h;	
}
.top-box-i{
	grid-area: top-box-i;	
}
/*  Boxes */
.boxes{
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr) );
}
.box{
	background: var(--primary);
	text-align: center;
	padding: 1.5rem 2rem;
	box-shadow: var(--shadow);
}
/*  Info */
.info{
	background: var(--primary);
	box-shadow: var(--shadow);
	display: grid;
	grid-gap: 30px;
	grid-template-columns: 26% 37% 37%;
	padding: 3rem;
}
.info_tit{
	font-size: 1.6rem;
	margin-bottom: 1rem;
}
.info_text{
	font-size: 1.1rem;
	padding-right: 2rem;
	margin-bottom: 0.5rem;
}
/*  Portable */
.portable{
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr) );
}
.portable img{
	width: 100%;
	box-shadow: var(--shadow);
}
.portable2{
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr) );
}
.logos{
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr) );
	justify-content: space-around; 
	margin: 2.2rem;
}
.logos img{
	max-width: 210px;
	max-height: 130px;
	margin: 0.5rem;
	padding: 0.3rem;
	place-self: center;
	/*  
	width: 100%;
	box-shadow: var(--shadow);
	*/
}
/*  Top 10 */
.dir10Box{
	width: 100%;
}
.ind10Box{
	width: 100%;
}
/*  Footer */
footer{	
	background: var(--dark);
	color: var(--light);
	text-align: center;
}
/*  Media Queries */
@media(max-width: 750px){
		.portable2{
			display: block;
		}
		.ind10Box{
			width: 100%;
			margin-bottom: 15px;
		}
	}
@media(max-width: 700px){
	.top-container{
		grid-template-areas: 
			"top-box-t top-box-t top-box-t"
			"top-box-a top-box-a top-box-a"	
			"top-box-a top-box-a top-box-a"	
			"top-box-a top-box-a top-box-a";	
	}
	.showcase h1{
		font-size: 2.5rem;
	}
	.showcase p{
		font-size: 1.8rem;
		padding: 2rem 3rem 2rem 0rem;
	}
	.main-nav ul{
		grid-template-columns: 1fr;
	}
	.info{
		grid-template-columns: 1fr;
	}
	.info btn{
		display: block;
		text-align: center;
		margin: auto;
	}
	.logo{
		margin: 0px auto;
	}
}
@media(max-width: 500px){
	.top-container{
		grid-template-areas: 
			"showcase"
			"top-box-t"
			"top-box-a"
			"top-box-a"
			"top-box-a"
			"top-box-a"
			"top-box-a"
			"top-box-a"
			"top-box-a"
			"top-box-a"
			"top-box-a";
	}
	.showcase p{
		font-size: 1.5rem;
		padding: 1.5rem 2rem 1.5rem 0rem;
	}
	.wrapper{
		margin: 10px 10px;
	}
	.logo{
		margin: 0px auto;
	}
}
