/* --------------------------------------------------- */
/* ORANGE COLOUR: #ff681f */
/* GREEN COLOR: #68ff1f */
/* BLUE COLOR: #1f68ff */
/* --------------------------------------------------- */


/* --------------------------------------------------- */
/* BASIC SETUP */
/* --------------------------------------------------- */


/* --------------------------------------------------- */
/* <?php echo $_SESSION['background_color']; ?> */
/* --------------------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #112;
    font-family: 'lato', 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-rendering: optimizelegibility;
}

body {
    text-align: center;
    margin: 0;
}

h1,
h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
}

h1 {
    color: #fff;
    font-size: 240%;
    text-transform: uppercase;
    word-spacing: 4px;
}

h2 {
    color: #ff681f;
    font-size: 120%;
    text-transform: uppercase;
    word-spacing: 2px;

}

h2:after {
    display: block;
    height: 2px;
    background-color: #112;
    content: " ";
    width: 100px;
    margin: 20px auto 0;
}

h3 {
    color: #ff681f;
    font-size: 100%;
}


a:link,
a:visited {
    color: #ff681f;
    text-decoration: none;
}

a:hover,
a:active {
    color: #ccc;
}


/* --------------------------------------------------- */
/* REUSABLE COMPONENTS */
/* --------------------------------------------------- */


img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img_rounded {
    border-radius: 50%;
}

.img_rounded_selected {
    border-radius: 50%;
    width: 60%;
}

