/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 6. Accessibility helpers
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

body {
	max-width: 2560px;
	margin: 0 auto;
	background-color: #F0F0F0; 
}

body, td, input[type=text], textarea {
	font-family: 'Lato', arial;
	line-height: 1.8em;
	color: #444; 
}

body{
	overflow: auto;
}
body.active{
	overflow: hidden;
}

img {
	max-width: 100%; 
}

p{
	clear: both;
	margin-bottom: 30px !important;
}

h1{
	margin-bottom: 30px;
	font-family: 'Lato', arial;
	font-weight: 700;
}

h2 {
	font-weight: normal;
	font-family: 'Lato', arial;
	margin-top: 30px;
	margin-bottom: 30px;
}

h3 {
	font-family: 'Lato', arial;
	font-weight: bold;
	margin-top: 30px;
	margin-bottom: 30px;
}

a {
	color: #777;
	text-decoration: none;
	transition: all .5s ease;
}
	a:hover,
	.nav a:hover {
		color: #000;
	}


a[target="_blank"] {
text-decoration: underline;
}




blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}

.center{ text-align: center; }

@media only screen {
    .centeronsmall{text-align: center;}
}

@media only screen and (min-width: 40em) {
    .centeronsmall{text-align: left;}
}

.home-title{
	display: block;
	/*padding: 16px;*/
	font-size: 16px;
	/*background-color: white;*/
}

/*********************************************************************
 * 2. Masthead area
 *
 */

.hamburger-wrapper{
	position: relative;
	display: block;
	height: 40px;
	width: 120px;
}

.toggler{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 120px;
	height: 40px;
	opacity: 0;
	cursor: pointer;
}

.hamburger{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 120px;
	height: 40px;
}

.hamburger div{
	position: absolute;
	top: 20px;
	left: 0px;
	width: 36px;
	height: 2px;
	background-color: black;
	transition: all .4s ease;
}

.hamburger div::after{
	content: ' ';
	position: absolute;
	top: 10px;
	left: 0px;
	width: 36px;
	height: 2px;
	background-color: black;
	transition: all .2s ease;
}

.hamburger div::before{
	content: ' ';
	position: absolute;
	top: -10px;
	left: 0px;
	width: 36px;
	height: 2px;
	background-color: black;
	transition: all .6s ease;
}

.hamburger-label{
	font-family: 'Lato';
	font-weight: bold;
	position: absolute;
	left: 44px;
	top: 0px;
	height: 40px;
	line-height: 40px;
	transition: all .4s ease;
}

.hamburger-wrapper:hover .hamburger-label{
	color: white;
}


.hamburger-wrapper:hover .hamburger div{
	background-color: white;
}

.hamburger-wrapper:hover .hamburger div::after{
	background-color: white;
}

.hamburger-wrapper:hover .hamburger div::before{
	background-color: white;
}

.topnav a.close-topnav{
	display: block;
	text-align: right;
	line-height: 36px;
	font-weight: bold;
	font-size: 42px;
	font-family: 'Lato';
}

.topnav{
	position: fixed;
	top: 0px;
	left: -100vw;
	width: 100%;
	max-width: 600px;
	height: 100vh;
	background-color: white;
	transition: all .5s ease;
}

.topnav.active{
	left: 0px;
}

.topnav, .topnav li {
	list-style: none; 
	padding: 0;
	margin: 0;
}
	.topnav li {
		border-bottom: #CCC 1px solid;
	}
	.topnav a {
		padding: 0.25em 0.5em;
		text-decoration: none; 
		display: block;
		background: #fff; 
		color: #333;
		font-family: 'Lato', arial;
		font-weight: 400;
		font-size: 24px;
		line-height: 36px;
		transition: all .4s ease;
	}
	.topnav a:hover {
		background: #ddd;
	}
	.topnav li.current a {
		background: #d6c278;
		color: white;
	}
	.topnav li.current {
		border-bottom: #FFF 1px solid;
	}
	.topnav li.edit a {
		background: none; 
	}

