body {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1em;
	background-color: #CACACA;
}

/*****************************
  start Header
******************************/

header {
	background-color: #0B1528;
}

.btn-group ul li {
    display: block;
	list-style-type: none;
}

header .top-full  {
	background-color: #323C50;
}

header .photo {
	width: 70%;
	text-align: center;
	padding: 10px;
	overflow: hidden;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

header .photo img {
	max-width: 180px;
	border: 1px solid #2E2E2E;
	box-shadow: 1px 1px 5px #000000AA;
}

header .photo:hover {
	transform: scale(1.2, 1.2);
}

header .my-name {
	font-size: 18px;
	color: white;
	text-shadow: 1px 1px 2px black;
}

nav .my-name {
	display: none;
}

header .my-name span {
	display: block;
	width: 100%;
	font-size: 16px;
	color: #7C9DDB;
	text-shadow: 1px 1px 2px black;
}

header.header-fixed .my-name span {
	color: #BB7BDB;
}

.english-link-corner {
	display: none;
}

.english-link-corner a {
	text-decoration: none;
	color: white;
	text-shadow: 1 1 2px #000000AA;
}

.english-link-top {
	display: none;
	display: block;
	background-color: #444;
	text-align: right;
	padding: 5px;
}

.english-link-top a {
	text-decoration: none;
	color: white;
}

.long-trns {
	-webkit-transition: all 1.5s;
	-moz-transition: all 1.5s;
	-o-transition: all 1.5s;
	transition: all 1.5s;
}

.med-trns {
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

header .menu-full {
	background-color: #8C3B3B;
	border-top: 1px solid #ffffff22;
	border-bottom: 1px solid #00000022;
}

header .menu {
	background-color: #771818;
	margin: 0 auto;
	height: 100%;
    box-shadow: 0 0 10px #00000099 inset, 1px 1px 10px #000000AA;
}

/*****************************
  end Header
******************************/

/*****************************
  start Social section
******************************/

header .top-frame {
	height: 100%;
	background-color: #0D1930;
    box-shadow: 0 0 10px #00000099 inset, 1px 1px 10px #000000AA;
    text-align: center;
}

header .top {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	align-items: center;
   	justify-content: space-between;
   	height: 100%;
}

header .social {
	display: flex;
}

ul.btn-group {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-right: 30px;
}

ul.btn-group li {
	list-style-type: none;
}

ul.btn-group a {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	background-color: #14274C;
	color: #7C9DDB;
	height: 30px;
	width: 30px;
	margin: 2px;
	justify-content: center;
	text-decoration: none;
	-webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	-o-transition: background-color 0.5s;
	transition: background-color 0.5s;
}

ul.btn-group a:hover, ul.btn-group a.hovered {
	color: #A7BDE7;
	background-color: #203E77;
	transform:scale(1.1, 1.1);
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

ul.btn-group i {
	font-size: 1.2em;
}

/*****************************
  End social section
******************************/


/*****************************
  start Menu
******************************/

nav.menu ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	height: 100%;
}

nav.menu ul li {
	display: flex;
	flex-direction: row;
	font-weight: bold;
	border-top: 1px solid #ffffff44;
	text-shadow: 1px 1px 2px #00000088;
}

nav.menu a {
	padding-top: 5px;
	display: flex;
	color: #EA9595;
	flex-grow: 1;
	text-decoration: none;
	text-align: center;
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

nav.menu a i {
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}

nav.menu li.active a {
	color: #F7D4D4;
}

nav.menu li.active a i {
	transform: scale(1.3, 1.3);
}



nav.menu li.active a i {
	color: #F7D4D4;
}

nav.menu a:hover {
	color: #F7D4D4;
}

nav.menu a:hover i {
	transform: scale(1.3, 1.3);
}


nav.menu i {
	color: #EA9595;
	padding: 5px;
	width: 25px;
}

nav.menu .icon {
}

nav.menu .topic {
	text-transform: uppercase;
}

/*****************************
  stop Menu
******************************/


/*****************************
  start Main section
******************************/

#main-wrap {
	font-size: 14px;
	margin: 0 auto;
	background-color: #E1E1E1;
	box-shadow: 0 0 10px #FFFFFFAA inset, 1px 1px 10px #00000066;
}

main {
	padding: 5px;
}

main p {
	text-align: justify;
	line-height: 1.4em;
}

main p.comment {
	color: #00000088;
	text-align: left;
}

main a {
	color: #264689;
	text-decoration: underline;
	text-decoration-color: #324263;
}

/*****************************
  stop Menu section
******************************/

.scroll-up-box {
	visibility: hidden;
}

/*****************************
  start Footer
******************************/

.contact-text-full {
	background-color: #3B5485;
}

.contact-text {
	background-color: #213F78;
	text-align: center;
	color: #8DA8D8;
	text-shadow: 1px 1px 2px #00000088;
	font-weight: bold;
	font-size: 1.2em;
}

.contact-full {
  	background-color: #324263;
}

.contact {
	background-color: #162950;
	height: 100%;

}

.copyright {
	background-color: #767E8E;
	text-align: center;
	color: #222429;
}

footer .contact {

}

footer .contact ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 5px;
	list-style-type: none;
}


footer .contact ul li a {
	display: flex;
	flex-direction: row;
	border-bottom: 1px solid #ffffff22;
	text-align: center;
}

footer .contact ul li a {
	color: #7C9DDB;
	text-decoration: none;
}

footer .contact ul li div {
	padding-left: 10px;
}

/*****************************
  stop Footer
******************************/

@media screen and (min-width: 1020px) {

	footer .contact {
		margin: 0 auto;
		width: 1010px;
		padding: 5px;
	}

	footer .contact ul {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}

	footer .contact ul li a {
		width: 160px;
		flex-direction: column;
		padding-left: 0;
		border-bottom: none;
		align-self: center;
		flex-basis: 1;
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
		-o-transition: all .5s;
		transition: all .5s;
	}

	footer .contact ul li a {
		color: #7C9DDB;
		text-decoration: none;
	}

	footer .contact ul li a div {
		-webkit-transition: all .5s;
		-moz-transition: all .5s;
		-o-transition: all .5s;
		transition: all .5s;
	}

	footer .contact ul li a .icon {
		font-size: 2.2em;
	}

	footer .contact ul li a .label {
		font-size: 1.2em;
		font-weight: bold;
	}

	footer .contact ul li a .info {
		color: #264689;
		font-size: 1.2em;
	}

	footer .contact ul li a .info small {
		font-size: .5em;
	}

	footer .contact ul li a:hover {
		background-color: #122140;
		padding: -10px;
	}

	footer .contact ul li:hover a .icon, footer .contact ul li:hover a .label {
		color: #A3BAE6;
	}

	footer .contact ul li:hover a .info {
		color: white;
	}


	footer .copyright {
		font-size: 1.2em;
	}

	main a.scroll-up-box {
		position: absolute;
		display: block;
		visibility: visible;
		right: 15px;
		bottom: 15px;
		display: block;
		padding: 10px;
		background-color: #E00000;
		border-radius: 10px;
		border: 1px solid white;
		box-shadow: 1px 1px 5px #000000aa;
		font-size: 1.2em;
		color: white;
		text-decoration: none;
	}

	main a.scroll-up-box i {
		color: white;
		text-decoration: none;
	}

	header .header-fixed {
		margin-bottom: 160px;
	}

	header .top-frame {
		position: relative;
		width: 1020px;
		margin: 0 auto;
	}

	header .top {
		flex-direction: row;
	}

	header .top-full {
		height: 160px;
	}

	header .photo {
		padding: 0;
		margin: 0;
		width: 100%;
		padding: 10px 12px;
		margin-left: 5px;
	}

	.english-link-top {
		display: none;
	}

	.english-link-corner {
		display: block;
		display: none;
		position: absolute;
		text-align: right;
		top: 0;
		right: 0;
		width: 25px;
		height: 25px;
		background-color: #E90000;
		padding: 5px;
		text-align: center;
		font-size: 1.2em;
		text-shadow: 1px 1px 5px #000000AA;
	    border-bottom-left-radius: 5px;
	}

	.english-link-corner:hover {
		display: none;
		box-shadow: 0 0 30px #ffff00aa;
		background-color: #FFFF00;
	}

	.english-link-corner:hover a {
		text-shadow: 0 0 10 black;
		color: black;
		font-weight: bold;
	}


	header .photo img {
		max-width: 130px;
	}

	header .my-name {
		font-size: 26px;
		text-align: left;
	}

	header .my-name span {
		font-size: 21px;
		text-align: left;
	}

	header .fixed-header {
		background-color: #643B8C;
	    position: fixed;
    	top: 0;
    	left: 0;
    	width: 100%;
    	z-index: 999;
	}

	header .fixed-header .menu {
		background-color: #571877;
	}

	header .menu-full {
		height: 140px;
	}

	nav.menu ul {

	}

	nav.menu {
		width: 1020px;
	}

	nav.menu .my-name {
		margin-top: 40px;
		margin-left: 40px;
		position: absolute;
		width: 400px;
		display: none;
	}

	nav.menu .icon {
		padding-top: 12px;
	}

	nav.menu .topic {
		padding-top: 15px;
	}

	nav.menu ul {
		flex-direction: row;
		padding: 0 32px;
	}

	nav.menu ul.compact {
		margin-left: 250px;
		width: 700px;
		justify-content: space-around;
	}

	nav.menu ul li {
		display: flex;
		flex-direction: column;
		list-style-type: none;
		font-size: 1.5em;
		border: 0;
		width: 195px;
	}

	nav.menu ul.compact li {
		font-size: 1.2em;
		width: 120px;
	}

	nav.menu a {
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
		margin: 5px 2px;
		justify-content: center;
		text-decoration: none;
		padding-top: 0;
	}

	nav.menu ul.compact a {
		color: #CB9BE4;
	}

	nav.menu ul.compact a i {
		color: #BB7BDB;
	}


	nav.menu li.active a {
		border-top: 1px solid #EA9595;
		border-bottom: 1px solid #EA9595;
		background-color: #5F1313;
		/* box-shadow: 0 0 20px #ffffff22; */
	}


	nav.menu ul.compact li.active a {
		border-top: 1px solid #CB9BE4;
		border-bottom: 1px solid #CB9BE4;
		background-color: #46135F;
		box-shadow: 0 0 20px #ffffff22;
		color: #E4D7F4;
	}

	nav.menu ul.compact li.active a i {
		color: #EAD7F4;
	}

	nav.menu a:hover {
		background-color: #ffffff22;
	}

	nav.menu i {
		width: auto;
		padding: 0px;
		font-size: 1.5em;
	}

	nav.menu ul.compact i {
		font-size: 1.4em;
	}

	#main-wrap {
		position: relative;
		font-size: 24px;
		width: 1020px;
		z-index: 1;
	}

	main {
		padding: 5px 40px;
	}

	ul.btn-group a {
		height: 50px;
		width: 50px;
		padding-left: 5px;
	}

	ul.btn-group i {
		font-size: 2em;
	}

	.contact-text-full {
		height: 23px;
	}

	.contact-text {
		height: 100%;
		width: 1020px;
		margin: 0 auto;
		text-shadow: 1px 1px 2px #00000088;
		font-weight: bold;
		font-size: 1.2em;
	}

	.contact-full {
		height: 100px;
	}

	.contact {
		margin: 0 auto;
		height: 100%;
		width: 1020px;
		height: 100%;

	}

	.copyright {
		height: 23px;
		font-size: 1.2em;
	}
}

ul.publication  {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

ul.publication li {
	padding: 10px;
}

img.publication {
	width: 100%;
	padding: 2px;
	margin: 10px 0;
	border: 2px solid white;
	box-shadow: 2px 2px 10px black;
	box-sizing: border-box;
	background-color: white;
}

ul.references {
	list-style-type: none;
	padding: 0;
	margin: 10px;
}

ul.references li.ref-header h2 {
	font-size: 1.2em;
	color: #446;
}

img.references {
	width: 100%;
	padding: 2px;
	margin: 10px 0;
	border: 2px solid white;
	box-shadow: 2px 2px 10px black;
	box-sizing: border-box;
	background-color: white;
}

ul.education  {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

ul.education li {
	padding: 10px;
}