.img_rounded_50px {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.img_rounded_30px {
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.img_rounded_20px {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.user_details_bar {
    width: auto;
    height: 50px;
    padding: 0;
    display: inline-block;
    float: right;
    text-align: right;
    font-size: 12px;
}


.row {
    margin: 0;
    width: 100%;
    align-content: center;
    display: block;
    vertical-align: middle;
}

.row_70pfont {
    margin: 0;
    width: 100%;
    align-content: center;
    display: block;
    vertical-align: middle;
    font-size: 70%;
    color: #ff681f;
}

.row_90pfont {
    margin: 5px;
    width: 100%;
    align-content: center;
    display: block;
    vertical-align: middle;
    font-size: 90%;
    color: #ff681f;
}

.row_with_line {
    width: 100%;
    height: 2px;
    margin: 0 0 10px;
    align-content: center;
    display: block;
    vertical-align: middle;
    background-color: #ff681f;
}

.row_with_line_no_padding {
    clear: both;
    margin: 0;
    width: 100%;
    height: 2px;
    align-content: center;
    display: block;
    vertical-align: middle;
    background-color: #ff681f;
}

.row_without_line {
    width: 100%;
    height: 2px;
    margin: 0 0 10px;
    align-content: center;
    display: block;
    vertical-align: middle;
}

.box {
    padding: 1px;
    width: 100%;
/*    height: 100%;*/
    float: left;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.photo_box {
    padding: 5px;
    width: 210px;
    height: 210px;
    display: inline-block;
    text-align: center;
}

.photo_box a:link,
.photo_box a:visited {
    color: #ff681f;
    text-decoration: none;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.photo_box a:hover,
.photo_box a:active {
    border-bottom: 2px solid #e67e22;
}


.list_box_container {
    width: 380px;
    padding: 10px;
    display: inline-block;
    text-align: center;
    border: 1px solid #ff681f;
}

.list_box_center_container {
    padding: 0 30px 0 30px;
    display: inline-block;
    text-align: center;
}

.list_box_left_container {
    width: 250px;
    height: auto;
    padding: 0;
    display: inline-block;
    text-align: center;
}

.list_box_left_1 {
    width: 240px;
    padding: 5px;
    color: #ff681f;
    font-size: 16px;
    font-weight: 200;
    display: block;
    text-align: center;
}

.list_box_left_2 {
    width: 240px;
    padding: 5px;
    font-size: 12px;
    font-weight: 100;
    display: block;
    text-align: left;
}

.list_box_right {
    width: 100px;
    height: 100px;
    display: inline-block;
    vertical-align: top;
}

.new_line {
    clear: both;
    padding: 0;
    margin: 0;
    height: 0;
}


/* --------------------------------------------------- */
/* HEADER */
/* --------------------------------------------------- */
/* background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(img/hero.jpg); */


header {
    background-color: #112;
    color: #fff;
}

.menu_bar {
    padding: 20px 10px 0 50px;
    float: left;
    display: inline-block;
    text-align: center;
}


.logo {
    width: 400px;
    height: 160px;
    padding: 20px;
    background-image: url('../img/kinuva2_logo_400x160px.png');
    display: inline-block;
    text-align: center;
}

.logo_medium {
    width: 200px;
    height: 80px;
    padding: 5px;
    background-image: url('../img/kinuva2_logo_200x80px.png');
    display: inline-block;
    float: left;
}

.logo_splash_medium {
    width: 200px;
    height: 80px;
    padding: 5px;
    background-image: url('../img/kinuva_splash_logo_200x80px.png');
    display: inline-block;
    float: left;
}

.logo_small {
    width: 100px;
    height: 40px;
    padding: 5px;
    background-image: url('../img/kinuva2_logo_100x40px.png');
    display: inline-block;
    float: left;
}

.header_image {
    width: 640px;
    height: 360px;
    padding: 0;
    background-image: url('../img/london-bridge-640x360.jpg');
    text-align: center;
    display: inline-block;
    border-radius: 20px;
}


/* --------------------------------------------------- */
/* NAVIGATION */
/* --------------------------------------------------- */

.menu_nav {
    list-style: none;
    padding: 5px;
    width: 100%;
/*    height: 100%;*/
    float: left;
    display: inline-block;
    text-align: center;
}

.menu_nav li {
    display: inline-block;
    padding: 8px 20px 8px 20px;
}

.menu_nav li a:link,
.menu_nav li a:visited {
    color: #ff681f;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.menu_nav li a:hover,
.menu_nav li a:active {
    border-bottom: 2px solid #e67e22;
}


.menu_nav_mobile {
    display: none;
}

.menu_nav_mobile li {
    display: none;
}

.menu_nav_mobile li a:link,
.menu_nav_mobile li a:visited {
    display: none;
}

.menu_nav_mobile li a:hover,
.menu_nav_mobile li a:active {
    display: none;
}


/* HOME PAGE NAVIGATION */

.mobile-nav-icon {
    float: right;
    cursor: pointer;
    display: none;
}

.mobile-nav-icon li {
    font-size: 200%;
    color: #fff;
}


.main-nav {
    list-style: none;
    padding: 5px;
    width: 100%;
    height: 100%;
    float: left;
    display: inline-block;
    text-align: center;
}

.main-nav li {
    display: inline-block;
    padding: 8px 20px 8px 20px;
}

.main-nav li a:link,
.main-nav li a:visited {
    color: #ff681f;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #e67e22;
}


/* Sticky navi */

/*
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 231, 160, 0.6); 
    z-index:9999;
}
*/

/* --------------------------------------------------- */
/* BUTTONS */
/* --------------------------------------------------- */

.btn:link,
.btn:visited,
input[type=submit] {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full,
.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #ff681f;
    border: 1px solid #ff681f;
    color: #fff;
    margin: 15px;
    padding: 10px;
}

.btn-ghost:link,
.btn-ghost:visited {
    background-color: transparent;
    border: 1px solid #ff681f;
    color: #ff681f;
    padding: 10px;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #924d10;
}

.btn-full:hover,
.btn-full:active {
    border: 1px solid #924d10;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #924d10;
    color: #fff;
}


/* --------------------------------------------------- */
/* PARAGRAPHS */
/* --------------------------------------------------- */

.long-copy {
    color: #fff;
    width: 50%;
    line-height: 145%;
    margin: 10px;
    text-align: justify;
    display: inline-block;
}


/* --------------------------------------------------- */
/* SECTIONS */
/* --------------------------------------------------- */

.section_normal {
    clear: both;
    width: 100%;
    margin: 0;
    padding: 5px 5px 10px;
}

.section_separator {
    background-color: #ff681f;
    height: 2px;
    width: 50%;
    margin-bottom: 10px;
    display: inline-block;
    text-align: center;
}


/* --------------------------------------------------- */
/* IFRAMES */
/* --------------------------------------------------- */


/* --------------------------------------------------- */
/* FORMS */
/* --------------------------------------------------- */

.form_label {
    width: 25%;
    padding: 5px;
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

.form_input {
    width: 40%;
    padding: 5px;
    margin: 0;
    display: inline-block;
}


/* --------------------------------------------------- */
/* CALL TO ACTION BOXES */
/* --------------------------------------------------- */


.action-box {
    background-color: #fff;
    border-radius: 5px;
    width: 300px;
    margin: 10px;
    padding: 10px;
}

.contact-form {
    background-color: #fff;
    border-radius: 5px;
    width: 100%;
    margin: 0 auto;
    padding: 5px;
    color: #666;
    font-size: 70%;
}


.contact_form_box {
    background-color: #fff;
    border-radius: 10px;
    width: 320px;
    margin: 0 auto;
    padding: 20px;
    color: #666;
    font-size: 90%;
}


input[type=text],
input [type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
}


textarea {
    height: 100px;
}

input[type=checkbox] {
    margin: 10px 5px 10px 0;
}

*:focus {
    outline: none;
}


.form_small {
    width: 100%;
    padding: 7px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 12px;
}


/* --------------------------------------------------- */
/* VR PANORAMAS */
/* --------------------------------------------------- */


#panorama {
    width: 480px;
    height: 270px;
    display: inline-block;
    text-align: center;
    background-color: aqua;
}


/* --------------------------------------------------- */
/* AJAX PROCESSING */
/* --------------------------------------------------- */


#div_ajax_spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -33px; /* half width of the spinner gif */
    margin-top: -33px; /* half height of the spinner gif */
    text-align: center;
    z-index: 1234;
    overflow: auto;
    width: 66px; /* width of the spinner gif */
    height: 66px; /*height of the spinner gif +2px to fix IE8 issue */
}


#ajax_content {
    margin: 0;
    width: 100%;
    align-content: center;
    display: block;
    /*    background-color: 112;*/
    color: #fff;
    text-align: center;
}


.ajax-processing-div {
    width: 0;
    height: 0;
}


.clear {
    clear: both;
}

.float-left {
    float: left;
}

.hidden {
    display: none;
}


/* --------------------------------------------------- */
/* GAME */
/* --------------------------------------------------- */


.game_grid_container {
    display: grid;
    grid-template-columns: 200px 560px 200px;
    grid-template-rows: 600px;
    justify-content: center;
    column-gap: 5px;
    grid-gap: 5px;
}

#game_grid_container_author {
    display: grid;
    grid-template-columns: 300px 600px;
    grid-template-rows: 400px 200px;
    justify-content: center;
    column-gap: 10px;
    grid-gap: 10px;
}

#game_grid_timeline {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 2;
    padding: 5px;
    width: 200px;
    height: 610px;
    color: #112;
    align-content: center;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ff681f;
    border-radius: 20px;
}

#game_grid_timeline_author {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 2;
    padding: 5px;
    width: 300px;
    height: 610px;
    color: #112;
    align-content: center;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ff681f;
    border-radius: 20px;
}

#game_grid_play {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    padding: 5px 5px 5px 5px;
    width: 560px;
    height: 610px;
    color: #112;
    align-content: center;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ff681f;
    border-radius: 20px;
}

