﻿:root {
	--main-bg-color: #EFFBFF;
	--main-text-color: #257ca3;
	--main-border-color: #BDDEEC; /* #FFD700;  */
	--header-menue-bg-color: #E6F4F1;
	--header-menue-hover-color: #A7AF72;
	--header-menue-hover-text-color: #2C4B57;
	--main-box-color: #d9f2fd;
	--main-box-shadow-color: #b3ccff;
	--main-label-color: #A7AF72;
	--main-label-text-color: white; /*#2C4B57;*/
	--callme-text-color: #2B8475;
	--footer-text-color: #97AFB9;
	--main-text-highlight-color: #A7AF72;
	--gold-color:  #FFD700;
	--green-color: #A7AF72;


}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hidden {
	display: none;
}



.highlight {
	color: var(--main-text-highlight-color);

}


a {
	text-decoration: none;
	color: var(--main-text-color);
}

.section-content a {
	text-decoration: none;
	color: var(--green-color);
}


body {
	background-color: var(--main-bg-color);
	font-family: "Book Antiqua", "Gerogia", "Palatino";
	color: var(--main-text-color);
}

#bodywrapper {
	position: absolute; /*Can also be `fixed`*/
	left: 0px;
	right: 0px;
	top: 15px;
	_bottom: 0;
	margin: auto;
	width: 80%;
	max-width: 1024px;
}

#framed {
	padding: 30px 35px;
	box-shadow: 1px 1px 5px 5px var(--main-border-color); /*#e6f4f1;*/
	border-radius: 8px;
}

header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 10px 0;
	_border: 1px solid green;
}

header .header-left {
	display: flex;
	flex-direction: column;
}

header .header-right {
	display: flex;
	align-items: flex-start;
}

header .header-right img {
	margin-top: 5px;
	width: 36px; 
	height: 36px;
}

.full-width {
	width: 100%;
	margin-top: 35px;
}

.full-width h3 {
	text-align: center;
	margin-top: 15px;
}

.avatar {
	float: left;
	margin-right: 10px;
	width: 72px; /* Adjust the width as needed */
	height: 72px; /* Adjust the height as needed */
	border-radius: 50%;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}


address {
	text-align: center;
	margin-top: 7px;
	font-style: normal;
	margin-bottom: 15px;
}

.sections {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	margin-top: 25px; /* Add space above the sections */
}

.section {
	flex: 1;
	min-width: 245px;
	height: fit-content;
	padding: 20px 20px 17px 20px;
	background-color: var(--main-box-color); 
	border-radius: 20px;
	box-shadow: 1px 1px 2px var(--green-color); /*--main-box-shadow-color);*/
}

.section-content p {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
}

h2 {
	margin-bottom: 20px;
}

small {
	color: var(--green-color); /* grey; */
}

.section-content {
	overflow: hidden;
	max-height: 5.35em; /* Adjust based on line height */
}

.section-content.expanded {
	max-height: none;
}	

.section-content.expanded p {
	-webkit-line-clamp: unset;
}

.button {
	padding: 8px 18px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	color:  var(--main-label-text-color);
	background-color: var(--main-label-color);

}


.toggle-button {
	margin-top: 14px; /* Add space above the button */
	_border: none;
	display: inline-block;
	cursor: pointer;
	color:  var(--main-label-text-color);
	background-color: var(--main-label-color);
	_padding: 6px 13px;
	_border-radius: 3px;
}


.button:disabled {
	background-color: #ccc;
	cursor: not-allowed;
}

.button.lightred {
	background-color: lightcoral;
}
		
xfooter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em; /* Keep the links closer together */
	justify-content: flex-end; /* Right-align the links */
	margin-top: 20px; /* Add space above the footer */
	
	        
            
}

footer {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	font-size: small;
	margin-bottom: 8px;
}

.copyright {
	text-align: left;
	color: var(--footer-text-color);
}
.links {
	text-align: right;
}
.links a {
	margin-left: 10px;
}

h3 {
	padding-top: 5px;
	padding-bottom: 3px;
}

