﻿
         /* Main */
#menu {
    margin-left: auto;
    margin-right:auto;
    padding: 5px 0 0 0;
    list-style: none;  
    font-size:13px!important;
    width:100%;
    
    text-align:center;
}

#menu img {
   height:50px;
   float:right;
}

#menu h4 {
    float: left;
    margin-top: 20px;
    margin-left: 20px;
}

#menu li {
    
    display:block;
    position: relative;
    z-index:9;
    height:40px;
    float:right;

   
}

#menu li > a {
  
    height: 20px;
    display:block;
    width:85px;
    padding-left:5px;
    padding-right:5px;
    padding-top:5px;
    padding-bottom:11px;
    color: #030e43;
    text-decoration: none;
    text-align:center;
    vertical-align:central;
    border:solid 1px #808080;
    text-align:center;
    margin-right:3px;
    margin-left:3px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
}

/*------ Isi-------- */

.button--moema {
	-webkit-transition: background-color 0.3s, color 0.3s;
	transition: background-color 0.3s, color 0.3s;
}
.button--moema {
	color: #37474f;
}
.button--moema::before {
	content: '';
	position: absolute;
	top: -15px;
	left: -9px;
	bottom: -15px;
	right: -9px;
	background: inherit;
	border-radius: 15px;
	z-index: -1;
	opacity: 0.7;
	-webkit-transform: scale3d(0.8, 0.5, 1);
	transform: scale3d(0.8, 0.5, 1);
}
.button--moema:hover {
	-webkit-transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
	transition: background-color 0.1s 0.3s, color 0.1s 0.3s;
	color: #ECEFF1;
	-webkit-animation: anim-moema-1 0.3s forwards;
	animation: anim-moema-1 0.3s forwards;

    
}
.button--moema:hover {
	color: #ECEFF1;
	/*background-color: #7986cb;*/
}
.button--moema:hover::before {
	-webkit-animation: anim-moema-2 0.3s 0.3s forwards;
	animation: anim-moema-2 0.3s 0.3s forwards;
}
@-webkit-keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
		transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.1, 1.1, 1);
		transform: scale3d(1.1, 1.1, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
		transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.1, 1.1, 1);
		transform: scale3d(1.1, 1.1, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
        
	}
}
@-webkit-keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
      
	}
}

/* --------Isi ------------*/



#menu li:hover > a {
    color: #ffffff;
    font-weight:bold;
    background-color: #0066ff;
   
}



#menu li:hover > ul {
    display: block;

}

/* Sub-menu */
#menu ul {
    list-style: none;
    /*margin: 0;
    padding: 0;*/    
    display: none;
    position: absolute;
    /*top: 47px;*/
    /*left: -360px;*/
    right:5px;
    z-index: 99999999999999;    
    background-color: rgba(255, 255, 255, 0.92);   
    /*background-image: linear-gradient(#444, #111);*/  
    -moz-border-radius: 1px;
    border-radius: 1px;
    width:400px;
    white-space: nowrap;
    margin-top:3px;
    min-height:70px;
    overflow:hidden;
    box-shadow:3px 3px 10px rgba(0,0,0,0.3);
     
}

#menu ul li {
    float: right;
    margin-right: -3px;
    padding: 0;
    display: block;  
    box-shadow: 0 1px 0 #777777, 
                0 0px 0 #777777;
    width:405px;
    height:35px;

   
}

#menu ul li:last-child { 
    box-shadow: none;    
}

#menu ul  a {    
    /*padding: 10px;
    padding-bottom:15px;*/
    padding-top:10px;
    padding-right:15px;
    height: auto;
    line-height: 1;
    display: block;
    width:380px;
    white-space: nowrap;
    text-transform: none;
    background-color:transparent;
    border-radius:0px;
    border:none;
    text-align:right;
    color:#000;
}



#menu ul a:hover {
    background-color: #08add8;
    color:#05037d!important;
    /*background-image: linear-gradient(#04acec, #0186ba);*/
}

/*#menu > li li:hover > ul { 
  right:300px;
  margin-left: 1px;
  margin-top:-42px;
}*/

/*#menu > li li:hover > ul { 
  right:300px;
  margin-right: 0px;
 
}*/

#menu ul li:first-child a {
    border-radius: 1px 1px 0 0;
}

#menu  ul  li:first-child > a:after {
    content: '';
    position: absolute;
    left: 350px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid white;
}

#menu ul li ul li:first-child  a:after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    border-right: 8px solid white;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    left: 305px;
    top: 16px;

 }

#menu ul li ul li:first-child a:hover:after {

    /*border-bottom-color: transparent!important;*/ 
 }
#menu  ul li:first-child  a:hover:after {
    /*border-bottom-color: #f9b206;*/ 
}

#menu ul li:last-child a {
    border-radius: 0 0 1px 1px;
}

/* Clear floated elements */
#menu:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


/*----------------------------new----------------------------------------*/
