.red-header {
    /* background-color: #0000ff; */
    font-size: 14.5px;
    height: 35px;
    text-align: right;
}

.red-header ul {
    background-color: #e60000;
    margin: 0 0 0 auto;
    padding: 0;
    width: max-content;
    width:-moz-max-content;
}

.red-header ul li {
    display: inline-block;
    padding-top:4px;
}

.red-header ul li.active a {
    text-decoration: underline;
}

.red-header ul li a {
    color: #fff;
    height: 35px;
    line-height: 100%;
}

.red-header ul li a:hover, .red-header ul li a:focus {
    background-color: transparent;
}

.logo {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100px;
}

.mainmenu {
    /* background-color: #0000ff; */
    font-size: 19px;
    height: 100px;
    text-align: right;
    border-top: 5px solid #e60000;
    border-bottom: 5px solid #e60000;
    display: flex;
}

.mainmenu ul {
    padding: 0;
    margin: auto 0px;
    width: 100%;
}

.mainmenu ul li {
    display: inline-block;
    margin: 0 16px;
    padding-top:20px;
    padding-bottom:20px;
}
.mainmenu ul li.active a {
    color:#e60000;
    text-decoration: underline;
}
/* .mainmenu ul li:hover a {
    color:#
} */

.mainmenu ul li:last-child {
    margin-right: 0;
}
.mainmenu ul li ul li:last-child {
    margin-right: 16px;
}

.mainmenu ul li.active a {
    text-decoration: none;
}

.mainmenu ul li a {
    color: #000;
    line-height: 100%;
    font-weight: 600;
}

.mainmenu ul li a:hover, .mainmenu ul li a:focus {
    background-color: transparent;
    color:#e60000;
}
.mainmenu ul li:hover ul{
    display:block;
}

.mainmenu ul li ul {
    background-color:#fff;
    position: absolute;
    top: 70px;
    left: 50%;
    text-align: center;
    width: auto;
    transform: translate(-50%, 0);
    padding: 10px;
    border: 5px solid #e60000;
    display:none;
    z-index:2;
}

.mainmenu ul li ul li {
    display: block;
    white-space: nowrap;
    padding:5px 0;
    color:#5f5f5f;

}
.mainmenu ul li.active ul li a{
    color:#5f5f5f;
}
.mainmenu ul li ul li:hover a{
    color:#ff8686;
    color: #e60000;
    text-decoration:none;
}

.mainmenu ul li ul li:first-child:before, .mainmenu ul li ul li:first-child:after {
    background-color: transparent;
    position: absolute;
    width: 5px;
    height: 5px;
    top: -20px;
    left: 50%;
    transform: translate(-50%, 0);
    border-bottom: 20px solid #e60000;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    content: '';
}

.mainmenu ul li ul li:first-child:after {
    border-bottom: 20px solid #fff;
    top: -12px;
}

.hamburger {
    margin-top: 18px;
    cursor: pointer;
}

.hamburger span {
    border-bottom: 2px solid #000;
    width: 30px;
    height: 10px;
    display: block;
}

#mobile-menu {
    background-color: #fff;
    /* height: calc(100% - 74px); */
    width: 80%;
    position: absolute;
    top: 74px;
    left: 0;
    display: none;
    z-index:4;
    padding-bottom:20px;
    margin-left:10px;
    border: solid 4px #e60000;
}

#mobile-menu ul li {
    /* overflow: hidden; */
    white-space: nowrap;
}
#mobile-menu ul li ul {
    list-style: none;
}

#mobile-menu ul li a {
    color: #e60000;
    font-size: 19px;
}

.mainmenu-mobile > ul > li:first-child:before, .mainmenu-mobile > ul > li:first-child:after {
    background-color: transparent;
    position: absolute;
    width: 5px;
    height: 5px;
    top: -20px;
    left: 13%;
    transform: translate(-50%, 0);
    border-bottom: 20px solid #e60000;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    content: '';
}

.mainmenu-mobile > ul > li:first-child:after {
    border-bottom: 20px solid #fff;
    top: -14px;
}

#mobile-menu ul li a:hover, #mobile-menu ul li a:focus {
    background-color: transparent;
}

#mobile-menu ul li ul li {
    padding:4px;
}

#mobile-menu ul li ul li a{
    color:#5f5f5f;
    font-size:16px;
}

@media screen and (max-width: 767px) {
    .logo {
        justify-content: center;
        height: auto;
    }
    .logo img {
        margin: auto;
        width: 180px;
    }
    .hamburger {
        margin-top: 8px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .logo {
        justify-content: center;
        height: auto;
    }
    .logo img {
        margin: auto;
    }
    #mobile-menu {
        height: calc(100vh - 100px);
        top: 100px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .mainmenu {
        font-size: 16px;
    }
    .mainmenu ul li {
        margin: 0 4px;
    }
}

@media screen and (min-width: 1200px) {}
