html, body {
    padding: 0;
    margin: 0;
    height: 100%;
	overflow: hidden;
}

a img {
    border: none;
}

#headband-container {
	display: none;
}

#container {
    margin-top: 65px !important;
    height: 100%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#wrapper {
    position: relative;
}

.navigation-bar {
    background: #fff;
    width: 100%;
    height: 65px;
    top: 0;
    left: 0;
    position: fixed;
    box-shadow: 0 5px 0 rgba(60, 60, 60, 0.17);
    z-index: 99999;
}
.navigation-bar-background {
    top: 0;
    height: 65px;
    position: absolute;
}
.navigation-bar-background.left {
    background: url('navigation-bar-background-left.png');
    width: 314px;
    left: 0;
}
.navigation-bar-background.right {
    background: url('navigation-bar-background-right.png');
    width: 350px;
    right: 0;
}
.navigation-bar-logo {
    top: 0;
    position: absolute;
}
.navigation-bar-logo.left {
    left: 20px;
    top: 10px;
}
.navigation-bar-logo.left img {
    box-shadow: 0 5px 0 rgba(60, 60, 60, 0.17);
    border-radius: 45px;
}
.navigation-bar-logo.right {
    top: 11px;
    right: 20px;
}

@media only screen and (max-width: 1023px) and (max-height: 767px){
	html, body {
		overflow: visible;
	}

    .navigation-bar {
        background: transparent;
        box-shadow: none;
	    height: 0;
    }

    .navigation-bar-background,
    .navigation-bar-background.left,
    .navigation-bar-background.right {
        display: none;
    }

    .navigation-bar-logo.left {
        display: none;
    }

    .navigation-bar-logo.left {
        left: 10px;
        top: 5px;
    }

    .navigation-bar-logo.right {
        right: 10px;
        top: 5px;
    }

    .navigation-bar-logo.left img {
        box-shadow: none;
        width: 46px;
        height: 46px;
    }

    .navigation-bar-logo.right img {
        width: 20px;
        height: 20px;
    }

    #container {
        margin-top: 0 !important;
    }
}

#landscape-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    display:none;
    z-index: 1000;
}

#landscape-modal h1 {
    display: block;
    margin: 29% auto;
    color: #fff;
    font-size: 46px;
    text-align: center;
}

#rotate-device-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    margin: -36% 0 0 -42.5%;

    -webkit-animation: turnandsnap 5s infinite;
    -moz-animation: turnandsnap 5s infinite;
    animation: turnandsnap 5s infinite;
}

/* safari and chrome */
@-webkit-keyframes turnandsnap {
    0% {-webkit-transform:rotate(0deg);}
    80% {-webkit-transform:rotate(-90deg);}
    94% {-webkit-transform:rotate(4deg);}
    97% {-webkit-transform:rotate(-4deg);}
    100% {-webkit-transform:rotate(0deg);}
}

/* firefox */
@-moz-keyframes turnandsnap {
    0% {-moz-transform:rotate(0deg);}
    75% {-moz-transform:rotate(-90deg);}
    94% {-moz-transform:rotate(4deg);}
    97% {-moz-transform:rotate(-4deg);}
    100% {-moz-transform:rotate(0deg);}
}

/* anyone brave enough to implement the ideal method */
@keyframes turnandsnap {
    0% {transform:rotate(0deg);}
    75% {transform:rotate(-90deg);}
    94% {transform:rotate(4deg);}
    97% {transform:rotate(-4deg);}
    100% {transform:rotate(0deg);}
}

@media only screen and (max-device-width: 1024px) and (orientation:landscape) {
    #landscape-modal {
        display: none;
    }
}

@media only screen and (max-device-width: 768px) and (orientation:portrait) {
    #landscape-modal {
        display: block;
    }
}