@media (max-width: 767px) {

    #menu {
/*        display: none; */
    }

    #left {
        /*  background: yellow; */
        /*    display: none; */
    }

    #content {
        width: auto;
        margin-right: 10px;
        margin-left: 10px;
        float: none;
        padding-top: 40px;
    }
    
    #breadcrumb {
        margin-left: 0;
    }

    #header div {
        position: relative;
        height: 157px;
        background: url('../images/kandydaci-naglowek-w.png') no-repeat left bottom;
    }

    #main {
        width: auto;
    }

    #footer div {
        width: auto;
    }

    /* zwijanie */
    #left {
        display: block;
        position: relative;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        margin-top: 12px;
    }

    #left input {
        display: block;
        width: 80px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
        -webkit-touch-callout: none;
    }

    #left div.menu-burger {
        position: relative;
        left: 45px;
        top: 2px;
        overflow: visible;
        height: 0;
    }

    /*
     * Just a quick hamburger
     */
    #left span.burger {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;

        background: #6d6d6d;
        border-radius: 3px;

        z-index: 1;

        transform-origin: 4px 0px;

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
    }

    #left span:first-child {
        transform-origin: 0% 0%;
    }

    #left span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }

    /*
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    #left input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    /*
     * But let's hide the middle one.
     */
    #left input:checked ~ span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
     * Ohyeah and the last one should go the other direction
     */
    #left input:checked ~ span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    #category {
        position: absolute;
        /*width: 300px;*/
        /*  margin: -100px 0 0 -50px;*/
        padding: 50px;
        padding-top: 125px;

        background: #ededed;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;

        transform-origin: 0% 0%;
        transform: translate(-110%, 0);

        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }

    /*
     * And let's slide it in from the left
     */
    #left input:checked ~ div {
        transform: none;
    }

    /* workaroundy */
    form #Address1, form #Address2 {
        width: auto;
    }

    form div.form_line label {
        width: 100%;
    }

    form div.form_line input, form div.form_line select, form div.form_line textarea {
        box-sizing: border-box;
        min-width: 90%;
        width: 90%;
    }

    form input, form select, form textarea {
        box-sizing: border-box;
        min-width: 90%;
        width: 90%;
    }

}

@media (min-width: 768px) {
    #left span.burger {
        display: none;
    }

    #left #menu-status {
        display: none;
    }

    #left div.menu-burger {
        display: none;
    }
}
