:root {
    --ruffle-blue: #37528c;
    --ruffle-orange: #ffad33;
}
:host {
    width: 100% !important;
    height: 100% !important;
}
.ruffle-player {
    width: 100%;
    height: 100%;
}
body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    font-family: "Lato", sans-serif;
    display: flex;
    flex-flow: column;
    background: black;
}

#main {
    position: relative;
    flex: 1;
}

#overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    border: 8px dashed var(--ruffle-orange);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    display: none;
    margin: 10px 5px;
}

#overlay.drag {
    opacity: 1;
    transition-timing-function: ease-out;
}

#prompt {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--ruffle-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: large;
}

#player {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    margin: 0px 0 !important;
}
#local-file-container {
    display: none !important;
}

#nav {
    width: 100%;
    background: #00bcc6 !important;
	box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: white;
    padding: 5px 0 5px 0 !important;
    margin-bottom: 0px !important;
}
.logotext {
    text-decoration: none;
	display: flex;
}
.logotext span {
    color: #fff;
    border: none;
    box-shadow: none;
    vertical-align: super;
    margin-left: 10px;
    margin-top: 8px;
}
#title {
    transition: opacity 0.5s;
}

#title:hover {
    opacity: 0.5;
}

#title img {
    height: 32px;
}

#file-picker select,
#file-picker input,
#author {
    margin-left: 5px;
}

#local-file-container {
    display: inline-block;
    vertical-align: middle;
}

#sample-swfs-container {
    display: none;
    vertical-align: middle;
}

#author-container {
    display: none;
    font-size: small;
}

#author {
    color: var(--ruffle-orange);
}

@media only screen and (max-width: 800px) {
    #local-file-container,
    #sample-swfs-container {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    #local-file-container {
        display: none;
    }

    #sample-swfs-label {
        display: none;
    }

    #author-container {
        font-size: 12px;
        text-align: center;
    }

    #nav {
        flex-flow: column;
    }
}
#author-container {
	display: none !important;
}
#sample-swfs #anim-optgroup {
	display: none !important;
}