/* ------------------------------------------
  DEMO PAGE'S STYLES
--------------------------------------------- */
body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

a:active,
a:hover {
  outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
  background: #fff;
  font: normal 100%/1.4 sans-serif;
}

.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: left;
  margin-bottom: 10px;
}

.nav-collapse li {
  float: left;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: 12.5%;
    *width: 24.9%; /* IE7 Hack */
    _width: 19%; /* IE6 Hack */
  }
}

.nav-collapse a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  background: #485874;
  border-bottom: 1px solid white;
  padding: 0.7em 1em;
  float: left;
  text-transform: capitalize;
  font-weight: bold;
  -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 1);
-moz-box-shadow: inset 0px 0px 10px 1px rgba(102,102,102,1);
box-shadow: inset 0px 0px 10px 0px rgba(32, 32, 32, 1)
}

.nav-collapse li.active a {
  background: #f2f2f2;
  color: #485874;
  font-weight: 700;
}

.nav-collapse a:hover {
  background: #f2f2f2;
  color: #485874;
  font-weight: 700;
  text-decoration: none;
}

.nav-collapse a[title="About Us"],
.nav-collapse a[title="Events"],
.nav-collapse a[title="News"],
/*.nav-collapse a[title="EU Regulations"],*/
.nav-collapse a[title="EU Projects"],
.nav-collapse a[title="Committees"]{
  padding-top: 18px;
}

.nav-collapse a[title="EU Regulations"] {
  padding-top: 18px;
}

@media screen and (min-width: 40em) {
  .nav-collapse a {
    font-size: 14px;
    margin: 0;
    padding: 0.5em;
    float: left;
    text-align: center;
    border-bottom: 0;
    border-right: 1px solid white;
    height: 55px;
    text-transform: capitalize;
  }
}

@media screen and (max-width: 768px) {
  .nav-collapse a[title="EU Regulations"] {
    padding-top: 6px;
  }
}

@media screen and (min-width: 1080px) and (orientation: portrait) {
  .nav-collapse a[title="EU Regulations"] {
    padding-top: 6px !important;
  }  
}

@media screen and (min-width: 1920px) and (orientation: landscape) {
  .nav-collapse a[title="EU Regulations"] {
    padding-top: 18px !important;
  }  
}

@media screen and (min-width: 1650px) and (max-width: 1900px) {
  .nav-collapse a[title="Member Associations"],
  .nav-collapse a[title="EU Regulations"] {
    padding-top: 18px;
  }
}

/*
@media  screen and (max-width: 1680px) {
  .nav-collapse a[title="Member Associations"] {
    padding-top: 18px;
  }
}*/

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  { 
  .nav-collapse a[title="Member Associations"],
  .nav-collapse a[title="EU Regulations"] {
    padding-top: 6px !important;
  }
}

@media only screen and (min-width: 1600px) and (max-width: 1679px)  { 

  .nav-collapse a[title="Member Associations"] {
    padding-top: 7px;
  }

  .nav-collapse a[title="EU Regulations"] {
    padding-top: 18px;
  }
}


  .nav-collapse li:last-child a {
    border-right: none;
  }
}


@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) {
    .nav-collapse a[title="EU Regulations"] {
      padding-top: 18px !important;
    }

    .panel div.side-submenu ul li a {
      text-indent: 3px;
    }
}

.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape) {
    .nav-collapse a[title="EU Regulations"] {
      padding: 18px 3px !important;
    }
}

@media screen and (min-width: 40em) {
  .nav-collapse ul ul a {
    display: none;
  }
}

.nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100px;
  height: 50px;
  padding-top: 17px;
  float: right;
  background: #FFF;
  text-align: center;
  font: normal normal bold 1.3em/20px 'Arial',sans-serif;
  text-transform: uppercase;
  color: #7FB92B;
  /*text-indent: -9999px;*/
  overflow: hidden;
  /*background: #7FB92B url("../img/hamburger.gif") no-repeat 50% 45%;*/

}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  .nav-toggle {
    background-image: url("hamburger-retina.gif");
    -webkit-background-size: 100px 100px;
    -moz-background-size: 100px 100px;
    -o-background-size: 100px 100px;
    background-size: 100px 100px;
  }
}

@media only screen and (width:768px) and (resolution: 163dpi) {
   .nav-collapse a {
    font-size: 12px;
   }
}


