/**
* Theme Name: Wordbench Child
* Theme URI: http://preview.lsvr.sk/wordbench
* Description: Wordbench child theme
* Author: LSVRthemes
* Author URI: http://themeforest.net/user/LSVRthemes/portfolio
* Template: wordbench
* Version: 1.2.0
*/

/* Add your custom CSS after this comment */

/* -----------------------------------------------------------------------------

    RESPONSIVE DEFINITIONS

----------------------------------------------------------------------------- */

    /* -------------------------------------------------------------------------
        LARGE DEVICES
		devices with width between 992px and 1199px
    ------------------------------------------------------------------------- */

    @media ( max-width: 1199px ) {

		/* your CSS here */

	}

    /* -------------------------------------------------------------------------
        MEDIUM DEVICES
		devices with width between 768px and 991px
    ------------------------------------------------------------------------- */

    @media ( max-width: 991px ) {

		/* your CSS here */

	}

	/* -------------------------------------------------------------------------
        SMALL DEVICES
		devices with width between 481px and 767px
    ------------------------------------------------------------------------- */

    @media ( max-width: 767px ) {

		/* your CSS here */

	}

	/* -------------------------------------------------------------------------
        EXTRA SMALL DEVICES
		devices with width up to 480px
    ------------------------------------------------------------------------- */

	@media ( max-width: 480px ) {

		/* your CSS here */

	}

/* HELPERS SCENARII */

.dflex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
.-wrap {
	flex-wrap: wrap;
}
.-column {
	flex-direction: column;    
}
.-justify-center {
	justify-content: center;
}
.-align-items-center {
	align-items: center;
}

.fl-r {float: right;}
.fl-l {float: left;}
.w100 {width: 100%;}
.tx-l {text-align: left;}
.tx-r {text-align: right;}
.tx-c {text-align: center;}

/* Surcharge theme */
.main-header {
	margin-bottom: 0;
}
h1.main-header__title:last-child {
	margin-bottom: 0;
}
.post__content ul li {
	margin: 0 0 15px 0;
}
.home #acces_rapide_home #menu-acces-rapides:before,
.home #acces_rapide_home #menu-acces-rapides:after {
	display: none;
}
.home #acces_rapide_home li {
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
@media (min-width: 768px) {
	.home #acces_rapide_home li {
		width: calc(100% / 4);		
	}
}
.home .wp-block-column {
	margin: 0 auto;
}
body:not(.home) .lsvr-wordbench-post-grid__inner {
	padding: 15px 0 0 0;
}
.lsvr-wordbench-post-grid__header {
	margin: 30px 0 15px 0;
}
/* Page "Démarches" + "Santé" */
.page-id-27 .lsvr-wordbench-post-grid__content .lsvr-grid,
.page-id-45 .lsvr-wordbench-post-grid__content .lsvr-grid {
	flex-direction: column;
}
.lsvr-wordbench-post-grid__title {
	font-size: 2.5rem;
}

.lsvr-wordbench-post-grid--layout-photogrid .lsvr-wordbench-post-grid__post-bg:before {
    background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.8) 100%);
}

.lsvr-wordbench-slider__item-title {
    line-height: 3.5rem;
}