html {
}


/* Header */

.hinverse .header .logo,
.hinverse .header .contact { background: #fff;  }
.hinverse .header .contact svg g { stroke: #222; }

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	z-index: 999;
}

.header a {
	color: #fff;
}
.header .logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 65px;
	padding: 10px;
	/*background: #1D1C21;*/
	z-index: 99999;
}

.header .logo img{
	height: auto;
}

.header .btn-contact {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;	
	width: 220px;
	height: 65px;
}
.header .contact {
	position: absolute;
	width: 65px;
	height: 65px;
	line-height: 100px;
	text-align: center;
	z-index: 99999;
	top: 0;
	right: 0;
    background-image: url(img/email-consulta.gif);
    background-repeat: no-repeat;
    background-position: top center;
}
.header .contact:hover {
    background-position: bottom center;
}
.header .wsp {
	position: absolute;
	width: 65px;
	height: 65px;
	line-height: 100px;
	text-align: center;
	z-index: 99999;
	left: 95px;

    background-image: url(img/wsp-consulta.png);
    background-repeat: no-repeat;
    background-position: top center;
}
.header .wsp:hover {
    background-position: bottom center;
}
.header .logo-desarrolladora {
	position: absolute;
	width: 90px;
	height: 65px;
	line-height: 100px;
	text-align: center;
	z-index: 99999;

	background-image: url(img/romano.png);
    background-repeat: no-repeat;
    background-position: top center;
}
.header .logo-desarrolladora:hover {
    background-position: bottom center;
}



.header .contact svg {
	width: 30px;
	height: 20px;
}
.header .contact svg g {
	transition: 0.3s all;
}
.header .contact:hover svg g {
	stroke: #b0846d;
}

.header .nav-menu {
	position: relative;
	float: right;
	width: 30px;
	height: 30px;
	padding: 19px 15px;
	cursor: pointer;
	background: #1a4a46;
	z-index: 99999;
}
.header .nav-menu .menu-line { float: right; display: block; width: 100%; height: 2px; margin: 3px 0; background: rgba(255,255,255,0.95); transition: 0.3s; border-radius: 6px; }
.header .nav-menu .menu-line:nth-child(1) { width: 60%; }
.header .nav-menu .menu-line:nth-child(3) { width: 80%; }
.header .nav-menu:hover .menu-line { width: 100%; }

.header .nav-menu.active .menu-line:nth-child(1) { transform: rotate(45deg); width: 40px; margin-top: 12px; }
.header .nav-menu.active .menu-line:nth-child(3) { transform: rotate(-45deg); width: 40px; margin-top: -14px; }
.header .nav-menu.active .menu-line:nth-child(2) { opacity: 0; }


.header .navigation {
	position: relative;
	display: none;
	z-index: 5;
}
.header .navigation ul,
.header .navigation ul li {
	display: inline-block;
	vertical-align: middle;
	text-align: center;
}
.header .navigation ul {
	width: 100%;
	margin: 30px 3%;
}
.header .navigation ul li {
	margin: 0 0.7%;
	text-transform: uppercase;
}
.header .navigation ul li a {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	padding: 10px;
	font-size: 11px;
	font-family:'machina', sans-serif;
	font-weight:600;
	letter-spacing: 0.6px;
	text-decoration: none;
	text-shadow: 0px 0px 2px rgba(77,77,77,0.50);
	background-image: url(img/over-out.png);
	background-repeat: no-repeat;
	background-position: center top;
	transition: all 500ms ease;
}
.header .navigation ul li a:hover {
	background-image: url(img/over.png);
	transition: all 500ms ease;
	background-repeat: no-repeat;
	background-position: center top;
}
.header .navigation ul li a:after {
	content: "";
	width: 0;
	height: 1px;
	background-color: rgba(255,255,255,1);
	position: absolute;
	bottom: 60%;
	left: 50%;
	-webkit-transform: translateY(1.8rem);
	transform: translateY(1.8rem);
	-webkit-transition: 0.3s;
	transition: 0.3s;
}

.proyecto-col-left, .proyecto-col-right {
	width: 50%;
}

.proyecto-col-left hr{
	margin-top: 5%;
	margin-bottom: 5%;
	width: 40%;
	margin-left: 0;
}