.plain {

	clear: both;
	margin-top: 80px;
	
	h2 {
		_padding-bottom: 10px;
	}

	h3 {
		padding-top: 25px;
		padding-bottom: 3px;
		color: var(--green-color);
	}
	
	h4 {
		color: var(--main-text-color);
		font-weight: normal;
		padding-bottom: 3px;
	}
		

}

.cal {
	margin-right: 8px;
}

.image {
	margin-top: 5px;
	width: 36px;
}


.ics {
	label {
		display: inline-block;
        width: 180px;
        vertical-align: top;
    }
    input, select, button {
        display: inline-block;
    }
}

.ics label {
		display: inline-block;
        width: 180px;
        vertical-align: top;
    }

.plain.ics {
            display: flex;
            flex-direction: column;
            _align-items: center;
        }
        .button-container {
            display: flex;
            justify-content: space-between;
            width: 100%;
            _max-width: 400px; /* Adjust as needed */
        }
        .button-container form {
            margin: 0;
        }
        .button {
            _margin: 10px;
        }
        
        .icsmessage {
        	margin-top: 15px;
        	align-items: center;
        }
        
.ics-input {
	width: 150px;
	}
	
.ics-select {
	border-radius: 5px;
	border: 1px solid var(--green-color);

padding: 4px 20px 4px 4px;

}


@media (max-width: 600px) {
    .ics label {
        display: block;
        width: 100%;
    }
    .ics-input {
	width: 100%;
	}
}

/* tablets ************************************************************************************/
@media (max-width: 768px) {
	.section {
		_min-width: 200px;
	}

	footer {
		width: 100%;
		flex-direction: column;
		justify-content: center; /* Center the links on small displays */
		_align-items: center;
	}

	.plain {
		margin-top: 30px;
	}
	.links {
		font-size: small;
		text-align: center;
	}

	.copyright {
		order: 1;
		margin-top: 10px;
		text-align: center;
	}
}


/* mobile phones ************************************************************************************/
@media (max-width: 600px) {
	
	#bodywrapper {
		padding: 8px;
		width: 100%;
		max-width: 100%;
		box-shadow: none;
		_padding: 2px 0;
	}

	#framed {
		padding: 5px;
		box-shadow: none;
	}

	header {
		padding: 0;
		_border: 1px solid green;
	}

	header .header-right img {
	_margin-top: -30px;
	width: 26px;
	height: 26px;
	}

	h1 {
		font-size: 1.5em;
	}

	h3 {
		font-size: 1.04em;
	}

	h4, address {
		font-size: 0.85em;
	}

	.sections {
		flex-direction: column;
	}

	.section {
		box-shadow: none;
	}



	footer {
		width: 100%;
		flex-direction: column;
		justify-content: center; /* Center the links on small displays */
		_align-items: center;
	}

	.links {
		xfont-size: small;
		text-align: center;
	}

	/* .links a {
		display: block;
		margin: 10px 0;
	}
	*/

	
}
 
 
/*
html {
  font-size: 14px; 
}

body {
  font-family: 'Georgia', serif;
  font-size: clamp(0.75rem, calc(0.75rem + 0.75vw), 2rem); 
  line-height: calc(2rem + 0.2vw); 
  line-height: clamp(1.4rem, calc(1.95rem + 0.025vw), 2.3rem); 
}

h1 {
  font-size: 1.9rem; 
  line-height: 1.2; 
}

h2 {
  font-size: 1.6rem; 
  line-height: 1.3; 
}

h3 {
  font-size: 1.3rem; 
  line-height: 1.4; 
}

p {
  font-size: 1.15rem; 
  line-height: 1.5rem; 
}

ixmg {
  width: clamp(100px, calc(100px + 10vw), 500px); /
  height: auto; 
}

:root {
  --body-font-size-ratio: 1.5;
  --heading-font-size-ratio: 1.2;
}


html {
  font-size: 14px; 
}

body {
  font-family: 'Georgia', serif;
  font-size: clamp(0.75rem, calc(0.75rem + 0.75vw), 2rem); 
  line-height: calc(var(--body-font-size-ratio) * 1.2rem); 
}

h1, h2, h3 {
  line-height: calc(var(--heading-font-size-ratio) * 1rem); 
}
*/
