body {
    background: url('images/bg.jpg') repeat;
    font-family: 'Lato', Calibri, Arial, sans-serif;
    margin: 0 auto;
    padding: 0;
}

a {
    color: #454242;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

h1 {
    font-size: 1.6rem;
}

h2, h3 {
    color:#000;
}

h3 {
    color:#333333;
    margin:3px 0;
    text-shadow:0 1px 1px rgba(255, 255, 255, 0.8);
    font-size: 21px;
}

.cursor.pointer {
    cursor: pointer;
}

/*---HEADER---*/
.header {
    background: url("images/header-logo.png") no-repeat center calc(100% + 2px) scroll;
    margin: 0 auto;
    height: 125px;
    max-width: 885px;
    display: flex;
    justify-content: space-between;
    background-size: 75%;
    border-radius: 0;
}

.header span.lefthook, .header span.righthook {
    display: block;
    width: 35px;
    height: 185px;
}

.header span.lefthook {
    background: url('images/top_hook.png') no-repeat 0 0 scroll;
}


.header span.righthook {
    background: url('images/top_hook.png') no-repeat 0 0 scroll;
    transform: scaleX(-1);
}

.lesson-title {
    display: inline-block;
}

button.menu#showRight {
    background: #FE979C;
    border: medium none;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 1.4em;
    float: right;
    max-width: 170px;
    padding: 0.5em;
    width: 30%;
}

button.menu#showRight:hover {
    background: #FD6A71;
}

button.menu#showRight.active {
    background: #FC434C;
}

button.menu#showRight.disabled {
    background: #aaa;
    pointer-events: none;
}

.icon#hideRight {
    float: right;
}

.logo {
    float: right;
}

/*---MAIN---*/

.page-box {
    margin:0 auto;
    text-align:left;
    min-height: 400px;
    padding-bottom: 20px;
}

.content {
    background: #fdfdfd;
    -webkit-box-shadow: 0 2px 5px -1px #aaa;
    -moz-box-shadow: 0 2px 5px -1px #aaa;
    box-shadow: 0 2px 5px -1px #aaa;
    max-width: 900px;
    margin: 0 auto;
}

.view {
    padding: 40px 20px 0;
}

.vid-container {
    position: relative;
    padding-bottom: 52%;
    padding-top: 30px;
    height: 0;
}

.vid-container iframe,
.vid-container object,
.vid-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.vid-list-container {
    overflow: hidden;
    margin-top: 5px;
}

.vid-list {
    display: flex;
    justify-content: space-between;
}

.playlist-item {
    display: inline-block;
    width: 23%;
    height: auto;
    margin-right: 6px;
}

.thumb {
    overflow:hidden;
    height: 70%;
    cursor: pointer;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    position: relative;
}
.thumb .play-button {
    opacity: .4;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.thumb .play-button:hover {
    background: transparent url("../svg/music-player-play.svg") no-repeat scroll center center/30% auto ;
}

.thumb:hover {
    opacity: .9;
}

.thumb img {
    width: 100%;
    overflow: hidden;
    margin: -10% 0 -12%;
}

.playlist-item .desc {
    background: #f1f1f1 none repeat scroll 0 0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-left: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    border-right: 1px solid #dadada;
    color: #2a2a2a;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0.5rem;
}


.playlist-item .desc:hover {
    background-color: #f7f7f7;
}

.likebutton, .likebutton a {
    color: #F6746C;
    cursor: pointer;
}

.likebutton .icon {
    margin: 0;
}

.likebutton .likes {
    margin-left: 1px;
    font-weight: normal;
}

.likebutton:hover:before {
    content: "Like!";
}

.story {
    background: url('images/ucitel.png') no-repeat 86% bottom;
    clear: both;
}
.story div {
    text-align: justify;
    font-size: 15px;
}

.story .board {
    background: #43624d;
    min-height: 200px;
    width: 65%;
    border: 3px solid white;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 4px -2px black;
    -moz-box-shadow: 0 0 4px -2px black;
    box-shadow: 0 0 4px -2px black;
    display: inline-block;
    font-style: italic;
    text-transform: uppercase;
    color: white;
    padding: 5px 15px;
}

.story .text {
    display:inline-block;
    letter-spacing: 0.11em;
    white-space: pre-line;
}

.voc-list {
    padding: 0;
}

.voc-list li {
    display: inline-block;
    padding-right: 20px;
    width: 150px;
}

.gallery {
    padding: 10px 0;
}

.gallery > div {
    display: inline-block;
}

.gallery p {
    margin: 2px 15px;
}

.materials {
    display: flex;
    justify-content: space-between;
}

.materials .column {
    width: 24%
}

.materials .column .item {
    background: #fcfcfc;
    -webkit-box-shadow: 0 0 4px -2px #bbb;
    -moz-box-shadow: 0 0 4px -2px #bbb;
    box-shadow: 0 0 4px -2px #bbb;
    margin-top: 10px;
    padding: 0.8rem 1.25rem 0.8rem 0.7rem;
    line-height: 2.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
}
.materials .column .item span.title {
    color: #686868;
    font-size: 1.25rem;
}

.materials .column .item span.icon {
    display: inline-block;
    height: 32px;
    width: 32px;
    margin: 0 10px 0 0;
}

.materials .column .item.game span.icon {
    background: url('images/game.png') no-repeat 0 0 scroll;
}
.materials .column .item.sheet span.icon {
    background: url('images/worksheet.png') no-repeat 0 0 scroll;
}
.materials .column .item.exam span.icon {
    background: url('images/exam.png') no-repeat 0 0 scroll;
}
.materials .column .item.ent span.icon {
    background: url('images/entertainment.png') no-repeat 0 0 scroll;
}
.bottom{
    color: #222;
    margin-top: 20px;
}
.footer {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
    background: #e37676;
    line-height: 4.3rem;
    font-weight: lighter;
    font-size: 1.2rem;
    color: #f7f6f6;
    padding: 1rem 2rem;
}

.none{
    margin-left: 20px;
    font-size: 11px;
    color: #222;
}

/*              PARTS            */
/*-------------------------------*/
a.player {
    display: block;
    width: 800px;
    height: 450px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    margin: 0 35px;
    background-color: #fff;
    border: 2px solid #ededed;
}

/* splash image */
a.player img {
    margin-top: 120px;
    border: 0;
}

.gallery a {
    float: left;
    background-color: #F5F5F5;
    margin: 3px 4px;
    border-radius: 4px;
    padding: 1px;
    -moz-border-radius:4px 4px 4px 4px;
    transition: background-color 0.5s ease-out 0s;
}

.gallery a:hover {
    background-color: #4ae;
    transition: none 0s ease 0s ;
}

.gallery img {
    background-color: white;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border-radius: 4px;
    height: 55px;
    width: 70px;
    margin: 1px;
    display: block;
}
div.photo a:hover{
    border-color: #D6F0FF;
}

@media screen and (max-width: 900px) {
    .story {
        background: none;
    }

    .story .board {
        width: 80%;
    }
}


@media screen and (max-width: 768px) {
    .header {
        background-size: 85%;
        height: 95px;
    }

    .header span.lefthook, .header span.righthook {
        background-size: auto 125px;
    }

    .page-box {
        padding-bottom: 0;
    }

    .view {
        padding: 30px 15px 0;
    }

    .story .board {
         width: 95%;
    }

    .materials {
        display: block;
        justify-content: inherit;
    }

    .materials .column {
        width: 100%;
    }
}