/*
Theme Name: IFMSA MOROCCO
Author: Yassine
Version: 1.0
*/

*:focus{
	outline: 0;
	border: 0;
	box-shadow: 0 0 0 0;
}
*{line-height: 1.6em;margin: 0;}

@font-face {
    font-family: 'lemonchickenregular';
    src: url('font/LEMONCHI-webfont.eot');
    src: url('font/LEMONCHI-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/LEMONCHI-webfont.woff') format('woff'),
         url('font/LEMONCHI-webfont.ttf') format('truetype'),
         url('font/LEMONCHI-webfont.svg#lemonchickenregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body{
	margin: 0 auto;
	padding: 0;
	box-sizing:border-box;
	background-color: #fafafa !important;
	font-family: sans-serif;
	overflow-x: hidden;
}
body > a{
	color: #4E1697;
}
body > a:hover{
	color: #8e44ad;
}
a{
	text-decoration: none;
	color: #ec0b43;
}
a:hover{
	text-decoration: underline;
}
header{
	background: #fff;
	width: 100%;
}
.IFMSA_MOROCCO img{
	display: block;
	width: 90%;
	margin: auto;
	padding-top: 36px;
}
nav.menu{
	width: 100%;
	margin: auto;
	text-align: center;
	z-index: 100000;
	position: fixed;
	background-color: #fff; 
}
nav.menu > ul{
	display: inline-block;
	height: 36px;
    margin: 0;
    padding: 0;
}
.menu > li, .sub-menu > li{
	display: inline-block;
	cursor: pointer;
	vertical-align: top;
	padding: 4px 0px 4px 0px;
}

.menu a{
	color: #ec0b43;
	padding: 8px 19px;
	font-size: 18px;
	font-weight: bold;
}

.menu a:hover{
	background-color: #ec0b43;
	color: #fff;
}
.menu a i{
	font-size: 22px;
}

.sub-menu{
	padding: 0px;
	background-color: #ec0b43;
	-moz-box-shadow: 0px 5px 5px 0px #656565;
-webkit-box-shadow: 0px 5px 5px 0px #656565;
-o-box-shadow: 0px 5px 5px 0px #656565;
box-shadow: 0px 5px 5px 0px #656565;
filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=180, Strength=5);
}
.sub-menu li{
	list-style-type: none;
	display: block;
}

#loginform{
	width: 200px;
	background-color: #ec0b43;
	padding: 3px 15px 0px 15px;
}
.login-username, .login-password{
	margin: 2px 0px;
}
.login-username label, .login-password label, .login-remember label{
	font-size: 14px;
	color: #fff;
	text-align: left;
}
.login-remember, .login-submit{
	display: inline-block;
}
.login-remember input[type=checkbox]{
	border: 1px solid #b4b9be;
    background: #fff;
    color: #555;
    clear: none;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    height: 16px;
    margin: -4px 4px 0 0;
    outline: 0;
    padding: 0!important;
    text-align: center;
    vertical-align: middle;
    width: 16px;
    min-width: 16px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
    -webkit-transition: .05s border-color ease-in-out;
    transition: .05s border-color ease-in-out;
}
.login-submit input[type=submit]{
	color: #ec0b43;
	font-weight: bold;
	cursor: pointer;
	background: rgba(255,255,255,1);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
}
.register, .lostpassword{
	color: #fff !important;
	padding: 0px 0px 10px 15px !important;
	font-size: 14px !important;
	display: block;
	text-align: left;
}
.sub-menu li a{
	color: #fff !important;
	padding: 15px !important;
	font-size: 14px !important;
	display: block;
	text-align: center;
}
.carousel{
	width: 1366px;
	margin: auto;
	height: 700px;
	overflow: hidden;
	/*
	-moz-box-shadow: 0px 3px 10px 3px #656565;
	-webkit-box-shadow: 0px 3px 10px 3px #656565;
	-o-box-shadow: 0px 3px 10px 3px #656565;
	 box-shadow: 0px 3px 10px 3px #656565; 
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=180, Strength=10); */
}

