#mode-buttons {
    width: 403px;
    height: 71px;
    padding-top: 25px;
    margin: 0 auto;
}

#btn-mode-1 {
    margin-right: 20px;
}

#app {
    height: 556px;
    width: 992px;
    position: relative;
    margin: 0 auto;
}

#app.dark {
    opacity: 0.3;
}

/**
 * Abundance mode
*/
#mode-1 {
    display: none;
}

#mode-1-categories {
    float: left;
    margin-left: 100px;
    width: 120px;
    padding-top: 40px;
}

#mode-1-categories .button {
    margin-bottom: 10px;
}

#mode-1-image {
    float: left; 
    width: 562px;
    height: 556px;
    margin-left: 10px;
    background-image: url('../images/abundance-1.jpg');
    background-repeat: no-repeat;
    position: relative;
}

#mode-1-stats {
    float: left;
    width: 200px;
    height: 500px;
    overflow: hidden;
    display: table-row;
    position: relative;
    outline: none;
}

#mode-1-stats .mask.btm {
    top: auto;
    bottom: 0;
}

#mode-1-stats .content {
    display: table-cell;
    vertical-align: middle;
    height: 500px;
    width: 200px;
}

#mode-1-stats .scroll {
    width: 100%;
}

#mode-1-stats .stat {
    height: 65px;
    background-image: url('../images/bg-stat.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    padding-left: 30px;
    font-size: 11px; font-size: 1.1rem; /* =11px */
    width: 180px;
}

#mode-1-stats .stat.first {
    background-position: 0 -65px;
}

#mode-1-stats .stat.last {
    background-position: 0 -130px;
}

#mode-1-stats .stat .circle {
    float: left;
}

#mode-1-stats .stat .circle .circle {
    background-color: #376616 !important;
}

#mode-1-stats .stat .element {
    float: left;
    margin: 15px 0 0 10px;
    text-align: center;
    width: 85px;
}

#mode-1-stats .stat .button {
    cursor: auto !important;
}

#mode-1-stats .stat .button:hover {
    background-color: #1e2727;
}

#mode-1-facts-toggle {
    cursor: pointer;
    left: -130px;
    position: absolute;
    text-align: center;
    top: 400px;
    width: 120px;
}

#mode-1-facts-toggle span {
    display: block;
    float: left;
    font-family: Ubuntu, Verdana, Helvetica, sans-serif;
}

#mode-1-facts-toggle .label {
    width: 50px;
    height: 40px;
}

#mode-1-facts-toggle .option {
    padding: 2px 0 0 20px;
    background-image: url('../images/facts-toggle.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    width: 30px;
    height: 18px;
    margin-bottom: 4px;
    font-size: 11px; font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
}

#mode-1-facts-toggle .option.active {
    background-position: 0 -20px;
}

#mode-1-facts {
    position:relative;
    background-color: #1e2727;
    background-color: rgba(30, 39, 39, 0.85);
    width: 300px;
    height: 200px;
    position: absolute;
    left: 131px;
    top: 145px;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    display: none;
}

#mode-1-facts .facts-close{
    position:absolute;
    top:0px;
    right:0px;
    width:32px;
    height:32px;
    background-position:center center;
    background-image:url(../images/close.png);
    background-repeat:no-repeat;
    cursor: pointer;
}

#mode-1-facts .label {
    font-family: "Ubuntu-Medium", Verdana, Helvetica, sans-serif;
    color: #69ae35;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

#mode-1-facts .content {
    overflow: hidden;
    width: 300px;
    height: 200px;
}

#mode-1-facts .facts {
    text-align: center;
    position: relative;
    width: 20000em;
}

#mode-1-facts .fact {
    float: left;
    width: 300px;
}

#mode-1-facts .fact .fact-content {
    width: 225px;
    margin: auto;
    height: 145px;
    overflow: auto;
}

#mode-1-facts .nav-arrow {
    top: 85px;
}

#mode-1-facts .nav-arrow.prev {
    left: -15px;
}

#mode-1-facts .nav-arrow.next {
    right: -15px;
}

#mode-1-facts .nav-arrow.disabled {
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; /* IE8 */
    opacity: 0.4;
    cursor: default;
}

/**
 * Where in the world mode
*/

#mode-2 {
    display: none;
    width: 1024px;
    height: 556px;
    position: relative;
}

#mode-2 #arrows {
    opacity: 0;
}

#mode-2 #arrows .arrow {
    top: 130px;
}

#mode-2-background {
    background-image: url('../images/map.jpg');
    background-repeat: no-repeat;
    width: 1024px;
    height: 556px;
}

#mode-2-categories {
    position: absolute;
    top: 260px;
    left: 40px;
    width: 190px;
    font-size: 11px; font-size: 1.1rem;
}

#mode-2-categories .category {
    background-repeat: no-repeat;
    background-position: 0 0;
    height: 31px;
    padding: 10px 0 0 38px;
    margin-bottom: 10px;
    cursor: pointer;
}

#mode-2-categories .category b {
    font-family: "Ubuntu-Medium", Verdana, Helvetica, sans-serif;
}

