@import url(http://fonts.googleapis.com/css?family=Open+Sans);

/*
*{
 margin:0;
 padding:0;
}
*/

ul.catsamenu{
}

ul.catsamenu,
ul.catsamenu li,
ul.catsamenu li a,
.catsamenu-button {
  z-index: 200;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.catsamenu ,.catsamenu-button{
  width: auto;
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
  background: #ffffff;
}
/*
ul.catsamenu:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
*/
.catsamenu *{
    text-decoration:none;
}

ul.catsamenu {  
    /*background: #333; */
    height: 30px;
    width: 100%; 
}

ul.catsamenu > li { 
    float: left; 
    position: relative;  
}

ul.catsamenu ul {
    /*height:0;*/
    background: #444; 
    /*display: none; */
    visibility:hidden;
    position: absolute;
    left: 0; top: 100%;
    width:160px;
}

ul.catsamenu ul li {
    height:0px;
    -webkit-transition: height .2s ease;
    -moz-transition: height .2s ease;
    -ms-transition: height .2s ease;
    -o-transition: height .2s ease;
    transition: height .2s ease;

}

ul.catsamenu > li > a {
  padding: 20px;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  color: #000000;
  -webkit-transition: color .2s ease;
  -moz-transition: color .2s ease;
  -ms-transition: color .2s ease;
  -o-transition: color .2s ease;
  transition: color .2s ease;
}

ul.catsamenu > li.active > a {
  color: #f06;
}

ul.catsamenu > li.has-sub > a {
  padding-right: 25px;
}
ul.catsamenu > li.has-sub > a::after {
  position: absolute;
  top: 21px;
  right: 10px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
  content: "";
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease;
  -moz-transition: border-color 0.2s ease;
  -ms-transition: border-color 0.2s ease;
  -o-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}

ul.catsamenu > li.has-sub:hover > a::after {
  border-color: #f06;
}


ul.catsamenu ul a {
    color:white;
}

ul.catsamenu a { 
    cursor: pointer; 
    display: block; 
    /*color: white; */
    color: 333;
    line-height: 30px; 
    padding: 0 10px; 
}

ul.catsamenu li {
    list-style: none;
}


div.catsamenu-button {
    display: block;
    padding: 20px;
    color: #000000;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
  }
div.catsamenu-button::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    display: block;
    width: 15px;
    height: 2px;
    background: #000000;
  }
div.catsamenu-button::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 20px;
    display: block;
    width: 15px;
    height: 3px;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
  }

ul.catsamenu li:hover > a{ color: #f06; 
  -webkit-transition: all 0.25s ease-out;
  -moz-transition: all 0.25s ease-out;
  -ms-transition: all 0.25s ease-out;
  -o-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}

@media all and (min-width: 769px), only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 769px), only screen and (min--moz-device-pixel-ratio: 2) and (min-width: 769px), only screen and (-o-min-device-pixel-ratio: 2/1) and (min-width: 769px), only screen and (min-device-pixel-ratio: 2) and (min-width: 769px), only screen and (min-resolution: 192dpi) and (min-width: 769px), only screen and (min-resolution: 2dppx) and (min-width: 769px) {
    
    ul.catsamenu ul li a {
        padding: 10px 20px;
        width: 160px;
        font-size: 12px;
        text-decoration: none;
        color: #dddddd;
        -webkit-transition: color .2s ease;
        -moz-transition: color .2s ease;
        -ms-transition: color .2s ease;
        -o-transition: color .2s ease;
        transition: color .2s ease;
    }

    ul.catsamenu li:hover ul li {
        height:32px;
    }

    div.catsamenu-button{  display:none; }

    ul.catsamenu li:hover ul{
        /*display: block;*/
        visibility: visible;
    }
}
/*768  1024*/
@media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 768px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 768px), only screen and (min-device-pixel-ratio: 2) and (max-width: 768px), only screen and (min-resolution: 192dpi) and (max-width: 768px), only screen and (min-resolution: 2dppx) and (max-width: 768px) {
    
    ul.catsamenu > li.has-sub > a::after {
        right: 25px;
    }

    ul.catsamenu ul li {
        height:0px;
    }

    ul.catsamenu ul li a {
        padding: 20px 20px 20px 30px;
        font-size: 12px;
        color: #dddddd;
        /*color: #000000;*/
        /*background: none;*/
    }

    ul.catsamenu li{
        width: 100%;
        height: auto;
        border-top: 1px solid rgba(120, 120, 120, 0.15);
    }

    div.catsamenu-button{  display:block;  }

    ul.catsamenu {  height: auto; }
    ul.catsamenu > li { 
        float: none;
        width: 100%;
    }
    ul.catsamenu a { line-height: 40px; }
    ul.catsamenu ul { position: relative; width: 100%;}

    ul.catsamenu li.tap ul {
        visibility:visible;
    }

    ul.catsamenu li.tap ul li{
        height:52px;
    }

    ul.catsamenu.closed{  display:none;  }
}