﻿@font-face {
    font-weight: normal;
}

/* Android jQM Font Style Overrides */
body * {
    font-weight: normal !important;
    margin: 0;
}

#app-section {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mobile-road .half-width {
    width: 49%;
}

.mobile-road .third-width {
    width: 32.5%;
}

.mobile-road.form-section {
    overflow-y: scroll;
    margin-top: 5px;
    margin-bottom: 5px;
}

.form-section > .mobile-road.form-section {
    overflow-y: hidden;
    padding: 8px;
    background-color: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.15);
}

.mobile-road-button {
    background: #2184be;
    color: #fff !important;
    display: block;
    padding: 0.5em 1em;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
}

    .mobile-road-button:hover {
        cursor: hand;
    }

    .mobile-road-button.ok-button {
        float: right;
        margin-top: 12%;
    }

.admin-tool-button {
    display: inline-block;  
    background: #2184be;
    color: #fff !important;
    padding: 0.5em 1em;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-align: center;  
}
    .admin-tool-button:hover {
        cursor: hand;
    }
    .admin-tool-button.ok-button {
        float: right;
        margin-top: 12%;
    }

.mobile-road.help-text {
    color: rgb(0, 120, 231);
}

.mobile-road.error-text {
    color: red;
}

.mobile-road.warning-text {
    color: orange;
}

.mobile-road.sub-text {
    color: forestgreen;
}

.mobile-road.hide {
    display: none;
}

.mobile-road.invisible {
    visibility: hidden;
}

.mobile-road.google-map {
    height: 300px;
    width: 100%;
    margin-bottom: 5px;
}

.mobile-road.map {
    margin-top: 10px;
}

    .mobile-road.map.controls {
        margin-left: 10px;
    }

/* Quiz css */

.card {
    padding: 8px;
    background-color: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.15);
}

#asset-quiz input[type="text"] {
    margin-left: 20px;
}

.quizlib-question-answers {
    margin-top: 6px;
}

#asset-quiz a {
    margin-top: 10px;
    padding: 4px;
    cursor: pointer;
    font-family: 'Helvetica Neue', Helvetica, Arial, serif;
    font-size: 16px;
    color: #fff;
    background-color: #2196f3;
    border: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
}

    #asset-quiz a:hover {
        background-color: #1e88e5;
    }

    #asset-quiz a:active {
        -webkit-box-shadow: 0 1px 3px 2px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 1px 3px 2px rgba(0, 0, 0, 0.3);
        box-shadow: 0 1px 3px 2px rgba(0, 0, 0, 0.3);
    }

#asset-quiz li, #asset-quiz input {
    display: inline-block;
}

.existing-form-link {
    display: inline-block !important;
}

.formGenButton {
    float: right;
    width: 150px;
    /*width: 25%;*/
}

#formsList {
    width: 50%;
    margin-left: 10%;
}

.no-not-display {
    display: none;
}

.invalid-tab {
    background-color: red !important;
}

@media screen and (max-width: 400px) {
    .formSubmit {
        display: none;
        width: 60%;
        height: 15%;
        margin-left: 20%;
        margin-top: 80%;
        z-index: 501;
        position: absolute;
    }
}

@media screen and (min-width: 400px) {
    #formSubmitDialog, #errorDialog {
        display: none;
        width: 20%;
        height: 16%;
        margin-left: 50%;
        margin-top: 9%;
        position: absolute;
        z-index: 501;
    }
}

#formSubmitDialog > span {
    margin-top: 5%;
    margin-left: 7%;
    display: inline-block;
}

#pageOverlay, #errorDialogOverlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    z-index: 500;
    width: 100%;
    height: 100%;
    display: none;
}

.quizlib-question-answers li {
    display: flex !important;
}

    .quizlib-question-answers li input[type="radio"] {
        width: 17px !important;
    }

.cacher {
    position:fixed;
    width:100%;
    height:100%;
    font-size:1.5em;
    background-color:lightyellow;
    padding:0.25em;
    color:brown;
}

b {
    font-weight: bold !important;
}

.boldText {
    font-weight: bold !important;
}

/* The Modal (background) */
.read-me-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.read-me-modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.read-me-modal-close {
    color: #2196f3;
    float: right;
    font-size: 20px;
    font-weight: bold !important;
}

.read-me-modal-close:hover,
.read-me-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

canvas {
    background-color: black;
    margin: 1px;
}

/* ----- Image Popup Modal Style (START) ----- */
/* Example: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_modal_img */

/* The Modal (background) */
#imagePopupModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    /*padding-top: 100px;*/ /* Location of the box */
    vertical-align: middle;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
#imageInsidePopupModal {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#imageCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
#imageInsidePopupModal, #imageCaption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-moz-keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@-webkit-keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
#imagePopupModalClose {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}
#imagePopupModalClose:hover,
#imagePopupModalClose:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    #imageInsidePopupModal {
        width: 100%;
    }
}
/* ----- Image Popup Modal Style (END) ----- */

/* ----- Sort Icon (START) ----- */
.sort-by-asc
{
    /*left: 3px;*/
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 10px transparent;
    margin: 9px 9px 0 9px;
    background: transparent;
    border-bottom: solid 12px black;
    border-top-width: 0;
}

.sort-by-desc
{
    /*left: 3px;*/
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 10px transparent;
    margin: 9px 9px 0 9px;
    background: transparent;
    border-top: solid 12px black;
    border-bottom-width: 0;
}
/* ----- Sort Icon (END) ----- */