/* RESET */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

i {
    font-style: italic;
}

div {
    font-style: normal;
}

/* FONTS */

@font-face {
    font-family: 'MalloryLight';
    src: url('../fonts/Mallory-Light.eot');
    src: url('../fonts/Mallory-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Mallory-Light.woff') format('woff'), url('../fonts/Mallory-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'MalloryExtraLight';
    src: url('../fonts/Mallory-ExtraLight.eot');
    src: url('../fonts/Mallory-ExtraLight.eot?#iefix') format('embedded-opentype'), url('../fonts/Mallory-ExtraLight.woff') format('woff'), url('../fonts/Mallory-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'MalloryBook';
    src: url('../fonts/Mallory-Book.eot');
    src: url('../fonts/Mallory-Book.eot?#iefix') format('embedded-opentype'), url('../fonts/Mallory-Book.woff') format('woff'), url('../fonts/Mallory-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MalloryMedium';
    src: url('../fonts/Mallory-Medium.eot');
    src: url('../fonts/Mallory-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Mallory-Medium.woff') format('woff'), url('../fonts/Mallory-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

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

body.has-active-menu {
    overflow: hidden;
}

.clear {
    clear: both;
}

#wrapper {
    width: 100%;
    height: 100%;
    display: block;
}

#logo {
    width: 200px;
    height: 100px;
    position: absolute;
    z-index: 99;
    top: -150px;
    left: 80px;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
    -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

/* menu */

#open-menu-button {
    display: inline-block;
    background: url('../images/menu-icon.png') no-repeat;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 14px;
    right: 30px;
    display: none;
}

#open-menu-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#close-menu-button {
    display: block;
    background: url('../images/close.png') no-repeat center center;
    background-size: 24px 24px;
    width: 60px;
    height: 60px;
    position: absolute;
    top: 8px;
    right: 16px;
}

#menu {
    position: fixed;
    z-index: 200000;
    background-color: #333333;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    right: 0;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

#menu.is-active {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

#menu-container {
    width: 100%;
    min-height: 100%;
    margin-bottom: -79px;
}

#menu-inner {
    height: 500px;
}

#push {
    height: 79px;
}

#yale {
    background: url('../images/yale.png') no-repeat;
    width: 344px;
    height: 59px;
    padding-bottom: 20px;
    margin: 0 auto;
}

#menu ul {
    position: absolute;
    top: 78px;
    right: 70px;
    -webkit-transition-property: right;
    -webkit-transition-duration: 0.3s;
}

#menu li {
    width: 290px;
    list-style: none;
    border-top: solid 1px #666666;
    border-bottom: solid 1px #666666;
    background: url('../images/plus.png') no-repeat;
    background-position: 4px 24px;
    height: 42px;
    padding-top: 24px;
    padding-left: 60px;
}

#menu li.search {
    background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position: 7px 24px;
}

#menu li.search.open {
    background-image: none;
}

#menu li.search.open .input-container {
    background-color: #222222;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    width: 350px;
    height: 40px;
    margin-top: -12px;
    margin-left: -60px;
}

#menu li.search.open .magnifier {
    background: url('../images/search.png') no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 7px;
    margin-top: 12px;
    opacity: 0.5;
}

#menu li.search.open input {
    font-family: 'MalloryBook', sans-serif;
    font-size: 18px;
    color: #FFF;
    border: none;
    outline: none;
    background: transparent;
    margin-left: 36px;
    width: 246px;
}

#menu li a {
    display: block;
    width: 100%;
    font-family: 'MalloryBook', sans-serif;
    font-size: 18px;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
}

#menu li a:hover {
    color: #999999;
}

#menu li:first-child {
    border-top: none;
}

#menu li:last-child {
    border-bottom: none;
}

#menu ul.main.closed {
    right: 1000px;
}

main {
    z-index: 100;
    position: relative;
}

/* submenu */

#menu .submenu {
    position: absolute;
    right: -500px;
}

#menu .submenu li {
    background: none;
}

#menu .submenu li a {
    text-transform: none;
}

#menu .submenu li.back {
    padding-left: 0px;
    padding-top: 0px;
    height: 66px;
}

#menu .submenu li.back a {
    background: url('../images/arrow.png') no-repeat;
    background-position: 0px 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 60px;
}

#menu .submenu li.back a {
    text-transform: uppercase;
}

#menu .submenu.opened {
    right: 80px;
}

