/* ***************** *******************************************************************
* WordPress Theme  | LanteasOpenSoclePremiumThemeChild [child/fragment] - Lanteas.
* ***************** *******************************************************************
*/

/*div#home[role="region"] ul#tiles-panel{margin-left: 0px;}/**/
div#home[role="region"] ul#tiles-panel {
	display: grid;
	grid-template-rows: repeat(auto-fill, minmax(225px, 1fr));
	column-gap: 30px;
	row-gap: 30px;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* li wrapper */
ul#tiles-panel [id^="categorie_"].categories {}

/*div#home[role="region"] ul#tiles-panel li {
		  display: inline-block;
		  list-style: none outside none;
		  margin: 0 8px 8px 0;
		  vertical-align: top;
		  cursor:  pointer;
		}/**/
div#home[role="region"] ul#tiles-panel li {
	display: flex;
	list-style: none outside none;
	margin: 0 8px 8px 0;
	vertical-align: top;
	cursor: pointer;
	justify-content: space-around;
	align-items: center;
}

ul#tiles-panel li .service_categorie {}

ul#tiles-panel li .service_entite {}

.tile {
	border-radius: 3px;
	max-width: 250px;
	width: 250px;
	background-color: white;
	text-align: left;
	margin: 15px 15px 15px 0px;
	display: inline-block;
	height: 225px;
	text-decoration: none;
	vertical-align: top;
	position: relative;
	transition: transform 330ms;
	border: 1px solid black;
	cursor: pointer;
}

/** Note about this CSS implementation :
					This implementation allows to skin individually a tile by 
					passing it a dedicated data attribute into its inline style.
					*/
