article,
aside,
figure,
footer,
header,
hgroup,
nav,
section { display: block; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/*
html { -webkit-font-smoothing: antialiased; }*/
html{
   margin: 0px;
   padding: 0px;
   max-width: 100%;
   overflow-x: hidden;
}
a {
  color: #0164a7;
  text-decoration: none;
}

a:hover { color: #000000; }

/*body {
  background: #e5e5e5;
  color: #0164A7;
  font: 14px "roboto", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  width: 100%;
}
*/
nav {
  display: block;
  background: #fff;
}

.menu { 
    display: block; 
    float: right;

}

.menu li {
  display: inline-block;
  position: relative;
  z-index: 100;

}

.menu li:first-child { margin-left: 0; }

.menu li a {
  font-weight: 600;
  text-decoration: none;
  padding: 18px 10px;
  display: block;
  color: #0164a7;
  transition: all 0.2s ease-in-out 0s;
}

.menu li a:hover, .menu li:hover > a {
    color: #0164a7;
    background: #FFF;
}
.menu ul {
  visibility: hidden;
  opacity: 0;
  margin: 0;
  padding: 0;
  width: 200px;
  position: absolute;
  left: 0px;
  background: #fff;
  z-index: 99;
  transform: translate(0, 20px);
  transition: all 0.2s ease-out;
}

.menu ul:after {
  bottom: 100%;
  left: 20%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 6px;
  margin-left: -6px;
}

.menu ul li {
  display: block;
  float: none;
  background: none;
  margin: 0;
  padding: 0;
  text-transform:uppercase;
}

.menu ul li a {
  font-size: 11px;
  font-weight: normal;
  display: block;
  color: #797979;
  background: #fff;
    font-weight: 600;
}

.menu ul li a:hover,
.menu ul li:hover>a {
  background: #0164A7;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.menu li:hover>ul {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}

.menu ul ul {
  left: 199px;
  top: 0px;
  visibility: hidden;
  opacity: 0;
  transform: translate(20px, 20px);
  transition: all 0.2s ease-out;
}

.menu ul ul:after {
  left: -6px;
  top: 10%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #fff;
  border-width: 6px;
  margin-top: -6px;
}

.menu li>ul ul:hover {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
}

.responsive-menu {
  display: none;
  width: 100%;
  padding: 10px 15px;
  background:#fff;
  color:#0164A7;
  text-transform: uppercase;
  font-weight: 600;
}

.responsive-menu:hover {
  background: #0164A7;
  color: #fff;
  text-decoration: none;
}

a.homer { background: #f6e447; color:#fff;}
.details-nav {
    text-align: center;
  
}
@media only screen and (max-width:1900px){
    .menu ul li a {
  font-size: 14px;
  font-weight: normal;
  display: block;
  color: #797979;
  background: #fff;
    font-weight: 600;
}

.menu ul li a:hover,
.menu ul li:hover>a {
  background: #0164A7;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
}
@media only screen and (max-width:1600px){
    .menu ul li a {
  font-size: 14px;
  font-weight: normal;
  display: block;
  color: #797979;
  background: #fff;
    font-weight: 600;
}

.menu ul li a:hover,
.menu ul li:hover>a {
  background: #0164A7;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
}
@media only screen and (max-width:1366px){
    .menu ul li a {
  font-size: 11px;
  font-weight: normal;
  display: block;
  color: #797979;
  background: #fff;
    font-weight: 600;
}

.menu ul li a:hover,
.menu ul li:hover>a {
  background: #0164A7;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
}
 @media (min-width: 768px) and (max-width: 979px) and (-webkit-min-device-pixel-ratio: 0) {

.mainWrap { width: 768px; }

.menu ul { top: 37px; }

.menu li a { font-size: 14px; }

a.homer { background: #f6e447; }
.custom_logo {
    width: 50%;
}
.navbar-brand {
    padding: 8px 6px;
    width: 10px;
}
.menu { 
    display: block; 
    float: right;
    width:100%;
 
}
}
 @media (max-width: 767px) {

.mainWrap {
  width: auto;
  padding: 50px 20px;
}

.menu { display: none; }

.responsive-menu { display: block; }

nav {
  margin: 0;
  background: none;
}

.menu li {
  display: block;
  margin: 0;
}

.menu li a {
  background: #fff;
  color: #797979;
  line-height: 15px;
}

.menu li a:hover,
.menu li:hover>a {
  background: #0164A7;
  color: #fff;
}

.menu ul {
  visibility: hidden;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  transform: initial;
}

.menu li:hover>ul {
  visibility: visible;
  opacity: 1;
  position: relative;
  transform: initial;
}

.menu ul ul {
  left: 0;
  transform: initial;
}

.menu li>ul ul:hover { transform: initial; }
.custom_logo {
    width: 50%;
}
.navbar-brand {
    padding: 8px 6px;
    width: 10px;
}
.menu { 
    display: block; 
    float: right;
    width:100%;
}
}