﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 16px;
}

body, button, input, textarea {
    font-family: 'Permanent Marker','Helvetica', 'Arial Narrow', Arial, sans-serif;
}

header.active {
    z-index: 120;
}



h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 100%;
}


* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

div.disabled {
    background-color: #ccc;
}

div.tools.disabled {
    display: none !important;
}

a.disabled {
    pointer-events: none;
}


.row {
    display: flex;
    flex-direction: row;
}

.row *, .row .btn.std {
    flex: 1 1 50px;
    margin: 0 3px;
}

#btnmenu {
    padding: 5px;
}

button {
    cursor: pointer;
}

.template {
    display: none !important;
}

.btn {
    text-align: center;
}

.btn.std {
    display: inline-block;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 15px;
    background-color: #444;
    color: #eee;
    padding: 2px 10px;
    cursor: pointer;
    margin: 5px auto;
    text-decoration: none;
    box-shadow: 0 5px 5px inset rgba(255,255,255,0.5),0 5px 5px rgba(0,0,0,0.5),inset 0 -5px 5px rgba(0,0,0,0.5);
    line-height: 100%;
    /*box-shadow: 0 5px 5px inset rgba(0,127,255,0.5),0 5px 5px rgba(0,0,0,0.5),inset 0 -5px 5px rgba(0,0,0,0.5);
    background-color: rgba(0,31,63,0.5);*/
}

.btn.tool {
    display: block;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 15px;
    background-color: #fff;
    color: #444;
    padding: 2px 10px;
    cursor: pointer;
    margin: 5px auto;
    text-decoration: none;
    box-shadow: 0 5px 5px inset rgba(255,255,255,0.5),0 5px 5px rgba(0,0,0,0.5),inset 0 -5px 5px rgba(0,0,0,0.5);
}

.btn.md {
    font-size: 15px;
    padding: 10px 20px;
    margin: 5px auto;
}

.btn.lg {
    font-size: 20px;
    padding: 10px 20px;
    margin: 5px auto 20px auto;
}

.full {
    width: 100%;
}

button:disabled {
    opacity: 0.3;
}

.instruction {
    font-size: 20px !important;
}

.action-item {
    font-size: 30px;
}

.size div {
    border: 1px solid #999;
}

.size.selected div {
    border: 3px solid #444;
}

.size.selected.alt div {
    border: 2px solid #3086e4;
}

.color {
    margin: 3px;
    border: 1px solid #444;
    border-radius: 3px;
}



.color.icon {
    border: 1px solid #fff;
}

.color.selected {
    border: 2px solid #444;
}

.color.selected.alt {
    border: 2px solid #3086e4;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

.modal .modal-dialog {
    padding: 20px;
    background: rgba(0,0,0,0.5);
    min-height: 100%;
    overflow-y: hidden;
}

.modal .modal-content {
    margin: 10px auto 50px;
    padding: 20px;
    max-width: calc(100% - 40px);
    min-width: 240px;
    background-color: #fff;
    color: #444;
    border-radius: 3px;
    box-shadow: rgba(0,0,0,0.5) 0 5px 5px;
    padding: 0;
    border-radius: 10px 10px 5px 5px;
    max-width: 400px;
}

.modal .title {
    font-size: 20px;
    border-radius: 5px 5px 0 0;
    text-align: center;
}

div.body {
    padding: 0 10px 10px 10px;
    max-width: 500px;
    margin: 0 auto;
}

div.body .page {
    min-height: calc(100vh - 170px);
}


div.body > div {
    text-align: center;
}

input[type='text'], input[type='password'], textarea {
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #aaa;
    height: 50px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 3px;
    resize: none;
    font-size: 20px;
    text-align: center;
}

textarea {
    height: 100px;
}

input[type='text']:focus {
    border-color: deepskyblue;
}

label {
    display: block;
    /*height:40px;*/
    padding: 10px 0;
}

.err {
    color: #d66;
}

#userinfo {
    margin: 20px;
}



form#account input {
    margin-top: 20px;
}

form#account button {
    margin: 0;
}

/*
    Show password button 

*/


div.pwpeek-cntr {
    position: relative;
}

span.pwpeek {
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    width: 40px;
    background-image: url(/img/eye.svg);
    background-size: 40px 40px;
}

.pwpeek-cntr.tight span.pwpeek, .pwpeek-cntr.tight div.pwpeek {
    top: 5px;
}

div.pwpeek {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    top: 30px;
    font-size: 20px;
    font-family: 'Helvetica', 'Arial Narrow', Arial, sans-serif;
    display: none;
}

.room-password span.pwpeek {
    top: 5px;
}

