@font-face{
	font-family: fontmain; 
	src: url(ENKRO.ttf);
}

@font-face{
	font-family: fontnav;
	src: url(dipocPERU-nav.ttf);
}

@font-face{
	font-family: fontlog;
	src: url(dipocPERU-log.ttf);
}

@font-face{
	font-family: fonttit;
	src: url(dipocPERU-tit.ttf);
}

*,
*::before,
*::after{
	marging: 0;
	padding: 0;
	box-sizing: border-box;
}

body{
	margin: 0;
	background-color: white;
	color: black;
}

body li {
    list-style: square;
}

header {
  	z-index: 998;
	width: 100%;
	background-color: white;
	padding: 10px 20% 6px 20%;
	position: fixed;
	top: 0;
	left: 0;
	box-shadow: 0 0 10px rgba(0,0,0,.9);
}

#header{
	transition: 1s;
}

#isoimg{
	transition: 1s;
}

#cabeza{
	transition: 1s;
}

nav ul{
	list-style: none;
	width: 20vw;	
	display: flex;
	justify-content: space-around;
	float: left;
}

.menu > li{
	position: relative;
	display: inline-block;
	font-family: fontnav;
}

.menu > li > a{
	display: block;
	text-decoration: none;
}

.menu li a:hover{
	transition: all .3s;
}

.b-index {
	animation-name: FCObg-desk;
	animation-duration: 12s;
	animation-iteration-count: infinite;
}

@keyframes FCObg-desk {
	0% {background-image: url('../img/bg-desk1.jpg');}
	33% {background-image: url('../img/bg-desk2.jpg');}
	67% {background-image: url('../img/bg-desk3.jpg');}
	100% {background-image: url('../img/bg-desk1.jpg');}
}

.dropdown-content{
	padding-top: 15;
	padding-bottom: 10;
 	display: block;
 	position: absolute;
 	background-color: #f9f9f9;
	width: 350px;
  	min-width: 60px;
  	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s;
}

.dropdown-content a{
 	float: none;
 	padding: 8px 6px 0px;
 	text-decoration: none;
 	display: block;
 	text-align: left;
}

.dropdown-content a:hover{
}

.dropdown-content span{
	padding-left: 10;
	color: #154360;
	font-size: 12px;
	line-height: 28px;
}

.buttonMain{
	display: inline-block;
	padding: 8 40;
	background: rgba(0,0,0,.3);
	color: white;
	border-color: white;
	transition: all .2s;
}

.buttonMain:hover{
	background: rgba(255,0,64,.3);
	color: white;
}

.grid-container{
	display: grid;
	margin-top: -110;
	grid-template-columns: 20% 19% 1% 20% 1% 19% 20%;
}

.contact{
	display: grid;
	grid-template-columns: 20% 35% 1% 24% 20%;
	text-align: left;
	background-color: #17202a;
	padding-top: 30px;
	padding-bottom: 80px;
}

.detalle{
	display: grid;
	margin-top: 90;
	grid-template-columns: 20% 24% 1% 35% 20%;
	text-align: left;
	font-family: fontnav;
	font-size: 18px;
}
 
.detalle > div{
	padding-left: 100px;
}

.contact > div{
	color: white;
	font-family: fontnav;
	font-size: 16px;
}

.contact a{
	text-decoration: none;
	color: white;
}

.contact a:hover{
	color: #ddd;
}

.grid-container-div{
	padding-top: 50;
	padding-bottom: 70;
	margin-bottom: 50;
	border-style: solid;
	border-width: 1px;
	background: rgba(255,255,255,.6);
	font-family: fontmain;
	font-size: 48px;
	position: relative;
}

.grid-container-div > p{
	color: #154360;
	font-size: 18px;
}

.servtit{
	transition: transform .2s;
	cursor: default;
}

.servtit:hover{
 	transform: scale(1.2);
}

.grid-container-div > button{
	padding: 3 15;
	position: absolute;
	bottom: 30;
	left: calc(50% - 55px);
	transition: all .2s;
}

.grid-container-div > button:hover{
	background-color: #154360;
	color: white;
}

