/**
 *
 * Copyright (c) 2017 MPAT Consortium , All rights reserved.
 * Fraunhofer FOKUS, Fincons Group, Telecom ParisTech, IRT, Lacaster University, Leadin, RBB, Mediaset
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 *
 * AUTHORS:
 * Miggi Zwicklbauer (miggi.zwicklbauer@fokus.fraunhofer.de)
 * Thomas Tröllmich  (thomas.troellmich@fokus.fraunhofer.de)
 * Benedikt Vogel    (vogel@irt.de)
 * Jean-Claude Dufourd (jean-claude.dufourd@telecom-paristech.fr
 * Stefano Miccoli (stefano.miccoli@finconsgroup.com)
 * Marco Ferrari (marco.ferrari@finconsgroup.com)
 **/
/*
Theme Name: MPAT
Theme URI: http://mpat.eu/
Author: MPAT.eu
Author URI: http://wordpress.org/
Description: This official MPAT theme for WordPress takes us a big step forward to the world of HbbTV. Together with the MPAT Core Plugin and its new range of mail formats, page layout and model, this is a complete editing solution.
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: mpat
*/

#main {
    background-color: rgba(255,255,255,0);

}
* {
    font-family: 'Tiresias', sans-serif;
}


.page, .background,.background:after, #main, .page-container  {
    width: 1280px;
    height: 720px;
    overflow:hidden;
}


.page, .background,.background:after, #main{
    position: absolute;
    top: 0;
    left: 0;
}

.page-container  {
    position: relative;
}

.page, .background {
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.background:after{
    content:"";
    background-color: transparent;
}

.text {
    margin: 100px;
    width: 400px;
}

.highlight {
    position: absolute;
    box-sizing: content-box;
}

.page-element,
.hotspot-content {
    position: absolute;
    box-sizing: border-box;
}

.page-element-content {
    width:100%;
    height:100%;
    padding: 0px;
}

.video-content video {
    width:100%;
    height:100%;
}

.page_arrow_down, .page_arrow_up, .page_arrow_right, .page_arrow_left {
    position: absolute;
    width: 100px;
    height: 100px;
}

.page_arrow_right{
    right: 10px;
}

.page_arrow_left {
    left: 10px;
}

.page_arrow_down, .page_arrow_up{
    left: 590px;
}

.page_arrow_down{
    bottom: 10px;
}
.page_arrow_up{
    top: 10px;
}

.ONTEXTRIGHTup {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    right: 0px;
}
.ONTEXTRIGHTdown {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0px;
    right: 0px;
}
.OUTSIDERIGHTup {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    right: -42px;
}
.OUTSIDERIGHTdown {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0px;
    right: -42px;
}
.NOARROWSup {
    display: none;
}
.NOARROWSdown {
    display: none;
}
.ABOVEBELOWRIGHTup {
    position: absolute;
    width: 50px;
    height: 50px;
    top: -35px;
    right: 0px;
}
.ABOVEBELOWRIGHTdown {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: -35px;
    right: 0px;
}
.ONTEXTLEFTup {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    left: 0px;
}
.ONTEXTLEFTdown {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0px;
    left: 0px;
}
.OUSTIDELEFTup {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    left: -45px;
}
.OUTSIDELEFTdown {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: 0px;
    left: -45px;
}
.ABOVEBELOWLEFTup {
    position: absolute;
    width: 50px;
    height: 50px;
    top: -35px;
    left: 0px;
}
.ABOVEBELOWLEFTdown {
    position: absolute;
    width: 50px;
    height: 50px;
    bottom: -35px;
    left: 0px;
}

/* START MENU */
.menu-component {
    width: 100%;
    height: 100%;
    border-style: solid;
}
.menu-content {
  float: left;
}
.menu-component .menu-item a {
  text-decoration: none;
}
.menu-component .menu-item img {
    width: auto;
    height: 1em; /* adapt key icon height to the text height */
    vertical-align: middle;
    padding-bottom: 3px;
}
.horizontal-menu-component {
    display: inline-block;
    margin: 0;
}
.horizontal-menu-component .menu-item {
    float: left;
    margin: 0 10px;
}
/* END MENU */

/* START SideMENU */
.side-menu {
    position: absolute;
    border: 5px solid transparent;
    border-radius: 7px;
    text-align: left;
    z-index: 10;
}
.side-menu-collapsed {
    text-align: right;
}
.side-menu-collapsed span hr{
    margin: 1em 0;
}
.side-menu > div {
    float: right;
    margin: 20px
}
.side-menu > * {
    margin-right: 20px;
    display: inline-block;
}
.side-menu span, .side-menu p {
    vertical-align: middle;
    padding: 5px;
    font-size: inherit;
}
.side-menu hr {
    border-top: 3px solid;
    font-size: 4px;
    margin: 0px;
    height: 0px;
}
.side-menu a {
    color: inherit;
    text-decoration: none;
}
/* END SideMENU */

#console  {
    position: absolute;
    overflow: hidden;
    width:500px;
    height:720px;
    background-color: rgba(255,255,255,0.3);
}

