/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 13.07.2021, 11:17:31
    Author     : wolfgramm

    Alleima:
    Steel Blue: 0f232e
    Orange: ff5532
    Iron Red: 872823
*/

/* import url(https://fonts.googleapis.com/css?family=Arial); */

:root {
	--alleima_orange: #ff5532;
	--alleima_red: #872823;
	--alleima_blue: #0f232e;
	--alleima_gray: #e1e1e1;
}

body::-webkit-scrollbar {
  display: none;
}

html {
    scroll-padding-top: 70px; /* Höhe Ihres festen Menüs */
    scroll-behavior: smooth;
    
}

body {
    font-family: Arial;
    font-size: 21px;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--alleima_blue);
    background: url("../images/Alleima_MetalElement_Still_02_6.jpg");
    /*background-size: cover;*/
    object-fit: contain;
    background-repeat: no-repeat;
    background-position-y:20%;
    background-attachment: fixed;
    z-index:-2;
}

.bg-transpbody {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250,250,250,0.9);
    z-index: -1;
}

.blue {
	color: var(--alleima_blue);
}

.orange {
	color: var(--alleima_orange);
}

.red {
	color: var(--alleima_red);
}

.green {
	color: #11B517;
}


.overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7); /* Black background with opacity */
    z-index: 3; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.logo-header {
    height: 55px;
    z-index: 1;
	position: relative;
}

.spacer-header {
    height: 20px;
    z-index:1;
}

.spacer {
    height: 34px;
}


.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex-grow: 1;
}
footer {
	position: relative;
	bottom: 30px;
	right: 0px;
	height:80px;;
}

.logo-menu {
	height: 30px;
	margin: 10px 15px 10px 15px;
}

.logo_footer {
		float: right;
		width: 200px;
}

.show-more {
	text-decoration: none;
	font-weight: bold;
	color: var(--alleima_orange);
	font-style: normal;
	display: block;
	text-align: right;
}

h3 {
    margin-top:0.4em;
    margin-bottom:0.4em;
}


/*#########################################
// Newsticker
########################################### */

.box-ticker {
	background: var(--alleima_gray);
	position: fixed;
	bottom: 0;
	width: 100%;
}

@keyframes slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}


.newsticker {
	animation: slide 60s infinite linear;
  	overflow: hidden;
  	white-space: nowrap;
	padding: 10px 0;
	color: var(--alleima_blue);
	width: fit-content;
	height: fit-content;
	block-size: fit-content;
	text-align: left;
}



.box-ticker:hover .newsticker {
	animation-play-state: paused;
}


.newsticker-headline {
	margin: 0 50px 0 0;
}

.tickerlink {
	text-decoration: none;
	color: var(--alleima_blue);
}

/* ########################################
// Board Settings
########################################### */

.box-appointment {
	margin-bottom: 20px;
	width: 300px;
	border: 1px solid #ccc;
	border-radius: 10px;
	box-shadow: 2px 3px 3px #dedede;
}

.appt-header {
	color: white;
	font-weight: bold;
	padding: 3px 10px;
}

.appt-flag-0 {
	background: var(--alleima_blue);
}
.appt-flag-1 {
	background: var(--alleima_orange);
}

.appt-label {
	color: var(--alleima_blue);
	padding: 3px 10px;
	font-size: 0.8em;
	font-weight: bold;
}

.appt-description {
	padding: 0 10px 3px 10px;
}

/* ####################################### 
Content CSS 
######################################### */

.box-content {
	border: 0px solid #ccc;
	margin-top: 10px;
}

.box-content-empty {
	background: var(--alleima_gray);
	margin-top: 10px;
}

.content-headline {
	margin:0;
	padding: 10px 10px 0 10px;
	font-size: 1.1em;
	background: var(--alleima_gray); 
	color: var(--alleima_blue);
}

.content-headline-empty {
	margin:0;
	padding: 10px 0;
	font-size: 1.1em;
	background: var(--alleima_gray); 
	color: var(--alleima_blue);
}

.date-start {
	font-size: 0.8em;
}

.content-type {
	float: right;
	background: var(--alleima_orange);
	color: #fff;
	padding: 3px 10px;
	font-weight: normal;
	font-size: 0.8em;
        text-decoration: none;
}

.content-short {
	font-style: italic;
	background: var(--alleima_gray);
	font-size: 0.9em;
	padding: 10px;
	color: #777;
	text-align: justify;
}

.content-full {
	padding: 10px;	
	font-size: 0.8em;
	text-align: justify;
}

