article,aside,figure,footer,header,hgroup,nav,section {
    display: block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: #da312c;
    text-decoration: none;
}

a:hover {
    color: #a71c18;
}

nav {
    display: block;
	position:relative; top:0; right:0px; 
    float: right;
}

.menu {
    display: block;
    margin-bottom: 0;
}

.menu li {
    display: inline-block;
    position: relative;
    z-index: 100;
}

.menu li:first-child {
    margin-left: 0;
}
.menu li:last-child a { padding-right: 0; }

.menu li a {
    font-weight: 700;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #292929;
    transition: all 0.2s ease-in-out 0s;
    font-size: 18px;
    text-transform: uppercase;
}
#menu-item-53 > a:nth-child(1) { padding-right:0;}

.menu li a:hover,.menu li:hover>a {
    color: #da312c;
}

.menu ul {
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 220px;
    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(0,0,0,0,);
    border-bottom-color: rgba(0,0,0,0,);
    border-width: 6px;
    margin-left: -6px;
}

.menu ul li {
    display: block;
    float: none;
    background: none;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    font-size: 15px;
    font-weight: normal;
    display: block;
    color: #fff;
    background: #292929;
    text-transform: none;
    line-height: 1.3;
    padding: 15px 20px;
}

.menu ul li a:hover,.menu ul li:hover>a {
    background: #da312c;
    color: #fff;
}

.menu li:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0,0);
}

.menu ul ul {
    left: 169px;
    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: 0px;
    background: none;
    color: #292929;
    text-transform: none;
}

.responsive-menu:hover {
    background: none;
    color: #da312c;
    text-decoration: none;
}

a.homer {
    background: #2375bb;
}

@media (min-width: 768px) and (max-width: 979px) {
    .mainWrap {
        width: 768px;
    }

    .menu ul {
        top: 37px;
    }

    .menu li a {
        font-size: 12px;
    }

    a.homer {
        background: #374147;
    }
}

@media (max-width: 1080px) {
    .menu li a { font-size:16px; font-weight: 700;text-decoration: none;padding: 10px 7px; }  
    }
@media (max-width: 767px) {
    .mainWrap {
        width: auto;
        padding: 50px 20px;
    }

    .menu {
        display: none;
        margin: 0px;
        top: 0px;
        position: relative;
        z-index: 0;
    }

    .responsive-menu {
        display: inline-block;
        width: 90px;
        right: 0px;
        /*!  */
        position: absolute;
        z-index: 2000;
        top: -85px;
    }

    nav {
        margin: 0;
        background: none;
        width: 100%;
        top: 20px;
    }

    .menu li {
        display: block;
        margin: 0;
    }

    .menu li a {
        background: none;
        color: #797979;
        width: 100%;
        display: block;
        padding: 10px 0px;
    }

    .menu li a:hover,.menu li:hover>a {
        background:none;
    }

    .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;
    }
}

@media (max-width: 580px) {
    .responsive-menu { top: -80px; }
}

@media (max-width: 320px) {
}

.hamburger-menu {
  position: relative;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 30px;
  cursor: pointer;
  display: inline-block;
    padding-right:10px;
  top: 0px;
}

.bar,
.bar:after,
.bar:before {
  width: 30px;
  height: 3px;
}

.bar {
  position: relative;
  transform: translateY(25px);
  background: #da312c;
  transition: all 0ms 200ms;
  top: -3px;
}
.bar.animate {
  background: rgba(255, 255, 255, 0);
}

.bar:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  background: #da312c;
  transition: bottom 200ms 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar:after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  background: #da312c;
  transition: top 200ms 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:after {
  top: 0;
  transform: rotate(45deg);
  transition: top 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:before {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