.scroll-up-enter .page{
    top: -720px;
}

.scroll-up-enter.scroll-up-enter-active .page {
    top: 1px;
}

.scroll-up-leave .page{
    top: 1px;
}

.scroll-up-leave.scroll-up-leave-active .page{
    top: 720px;
}

/* SCROLL DOWN ANIMATION */

.scroll-down-enter .page{
    top: 720px;
}

.scroll-down-enter.scroll-down-enter-active .page {
    top: 1px;
}

.scroll-down-leave .page{
    top: 1px;
}

.scroll-down-leave.scroll-down-leave-active .page{
    top: -720px;
}

.scroll-down-leave.scroll-down-leave-active,.scroll-down-enter.scroll-down-enter-active,
.scroll-up-leave.scroll-up-leave-active,.scroll-up-enter.scroll-up-enter-active{
    transition:all 0.5s ease-in-out;
}

.page {
    transition: inherit;
}

.video-wrapper object {
    position: absolute;
    width:100%;
    height:100%;
    /*padding: 13.1575% 0;*/
}

.video-wrapper {
    position: absolute;
    width:100%;
    height:100%;
}

.audio-wrapper, #audio {
    display: none;
    width: 0;
    height: 0;
}

.audio-player-toggle svg{
  width: auto !important;
    height: 60% !important;
    position:absolute;
    top:50%;
    bottom:50%;
    left: 50%;
    transform:translate(-50%, -50%);
    fill: white;
}

.link-background{
    background-repeat: no-repeat;
    background-position: center;
}
.link-background p{
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
}
.link-background-focused-image{
  position: absolute;
  width: 100%;
  height: 100%;
}

/* ICONS */
.hotspot svg, .page-element-content svg{
  fill: #fff;
}
.hotspot .focused svg, .focused div svg{
  fill: #798393;
}

.hotspot .active svg, .active div svg{
  fill: #43b4f9;
}



#console {
    color: #000;
}

