

/* ------------------------------------------------------------
	General Styles
------------------------------------------------------------ */

/** {
	box-sizing: border-box;
}
body {
	font-family: "Proxima Nova", Helvetica, Arial, sans-serif;
	background: white;
	color: black;
	font-size: 16px;
	line-height: 1;
	padding: 2em;
}*/
.sitemap {
	margin: 2em 0;
	text-align: center;
}

.tooltip{
	opacity: 1 !important;
}
.tooltip-inner{
	background-color: #f0f7ff !important;
	border: 1px solid #cee5ff;
	color: #666;
	opacity: 1;
	-webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,.15);
box-shadow: 0 2px 2px 0 rgba(0,0,0,.15);
}
.arrow:before{
/*	background-color: #fff !important;
	border: 1px solid red !important;*/
	border-top-color: #cee5ff !important;
	border-right-color: transparent !important;
}
/* ------------------------------------------------------------
	Page Styles
------------------------------------------------------------ */

/* -------- Top Level --------- */

.primaryNav {
	clear: both;
	width: 100%;
	margin-top: 3em;
}
.primaryNav #home {
	position: absolute;
	margin-top: -3em;
	margin-bottom: 0;
	min-width: 11.5em;
	width: 100%;
}
.primaryNav #home:before {
	display: none;
}
.primaryNav #home2 {
	position: absolute;
	margin-top: -8em;
	margin-bottom: 0;
	min-width: 11.5em;
	width: 100%;
}
.primaryNav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	position: relative;
}
.primaryNav li {
	flex: 1;
	flex-basis: 11.5em;
	padding-right: 1.25em;
	position: relative;
}
.primaryNav > ul > li {
	margin-top: 3em;
}
.primaryNav li a {
	margin: 0;
	padding: .875em .9375em .9375em .9375em;
	display: block;
	font-size: .9375em;
	font-weight: bold;
	color: white;
	text-shadow: 0 0 10px rgba(0,0,0,.1);
	border: 1px solid  rgba(0,0,0,.025);
	box-shadow: 0px 2px 1px rgba(0,0,0,0.15);
	text-decoration: none;
}
.primaryNav li a:hover {
}
.primaryNav a:link:after,
.primaryNav a:visited:after,
.utilityNav a:link:after,
.utilityNav a:visited:after {
	/*content: " "attr(href)" ";*/
	content: "";
	display: block;
	font-weight: 600;
	font-size: .75em;
	margin-top: .25em;
	word-wrap: break-word;
	color: rgba(255,255,255,.75);
}

/* -------- Second Level --------- */

.primaryNav ul ul {
	display: block;
}
.primaryNav ul ul li {
	padding-top: .6875em;
	padding-right: 0;
}
/*.primaryNav ul ul li a {
	background-color: #b2dcfd;
}
.primaryNav ul ul li a:hover {
	background-color: #70befb;
}*/
.primaryNav ul ul li:first-child {
	padding-top: 2em;
}

/* -------- Third Level --------- */

.primaryNav ul ul ul {
	margin-top: .6em;
	padding-top: .6em;
	padding-bottom: .625em;
}
.primaryNav ul ul ul li {
	padding-top: .3125em;
	padding-bottom: .3125em;
}
.primaryNav ul ul ul li a {
	background-color: rgba(238, 227, 122, 1);
	font-size: .75em;
	padding: .75em;
	width: 90%;
	margin-right: 0;
	margin-left: auto;
}
.primaryNav ul ul ul li a:hover {
	background-color: rgb(250, 227, 72);
}
.primaryNav ul ul ul li:first-child {
	padding-top: 1em;
}
.primaryNav ul ul ul li a:link:after,
.primaryNav ul ul ul li a:visited:after {
	font-size: .75em;
}

/* --------	Fourth Level --------- */