.carousel a{
	position: relative;
}
.carousel h2{
	width: 100%;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.2);
	bottom: 0;
	left: 0;
	padding: 1%;
	color: #ec0b43;
	position: absolute;
	margin-bottom: 0;
}
.carousel a img{
	min-height: 700px;
	min-width: 1366px;
}
/*
.fa-chevron-circle-left,
.fa-chevron-circle-right
{
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: #ec0b43;
    border: none;
    outline: none;
    background: transparent;
    z-index: 2000;
}
.fa-chevron-circle-left
{
    left: -75px;
}
[dir='rtl'] .fa-chevron-circle-left
{
    right: -75px;
    left: auto;
}

.fa-chevron-circle-right
{
    right: -25px;
}
[dir='rtl'] .fa-chevron-circle-right
{
    right: auto;
    left: -25px;
} */
.container{
	width: 80%;
	margin: auto;
	margin-top: 0px;
	margin-bottom: 20px;
	background-color: #fafafa;
	/* box-shadow: 0 0 7px 1px #bbb;*/
}
.sidebar{
	display: inline-block;
	width: 30%;
	padding: 10px;
	vertical-align: top;
}
.sidebar .sondage{
	width: 80%;
	margin: auto;
	background: #272A32;
    border: 1px solid #eee;
    padding-bottom: 10px;
}
.sidebar .sondage h4{
	width: 70%;
	margin: auto;
	margin-top: 15px;
	background-color: #ec0b43;
	color: #fafafa;
	text-align: center;
}
.sidebar .sondage > .wp-polls{
	padding: 0 10px;
	width: 80%;
    margin: auto;
}
.sidebar .sondage > .wp-polls p strong{
	color: #fff;
}
.wp-polls-ul li{
	color: #fff;
}
.wp-polls .Buttons{
	color: #ec0b43;
	font-weight: bold;
	border: #FF9E02;
	width: 50%;
	background: rgba(255,255,255,1);
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
}
.wp-polls .Buttons:hover{
	cursor: pointer;
}
.posts{
	display: inline-block;
	width: 65%;
	margin: 10px;
	display: inline-block;
}
.post{
	border-bottom: solid 1px #bbb;
	background-color: #fafafa;
	border: 1px solid #eee;
}
.post .image{
	width: 98%;
	margin: auto;
	height: 300px;
	overflow: hidden;
	box-shadow: 0 0 10px 0.1px #bbb;
	text-align: center;
}
.post p a{
	color: #ec0b43;
}
.post h2{
	margin-top: 0px;
	margin-bottom: 0;
}
.post h2 a{
	width: 96%;
	font-size: 22px;
	color: #ec0b43;
	padding: 15px;
	padding-bottom: 0;
}

.post p{
	padding: 20px;
	padding-top: 0px;
	margin-top: 0;
	width: 94%;
	text-indent: 20px;
	font-size: 16px;
	text-align: justify;
	color: #3D3C3C;
}
.post p:first-of-type, .post p:last-of-type{
	margin: 0;
	padding: 0;
}
.post p a{
	color: #2980b9;
}
.post table{
	border-collapse: collapse;
}
.post table td{
	border: 1px solid #3D3C3C;
}
.post h5{
	display: inline-block;
	margin: 15px;
}
.post h5 a{
	font-size: 15px;
	text-align: left;
	background-color: #ec0b43;
	color: #fff;
	padding: 5px;
}
.post .date{
	float: right;
	font-size: 15px;
	margin-left: 2%;
	text-align: left;
	color: #ec0b43;
	padding: 5px;
	margin: 10px;
}
.see_more{
	width: 100%;
	margin: auto;
	font-size: 20px;
	text-align: center;
	cursor: pointer;
	display: block;
	color: #ec0b43;
}
.pagination{
	display: block;
	text-align: center;
	margin: 10px;
	width: 100%;
	color: #ec0b43;
}
.pagination .page-numbers{
	color: #ec0b43;
}
.pagination a:hover{
	color: #00ae8c;
}
.pagination .current{
	color: #00ae8c;
}
.posts .storepost{
	width: 30%;
	float: left;
	margin: 1%;
}
.posts .storepost .image{
	height: 200px !important;
}
.posts > .category_name{
	background-color: #ec0b43;
}
.posts > .category_name a{
	color: #fff;
	padding-left: 2%;
}
.container > .category_name{
	background-color: #ec0b43;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 10px;
}
.container > .category_name a{
	color: #fff;
	padding: 2%;
}
.container > .greetings{
	display: inline;
	color: #fff;
	background-color: #ec0b43;
	padding: 5px;
    border-radius: 5px;
}
.shownews, .showstore{
	color: #3D3C3C;
	padding: 50px;
	padding-top: 0px;
}
.showstore{
	background-color: #fff;
	box-shadow: 0 0 7px 1px #bbb;
}
.shownews .title, .showstore .title{
	color: #00ae8c;
	text-align: center;
	font-size: 45px;
	text-decoration: underline;
	margin-top: 10px;
	margin-bottom: 15px;
}
.shownews .image, .showstore .image{
	width: 98%;
	margin: auto;
	text-align: center;
}
.shownews .image img{
	max-height: 600px;
	box-shadow: 0 0 7px 1px #bbb;
}
.showstore .image img{
	width: 563px;
	box-shadow: 0 0 7px 1px #bbb;
}
.shownews p, .showstore p{
	text-indent: 2%;
	font-size: 20px;
	color: #272A32;
}
.shownews p a, .showstore p a{
	color: #2980b9;
}
/*
.shownews figure img, .shownews p a img{
	max-width: 50%;
	max-height: 500px;
	margin: 3px;
	box-shadow: 0 0 7px 1px #bbb;
}
*/
.shownews p iframe, .showstore p iframe{
	display: block;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	box-shadow: 0 0 7px 1px #bbb;
}

