/* ======================menu for wider screens only====================*/
@media all and (max-width: 768px), only screen 
and (-webkit-min-device-pixel-ratio: 2) 
and (max-width: 1024px), only screen 
and (min--moz-device-pixel-ratio: 2) 
and (max-width: 1024px), only screen 
and (-o-min-device-pixel-ratio: 2/1) 
and (max-width: 1024px), only screen 
and (min-device-pixel-ratio: 2) 
and (max-width: 1024px), only screen 
and (min-resolution: 192dpi) 
and (max-width: 1024px), only screen 
and (min-resolution: 2dppx) 
and (max-width: 1024px) {
  #navdrop {
    width: 100%;
    position:fixed;
  }
  #navdrop ul {
    width: 100%;
    display: none;
  }
  #navdrop.align-center > ul {
    text-align: left;
  }
  #navdrop ul li {
    width: 100%;
    border-top: 1px solid rgba(120, 120, 120, 0.2);
	  z-index:0;
  }
  #navdrop ul ul li,
  #navdrop li:hover > ul > li {
    height: auto; z-index:0;
  }
  #navdrop ul li a,
  #navdrop ul ul li a {
    width: 100%;
    border-bottom: 0; z-index:0;
  }
  #navdrop > ul > li {
    float: none; z-index:0;
  }
  #navdrop ul ul li a {
    padding-left: 25px;
  }
  #navdrop ul ul ul li a {
    padding-left: 35px;
  }
  #navdrop ul ul li a {
    color: #dddddd;
    background: none;
  }
  #navdrop ul ul li:hover > a,
  #navdrop ul ul li.active > a {
    color: #ffffff;
  }
  #navdrop ul ul,
  #navdrop ul ul ul,
  #navdrop.align-right ul ul {
    position: relative;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: left;
  }
  #navdrop > ul > li.has-sub > a:after,
  #navdrop > ul > li.has-sub > a:before,
  #navdrop ul ul > li.has-sub > a:after,
  #navdrop ul ul > li.has-sub > a:before {
    display: none;
  }
  #navdrop #menu-button {
    display: block;
    padding: 17px;
    color: #dddddd;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
  }
  #navdrop #menu-button:after {
    position: absolute;
    top: 22px;
    right: 17px;
    display: block;
    height: 4px;
    width: 20px;
    border-top: 2px solid #dddddd;
    border-bottom: 2px solid #dddddd;
    content: '';
  }
  #navdrop #menu-button:before {
    position: absolute;
    top: 16px;
    right: 17px;
    display: block;
    height: 2px;
    width: 20px;
    background: #dddddd;
    content: '';
  }
  #navdrop #menu-button.menu-opened:after {
    top: 23px;
    border: 0;
    height: 2px;
    width: 15px;
    background: #ffffff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #navdrop #menu-button.menu-opened:before {
    top: 23px;
    background: #ffffff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #navdrop .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(120, 120, 120, 0.2);
    height: 46px;
    width: 46px;
    cursor: pointer;
  }
  #navdrop .submenu-button.submenu-opened {
    background: #262626;
  }
  #navdrop ul ul .submenu-button {
    height: 34px;
    width: 34px;
  }
  #navdrop .submenu-button:after {
    position: absolute;
    top: 22px;
    right: 19px;
    width: 8px;
    height: 2px;
    display: block;
    background: #dddddd;
    content: '';
  }
  #navdrop ul ul .submenu-button:after {
    top: 15px;
    right: 13px;
  }
  #navdrop .submenu-button.submenu-opened:after {
    background: #ffffff;
  }
  #navdrop .submenu-button:before {
    position: absolute;
    top: 19px;
    right: 22px;
    display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;
    content: '';
  }
  #navdrop ul ul .submenu-button:before {
    top: 12px;
    right: 16px;
  }
  #navdrop .submenu-button.submenu-opened:before {
    display: none;
  }
}
/* ======================end menu====================*/