@media screen and (min-width: 100px) {
	.header {
		position: fixed;
		height: 65px;
		transition: 1s all;
	}
	body:not(.mega-nav-open) .header.fixed .mega-nav-height-drop-down {
		height: 68px;
		opacity: 0;
	}
	body:not(.mega-nav-open) .header.fixed {
		background: linear-gradient( to bottom, rgba(26, 74, 70, 1.0), rgba(26, 74, 70, 0.95) 100% );
		background-image:url(img/bg-b.jpg);
	}
	.header .logo {
		/*
		width: 90px;
		height: 90px;
		*/
		padding: 20px;
	}
	.header .navigation ul li a {
	}
	.nav-up {
	top: -105px;}
	.header .navigation ul {
	width: 100%;
	margin-top: 30px;
	margin-right: 2%;
	margin-bottom: 38px;
	margin-left: 0%;
}
}

/* Submenu */

.mega-sub-menu {
	width: 60%;
	color: #fff;
	font-family:'machina', sans-serif;
	letter-spacing: 1.5px;
	font-size:17px;
	font-weight: 300;
}
.mega-sub-menu .container {
	width: 100%;
	max-width: 880px !important;
}
.mega-sub-menu.active {
	display: block;
	opacity: 1;
	width: 100%;
}
.mega-sub-menu h3 {
	font-size: 18px;
	font-weight: bold;
	font-family:'machina', sans-serif;
	color:#f0eedf;
}
.mega-sub-menu .description p {
	font-size: 15px;
	line-height: 21px;
	font-weight:300;
}
.mega-sub-menu .btn-primary {
	margin-top: 24px;
}
.mega-sub-menu ul li {
	margin: 6px 0 12px;
}
.mega-sub-menu ul {
	list-style-type: none;
}
.mega-sub-menu ul li a {
	display: block;
	position: relative;
	padding-left: 15px;
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	color:#f0eee0;
}
/*
.mega-sub-menu ul li a:before {
	content: "\f105";
	position: absolute;
    top: calc(50% - 10px);
    left: 0;
    width: 10px;
    height: 20px;
    font-family: "fontawesome";
    font-size: 1.3rem;
    line-height: 20px;
	-webkit-transition: left 0.3s;
	transition: left 0.3s;
}
*/
.mega-sub-menu ul li a:hover {
	color: rgba(225, 222, 197, 1);
}
.mega-sub-menu ul li a:hover:before {
	left: 3px;
}

@media screen and (min-width: 992px) {
	.mega-nav-height-drop-down {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		display: none;
		height: 200px;
		/*background: -webkit-gradient( linear, left top, left bottom, from(rgba(21,21,21,0.5)), to(rgba(0,0,0,0)) );
		background: linear-gradient( to bottom, rgba(21,21,21,0.8), rgba(255,255,255,0) 1% );*/
		transition: background-color 0.5s, -webkit-transform 1s;
		-webkit-transition: background-color 0.5s, -webkit-transform 1s;
		transition: transform 1s, background-color 0.5s;
		transition: transform 1s, background-color 0.5s, -webkit-transform 1s;
		-webkit-transition: 0.3s;
		transition: 0.3s;
	}
	.header .mega-nav-height-drop-down {
		display: block;
	}

	.mega-nav-open .header .mega-nav-height-drop-down {
		height: 200px;
		/*
		background: -webkit-gradient( linear, left top, left bottom, from(rgba(0,0,0,0.8)), to(rgba(0,0,0,0.8)) );
		background: linear-gradient( to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.8) 100% );
		background: -webkit-gradient( linear, left top, left bottom, from(rgba(29, 28, 33, 0.9)), to(rgba(29, 28, 33, 0.9)) );
		background: linear-gradient( to bottom, rgba(29, 28, 33, 0.9), rgba(29, 28, 33, 0.9) 100% );
		*/
		background-color:#1a4a46;
	}

	.mega-sub-menu {
		position: absolute;
		top: 0;
		left: 0;
		display: none;
		opacity: 0;
	    padding-top: 110px;
	}
	.mega-sub-menu h3 {
		font-size: 24px;
		opacity: 0;
		transition: 1s all;
	}
	.mega-sub-menu .description {
		opacity: 0;
		transition: 1s all;
		transition-delay: 0.2s;
	}
	.mega-sub-menu .menu-mobile {
		opacity: 0;
	}	
	.mega-sub-menu .description br {
		display: none;
	}
	.mega-sub-menu .button {
		opacity: 0;
		transition: opacity 1s, background 0.3s;
		transition-delay: 0.35s;
	}
	.mega-sub-menu .sub-nav-link {
		display: none;
	}
	.mega-sub-menu ul li {
		display: inline-block;
		vertical-align: top;
		width: 47%;
		margin: 0 1% 12px;
		opacity: 0;
		transition: 1s all;
		transition-delay: 0.5s;
	}
	.mega-sub-menu ul li:nth-child(even) {
		transition-delay: 0.65s;
	}

	.mega-sub-menu.active .description h3 {
		display: block;
		font-style: italic;
		font-size: 2em;		
	}
	.mega-sub-menu.active h3 {
		display: none;
	}

	.mega-sub-menu.active .description h3,
	.mega-sub-menu.active .description,
	.mega-sub-menu.active .button,
	.mega-sub-menu.active ul li {
		opacity: 1;
	}

	.mega-sub-menu .description {
		display: flex;
	}
	
	.header .nav-menu { display: none; }

	.header .btn-contact,
	.header .navigation { display: block }

	.sub-menu-links {
		background: #651c02;
		width: 60%;
		margin: 0 auto;
		padding: 5%;
		margin-top: 8%;
	}
	.sub-menu-links ul li:before {
		content: "\2192";
		margin-top: 5%;
	}
	.sub-menu-links ul li {
		display: flex;
	}
	.sub-menu-links ul li a {
		display: inline;
		font-style: italic;
		font-size: 1.5em;
	}
}

