/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */


/** {
    -webkit-tap-highlight-color: rgba(0,0,0,0);  make transparent link selection, adjust last value opacity 0 to 1.0 
}*/

*,
*::before,
*::after {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

html,
body {
    -webkit-touch-callout: none;
    /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;
    /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;
    /* prevent copy paste, to allow, change 'none' to 'text' */
    /*    background-color:#E4E4E4;
    background-image:linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    background-image:-webkit-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    background-image:-ms-linear-gradient(top, #A7A7A7 0%, #E4E4E4 51%);
    background-image:-webkit-gradient(
        linear,
        left top,
        left bottom,
        color-stop(0, #A7A7A7),
        color-stop(0.51, #E4E4E4)
    );
    background-attachment:fixed;*/
    font-family: Helvetica;
    font-size: 18px;
    height: 100%;
    margin: 0px;
    padding: 0px;
    //text-transform:uppercase;
    width: 100%;
}

.container {
    min-height: 100%;
    margin-bottom: -40px;
    /* Put negative height of the footer here */
    padding-bottom: 40px;
    /* Put height of the footer here. Needed for higher than screen height pages */
}


/* Portrait layout (default) */

.app {
    position: absolute;
    /* position in the center of the screen */
    left: 50%;
    top: 10%;
    height: 50px;
    /* text area height */
    width: 225px;
    /* text area width */
    text-align: center;
    padding: 180px 0px 0px 0px;
    /* image height is 200px (bottom 20px are overlapped with text) */
    margin: -115px 0px 0px -112px;
    /* offset vertical: half of image height and text area height */
    /* offset horizontal: half of text area width */
    word-break: break-all;
    white-space: normal;
}


/* Landscape layout (with min-width) */

@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
    .app {
        background-position: left center;
        padding: 75px 0px 75px 170px;
        /* padding-top + padding-bottom + text area = image height */
        margin: -90px 0px 0px -198px;
        /* offset vertical: half of image height */
        /* offset horizontal: half of image width and text area width */
    }
}


/*Own alert box css*/

#modalContainer {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 10000;
    background-image: url(tp.png);
    /* required by MSIE to prevent actions on lower z-index elements */
}

#alertBox {
    position: relative;
    width: 300px;
    min-height: 100px;
    margin-top: 50px;
    border: 1px solid #666;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 20px 30px;
}

#modalContainer>#alertBox {
    position: fixed;
}

#alertBox h1 {
    margin: 0;
    font: bold 0.9em verdana, arial;
    background-color: #3073bb;
    color: #fff;
    border-bottom: 1px solid #000;
    padding: 2px 0 2px 5px;
}

#alertBox p {
    font: 0.7em verdana, arial;
    height: 50px;
    padding-left: 5px;
    margin-left: 55px;
}

#alertBox #closeBtn {
    display: block;
    position: relative;
    margin: 5px auto;
    padding: 7px;
    border: 0 none;
    width: 70px;
    font: 0.7em verdana, arial;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    background-color: #357ebd;
    border-radius: 3px;
    text-decoration: none;
}

h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 0px;
    overflow: visible;
    padding: 0px;
    text-align: center;
}

.event {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    color: #FFFFFF;
    font-size: 18px;
    margin: 0px 30px;
    padding: 2px 0px;
}

.event.listening {
    background-color: #333333;
    display: block;
}

.event.received {
    background-color: #4B946A;
    display: none;
}

@keyframes fade {
    from {
        opacity: 1.0;
    }
    50% {
        opacity: 0.4;
    }
    to {
        opacity: 1.0;
    }
}

@-webkit-keyframes fade {
    from {
        opacity: 1.0;
    }
    50% {
        opacity: 0.4;
    }
    to {
        opacity: 1.0;
    }
}

.blink {
    animation: fade 3000ms infinite;
    -webkit-animation: fade 3000ms infinite;
}

.message {
    position: absolute;
    left: 20%;
    top: 60%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.imgcontainer {
    text-align: center;
}

#display_loading_login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: none;
}

#display_loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: none;
}

#display_loading_next {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: none;
}

input::-webkit-input-placeholder {
    color: #808080 !important;
    /* change [placeholder color] by this*/
    text-shadow: none;
    -webkit-text-fill-color: initial;
}

input[type=text] {
    max-width: 80%;
    !important;
    padding: 8px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 0px solid #ffffff;
    border-radius: 4px;
}

input[type=password] {
    max-width: 80%;
    !important;
    padding: 8px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 0px solid #ffffff;
    border-radius: 4px;
}

input[type=text]:focus {
    background-color: #ffffff;
    outline: none;
}

input[type=password]:focus {
    background-color: #ffffff;
    outline: none;
}

table.center {
    margin-left: auto;
    margin-right: auto;
}

.IOSHome {
    width: 75%;
    font-size: 18px;
    font-family: Helvetica;
    border: 0px none;
    outline: none;
    background-color: #ffffff;
    color: #ffffff;
    /*//#BFD2DC ;*/
}

.tdwidth {
    width: 80%;
    font-size: 18px;
    font-family: Helvetica;
    border: 0px none;
    outline: none;
    background-color: #ffffff;
    color: white;
}

.combobox {
    width: 80%;
    font-size: 18px;
    font-family: Helvetica;
    border: 0px none;
    outline: none;
    background-color: #0c7ecf;
    color: white;
    height: 30px;
    font-size: 16px;
    vertical-align: 9px;
    color: #000000;
}