.primaryNav ul ul ul ul {
	margin-top: 0;
	padding-top: .3125em;
	padding-bottom: .3125em;
}
.primaryNav ul ul ul ul li a {
	background-color: #de003a;
	padding: .75em ;
	width: 80%;
}
.primaryNav ul ul ul ul li a:hover {
	background-color: #c20035;
}
.primaryNav ul ul ul ul li a:link:after,
.primaryNav ul ul ul ul li a:visited:after {
	display: none;
}

/*color levels*/


/* consejo */
.primaryNav .one li a{
	background-color: rgba(64,162,237,1);
}
.primaryNav .one li a:hover{
	background-color: rgba(22,135,210,1);
}
.primaryNav .one li:nth-child(2n) a{
	background-color: rgba(22,135,210,1);
}
.primaryNav .one li:nth-child(2n) a:hover{
	background-color: rgba(16,118,185,1);
}
/* coordinador */
.primaryNav .two li a{
	background-color: rgba(132,187,242,1);
}
.primaryNav .two li a:hover{
	background-color: rgba(99,167,234,1);
}
/* 1 level */
.primaryNav li a{
	background-color: rgba(64,162,137,.7);
}
.primaryNav li a:hover{
	background-color: rgba(64,162,137,1);
}
/* 2 level */
.primaryNav ul ul li a{
	background-color: rgba(239,208,122,1);
}
.primaryNav ul ul li a:hover{
	background-color: rgba(206,176,98,1);
}


/* ------------------------------------------------------------
	Connecting Lines:
	Uncomment 'border-color: red' for debugging
------------------------------------------------------------ */

.primaryNav ul li.first:before{
	/*border: none;*/
	border-top-width: 0;
	/*height: 5em;*/
}
.primaryNav ul:before,
.primaryNav ul:after,
.primaryNav ul li:before,
.primaryNav ul li:after,
.primaryNav ul.two li:after {
	display: block;
	content: '';
	position: absolute;
	border-width: 0;
	border-color: #e3e3e3;
	border-style: solid;
	z-index: -1;
	/* border-color: red; */
}
.consejo{
	background: #e3eefb;
	padding: 10px 10px 20px 10px;
}
.primaryNav ul.one li{
	padding: 0 1.25em;
}
.primaryNav ul.one,
.primaryNav ul.two{
	justify-content: center;
}
.primaryNav ul.one li:before{
	display: none;
}
.primaryNav > ul.two > li:before{
	border-top-width:0;
	height: 7.38em;
	top: -3em;
}
.primaryNav > ul.two > li:after {
	height: 1.375em;
	top: -1.375em;;
	right: calc(50% + .625em);
	width: calc(100% - 2px);
	border-top-width: 2px;
	border-right-width: 2px;
	/* border-color: red; */
}
.primaryNav > ul.two > li:after{
	border-top-width:0;
	height: 3em;
	top: 3.37em;
}

.primaryNav > ul > li:before {
	height: 1.375em;
	top: -1.375em;;
	right: calc(50% + .625em);
	width: calc(100% - 2px);
	border-top-width: 2px;
	border-right-width: 2px;
	/* border-color: red; */
}
.primaryNav > ul > li:first-child + li:before {
	/*border-top-width: 0;
	height: 5em;
	top: -5em;*/
	/* border-color: red; */
}
.primaryNav ul ul li:after {
	width: 50%;
	height: .6875em;
	top: 0;
	right: 1px;
	border-left-width: 2px;
	/* border-color: red */;
}
.primaryNav ul ul li:first-child:before {
	width: 50%;
	height: 1.3125em;
	top: .6875em;
	right: 1px;
	border-left-width: 2px;
	/* border-color: red; */
}
.primaryNav > ul > li:last-child:after {
	border-bottom-width: 0;
}
.primaryNav ul ul ul li:before {
	width: calc(50% - 5px) !important;
	height: calc(100% - 2px);
	top: -50%;
	left: 0;
	border-left-width: 2px;
	border-bottom-width: 2px;
	/* border-color: red; */
}
.primaryNav ul ul ul li:first-child:before {
	height: 2.125em;
	top: -1px;
	border-top-width: 2px;
	/* border-color: red; */
}
.primaryNav ul ul ul:before {
	width: 50%;
	height: 1.25em;
	top: -10px;
	right: 1px;
	border-left-width: 2px;
	/* border-color: red; */
}
.primaryNav ul ul ul li:after {
	border-width: 0;
}
.primaryNav ul ul ul ul li:before,
.primaryNav ul ul ul ul li:first-child:before {
	display: none;
}

