﻿/*
 * 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.
 */
/* Portrait layout (default) */
.app {
    background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
    position:absolute;             /* position in the center of the screen */
    left:50%;
    top:50%;
    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 */
}

/* 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 */
    }
}

.event {
    border-radius:4px;
    -webkit-border-radius:4px;
    color:#FFFFFF;
    font-size:12px;
    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; }
}
body {
    background-color: black;
    border-radius: 19px;
    border:solid;
    border-color:white;

} 
.blink {
    animation:fade 3000ms infinite;
    -webkit-animation:fade 3000ms infinite;
}
.myButton {
        width: 80%;
    height:auto;
  
	-moz-box-shadow:inset 0px 23px 0px -1px #f29c93;
	-webkit-box-shadow:inset 0px 23px 0px -1px #f29c93;
	box-shadow:inset 0px 23px 0px -1px #f29c93;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #800000), color-stop(1, #ce0100));
	background:-moz-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:-webkit-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:-o-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:-ms-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:linear-gradient(to bottom, #800000 5%, #ce0100 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#800000', endColorstr='#ce0100',GradientType=0);
	background-color:#800000;
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	border-radius:12px;
	border:3px solid #d83526;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
    text-align:center;
    white-space: nowrap;
/*    text-decoration:underline;*/
    display:block;
    font-size: 24px;
    margin: 10px auto auto auto;
	font-weight:bold;
	padding:11px 61px;
	text-decoration:none;
	text-shadow:0px 1px 0px #b23e35;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #800000));
	background:-moz-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:-webkit-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:-o-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:-ms-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:linear-gradient(to bottom, #ce0100 5%, #800000 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#800000',GradientType=0);
	background-color:#ce0100;
}
.myButton:active {
	position:relative;
	top:1px;
}
.myButtonDouble {
        width: 49%;
    height:auto;
  
	-moz-box-shadow:inset 0px 23px 0px -1px #f29c93;
	-webkit-box-shadow:inset 0px 23px 0px -1px #f29c93;
	box-shadow:inset 0px 23px 0px -1px #f29c93;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #800000), color-stop(1, #ce0100));
	background:-moz-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:-webkit-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:-o-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:-ms-linear-gradient(top, #800000 5%, #ce0100 100%);
	background:linear-gradient(to bottom, #800000 5%, #ce0100 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#800000', endColorstr='#ce0100',GradientType=0);
	background-color:#800000;
	-moz-border-radius:12px;
	-webkit-border-radius:12px;
	border-radius:12px;
	border:3px solid #d83526;
	display:inline;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
    text-align:left;
    white-space: nowrap;
/*    text-decoration:underline;
    display:block;*/
    font-size: 22px;
    margin: 10px auto auto auto;
	font-weight:bold;
	padding:11px 11px;
	text-decoration:none;
	text-shadow:0px 1px 0px #b23e35;
}
.myButtonDouble:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #800000));
	background:-moz-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:-webkit-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:-o-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:-ms-linear-gradient(top, #ce0100 5%, #800000 100%);
	background:linear-gradient(to bottom, #ce0100 5%, #800000 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#800000',GradientType=0);
	background-color:#ce0100;
}
.myButton:active {
	position:relative;
	top:1px;
}

