﻿.menu-header-boton {
	text-align: left;
	width: 25%;
	display: none;
}
.menu-header-logo {
	text-align: left;
	width: 50%;
	display: inline-block;
	width: 210px;
	height: 45px;
	margin-left: 15px;
	background-image:url(../img/LogoSertronikOficial.png);
	background-size: cover;
}

.menu-header-sesion {
	float: right;
	top: 0;
	display: none;
    justify-content: space-between;
	margin-right: 50px;
}
.menu-header-sesion img {
	margin-right: 15px;
	background: #E0E8E0;
	width: 50px;
	height: 50px;
	
}
.menu-header-sesion .col1 {
	display: inline-block;
	width: 70px;
}
.menu-header-sesion .col2 {
	display: inline-block;
}
.menu-header-sesion .nombreUsuario {
	font-weight: bold;
	font-size: 1em;
	height: 40%;
	vertical-align: top;
}
.menu-header-sesion .nombreEmpresa {
	font-size: 0.85em;
	height: 35%;
	vertical-align: top;
}
.menu-header-sesion .controlSesion {
	font-size: 0.7em;
	height: 20%;
	vertical-align: bottom;
	cursor: pointer;
}
.menu {
  /*background-image: linear-gradient(to bottom, #c0d8c0 0%, #004d00 80%); /*00b300 003300*/
 /* background: #004d00;*/
  background: #686;
  height: 40px;
  font-size: 1em;
}
.menu ol {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  z-index: 10 !important;
}
.menu > ol {
  padding: 0 5px;
  display: flex;
  flex-direction: row;
}

.menu > ol > .menu-item {
	flex: 1;
  	padding: 5px 0;
	
}
.menu > ol > .menu-item {
	padding-left: 30px;
	padding-right: 30px;
}
.menu > ol > .menu-item:hover:after {
  transform: scale(1.1);
}
.menu-item {
  position: relative;
  line-height: 30px;
  text-align: center;
  /*border-left: 1px solid white;
  border-right: 1px solid white;*/
}

.menu-item a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  color: #FFF;
}
.menu-item:hover > .sub-menu {
  display: block;
}
.menu-item a:hover {
  color: lime;
}
.menu-item a:hover > .submenu {
	-webkit-transition: max-height 1s; 
  -moz-transition: max-height 1s; 
  -ms-transition: max-height 1s; 
  -o-transition: max-height 1s; 
  transition: max-height 1s;  
}
.menu-item span {
	padding-left: 30px;
	/*-webkit-transform: rotate(-90deg);*/
	/*font-stretch: 300%;*/
}
.menu-active {
	background: #686;
	/*background-image: linear-gradient(to bottom, #B6D2B6 20%,#252E25 100%);*/
}
.sub-menu {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	transform-origin: top;
  	animation: enter 0.5s ease-out forwards;
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	display: none;
	background-color: #222;
}

