﻿/* TN Layout Main */
body{
  margin:0;
  padding:0;
  background-color:#000;
  font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
  color: #000000;
  font-size: 100.01%;
}

/* TN Layout Main Background */
div#tn-top{
  position:fixed;
  height:165px;
  width:100%;
  z-index:1001;
  background-color: #000000;
  vertical-align:middle;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  background-image:url(/img/tn_layout_02.png);
  background-repeat: no-repeat;
  background-position: 0px center;
}
div#tn-content{
  position:relative;
  padding-top:200px;
  padding-left:125px;
  padding-bottom:50px;
  width:100%-125px;
  background-color: #dddddd;
}
div#tn-bottom{
  position:fixed;
  text-align: center;
  bottom:0;
  height:20px;
  width:100%;
  //z-index:1001;
  background-color: #000000;
  font-size: 75%;
  color: white;
}

div#tn-logo{
  position:relative;
  float: left;
  padding-top:7px;
  width:260px;
  height:225px;
  background-image:url(/img/tn_layout_01.png);
  background-repeat: no-repeat;
  background-position: 0px center;
}
div#headmenu{
  position:relative;
  float: left;
  padding-top:105px;
  height:165px;
}

div#userinfo{
  position:absolute;
  right: 75px;
  padding-top:7px;
  width:184px;
  height:65px;
  color: white;
}
div#logout{
  position:absolute;
  right: 10px;
  padding-top:7px;
  width:65px;
  height:65px;
}
div#menupages{
 width: 100%;
 text-align: center;
}
div#menupages div.menupagelink{
  margin: 0 auto;
  display: inline-block;
  height: 40px;
  width: 100px;
}
div#menupages div.menupagelink img{
  vertical-align:bottom;
}

img{ vertical-align:bottom; }

div.tn_layout_left,
td.tn_layout_left{
  text-align: left;
}
div.tn_layout_center,
td.tn_layout_center{
  text-align: center;
}
div.tn_layout_right,
td.tn_layout_right{
  text-align: right;
}

/* TN Text Definitions */
p{
  font-size: 0.9em;
}
p.bodytext{
  margin: 0 0 7 0;
  text-align:justify;
}
p.align-center{
  text-align:center;
}
h1{
  font-size: 1.35em;
  color: #006600;
  /*text-decoration: underline;*/
}
h2{
  font-size: 1.1em;
}
h4{
  font-size: 0.9em;
  color: #00FF66;
  font-weight:700;
  line-height: 0.2em;
}

table{
  border:0px;
  padding:0px;
  border-collapse:collapse;
}
td, th, tr{
  padding-left:5px;
  padding-right:3px;
  padding-top:1px;
  padding-bottom:1px;
  vertical-align:center;
  text-align:left;
}
.tn_textred{
  color:#990000;
}
.tn_textgreen{
  color:#00DD00;
}

.clear{
  clear:both;
}

.center {
	text-align: center;
}

a{
  font-size: 100.01%;
  position: relative;
  color: #000;
  text-decoration: none;
}
a:hover,
a:visited {
  color: #000;
}
a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* TN Menu */

.tn-menutop {
  font-family: Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}
.tn-menutop * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
.tn-menutop li {
  display: inline-block;
  list-style: outside none none;
  margin: 0 1em;
  padding: 0;
}
.tn-menutop a {
  padding: 0.5em 0.8em;
  margin: 0.2em 0;
  display: block;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  text-decoration: none;
}
.tn-menutop a:before,
.tn-menutop a:after {
  height: 11px;
  width: 11px;
  position: absolute;
  content: '';
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
  opacity: 0;
}
.tn-menutop a:before {
  left: 0;
  top: 0;
  border-left: 3px solid #00e600;
  border-top: 3px solid #00e600;
  -webkit-transform: translate(100%, 50%);
  transform: translate(100%, 50%);
}
.tn-menutop a:after {
  right: 0;
  bottom: 0;
  border-right: 3px solid #00e600;
  border-bottom: 3px solid #00e600;
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}
.tn-menutop a:hover,
.tn-menutop .current a {
  color: #ffffff;
}
.tn-menutop a:hover:before,
.tn-menutop .current a:before,
.tn-menutop a:hover:after,
.tn-menutop .current a:after {
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  opacity: 1;
}


/* TN Layout Login */

div#tn-login button {
    background-color: #990000;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 98%;
}
div#tn-login button:hover {
    opacity: 0.8;
}
div#tn-login .tn-cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}
div#tn-login .tn-imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}
div#tn-login img.tn-imglogin {
    width: 50%;
}
div#tn-login .tn-box-container {
    padding: 16px;
	text-align: center;
}
div#tn-login .tn-box-background {
    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.7); /* Black w/ opacity */
    padding-top: 60px;
}
div#tn-login .tn-box-content {
    /*background-color: #fefefe;*/
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.9); /* Black w/ opacity */
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 50%; /* Could be more or less, depending on screen size */
}
div#tn-login .tn-close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}
div#tn-login .tn-close:hover,
div#tn-login .tn-close:focus {
    color: red;
    cursor: pointer;
}
div#tn-login .tn-login-error {
    color: #990000;
    font-size: 100.01%;
    font-weight: bold;
}
´div#tn-login  .tn-animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}
@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    div#tn-login .tn-cancelbtn {
       width: 100%;
    }
}


