*
{
    margin: 0;
    padding: 0;
}

body
{
    position: absolute;
    background: none;
    color: white;
    font-family: badaboom;
    text-align: left;
    width: 100%;
    height: 100%;
}

#content_scale
{
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 850px;
    height: 610px;
    overflow: hidden;
    transform-origin: 0 0;
}

#preload_content
{
    display: none;
}

#help_page,
#character_layer,
#creaturepedia_content
{
    display: inline-block;
    position: fixed;
    width: 850px;
    height: 610px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.5s;

    background-image: url('../img/creaturepedia_background.jpg');
    background-size: 100%;
}

#character_layer.hidden
{
    opacity: 0;
}

.animated_character_canvas
{
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
}

#animated_character_Chris
{
    left: -8px;
    top: 82px;
    transform: scale(0.9);
}

#animated_character_Koki
{
    left: 63px;
    top: 160px;
    transform: scale(0.9);
}

#animated_character_Martin
{
    left: 680px;
    top: 80px;
    transform: scale(0.9);
}

#creaturepedia_foot
{
    position: fixed;
    top: 575px;
    left: 0;
    width: 100%;
    height: 35px;
}

#svg_filters
{
    position: fixed;
    left: 0;
    right: 0;
    width: 1px;
    height: 1px;
}

.nav_button
{
    cursor: pointer;
}

.nav_button:hover .nav_button_background
{
   fill: #FF793F;
}

#random_creature_picker
{
    display: inline-block;
    width: 100%;
    height: 450px;
}

#random_creatures
{
    display: inline-block;
    position: absolute;
    left: 230px;
    top: 120px;
    width: 390px;
    height: 260px;
    overflow: hidden;
}

.random_creature
{
    cursor: pointer;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: 100%;
    opacity: 1;
    transition: left 0.5s;
    pointer-events: all;
}

.random_creature.hidden
{
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.random_creature.hidden_left
{
    left: -390px;
    opacity: 1;
    pointer-events: none;
}

.random_creature.hidden_right
{
    left: 390px;
    opacity: 1;
    pointer-events: none;
}

.nav_button.featured_selected:hover > circle,
.featured_selected > circle
{
    fill: #FFC53D;
}

#main_nav_buttons
{
    display: inline-block;
    width: 100%;
    height: 100px;
}

#group_page
{
    text-align: center;
}

#groups_title
{
    font-size: 40pt;
    display: inline-block;
    width: 100%;
    height: 100px;
    text-shadow: 2px 2px 1px #000000;
}

#group_buttons
{
    display: inline-block;
    width: 600px;
    height: 390px;
}

#region_page
{
    text-align: center;
}

#region_title
{
    font-size: 40pt;
    display: inline-block;
    width: 100%;
    height: 100px;
    text-shadow: 2px 2px 1px #000000;
}

#region_map_background
{
    display: inline-block;
    width: 600px;
    height: 390px;
}

#region_map
{
    background-color: #A7D5EF;
    display: inline-block;
    height: 280px;
    left: 180px;
    overflow: hidden;
    position: absolute;
    top: 128px;
    width: 490px;
}

#map_ocean,
.map_area_title,
.map_part
{
    pointer-events: none;
}

.map_part
{
    fill: none;
}

.map_hit_area
{
    cursor: pointer;
}

.map_hit_area:hover + #map_ocean,
.map_hit_area:hover + .map_part
{

    fill: #FB551B;
}

#habitat_page
{
    text-align: center;
}

#habitat_title
{
    font-size: 40pt;
    display: inline-block;
    width: 100%;
    height: 100px;
    text-shadow: 2px 2px 1px #000000;
}

#habitat_buttons
{
    display: inline-block;
    width: 600px;
    height: 390px;
}


#creature_list_page
{
    text-align: center;
    position: relative;
}

#creature_list_title
{
    font-size: 40pt;
    display: inline-block;
    width: 100%;
    height: 100px;
    text-shadow: 2px 2px 1px #000000;
}

#creature_list
{
    display: inline-block;
    width: 530px;
    height: 390px;
    overflow: hidden;
    position: relative;
}

.creature_list_entry
{
    display: inline-block;
}

.creature_current_details_title
{
    font-family: badaboom;
    text-shadow: 2px 2px 1px #000000;

    color: white;
    font-size: 20pt;
    text-align: center;
    display: inline-block;
    height: 60px;
    left: 465px;
    position: absolute;
    top: 160px;
    width: 320px;
}

.creature_current_details_text
{
    font-family: sans-serif;

    color: black;
    font-size: 10pt;
    display: inline-block;
    height: 175px;
    left: 465px;
    position: absolute;
    top: 195px;
    width: 320px;
}

.creature_details_button
{
    cursor: pointer;
}

.creature_details_button_selected > rect
{
    fill: #ffcf0e;
}

.creature_details_button:hover > rect
{
    fill: #FF793F;
}

#creature_details_content_box
{
    display: inline-block;
    height: 260px;
    left: 83px;
    overflow: hidden;
    position: absolute;
    top: 110px;
    width: 347px;
}

#creature_details_video_player
{
    display: inline-block;
    height: 260px;
    left: 83px;
    overflow: hidden;
    position: absolute;
    top: 110px;
    width: 347px;

}

#video_player
{
    position: relative;
    z-index: 2;
}

#video_player-videoEl.video_player-videoEl-dimensions {
    background: none !important;
    width: 347px;
    height: 260px;
}