#game_grid_activity {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    padding: 5px 5px 5px 5px;
    width: 600px;
    height: 610px;
    color: #112;
    align-content: center;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ff681f;
    border-radius: 20px;
}

#game_grid_activity_activity_screen {
    width: 540px;
    height: 460px;
    color: #112;
    align-content: center;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
}

#game_grid_chat {
    grid-column-start: 3;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 1;
    padding: 5px;
    width: 200px;
    height: 610px;
    color: #112;
    align-content: center;
    vertical-align: top;
    display: inline-block;
    background-color: #fff;
    border: 2px solid #ff681f;
    border-radius: 20px;
}

.game_timeline_element_container {
    width: 100%;
    height: 440px;
    display: inline-block;
}

.game_timeline_element_container_author {
    width: 100%;
    height: 500px;
    display: inline-block;
    overflow-y: scroll;
}

.game_timeline_element {
    display: grid;
    grid-template-columns: 130px 65px;
    grid-template-rows: 80px;
    justify-content: center;
    column-gap: 5px;
    grid-gap: 0;
    font-size: 12px;
    clear: both;
}

.game_timeline_element_author {
    display: grid;
    grid-template-columns: 130px 130px;
    grid-template-rows: 80px;
    justify-content: center;
    column-gap: 5px;
    grid-gap: 0;
    font-size: 12px;
    clear: both;
}

