/* menu desktop*/
#menu-desktop {
  padding:15px 0 15px 0;
  float:right;
  position: fixed;
  width:100%;
  z-index:3;
}

#menu-desktop ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

#menu-desktop li a {
  display: block;
  padding: 15px 14px;
  text-decoration: none;
  font-size:15px;
  font-family: 'Raleway';
  font-weight: 700;
  text-align:center;
}

#menu-desktop .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

#menu-desktop .dropdown {
  float: left;
  overflow: hidden;
}

#menu-desktop .dropdown .dropbtn {
  border: none;
  outline: none;
  padding: 16px 15px;
  background-color: inherit;
  margin: 0;
  font-size:15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

#menu-desktop .dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

#menu-desktop .dropdown-content li {
  width: 100%;
}

#menu-desktop .dropdown-content li a {
  display: block;
  padding: 5px 14px;
  text-decoration: none;
  font-size:13px;
  font-weight: 700;
  text-align:center;
  text-transform: uppercase;
}

#menu-desktop .dropdown:hover .dropdown-content {
  display: block;
}

/* menu mobile*/

#btn-menu { 
    display: none; 
    width: 30px; 
    height: 30px; 
    position: absolute;
    top: 40px;
    right: 20px; 
    z-index: 99998;
    float: right;
}

#btn-menu span, #btn-menu:before, #btn-menu:after { 
    content: " "; 
    display: block; 
    width: 30px; 
    height: 4px; 
    background-color: #000000; 
    transform: rotate(0); 
    position: absolute; 
    left: 7px; 
    transition: all 300ms ease-in-out; 
}

#btn-menu:before { 
}

#btn-menu span { 
    top: 8px; 
    opacity: 1; 
}

#btn-menu:after { 
    bottom: 10px; 
}

#btn-menu.active span { 
    opacity: 0; 
    top: 25px; 
    transform: rotate(90deg); 
}

#btn-menu.active:before { 
    width: 30px; 
    top: 9px; 
    left: 8px; 
    transform: rotate(45deg); 
}

#btn-menu.active:after { 
    width: 30px; 
    bottom: 17px; 
    left: 8px; 
    transform: rotate(-45deg); 
}

#menu { 
    display: none; 
    width: 400px; 
    background-color: #FFF; 
    padding: 10px 0; 
    position: absolute; 
    top: 88px; 
    right: 0;
    z-index: 99999; 
    text-align: center; 
    text-transform: uppercase; 
    -webkit-transition: opacity .3s ease,top 1s ease,-webkit-box-shadow .5s ease;
    transition: opacity .3s ease,top 1s ease,-webkit-box-shadow .5s ease;
    transition: opacity .3s ease,top 1s ease,box-shadow .5s ease;
    transition: opacity .3s ease,top 1s ease,box-shadow .5s ease,-webkit-box-shadow .5s ease;
}

#menu a {
    font-weight: 700;
    color: #262425; 
    display: block; 
    width: 100%; 
    padding-bottom: 10px; 
    margin-top: 10px; 
    background: url(../img/sep-menu.png) no-repeat center bottom; 
    -moz-transition: all 300ms ease-in-out; 
    -o-transition: all 300ms ease-in-out; 
    -webkit-transition: all 300ms ease-in-out; 
    transition: all 300ms ease-in-out; 
}

#menu a:hover, #menu a.active { 
    color:#C22026; 
}

#menu a:last-child { 
    background: none; 
}

@media (min-width: 768px) {
  #menu-desktop {
    width:auto; 
    position:relative; 
    float:right;
  }

  #menu-desktop li {
    float: left;
  }
  #menu-desktop .menu {
    clear: none;
    float: right;
    max-height: none;
  }
}

/* 48em = 768px */

@media (max-width: 768px) {
  #menu-desktop {
    display: none;
  }
  
  #btn-menu {
    display: block;
}
}