.sidebar-contact {
    position: fixed;
    top: 55%;
    right: -350px;
    transform: translateY(-50%);
    width: 350px;
    height: auto;
    padding: 40px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    box-sizing: border-box;
    transition: 0.5s;
}

.sidebar-contact.active {
    right: 0;
    z-index: 9999;
    /* Slide it in from the right */
}

.button-form-new {
    width: auto !important;
    float: none !important;

    background: white;
}

.toggle {
    position: absolute;
    height: 150px;
    /* Adjust height for the vertical text */
    width: 48px;
    text-align: center;
    cursor: pointer;
    background: #f00;
    top: 50%;
    left: -48px;
    /* Keep it positioned outside the sidebar */
    transform: translateY(-50%);
    line-height: 1.5;
    color: #fff;
    font-size: 16px;
    writing-mode: vertical-rl;
    /* Display text vertically */
    transform-origin: center;
}

.toggle.active {
    left: -48px;
    /* Keep the same position for active state */
}


.sidebar-contact input,
.sidebar-contact textarea {
    width: 100%;
    height: 36px;
    padding: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, .5);
    outline: none;
}

.sidebar-contact h2 {
    margin: 0 0 20px;
    padding: 0;
}

.sidebar-contact textarea {
    height: 60px;
    resize: none;
}

.sidebar-contact input[type="submit"] {
    background: #00bcd4;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 18px;
}

.sidebar-contact button {
    background: #00bcd4;
    color: #fff;
    cursor: pointer;
    border: none;
    font-size: 18px;
}


.toggle {
    position: absolute;
    height: auto;
    width: 47px;
    text-align: center;
    cursor: pointer;
    background: #36342C;
    top: 27%;
    left: -47px;
    line-height: 11px;
    font-size: 19px;
    padding: 12px;
    border-top: 1px #fff solid;
    border-right: 1px #fff solid;
}

/* .toggle:before {
    content: '\f003';
    font-family: fontAwesome;
    font-size: 18px;
    color: #fff;
} */

/* .toggle.active:before {
    content: '\f00d';
} */

@media(max-width: 768px) {
    .sidebar-contact {
        width: 100%;
        height: 100%;
        right: -100%;
        /* Move off-screen to the right */
    }

    .sidebar-contact .toggle {
        top: 50%;
        transform: translateY(-50%);
        transition: 0.5s;
    }

    .sidebar-contact.active .toggle {
        top: 0;
        left: 0;
        /* Move toggle with sidebar when it's active */
        transform: translateY(0);
    }

    .scroll {
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }

    .content {
        padding: 50px 50px;
    }
}