.game_timeline_element_play {
    position: relative;
    width: 200px;
    justify-content: center;
    column-gap: 5px;
    grid-gap: 0;
    font-size: 12px;
}

.game_timeline_element_play_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #003;
    background-color: rgba(25, 25, 51, 0.7);
    text-decoration: none;
}

.game_timeline_element_play_text_selected {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(0, 102, 0, 0.7);
    background-color: #9f9;
    text-decoration: none;
}

.game_timeline_element_left {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
    padding: 3px 0 0;
    width: 128px;
    height: 80px;
    font-size: 12px;
    text-align: left;
    display: inline-block;
    overflow: hidden;
}

.game_timeline_element_left_author {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
    padding: 3px 0 0;
    width: 128px;
    height: 80px;
    font-size: 12px;
    text-align: left;
    display: inline-block;
    overflow: hidden;
}

.game_timeline_element_right {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    width: 60px;;
    height: 80px;
    padding: 5px;
    font-size: 12px;
    text-align: left;
    display: inline-block;
    overflow: hidden;
}

.game_timeline_element_right_author {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 1;
    width: 128px;;
    height: 80px;
    padding: 5px;
    font-size: 12px;
    text-align: left;
    display: inline-block;
    overflow: hidden;
}

.game_dashboard_element_container {
    width: 100%;
    height: 430px;
    display: inline-block;
    overflow-y: scroll;
}

.game_dashboard_h1 {
    color: #112;
    font-weight: 300;
}

.game_dashboard_h2 {
    color: #393;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.game_dashboard_h3 {
    color: #666;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}


.game_dashboard_text {
    color: #112;
    font-size: 12px;
    font-weight: 100;
    text-align: left;
}

.game_dashboard_chat_text {
    color: #112;
    width: 170px;
    margin: 0;
    font-size: 12px;
    font-weight: 100;
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: left;
    display: inline-block;
}

.game_dashboard_chat_message_text {
    color: #112;
    width: 180px;
    height: 530px;
    margin: 0;
    font-size: 12px;
    font-weight: 100;
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: left;
    display: inline-block;
    overflow-y: scroll;
}

.game_message_speech_bubble {
    color: #112;
    width: 150px;
    margin: 5px;
    padding: 5px;
    font-size: 12px;
    font-weight: 100;
    display: inline-block;
    border-radius: 10px;
}

#game_play_text {
    color: #112;
    background-color: #ddd;
    width: 520px;
    height: 440px;
    margin: 5px;
    padding: 20px;
    font-size: 20px;
    font-weight: 100;
    display: inline-block;
    text-align: left;
    border-radius: 10px;
    overflow-y: scroll;
}

.game_play_text_bubble_left {
    color: #112;
    width: 70%;
    min-width: 250px;
    margin: 5px;
    padding: 15px;
    font-size: 14px;
    font-weight: 100;
    text-align: left;
    display: inline-block;
    background-color: #ff9;
    border-radius: 10px;
}