.sub-menu .menu-item {
  padding: 5px 0;
  background: #004d00;
  background: #303A30;
  background: #999;
  line-height: 30px;
  font-size: 0.95em;
  font-stretch: 70%
}
.sub-menu .menu-item:hover {
  	background-color: #222;
  	-webkit-transition: background-color 250ms linear;
    -ms-transition: background-color 250ms linear;
    transition: background-color 250ms linear;
}
.sub-menu .menu-item:hover a {
	color: lime;
}
.sub-menu .menu-item a {
	color: #FFF;
  	padding: 0 5px;
}
.sub-menu .menu-item a:hover {
	color: lime;
	-webkit-transition: color 250ms linear;
    -ms-transition: color 250ms linear;
    transition: color 250ms linear;
}
.menu-sesion {
	display: none;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: scaleY(0.1);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
	@media screen and (max-width: 1366px) {
		.menu {
			font-size: 1.25vw;
		}
		.menu > ol > .menu-item {
			padding-left: 10px;
			padding-right: 10px;
		}
		@media screen and (max-width: 800px) {
		  .menu-header-boton {
			  display: block;
			  position: relative;
			  padding-left: 35px;
			  cursor: pointer;
			  -webkit-user-select: none;
			  -moz-user-select: none;
			  -ms-user-select: none;
			  user-select: none;
			  width: 50px;
		  }
		  .menu-header-boton input {
			  position: absolute;
			  opacity: 0;
			  cursor: pointer;
			  height: 0;
			  width: 0;
		  }
		 .menu-header-boton:hover input ~ .menu-header-boton-button {
			  background-color: #222;
		  }
		 .menu-header-boton input:checked ~ .menu-header-boton-button {
			  background-color: #303A30;
			  color: green;
			  -webkit-transform: rotate(-180deg);
		  }
		  .menu-header-boton-button {
			  position: absolute;
			  top: 0;
			  left: 0;
			  height: 50px;
			  width: 50px;
			  background-color: #222;
			  background-image: url(../img/menu.png);
			  background-repeat: no-repeat;
			  background-position: center; 
			  -webkit-transition: all 0.2s;
			  -moz-transition: all 0.2s;
			  -ms-transition: all 0.2s;
			  -o-transition: all 0.2s;
			  transition: all 0.2s;
		  }
		  .menu-header-logo {
			  width: 65px;
			  height: 45px;
			  margin-right: 5px;
			  margin-top: 5px;
			  float: right;
			  background-image: url(../img/LogoSertronikOficialMin.png);
			  background-size: contain;
			  background-repeat: no-repeat;
		  }
		  .menu-header-sesion {
			  display: none;
		  }
		  .menu {
			  top: 0px;
			  height: 0px;
			  width: 100%;
		  }
		  .menu > ol {
				display: none;
				background: #303A30;
				flex-direction: column;			
				animation: fade 0.2s ease-out;
				left: 0;
				margin-top: 50px;
				width: 100%;
				padding: 0px;
				z-index: -99;
		  } 
		  .menu > ol > .menu-item:first-of-type a {
			  margin-top: 10px;
		  }
		  .menu > ol > .menu-item {
				width: 100%;
				padding-left: 0px;
				padding-right: 0px;
			}
		  .menu > ol > .menu-item:last-of-type a {
			  margin-bottom: 10px;  
		  }
		  .menu > ol > .menu-item:after {
			left: auto;
			right: 1rem;
			bottom: calc(50% - 2px);
		  }
		  .menu > ol > .menu-item:hover {
			z-index: 1;
		  }
		  /*.menu:hover > ol {
			display: flex;
		  }*/
		  .menu:hover:after {
			box-shadow: none;
		  }
		  .sub-menu {
			z-index: -9999;
			left: 0%;
			transform-origin: right;
			top: 0px;
		  }
		  .sub-menu .menu-item {
			  font-size: 4vh;
			  line-height: 20px;
		  }
		  .menu-item {
			  font-size: 5vh;
			  line-height: 20px;
		  }
		  .menu-item > .sub-menu > .menu-item:first-child {
			  border-top: 1px solid #FFFFFF;
		  }
		  .menu-item > .sub-menu > .menu-item:last-child {
			  border-bottom: 1px solid #FFFFFF;
		  }
		  .menu-item span {
			  padding-right: 30px;
			  position: absolute;
			  right: 0;
		  }
		  .menu-active {
				background-image: none;
				background-color: #686;
		  }
		  .menu-subelectr {
			  display: none;
		  }
		  .menu-subelectrmob {
			  display: list-item;
			  background: #686;
		  }
		  .menu-sesion {
			  border-top: 1px solid #303A30;
			  border-bottom: 1px solid #303A30;
			  width: 100%;
			  /*display: inline-block;*/
			  display: none;
		  }
		  .menu-sesion > div {
			  width: 75%;
			  background: #E0E8E0;
			  color: #303A30;
			  display: flex;
			  margin: 0 auto;
			  padding: 5px;
			  height: 60px;
		  }
		  .menu-sesion img {
			  width: 45px;
			  height: 45px;
			  margin-right: 10px;
			  background: #E0E8E0;
			  vertical-align: middle;
		  }
		  .menu-sesion .col1 {
				display: inline-block;
				width: 70px;
			}
			.menu-sesion .col2 {
				display: inline-block;
				text-align: left;
				line-height: normal;
			}
			.menu-sesion .nombreUsuario {
				font-weight: bold;
				font-size: 0.75em;
				height: 33%;
				vertical-align: top;
			}
			.menu-sesion .nombreEmpresa {
				font-size: 0.7em;
				height: 33%;
				vertical-align: top;
			}
			.menu-sesion .controlSesion {
				font-size: 0.6em;
				height: 33%;
				vertical-align: bottom;
				cursor: pointer;
			}
			@media screen and (max-width: 480px) {
				.menu {
					font-size: 1vh;
				}	
				.sub-menu .menu-item {
					font-size: 4vw;
					line-height: 30px;
				}
				.menu-item {
					font-size: 4vw;
					
				}
		  	}
		  @keyframes enter {
			  from {
				  width: 10%;
				  opacity: 0.5;
			  }
			  to { 
				width: 100%;
				opacity: 1;
				}
			}
		}
	}