/* Hide Accordeon */
.tn_hide label {
  #margin-bottom: 5px;
  position: relative;
  display: block;
  height: 35px;
  font-weight: 600;
  font-size: 120%;
  background: darkgray;
  background-image: url(img/icon_32_c/view_fullscreen_view.png);
  background-repeat: no-repeat;
  background-position: right center;
  border-top: 2px solid black;
  border-bottom: 1px solid gray;
}
.tn_hide label td{
  width: 150px;
}
.tn_hide div.table-hide {
  overflow: hidden;
  height: 0;
  margin: 0;
  transition: all 0.5s ease-in-out;
}
.tn_hide input + label {
  transition: all 0.5s ease-in-out;
}

.tn_hide input:checked ~ div.table-100{ transition: all 0.5s ease-in-out;  height: 100px; margin-bottom: 5px; }
.tn_hide input:checked ~ div.table-250{ transition: all 0.5s ease-in-out;  height: 250px; margin-bottom: 5px; }
.tn_hide input:checked ~ div.table-500{ transition: all 0.5s ease-in-out;  height: 500px; margin-bottom: 5px; }
.tn_hide input:checked ~ div.table-auto{ transition: all 0.5s ease-in-out;  height: auto; margin-bottom: 5px; }


.tn_hide input{
	display: none;
}

.tn_headline_hidecontent div{
	width: 125px;
	
}




/* TN Layout Class */
.w25px { width: 25px;  }
.w50px { width: 50px;  }
.w100px{ width: 100px; }
.w150px{ width: 150px; }
.w200px{ width: 200px; }
.w250px{ width: 250px; }
.w300px{ width: 300px; }
.w400px{ width: 400px; }
.w500px{ width: 500px; }

.w100p{	width: 100%; }
.w80p { width: 80%;  }
.w40p {	width: 40%;  }
.w25p { width: 25%;  }

.tn_layout_floatleft{
  float: left;
}
.tn_layout_floatright{
  float: right;
}

.button-small{
   background-color: #dddddd;
   border: none;
   cursor: pointer;
   margin: 0;
   padding: 0;
}
.dgray{
   background-color: darkgrey;
}

/* TN List */
table#item-list tr.item{
	/* border: 1px solid black;*/
	
}
table#item-list tr.item:hover{
     /*background-color: lightblue;*/
	 border: 1px solid blue;

}
td.tnborder_left,
th.tnborder_left{
  border-left: 1px solid black;
}
td.tnborder_right,
th.tnborder_right{
  border-right: 1px solid black;
}

/* TN Edit Screens */
input[type=text], input[type=password], select{
    padding: 5px 5px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.input-s{
	width: 200px;
}
.input-m{
	width: 550px;
}

div.tn-editscreen button.save {
    background-color: #00AA44;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
}
div.tn-editscreen span.close {
    background-color: #991111;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
	display: inline-block;
	text-align: center;
}
.button-x1{
    width: 700px;
}
.button-x2{
    width: 350px;
}
div.tn-editscreen button.save:hover,
div.tn-editscreen span.close:hover {
    opacity: 0.8;
}
div.tn-editscreen .tn-cancelbtn {
    width: auto;
    padding: 10px 18px;
    background-color: #f44336;
}
div.tn-editscreen .tn-imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
}
div.tn-editscreen img.tn-imglogin {
    width: 32px;
}
div.tn-editscreen .tn-box-container {
    padding: 16px;
	/*text-align: center;*/
}
div.tn-editscreen .tn-box-background {
    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.7); /* Black w/ opacity */
    padding-top: 60px;
}
div.tn-editscreen .tn-box-content {
    /*background-color: #fefefe;*/
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.9); /* Black w/ opacity */
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 800px; 
}
div.tn-editscreen .tn-close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}
div.tn-editscreen .tn-close:hover,
div.tn-editscreen .tn-close:focus {
    color: red;
    cursor: pointer;
}
div.tn-editscreen .tn-login-error {
    color: #990000;
    font-size: 100.01%;
    font-weight: bold;
}
div.tn-editscreen  .t-animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}


/* TN Animated Line */