.shownews .top, .showstore .top{
	border-top: solid 1px #bbb;
	border-bottom: solid 1px #bbb;
	margin-top: 10px;
}
.shownews .tags, .showstore .tags{
	margin-bottom: 10px;
}
.shownews .top a, .showstore .top a{
	color: #ec0b43;
    padding: 5px;
    border-radius: 5px;
}
.shownews .top h5, .showstore .top h5{
	margin: 0;
	display: inline-block;
	font-style: italic;
	font-size: 18px;
	color: #ec0b43;
}
.shownews .top h5 > .fa-user-circle{
	margin-right: 5px;
}
.shownews h6, .showstore h6{
	display: inline-block;
	float: right;
	font-size: 18px;
	color: #ec0b43;
}
.shownews .socialplugins, .showstore .socialplugins{
	border-top: solid 1px #bbb;
	border-bottom: solid 1px #bbb;
	line-height: 2.3;
}
.shownews .date{
	color: #ec0b43;
	float: right;
}
.fa-clock-o{
	margin-right: 5px;
}
.legend{

}
.legend span{
	display: block;
	font-weight: bold;
}
.projects_table{
	width: 100%;
	border-collapse: collapse;
}
.tablehead{
	background-color: #272A32;
	color: #fff;
	padding: 5px;
	border: 3px solid #272A32;
	text-align: center;
}
.projects_table td{
	padding: 5px;
	border: 3px solid #272A32;
	text-align: center;
	color: #272A32;
	font-weight: bold;
}
.totalpoints{
	color: #fff;
	background-color: #ec0b43;
	display: inline-block;
	padding: 5px;
}
#addProjectForm, #approveProjectForm, #deleteProjectForm{
	display: inline-block;
}
.projects_table td input[type="submit"], #approveProjectForm input[type="submit"], #deleteProjectForm input[type="submit"]{
	padding-left: 5px !important;
	padding-right: 5px !important;
	cursor: pointer;
}
.contact-us-form{
	padding: 10px !important;
}
.contact-us-form label{
	color: #ec0b43;
}
.contact-us-form .wpforms-submit{
	color: #ec0b43 !important;
	font-weight: bold;
}
.contact-us-form .wpforms-submit-container{
	width: 25% !important;
	margin: auto !important;
}
footer{
	background-color: #272A32;
}
.socialmedia, .contact, .partners{
	width: 405px;
	padding: 30px 20px;
	padding-top: 0px;
	display: inline-block;
	vertical-align: top;
	color: #fff;
}
footer span{
	width: 350px;
	display: inline-block;
	margin-bottom: 15px;
}
footer h5{
	font-size: 25px;
    text-decoration: underline;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}
.contact i{
	margin-right: 20px;
	display: inline-block;
    vertical-align: top;
	color: #ec0b43;
}
.socialmedia .fb-page, .socialmedia .twitter-follow-button{
	display: block;
	margin: auto;
	width: 340px;
}
.copyright{
	color: #ec0b43;
	display: block;
	margin: auto;
	text-align: center;
	font-weight: bold;
}
.background-red{
	background-color: #ec0b43;
	color: #fff;
	padding: 0px !important;
}
.background-orange{
	background-color: #e67e22;
	color: #fff;
	padding: 0px !important;
}
.background-green{
	background-color: #00ae8c;
	color: #fff;
	padding: 0px !important;
}
.red{
	color: #ec0b43;
}
.orange{
	color: #e67e22;
}
.green{
	color: #00ae8c;
}
@media (max-width: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 0;
	}
	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer les éléments superflus */

	.hide_mobile {
		display: none !important;
	}
	
	.top-bar{
		position: fixed;
    	padding: 8px;
    	background-color: #fff;
    	width: 100%;
    	z-index: 1000
	}
	.menu{
		width: 80% !important;
		padding: 10px;
	}
	.menu ul li{
		width: 100%;
	}
	#loginform .login-submit{
	    display: block;
	    z-index: 10000;
	}
	.IFMSA_MOROCCO{
		padding-top: 10px;
	}
	.posts{
		width: 100%;
		margin-right: 0px;
		margin-left: 0px;
	}
	.post .image{
		max-height: 300px !important;
		height: auto !important;
	}
	.post h2{
		width:90%;
		margin: auto;
		line-height: normal;
	}
	.post h2 a {
		font-size: 15px;
	}
	.post p{
		font-size: 12px;
		width:100%;
	}
	.shownews, .showstore{
		padding: 0px;
	}
	.shownews .title, .showstore .title{
		font-size: 18px;
	}
	.container > .category_name{
		padding: 0px;
		background-color: #ec0b43;
	}
	.container > .category_name a{
		font-size: 22px;
		background: none !important;
	}
	.top h5{
		font-size: 15px !important;
	}
	.shownews .tags, .showstore .tags{
		font-size: 12px;
	}
	.shownews p, .showstore p{
		font-size: 12px;
	}
	.projects_table .tablehead{
		display: none;
	}
	.projects_table tr{
		display: grid;
		width: 300px;
		margin-bottom: 10px;
	}
	.projects_table tbody td:first-child{
		height: 25px;
	}
	.sidebar{
		width: 100%;
	}
	.sondage{
		width: 100% !important;
	}
	.socialmedia, .contact, .partners{
		width: 100%;
		padding: 2%;
	}
	footer span{
		width: 80%;
	}
}
/* vert #00ae8c 
rouge #ec0b43
*/