/*main styling */
	p.post-meta {
		display: none;
	}

	h1.entry-title {
		text-align:center;
	}

	h1.entry-title, h3.titles {
		color: #B9241E;
		font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
	}

	h3.titles {
		margin: 0px 20px;
	}

	.portrait-athlete {
		height: 300px;
		width: auto;
	}
	.icon {
		width: auto;
		height: 32px;
		margin-right: 1%;
		margin-left: 20px;
	}
	span {
		font-weight: 700;
		font-size: smaller !important;
		text-transform: uppercase;
	}

	.top-right h4 {
		margin-bottom: 20px;
	}

	p, .text {
		font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
	}
	.ul-container li {
		font-family: 'Nunito',Helvetica,Arial,Lucida,sans-serif;
	}
	.titles {
		text-align: center;
	}

	.flex-container {
		display: flex;
		justify-content: center;
		margin: 40px 0 10px;
	}

	.flex-container:before, 
	.flex-container:after {
		content: "";
		flex: 1 1;
		border-bottom: 2px solid lightgray; 
        margin: auto; 
	}


	.flex-container + p {
		text-align: justify;
	}

	.main-container {
		max-width: 800px;

	}


/* main styling end*/

/* biographie */


	
/*ID card section */

	.id-card {
		display: flex;

	}
	.top-left {
		margin-right: 10%;
		max-height: 300px;
		width: auto;
	}



	.top-right {
		/*background-color: whitesmoke;*/
		padding: 1% 3%;
		/*border-radius: 0%;*/
	}


	.top-right-text {
		padding-top: 10px;
	}

	.top-right-image {
		padding-top: 10%;
	}

	.img-top-right {

		max-height: 80px;
		width: auto;
	}

	.top-right p {
		line-height: 100%;
	}


/* end id card */

/* palmares section (icon + text) */

	.i {
		width: auto;
		height: 30px;
		margin-right: 23px;
	}

	.ul-container {
		display: flex;

	}

	.palmares-wrapper {
		max-width: 70%;
		margin: 0 auto;
	}

/* gallerie image */

	.pics {
		width: 300px;
		height: auto;
	}


	


/**********************/
/*** MEDIA QUERIES ***/
/*********************/



@media screen and ( min-width: 501px) and ( max-width: 650px ) {

	.portrait-athlete {
		height: auto;
		width: 100%;
	}

	.i {
		width: auto;
		height: 30px;
		margin-right: 23px;
	}

	.ul-container {
		display: flex;

	}

	.palmares-wrapper {
		max-width: 90%;
		margin: 0 auto;
		
	}

	

}

/* Smartphones in portrait mode (0-479px) */

@media only screen and ( max-width: 500px ) {

	.portrait-athlete {
	height: auto;
	width: 100%;
	}
	
	.id-card {
	display: flex;
		flex-direction: column;
	}
	
	.top-left {
		margin: 0 auto;

	}

	.top-right {

		margin: 20px 0px 0px 0px;
		max-width: 100%;
		column-count: 2;
		padding: 2% 5%;
	}
	
	.top-right-text {
		padding-top: 0px;
	}
	
	



	.img-top-right {
		margin-top: 0px;
	}

	.top-right p {
		line-height: 100%;
	}

		.i {
		width: auto;
		height: 30px;
		margin-right: 23px;
	}

	.ul-container {
		display: flex;

	}

	.palmares-wrapper {
		max-width: 100%;
		margin: 0 auto;
		
	}

}
