html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

#stage-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#rotate-screen {
    position: absolute;
    width: 100% ;
    height: 100% ;
    top: 0;
    left: 0;
    z-index: 2147483647;
    background-color: #009bdd;
    background-image: url('../images/platform/rotate_overlay.png') ;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#brim {
    background-color: #009bdd;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99999999px;
    z-index: 2147483648;
    background-image: url('../images/platform/brim.png');
    background-repeat: no-repeat;
    background-position: top center;
}

progress:not([value]) {
   /* Styling here */
}

.hidden {
    display: none ;
}

/* SUBTITLES */

.subtitles {
    position: fixed;
    bottom: 4%;
    left:10%;
    width: 80%;
    text-align: center;
    font-size: 2.0em;
    color: white;
    background-color: black;
}

/* GEL PANEL */

.meter {
    opacity: 0;
    right: 4%;
    top: 20%;
    height: 48px;
    width: 202px;
    position: absolute;
    background-size: inherit;
    z-index: 1000;
}

.meter > span {
    display: block;
    height: 100%;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    position: relative;
    overflow: hidden;
    background-size: inherit;
}

.meter > img {
    top: 19px;
    left: 6px;
    position: absolute;
    max-width: 195px;
    max-height: 22px;
}

.gelUIPanel {
    position: absolute;
    padding: 0;
    margin: 0;
    background-size: cover;
    background-position: center center;
}

.gelUIPanel.horizontal * {
    position: relative;
    display: inline-block;
}

.gelUIPanel.vertical {
    text-align: center;
}

.gelUIPanel.vertical * {
    position: relative;
    display: block;
}

.gelUIPanel.vertical.bottom.left * {
    margin-top: 2px ;
}

.gelUIPanel.vertical.bottom.right * {
    margin-top: 2px ;
}