.image-content {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.fullscreen {
    position: fixed!important;
    width:1280px;
    height:720px;
    top:0;
    left:0;
    z-index: 100;
}

.tlfullscreen {
    position: fixed!important;
    width:1280px;
    height:720px;
    top:0;
    left:0;
}

.video-content .thumbnail {
    background-size: cover;
    position: absolute;
    background-repeat: no-repeat;
    width:100%;
    height:100%;
    background-position: center center;
}

.content-indication-icon {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  margin-top: -50px;
  margin-left: -50px;
}

.video-content-indication-icon {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  margin-top: -50px;
  margin-left: -50px;
  background-image: url(./frontend/assets/hotspot_icon_video_white.png);
  background-size: contain;
}

.video-content object {
    width:100%;
    height:100%;
}

.video-loading{
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 64px 64px;
    background-position: center;
    background-repeat: no-repeat;
}
/* ==> Videoplayercontrols */
.video-controls-container {
    font-family: TiresiasScreenFont;
    position: relative;
    top: 85%;
    width: 75%;
    margin: 0 auto;
    height: 24px;
    z-index: 7;
    background-color: rgba(0, 0, 0, 1);
    background-size: cover;
}

.video-controls {
    float: left;
    width: 30%;
    height: 100%;
}
.video-button {
    float: left;
    width: 25%;
    height: 100%;
    z-index: 8;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.video-button.active {
    background-color: rgba(100,100,100, 1);
}

.video-progressinfo {
    float: left;
    width: 70%;
    height: 100%;
}
.video-progressinfo > div {
    position: relative;
    height: 100%;
    float: left;
}
.video-progressinfo .video-time-elapsed, .video-progressinfo .video-time-full {
    width: 15%;
    line-height: 28px;
    font-size: 14px;
    color: white;
    text-align: center;
}
.video-progressinfo .video-progressbar{
    width: 70%;
}
.video-progressinfo .video-progressbar-background {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    margin-top: -1px;
    background-color: #252525;
}
.video-progressinfo .video-progressbar-elapsed {
    width: 0;
    height: 100%;
    background-color: white;
}

/* ==> Launcher */

.paginationDots {
    text-align: center;
    font-size: 50px;
    width: 100%;
    position: absolute;
    bottom: -16px;
}

.launcherContainer{
    width:100%;
    top:0;
    bottom:0;
}
.launcherScrollContainer{
    position: absolute;
    top: 50%;
    left: 50%;
}
.launcherElement{
    position: relative;
    float: left;
    background-size: cover;
    background-position: center;
}
.launcherElement.focused{
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-width: 5px;
}

.paginationLauncherContainer .launcherElement {
    position: absolute;
    float: none;
}

.launcherElementArrowLeft,.launcherElementArrowRight{
    position:absolute;
    width:10px;
    height:20px;
    top:50%;
    margin-top:-10px;
}
.launcherElementArrowLeft{
    background:url(http://static-cdn.arte.tv/redbutton/images/left.png);
    left: 50%;
}
.launcherElementArrowRight{
    background:url(http://static-cdn.arte.tv/redbutton/images/right.png);
    right: 50%;
}
.launcherElementLabel{
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255,255,255,0.4);
  line-height: 1.2em;
  z-index: 10;
}
.launcherElementLabel a{
  text-decoration: none;
  width: 100%;
  padding: 0 5px;
  color: #000;
  font-weight: normal;
  font-weight: 20px;
  line-height: 1.2em;
}
.launcherElementLabel p{
  line-height: 1.2em;
}

.launcherElement.focused .launcherElementLabel{
  background-color: rgba(0,0,0,0.4);
}
.launcherElement.focused .launcherElementLabel a,
.launcherElement.focused .launcherElementLabel p{
  color: #FFF;
}

/* ==> Launcher ARTE design */
.launcherContainer.arte{
    top:40px;
    bottom:40px;
}
#arte-top-bar{
    position:absolute;
    width:100%;
    height:40px;
    top:-40px;
    background-color:rgba(10,10,10,0.67);
}
#arte-bottom-bar{
    position:absolute;
    width:100%;
    height:40px;
    bottom:-40px;
    background-color:rgba(10,10,10,0.67);
}
#arte-date {
    position: absolute;
    right: 40px;
    top: 10px;
    height: 20px;
    font-size: 16px;
    text-align: right;
    font-weight: bold;
}
#arte-date span{
    color: #FD481C;
}
#arte-left-area {
    position: absolute;
    left: 330px;
    width: 240px;
    height: 40px;
}
#arte-right-area {
    position: absolute;
    right: 0;
    width: 384px;
    height: 40px;
}
#arte-right-area .item {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 155px;
    height: 28px;
    background-image: url('http://static-cdn.arte.tv/redbutton/images/rightareaitembg.png');
    background-repeat: no-repeat;
    text-align: left;
    font-size: 14px;
    padding-left: 20px;
    padding-top: 12px;
}
#arte-right-area .item .pict {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}
#arte-right-area .item .red {
    background-color: #DA0000;
}
#arte-right-area .item .blue {
    background-color: #3993D9;
}
#arte-fokus-logo {
    position: absolute;
    background-image: url(http://hat.fokus.fraunhofer.de/mpat_debug/web/app/uploads/2016/09/arte-fokus_LOGO.png);
    left: 0px;
    width: 330px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* ==> Video 360 */
#video360-video-container {
    position:absolute;
    width:100%;
    height:100%;
}
.video360-controls-container {
    font-family: TiresiasScreenFont;
    position: relative;
    top: 85%;
    width: 75%;
    margin: 0 auto;
    height: 24px;
    z-index: 7;
    background-color: rgba(0, 0, 0, 1);
}