.grid-container-div > ul{
	color: #154360;
	font-size: 16px;
	font-family: fontnav;
	text-align: left;
	margin-left: 35;
	margin-right: 15;
}

.submenu{
	position: absolute;
	background: #333333;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1.5s;
}

.submenu li a{
	display: block;
	padding: 15px;
	color: #fff;
	font-family: 'Open sans';
	text-decoration: none;
}

header li:hover .dropdown-content{
	visibility: visible;
	opacity: 1;
}

.menu li:hover .submenu{
	visibility: visible;
	opacity: 1;
}

p {
	font-family: fontnav;
	font-size: 6vh;
	color: white;
}

.dropdown-content li {
	position: relative;
	list-style: none;
	font-family: fontnav;
	letter-spacing: 0.5px;
	padding: 0 10px;
}

header a {
	color: #2471a3;
	font-size: 16px;
	text-align: center;
	text-decoration: none;
	line-height: 20px;
	border-radius: 4px;
}

header li::after {
	content: '';
	position: absolute;
	background-color: #ff3c78;
	height: 2px;
	width: 0;
	left: 0;
	bottom: -6px;
	transition: all 0.5s ease;
}

header a:hover {
	color: #154360;
}

header li:hover {
	color: #fff;
}

header li:hover::after {
	width: 100%
}

header a.logo {
	float: left;
	font-family: fontmain;
	font-size: 28px;
	color: #154360;
	padding: 12px 12px;
}

header a.active {
	color: white;
	background-color: #A8518A;
}

header a.icon {
	font-size: 32px;
	color: #A8518A;
	visibility: hidden;
}

header-right {
	float: right;
	margin: 0 10%;
}

.text_m {
	position: fixed;
	bottom: 25%;
	left: 10%;
	width: 70%;
}

.logo_b {
	width: 25%;
}

@media only screen and (orientation: portrait) {
	.grid-container{
		grid-template-columns: 1% 32% 1% 32% 1% 32% 1%;
	}
	header {
		padding: 24px 10px 6px;
		filter: opacity(1);
	}
	header a {
		float: none;
		display: block;
		text-align: center;
	}
	header-right {
		display: none;
		margin-top: 80px;
		float: none;
	}
	header a.logo {
		text-align: left;
		float: left;
	}
	header a.icon {
		visibility: visible;
		float: right;
		margin: 0 5%
	}
	p {
		font-size: 10vw;
	}
	.text_m {
		bottom: 40%;
	}
	.logo_b {
		width: 40%;
	}
}

main > div {
	display: none;
}

.fade {
	animation-name: fade;
	animation-duration: 1.6s;
}

@keyframes fade {
	from {opacity: 0}
	to {opacity: 1}
}

.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -30px;
	padding: 16px;
	color: #bbb;
	font-weight: bold;
	font-size: 40px;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

.prev{
	position: absolute;
	left: 10%;
	border-radius: 3px 0 0 3px;
}

.next {
	position: absolute;
	right: 10%;
	border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
	background-color: #4682B4;
	color: white;
}

.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.active, .dot:hover {
	background-color: #A8518A;
}

th {
	font-family: fontmain;
	font-size: 48px;
	padding: 10px;
	text-align: left;
}

td {
	font-family: fontnav;
	font-size: 24px;
	color: black;
	padding: 10px;
}

.old{
  	z-index: 999;
	position: fixed;
	top: 8px;
	right: 18.3%;
	width: 50px;
}

footer{
	text-align: left;
	display: block;
	color: white;
	background-color: #17202a;
	padding: 15px 20% 25px 20%;
	opacity: 1;
	position: fixed;
	bottom: 0px;
	width: 100%;
	font-size: 14px;
}

footer a{
	text-decoration: none;
	font-size: 28px;
	color: white;
	padding: 0 12px;
}

footer a:hover{
	color: #ddd;
}

footer p{
	font-family: fontnav;
	font-size: 14px;
}

.contact i{
	transform: scale(1.2, 1.2);
	margin-left: 15px;
	margin-right: 15px;
}