.hline {
	border: 0;
	margin: 0 20px 20px 20px;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 85, 50, 0), rgba(255, 85, 50, 0.75), rgba(255, 85, 50, 0));
}

.speiseplan {
	height: 500px;
}

.content-padding {
    padding: 0 4px 0 4px;
}

@-moz-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 

@-webkit-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}
/* IE */
@-ms-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 
/* Opera and prob css3 final iteration */
@keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 
.blink-image {
    -moz-animation: blink normal 2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 2s infinite ease-in-out; /* IE */
    animation: blink normal 2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}

/* ####################################### 
Calendar CSS 
######################################### */



.weekend {
	background: #ccc;
}

.calendar table {
	width: 100%;
}

.calendar table tr td {
	height: 100px;
	border: 1px solid gray;
	vertical-align: top;
	width: 150px;
}

.calendar table tr th {
	height: 20px;
	border: 0px solid gray;
	vertical-align: top;
}

.today {
	border: 2px solid var(--alleima_red) !important;
}

td.noday {
background-image:
       repeating-linear-gradient(-45deg, 
                                transparent 0%, 
                                transparent 1%, #ddd 1%, 
                                #eee 2%, transparent 2%);

}

td.holiday {
  position: relative;
  font-weight: bold;
  background-image:
       repeating-linear-gradient(-45deg, 
                                transparent 0%, 
                                transparent 2%, var(--alleima_orange) 4%, 
                                #F0AA00 2%, transparent 6%);
}

td.holiday::before {
  content: attr(data-holiday);
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: 1%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  font-size: 0.8em;
  color: #000; /* Graue Schriftfarbe */
  text-shadow: 1px 1px 5px #fff;
}

.appointment {
	color: white;
	width: 100%;
	font-size: 0.7em;
	text-align: left;
	padding: 2px 4px;
	margin-top: 2px;
}





/* #############################################
// Works Council
################################################ */

.box-council  h4{
	margin: 5px 0;
}
.box-council  h5{
	margin: 5px 0;
}
.box-council img {
	width: 100px;
}

/*################################################################
// BACKEND
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.box-login {
	position: absolute;
  	top: 40%;
  	left: 50%;
  	transform: translate(-50%, -50%);
  	border: 1px solid #ccc;
  	width: 300px;
  	text-align: center;
  	padding: 10px 0;
}

.btn-login {
	font-size:0.9em; 
	color: var(--alleima_orange);
}
.btn-login i {
	margin-right: 10px;
}

.banner-backend {
	background: var(--alleima_orange);
	color: #fff;
	font-weight: bold;
	padding: 5px 0;
	position: fixed;
	width: 100%;
        top:50px;
}

.shadow {
	text-shadow: 1px 1px 3px #000;
}

/*-----------------------------------------------
// Info-Box */
.box-info {
	display: none;
	position: fixed;
	top: 20vh;
	left: 0; 
  	right: 0; 
  	margin-inline: auto; 
  	width: 400px;
	background: white;
	height: auto;
	z-index: 100;
}

.info-header {
	background: var(--alleima_blue);
	color: white;
	padding: 3px;
	
}

.info-date {
	padding: 4px 0 0 0;
}



/*-----------------------------------------------
// Editor */

.editor {
	display: none;
	position: fixed;
	top: 20vh;
	left: 0; 
  	right: 0; 
  	margin-inline: auto; 
  	width: 800px;
	background: white;
	height: auto;
	z-index: 100;
}

.editor-header {
	background: var(--alleima_blue);
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 3px 7px 3px 5px;
}

.editor-header i {
	color: var(--alleima_orange);
}

.editor-form {
	padding: 5px 10px;
        max-height: 750px;
        overflow-y: auto;
}

.editor-form input {
	height: 1.5em;
	font-size: 0.8em;
}

.editor-form input[type="checkbox"] {
	width: 1.4em;
	height: 1.4em;
	padding: 0;
	margin: 0 5px 2px 0;
	vertical-align: bottom;
}

.editor-label {
	width: 500px;
}

.editor-date {
	width: 100px;
	margin: 0 4px 0 0;
	text-align: center;
}

.editor-content {
	margin: 5px 0 0 0;
}

.editor-content-short {
	width: 100%;
	height: 6em;
	resize: vertical;
}

.mce-content-body {
    overflow: auto;
    height: 600px;
}

#from-clock, #to-clock {
	display: none;
}



/* #############################################################
// Media Swicth
*/

@media (max-width: 800px) {
    body {
        font-size: 1em;
    }
}

@media (max-width: 650px) {
    body {
        font-size: 0.8em;
    }
    
	.box-appointment {
		width: 100%;
	}
    

    

}

