/*
 * Style tweaks
 * --------------------------------------------------
 */

html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

/*
 * Off Canvas
 * --------------------------------------------------
 */

.row-offcanvas {
    position: relative;
    transition: all 0.25s ease-out;
}

.sidebar-offcanvas {
    position: absolute;
    top: -100%;
    transition: all 0.25s ease-in-out;
    width: 100%; /* 6 columns */
}

.row-offcanvas-top.active .sidebar-offcanvas {
    top: 0;
}

@media (max-width: 1199px) {
    .sidebar-offcanvas {
        right: 0;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .sidebar-offcanvas {
        right: 0;
        width: 100%;
    }
}

.hamburger {
}

@media (max-width: 767px) {
    .hamburger {
        float: none;
        margin-top: 20px;
        width: 100%;
    }
}

.hamburger .mline {
    background-color: #000;
    display: block;
    height: 3px;
    margin: 10px auto;
    transition: all 0.3s ease-in-out;
    width: 50px;
}

.hamburger:hover {
    cursor: pointer;
}

#hamburger-1.is-active .mline:nth-child(2) {
    opacity: 0;
}

#hamburger-1.is-active .mline:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

#hamburger-1.is-active .mline:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}