@media screen and (min-width: 1200px) {
	.mega-sub-menu .container {
		max-width: 890px !important;
	}

}
@media screen and (min-width: 1300px) {
	.mega-sub-menu .container {
		max-width: 890px !important;
		padding: 0;
		margin: 0 auto;
	}
 
}
@media (min-width: 1024px) and (max-width: 1500px) {
	.header .logo {
		width: 200px;
	}
	.header .logo img {
		width: 100%;
	}
}
@media (min-width: 1000px) and (max-width: 1366px) {
	.header .navigation ul li a {
		padding: 4px;
		font-size: 11px;
	}
}


@media screen and (max-width: 991px) {

	.header .mega-nav-wrapper {
	    display: none;
	    position: relative;
	    text-align: center;
	    position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100vh;
	    padding-top: 30%;
	    padding-right: 6%;
	    padding-bottom: 6%;
	    padding-left: 0%;
	    background-color:#1a4a46;
		text-align: left;
		overflow-x: auto;
	    z-index: 999;
		background-image:url(img/bgmenu-mobile.jpg);
	}
	.header .mega-nav-wrapper.active {
		display: block;
	}
	.mega-nav-height-drop-down.active {
	    position: relative;
	    height: 90px !important;
	    transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
  		z-index: 0;
	}

	.mega-sub-menu {
		text-align: right;
	}
	.header .mega-nav-wrapper .mega-sub-menu .title,
	.header .mega-nav-wrapper .mega-sub-menu .col-md-1,
	.header .mega-nav-wrapper .mega-sub-menu .desc-mobile,
	.header .mega-nav-wrapper .mega-sub-menu ul {
		display: none;
	}

	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link {
		position: relative;
	}
	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link a {
	    display: block;
	    padding: 10px 0;
	    border-bottom: 1px solid rgba(83, 115, 100, 1);
	    font-size: 14px;
		text-decoration: none;
		text-transform:uppercase;
	}
	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link span {
		display: block;
		position: absolute;
		width: 40px;
		height: 40px;
		font-size: 2rem;
		text-align: center;
		cursor: pointer;
	}
	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link span:before,
	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link span:after {
		content: "";
	    top: 50%;
	    left: 50%;
	    position: absolute;
		/*background-color: rgba(255,255,255,1);*/		
	}
	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link span:before {
		/*
	    width: 2px;
		height: 18px;
	    -webkit-transform: translate(-1px, -7.7px);
		transform: translate(-1px, -7.7px);
		*/
		border: solid white;
		border-width: 0 3px 3px 0;
		display: inline-block;
		padding: 3px;		
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
	}
	.header .mega-nav-wrapper .mega-sub-menu .sub-nav-link span:after {
		/*
	    width: 18px;
		height: 2px;
	    -webkit-transform: translate(-9px, 0px);
		transform: translate(-9px, 0px);
		*/

		border: solid white;
		border-width: 0 3px 3px 0;
		display: inline-block;
		padding: 3px;		
		transform: rotate(-135deg);
		-webkit-transform: rotate(-135deg);		

	}
	.header .mega-nav-wrapper .mega-sub-menu .sub-menu-active .sub-nav-link span:before {
		content: none;
	}
	.header .mega-nav-wrapper .mega-sub-menu .menu-mobile:not(.sub-menu-active) .sub-nav-link span:after {
		content: none;
	}	

	.header .mega-nav-wrapper .mega-sub-menu .sub-menu-active ul,
	.header .mega-nav-wrapper.active .mega-sub-menu {
		display: block;
		opacity: 1;
		float: right;
		margin-right: 5%;
	}

	.header .logo {
		width: 90%;
	}

	.header .logo img {
		margin: auto;
		display: block;
		width:200px;
		height:auto;
	}	
}