.room-password div.pwpeek {
    top: 12px;
}


.validation-summary-errors ul, .validation-summary-errors li {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.swap {
    display: none;
}

.swap.active {
    display: block;
}

#toast {
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transition: height ease 0.2s;
    overflow: hidden;
    z-index:1000;
}

#toast p {
    margin: 10px;
    line-height:100%;
}

#toast.message {
    background-color: #3caa34;
    color: #fff;
}

#toast.warning {
    background-color: #ffdd55;
    color: #222;
}

#toast.error {
    background-color: #cf1818;
    color: #fff;
}

#toast.active {
    height: 50px;
    transition: height ease 0.2s;
}

.hidden {
    display: none !important;
}

img.spin {
    margin: 50px auto 10px;
    display: block;
}

.inputspin {
    position: absolute;
    height: 30px;
    width: 30px;
    bottom: 20px;
    left: calc(50% - 15px);
    background-image: url(/img/spinner.svg);
    background-size: 30px 30px;
    background-repeat: no-repeat;
}

.padded {
    padding: 10px;
}

.quit {
    /*temporary*/
    display: none !important;
}

.checkbox-list > div {
    overflow-x: hidden;
    white-space: nowrap;
    height: 40px;
}


/*
***************************************************
************QSEARCH********************************
***************************************************
*/

.qsearch {
    width: 100%;
    position: relative;
}

.qsearch input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
}

.qsearch button {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background-color: transparent;
    background: url('/img/x.svg') no-repeat;
    background-size: 30px 30px;
    display: none;
}


/*
***************************************************
************PAGE HEADER TITLE and MENU*************
***************************************************
*/

.page-title {
    flex: 1 1 auto;
    text-align: left;
    font-size: 20px;
    line-height: 20px;
    padding: 5px 10px;
    overflow-wrap: break-word;
}

.page-menu {
    flex: 0 0 50px;
    padding: 5px;
    z-index: 200;
}

.page-menu > button {
    background-image: url(/img/mnu.svg);
    background-size: 20px 20px;
    background-position: 10px 10px;
    background-repeat: no-repeat;
    background-color: transparent;
    height: 40px;
    width: 40px;
    border: none;
    padding: 0;
}

.page-menu > div {
    width: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    transition: width, ease 0.2s, opacity, ease 0.2s;
}



header.active .page-menu > div {
    width: 250px;
    opacity: 1;
    transition: width ease 0.2s, opacity, ease 0.2s;
}

.page-menu > div > div {
    height: 40px;
    text-align: right;
    width: 250px;
}

.page-menu > div > div button {
    background-image: url(/img/x.svg);
    background-size: 20px 20px;
    background-position: 10px 20px;
    background-repeat: no-repeat;
    background-color: transparent;
    height: 50px;
    width: 50px;
    border: none;
    padding: 0;
}

.page-menu > div ul {
    margin: 0;
    width: 250px;
    padding: 0 10px 10px 10px;
    display: block;
    list-style: none;
    margin: 0;
}

.page-menu > div li {
    display: block;
    width: 100%;
}

.page-menu li > a, .page-menu li > a:visited, .page-menu li > button {
    color: #333;
    background-color: transparent;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 20px;
    border: none;
}

.page-menu li > a:hover, .page-menu li > button:hover {
    background-color: #ddd;
}

/*
***************************************************
************Help*************
***************************************************
*/

.help {
    position: fixed;
    bottom: 5px;
    left: calc(50% - 20px);
    width: 36px;
    height: 36px;
    background-image: url(/img/help.svg);
    background-size: 36px 36px;
    opacity: 0.6;
    cursor: pointer;
}

.help:hover {
    opacity: 0.8;
}

.turn-page .help {
    bottom: 5px;
    left: 5px;
}

#modal-help .modal-content {
    background-color: #444;
    border: 1px solid #000;
}

#modal-help .anim img {
    width: 100%;
}

#modal-help .instructor {
    display: flex;
    flex-direction: row;
}

#modal-help .agent {
    height: 60px;
    width: 60px;
    margin: 0;
    background-image: url(/img/help/jasper.svg);
    background-size: 60px 60px;
    background-repeat: no-repeat;
    flex: 0 0 60px;
}

#modal-help .speechptr {
    height: 60px;
    width: 15px;
    background-image: url(/img/help/speechptr.svg);
    background-repeat: no-repeat;
    background-size: 20px 15px;
    background-position: 0 33px;
}

#modal-help .message {
    width: 15px;
    height: 66px;
    margin: 5px 0;
    background: #eee;
    flex: 1 1 1000px;
    line-height: 100%;
    border-radius: 10px;
    max-width: calc(100% - 75px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-wrap: break-word;
}





