@charset "utf-8";

/**
 * Tablets.
 */
@media screen and (min-width: 700px) and (max-width: 900px) {

    #content_left {
        padding: 0;
        width: 220px;
    }

    #content_left_wrapper {
        padding: 40px 0 0 25px;
    }

    #content_right {
        width: auto;
        float: none;
        box-sizing: border-box;
    }

    div#background {
        width: 240px;
        padding-right: 0;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}


/**
 * Mobile Menu Button/Acessible Checkbox.
 */
#pseudoMenuButton {
    display: none !important;
}

#mainMenu-state {
    position: fixed;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}

#mainMenuMobileBtn {
    position: fixed;
    top: 5px;
    right: 10px;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    text-indent: -2000px;
    z-index: 1000;
    background: transparent !important;
    margin: 0 auto !important;
}

.accessibilityElement {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    text-indent: -2000px;
    clip: rect(1px,1px,1px,1px);
}

/**
 * Mobile.
 */
@media screen and (max-width: 700px) {

    html,
    body {
        line-height: 1.5;
    }

    html {
        font-size: 100%;
    }

    body {
        font-size: 81.25%;
    }

    p {
        line-height: 1.63;
    }

    #content_left {
        position: fixed;
        top: 0;
        left: -350px;
        width: 78%;
        max-width: 350px;
        height: 100%;
        overflow: auto;
        padding: 0;
        background: #ADADAD;
        z-index: 5;
        transition: all .35s;
    }

    #content_left_wrapper {
        width: 100%;
        padding: 20px 20px 20px 20px;
        float: none;
        box-sizing: border-box;
    }

    #content_right {
        width: auto;
        float: none;
        box-sizing: border-box;
    }

    #content_right_wrapper {
        padding: 40px 30px 0 30px;
        box-sizing: border-box;
    }

    div#background {
        display: none !important;
    }

    img.profileImage {
        width: auto;
        height: auto;
        max-width: 40%;
        padding: 6px;
        margin: 5px 0 5px 15px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    #pseudoMenuButton {
        display: block !important;
    }

    #pseudoMenuButton,
    #pseudoMenuButton * {
        box-sizing: border-box;
    }

    #pseudoMenuButton {
        background: transparent;
        height: 60px;
        width: 60px;
        position: fixed;
        margin: auto;
        padding-top: 5px;
        border: 10px solid transparent;
        top: 5px;
        right: 10px;
        z-index: 999;
        cursor: pointer;
    }

    #pseudoMenuButton .bar {
        display: block;
        position: relative;
        height: 3px;
        width: 42px;
        margin: 6px auto;
        background-color: #4d4f54;
        border-radius: 2px;
        -moz-transition: 0.15s;
        -o-transition: 0.15s;
        -webkit-transition: 0.15s;
        transition: 0.15s;
    }

    #mainMenu-state:checked ~ #pseudoMenuButton .bar:nth-of-type(1) {
        -moz-transform: translateY(9px) rotate(45deg);
        -ms-transform: translateY(9px) rotate(45deg);
        -webkit-transform: translateY(9px) rotate(45deg);
        transform: translateY(9px) rotate(45deg);
    }

    #mainMenu-state:checked ~ #pseudoMenuButton .bar:nth-of-type(2) {
        opacity: 0;
    }

    #mainMenu-state:checked ~ #pseudoMenuButton .bar:nth-of-type(3) {
        -moz-transform: translateY(-9px) rotate(-45deg);
        -ms-transform: translateY(-9px) rotate(-45deg);
        -webkit-transform: translateY(-9px) rotate(-45deg);
        transform: translateY(-9px) rotate(-45deg);
    }

    #mainMenu-state:checked ~ #content_left {
        left: 0;
    }

    body:not(:hover) #mainMenu-state:focus:not(:hover) ~ #pseudoMenuButton {
        outline: 2px dotted #bbb;
    }
}

@media screen and (max-width: 500px) {

    #content_left {
        max-width: calc(100vw - 60px);
    }
}