/*
 * 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 */
}
@font-face {
  font-family: 'mainFont';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/AnimaITCStd.otf') format('opentype');
  /*src: url(http://www.diedrescher.com/fonts/HelveticaNeueLTStd/HelveticaNeueLTStd-Cn.otf) format("opentype");*/
}

@font-face {
  font-family: 'mainFont_bold';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/AnimaITCStd-Bold.otf') format('opentype');
  /*src: url(http://www.diedrescher.com/fonts/HelveticaNeueLTStd/HelveticaNeueLTStd-Cn.otf) format("opentype");*/
}

@font-face {
  font-family: 'H-ThCn';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/HELVETICANEUELTSTD-THCN.OTF') format('opentype');
  /*src: url(http://www.diedrescher.com/fonts/HelveticaNeueLTStd/HelveticaNeueLTStd-Cn.otf) format("opentype");*/
}

@font-face {
   font-family: 'H-BdCn';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/HELVETICANEUELTSTD-BDCN.otf') format('opentype');
 /*src: url(http://www.diedrescher.com/fonts/HelveticaNeueLTStd/HelveticaNeueLTStd-Cn.otf) format("opentype");*/
}

@font-face {
  font-family: 'Impact';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/ImpactLTStd.otf') format('opentype');
  /*src: url(http://www.diedrescher.com/fonts/HelveticaNeueLTStd/HelveticaNeueLTStd-Cn.otf) format("opentype");*/
}


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:#fff;
    background-attachment:fixed;
	-webkit-font-smoothing: antialiased;
  font-family: 'mainFont';
    font-size:12pt; line-height: 1.8em;
    height:100%;
    margin:0px;
    padding:0px;
    width:100%;
	overflow: hidden;
}

.clearer { clear: both;}
/* Portrait layout (default) */
.app {
    position:absolute;             /* position in the center of the screen */
    left:0;
    top:0;
    height:99%;                   /* text area height */
    width:100%;                   /* text area width */
    text-align:left;
  }

#header { 
	position: relative;
	width: 100%; 
	height: 12vh;
	overflow: hidden;
	border-bottom: 0px dotted #00f;
}
#header #logo {
	 background:url(../img/logo.png) no-repeat center bottom;
	/* background-color:#e9e4e2;*/
	background-size: auto 80%;
	width: 100%; height: 80%; 
}
#header h1 {
	background: #b34417;
	color: #fff; font-size: 1em; font-family: "mainFont_bold";
	width: 100%; 
	text-align: center; padding: 0em 0 0 0;
}

h1 {
    font-size:2em;
    font-weight:normal;
    margin:0px;
    overflow:visible;
    padding:0px;
    text-align:center;
}


#content { position: relative;overflow: auto; width: 94%; padding: 0 3%; border: 0px dotted #00f; }
#overlay {display: none; text-align: center; padding-top: 2em; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.9);z-index: 1000;}
#overlay .close{position: relative; top: 1em; right: 1em;  z-index: 1000; margin-bottom: 1em; text-align: right;}


/****************************   KIOSK   ****************************/
.ausgabe  { position:relative; width:210px; height: 280px; overflow: hidden;display: block; float: left; margin:0 2em 2em 0;border: 0px solid #eee; box-shadow: 5px 5px 15px #999; background-position: center center; background-size: contain; background-repeat: no-repeat;}
/*.ausgabe:hover{opacity: 0.8;}*/
.cover {position:absolute;width:100%; height: 100%; background-size: cover;  }
.cover a {position:absolute;width:100%; height: 100%; display: block;}
.cover a:hover {background: rgba(255,255,255,0.3);cursor: pointer;}
.info { font-family: "Impact"; position:absolute; bottom: 0; width: 100%; height: 3em; overflow: hidden; text-align: center; background: rgba(255,255,255,0.7); font-size: 1em;}

#i_frame, #article_win {width: 90%;left:5%; border: 1px dotted #000; position: absolute; bottom: 0; background: #fff;}
#i_frame .toolbar, #article_win .toolbar{background: #eee; text-align: right; padding-right: 5px;}
#i_frame .holder, #article_win .holder{height: 600px; padding: 1em; overflow: auto;}
#i_frame iframe {width: 100%;border: 1px dotted #000; height: 100%; }

.log pre {font-size: 7pt;}

/***************************   AUSGABE   ***************************/

.bx-wrapper {position: absolute; -webkit-box-shadow: 0 0 0 #ccc; box-shadow:0; border: none;}
#canvas {position: absolute; top: 2%; left: 0; width: 96%; height: 96%; border: 0px solid #ff0; z-index: 0;  }
.dbl_page {position: relative; display: block; float: left; height: 100%; border: 1px solid #ddd; box-shadow: 1px 1px 10px 1px #ccc;}
.page {position: absolute; top: 0; border: 0px solid #f00; background: #eee no-repeat center center; background-size: contain;}
.dbl_page  .rechts {left: 50%;}

#properties { position: absolute; top: 0; right: 0; height: 98%; overflow: auto; padding: 5px 10px;  border: 0px dotted #00f; background: rgba(255,255,255,0.1); z-index: 100; }

.thumbs {position: relative; width: 100%; height: 20px; bottom: 0; /*background: #eee;*/}
#thumbs {white-space: nowrap; overflow: hidden; max-height: 112px;padding: 5px; z-index: 10; background: #eee;bottom: 0;}
.thumb { position: relative; display: block; float: left; width:84px; height: 112px; background-position: center; background-size: contain; background-repeat: no-repeat; margin: 0; margin-bottom: 5px; border: 0px solid #f00;}
.thumbs .links { margin-left:5px; border-right: none; }
.thumbs .rechts {border-left: none; }
.thumb img {position: relative;width: 100%; }

.article_box {position: absolute; background: rgba(255,255,0,0.2);}


/*******************************************************************/

.event.listening {
    background-color:#333333;
    display:block;
}

.event.received {
    background-color:#fff;
    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;
}