/*
***************************************************
************Page Styles - Single Form*************
***************************************************
*/




body.page-single-form label {
    font-size: 20px;
}

body.page-single-form input, body.page-single-form textarea {
    margin: 0 0 10px 0;
    text-align: left;
    padding: 5px;
    border-bottom-width: 3px;
    opacity: 1.0
}

body.page-single-form input:disabled {
    opacity: 0.5
}

body.page-single-form input::placeholder, body.page-single-form textarea::placeholder {
    color: #999;
}

body.page-single-form div.page {
    padding-top: 20px;
}

body.page-single-form label {
    text-align: left;
}

body.page-single-form div.form, div.info, div.doc {
    max-width: 500px;
    margin: auto;
    background-color: #ddd;
    padding: 10px;
    border-radius: 10px;
    color: #444;
    min-height: 200px;
    padding-top: 20px;
    font-size: 140%;
}

div.doc {
    font-family: 'Open Sans',sans-serif;
    font-size: 80%;
    text-align: left;
}

body.page-single-form div.info * {
    text-align: center;
}

body.page-single-form .control {
    position: relative;
}

body.page-single-form .help {
    position: absolute;
    top: 15px;
    right: 5px;
    left: unset;
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
}


body.page-single-form div.pwpeek {
    position: absolute;
    left: 10px;
    text-align: left;
    top: 10px;
}

/*
***************************************************
************Tooltips*************
***************************************************
*/


.control {
    position: relative;
}

.tooltip {
    background-color: #d66;
    color: #fff;
    position: absolute;
    top: -30px;
    left: 0;
    border-radius: 5px;
    display: none;
    padding: 0 5px 5px 5px;
}

.tooltip::after {
    display: block;
    position: absolute;
    bottom: -20px;
    left: 20px;
    border: 10px solid transparent;
    border-top-color: #d66;
    content: '';
    height: 0;
    width: 0;
}

.tooltip.active {
    display: block;
}

/*
***************************************************
************Backdrops/Asset containers*************
***************************************************
*/

#bg{
    position:fixed;
}

.backdrop {
    position: absolute;
}

.backdrop.stretch {
    background-repeat: no-repeat;
}

.particle-container {
    overflow: hidden;
    position: absolute;
}

.token-container {
    overflow: hidden;
    position: absolute;
}

.staging {
    position: absolute;
    width: 1px;
    left: 1px;
    overflow: hidden;
    opacity: 0;
}

/*
*****************************************************************************
************Avatar, page title and Page menu button (modal style) *************
*****************************************************************************
*/

#avatar{
    /*Sme pages may override this*/
    position: absolute;
    top: 10px;
    left: 10px;
    height: 30px;
    width: 30px;
    background-size: 30px 30px;
}

#pagemenubtn {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 30px;
    width: 30px;
    background-size: 30px 30px;
}

#pagetitle {
    position: absolute;
    top: 10px;
    left: 45px;
    font-size: 20px;
    width:calc(100% - 90px);
    text-align:left;
    overflow-x:hidden;
    white-space:nowrap
}

#pagetitle.float {
    left: 0;
    right: 0;
    text-align: "center";
}



/*
*****************************************************************************
************gModals (theme style)*************
*****************************************************************************
*/

.gmodal {
    position: absolute;
    display: none;
    background-color: rgba(255,255,255,0);
    overflow: hidden;
    overflow-y: scroll;
}

.gmodal .content {
    position: absolute;
    transition: top ease 0.5s;
    width: 300px;
}
    .gmodal.active { 
        display: unset; 
        background-color: rgba(255,255,255,0.5); /* default greyout for modal.  */
    }
#cookieConsent {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.5); 
color:#333;
}

#cookieConsent.active { 
      display: block;
}

#cookieConsent .content   { 
   position: fixed;
   bottom:-300px;
   left:0;
   height:300px;
   width:100%; 
   background-image: url(/img/cookie.svg);
   background-position:center;
   background-repeat:no-repeat;
   padding: 120px 0 0 0; 
  transition:bottom ease 0.5s;
}

#cookieConsent.bounce .content   { 
   bottom:0;
  
}
#cookieConsent .content h3  {
   margin:0;
}
#cookieConsent .content p  {
   margin:0;  
   width:260px;
   margin:auto;
   line-height:120%;   
}
 
#cookieConsent button, #cookieConsent a  {   
    width:110px;
    height:36px;
    font-size:15px;
    margin:5px;
    display:inline-block;
    white-space:nowrap;
    padding: 3px;
    vertical-align:top;
 }
 
 
