@charset 'UTF-8';

/*
	the base color is #4d5aaf
*/

/* basis */
	html {
		font-family: serif;
		font-size: 16px;}

	@media screen and (max-width: 1000px){
		html { font-size: 12px; }
	}

	body {
		margin: 0;}

	main {
		margin: 1rem 0;
		padding: 0 5%;}

	li {font-size: 1.2rem;}

/* text */
	h1 {
		font-size: 2rem;}
	h2 {
		font-size: 1.5rem;
		font-weight: normal;}
	h3 {
		border-bottom: 1px solid;
		border-image: linear-gradient(to right, #4d5aaf 10%, white 80%);
		border-image-slice: 1;}

	p,
	.normalFont {
		font-size: 1rem;
		font-weight: normal;}

	a {
		color: black;
		text-decoration: none;}

	main a{
		color: #4d5aaf;
		text-decoration: none;}

	main a:hover {
		text-decoration: underline;}

	footer p {
		margin: auto 0;}

	footer a:hover {
		color: #4d5aaf;
		text-decoration: underline;}

@media (max-width:1000px){
	h1 {
		font-size: 1.75rem;
	}

	ul {
		padding-inline-start: 2rem;
	}
}

/* header */
header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: center;}

	.header__Head {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		background: linear-gradient(to left, transparent 0%, transparent 60%, #fff 100%), url('/img/blackbord.jpg');
		background-size: cover;
		background-position: right center;}

	.header__Title {
		width: auto;
		padding-left: 10rem;
		display: flex;
		flex-direction: column;}

	.header__Title * {
		display: inline-block !important;}

	.header__Lang {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-content: center;
		width: 20%;}

	.header__Lang a {
		margin: auto 0;}

	.header__Lang img {
		width: 5rem;
		object-fit: contain;}

	.header__listings {;
		padding: 0 10%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-content: center;
		background-color: #4d5aaf;}

	.header__listings ul {
		display: flex;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
		padding-inline-start: 0;}

	.header__listings li {
		font-size: 1rem;
		width: 15%;
		text-align: center;
		list-style: none;
		color: #46557F;
		border-right: 1px solid white;}

	.header__listings li:first-child {
		border-left: 1px solid white;
	}

	.header__listings a {
		display: block;
		line-height: 150%;
		text-decoration: none;
		color: white;
		border-top: 1px solid transparent;
		border-bottom: 1px solid transparent;}
	.header__listings a:hover {
		opacity: 0.5;
		transition: 0.5s all;}

	header address {
		font-size: 0.8rem;
		margin-bottom: 1rem;}

	/* flex */
	@media screen and (max-width: 1000px){
		.header__Head {
			margin: 0;}

		.header__Title {
			width: 90%;
			padding-left: 10%;}

		.header__listings {
			display: none;}

		.header__Lang {
			display: none;}
	}

/* footer */
	footer {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		align-content: center;
		border-top: 1px solid black;}

	.footer__list {
		width: 50%;
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		align-content: flex-start;}

	footer li {
		font-size: 0.85rem;}

	footer ul {
		list-style: none;
		margin: 0;
		padding: 1rem 0;
		padding-inline-start: 1rem;}

	@media screen and (max-width: 1000px){
		footer {
			flex-direction: column;
			margin: 1rem 0;}

		footer p {
			text-align: center;}

		.footer__list {
			flex-direction: column;
			width: 90%;
			margin: 0 auto;}

		.footer__list ul:first-of-type {
			border-bottom: 1px solid gray;
		}

	}

/* main */
	.main__Box {
		display: flex;
		flex-direction: column;
		align-content: start;}

	.main__Box:not(:last-child){
		border-bottom: 1px solid black;}

	.news__list {
		width: 90%;
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		justify-content: start;
		align-content: flex-start;
		flex-wrap: wrap;
		overflow: hidden;}

	.news__list a {
		color: black;
		text-decoration: none;}

	.news__list a:hover {
		color: #4d5aaf;}

	.news__list__tab {
		display: flex;
		flex-direction: row;
		justify-content: center;
		cursor: pointer;}
		.news__list__tab:hover{
			color: #4d5aaf;}

	.news__list__tab--box {
		display: none;}
	.news__list__tab--more {
		display: inherit;}
	.news__list__tab--less {
		display: none;}
	.news__list__tab--more:before{
		content: "See More ▽";}
	.news__list__tab--less:before{
		content: "Show Less △";}

	.news__card {
		display: none;
		margin: 0.75rem;
		width: calc(25% - 1.5rem);
		flex-direction: column;}

	.news__card:nth-of-type(-n+4) {
		display: flex;
	}

	#news_list_expand:checked ~ label .news__list__tab--more {
		display: none;}
	#news_list_expand:checked ~ label .news__list__tab--less {
		display: inherit;}
	#news_list_expand:checked ~ .news__list > .news__card {
		display: flex ;}

	.news__card img {
		width: 100%;
		aspect-ratio: 1.654;
		overflow: hidden;
		object-fit: cover;}

	.news__title {
		padding: 0 0.5rem;
		margin: 0;}

	.news__date {
		font-size: 0.85rem;
		padding-bottom: 0.5rem;
		margin: 0;}

	/* flex */
	@media screen and (max-width: 1000px){
		.news__list {
			flex-direction: column;
		}

		.news__card {
			width: 100%;
			height: auto;}

		.news__card img {
			display: none;}
	}

/* map */
	.googlemap--wide {
		width: 80%;
		height: 40vh;
		margin: 1rem 10%;}

	@media screen and (max-width: 1000px){
		.googlemap--wide {
			width: 90%;
			margin: 1rem 5%;}
	}

/* container */
.container,
.container--border {
	width: 100%;
	margin: 0 auto;}

.container--border {
	border-bottom: 1px solid black;}

@media screen and (max-width: 1000px){
	.container,
	.container--border {
		width: 100%;}
}

.container > img {
	display: block;
	object-fit: contain;
	margin: 0 auto;
	width: 50%;}


@media screen and (max-width: 600px){
	.container > img {
		width: 80%;}
}

/* generated date */
.generated {
	width: 100%;
	margin: 0.75rem 0;
	text-align: right;}
.generated:before {
	content: 'Generated on ';
}

/* journal club */ 
.journals {
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-content: flex-start;}
	.journals li {
		list-style: none;}
	.journals__mainlist {
		width: 70%;}
		.journals__mainlist li {
			font-style: italic;
			font-weight: bold;
			font-size: 1.25rem;
			padding-left: 1rem;
			margin: 1rem 0 0 2rem;
			border-bottom: 1px solid lightgray;}
		.journals__mainlist p {
			padding-left: 4rem;}
	.journals_archives {
		width: 30%;}
		.journals_archives li {
			text-align: right;}

	@media screen and (max-width: 1000px){
		.journals {
			flex-direction: column;}
		.journals__mainlist {
			width: 100%;}
		.journals_archives {
			width: 100%;}
	}


/* table */
.table_box {
	margin: 0 5vw;
	overflow: auto;}
