/* 
Theme Name: Ionis next child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
GitHub Theme URI: https://github.com/ionis-education-group/ionisnext-theme
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/


/* SHORT CODE AGENDA HOMEPAGE */
.event {
	margin-bottom:80px;
	height:109px;
	position:relative;
}

.date {
	color:#ffffff;
  	background:linear-gradient(#2a49a0,#1d84c7);
	font-weight:700;
	font-family:'Nunito Sans',sans-serif;
	font-size:37px;
	line-height:20px;
	width:109px;
	height:109px;
	text-transform:uppercase;
	text-align:center;
	vertical-align:middle;
	padding-top: 34px;
	float:left;
}

.mois {
	font-size:15px;
}

.agenda.image {
	max-width:226px !important;
	height:109px;
	float:left;
	margin-left:10px;
	margin-right:20px;
	overflow:hidden;
}

.content {
	font-size:15px;
	float:left;
	color:black;
	font-weight:600;
	width:60%;
	max-height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content p:after {
	content:"...";
}

.agenda .categorie {
	color:#d01a35;
	font-weight: 700;
	text-transform:uppercase;
	font-size:11px;
	line-height:33px;
	position:absolute;
	left:32.3%;
	top:75%;
}

.more {
	text-align:right;
	padding-top:35px;
}

.more a {
	background:linear-gradient(#2a49a0,#1d84c7);
	font-weight:200;
	color:#ffffff;
	font-family:'Nunito Sans',sans-serif;
	font-size:30px;
	padding:0px 10px 0px 10px;
}

.more a:hover {
	background:#d01a35;
	color:#ffffff;
}


@media screen and (max-width:768px){
	.content {
		width:40%;
		font-size:12px;
		max-height:74px;
		text-overflow:clip;
	}
	
	.more a {
		color:#ffffff;
	}
	
	.image {
		width:218px;
	}
	
	.agenda .categorie {
		position:unset ;
		float:left;
	}
	
}

@media screen and (max-width:990px){
	.event {
		height:auto;
	}
	
	.date {
		width:100%;
	}
	.home-agenda .image{
		width:100% !important;
		float:left !important;
	}
	.image {
		width:100%;
		margin-left:0px;
		margin-right:0px;
	}

	.content {
	font-size:15px;
	float:left;
	width:100%;
	color: black;
	font-weight:600;
	margin-top:20px;
	max-height:70px;
	}
	
	.agenda .categorie {
		color:#d01a35;
		background:#ffffff;
		padding:0px 8px 0px 8px;
		top:11%;
		left:2.5%;
	}
}

/* fin SHORT CODE AGENDA HOMEPAGE */


/* SHORT CODE NEWS (page actualités) */

.actualites {
	margin-top:50px;
}

.actualites .actualite {
	margin-bottom:55px;
}

.actualites .image {
	width:50%;
	height:auto;
	position:relative;
	max-width:560px !important;
	max-height:280px !important;
	float:left;
	margin-right:15px;
}

.actualite .image:before {
	content:"";
	background-image:url("https://ionisnext.com/wp-content/uploads/2019/11/fleche-actu-gauche.png");
	position:absolute;
	left:2%;
	top:3%;
	display:block;
	width:40px;
	height:40px;
	padding:25px;
}


.actualite .image:after {
	content:"";
	background-image:url("https://ionisnext.com/wp-content/uploads/2019/11/fleche-actu-droite.png");
	position:absolute;
	left:89%;
	top:78%;
	display:block;
	width:40px;
	height:40px;
	padding:25px;
	
}

.actualites .titre h2
{
	font-size:28px !important;
	color:#312883;
}

.actualites .date
{
	font-size:25px;
	color:#d01a35;
	width:100%;
	background:none;
	text-align:left;
	text-transform:initial;
	padding-top:0px;
	height:auto;
	line-height:27px;
	float:none;
	margin-top:-8px;
}

.actualites .content {
	width:45%;
	float:none;
	margin-top:30px;
	font-weight:700;
	color:#333;
}

.actualites .content p:after {
	content:"...";
}

.actualites .parent-categorie {
	width:45%;
	float:left;
}

.actualites .categorie {
	background:#d01a35;
	color:#ffffff;
	font-size:15px;
	text-transform:uppercase;
	font-weight:700;
	width:max-content;
	padding:5px;
	margin-bottom:35px;
}

.actualites .more {
	border-bottom:1px solid #e5e5e5;
	margin-top:-30px;
}

.actualites .more a {
	position:relative;
	top:21px;
}
.home-agenda .image img {
    height: 110px;
    object-fit: cover;
}
.elementor img{
	margin-bottom:40px;
}
@media screen and (max-width:768px){
	.actualites .image {
		width:100%;
		text-align:center;
		margin-left:0px;
		max-width:100% !important;
	}
	
	.actualite .image:before {
		left:4%;
		top:4%;
	}
	
	.actualite .image:after {
		top:78%;
	}
	
	.actualites .parent-categorie {
		padding:20px;
		width:100%;
	}
	
	.actualites .categorie {
		width:max-content;
	}
	
	.actualites .titre h2, .actualites .date, .actualites .content, .actualites .more {
		padding:0px 20px 0px 20px;
	}
	
	.actualites .content {
		margin-bottom:20px;
		width:45% !important;
	}
}
@media (max-width:414px){
	.actualite .image.alaune{
		height:215px !important;
		max-height: 215px !important;
	}
}
@media screen and (max-width:990px) {
	.line-3{
		  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
	}
	.actualites .parent-categorie, .actualites .image {
		padding:10px;
	}
	.actualites .parent-categorie{
		height:60px;
	}
	.actualite .image {
		max-height:360px !important;
		display:flex;
		margin:0px;
	}
	.image.alaune img {
    margin: 0px;
	}
	.actualite .image  .alaune{
		max-height:180px !important;	
	}
	.actualite .image img {
		min-height: -webkit-fill-available;
		object-fit: cover;
	}
	.home-agenda .image{
		width:100% !important;
		float:left !important;
		margin:0px !important;
	}
	.home-agenda .image img{
		width:100%;
	}
	.home-agenda .bloc-categorie{
		float:left;
		display:block;
		width:100%;
	}
	.actualite .image:before {
		left:5%;
		top:9%;
		width:24px;
		height:24px;
	}
	
	.actualite .image:after {
		left:81%;
		top:68%;
		width:24px;
		height:24px;
	}
	
	.actualites .titre h2, .actualites .date, .actualites .content, .actualites .more {
		padding:0px 10px 0px 10px;
	}
	
	.actualites .titre h2 {
		font-size:17px !important;
	}
	
	.actualites .date {
		font-size:16px;
	}	
	.actualites .content {
		font-size:13px;
		width:100% !important;
		margin-top:5px;
		margin-bottom:10px;
	}
}

@media screen and (max-width:320px) {
	.actualite .image:before {
		left:6%;
		top:10%;
	}
	
	.actualite .image:after {
		left:77%;
		top:65%;
	}
	
	.actualite .image {
		max-height:164px !important;	
	}
}

/* fin SHORT CODE NEWS (page actualités) */




/* SHORT AGENDA INTERNE (page événements) */

.agendaevent.interne {
	margin-top:50px;
	/*height:319px;*/
	margin-bottom:55px;
}

.agendaevent.interne .event {
	margin-bottom:50px;
	height:319px;
}

.agendaevent.interne .date_categorie {
	float:left;
	margin-right:-10px;
	height:319px;
}

.agendaevent.interne .date {
	float:none;
	height:165px;
	padding-top:60px;
}

.agendaevent.interne .categorie {
	width:109px;
	height:165px;
	color:#d01a35;
	font-size:15px;
	font-weight:700;
	text-transform:uppercase;
	text-align:center;
	padding:5px;
	padding-top:60px;
	margin-right:10px;
}

.agendaevent.interne .image {
	width:53%;
	height:auto;
	float:left;
	max-height:298px !important;
	max-width:593px !important;
}

.agendaevent.interne .content {
	width:32%;
	font-size:16px;
	font-weight:600;
	line-height:21px;
	max-height: 298px;
    overflow: hidden;
	padding-left:15px;
	color:#000000;
}
.home-agenda .image{
	width: 214px;
    float: left;
    margin-left: 11px;
    margin-right: 30px;
}
.titre{
	font-size: 19px;
    color: #312883;
    font-weight: 700;
}

.agendaevent.interne .content p:after {
	content:"...";
}

.agendaevent.interne .content h2 {
	font-size:25px;
	color:#312883;
	font-weight:700;
	margin-top:40px;
}

.agendaevent.interne .more {
	clear:both;
	padding-top:0px !important;
	border-bottom:1px solid #e5e5e5;
	position:relative;
	bottom:52px;
}

.agendaevent.interne .more a {
	position:relative;
	bottom:-21px;
}


@media screen and (max-width:768px) {
	.agendaevent.interne .event {
		margin-bottom:50px;
	}
	
	.agendaevent.interne, .event {
		height:auto !important;
	}
	
	.agendaevent.interne .date, .agenda.interne .categorie {
		width:100%;
	}
	
	.agendaevent.interne .date_categorie {
		margin-right:0px;
		width:100%;
	}
	.agendaevent.interne .categorie {
		width:100%;
	}
	.agendaevent.interne .image {
		width:100%;
		margin-left:0px;
		margin-right:0px;
	}
	
	.agendaevent.interne .content {
		width:100%;
	}
	
	.agendaevent.interne .content h2 {
		margin-top:20px;
	}
	
	.agendaevent.interne .more {
		position:relative;
		bottom:10px;
	}
}


@media screen and (max-width:414px) {
	.agendaevent.interne .date_categorie {
		height:131px;
		width:100%;
	}
	
	.agendaevent.interne .date, .agenda.interne .categorie {
		height:50%;
	}
	
	.agendaevent.interne .date {
		padding-top:14px;
		font-size:20px;
	}
	
	.agendaevent.interne .date .mois {
		font-size:13px;
	}
	
	.agendaevent.interne .categorie {
		font-size:13px;
		padding-top:22px;
	}
	
	.agendaevent.interne .image {
		width:100%;
		max-height:123px !important;
	}
	
	.agendaevent.interne .content h2 {
		font-size:17px;
	}
	
	.agendaevent.interne .content {
		font-size:13px;
	}
}


@media screen and (max-width:320px) {
	.agendaevent.interne .date_categorie, .agenda.interne .date, .agenda.interne .categorie { 
		width:100%;
	}
	
	.agendaevent.interne .date .mois {
		font-size:10px;
	}
	
	.agendaevent.interne .categorie {
		font-size:10px;
	}
	
	.agendaevent.interne .image {
		width:100%;
	}
	
	.agendaevent.interne .content h2 {
		font-size:18px;
	}
}
.agendaevent.interne .image img {
    min-height: 313px;
	object-fit: cover;
}
 /* fin SHORT AGENDA INTERNE (page événements) */

/* ARROW SLIDER REVOLUTION ***/
.tparrows {
	display: none !important;
}
.tp-bullet.selected {
    display: none;
}

/***FIN ARROW SLIDER REVOLUTION **/

/*EVENT PAGE
 * 
 * BOUTON
 *
.bdt-ep-attention-button .bdt-advanced-button .bdt-advanced-button-effect-i .bdt-advanced-button-size-lg .elementor-animation-pulse-grow{
	background-image:linear-gradient(to bottom #2851a6 #1e7bc2);
}
 */

