/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Version: 1.0
*/

/* Général */

h1, h2, h3, h4, h5, h6 {
	line-height: 1.3 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	font-weight: 400 !important;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.7rem;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.3rem;
}

h5 {
	font-size: 1.1rem;
}

h6 {
	font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
	padding-top: .8em !important;
	padding-bottom: 1em !important;
}

h1 {
	padding-top: 0 !important;
}

.elementor-widget-heading, .elementor-widget-heading > .elementor-widget-container {
	margin-bottom: 0 !important;
}

p {
	margin-bottom: 1rem !important;
	line-height: 1.6 !important;
}

figure {
	margin-bottom: 1rem !important;
}

.elementor-widget-nav-menu .fa {
	width: auto;
	font-size: 20px;
}

.fa.starter {
	margin-right: .4em;
    width: 1em;
}

h1 .fa.starter {
	margin-right: .8em;
    margin-left: -1.8em;
}

.aligncenter {
	margin: auto !important;
}

/* Discipline colors */

.mathematiques-colors {
	--color: hsl(6, 63%, 46%);
    --very-light-color: hsl(6, 63%, 98%);
    --light-color: hsl(6, 63%, 70%);
    --dark-color: hsl(6, 63%, 30%);
}

.biologie-colors {
	--color: hsl(145, 63%, 46%);
    --very-light-color: hsl(145, 63%, 98%);
    --light-color: hsl(145, 63%, 70%);
    --dark-color: hsl(145, 63%, 30%);
}

.histoire-art-colors {
	--color: hsl(24, 100%, 46%);
    --very-light-color: hsl(24, 100%, 98%);
    --light-color: hsl(24, 100%, 70%);
    --dark-color: hsl(24, 100%, 30%);
}

.informatique-colors {
	--color: hsl(204, 64%, 46%);
    --very-light-color: hsl(204, 64%, 98%);
    --light-color: hsl(204, 64%, 70%);
    --dark-color: hsl(204, 64%, 30%);
}

.litterature-colors {
	--color: hsl(293, 70%, 46%);
    --very-light-color: hsl(293, 70%, 98%);
    --light-color: hsl(293, 70%, 70%);
    --dark-color: hsl(293, 70%, 30%);
}

.philosophie-colors {
	--color: hsl(54, 70%, 46%);
    --very-light-color: hsl(54, 70%, 98%);
    --light-color: hsl(54, 70%, 70%);
    --dark-color: hsl(54, 70%, 30%);
}

.chimie-colors {
	--color: hsl(172, 63%, 46%);
    --very-light-color: hsl(172, 63%, 98%);
    --light-color: hsl(172, 63%, 70%);
    --dark-color: hsl(172, 63%, 30%);
}

.geologie-colors {
	--color: hsl(34, 71%, 46%);
    --very-light-color: hsl(34, 71%, 98%);
    --light-color: hsl(34, 71%, 70%);
    --dark-color: hsl(34, 71%, 30%);
}

.text-color {
	color: var(--color);
}

/* General cards */

.elementor-post {
	--color: hsl(0, 0%, 46%);
	--very-light-color: hsl(0, 0%, 98%);
	--light-color: hsl(0, 0%, 70%);
	--dark-color: hsl(0, 0%, 30%);
}

.elementor-post > div, .elementor-post > div > div, .elementor-post > div > div > div, .elementor-post .elementor-top-section {
	height: 100%;
}

.elementor-post .elementor-top-section {
	transition-property: all;
	transition-duration: .25s;
	border: 1px solid var(--light-color);
	border-radius: 5px;
	background-color: var(--very-light-color);
}

.elementor-post .elementor-top-section:hover {
	box-shadow: 0 0 10px var(--light-color);
}

.elementor-post .elementor-top-section .elementor-image {
	border-bottom: 1px solid var(--light-color);
}

.elementor-post .elementor-top-section .elementor-image a {
	display: block !important;
}

.elementor-post .elementor-top-section .elementor-image img {
	border-radius: 5px 5px 0 0;
}

.elementor-post .elementor-top-section .elementor-post__text {
	padding: 10px 15px;
}

.elementor-post .elementor-top-section .elementor-post__title {
	text-align: center;
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-post .elementor-top-section .elementor-post__title a {
	color: var(--dark-color) !important;
}

/* Event card */

.event-posts .elementor-image {
	border-bottom: 0 !important;
}

.event-posts .elementor-image img {
	border-radius: 5px !important;
}

/* Participant card */

.participant-posts .elementor-posts-container {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
}

.participant-posts .elementor-post {
	width: 200px !important;
	margin: 0 20px 35px 20px !important;
}

/* Talk card */

.talk-posts .card-thumbnail-offline {
	color: var(--color);
	width: 100%;
	padding-bottom: 56.25%;
	position: relative;
	text-transform: uppercase;
}

.talk-posts .card-thumbnail-offline > div {
	position: absolute;
	top: 0; right: 0; left: 0; bottom: 0;
	width: 130px;
	margin: auto;
}

.talk-posts .card-thumbnail-coming {
	height: 60px;
}

.talk-posts .card-thumbnail-coming > div {
	margin: 5px 0;
}

.talk-posts .card-thumbnail-coming i {
	margin-right: 10px;
}

.talk-posts .card-thumbnail-soon-online {
	height: 45px;
	text-align: center;
}

.talk-posts.horizontal .elementor-image {
	border-right: 1px solid var(--light-color);
	border-bottom: none;
}

/* Page événement */

h1 .edition {
	font-size: 70%;
	color: #888888;
}