/* Necessary for functionality */

.folding-content,
.unfolded-content {
  display: none;
}

.unfolded-content {
  width: 100%;
}

.unfolded-content .folding-content {
  display: block;
}

.menu-item:hover,
.close-unfolded-content:hover {
  cursor: pointer;
}

/* Stuff to make the demo look nice */

html {
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}



#menu-container {
  width: 80%;
  min-height: 100%;
  margin:0 auto;
}

.folding-menu {
  /* remove inline-block extra spacing */
  font-size: 0;
  padding: 0;
}

.folding-menu li {
  list-style-type: none;
    -webkit-box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.45);
-moz-box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.45);
box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.45);
}

.menu-item {
  text-align: center;
  display: inline-block;
  padding: 0%;
  margin: 10px 1% ;
  background: #fff;
  transition: background 0.3s;
  font-size: 15px;
  vertical-align: top;
  width:31.33333%; text-align:center; box-sizing:border-box;
}
.menu-item { position:relative; }
.menu-item img{ width:100%; height:auto; transition-duration:0.5s; transform-origin:center;}
.menu-item:hover {background: #29abe2;}
.menu-item:hover img{ transform:scale(0.92)}
.active-item img{transform:scale(0.92) !important}
.zoom-1{transition: all 5s linear;}
.menu-item .zoom-1{width: 0;
height: 0;
border-style: solid;
border-width: 0 0 80px 80px;
border-color: transparent transparent #e5c26a transparent;

position:absolute; width:50px; height:50px; bottom:0px; right:0px; z-index:9999; transition: all 5s linear; display:none;  }


.menu-item:hover .zoom-1{ display:block}
.menu-item .zoom-1::after{ background-image : url(../images/search-2.png); background-repeat:no-repeat; background-position:center center; width:25px; height:25px; position:absolute; z-index:9999; bottom:-65px; z-index:999; right:10px;  content : "";}


.menu-item:after {
  content: '';
  border-top: 0 solid #29abe2;
}

.unfolded-content {
  font-size: 15px;
  background: #f9f9f9;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  width: 98%;
    margin: 0 auto;
}

.active-item {
  background: #29abe2;
  position: relative;
}

.active-item:after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  left: calc( 50% - 20px );
  bottom: -20px;
  border-top: 20px solid #29abe2;
  border-right: 20px solid transparent;
  border-bottom: 00px solid transparent;
  border-left: 20px solid transparent;
  z-index: 10;
  transition: border-top-color 0.3s;
}

.active-item:hover:after {
  border-top: 20px solid #29abe2;
}

.close-unfolded-content {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 25px;
  width: 25px;
  text-align: center;
  background: #ccc;
  transition: color 0.3s, background 0.3s;
  z-index: 99; 
    line-height: 24px;
}

.close-unfolded-content:hover {
  color: #fff;
  background: #444;
}


@media screen and (max-width:1024px){
    #menu-container{width: 100%}
    .h-sec2 .h-sec2-c1:first-child{ display:none;}
    
}
@media screen and (max-width:830px){
	.menu-item {  width:47.33333%; }
    
}

@media screen and (max-width:460px){
.menu-item { width:100%;  margin: 10px 0% ;}

}