.creature_details_video_player_button
{
    display: inline-block;
    height: 228px;
    left: 83px;
    overflow: hidden;
    position: absolute;
    top: 110px;
    width: 347px;
}

.creature_content_video,
.creature_content_image,
.creature_content_item
{
    position: absolute;
    left: 0;
    top: 0;

    width: 390px;
    height: 260px;
    pointer-events: all;
    opacity: 1;
    transition: left 0.5s;
}

.creature_content_item.hidden_left
{
    left: -390px;
    pointer-events: none;
}

.creature_content_item.hidden_right
{
    left: 390px;
    pointer-events: none;
}

.hit_circle
{
    cursor: pointer;
}

#captions_button:hover > text,
#mute_button:hover > path
{
    cursor: pointer;

}

.captions_enabled > text,
.mute_disabled > path
{
    fill: #CCFFFF;    
    filter:url(#smallHighlight);
}

#help_open_button
{
    display: inline-block;
    position: absolute;
    left: 750px;
    top: 475px;
    width: 100px;
    height: 100px;
}

#help_page
{
    opacity: 1;
    transition: opacity 0.5s;
    pointer-events: all;
}

#help_page.hidden
{
    opacity: 0;
    pointer-events: none;
}

#help_text
{
    display: inline-block;
    position: absolute;
    left: 70px;
    top: 67px;
    width: 710px;
    height: 475px;
    pointer-events: none;
}

#help_content
{
    display: inline-block;
    position: absolute;
    left: 0;
    top: 49px;
    width: 690px;
    height: 390px;
    padding: 0 10px;
    pointer-events: none;
}

#help_content > p
{
    font-family: sans-serif;
    margin: 5px 0;
}

#help_title
{
    font-size: 48pt;
    text-shadow: -2px 2px 6px black;
    text-align: center;
    pointer-events: none;
}

.help_section_title
{
    margin-top: 6px;
    font-size: 26pt;
    text-shadow: -1px 1px 4px black;
}

#help_page .nav_button:hover > .nav_button_background
{
    fill: #FFBB12;
}

/****************** PAGE POSITIONS / ANIMATIONS ************************/

.creaturepedia_page
{
    position: absolute;
    top: 0;
    left: 0;
    transition: top 0.5s;
}

.creaturepedia_page.hidden
{
    left: -1000px;
    opacity: 0;
}


.layer0 > #start_page,
.layer1 > .layer1page,
.layer2 > .layer2page,
.layer3 > .layer3page
{
    top: 0;
}

#start_page,
.layer2 > .layer1page,
.layer3 > .layer1page,
.layer3 > .layer2page
{
    top: 610px;
}

.layer0 > .layer1page,
.layer0 > .layer2page,
.layer0 > .layer3page,
.layer1 > .layer2page,
.layer1 > .layer3page,
.layer2 > .layer3page
{
    top: -610px;
}

/********************* Creature List Pages Animations *********************/

.creatures_page
{
    display: inline-block;
    height: 300px;
    left: 0;
    position: absolute;
    top: 0;
    width: 530px;
    transition: left 0.5s;
}

#creature_list_page_buttons
{
    display: inline-block;
    height: 60px;
    left: 0;
    position: absolute;
    top: 355px;
    width: 850px;
    text-align: center;
}

.creature_list_page_button
{
    background-color: #FB551B;
    display: inline-block;
    height: 20px;
    width: 20px;
    margin: 5px;
    border-radius: 100%;
    box-shadow: -2px 2px 2px rgba(0,0,0,0.8);
    cursor: pointer;
}

.creature_list_page_button.selected:hover,
.creature_list_page_button.selected
{
    background-color: #FFC53D;
}

.creature_list_page_button:hover
{
    background-color: #ff793f;
}

.creatures_page.hidden_left
{
    left: -540px;
}

.creatures_page.hidden_right
{
    left: 540px;
}

/* Video player CSS **************************************************************************************************/


#creature_details_video_player #video-player{

}