.languages {
	list-style: none; 
	margin: 0;
	padding: 0; 
	
	font-size: 80%; 
	border: #fff 1px solid;
	background-color: #000;
}

	.languages li {
		list-style: none; 
		display: inline-block;
		margin: 0;
		padding: 0;
	}

	.languages a {
		padding: 0 0.5em;
		border: none; 
		display: inline-block;
		color: #ccc;
		margin-left: 15px;
	}
		.languages li.current a {
			font-weight: bold;
			color: white;
		}
		.languages li:first-child a {
			border: none; 
			padding-left: 0;
		}



form.search {
	margin: 0;
	padding-bottom: 1em;
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #ccc; 
		width: 100%; 
	}

.breadcrumbs {
	font-size: 80%; 
	width: 70%; 
	float: left;
	clear: both; 
	padding-top: 1em; 
}
	.breadcrumbs span:after {
		content: ">";
		color: #999; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}

/* NEW LOOK */

.top-wrapper{
	background-color: black;
}
.top{
	color: white;
}
.top-logo{
	color:white;
	transition: all .3s ease;
	font-weight:bold;
}
.top-logo:hover{
	color:yellow;
}
.top-image-wrapper{
	position: relative;
}
.top-image{
	width:100%;
	height:auto;
}
.top-hamburger{
	color:white;
	transition: all .3s ease;
	position: relative;
}
.top-hamburger:hover{
	color:yellow;
}
.top-button{
	color:white;
	transition: all .3s ease;
	margin-left:20px;
}
.top-button:hover{
	color:yellow;
}
.top-menu-label{
	font-size:12px;
}
.top-menu{
	position: fixed;
	top:-100vh;
	left: 0px;
	width:100%;
	height:100vh;
	background-color:white;
	z-index: 999;
	transition: all .3s ease;
	overflow:hidden;
}
.top-menu-btn{
	position: relative;
	display: inline-block;
}
.top-menu.active{
	top:0px;
}
.close-top-menu{
	display: block;
	font-size:54px;
	margin: 30px 30px 0 0;
}
.top-menu-languages{
	position: relative;
	margin: 30px 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.top-menu-languages li{
	float:left;
}
.top-menu-languages a{
	display:inline-block;
	margin-right:30px;
}
.right{
	text-align: right;
}
@media only screen {
	.top-wrapper{
		height: 54px;
	}
	.top{
		font-size: 18px;
		line-height: 54px;
	}
	.top-menu-btn{
		font-size:18px;
		line-height:48px;
	}
}


@media only screen and (min-width: 768px) {
	.top-menu-btn{
		font-size:24px;
		line-height:48px;
	}
}

@media only screen and (min-width: 992px) {
	.top-wrapper{
		height: 64px;
	}
	.top{
		font-size: 24px;
		line-height: 64px;
	}
	.top-menu-btn{
		font-size:32px;
		line-height:64px;
	}
}



/*********************************************************************
 * 3. Main content and sidebar
 *
 */



.snav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.snav .snav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.snav li {
		margin: 1em 0;
		display: block;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.snav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.snav .current > a {
		color: #333; 
	}



.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}

figure {
	display: table;
	width: 1px;
	margin: 1em 0;
}

figure img {
	display: table-row;
	margin-bottom: 0.5em;
}

figure figcaption {
	display: table-row;
	font-size: smaller;
	color: #777;
	line-height: 1.4em;
}

.curriculum-item{
	padding: 15px 15px 30px 15px;
	margin-bottom: 15px;
	background-color: white;
	border-top: white 1px solid;
	/*border-bottom: #ccc 1px solid;
	border-left: white 1px solid;
	border-right: #ccc 1px solid;*/
	border-radius: 10px;
	/* a little shadow */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-nav-link{
	line-height: 45px;
}

.my-gallery-spacer{
	margin-bottom: 20px;
}

.text-white-bg{
	display: block;
	background-color: white;
	height: 100%;
	padding: 20px;
}

.curriculum-link{
	display: block;
	height: 100%;
}
.curriculum-link a{
	display: block;
	background-color: white;
	text-align: center;
	padding: 20px;
	line-height: 80px;
	font-size: 24px;
	height: 100%;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-links{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.social-link{
	color: #6c757d;
	text-decoration: none;
	padding: 8px 0;
	font-size: 16px;
	transition: color 0.3s ease;
	display: flex;
	align-items: center;
	gap: 10px;
}

.social-link:hover{
	color: #212529;
}

.social-link i {
	width: 20px;
	text-align: center;
}

.devisch{
	background-color: white;
	text-align: center;
	padding: 15px;
}

/* Sponsor Section */
.sponsor-section {
	background-color: #ffffff;
	border-top: 1px solid #e9ecef;
	padding: 20px 0;
}

.sponsor-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}

.sponsor-text {
	color: #6c757d;
	font-size: 14px;
	font-weight: 500;
}

.sponsor-logo img {
	max-height: 40px;
	transition: opacity 0.3s ease;
}

.sponsor-logo:hover img {
	opacity: 0.8;
}


.MarkupPagerNav{
	list-style: none;
	padding: 0;
	margin: 0;
}

.MarkupPagerNav li{
	display: inline-block;
}

.MarkupPagerNav li a{
	display: block;
	background-color: white;
	padding: 5px 10px 5px 10px;
	margin-right: 10px;
	color: grey;
}

.MarkupPagerNav li[aria-current="true"] a{
	background-color: black;
	color: white;
}



.white-button{
	display: inline-block;
	padding: 20px;
	background-color: white;
	transition: all .3s ease;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



/*********************************************************************
 * 4. Footer
 *
 */

.footer-wrapper{
	background-color: #ffffff;
	width: 100% !important;
	border-top: 1px solid #e9ecef;
}

#footer {
	clear: both;
	padding: 40px 0 20px 0;
	font-size: 90%;
	color: #495057;
}

.footer-section {
	margin-bottom: 30px;
}

.footer-section h4 {
	color: #212529;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}


.footer-nav {
	width: 100%;
}

.footer-nav-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

@media only screen and (min-width: 768px) {
	.footer-nav-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.footer-nav-link {
	color: #6c757d;
	text-decoration: none;
	padding: 5px 0;
	transition: color 0.3s ease;
	font-size: 16px;
}

.footer-nav-link:hover {
	color: #212529;
}

.footer-bottom {
	border-top: 1px solid #dee2e6;
	padding-top: 20px;
	margin-top: 20px;
}

.copyright {
	text-align: center;
	color: #6c757d;
	font-size: 14px;
}



.header-image-desktop{
	display: block;
	margin: 0 auto;
	text-align: center;
}

.header-image-mobile{
	display: none;
	margin: 0 auto;
	text-align: center;
}

/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	.header-image-desktop{
		display: none;
	}
	
	.header-image-mobile{
		display: block;
	}

	.languages {
		width: 100%; 
		margin-bottom: 1em;
	}
	
	.breadcrumbs {
		margin-bottom: 1em;
		margin-top: 0;
	}

	body, td, textarea {
		font-size: 100%; 
	}
	
	form.search {
		width: 100%; 
		padding-bottom: 0;
	}
	
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

	/* Footer mobile styles */
	#footer {
		padding: 30px 0 15px 0;
		text-align: center;
	}
	
	.footer-section {
		margin-bottom: 25px;
	}
	
	.footer-section h4 {
		font-size: 16px;
		margin-bottom: 15px;
	}
	
	.social-links {
		justify-content: center;
		flex-direction: row;
		gap: 20px;
	}
	
	.footer-nav {
		align-items: center;
	}
	
	.sponsor-content {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}

}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 115%; 
	}
}