/* overlay */

#overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 0;
    height: 0;
    background-color: #000;
    opacity: 0;
    -webkit-transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
    transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
}

#overlay.is-active {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

/* hotspot rollover */

#hotspot-rollover-container {
    position: absolute;
    z-index: 5;
    white-space: nowrap;
    width: auto;
    height: auto;
    cursor: pointer;
}

#hotspot-rollover .collector-image,
#hotspot-rollover-inverse .collector-image {
    width: 58px;
    height: 58px;
    vertical-align: top;
    position: relative;
    z-index: 2;
    cursor: pointer;
    border: 3px solid #00ad9e;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: border 200ms linear;
    -moz-transition: border 200ms linear;
    -o-transition: border 200ms linear;
    transition: border 200ms linear;

    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#hotspot-rollover .collector-image:hover,
#hotspot-rollover-inverse .collector-image:hover {
    border: 3px solid #03CCB3;
}

#hotspot-rollover .container {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.8);
    height: 36px;
    padding: 12px 32px 12px 74px;
    border-radius: 100px;
    box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.5);
    -webkit-border-radius:100px;
    -webkit-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.5);
    margin-left: -60px;
    margin-top: 1px;
    position: relative;
    z-index: 1;
    width: 0;
    overflow: hidden;
}

.hide {
    position: absolute;
    z-index: 0;
    top: -2000px;
    left: -2000px;
}

.hide .title,
#hotspot-rollover .container .title,
#hotspot-rollover-inverse .container .title {
    font-family: 'MalloryMedium', sans-serif;
    font-size: 15px;
    color: #00ad9e;
    margin-bottom: 7px;
    white-space: nowrap;
    -webkit-transition: color 200ms linear;
    -moz-transition: color 200ms linear;
    -o-transition: color 200ms linear;
    transition: color 200ms linear;
}

#hotspot-rollover .container .title.hover,
#hotspot-rollover-inverse .container .title.hover {
    color: #03CCB3;
}

#hotspot-rollover .container .collector,
#hotspot-rollover-inverse .container .collector {
    white-space: nowrap;
}

.hide .collector,
#hotspot-rollover .container .collector .name,
#hotspot-rollover-inverse .container .collector .name {
    font-family: 'MalloryExtraLight', sans-serif;
    font-size: 15px;
    color: #888888;
    display: inline-block;
    /*margin-left: 12px;*/
    white-space: nowrap;
    -webkit-transition: color 200ms linear;
    -moz-transition: color 200ms linear;
    -o-transition: color 200ms linear;
    transition: color 200ms linear;
}

#hotspot-rollover .container .collector .name.hover,
#hotspot-rollover-inverse .container .collector .name.hover {
    color: #FFFFFF;
}

#hotspot-rollover-inverse .container {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.8);
    height: 36px;
    padding: 12px 54px 12px 32px;
    border-radius: 100px 0 0 100px;
    box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 100px 0 0 100px;
    -webkit-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.5);
    margin-right: -40px;
    position: relative;
    z-index: 1;
    margin-top: 1px;
    width: 0;
    overflow: hidden;
}

/* hotspot additional image */

#hotspot-image {
    position: absolute;
    z-index: 2;
    opacity: 0;
    -webkit-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.5);
}

/* audio */

#audio-player {
    float: left;
    width: 692px;
    margin-left: 20px;
    background-color: #191919;
    height: 22px;
    padding-top: 8px;
    overflow: hidden;
}

#audio-player #play-button,
#audio-player #pause-button {
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: 10px 11px;
    background-position: 10px 10px;
    cursor: pointer;
    float: left;
    margin-top: -8px;
    display:none;
}

#audio-player #play-button {
    background-image: url(../images/play-button-green.png);
}

#audio-player #pause-button {
    background-image: url(../images/pause-button-green.png);
}

#audio-player #audio-caption {
    float: left;
}

#audio-player #audio-caption a {
    text-decoration: none;
    color: #009F8B;
}

#audio-container {
    position: absolute;
    top: -1000px;
    left: -1000px;
}

/* popup */

#popup {
    width: 860px;
    height: 712px;
    background-color: #333333;
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
    margin-left: -430px;
    margin-top: -355px;
    overflow: hidden;
    display: none;
}

#popup.video {
    background: transparent;
    width: 70%;
    margin-left: -35%;
}

