body {
    margin: 0;
    font-family: "Quicksand", Arial, sans-serif; /* Use Roboto for Headlines and Navigation font */
	font-size: 115%;
    background-color: lightgray;/*#163C60;*/
    color: #303030;
	opacity: 1;

}


/*with this images don´t disappear behind the navigation on mobile version 768 */
@media (max-width: 768px) {

    body {
        padding-top: 90px; /* Adjust padding for mobile if needed */
    }

}

a {

  color: lightslategrey;

  text-decoration: none; /* optional to remove underline */

}


/* When hovered */

a:hover {

  color: lightslategray;

  text-decoration: underline;

}

h1, h2, h3 {

  font-family: "Quicksand", Arial, sans-serif;
	color: #900205; 

}

.nowrap { white-space: nowrap; }

.error { color: #f66; padding-top: 5%; margin-bottom: 10px; }

.header-content {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-image {
    text-align: center;
	flex-wrap: wrap; /* Allow wrapping for mobile */
}

.header-image img {
    width: 100%;
    height: auto; /* Responsive image */
}

.content {
    margin-top: 0px; 
    text-align: center;
	background-color: lightgrey;
	color: #303030;
    padding-top: 4.1%; /* Space for fixed header */
	min-height: 1000px;
}

.container {
    display: flex;
    justify-content: center;
    width: 85%;
    margin: 0 auto;
	margin-top: 0px;
    flex-wrap: wrap; /* Allow wrapping for mobile */
}

.box {
	font-family: 'Work Sans';
    background-color: whitesmoke;
	color: black;
	border: 0px solid #ccc;
    margin: 0px;
    padding: 0px;
    flex: 1;
    min-width: 300px; /* Minimum width for responsiveness */
	text-align: center;
	align-content: center;
	hyphens: auto;
	word-break: break-word;
	box-sizing: border-box; /* Include padding in height/width calculations */	
	height: auto;
	/*max-height: 500px; */


}


.box-mobile {
	font-family: 'Work Sans';
    background-color: whitesmoke;
	color: black;
	border: 0px solid #ccc;
    margin: 0px;
    padding: 0px;
    flex: 1;
    min-width: 300px; /* Minimum width for responsiveness */
	text-align: center;
	align-content: center;
	hyphens: auto;
	word-break: break-word;
	box-sizing: border-box; /* Include padding in height/width calculations */	
	height: auto;


}

.readonly {
            background-color: #eee;
        }

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    cursor: pointer;
    display: none; /* Initially hidden */
    background: transparent; /* Make background transparent */
}

.back-to-top img {
    width: 50px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
}

footer {
    text-align: center;
	vertical-align: center;
	padding-top: 40px;
	padding-bottom: 40px;
    margin-top: 40px;
	margin-bottom: 0px;
	height: auto;
	background-color: white;
}


.full-width-image {
    width: 100%; /* Set the container to full width */
    overflow: hidden; /* Prevent overflow */
}

.full-width-image img {
    width: 100%; /* Make the image take the full width of the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove bottom space/gap */
}

/*with this, certain containers are not displayed on mobile devices*/
.hide-on-mobile {

    display: block;
	/* Default display for larger screens */

}

.inputfield1 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2em;
	width: 15em;
	margin:3px;
	}

.inputfield2 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2em;
	width: 9.5em;
	margin:3px;
}


.inputfield3 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2em;
	width: 6em;
	margin:3px;
}

.inputfield4 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2em;
	width: 3em;
	margin:3px;
	}

.inputfield5 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2.5em;
	width: 16.5em;
	margin:3px;
	}

.selectfield1 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2.3em;
	width: 15.4em;
	margin:3px;
}

.selectfield2 {
	font-family: 'Work Sans', sans-serif;
	font-size: 100%;
	height: 2em;
	width: 10em;
	margin:3px;
}

.buttonsmini {
	font-size: 80%;
	height: 1.7em;
	width: 4em;
	border:none;
	border-radius: 5px;
	background-color: #0696C8;
	color: #FFF;
	font-weight: normal;

}

.buttonsmini:hover /* Eigenschaften beim Überfahren mit der Maus */
    {
    background-color:#036B88;/* Neue Farbe */
    }

.buttonssmall {
	font-size: 100%;
	height: 1.4em;
	width: 8em;
	border:none;
	border-radius: 5px;
	background-color: #0696C8;
	color: #FFF;
	font-weight: normal;

}

.buttonssmall:hover /* Eigenschaften beim Überfahren mit der Maus */
    {
    background-color:#036B88;/* Neue Farbe */
    }

.buttonsnormal {
	font-size: 100%;
	height: 2em;
	width: 195px;
	border:none;
	border-radius: 5px;
	background-color: #0696C8;
	color: #FFF;
	font-weight: normal;

}

.buttonsnormal:hover /* Eigenschaften beim Überfahren mit der Maus */
    {
    background-color:#036B88;/* Neue Farbe */
    }

.buttonslarge {
	font-size: 100%;
	height: 2em;
	width: 230px;
	border:none;
	border-radius: 5px;
	background-color: #0696C8;
	color: #FFF;
	font-weight: normal;

}

.buttonslarge:hover /* Eigenschaften beim Überfahren mit der Maus */
    {
    background-color:#036B88;/* Neue Farbe */
    }

.auswahlfeld {
	height: 30px;
	width: 15em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	margin:3px;
}

.thumbnail {

    width: 100px; /* Thumbnail size */

    cursor: pointer;

    transition: transform 0.2s;

}


.thumbnail:hover {

    transform: scale(1.05); /* Slightly enlarge on hover */

}

  .large-input {

    width: 250px;

    height: 45px;

    font-size: 20px;       /* larger font size */

    padding: 8px 12px;     /* more inner spacing */

  }

input::placeholder {

    font-size: 20px;       /* placeholder font size */

    color: #888888;        /* optional placeholder color */

}


.overlay {

    display: none; /* Hide by default */

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */

    justify-content: center;

    align-items: center;

}


.overlay img {

    max-width: 150%; /* Zoomed image size */

    max-height: 150%; /* Zoomed image size */

    border: 5px solid white; /* Optional: border for the zoomed image */

}

@media (max-width: 768px) {    

    .hide-on-mobile {

        display: none; /* Hide on mobile devices 768 */

    }

}

/* Container not visible on desktop screens */

.mobile-container {

    display: none; /* Initially hide the container */

}


/* Show the container on mobile devices 768 */

@media (max-width: 768px) {   

    .mobile-container {

        display: block; /* Show the container on mobile */

    }

}
