/*------------------------------------------------ Global ------------------------------------------------------*/
.page-id-5226 .ast-article-single{
		padding:0 !important
}
#primary{
		margin-top:0 !important;
		margin-bottom:0 !important
}
#content{
		min-height:70vh;
		padding-top:125px
}
.site-header {
    position: fixed;
    width: 100vw;
}

.wp-block-essential-blocks-row{
		scroll-margin-top: 150px;
}

.full-height-column > div,
.full-height-column > div > div,
.full-height-column > div > div > div{
		height:100% !important
}

.main-block{
    box-shadow: 1px 1px 50px 0 #b4ac9cb0 !important;
}

.mc-list-date-wrapper{
		display: flex;
		flex-direction:row
}
.mc-list-date-wrapper .mc-event{
		width:50%
}
.mc-main.refresh .list-event .details img{
		max-height:300px
}
.details .longdesc {
  	height: 160px;
		overflow:hidden
}
.heading.my-calendar-month{
		background: transparent !important;
    border: none !important;
}

.ast-masthead-custom-menu-items.widget-custom-menu-item{
		position:fixed;
		right:0
}
.eb-socials{
		flex-direction: column !important;
		row-gap: 5px !important;
}
.eb-social-links-wrapper ul.eb-socials li a{
		font-size:16px !important
}

.page-id-5308 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
.page-id-5452 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
.page-id-5486 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
.page-id-5314 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
.page-id-5310 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
.page-id-5312 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
.page-id-5571 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child {
	max-height: 330px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 1px 1px 20px 0 #2a251c9e !important;
	height: min-content;
}

.single .entry-header .post-thumb img{
	margin-top:5vh;
	max-height: 500px;
  width: auto;
}

/*------------------------------------------------ Media query < 1537px (PC portable) ------------------------------------------*/
@media (max-width:1537px){
		.ast-main-header-bar-alignment{
  			margin-right: 6vw !important;
		}
		.shadow-block{
				margin: 80px 3vw !important;
		}
}


/*------------------------------------------------ Media query < 1380px (tablette horizontale) ------------------------------------------*/
@media (max-width:1380px){
		.shadow-block{
				margin: 50px 3vw !important;
		}
		.ast-masthead-custom-menu-items.widget-custom-menu-item{
				right:-30px;
		}
		.wp-block-essential-blocks-row.alignfull > div > div{
				padding-left:80px;
				padding-right:80px;
		}
		.ast-main-header-bar-alignment {
  			margin-right: 30px !important;
		}
}

/*------------------------------------------------ Media query < 1025px (tablette verticale) ------------------------------------------*/
@media (max-width: 1025px) {
		.shadow-block{
				gap: 0 !important;
				margin: 50px 3vw !important;
		}
    .main-block{
				flex-basis:100% !important;
		}
		.not-main-block{
				flex-basis:0 !important
		}
		.eb-socials{
				flex-direction: row !important;
				column-gap: 5px !important;
		}
		.wp-block-essential-blocks-row.alignfull > div >div {
				padding-left:50px;
				padding-right:50px;
		}
		.page-id-5308 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5452 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5486 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5314 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5310 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5312 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5571 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child{
				max-height: 250px;
		}
}

/*------------------------------------------------ Media query < 922px (petite tablette verticale) ------------------------------------------*/
@media (max-width: 922px) {
		.ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle{
				background:transparent;
				color:var(--ast-global-color-1)
		}
		.ast-button-wrap .menu-toggle .menu-toggle-icon:before{
				font-size:35px;
				line-height:1.5
		}
	  .ast-masthead-custom-menu-items.widget-custom-menu-item{
				right:80px;
				top:20px
		}
		.ast-main-header-bar-alignment{
  			margin-right: 0 !important;
		}
}

/*------------------------------------------------ Media query < 782px (smartphone) -------------------------------------------*/
@media (max-width: 782px) {
		#content{
			padding-top:80px;
		}
    .main-block{
				padding: 30px !important;
		}
		.ast-button-wrap .menu-toggle .menu-toggle-icon:before{
				font-size:30px;
				line-height:1.5
		}
		.mc-main.refresh .list-event .details img{
				max-height:200px
		}
		.mc-list-date-wrapper{
				display: flex;
				flex-direction:column
		}
		.mc-list-date-wrapper .mc-event{
				width:100%
		}
		.wp-block-essential-blocks-row.alignfull > div >div {
				padding-left:30px;
				padding-right:30px;
		}
		.page-id-5308 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5452 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5486 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5314 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5310 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5312 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child,
		.page-id-5571 .eb-parent-wrapper .wp-block-essential-blocks-column:first-child{
				max-height: 200px;
		}
		.single .entry-header .post-thumb img{
				margin-top:2vh;
	      max-height: 300px;
        width: auto;
}

}

/*------------------------------------------------ Media query < 782px (smartphone) -------------------------------------------*/
@media (max-width: 545px) {
		.ast-masthead-custom-menu-items.widget-custom-menu-item{
				right:50px;
				top:0px
		}
		.eb-social-links-wrapper ul.eb-socials li a{
				font-size:14px !important
		}
}