.myGrad {
  width: 90%;
  height: 3px;
  overflow: hidden;
}
.myGrad:after {
  position: relative;
  content: "";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 2000px;
  background: linear-gradient(0% 0%, #655bef 0%, #fa28bf 20%, #ff4665 40%, #fbde4e 60%, #00fbea 80%, #555def 100%);
  background: -moz-linear-gradient(0% 0%, #655bef 0%, #fa28bf 20%, #ff4665 40%, #fbde4e 60%, #00fbea 80%, #555def 100%);
  background: -webkit-gradient(linear, 0% 0%, 100% 100%, color-stop(0, #655bef), color-stop(0.2, #fa28bf), color-stop(0.4, #ff4665), color-stop(0.6, #fbde4e), color-stop(0.8, #00fbea), color-stop(1, #555def));
  -o-animation: anime 17.50s infinite;
  -ms-animation: anime 17.50s infinite;
  -moz-animation: anime 17.50s infinite;
  -webkit-animation: anime 17.5s infinite;
}

@-webkit-keyframes anime {
  0% {
    top: 0;
  }
  50% {
    top: -1800px;
  }
  100% {
    top: 0;
  }
}
@keyframes anime {
  0% {
    top: 0;
  }
  50% {
    top: -1800px;
  }
  100% {
    top: 0;
  }
}

/* Gradient Borders */
.tn_gradient_righttoleft {
    border-width: 3px 0 0 0;
    border-style: solid;
    -webkit-border-image: 
      -webkit-gradient(linear, 0 0, 100% 0, from(black), to(rgba(0, 0, 0, 0))) 1 100%;
    -webkit-border-image: 
      -webkit-linear-gradient(left, black, rgba(0, 0, 0, 0)) 1 100%;
    -moz-border-image:
      -moz-linear-gradient(left, black, rgba(0, 0, 0, 0)) 1 100%; 
    -o-border-image:
      -o-linear-gradient(left, black, rgba(0, 0, 0, 0)) 1 100%;
    border-image:
      linear-gradient(to left, black, rgba(0, 0, 0, 0)) 1 100%;     
}



/* TN Slideshow */
.cb-slideshow,
.cb-slideshow:after { 
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 0; 
}
.cb-slideshow:after { 
    content: '';
    background: transparent url(../images/pattern.png) repeat top left; 
}
.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 18s linear infinite 0s; 
}
.cb-slideshow li div { 
    z-index: 1000;
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    animation: titleAnimation 18s linear infinite 0s; 
}
.cb-slideshow li div h3 { 
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 240px;
    padding: 0;
    line-height: 200px; 
}
@media all and (orientation:portrait) {
  /* Styles for Portrait screen */
	 .cb-slideshow li:nth-child(1) span { 
		background-image: url(/img/start_portrait_1.jpg); 
	}
	.cb-slideshow li:nth-child(2) span { 
		background-image: url(/img/start_portrait_2.jpg);
		animation-delay: 6s; 
	}
	.cb-slideshow li:nth-child(3) span { 
		background-image: url(/img/start_portrait_3.jpg);
		animation-delay: 12s; 
	}
}
@media all and (orientation:landscape) {
  /* Styles for Landscape screen */
	 .cb-slideshow li:nth-child(1) span { 
		background-image: url(/img/start_landscape_1.jpg); 
	}
	.cb-slideshow li:nth-child(2) span { 
		background-image: url(/img/start_landscape_2.jpg);
		animation-delay: 6s; 
	}
	.cb-slideshow li:nth-child(3) span { 
		background-image: url(/img/start_landscape_3.jpg);
		animation-delay: 12s; 
	}
}

.cb-slideshow li:nth-child(2) div { 
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) div { 
    animation-delay: 12s; 
}
@keyframes imageAnimation { 
    0% { opacity: 0; animation-timing-function: ease-in; }
    8% { opacity: 1; animation-timing-function: ease-out; }
    17% { opacity: 1 }
    25% { opacity: 0 }
    100% { opacity: 0 }
}
@keyframes titleAnimation { 
    0% { opacity: 0 }
    8% { opacity: 1 }
    17% { opacity: 1 }
    19% { opacity: 0 }
    100% { opacity: 0 }
}
.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}
@media screen and (max-width: 1140px) { 
    .cb-slideshow li div h3 { font-size: 140px }
}
@media screen and (max-width: 600px) { 
    .cb-slideshow li div h3 { font-size: 80px }
}


/* TN Buttons */
button.edit,
button.finish{
	border: 0;
	margin: 0 1px 0 1px;
	padding: 0;
	background: none center no-repeat transparent;
	width: 32px;
	height: 32px;
    cursor: pointer;
}
button.edit-small,
button.finish-small{
	border: 0;
	margin: 0 1px 0 1px;
	padding: 0;
	background: none center no-repeat transparent;
	width: 16px;
	height: 16px;
    cursor: pointer;
}
label{
	display: inline-block;
}
.deleteditem { color: #666666; }
td.deleteditem { background-color: #ffcccc; }

/* TN List Bereitschaft */
table.tn_contenttable { table-layout: fixed; }
table.tn_contenttable td { padding: 3px 5px 3px 5px; }
table.tn_contenttable td.headtext {  background: #99ff99; color: black ; border-top: 1px grey solid; height: 35px; }
table.tn_contenttable td.btop { border-top: 1px grey solid; }
table.tn_contenttable td.bbottom { border-bottom: 1px grey solid; }
table.tn_contenttable td.headtext h4 { color: black; margin: 0; padding: 0; }
table.tn_contenttable td.white{ background: white; text-align: center; border-bottom: 1px grey solid; border-top: 1px grey solid; vertical-align: top; padding: 10px 0 10px 0;}
table.tn_contenttable { margin-bottom: 50px; }