@import url('https://fonts.googleapis.com/css?family=Comfortaa|Lato|Poiret+One&display=swap');

/*
font-family: 'Comfortaa', cursive;
font-family: 'Lato', sans-serif;
font-family: 'Poiret One', cursive;
*/

html,
body {
    font-family: 'Lato';
    font-size: 16px;
    line-height: 1.4;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
}

h1 {
    display: none;
}

.dropdown-content {
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 56px;
    right: -200px;
    transition: right 0.3s;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    right: 0px;
}

.green {
    color: #afdab9;
}

a {
    text-decoration: none;
    color: inherit
}

.buttons {
    float: right;
}

.buttons button {
    border: none;
    cursor: pointer;
    height: 36px;
    margin: 0 2px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
    background-color: #ddd;
    transition: background-color 0.3s;
    font-size: 24px;
    line-height: 40px;
}

.buttons button:hover {
    background-color: #ccc;
}

.container {
    margin: 20px 10px;
    padding: 10px;
    overflow: hidden;
    *zoom: 1;
}

#classes {
    text-align: center;
}

#classes .nothing {
    font-style: italic;
    color: #ddd;
    padding: 10px;
}

.card {
    /*max-width: 460px;*/
    text-align: center;
    background-color: #3b97f3;
    border-radius: 8px;
    padding: 10px;
    margin: 10px auto;
}

.card:nth-of-type(2) {
    background-color: #00ffff;
}

.card:nth-of-type(3) {
    background-color: #00ff40;
}

.card:nth-of-type(4) {
    background-color: #ffff00;
}

.card p {
    margin: 0;
}

.site-content {
    padding-top: 56px;
}

.header {
    position: fixed;
    left: 0;
    right: 0;
    height: 56px;
    line-height: 56px;
    color: #FFF;
    background-color: #222;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.header__logo {
    font-weight: bold;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    font-size: 36px;
    font-family: 'Poiret One';
}

.header__icon {
    display: none;
    order: 1;
    font-size: 36px;
}

@keyframes reload {
    100% {
        transform: rotate(360deg);
    }
}

.menu {
    display: flex;
    order: 2;
}

.menu a:not(.user) {
    padding: 0 10px;
}

.menu a {
    display: flex;
}

.menu a.active {
    font-weight: bold
}

.menu>a i[class^="icon-"] {
    display: none;
}

.menu a i[class^="icon-"] {
    line-height: 56px;
    font-size: 24px;
    margin-right: 6px;
}

.menu a.user {
    width: 100%;
    flex: 1;
    cursor: pointer;
    padding: 20px 0;
}

.menu a.user img {
    filter: invert(1);
}

.menu a.user div {
    text-align: left;
    flex: 1;
    line-height: 20px;
    padding-left: 6px;
}

.menu a.user p {
    margin: 0;
    font-weight: bold;
}

.menu a.user i {
    font-size: smaller;
}

.menu .dropdown.user {
    display: inline-flex;
    align-items: center;
    order: 1;
    user-select: none;
}

.menu a.user .account {
    padding-left: 10px;
}

.menu a.user i[class^="icon-"] {
    line-height: 40px;
    font-size: 24px;
}

@media only screen and (max-width: 900px) {
    .site-pusher,
    .site-container {
        height: 100%
    }
    .site-container {
        overflow: hidden
    }
    .site-pusher {
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -webkit-transform: translateX(0px);
        transform: translateX(0px)
    }
    .site-content {
        position: absolute;
        top: 56px;
        right: 0;
        left: 0;
        bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch
    }
    .header {
        position: static;
    }
    .header__logo {
        padding: 0 6px;
    }
    .header__icon {
        order: unset;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 56px;
        cursor: pointer
    }
    .menu {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: #fff;
        width: 250px;
        -moz-transform: translateX(-250px);
        -ms-transform: translateX(-250px);
        -webkit-transform: translateX(-250px);
        transform: translateX(-250px)
    }
    .menu a:not(.user) {
        padding: 6px 10px;
        height: 40px;
        line-height: 40px;
        color: #222;
        transition: background-color 0.3s;
    }
    .menu>a:nth-child(2) {
        margin-top: 6px;
    }
    .menu a.active {
        background-color: #f0f0f0;
        color: #000;
        font-weight: normal;
    }
    .menu a:not(.active):not(.user):hover {
        background-color: #eaeaea;
    }
    .menu a i[class^="icon-"] {
        display: inline-block;
        line-height: 40px;
    }
    .menu .dropdown.user {
        background-color: #222;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .menu .dropdown .dropdown-content {
        width: 100%;
        top: 0;
        right: 0;
        position: relative;
        height: 0px;
        overflow: hidden;
        transition: height 0.3s;
    }
    .menu .dropdown:hover .dropdown-content {
        height: 104px;
    }
    .with--sidebar .site-pusher {
        -moz-transform: translateX(250px);
        -ms-transform: translateX(250px);
        -webkit-transform: translateX(250px);
        transform: translateX(250px)
    }
    .with--sidebar .site-cache {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6)
    }
}


/*
@media only screen and (max-width: 900px) {
	.header {
		position: fixed;
	}

	.menu {
		overflow: visible;
	}

	.site-content, .header, .footer {
		left: 250px
	}
}*/

.site-cache {
    /*display: none;*/
}