#popup .close a {
    display: block;
    width: 30px;
    height: 30px;
    background: url('../images/close-popup.png') no-repeat;
    position: absolute;
    z-index: 301;
    top: 20px;
    right: 20px;
}

#popup.video .close a {
    top: 70px;
}

#popup .title {
    text-align: center;
    font-family: 'MalloryExtraLight', sans-serif;
    font-size: 36px;
    color: #FFFFFF;
    height: 66px;
    padding-top: 40px;
}

#popup.video .title {
    visibility: hidden;
}

#popup .content {
    width: 800px;
    height: 574px;
    overflow: hidden;
    position: relative;
    top: 0;
    left: 0;
}

#popup .content.video video {
    max-height: 460px;
    overflow: hidden;
    margin-bottom: 10px;
}

#popup .content.video iframe {
    width: 800px;
    height: 450px;
    background: black;
}

#popup .navigation {
    width: 830px;
    height: 30px;
    background-color: #222222;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #8D8C8A;
    padding-left: 30px;
}

#popup.video .navigation {
    visibility: hidden;
}

#popup .navigation .page {
    padding-top: 8px;
    float: left;
}

#popup .navigation .arrows {
    float: right;
}

#popup .navigation .arrows a {
    display: inline-block;
    width: 30px;
    height: 30px;
    pointer-events: auto;
    cursor: pointer;
}

#popup .navigation .arrows a.previous {
    background: url('../images/popup-arrow-left.png') no-repeat;
}

#popup .navigation .arrows a.next {
    background: url('../images/popup-arrow-right.png') no-repeat;
}

#popup .navigation .arrows a.previous.disabled {
    background: url('../images/popup-arrow-left-disabled.png') no-repeat;
}

#popup .navigation .arrows a.next.disabled {
    background: url('../images/popup-arrow-right-disabled.png') no-repeat;
}

#popup .navigation .arrows a.disabled {
    pointer-events: none;
    cursor: default;
}

#popup .content-container {
    width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

#popup .content .screen {
    float: left;
    width: 800px;
    height: 554px;
    overflow: hidden;
    padding: 0px 30px;
}

#popup .content .screen:first-child {
    padding-left: 0px;
}

#popup .content .screen:last-child {
    padding-right: 0px;
}

#popup .content .screen.vertical .image {
    float: left;
    margin-right: 30px;
    width: 360px;
    background: none;
}

#popup .content .screen.vertical .image.loader {
    background: url('../images/loading.gif') no-repeat center center;
    height: 500px;
}

#popup .content .screen.vertical .image img {
    opacity: 0;
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -ms-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
}

#popup .content .screen.vertical .text {
    float: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #FFFFFF;
    width: 410px;
}

#popup.video .content .screen.horizontal .text {
    color: #999999;
}

#popup .content .screen .text p {
    margin-bottom: 30px;
    line-height: 1.6em;
    font-size: 1.1em;
}

#popup .content .screen .text p.smallerType {
    font-size: 1em;
}

#popup .content .screen .text a {
    text-decoration: none;
    color: #009F8B;
}

#popup .content .screen.horizontal .image {
    margin-bottom: 15px;
    text-align: center;
    background: none;
}

#popup .content .screen.horizontal .image.loader {
    background: url('../images/loading.gif') no-repeat center center;
}

#popup .content .screen.horizontal .text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #FFFFFF;
}

/* RESPONSIVE */

@media all and (min-width: 500px) {
    #menu {
        width: 500px;
        -webkit-transform: translateX(500px);
        -ms-transform: translateX(500px);
        transform: translateX(500px);
    }
}

/* RETINA */

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
    #open-menu-button {
        background: url('../images/menu-icon@2x.png') no-repeat;
        background-size: 40px 40px;
    }
    #close-menu-button {
        background: url('../images/close@2x.png') no-repeat center;
        background-size: 24px 24px;
    }
    #yale {
        background: url('../images/yale@2x.png') no-repeat;
        background-size: 344px 59px;
    }
    #popup .navigation .arrows a.previous {
        background: url('../images/popup-arrow-left@2x.png') no-repeat;
        background-size: 30px 30px;
    }
    #popup .navigation .arrows a.next {
        background: url('../images/popup-arrow-right@2x.png') no-repeat;
        background-size: 30px 30px;
    }
    #popup .navigation .arrows a.previous.disabled {
        background: url('../images/popup-arrow-left-disabled@2x.png') no-repeat;
        background-size: 30px 30px;
    }
    #popup .navigation .arrows a.next.disabled {
        background: url('../images/popup-arrow-right-disabled@2x.png') no-repeat;
        background-size: 30px 30px;
    }
}