.game_play_text_bubble_right {
    color: #112;
    width: 70%;
    min-width: 250px;
    margin: 5px;
    padding: 15px;
    font-size: 14px;
    font-weight: 100;
    text-align: right;
    float: right;
    display: inline-block;
    background-color: #9f9;
    border-radius: 10px;
}

#game_play_image {
    width: 540px;
    height: 315px;
    border-radius: 10px;
}

.game_play_image_thumbnail {
    width: 128px;
    height: 72px;
    border-radius: 10px;
    display: inline-block;
}

#game_play_mchoice {
    color: #112;
    background-color: #fdd;
    width: 520px;
    height: 440px;
    margin: 5px;
    padding: 20px;
    font-size: 16px;
    font-weight: 100;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    overflow-y: scroll;
}

#game_play_mchoice_answers {
    width: 400px;
    padding: 10px;
    display: inline-block;
    text-align: left;
    background-color: #cff;
}


/* ff681f */

.game_prev {
    padding: 5px;
    display: inline-block;
    text-align: center;
    color: #68ff1f;
    font-size: 75%;
}

.game_prev a:link,
.game_prev a:visited {
    color: #ff3333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 1px solid #ff3333;
}

.game_prev a:hover,
.game_prev a:active {
    color: #333;
    border-bottom: 2px solid #333;
}

.game_next {
    padding: 5px;
    display: inline-block;
    text-align: center;
    color: #68ff1f;
    font-size: 75%;
}

.game_next a:link,
.game_next a:visited {
    color: #339933;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 1px solid #339933;
}

.game_next a:hover,
.game_next a:active {
    color: #333;
    border-bottom: 2px solid #333;
}

.game_warning {
    width: 100%;
    align-content: center;
    display: block;
    color: #900;
}


.game_progress_bar_done {
    height: 12px;
    width: 30%;
    background-color: #0f0;
    border: #ff681f solid 1px;
    display: inline-block;
    float: left;
}

.game_progress_bar_todo {
    height: 12px;
    width: 70%;
    background-color: #ccc;
    border: #ff681f solid 1px;
    display: inline-block;
    float: left;
}

.game_position_left {
    height: 20px;
    width: 28%;
    background-color: #fff;
    /*border: black solid 1px;*/
    display: inline-block;
    float: left;
}

.game_position_current {
    height: 20px;
    width: 10px;
    /*background-color: #f00;*/
    background-image: url('/_game_content/images/icons/timeline_pointer_orange_10x20.png');
    /*border: black solid 1px;*/
    display: inline-block;
    float: left;
}

.game_position_right {
    height: 20px;
    width: 69%;
    background-color: #fff;
    /*border: black solid 1px;*/
    display: inline-block;
    float: left;
}


/* --------------------------------------------------- */
/* FILE UPLOAD PROGRESS BAR */
/* --------------------------------------------------- */


/* --------------------------------------------------- */
/* INFORMATION */
/* --------------------------------------------------- */

.information {
    display: inline-block;
    text-align: left;
    padding: 20px;
    color: #000;
    background-color: #fff;
    font-size: 16px;
}

/* --------------------------------------------------- */
/* FADE IN AND OUT */
/* --------------------------------------------------- */

.fade-in {
    animation: fadeIn ease 2s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut ease 2s;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* --------------------------------------------------- */
/* DEBUGGING */
/* --------------------------------------------------- */


.console_message {
    margin: 0;
    width: 100%;
    align-content: center;
    display: block;
    vertical-align: middle;
    background-color: #112;
    color: #fff;
    font-size: 50%;
}

.timeline-container {
    width: 128px;
    height: 72px;
    display: flex;           /* Use flexbox layout */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    font-size: 16px;
}

.horizontal {
    list-style: none;
    padding-left: 0;
    display: flex;
}

.horizontal li {
    margin-right: 10px;
}