.primaryNav ul ul ul ul:before {
	width: 1px;
	height: calc(100% + 2.5em);
	top: -2.5em;
	left: 0;
	border-left-width: 2px;
	/* border-color: red; */
}

/* ------------------------------------------------------------
	Utility Navigation
------------------------------------------------------------ */

.utilityNav {
	float: right;
	margin-top: 0;
	margin-bottom: 1em;
	max-width: 48%;
	list-style-type: none;
}
.utilityNav li {
	padding: 0 0 .625em .625em;
	display: inline-block;
}
.utilityNav li:first-child {
}
a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus, 
a:not([href]):not([tabindex]):hover{
	color: white;
}
.utilityNav li a {
	display: block;
	font-size: .75em;
	font-weight: 700;
	padding: .75em 1em;
	font-weight: bold;
	text-align: left;
	color: white !important;
	background-color: #d0ace8;
	border: 1px solid  rgba(0,0,0,.025);
	box-shadow: 0px 2px 0 rgba(0,0,0,0.15);
	text-shadow: 0 0 10px rgba(0,0,0,.15);
	text-decoration: none;
}
.utilityNav li a:hover {
	background-color: #b277d9;
}
.utilityNav li a:link:after,
.utilityNav li a:visited:after {
	color: rgba(255,255,255,1);
	font-size: .75em;
	font-weight: 600;
	margin-top: .25em;
}

/* ------------------------------------------------------------
	Responsive Styles
------------------------------------------------------------ */

@media screen and (max-width: 30em) {
	.primaryNav ul {
		display: block;
	}
	.primaryNav li {
		width: 100%;
		padding-right: 0;
	}
	.primaryNav #home {
		width: 100%;
		position: relative;
		margin-bottom: -1em;
		margin-top: 0;
	}
	.utilityNav {
		float: none;
		display: block;
		width: 100%;
		text-align: right;
		margin-bottom: 2.5em;
		max-width: 100%;
	}
}

/* The media queries below keep the grid column widths intact when
a column wraps. This prevents the wrapped column from displaying at
100% width. These queries also make the homepage line item flex
appropriately. When your sitemap is complete, remove the queries
that you don't need, and your sitemap layout will work perfectly. */

/* two column */
@media screen and (min-width: 30em) {
	.primaryNav > ul > li {	max-width: 50%;	}
}
/* three column */
@media screen and (min-width: 38.5em) {
	.primaryNav > ul > li {	max-width: 33%;	}
}
/* four column */
@media screen and (min-width: 50em) {
	.primaryNav > ul > li {	max-width: 25%;	}
}
/* five column */
@media screen and (min-width: 61em) {
	.primaryNav > ul > li {	max-width: 20%;	}
}
/* six column */
@media screen and (min-width: 73em) {
	.primaryNav > ul > li {	max-width: 16.66%;	}
}
/* seven column */
@media screen and (min-width: 84.5em) {
	.primaryNav > ul > li {	max-width: 15.285%;	}
}
/* eight column */
@media screen and (min-width: 96em) {
	.primaryNav > ul > li {	max-width: 12.5%; }
}
/* nine column */
@media screen and (min-width: 107.5em) {
	.primaryNav > ul > li {	max-width: 11.11%; }
}
/* ten column */
@media screen and (min-width: 119em) {
	.primaryNav > ul > li {	max-width: 10%; }
}