#creature_details_video_player .timer-remaining{
    color:#AECECE;
    font-size:0.875em;
    font-family: Arial, sans-serif;
    width:11.2244898%;
    margin-right:1.36054422%;
    text-align:right;
    display:inline-block;
    zoom:1; *display:inline; /*IE7 fix for "display:inline-block"*/
    position: absolute;
    bottom: 7px;
    left: 6px;
}

#creature_details_video_player .scrubber{
    width:72.10884354%;
    display:inline-block;
    zoom:1; *display:inline; /*IE7 fix for "display:inline-block"*/
    margin:8px 0 2px;
    cursor:pointer;

    position: absolute;
    bottom: 2px;
    left: 50px;
}

#creature_details_video_player .scrubber .scrubber-track{
    width:100%;
    height:6px;
    margin:10px;
    background-color:#AECECE;
    border-radius:10px;
    display:inline-block;
    zoom:1; *display:inline; /*IE7 fix for "display:inline-block"*/
    vertical-align:middle;
    text-align:left;
}

#creature_details_video_player .scrubber .scrubber-thumb{
    width:26px;
    height:26px;
    background:#FFF;
    border: solid 2px #AECECE ;
    border-radius: 26px;
    position:relative !important;
    top:-10px;
}

#creature_details_video_player #controlrack{
    margin:10px auto 0px;
    padding-bottom:11px;
    text-align:center;
}

#creature_details_video_player #controlrack button{
    width:112px;
    padding:0px;
    border-bottom: solid #75c700 8px;
    line-height: 56px;
    font-size: 36px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;

    background: #a6ef18;
    display:inline-block;
    zoom:1; *display:inline; /*IE7 fix for "display:inline-block"*/
    position:relative;
}

#creature_details_video_player #controlrack button:hover{
    border-bottom: 0px;
    bottom: -4px;
}

#creature_details_video_player #controlrack button.play-pause {
    margin-left: 8px;
    margin-right: 8px;
    width: 208px;
}

#creature_details_video_player #controlrack button.play-pause:before {
    content: "Play";
}

#creature_details_video_player #controlrack button.play-pause.playing:before {
    content: "Pause";
}

#creature_details_video_player #controlrack button.play-pause:after {
    content: "";
    display: inline-block;
    width: 0px;
    height: 0px;
    margin: -6px 0 -2px 10px;
    border-left: 20px solid #FFF;
    border-top: 16px transparent solid;
    border-bottom: 16px solid transparent;
}

#creature_details_video_player #controlrack button.play-pause.playing:after {
    width: 5px;
    height: 0.75em;
    margin: -4px 0 0 10px;
    border-left: 10px solid #FFF;
    border-right: 10px solid #FFF;
    border-top: none;
    border-bottom: none;
}

#creature_details_video_player #controlrack button.next:before{
    content: "";
    background: #FFF;
    width: 20px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    top: -3px;
    position: relative;
}

#creature_details_video_player #controlrack button.next:after{
    content: "";
    width: 0px;
    height: 0px;
    border-left: 28px solid #FFF;
    border-bottom: 20px solid transparent;
    border-top: 20px transparent solid;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-right: -4px;
    top: -3px;
    position: relative;
}

#creature_details_video_player #controlrack button.previous:before{
    content: "";
    width: 0px;
    height: 0px;
    border-right: 28px solid #FFF;
    border-bottom: 20px solid transparent;
    border-top: 20px transparent solid;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    margin-left: -4px;
    top: -3px;
    position: relative;
}

#creature_details_video_player #controlrack button.previous:after{
    content: "";
    background: #FFF;
    width: 20px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    top: -3px;
    position: relative;
}

#creature_details_video_player #controlrack #captions-button{
    width: 40px;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    margin-left: 8px;
    padding:8px 0;
}