.tile {
	border-top-style: solid;
	border-top-color: var(--face-base-color, #6A747E);
	border-top-color: var(--data-ctx-color) !important;
	border-top-width: 0.5em;
	position: relative;
	display: inline-block;
}

/**/
.tile:focus {
	text-decoration: none;
}

.tile:hover,
.tile.selected {
	transform: scale(1.1);
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
	text-decoration: none !important;
	background-color: var(--face-base-color, #6A747E) !important;
	background-color: var(--data-ctx-color) !important;
	color: white !important;
}

/*.tile.menu_affichage_tile { margin-right : 30px !important }/**/
#top .tile.menu_affichage_tile {
	margin-left: 15px !important;
	text-decoration: none;
}

.tile.disabled {
	opacity: 0.5;
	cursor: url(../image/cross.svg) 12 12, no-drop;
}

.tile.disabled:hover {
	transform: scale(1);
	box-shadow: none;
}

.tile i.icone_service_menu {
	margin: 50px auto 20px auto;
	display: block;
	position: relative;
	line-height: 1em;
	width: 1.5em;
	text-align: center;
	height: 1em;
}

.tile i.icone_service_menu,
.tile span.name_service_menu {
	color: var(--face-base-color, #6A747E) !important;
}

/* Petit extra en vue des tuiles pouvant contenir des icônes dernière génération de la nouvelle librairie FontAwesome 5.13+ */
.tile .fab.fa-4x {
	font-size: 5em;
	line-height: 0.5em;
	width: 3.5rem;
	height: 3.5rem;
}

.tile:hover i.icone_service_menu,
.tile.selected i.icone_service_menu,
.tile:hover span.name_service_menu,
.tile.selected span.name_service_menu {
	color: white !important;
}

.tile h1 {
	color: #253340;
	display: block;
	font-family: "Segoe UI", Segoe, "Trebuchet MS", Tahoma, Geneva, sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 148%;
	margin: 0;
	padding: 10px;
	text-decoration: none;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	text-align: center;
}

.tile img {
	position: relative;
	left: 50%;
	margin: 5px 0 10px -25px;
}

.tile .name_service_menu,
.tile .name_profil_menu {
	font-size: 138% !important;
	display: inline-block;
	width: 100%;
	padding: 0 1rem;
	text-align: center;
	/* 4l. overflow */
	text-overflow: ellipsis;
	overflow: hidden;
	display: -webkit-box !important;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	white-space: normal;
}

.tile .name_service_menu.name_profil {
	font-size: 16px !important;
}

.tile .name_service_menu.menu_profil {
	margin-top: 60px;
	margin-bottom: 20px;
}

.tile p {
	text-align: center;
	margin: 0;
	font-size: 15px;
	font-weight: bolder;
	text-transform: initial;
	letter-spacing: normal;
	margin-left: 8px;
	margin-right: 8px;
}

#service_type_entite,
/* <-- remove ! */
.tile p.type_entite {
	color: #6A747E;
	font-weight: lighter;
	margin: 0;
	margin-top: 11px;
	height: 30px;
	position: absolute;
	top: 0;
	width: 100%;
	opacity: 0.9;
	font-size: 13px;
}

.tile:hover p.type_entite,
.tile.selected p.type_entite {
	color: white !important;
}


.date_session_ts {
	/* font-size: 0.66rem !important; /**/
	font-style: italic;
	display: block !important;
	flex-wrap: nowrap;
	white-space: pre-wrap;
	line-height: 14px;
	color: #7e7e7e;
	margin-bottom: 0rem;
}

.tile:hover .date_session_ts,
.avia-ts-button:hover .date_session_ts {
	color: white;
	transition: color .15s ease-in-out;
}

/* fa-lock / fa-lightbulb-o / */
i.custom-cirle-info {
	display: block;
	margin: 0 auto;
	width: 1rem;
	position: absolute;
	top: 0.6rem;
	right: 0.8rem;
	cursor: pointer;
	opacity: 0.6;
}

i.custom-cirle-info:before {
	color: #6a747e;
	font-size: 1.2rem;
}

.disabled:hover i.custom-cirle-info {
	opacity: 0.8;
}

.disabled:hover i.custom-cirle-info:hover,
i.custom-cirle-info:hover {
	opacity: 1;
}

i.custom-cirle-info.fa-lock {
	right: 2.4rem;
}

.tile:hover i.custom-cirle-info:before {
	color: white;
}

.tile.selected i.custom-cirle-info:before {
	color: white;
}

/* wit? */
#icone_service {
	font-size: 2.2rem;
	padding-top: 1px;
	color: #6A747E;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 35px;
	margin-top: 20px;
	margin-bottom: 20px;
}


/** Note about this CSS implementation :
					This implementation is for custom TS from AVIA button (link|button|tile) In <avia_button_teleservices_element> Class.
					*/
.avia-ts-link {}

.avia-ts-button {
	border-top-style: solid !important;
	border-top-color: var(--face-base-color, #6A747E);
	border-top-color: var(--data-ctx-color) !important;
	border-top-width: 0.25em !important;
	margin: 3px 5px !important;
	color: var(--face-base-color, #6A747E) !important;
}

.avia-ts-button:hover,
.avia-ts-button:focus,
.avia-ts-button:active {
	border-top-width: 0.25em !important;
	color: white !important;
}

.avia-ts-tile {
	margin: 3px 5px !important;
	border-top-style: solid !important;
	border-top-color: var(--face-base-color, #6A747E);
	border-top-color: var(--data-ctx-color) !important;
	border-top-width: 0.5em !important;
}

.avia-ts-tile:hover i.icone_service_menu,
.avia-ts-tile:focus i.icone_service_menu,
.avia-ts-tile:active i.icone_service_menu,
.avia-ts-tile:hover span.name_service_menu,
.avia-ts-tile:focus span.name_service_menu,
.avia-ts-tile:active span.name_service_menu {}




.avia-button.fa-onleft {
	padding-left: 2rem !important;
}

.avia-button.fa-onleft i.fa,
.avia-button.fa-onleft i.fab {
	transform: translateX(-0.4rem) translateY(25%);
	font-size: 1.5rem;
	line-height: 1rem;
}


.captions {
	padding: 0 10px 10px 10px;
	width: 100%;
}

.noselect {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Old versions of Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently  supported by Chrome, Opera and Firefox */
}