/*

Color Codes
=============
Primary blue: #006699
Gray text: #666666
Light gray nav button bg: #F2F2F2;

Credit
=========
https://tympanus.net/Development/HoverEffectIdeas/

*/



html, body { overflow-x: hidden; }

body { font-family: 'Kumbh Sans', sans-serif; }

div, p { color: #666666; }

a {color: #006699;}

p, address { line-height: 1.8; }

a {transition: all 0.3s ease; }

p {text-align: justify;}

a:hover {
	color: #0099FF;
	text-decoration: none;
}

.container-fluid { margin-left: 0; }

.btn-primary {
	padding: 12px 50px;
	border-radius: 0;
	background: #006699;
	font-size: 1.2rem;
	border: 0;
}

.btn-primary:hover { background: #068ccf; }
.tm-text-primary { color: #006699; }
.tm-text-secondary { color: #009999; }

hr { border-top: 4px solid #CCC; }

.tm-hr-short {
	border-top: 1px solid #006699;
	width: 238px;
	margin-left: auto;
	margin-right: auto;
}

/* Layout */

.tm-main { width: 100%; }

.tm-row-home {
	padding-left: 15px;
	padding-right: 15px;
}

.tm-mt-100 { margin-top: 100px; }

.tm-sidebar {
	background-color: #fff;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	padding-left: 40px;
	padding-top: 40px;
	width: 280px;
}

.tm-section-wrap {
	width: calc(100% - 450px);
	margin-left: 450px;
	margin-right: 0;
	position: relative;
}

.tm-section { padding: 50px 70px 50px 0; }

#gallery, #about, #contact {
	padding-bottom: 150px;
}

.tm-parallax {
	min-height: 100%;
	height: auto;
	background: transparent;
	position: absolute;
	width: 150px;
	left: -170px;
	top: 0;
}

/* Hide scrollbar */
.tm-sidebar {
	overflow-y: scroll;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE 10+ */
}
.tm-sidebar::-webkit-scrollbar {
	/* WebKit */
	width: 0;
	height: 0;
}

.tm-sidebar-sticky {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.tm-nav {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.navbar-toggler { display: none; }

.tm-brand-box {
	width: 240px;
	height: 180px;
	background: #006699;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 100px;
}

#tm-main-nav {
	padding: 0;
	margin: 0;
}

.nav-item {
	list-style: none;
	margin-top: 10px;
	margin-bottom: 10px;
}

.nav-link {
	position: relative;
	color: #006699;
	font-size: 1.2rem;
	padding-top: 15px;
	padding-bottom: 15px;
}

.triangle-right {
	position: absolute;
	top: 9px;
	left: -40px;
	width: 0;
	height: 0;
	border-top: 21px solid transparent;
	border-left: 20px solid #006699;
	border-bottom: 21px solid transparent;
	opacity: 0;
	transition: all 0.3s ease;
}

.nav-item:hover .nav-link,
.nav-link.current {
	background-color: #F2F2F2;
	color: #006699;
	padding-left: 30px;
}

.nav-item:hover > .nav-link > .triangle-right,
.nav-link.current > .triangle-right {
	opacity: 1;
}

.nav-icon {
	width: 40px;
	margin-right: 0px;
}

#teachings, #internships, #contact, #home  { min-height: 100vh; }

/* Home section */

.tm-col-home-l { width: calc(100% - 300px); }

/* .tm-img-home-container {
	width: 250px;
	height: 500px;
	background: url(../img/img-home-01.jpg) no-repeat center;
	background-size: cover;
	margin-right: 0;
	margin-left: auto;
} */

@media (max-width: 1600px) {
	.tm-col-home-l { width: calc(100% - 250px); }

	.tm-img-home-container {
		width: 200px;
		height: 400px;
	}
}

.tm-icon-container {
	border: 1px solid #CCC;
	width: 122px;
	height: 122px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tm-text-container { max-width: 97%; text-align: justify;}

.tm-post-icon {
	width: 100px;
	height: 100px;
	margin-right: 20px;
}

.tm-post-link:hover {
	color: #068ccf;
}

/* Gallery section */
.tm-gallery {
	position: relative;
	margin: 0 -10px;
	list-style: none;
	text-align: center;
	overflow: hidden;
}

.tm-gallery-links {
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-bottom: 0;
}

.tm-gallery-links li {
	list-style: none;
	margin-bottom: 30px;
	margin-right: 55px;
}

.tm-gallery-link {
	padding: 15px;
	color: #006699;
}

.tm-gallery-link.active { color: #666666; }
.tm-gallery-link-icon { width: 25px; }

.tm-paging {
	margin-top: 35px;
	overflow: auto;
	display: flex;
	justify-content: flex-end;
}

.tm-paging-link {
	display: flex;
	float: left;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background: white;
	color: #999;
	margin-right: 15px;
	margin-bottom: 15px;
}

a.tm-paging-link.active,
a.tm-paging-link:hover {
	background: #006699;
	color: white;
}

@media (max-width: 1972px) { .tm-paging { max-width: 870px; } }
@media (max-width: 1660px) { .tm-paging { max-width: 580px; } }
@media (max-width: 1258px) { .tm-paging { max-width: 290px; } }
@media (max-width: 991px) { .tm-paging { max-width: 580px; } }
@media (max-width: 898px) { .tm-paging { max-width: 290px; } }
@media (max-width: 700px) { .tm-paging { max-width: 580px; } }

@media (max-width: 618px) {
	.tm-paging {
		max-width: 290px;
		flex-wrap: wrap;
	}

	.tm-paging-link { margin-right: 5px; }
}

.tm-gallery figure {
	position: relative;
	z-index: 50;
	float: left;
	overflow: hidden;
	margin: 1%;
	min-width: 270px;
	max-width: 270px;
	max-height: 180px;
	width: 48%;
	text-align: center;
	cursor: pointer;
}

.tm-gallery figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.tm-gallery figure figcaption {
	padding: 1em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.tm-gallery figure figcaption::before,
.tm-gallery figure figcaption::after {
	pointer-events: none;
}

.tm-gallery figure figcaption,
.tm-gallery figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.tm-gallery figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.tm-gallery figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.tm-gallery figure h2 span { font-weight: 800; }

.tm-gallery figure h2,
.tm-gallery figure p {
	margin: 0;
}

.tm-gallery figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey { background: #4a3753; }

figure.effect-honey img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-honey:hover img { opacity: 0.5; }

figure.effect-honey figcaption::before {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background: #006699;
	content: '';
	-webkit-transform: translate3d(0,10px,0);
	transform: translate3d(0,10px,0);
}

figure.effect-honey h2 {
	position: absolute;
	bottom: 0;
	left: 0;
	font-size: 1.6rem;
	padding: 1em;
	width: 100%;
	text-align: left;
	-webkit-transform: translate3d(0,-30px,0);
	transform: translate3d(0,-30px,0);
}

figure.effect-honey h2 i {
	font-style: normal;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,-30px,0);
	transform: translate3d(0,-30px,0);
}

figure.effect-honey ul li a {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,-30px,0);
	transform: translate3d(0,-30px,0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i,
figure.effect-honey:hover ul li a {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/* About */

.tm-row-about {
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 20px;
}

.tm-col-about-l-text {
	width: calc(100% - 400px);
	text-align: justify;
}

.tm-col-about-r-img {
	width: 400px;
	/* margin-right: 0; */
	/* margin-left: auto; */
	text-align: center;
}

.tm-col-about-r-text {
	width: calc(100% - 400px);
	text-align: justify;
}

.tm-col-about-l-img {
	width: 400px;
	/* margin-left: 0; */
	/* margin-left: auto; */
	text-align: center;
}

@media (max-width: 1660px) {
	/*.tm-col-about { width: 50%; }*/
	.tm-col-about-l-text { padding-right: 10px; }
	.tm-col-about-r-text { padding-left: 10px; }
}

@media (max-width: 1200px) {
	.tm-col-about { width: 100%; }
	.tm-col-about-l-text { padding-right: 0; }
	.tm-col-about-r-text { padding-left: 0; }
	.tm-col-about-l-img { display: none;}
	.tm-col-about-r-img { display: none;}
}

.tm-social {
	padding-left: 0;
	margin-bottom: 0;
	display: flex;
	flex-wrap: wrap;
}

.tm-social li { list-style: none; }

.tm-social li a {
	font-size: 1.4rem;
	padding: 10px;
	color: white;
}

.fab { transition: all 0.3s ease; }
.tm-social-link:hover .fa-instagram { color: #8134AF; }
.tm-social-link:hover .fa-facebook { color: #3b5998; }
.tm-social-link:hover .fa-twitter { color:  #00acee; }
.tm-social-link:hover .fa-youtube { color: #c4302b; }

.slick-dots {
	position: static;
	margin-top: 50px;
}

.slick-dots li {
	width: 24px;
	margin-bottom: 10px;
}



.slick-dots li button { width: 24px; }

.slick-dots li button:before {
	font-family: "Font Awesome 5 Free";
	font-size: 24px;
	font-weight: 900;
	content: "\f04d";
	color: #eee;
	opacity: 1;
	width: 24px;
	height: 24px;
	transition: all 0.3s ease;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
	color: #006699;
}

.tm-carousel {
	width: 100%;
	max-width: 1800px;
	margin-left: -15px;
	margin-right: -15px;
}

.tm-carousel-item {
	/* background: #3085a3; */
	padding: 15px;
	max-width: 300px;
}

.tm-carousel figure {
	position: relative;
	float: left;
	overflow: hidden;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	max-width: 270px;
}

.tm-carousel figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.tm-carousel figure figcaption {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.tm-carousel figure figcaption::before,
.tm-carousel figure figcaption::after {
	pointer-events: none;
}

.tm-carousel figure figcaption,
.tm-carousel figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.tm-carousel figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.tm-about-title { font-size: 24px; }
.tm-about-subtitle { font-size: 20px; }

/* Contact */

.tm-contact-col-l { padding-right: 25px; }

.form-control {
	padding: 15px 20px 10px;
	width: 100%;
	height: auto;
}



.form-group { margin-bottom: 25px; }
select.form-control { border-radius: 0; }
select.form-control option { height: 30px; }

select:not([multiple]) {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-position: right 15px center;
	background-repeat: no-repeat;
	background-image: url(../img/select-arrow.png);
	padding: 14px 20px;
	padding-right: 20px;
	color: #666;
}

.mapouter{
	position:relative;
	height:360px;
	width:100%;
}

.gmap_canvas {
	overflow:hidden;
	background:none!important;
	height:360px;
	width:100%;
}

.tm-contact-links {
	padding-left: 0;
	margin: 0;
}

.tm-contact-links li { list-style: none; }

.tm-contact-social {
	padding: 0;
	margin: 0;
	display: flex;
}

.tm-contact-social li {
	list-style: none;
	margin-right: 5px;
}

.tm-contact-social li a {
	width: 40px;
	height: 40px;
	display: block;
}

.tm-copyright { padding: 50px 70px 20px 0; }

.trombine {
	display: none;
}

@media (max-width: 1400px) {
	.tm-section-wrap {
		width: calc(100% - 450px);
		margin-left: 450px;
	}
}

@media (max-width: 1200px) {
	.tm-col-home {
		flex: 0 0 100%;
		max-width: 100%;
		padding-right: 15px;
	}
}
/*	.tm-img-home-container {
		width: 100%;
		height: 0;
		padding-top: 133.28%;
		background-image: url('../img/img-home-01-big.jpg');
		background-size: contain;
	}
} */

/* Hide the leftside bar */
@media (max-width: 991px) {
	.tm-sidebar {
		left: -280px;
		transition: all 0.3s ease;
	}

	.navbar-toggler {
		display: block;
		position: fixed;
		left: 0;
		top: 0;
		background-color: rgb(0 102 153 / 0.80);
		color: white;
		padding: 10px 15px;
		transition: all 0.3s ease;
		border-radius: 0;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
		top: 40px;
		z-index: 10000;
	}

	.navbar-toggler:focus { outline: none; }
	.tm-sidebar.show { left: 0; }
	.tm-sidebar.show .navbar-toggler { left: 280px; }

	.tm-parallax {
		width: 150px;
		left: -150px;
	}

	.tm-section-wrap {
		width: calc(100% - 150px);
		margin-left: 150px;
	}

	.tm-section {
		padding-left: 30px;
		padding-right: 30px;
	}

	.tm-text-container { max-width: 100%; }
}

@media (max-width: 700px) {
	.tm-parallax {
		position: static;
		height: 360px;
		width: 100%;
	}

	.trombine {
		display: block;
		z-index: 1;
		position:absolute;
		top: 50px;
		left:450px;
	}

	.photo-alex {
		display: none;
	}

	.tm-section-wrap {
		width: 100%;
		margin-left: 0;
	}
}

@media (max-width: 650px) {
	.trombine {
		display: block;
		z-index: 1;
		position:absolute;
		top: 50px;
		left:400px;
	}
}

@media (max-width: 600px) {
	.trombine {
		display: block;
		z-index: 1;
		position:absolute;
		top: 50px;
		left:350px;
	}
}

@media (max-width: 550px) {
	.trombine {
		display: block;
		z-index: 1;
		position:absolute;
		top: 50px;
		left:300px;
	}
}

@media (max-width: 500px) {
	.trombine {
		display: block;
		z-index: 1;
		position:absolute;
		top: 50px;
		left:250px;
	}
}


@media (max-width: 450px) {
	.trombine {
		display: block;
		z-index: 1;
		position:absolute;
		top: 50px;
		left:200px;
	}
}

/* Internships */

/*** EXTEND ***/
/* box-shadow */

ol.gradient-list > li::before, ol.gradient-list > li {
  box-shadow: 0.25rem 0.25rem 0.6rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.125rem rgba(75, 0, 0, 0.05);
}

/*** STYLE ***/
/* *,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fafafa;
  color: #1d1f20;
  font-family: "Raleway", sans-serif;
}

main {
  display: block;
  margin: 0 auto;
  max-width: 40rem;
  padding: 1rem;
} */

ol.gradient-list {
  counter-reset: gradient-counter;
  list-style: none;
  padding-left: 1rem;
	width:100%;
}

ol.gradient-list > li {
  background: white;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  counter-increment: gradient-counter;
  margin-top: 1rem;
  min-height: 3rem;
  padding-top: 5px;
	padding-bottom: 0px;
	padding-left: 15px;
	padding-right: 15px;
  position: relative;
}

.internship-title {
	color: #006699;
	font-size: 1.2rem;
}

/* ol.gradient-list > li::before, ol.gradient-list > li::after {
  background: linear-gradient(135deg, #77AAFF 0%, #0077BB 100%);
  border-radius: 1rem 1rem 0 1rem;
  content: "";
  height: 3rem;
  left: -1rem;
  overflow: hidden;
  position: absolute;
  top: -1rem;
  width: 3rem;
}
ol.gradient-list > li::before {
  align-items: flex-end;
  content: counter(gradient-counter);
  color: #1d1f20;
  display: flex;
  font: 900 1.5em/1 "Montserrat";
  justify-content: flex-end;
  padding: 0.125em 0.25em;
  z-index: 1;
}
ol.gradient-list > li:nth-child(10n+1):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.2) 0%, rgba(253, 220, 50, 0.2) 100%);
}
ol.gradient-list > li:nth-child(10n+2):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.4) 0%, rgba(253, 220, 50, 0.4) 100%);
}
ol.gradient-list > li:nth-child(10n+3):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.6) 0%, rgba(253, 220, 50, 0.6) 100%);
}
ol.gradient-list > li:nth-child(10n+4):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.8) 0%, rgba(253, 220, 50, 0.8) 100%);
}
ol.gradient-list > li:nth-child(10n+5):before {
  background: linear-gradient(135deg, #a2ed56 0%, #fddc32 100%);
}
ol.gradient-list > li:nth-child(10n+6):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.8) 0%, rgba(253, 220, 50, 0.8) 100%);
}
ol.gradient-list > li:nth-child(10n+7):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.6) 0%, rgba(253, 220, 50, 0.6) 100%);
}
ol.gradient-list > li:nth-child(10n+8):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.4) 0%, rgba(253, 220, 50, 0.4) 100%);
}
ol.gradient-list > li:nth-child(10n+9):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0.2) 0%, rgba(253, 220, 50, 0.2) 100%);
}
ol.gradient-list > li:nth-child(10n+10):before {
  background: linear-gradient(135deg, rgba(162, 237, 86, 0) 0%, rgba(253, 220, 50, 0) 100%);
}
ol.gradient-list > li + li {
  margin-top: 2rem;
} */

button.internships {
  background: none!important;
  border: none;
  padding: 0!important;
  /*optional*/
  font-family: arial, sans-serif;
  /*input has OS specific font-family*/
  color: #069;
  text-decoration: underline;
  cursor: pointer;
}

.button-internships{
	float: right;
	padding: 20px;
}

/* CV */

li.cv {
	list-style: none;
	margin-left: -30px;
}

/* Researches */

li.research {
	margin-bottom: 10px;
}
<
