/*
 Theme Name:   AMMI Thème
 Description:  Thème Elementor pour le site de l'association AMMI
 Author:       Matthieu Devaux
 Author URI:   https://www.md-webdesigner.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

html {
	font-size:62.5%;
}

p, a {
    word-break: break-word;
    hyphens: manual;
}

header.elementor-sticky--active {
	min-height:70px;
}

header.elementor-sticky--active .e-con-inner {
    padding:0;
}

header:not(.elementor-sticky--active) #logo-main {
    position: absolute;
    top:-55px;
    width:200px;
    height:230px;
    overflow:hidden;
    z-index:10;
}

header.elementor-sticky--active  #logo-main {
    position: relative;
    width:50px;
    height:50px;
    background:white;
    overflow:hidden;
}

header.elementor-sticky--active  #logo-main img {
    width:100%!important;
    height: 100%!important;
    object-fit: contain;
    object-position: center bottom;
    margin-top:-40px;
}

header:not(.elementor-sticky--active)  #logo-main .elementor-widget-container { 
    position: relative;
    display:block;
    text-align: center;
    z-index:1;
    background:white;
    border-radius:0 0 20px 0;
    height:200px;
    border: 1px solid #ccc;
}

header.header:not(.elementor-sticky--active)  #logo-main .elementor-widget-container {
    background:white;
    
}

header:not(.elementor-sticky--active) #logo-main .elementor-widget-container:before {
    position: absolute;
    right: 3px;
    top: 102%;
    margin-top: -50px;
    height: 60px;
    width: 100%;
    content: "";
    -webkit-transform: rotate(-8deg);
    -ms-transform: rotate(-8deg);
    transform: rotate(-8deg);
    border-radius: 20px;
    background:#FFF;
    border-bottom:thin solid #ccc;
    z-index:-1;
}

header.elementor-sticky--active .elementor-widget-nav-menu .elementor-widget-container {
    margin-left:0!important;
}

.player-video:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 100%;
    height: 100%;
    background: url(https://md-webdesigner.com/ammi/wp-content/uploads/2024/12/etoile.png);
    transform: rotate(-1deg);
    opacity: .5;
}

.wpr-member-image img {
    height: 250px!important;
    width: 250px;
    object-fit: cover;
    border-radius: 50%!important;
    margin: auto;
}

.elementor-counter .elementor-counter-title {
	text-align:center;
}

.calendar-home ul.simcal-events {
    margin: 0 !important;
    padding: 0;
}

.calendar-home .home-event {
    display: flex;
    color: #fff;
    gap: 10px;
	    border-bottom: 2px solid #fff;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.calendar-home .home-event-date {
    width: 35%;
}

.calendar-home .home-event-day span.simcal-event-start.simcal-event-start-date {
    font-family: "Poppins", Sans-serif;
    font-size: 7rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 7rem;
}

.calendar-home .home-event-month span.simcal-event-start.simcal-event-start-date {
    font-family: "Poppins", Sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 3rem;
}

.calendar-home .home-event-main {
    width: 63%;
}

.calendar-home a.home-event-title {
    font-family: "Itim", Sans-serif;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--e-global-color-secondary);
}

.calendar-home .simcal-event-description p {
    font-family: "Poppins", Sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #FFFFFF;
}

.calendar-home .home-event-time {
    font-weight: 900;
}

.um a.um-button, .um a.um-button.um-disabled:active, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:hover, .um input[type=submit].um-button, .um input[type=submit].um-button:focus
 {
    background: #155ba7!important;
    border: thin solid #f39200!important;
	 font-weight:600!important;
}

.um .um-button.um-alt, .um input[type=submit].um-button.um-alt {
    background: #fff!important;
    color: #f39200 !important;
    border: thin solid #f39200!important;
    font-weight: 600 !important;
}

.elementor-widget-theme-post-featured-image.elementor-widget-image a {
    width: 100%;
}