﻿@import url("https://fonts.googleapis.com/css?family=Open+Sans:300");
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css");
/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font: 12px/1 'Open Sans', sans-serif;
    color: #444;
    background: #444;
    overflow-x: hidden;
}
*/
.wrapper {
    display: flex;
    min-height: 100%;
    padding-top: 100px;
    background-color: #112e66;
}

input[data-function*='swipe'] {
    position: absolute;
    opacity: 0;
}

label[data-function*='swipe'] {
    color: #ffffff !important;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1;
    display: block;
    width: 42px;
    height: 42px;
    font: 42px/42px fontawesome;
    text-align: center;
    color: #444;
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    transition: transform .3s;
}

input[data-function*='swipe']:checked ~ label[data-function*='swipe'] {
    transform: translate3d(280px, 0, 0);
}

.content {
    flex: 1;
    padding: 80px 30px;
    background: #eee;
    transform: translate3d(0, 0, 0);
    transition: transform .3s;
}

input[data-function*='swipe']:checked ~ .content {
    transform: translate3d(324px, 0px, 0px);
}   

input[data-function*='swipe']:checked ~ .sidebar {
    transform: translate3d(0px, 0px, 0px);
    position: relative !important;
}

    input[data-function*='swipe']:checked ~ .sidebar .menu li {
        width: 100%;
        position: relative !important;
    }



.sidebar {
    padding: 50px;
    transform: translate3d(-380px, 0px, 0px);
    position: absolute;
    /*width: 380px;*/
    width: 380px;
    background: #112e66;
    color: #eee;
    left: 0;
    height: 100%;
    transition: all .3s;
}

.menu li {
   
    list-style: none;
    width: 0%;
    /*background: #17609f;*/
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

    .menu li.active {
        background: #112e66;
        overflow: auto !important;
    }

    .menu li a {
        color: #fff;
        display: block;
        text-decoration: none;
        padding: 5px 0px 5px 0;
        margin: 0 20px;
    }

    .menu li:hover {
        background: #0f4a7e;
        ;
    }

h1, h2 {
    margin: 30px 0;
    font-size: 45px;
    font-weight: 300;
}

h2 {
    font-size: 30px;
}
