/* MAP */
#SectMap #nrv-gm-map-container{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}
@media (max-width:991px){
	#SectMap #nrv-gm-map-container {
		position: relative;
		width: 100%;
		height: 100px;
		border-radius: 10px;
		overflow: hidden;
		height:clamp(447px,var(--pas)*447,577px);
		margin-bottom:24px;
	}
}
@media (max-width:767px){
	#SectMap #nrv-gm-map-container{
		height:clamp(288px,var(--pas)*288,460px);
	}
}
@media (max-width:479px){
	#SectMap #nrv-gm-map-container{
		height:clamp(208px,var(--pas)*208,277px);
	}
}

/* INFOS */
/* INFOS - BOUTONS */
.nrv-gm-selector-container {
	padding: 0;
	margin: 0 6px 24px;
}
.nrv-gm-type-list{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:flex-start;
	margin:0 -6px;
	width:calc(100% + 12px);
}
.nrv-gm-type-list button.form-button {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: none;
	background-color: rgb(0 0 0 / 0%);
	font-weight: 700;
	color: var(--color-1);
	font-family: 'basic-sans';
	transition: 0.3s ease;
	cursor: pointer;
	padding: 3px 7px 2px;
}
.nrv-gm-type-list button.form-button.active {
	color:var(--color-3);
}
.nrv-gm-type-list button.form-button span{
	position:relative;
	z-index: 9;
	pointer-events:none;
}
.nrv-gm-type-list button.form-button:after{
	content:'';
	display:block;
	position:absolute;
	bottom:0;
	width:calc(100% - 14px);
	height:2px;
	background-color:var(--color-1);
	transition:0.3s ease;
}
.nrv-gm-type-list button.form-button:hover:after{
	width:calc(50% - 14px);
}
.nrv-gm-type-list button.form-button.active:after,
.nrv-gm-type-list button.form-button.active:hover:after{
	height:100%;
	width:100%;
	border-radius: 6px;
}

/* INFOS - LISTE */
#nrv-gm-details-container{
	height:fit-content;
}
#nrv-gm-items-list {
    height: fit-content;
	min-height:200px;
    max-height: calc(100vh - var(--header-height) - (var(--space) * 2) - 48px - 67.19px - 12px - 23.4px - 24px - 170.78px);
}
.nrv-gm-template-item {
	padding: 0;
}
.nrv-gm-template-item.selected {
    background-color: rgb(253 253 253 / 0%);
}
.nrv-gm-template-item:not(:first-child){
	border-top:0.5px solid #eaeaea;
	padding-top:16px;
}
.nrv-gm-template-item:not(:last-child){
	border-bottom:0.5px solid #eaeaea;
	padding-bottom:16px;
}
.nrv-gm-template-item h3 {
	font-family: 'basic-sans';
	margin-bottom: 2px;
	font-size: 16px;
	line-height: 1.2;
}
.nrv-gm-template-item h4 {
	font-family: 'basic-sans';
	font-weight: 400;
	font-size: 16px;
	line-height: 1.2;
	margin-bottom:4px;
}
.nrv-gm-template-item.selected h3, .nrv-gm-template-item.selected h4 {
	color: #01796f;
	transition: 0.3s;
}
.nrv-gm-template-item .actions {
	margin: -2px -6px;
	display: flex;
	flex-wrap: wrap;
	width: calc(100% + 12px);
	position: relative;
}
.nrv-gm-template-item .actions > * {
	margin: 2px 6px;
}
.nrv-gm-template-item .actions .ct-link-button {
	font-size: 14px;
	padding: 0;
	font-family: 'basic-sans';
	display:flex;
	flex-direction:column;
	align-items:center;
	background-color:rgb(0 0 0 / 0%);
	color:var(--color-1);
	border:none;
	cursor:pointer;
}
.nrv-gm-template-item .actions .ct-link-button:after{
	content:'';
	display:block;
	width:100%;
	height:1px;
	background-color:var(--color-1);
	transition:0.5s ease;
}
.nrv-gm-template-item .actions .ct-link-button:hover:after{
	width:50%;
}
.nrv-gm-template-item.selected button.show-me, .nrv-gm-template-item.selected .google-me button {
    background-color: rgb(1 121 111 / 0%);
    color: var(--color-1);
}
.nrv-gm-template-item .actions > div {
    width: 100%;
    margin-top: 6px;
    font-size: 14px;
}
.nrv-gm-template-item .distance,
.nrv-gm-template-item .duration{
	color:var(--color-6);
}
@media (max-device-width: 767px) {
	#nrv-gm-items-list {
        text-align: center;
    }
	.nrv-gm-template-item .actions {
		justify-content: center;
	}	
}