/* Style the footer */

.Header {
    position: fixed;
    margin-top: 0;
    top: 0;
    width: 100%;
    height: 9%;
    text-align: center;
    z-index: 100;
    background-color: white;
}

.Header img {
    margin: auto;
    left: auto;
}

div#fixedheader {
    margin: -20px;
    padding: 25px;
    position: fixed;
    top: 12px;
    /*    //  left: 0px;*/
    width: 100%;
    height: 60px;
    background: #0c7ecf;
    /*
    //background: #cbe53c;
    //padding: 0px;
*/
}

div#scrollable {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 60px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -webkit-box-flex: 1;
}

div#fixedfooter {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 60px;
    background: #0c7ecf;
    /*//background: #cbe53c; // red bg*/
}

.disabledDiv {
    pointer-events: none;
    opacity: 0.4;
}

#bodycontainer {
    text-align: center;
    display: block;
    max-width: 600px;
    margin: auto;
}

div#fixedheaderlogin {
    position: fixed;
    padding-top: 25px;
    left: 0px;
    width: 100%;
    z-index: 100;
    background: #ffffff;
    padding-bottom: 5px;
}

div#fixedLaunchImageheader {
    position: fixed;
    padding-top: 0px;
    left: 0px;
    width: 100%;
    height: 30%;
    /*    z-index: 100;*/
    background: #ffffff;
    /*    padding-bottom: 5px;*/
}

div#launchArea {
    position: absolute;
    top: 30%;
    padding: 0px 5px;
    left: 0;
    right: 0;
    bottom: 165px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-box-flex: 1;
}

div#fixedlaunchfooter {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 165px;
    /*    line-height: 140px;*/
    background: #ffffff;
    //background: #333333;
    /*//background: #0c7ecf; // red bg*/
    padding-bottom: 15px;
}

div#launchbuttonsContainer {
    top: 30%;
    height: 20%;
}

div#launchIconContainer {
    top: 90%;
    height: 10%;
}

div#launchEmptyContainer {
    top: 70%;
    height: 20%;
}

div#loginscrollable {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    bottom: 145px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-box-flex: 1;
}

#logindetailcontainer {
    position: absolute;
    top: 25px;
    padding: 0px 5px;
    left: 0;
    right: 0;
    bottom: 157px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-box-flex: 1;
}

#logindetailcontainer>* {
    transform: translateZ(0px);
    -webkit-transform: translateZ(0px);
}

div#fixedfooterlogin {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 157px;
    line-height: 140px;
    background: #ffffff;
    //background: #333333;
    /*//background: #0c7ecf; // red bg*/
    padding-bottom: 10px;
}

#nextcontainer {
    text-align: center;
    display: block;
    max-width: 600px;
    margin: auto;
}

#logincontainer {
    text-align: center;
    display: block;
    max-width: 600px;
    margin: auto;
}

#footercontainer {
    text-align: center;
    display: block;
    max-width: 600px;
    margin: auto;
}

.meddrow {
    width: 100%;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.meddrow>div {
    display: inline-block;
    vertical-align: middle;
}

.meddicon {
    width: 20%;
    text-align: right;
}

.footercontent {
    width: 30%;
    text-align: center;
    max-width: 500px;
}

.meddcontent {
    width: 80%;
    text-align: left;
    max-width: 500px;
}

.meddiconsignup {
    width: 10%;
    text-align: right;
}

.meddcontentsignup {
    width: 90%;
    text-align: left;
    max-width: 500px;
}

.meddcontent * {
    margin-left: 5%;
    margin-right: 15%;
    width: 80%;
}

img[src*="hline"] {
    width: 80%;
    height: 2px;
}

input[class*="bluebutton"] {
    //all: unset;
    background: #0c7ecf !important;
    color: white !important;
    font-weight: bold;
    font-family: Helvetica;
    /*    border: 2px solid #cbe53c;*/
    width: auto;
    padding: 5px 0px;
    text-align: center;
    text-decoration: none;
    margin: 4px 0px;
    cursor: pointer;
    border-radius: 15px;
    -webkit-appearance: button;
}

.mediumbluebutton {
    min-width: 50%;
    font-size: 12px;
}

.largebluebutton {
    min-width: 75%;
    font-size: 20px;
}

footer {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    display: block;
    text-align: center;
    background-color: white;
}

.Footer .footerOptions label {
    margin: 0px min(45px, calc((100% - 200px) / 6));
}


/* Style the tab */

.tab {
    overflow: hidden;
    border: 1px solid #e3f2fd;
    background-color: #e3f2fd;
    text-align: center;
    display: flex;
}


/* Style the tab content */

.tabcontent {
    color: #0c7ecf;
    /*    display: none;*/
    padding: 6px 12px;
    border: 1px solid #e3f2fd;
    border-top: none;
    text-align: center;
}

.tablinks {
    background-color: #e3f2fd;
    color: #0c7ecf;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px;
    font-size: 12px;
    flex-basis: 0;
    flex-grow: 1;
}


/* Change background color of buttons on hover */

.tablinks:hover {
    background-color: #cbe53c;
}


/* Create an active/current tablink class */

.tablinks.active {
    background-color: #cbe53c;
}