.animenu > ul:after {
  content: "";
  display: table;
  clear: both;
}

body {
  -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }

  to {
    padding: 0;
  }
}

.animenu {
  font: bold 13px Arial, Helvetica;
}
.animenu * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.animenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.animenu>ul>li {
  position: static;
}
.animenu li:hover > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}
.animenu li:hover > a {
  color: white;
}
.animenu input[type=checkbox] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
.animenu label {
  display: none;
  cursor: pointer;
  user-select: none;
}

.animenu > ul {
  position: relative;
  background: #96c2cf; /* Old browsers */
  background: -moz-linear-gradient(top, #96c2cf 0%, #9ec5d1 38%, #6f9ba8 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#96c2cf), color-stop(38%,#9ec5d1), color-stop(100%,#6f9ba8)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* IE10+ */
  background: linear-gradient(to bottom, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#96c2cf', endColorstr='#6f9ba8',GradientType=0 ); /* IE6-9 */
}
.animenu > ul > li {
  float: left;
  border-right: 1px solid #75a0ad;
  -webkit-box-shadow: 1px 0 0 #9ec5d1;
  -moz-box-shadow: 1px 0 0 #9ec5d1;
  box-shadow: 1px 0 0 #9ec5d1;
}
.animenu > ul > li > a {
  float: left;
  padding: .8em 1em;
}
.animenu > ul a {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 0 #111111;
  font-size: 18px;
}

.animenu .dropdown .caret {
  margin-top: 8px;
  margin-left: 8px;
}

.animenu .caret {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: top;
  border-top: 4px solid #fff;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.animenu > ul ul {
  width:100%;
  border-radius: 0px 0px 5px 5px;
  overflow:hidden;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  margin: 2em 0 0 0;
  background-color: #373737;
  background-image: none;
  -webkit-transition-property: margin, opacity;
  -moz-transition-property: margin, opacity;
  -o-transition-property: margin, opacity;
  transition-property: margin, opacity;
  -webkit-transition-duration: .15s;
  -moz-transition-duration: .15s;
  -o-transition-duration: .15s;
  transition-duration: .15s;
  -webkit-transition-timing-function: ease-in-out;
  -moz-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}
.animenu > ul ul li {
  display: block;
  float:left;
  /*-webkit-box-shadow: 0 1px 0 #1e1e1e, 0 2px 0 #515151;
  -moz-box-shadow: 0 1px 0 #1e1e1e, 0 2px 0 #515151;
  box-shadow: 0 1px 0 #1e1e1e, 0 2px 0 #515151;*/
}
/*.animenu > ul ul li:first-child > a {
  -webkit-border-radius: 0px 0px 0 3px;
  -moz-border-radius: 0px 0px 0 3px;
  -ms-border-radius: 0px 0px 0 3px;
  -o-border-radius: 0px 0px 0 3px;
  border-radius: 0px 0px 0 3px;
}
.animenu > ul ul li:first-child > a:after {
  content: '';
  position: absolute;
  left: 4em;
  top: -12px;
  border: 6px solid transparent;
  border-bottom-color: inherit;
}*/
.animenu > ul ul li:last-child {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/*.animenu > ul ul li:last-child > a {
  -webkit-border-radius: 0 0 3px 3px;
  -moz-border-radius: 0 0 3px 3px;
  -ms-border-radius: 0 0 3px 3px;
  -o-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}*/
.animenu > ul ul a {
  padding: 1em;
  width: auto;
  display: block;
  border-color: #373737;
  font-size: 14px;
}
.animenu > ul ul a:hover {
  background-color: #00cad4 !important;
  border-color: #00cad4 !important;
}

.dropdown-menu>li>a{
  display:block;
  padding:3px 20px;
  clear:both;
  font-weight:normal;
  line-height:20px;
  color:#fff;
  white-space:nowrap;
}

.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-submenu:hover>a,.dropdown-submenu:focus>a{
  text-decoration:none;
  color:#ffffff;
  background-color:#00cad4;
  background-image:none;
}

.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{
  color:#ffffff;
  text-decoration:none;
  outline:0;
  background-color:#00cad4;
  background-image:none;
}

@media screen and (max-width: 1023px) {
  .animenu > ul, .animenu > ul ul {
    visibility: visible;
    opacity: 1;
    display: none;
  }

  .animenu input[type=checkbox]:checked ~ label,
  .animenu input[type=checkbox] ~ label:hover {
    color: white;
  }
  .animenu label {
    background: #96c2cf; /* Old browsers */
    background: -moz-linear-gradient(top, #96c2cf 0%, #9ec5d1 38%, #6f9ba8 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#96c2cf), color-stop(38%,#9ec5d1), color-stop(100%,#6f9ba8)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #96c2cf 0%,#9ec5d1 38%,#6f9ba8 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#96c2cf', endColorstr='#6f9ba8',GradientType=0 ); /* IE6-9 */
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    color: #fff;
    color: #fff;
    font-size: 18px;
    text-shadow: 0 1px 0 #111111;
    text-transform: uppercase;
    position: relative;
    display: block;
    padding: 1em 3em;
  }
  .animenu label:before {
    position: absolute;
    left: 0.5em;
    top: 0.5em;
    content: "\2261";
    font-size: 2em;
  }
  .animenu > ul {
    position: relative;
    border-color: #111111;
    margin: 0.5em 0 !important;
    padding: 0.25em;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #111111;
    background-image: none;
    text-align: center;
  }
  .animenu > ul:after {
    content: '';
    position: absolute;
    left: 2em;
    top: -12px;
    border: 6px solid transparent;
    border-bottom-color: inherit;
  }
  .animenu > ul li {
    display: block;
  }
  .animenu > ul > li {
    float: none;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #111111;
    background-image: none;
  }
  .animenu > ul > li > a {
    float: none;
    display: block;
    padding: 1em;
  }
  .animenu > ul ul {
    position: static;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    background-color: #2b2b2b;
    background-image: none;
    margin: 0px;
    -webkit-transition-property: none;
    -moz-transition-property: none;
    -o-transition-property: none;
    transition-property: none;
    float:none;
  }

  .animenu > ul ul li {
    float:none;
    display:inline-block;
  }

  .animenu > ul ul li:first-child > a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
  .animenu > ul ul li:first-child > a:after {
    content: none;
  }
  .animenu > ul ul li:last-child > a {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
  .animenu > ul ul a {
    display: block;
    width: auto;
  }
  .animenu input[type=checkbox]:checked ~ ul {
    display: block;
  }
  .animenu input[type=checkbox]:checked ~ ul ul {
    display: block;
  }

  .special-nav {
    float:none !important;
  }

  .special-nav i {
    float:none;
    margin-top:0px;
    margin-left:0px;
  }

  .special-nav a {
    padding: .8em 0em .8em 0em !important;
    display:inline-block !important;
  }
}
@media screen and (max-width: 600px) {
  .animenu > ul > li > a {
    padding: 1em 2em;
  }
}