/* OPENING SEQUENCE */

#intro {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#intro #black {
    width: 100%;
    height: 100%;
    background: black;
}

#intro #loading {
    width: 400px;
    height: 297px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -200px;
    margin-top: -200px;
    z-index: 1001;
    background: url('../images/loading_bg.png') no-repeat center;
}

#intro #loading #loadingImg {
    opacity: 0.3;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
}

#intro #house-wrapper {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 11s linear;
    -ms-transform: -ms-transform-transform 11s linear;
    transition: transform 11s linear;
}

#intro #house-wrapper.go {
    -ms-transform: scale(2.5);
    /* IE 9 */
    -webkit-transform: scale(2.5);
    /* Safari */
    transform: scale(2.5);
}

#intro #house {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: url(../images/intro-house.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#intro #john {
    display: none;
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: url(../images/intro-john.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#intro #welcome {
    display: none;
    z-index: 1001;
    width: 255px;
    height: 300px;
    position: absolute;
    top: 20%;
    left: 50%;
    margin-left: -127px;
    text-align: center;
    background: url(../images/intro-logo.png) no-repeat top center;
}

#intro #welcome a {
    display: block;
    width: 67px;
    height: 12px;
    -webkit-border-radius: 5;
    -moz-border-radius: 5;
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    font-family: 'MalloryBook', sans-serif;
    color: #ffffff;
    font-size: 14px;
    background: #009f8a;
    padding: 10px 20px;
    text-decoration: none;
    margin: 162px auto 0 auto;
    cursor: pointer;
}

#intro #welcome a:hover {
    background: #00b39c;
    text-decoration: none;
}

#intro #video {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

#intro #video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#video-overlay {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100000;
    background: url(../images/overlay-pattern.png) repeat;
}

@media (min-aspect-ratio: 16/9) {
    #intro #video video {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    #intro #video video {
        width: 300%;
        left: -100%;
    }
}

@media (max-width: 767px) {
    #intro #video video {
        display: none;
    }
}

@-ms-viewport {
    width: device-width;
}

@media only screen and (min-device-width:800px) {
    html {
        overflow: hidden;
    }
}

html {
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #000000;
}

a#show-rooms {
    display: none;
    font-family: 'MalloryLight', sans-serif;
    font-size: 14px;
    color: #cbcbcb;
    position: absolute;
    top: 20px;
    right: 80px;
    text-transform: uppercase;
    text-decoration: none;
    background-color: transparent;
    text-shadow: rgb(0, 0, 0) 1px 1px 1px;
    width: 109px;
    height: 10px;
    padding: 10px;
    text-align: right;
}

a#show-rooms:hover {
    color: #ffffff;
}

a#skipIntro {
    position: absolute;
    bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    height: 27px;
    width: 90px;
    opacity: 1;
    background: url(../images/skipIntro.png) no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    border: 0px #009f8b none;
}

a#skipIntro:hover {
    border: 1px #009f8b solid;
    bottom: 15px;
}

/* AUDIO PLAYER WITH TIMER */

#audio-timer {
    float: left;
    width: 40px;
    padding: 0px 10px;
    text-align: center;
    margin-right: 0px;
}

#popup .navigation {
    padding-left: 0px;
    width: 860px;
}

#audio-player {
    margin-left: 0px;
    width: 725px;
}
#audio-player.wide{
    width:790px;
}

#popup .navigation .page {
    text-align: center;
    width: 70px;
}

#audio-caption {
    width: 615px;
    overflow: hidden;
    position: relative;
    height:20px;
}

#audio-caption p {
    white-space: nowrap; 
    display: inline-block;
    position: relative; 
    left: 0; 
}
#audio-bar{
    width: 100%;
    height: 2px;
    background-color: #191919;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1000;
}
#audio-progress{
    width:0%;
    height:2px;
    background-color:#599c8b;
    -webkit-transition: width 0.25s linear;
    transition: width 0.25s linear;
}

#audio-player #loading-audio{
    width: 30px;
    height: 30px;
    float: left;
    margin-top: -2px;
}

em {
    font-style: italic !important;
}