*, *:after, *:before {
box-sizing: border-box;
}

.clearfix:after { content: ""; display: table; clear: both; }

html, body { margin: 0; font-size: 16px; line-height: normal; }
body {
    font-family: 'Roboto', sans-serif; color: #333333;
    background: #565656 none; overflow: hidden;
}

.content-wrapper {
position: fixed; top: 0; bottom: 0; width: 100%; overflow: hidden;
display: flex; flex-flow: column nowrap; justify-content: flex-start; align-items: center;
}

.photo-frame {
position: relative; width: 100%; max-width: 1920px; z-index: 10;
height: 100%; max-height: 1080px; margin: 0 auto;
}

.photos-holder {
position: relative; width: 100%; height: 100%;
background-position: center top; background-repeat: no-repeat; background-size: contain;
}

.controls-row {
    position:absolute; z-index: 30;
    width: 100%; bottom: 0;
}
.controls-row.hidden { visibility: hidden; }

.controls {
    background-color: rgba(12, 0, 26, 0.47); width: 100%; max-width: 480px;
    margin: 0 auto;
    display: flex; flex-flow: row nowrap; justify-content: flex-start; align-items: center;
}

  
.nav-btn { width: 42px; height: 42px; cursor: pointer; }
.nav-btn.play {  margin-left: auto;background: transparent url("bg-play.png") no-repeat center center; background-size: contain; }
.nav-btn.play.playing { background-image: url("bg-pause.png"); }
.nav-btn.prev {  margin-left: 26px; }
.nav-btn.next {  margin-right: 12px; }
.nav-btn img { width: 100%; height: 100%; }
.nav-btn.next img { transform: rotateZ(90deg); }
.nav-btn.prev img { transform: rotateZ(-90deg); }
.position { color: white; width: 65px; text-align: center; font-size: 0.875rem; }
.position .current { font-weight: bold; }
.position .total { opacity: 0.38; }
.menu-is-open .nav-btn, .menu-is-open .position { visibility: hidden; }

.albums-mask {
	position: fixed; width: 100%; z-index: 20;
    left: 0; top: 0; bottom: 0; padding: 20px;
    background: rgba(255, 255, 255, 0.82); overflow-x: hidden; overflow-y: auto;
}
.albums-title {
    font-size: 1.250rem; text-align: center; padding: 10px 20px 20px; color: #2d1701;
}
.albums {
    display: flex; flex-flow: row wrap; justify-content: center; align-items: stretch;
	padding-bottom:61px;
}

.albums a {
    text-align: center;
    display: inline-block; margin: 10px; max-width: 220px; min-width: 220px; max-height: 80px;
    border: 1px solid rgba(0, 0, 0, 0.32); padding: 10px; background: white none;
    text-decoration: none; transition: all 0.3s;
    font-size: 0.875rem; font-weight: 500; color:#3c1f01;
	display: flex; flex-flow: row nowrap; justify-content: center; align-items: center;
}
.albums a:hover { color: #874602; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.12); background-color: rgb(247, 236, 221); }

/* ========================================= */
.menu-toggle-button { width: 56px; height: 56px; position: relative; cursor: pointer; transition: all 0.3s; overflow: hidden; }
.menu-toggle-button span { display: block; position: absolute; top: 27px; left: 12px; right: 12px; height: 2px; background-color: #ffffff; }
.menu-toggle-button span:before, .menu-toggle-button span:after { position: absolute; display: block; left: 0; width: 100%; height: 2px; background-color: #ffffff; content: " "; transition-duration: 0.3s, 0.3s; transition-delay: 0.3s, 0s; }
.menu-toggle-button span:before { top: -6px; transition-property: top, transform; }
.menu-toggle-button span:after { bottom: -6px; transition-property: bottom, transform; }
.menu-is-open .menu-toggle-button span { background: none; }
.menu-is-open .menu-toggle-button span:before { top: 0; transform: rotate(45deg); }
.menu-is-open .menu-toggle-button span:after { bottom: 0; transform: rotate(-45deg); }
.menu-is-open .menu-toggle-button span:before, .menu-is-open .menu-toggle-button span:after { transition-delay: 0s, 0.3s;}
/* ========================================= */


@media only screen and (max-width: 768px) {
    .albums a {
        margin: 0 0 5px; max-width: none; min-width: auto; width: 100%; max-height: none;
    }
}