@media screen and (max-width:1279px) {
    .menu ul li a {
        margin: 0 0 0 15px;
    }
}
@media screen and (min-width:992px) and (max-width:1210px) {
    .menu ul li a {
        margin: 0 3px;
        padding: 10px 0;
        font-size: 12px;
    }
}
@media screen and (min-width:992px) {
    .menu {
        display: block !important;
    }
    .menu ul li:hover .drop-menu {
        display: block !important;
    }
    .drop-menu {
        position: absolute;
        top: 30px;
        left: 10px;
        right: 0;
        display: none !important;
        width: 215px;
        padding:10px 0 0;
    }
}

@media screen and (max-width:991px) {
    .menu {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #f8f8f8;
    }
    button.menu-btn.open span:first-child {
        top: 50%;
        margin-top: -1px;
        transform: rotate(-45deg);
    }
    button.menu-btn.open span:last-child {
        top: 50%;
        margin-top: 0;
        transform: rotate(45deg);
    }
    button.menu-btn.open span:nth-child(2) {
        opacity: 0;
    }
    .menu ul {
        display: block;
        border-top: 1px solid #ddd;
    }
    .menu ul li {
        display: block;
        border-bottom: 1px solid #ddd;
    }
    .menu ul li a,.menu ul li a.sub-menu {
        margin: 0;
        padding: 10px;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .drop-menu {
        display: none;
    }
    .drop-menu ul {
        filter: none;
        -webkit-filter: none;
    }
    .menu ul li a.last {
        border-radius: 0;
        color: #000;
        background-color: #ff6e0033;
        width: 100%;
    }
    .menu ul li a.sub-menu {
        background-position: center right 10px;
    }
    button.menu-btn {
        display: block;
    }
    .menu ul li ul {
        position: relative;
        width: 100%;
        top: auto;
        left: auto;
        margin: 0;
        border-bottom: none;
        border-width: 1px 0 0 0;
    }
    .menu ul li ul li:last-child {
        border-bottom: none;
    }
    .menu ul li a.sub-menu {
        background-image: none;
    }

    .menu ul li a.sub-menu:after {
        right: 15px;
        top: 16px;
    }
    .menu ul li a.sub-menu:after {
        content: '';
        position: absolute;
        border-top: 8px solid #333;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        width: auto;
        left: auto;
        background-color: transparent !important;
    }
    .menu ul li a.sub-menu.active-menu:after {
        content: '';
        position: absolute;
        border-top: 0 solid #333;
        border-bottom: 8px solid #333;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        top: 13px;
    }
    .menu > ul > li > a.active:after {
        display: none;
    }
    .menu > ul > li > a.sub-menu.active:after {
        display: inline-block;
    }
    .menu ul li a:hover:after {
        background-color: transparent;
    }
    .header-mobile-right {
        display: flex;
    }
    .footer-left {
        width: 100%;
    }
    .footer-right {
        width: 100%;
        padding-top: 30px;
    }
    .footer-building-holder {
        height: auto;
        width: 100%;
    }
    .contact-rowblock {
        left: auto;
        right: auto;
        position: relative;
        transform: none;
        margin: 20px;
        max-width: initial;
        width: auto;
    }
    footer#maine-footer {
        padding-top: 1px;
    }
    footer#maine-footer.inner_footer {
        margin-top: 40px;
    }
}
@media screen and (max-width:767px) and (max-height:719px) {
    .menu {
        overflow-y: auto;
        height: calc(100vh - 73px);
        height: -o-calc(100vh - 73px);
        height: -ms-calc(100vh - 73px);
        height: -moz-calc(100vh - 73px);
        height: -webkit-calc(100vh - 73px);
        overflow-x: hidden;
    }
}
@media screen and (max-width:667px) {
.footer-inner{ width:98%;}
}

@media screen and (max-width:480px) {
    .footer-right-col {
        width: auto;
        padding: 10px 0 0 0;
        margin-top: 8px;
    }
    .footer-right-col:before {
        width: 100%;
        height: 1px;
    }
    .footer-right-bottom .footer-left-col {
        width: 100%;
    }
    .footer-right-bottom .footer-right-col {
        width: 100%;
        text-align: center;
    }
    .footer-right span.copyright-txt {
        width: 100%;
    }
}
@media screen and (max-width:414px) {
.logo a {
    display: inline-block;
}
.footer-left{width:100%; text-align:center;}
.footer-right{width:100%; text-align:center; margin:10px 0 0; padding: 0;}
.footer-right span{width:100%; text-align:center;}
.logo a img {
    height: 40px;
    vertical-align: middle;
    margin-top: 5px;
}
}