.gelUIPanel.fillscreen {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.gelUIPanel.horizontal.left *{

}

.gelUIPanel.horizontal.right * {

}

.gelUIPanel.left {
    left: 2%;
}

.gelUIPanel.right {
    right: 2%;
}

.gelUIPanel.top {
    top: 3%;
}

.gelUIPanel.bottom {
    bottom: 2%;
}

.gelUIPanel.icons {
    width:64px;
}

.gelUIPanel.center {
    top: 50.5%;
    left: 50%;

    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* GEL BUTTONS */
.gelUIButton, .gelUIIcon {
    background-color: transparent;
    position: absolute;
    padding: 0;
    margin: auto;
    border: none;
    cursor: pointer;
    outline: 0;
    text-align: center;
}

.gelUIIcon {
    background-color: transparent;
    position: absolute;
    margin: auto;
    margin-left: 32px;
    border: none;
    outline: 0;
    text-align: center;
    pointer-events: none;
}

.gelUIButton img {
    position: absolute;
    max-height: 100%;
    min-width: 42px;
    min-height: 42px;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.gelUIIcon img{
    position: absolute;
    min-width: 72px;
    min-height: 72px;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.gelUIButton button {
    position: absolute;
    min-width: 64px;
    min-height: 64px;
    width: 100%;
    height: 100%;
    padding: 0px;
    overflow: hidden;
    background-color: transparent;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.gelUIButton.overrideImgAnchor img {
    top:inherit;
    right:inherit;
    bottom:inherit;
    left:inherit;
    -ms-transform: translate(0,0);
    -webkit-transform: translate(0, 0);
    transform: translate(0,0);
    margin: auto;
}

.gelUIButton.overrideImgAnchor.imgLeft img {
    left:0;
}

.gelUIButton.overrideImgAnchor.imgRight img {
    right:0;
}

.gelUIButton.overrideImgAnchor.imgTop img {
    top:0;
}

.gelUIButton.overrideImgAnchor.imgBottom img {
    bottom:0;
}

.gelUIButton.overrideImgAnchor.imgCenterX img {
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.gelUIButton.std, .gelUIIcon {
    width: 64px;
    height: 64px;
}

.gelUIButton.std img, .gelUIIcon img {
    width: 42px;
    height: 42px;
    position: absolute;
}

.gelUIButton.wide {
    width: 194px;
    height: 64px;
}

.gelUIButton.wide img {
    height: 42px;
}

.gelUIButton.right, .gelUIIcon.right {
    right: 2%;
}

.gelUIButton.top, .gelUIIcon.top {
    top: 2%;
}

.gelUIButton.left, .gelUIIcon.left {
    left: 2%;
}

.gelUIButton.bottom, .gelUIIcon.bottom {
    bottom: 5%;
}

.gelUIButton.centerX, .gelUIIcon.centerX {
    left: 50%;
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.gelUIButton.centerY, .gelUIIcon.centerY {
    top: 50%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.gelUIButton.next, .gelUIIcon.next {
    right: 2%;
    top: 50.4%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.gelUIButton.previous, .gelUIIcon.previous {
    left: 2%;
    top: 50.4%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

/* LARGER SCREEN STYLES */
@media only screen and ( min-device-width:700px) {

      .meter {
        height: 70px;
        width: 300px;
        right: 4.5%;
        top: 12%;
        background-size: initial;
        -ms-transform: scale(1.2,1.2);
        -webkit-transform: scale(1.2,1.2);
        transform: scale(1.2,1.2);
        z-index: 1000;
    }

    .meter > span {
        bottom: 2px;
        background-size: initial;
    }

    .meter > img {
        top: 32px;
        left: 18px;
        max-height: 70px;
        max-width: 260px;
    }

    .gelUIPanel.horizontal.left * {
        margin-right: 18px ;
    }

    .gelUIPanel.horizontal.center * {
        
    }

    .gelUIPanel.horizontal.right * {
        margin-left: 18px ;
    }

    .gelUIPanel.left {
        left: 2%;
    }

    .gelUIPanel.right {
        right: 2%;
    }

    .gelUIPanel.top {
        top: 2.6%;
    }

    .gelUIPanel.bottom {
        bottom: 5.5%;
    }

    .gelUIPanel.bottom.left {
        left: 4.5%;
    }

    .gelUIPanel.bottom.right {
        right: 4.5%;
    }

    .gelUIPanel.bottom.right.skip {
        right: 2%;
    }

    .gelUIButton.std, .gelUIIcon {
        width: 70px;
        height: 70px;
    }

    .gelUIButton.wide img {
        height: 70px;
    }

    .gelUIButton.std img, .gelUIIcon img {
        width: 64px;
        height: 64px;
        position: absolute;
    }

    .gelUIButton.wide {
        width: 254px;
        height: 70px;
    }
}

/* GEL SETTINGS PANEL */

div.gelui_settings_container {
    position: absolute;
    padding: 0;
    margin: 0 ;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
}

div.gelui_settings_panel {
    font-family: Helvetica,Arial,sans-serif;
    color: rgb(66,77,77);
    font-size: 15px;
    position: absolute;
    top: 4%;
    left: 2%;
    bottom: 4%;
    right: 4%;
    width: 96vw;
    height: 93vh;
    border-radius: 6px ;
    background-color: rgb(255,249,249);
    -webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.3);
    padding: 0 ;
    margin: 0;
}

div.gelui_settings_panel h1, div.gelui_settings_panel h2 {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

div.gelui_settings_panel h2 {
    font-size: 15px;
}

div.gelui_settings_panel div.column_wrap {
    width: 100%;
    height: 100%;
    padding: 0 ;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
}

div.gelui_settings_panel div.column {
    height: 100%;
    display: inline-block;
    padding: 0 ;
    margin: auto;
    overflow: hidden;
    position: relative;
}

div.gelui_settings_panel div.column.left {
    width: 15%;
    float: left;
    position: relative;
}

div.gelui_settings_panel div.column.center {
    width: 62%;
}

div.gelui_settings_panel div.column.right {
    width: 15%;
    float: right;
    position: relative;
}

div.gelui_settings_panel div.title_container {
    overflow: hidden;
    height: 18%;
    width: 100%;
    position: relative;
}

div.gelui_settings_panel div.title_container>div.title {
    font-weight: bold;
    overflow: hidden;
    width: 100%;
    padding: 1px;
    position: absolute;
    top: 50%;
    left: 46%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

div.gelui_settings_panel div.title_container>div.title>span {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-top: 16px;
}

div.gelui_settings_panel div.title_container>div.title>div.gear {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    background-image: url("../images/ui/ui_settings_gear.png");
    background-size: cover;
    vertical-align:middle;
    display: inline-block;
}

div.gelui_settings_panel div.items {
    height: 71%;
    overflow: auto;
}

div.gelui_settings_panel div.item_container {
    height: 36%;
    overflow: hidden;
    text-align: left;
    position: relative;
}

div.gelui_settings_panel div.item_inner {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

div.gelui_settings_panel div.item_container p {
    color: rgb(101, 113, 113);
    width: 86%;
    line-height: 18px;
    margin-top: 6px ;
    padding: 0;
    font-size: 14px;
}

div.gelui_settings_panel div.item_container {
    border-bottom: 1px solid rgba(66,77,77,0.1) ;
}

div.gelui_settings_panel div.item_inner div.toggle {
    position: absolute;
    right: 0px;
    top: 50%;
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    width: 64px;
    height: 32px;
    background-size: 64px 64px;
    background-repeat: no-repeat;
    background-image: url('../images/ui/ui_settings_toggle.png');
}

div.gelui_settings_panel div.item_inner div.toggle[data-state='on'] {
    background-position: 0 100% ;
}

div.gelui_settings_panel div.item_inner div.toggle[data-state='off'] {
    background-position: 0 0 ;
}

div.gelui_settings_panel div.pagination {
    width: 100%;
    height: 10%;
    position: absolute;
    bottom: 0;
    display: table;
}

div.gelui_settings_panel div.pagination>* {
    display: table-cell;
    vertical-align: middle;
}

div.gelui_settings_panel div.nav {
    position: absolute;
    width: 42px ;
    height: 42px ;
    background-size: cover;
}

*.hoverGrow {
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);

    transition: transform 0.1s ease;
    -ms-transition: -ms-transform 0.1s ease;
    -moz-transition: -moz-transform 0.1s ease;
    -webkit-transition: -webkit-transform 0.1s ease;
}

*.hoverGrow:hover {
    transform: scale(1.15, 1.15);
    -ms-transform: scale(1.15, 1.15);
    -moz-transform: scale(1.15, 1.15);
    -webkit-transform: scale(1.15, 1.15);
    transition: transform 0.1s ease;
    -ms-transition: -ms-transform 0.1s ease;
    -moz-transition: -moz-transform 0.1s ease;
    -webkit-transition: -webkit-transform 0.1s ease;
}

*.hoverGrow:focus {
    transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}

div.gelui_settings_panel div.nav.left {
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

div.gelui_settings_panel div.nav.right {
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

div.gelui_settings_panel div.nav.close {
    top: 0px;
    right: 0px;
    margin: 10px;
}

div.gelui_settings_panel div.toggle button {
    width: 63px;
    height: 31px;
}

.gelUIButton.nav.close {
    top: 0;
    right: 0;
    margin: 10px;
}

/* LARGER SCREEN STYLES */
@media only screen and (min-device-width:700px) {

    div.gelui_settings_panel {
        top: 55.5%;
        left: 48%;
        width: 84vw ;
        height: 69vh ;
        position: absolute;
        margin-left: -40vw;
        margin-top: -40vh;
    }

    div.gelui_settings_panel h1 {
        font-size: 24px;
    }

    div.gelui_settings_panel h2 {
        font-size: 18px;
    }

    div.gelui_settings_panel p {
        font-size: 15px;
    }

    div.gelui_settings_panel div.nav {
        width: 64px;
        height: 64px;
    }

    div.gelui_settings_panel div.item_inner div.toggle {
        width: 95px;
        height: 48px;
        background-size: 95px 95px;
    }

    div.gelui_settings_panel div.toggle button {
        width: 95px;
        height: 48px;
    }

    div.gelui_settings_panel div.column.center {
        width: 57%;
    }

    div.gelui_settings_panel div.item_inner{
        top: 40%;
    }

    div.gelui_settings_panel div.title_container>div.title{
        left: 46%;
    }

    div.gelui_settings_panel div.title_container>div.title>span {
        font-size: 18px;
        margin-top: 10px;
        vertical-align: baseline;
    }

    div.gelui_settings_panel div.title_container>div.title>div.gear{
        width: 25px;
        height: 25px;
        margin-right: 35px;
    }

    div.gelui_settings_panel div.item_container {
        height: 33%
    }

    div.gelui_settings_panel div.nav.close {
        top: 7px;
        right: 6px;
        margin: 10px;
    }

    .gelUIButton.nav.close {
        top: 0;
        right: 0;
        margin: 20px;
    }
}

/* DOM UI ELEMENTS... */

/* STATE INDICATOR PANEL */
#gel_indicator_panel {
    margin-right: 100px;
}

@media only screen and (min-device-width:700px) {
    #gel_indicator_panel {
        margin-right: 130px;
    }
}

/* TITLE */
#gelui_title_play, #gelui_title_play:focus {
    top: 67%;
    left: 50%;
    width: 90px;
    height: 90px;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#gelui_title_play img {
    width: auto;
    height: auto;
}

@media only screen and (min-device-width:700px) {
    #gelui_title_play, #gelui_title_play:focus {
        top: 73%;
        left: 50%;
        width: 220px;
        height: 220px;
    }
}

/* PAUSE */
#gelui_pause_resume {
    width: 90px;
    height: 90px;
}

#gelui_pause_resume img {
    width: auto;
    height: auto;
}

#gelui_pause_restart {
    width: 90px;
    height: 90px;
    margin-right: 22px;
}

#gelui_pause_restart img {
    width: auto;
    height: auto;
}

#gelui_pause_levels {
    width: 90px;
    height: 90px;
    margin-left: 22px;
}

#gelui_pause_levels img {
    width: auto;
    height: auto;
}

@media only screen and (min-device-width:700px) {
    #gelui_pause_resume {
        width: 180px;
        height: 180px;
    }

    #gelui_pause_restart {
        width: 180px;
        height: 180px;
        margin-right: 32px;
    }

    #gelui_pause_levels {
        width: 180px;
        height: 180px;
        margin-left: 32px;
    }
}
