/* WP Navbar desktop
-------------------------------------------------- */

.demos-wp-navbar-desktop-wrapper {
	font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  position: absolute;
  width: 100%;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0;
  z-index: 1030;
}
.demos-wp-navbar-desktop-fixed {
  position: inherit;
}
.demos-wp-navbar-desktop {
  position: relative;
  height: 60px;
  z-index: auto;
}
.demos-wp-navbar-desktop:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}


/* WP Navbar desktop logo
-------------------------------------------------- */

.demos-wp-navbar-desktop-logo {
	float: left;
	margin: 4px 0 0;
}
.demos-wp-navbar-desktop-logo-link > img {
	/*width: 166px;
	height: 22px;*/
    width: 180px;
    height: auto;
}


/* WP Navbar desktop menu settings
-------------------------------------------------- */

.demos-wp-navbar-desktop-menu {
	float: right;
}


/* WP Navbar desktop menu superfish settings
-------------------------------------------------- */

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}
.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/* WP Navbar desktop menu superfish custom
-------------------------------------------------- */

.sf-menu {
	float: left;
}
.sf-menu ul {
	min-width: 180px;
}
.sf-menu a {
	padding: 18px 12px;
	text-decoration: none;
	zoom: 1;
}
.sf-menu > li.menu-item-has-children > a {
	padding: 18px 12px;
	text-decoration: none;
	zoom: 1;
}
.sf-menu li {
	white-space: nowrap;
	*white-space: normal;
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu ul a {
	padding: 11px 12px 12px 12px;
	font-size: 13px;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	-webkit-transition: none;
	transition: none;
}
.page-template-template-wp-navbar .sf-menu > li:last-child > a {
	padding: 28px 0px 29px 12px;
	text-decoration: none;
	zoom: 1;
}

/*** Alineación derecha ***/
.sf-menu li.dropdown-right ul {
	left: auto;
	right: 0;
	min-width: 150px;
}
.sf-menu li.dropdown-right a {
  text-align: right;
	zoom: 1;
}
.sf-menu li.dropdown-right ul ul {
	right: 100%;
}


/* WP Navbar desktop menu superfish iconos
-------------------------------------------------- */

/*** Separacion icon del texto en primer level ***/
.sf-arrows .sf-with-ul {
	padding-right: 28px;
}

/*** Separacion icon del texto en segundo level ***/
.sf-arrows ul .sf-with-ul {
	padding-right: 38px;
}

/*** Separacion icon del texto en segundo level dropdown right ***/
.sf-arrows li.dropdown-right ul .sf-with-ul {
	padding-right: 12px;
	padding-left: 38px;
}

/*** Genera los iconos ***/
.sf-arrows .sf-with-ul:after {
	content: '\f0d7';
	font-family: 'FontAwesome';
	position: absolute;
	margin-top: 1px;
	margin-left: 5px;
	height: 0;
	width: 0;
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	content: '\f0d8';
}

/*** Genera los iconos segundo level ***/
.sf-arrows ul .sf-with-ul:after {
	content: '\f0da';
	margin-left: 5px;
	right: 20px;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	content: '\f0d7';
	right: 23px;
}

/*** Genera los iconos segundo level izquierda ***/
.sf-arrows li.dropdown-right ul .sf-with-ul:after {
	float: left;
	content: '\f0d9';
	margin-right: 30px;
	left: 10px;
}
.sf-arrows li.dropdown-right ul li > .sf-with-ul:focus:after,
.sf-arrows li.dropdown-right ul li:hover > .sf-with-ul:after,
.sf-arrows li.dropdown-right ul .sfHover > .sf-with-ul:after {
	content: '\f0d7';
	left: 10px;
}


/* WP Navbar desktop menu superfish ultimo item
-------------------------------------------------- */
.sf-menu > li.no-padding-right > a {
	padding-right: 0px;
}


/* WP Navbar desktop estilos
-------------------------------------------------- */

/*** Navbar desktop ***/
.demos-wp-navbar-desktop:before {
	background-color: #fff;
}

/*** Primer level a ***/
.sf-menu a {
	color: #515b69;
    border-top: 3px solid transparent;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-size: 15px;
}
.sf-menu a:hover,
.sf-menu a:focus,
.sf-menu li.current-menu-ancestor > a,
.sf-menu li.current-menu-ancestor > a:hover,
.sf-menu li.current-menu-ancestor > a:focus,
.sf-menu li.current-menu-item > a,
.sf-menu li.current-menu-item a:hover,
.sf-menu li.current-menu-item a:focus,
.sf-menu li.current_page_parent > a,
.sf-menu li.current_page_parent a:hover,
.sf-menu li.current_page_parent a:focus {
	color: #1a288b;
    border-top: 3px solid #1a288b;
}

/*** Segundo level a ***/
.sf-menu ul a {
	color: #cccccc;
}
.sf-menu ul a:hover,
.sf-menu ul a:focus,
.sf-menu ul li.current-menu-ancestor > a,
.sf-menu ul li.current-menu-ancestor > a:hover,
.sf-menu ul li.current-menu-ancestor > a:focus,
.sf-menu ul li.current-menu-item > a,
.sf-menu ul li.current-menu-item a:hover,
.sf-menu ul li.current-menu-item a:focus {
	color: #aaaaaa !important;
}

/*** Tercer level a ***/
.sf-menu ul ul a {
	color: #cccccc;
}
.sf-menu ul ul a:hover,
.sf-menu ul ul a:focus,
.sf-menu ul ul li.current-menu-ancestor > a,
.sf-menu ul ul li.current-menu-ancestor > a:hover,
.sf-menu ul ul li.current-menu-ancestor > a:focus,
.sf-menu ul ul li.current-menu-item > a,
.sf-menu ul ul li.current-menu-item a:hover,
.sf-menu ul ul li.current-menu-item a:focus {
	color: #aaaaaa !important;
}

/*** Primer level li ***/
.sf-menu > li {
	/*background: #BDD2FF;*/
	padding-right: 11px;
}
.sf-menu > li:hover > a {
	/*color: #676767;*/
}

/*** Segundo level li ***/
.sf-menu ul li {
	background: #333333;
}
.sf-menu ul li:hover,
.sf-menu ul li.sfHover,
.sf-menu ul li.current-menu-item,
.sf-menu ul li.current-menu-ancestor,
.sf-menu ul li.current-menu-ancestor:hover,
.sf-menu ul li.current-menu-ancestor.sfHover {
	background: #3e3e3e;
}

/*** Tercer level li ***/
.sf-menu ul ul li {
	background: #333333;
}
.sf-menu ul ul li:hover,
.sf-menu ul ul li.sfHover,
.sf-menu ul ul li.current-menu-item,
.sf-menu ul ul li.current-menu-ancestor,
.sf-menu ul ul li.current-menu-ancestor:hover,
.sf-menu ul ul li.current-menu-ancestor.sfHover {
	background: #3e3e3e;
}

/*** Levels li border-top ***/
.sf-menu ul li {
	border-top: 1px solid #494949;
}
.sf-menu ul ul li {
	border-top: 1px solid #494949;
}
.sf-menu ul li:first-child {
	border-top: 0;
}