﻿nav {
	font-family: 'VolkswagenSerial';
	font-size: 18px;
	background: #00AA00;
    color: #ffffff;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 2;
}

nav ul {
	list-style: none;
}

nav ul li {
	display: inline-block;
	position: relative;
}

nav ul li a:hover {
	background: #ffffff;
	color: #00AA00;
	text-decoration: underline;
	position: relative;
}

nav ul li.active {
    background: #ffffff;
}

nav ul li.active a {
    color: #00AA00;
}

nav ul li.active a:hover {
    background: #ffffff !important;
    color: #00AA00 !important;
}

nav ul li a {
	color: #ffffff;
	padding: 20px;
	text-decoration: none;
	display: block;
}

nav ul li a span {
	margin-right: 10px;
}

nav ul li:hover .opcionesubmenu {
	display: none;
}

.opcionesubmenu {
	display: none;
	background: #00AA0080;
	width: 140%;
	position: absolute;
	z-index: 1;
}

.opcionesubmenu li {
	display: block;
}

.opcionesubmenu li a {
	border-top: 1px solid rgba(255, 255, 255, .1);
	display: block;
}

.preicon {
	position: relative;
	margin-left: 0px;
	margin-right: 0px;
}

.realicon {
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
}

.posticon {
	float: right;
	position: relative;
	top: 2px;
	margin-left: 20px;
	margin-right: 0px;
}

.fechacalendario {
	margin-left: 60px;
}

@media screen and (max-width: 1234px) {
	nav {
		width: 100%;
		font-size: 16px;
	}
}

@media screen and (max-width: 1150px) {
	.fechacalendario {
		display: none;
	}
}

@media screen and (max-width: 1000px) {
	
	.menu-bar {
		font-family: 'Baskerville-SemiBoldItalic';
		background: #336699;
		top: 0;
		width: 100%;
		position: fixed;
		display: block;
	}

	.menu-bar span {
		float: right;
		font-size: 30px;
	}

	.menu-bar .bt-menu {
		background: #336699;
		color: #FFFFFF;
		padding: 20px;
		text-decoration: none;
		font-weight: bold;
		font-size: 25px;
		display: block;
	}
	
	.menu-bar .bt-menu:hover {
		background: #005000;
		color: #00FF00;
	}

	nav {
		top: 69px;
		width: 80%;
		font-size: 16px;
		height: calc(100% - 69px); /* Resta el padding-top asignado al body para que el menu no sobresalga de las dimensiones */
		/*
		left: -100; ó right: 100%;
		*/
		left: -80%;
		margin: 0;
		position: fixed;
		overflow: scroll;
	}

	nav ul .contactenos {
		border-bottom: 1px solid rgba(255, 255, 255, .1);
	}

	nav ul li {
		border-top: 1px solid rgba(255, 255, 255, .1);
		display: block;
	}

	nav ul li:hover .opcionesubmenu {
		width: 100%;
		position: relative;
		display: none;
	}

	nav ul li a {
		display: block;
	}

	nav ul li .opcionesubmenu {
		width: 100%;
		position: relative;
	}

	.fechacalendario {
		font-size: 14px;
		top: 110px;
		width: 100%;
		right: 20%;
	}

	.fechacalendario a:hover {
		background: #00AA0040;
	}
}