/* Tablet Layout: 320px. */
@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 992px) {
    .footer-area {
        position: relative !important;
    }
    .sidebar .widget:last-child,
    .footer-widget .widget:last-child {
        margin-bottom: 0;
    }

    /*-- Sidebar-Area --*/
    .sidebar {
        margin-top: 80px;
    }

    .admin-bar .mainmenu-area.affix {
        top: 0;
    }

    /*-- Content-Area --*/
    .footer-up-content {
        margin-bottom: 0 !important;
    }
}

@media only screen and (min-width: 768px) {

    /*-- Sub-Menu-Style --*/

    .mainmenu-area #mainmenu .sub-menu {
        position: absolute;
        left: 0;
        top: calc(100% + 50px);
        background-color: #ffffff;
        white-space: nowrap;
        visibility: hidden;
        z-index: 99;
        opacity: 0;
        -webkit-transition: 0.3s;
        transition: 0.3s;
        min-width: 200px;
        -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
    }

    .mainmenu-area #mainmenu li:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
        top: 100%;
    }

    .mainmenu-area #mainmenu .sub-menu li {
        display: block;
        border-bottom: 1px solid #EAEAEA;
    }

    .mainmenu-area #mainmenu .sub-menu li:last-child {
        border-bottom: 0;
    }

    .mainmenu-area #mainmenu .sub-menu li a {
        display: block;
        padding: 15px 20px;
    }

    .mainmenu-area #mainmenu .sub-menu .sub-menu {
        top: 0;
        left: auto;
        right: calc(100% + 50px);
    }

    .mainmenu-area #mainmenu .sub-menu li:hover > .sub-menu {
        top: 0;
        right: 100%;
    }

}

@media only screen and (max-width: 768px) {

    .single-navigation {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }

    /*-- Post-Navigation --*/
    .single-navigation .nav-next {
        text-align: center;
        margin-top: 30px;
    }

    .single-navigation .nav-next,
    .single-navigation .nav-previous {
        width: 100%;
    }

    .comment-respond .comment-form .comment-form-email,
    .comment-respond .comment-form .comment-form-url {
        width: 100%;
    }


    .top-bar * {
        text-align: center;
    }

    .top-bar .personal-info,
    .top-bar .social_link {
        width: 100%;
    }

    .top-bar .social_link {
        margin-bottom: 15px;
    }
    .top-bar .personal-info {
        padding: 20px 0;
    }
    .top-bar .personal-info ul li {
        padding: 5px 10px;
    }
    #scrollUp {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        right: 10px;
        bottom: 10px;
    }
}