.video360-controls {
    float: left;
    width: 30%;
    height: 100%;
}
.button-360 {
    float: left;
    width: 20%;
    height: 100%;
    z-index: 8;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.button-360.active {
    background-color: rgba(100,100,100, 1);
}
.button-360.deactivated {
    opacity: 0.3;
}
.button-360.lookaround {
    background-image: url(./frontend/assets/icon-lookaround.png);
}

.video360-progressinfo {
    float: left;
    width: 70%;
    height: 100%;
}
.video360-progressinfo > div {
    position: relative;
    height: 100%;
    float: left;
}
.video360-progressinfo .video360-time-elapsed, .video360-progressinfo .video360-time-full {
    width: 15%;
    line-height: 28px;
    font-size: 14px;
    color: white;
    text-align: center;
}
.video360-time-full.video360-live-dot::before {
  content: "•";
  color: red;
  margin-right: 2px;
}
.video360-progressinfo .video360-progressbar{
    width: 70%;
}
.video360-progressinfo .video360-progressbar-background {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    margin-top: -1px;
    background-color: #252525;
}
.video360-progressinfo .video360-progressbar-elapsed {
    width: 0;
    height: 100%;
    background-color: white;
}

.video360-arrows {
    position: absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
}
.video360-arrows .arrow {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: 100%;
}
.video360-arrows .arrow-left{
    top: 50%;
    left:0;
    margin-top: -30px;
    background-image: url(./frontend/assets/arrow_left_white.png);
}
.video360-arrows .arrow-right{
    top: 50%;
    right:0;
    margin-top: -30px;
    background-image: url(./frontend/assets/arrow_right_white.png);
}
.video360-arrows .arrow-up{
    top:0;
    left: 50%;
    margin-left: -30px;
    background-image: url(./frontend/assets/arrow_up_white.png);
}
.video360-arrows .arrow-down{
    bottom:0;
    left: 50%;
    margin-left: -30px;
    background-image: url(./frontend/assets/arrow_down_white.png);
}

.video-360-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-360-overlay .angles {
  float: left;
  background-color: rgba(255,255,255,0.5);
  width: 80px;
}

.video-360-overlay .angle-display {
  margin: 10px;
  position: absolute;
}

.video-360-overlay .angle-display span {
  margin-left: 10px;
  text-align: right;
  width: 30px;
  float: left;
}

.video-360-overlay .moving {
  background-image: url(./frontend/assets/loading.gif);
  width: 10px;
  height: 24px;
  background-size: cover;
}

.video-360-overlay .angle-display span:first-child {
  margin-left: 0;
}


/* <== Video 360 */

/* ==> hotSpots */
#hotspotimage, #hotspotlink, #hotspotvideo, #hotspotaudio, #hotspottext {
    width: 100%;
}

.hotSpot {
    position: absolute;
}

/* <== hotspots */


/* ==> live feed */
.feedPost.active{
    font-size: 20px;
    background-color: #eee;
    padding: 6px;
}

.feedPost span img {
    height: 50px;
    float: left;
    padding: 0 10px 0 0;
}

.feedPost span>span>span{
    display: block;
    font-size: 15px;
    padding: 0px 5px 10px 0;
}

.feedPost span>span>span>span.name{
    font-weight: bold;
}

.feedPost.small{
    font-size: 15px;
    background-color: #fff;
    padding: 3px;
}
/* <== live feed */


/* Gallery */
.gallery-component {
    position: relative;
}
.gallery-arrow {
    position: absolute;
    top: 46%;
    vertical-align: middle;
    line-height: 20px;
    height: 25px;
    font-weight: bold;
}
.gallery-arrow-left {
    left: 10px;
}
.gallery-arrow-right {
    right: 10px;
}
.gallery-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}
.gallery-dot, .gallery-dot-focused {
    margin: 0 5px;
}
.gallery-media-icons{
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.7;
}
/* End Gallery */
.launcherContentIcon {
    background-size: contain;
    width: 50%;
    height: 50%;
    position: absolute;
    left: 25%;
    top: 25%;
    background-repeat: no-repeat;
    background-position: center center;
}
.hotspot_icon_text {
  background-image: url(./frontend/assets/hotspot_icon_text_white.png);
}
.hotspot_icon_audio {
  background-image: url(./frontend/assets/hotspot_icon_audio_white.png);
}
.hotspot_icon_link {
  background-image: url(./frontend/assets/hotspot_icon_link_white.png);
}
.hotspot_icon_picture {
  background-image: url(./frontend/assets/hotspot_icon_picture_white.png);
}
.hotspot_icon_video {
  background-image: url(./frontend/assets/hotspot_icon_video_white.png);
}

.MPATScrolledTextScrollBar {
  position: absolute;
  right: 0;
  width: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.MPATScrolledTextWithScrollBar {
  padding-right: 15px;
}

.MPATShowOnRedTextStyle {
    color: white;
    font-family: sans-serif;
    font-size: 18px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.MPATShowOnRedIconRight {
  width: 0;
  height: 0;
  display: inline-block;
  margin-left: 0;
}

.MPATShowOnRedIconLeft {
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 10px;
  display: inline-block;
  margin-right: 5px;
  position: relative;
  bottom: -4px;
}