#mode-2-categories #btn-mode-2-0 {
    background-image: url('../images/where-cat-1.png');
    padding-top: 5px;
    height: 36px;
}

#mode-2-categories #btn-mode-2-1 {
    background-image: url('../images/where-cat-2.png');
}

#mode-2-categories #btn-mode-2-2 {
    background-image: url('../images/where-cat-3.png');
}

#mode-2-points .point {
    width: 31px;
    height: 44px;
    background-repeat: no-repeat;
    background-position: 0 0;
    position: absolute;
    opacity: 0;
    cursor: pointer !important;
}

#mode-2-points .point .tooltip {
    position: absolute;
    width: 145px;
    bottom: 50px;
    left:  -65px;
    display: none;
    background-color: #1e2727;
    background-color: rgba(30, 39, 39, 0.8);
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    z-index: 100;
    cursor: pointer;
    font-size: 11px; font-size: 1.1rem;
    box-shadow: inset -1px -1px 1px #2e3535;
    -webkit-box-shadow: inset -1px -1px 1px #2e3535;
    -moz-box-shadow: inset -1px -1px 1px #2e3535;
    -o-box-shadow: inset -1px -1px 1px #2e3535;
}

#mode-2-points .point .tooltip .title {
    font-family: "Ubuntu-Medium", Verdana, Helvetica, sans-serif;
}

#mode-2-points .point .tooltip .hidden {
    opacity: 0 !important;
    transition-property: opacity;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-duration: 100ms;
    -webkit-transition-duration: 100ms;
    -moz-transition-duration: 100ms;
    -o-transition-duration: 100ms;
}

#mode-2-points .point.category-0 {
    background-image: url('../images/where-cat-1.png');
}

#mode-2-points .point.category-1 {
    background-image: url('../images/where-cat-2.png');
}

#mode-2-points .point.category-2 {
    background-image: url('../images/where-cat-3.png');
}

#mode-2-facts {
    position: absolute;
    top: 25px;
    left: 355px;
    height: 390px;
    display: none;
    z-index: 300;
}

#mode-2-facts .fact {
    position: relative;
    width: 320px;
    margin-right: 30px;
    background-color: #1e2727;
    float: left;
    height: 390px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    box-shadow: inset -1px -1px 3px #2e3535;
    -webkit-box-shadow: inset -1px -1px 3px #2e3535;
    -moz-box-shadow: inset -1px -1px 3px #2e3535;
    -o-box-shadow: inset -1px -1px 3px #2e3535;
}

#mode-2-facts .fact .content {
    opacity: 0.5;
    transition-property: opacity;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-duration: 150ms;
    -webkit-transition-duration: 150ms;
    -moz-transition-duration: 150ms;
    -o-transition-duration: 150ms;
    padding: 25px 20px;
    text-align: center;
}

#mode-2-facts .fact .content .scroll {
    width: 278px;
    height: 300px;
    overflow: hidden;
    outline: none;
}

#mode-2-facts .fact.active .content {
    opacity: 1;
}

#mode-2-facts .fact .content h2 {
    font-family: "Ubuntu-Light", Verdana, Helvetica, sans-serif;
    font-size: 22px; font-size: 2.2rem;
    margin-bottom: 15px;
}

#mode-2-facts .fact .content h2 span {
    font-size: 14px; font-size: 1.4rem;
}

#mode-2-facts .fact .content p {
    margin-bottom: 20px;
}

#mode-2-facts-0 .fact .content h2 {
    color: #108ac8;
}

#mode-2-facts-1 .fact .content h2 {
    color: #eb9c12;
}

#mode-2-facts-2 .fact .content h2 {
    color: #cd5303;
}

#mode-2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0;
    transition-property: opacity;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-duration: 1000ms;
    -webkit-transition-duration: 1000ms;
    -moz-transition-duration: 1000ms;
    -o-transition-duration: 1000ms;
    height: 0;
    width: 0;
}

#mode-2-overlay.visible {
    opacity: 0.5;
    height: 100%;
    width: 100%;
}

#mode-2-back {
    position: absolute;
    top: -15px;
    left: 467px;
    font-size: 14px; font-size: 1.4rem;
    display: none;
    opacity: 0;
    cursor: pointer;
    z-index: 400;
}

#mode-2-keyboard {
    width: 95px;
    padding-top: 40px;
    background-image: url('../images/keyboard.png');
    background-repeat: no-repeat;
    background-position: 23px 0;
    text-align: center;
    font-size: 10px; font-size: 1.0rem; /* =10px */
    font-family: "Ubuntu-Medium", Verdana, Helvetica, sans-serif;
    position: absolute;
    left: 40px;
    top: 430px;
    display: none;
    opacity: 0;
    z-index: 400;
}

#mode-2-pager {
    height: 25px;
    position: absolute;
    top: 430px;
    left: 0;
    width: 100%;
    text-align: center;
    display: none;
    opacity: 0;
    z-index: 400;
}

#mode-2-pager .page {
    background-color: #057388;
    padding: 6px 4px;
    margin-right: 3px;
    opacity: 0.3;
}

#mode-2-pager .page.active {
    opacity: 1;
}
