﻿/* Pour centrer la carte*/
.img-responsive {
    margin: 0 auto;
}

.center-logo {
    margin: 25px auto;
}

/* Carte */
.image { 
    height:auto;
    margin: auto;
    text-align:center;
    position:relative;
}

.text-over-image {
    position: absolute;
    margin: auto;
    top: 0;
    left:0;
    right:0;
    bottom:0;
    height:0px;
    font-family:Roboto;
	font-size:22px;
    color:#366fb6;
}

.carto-container{
    position: relative;
    margin-left: .5em;
}
/* Cartographie */

.boutons-carto{
    position: absolute;
    border: none;
    padding: 5px 5px;
    margin: 0px -5px;
    right: 0px;
    top: 0px;
}

.boutons-carto-plein-ecran{
    position: absolute;
    border: none;
    padding: 5px 5px;
    margin: 0px 10px;
    right: 0px;
    top: 0px;
}

.link-carto {
    cursor: pointer;
}

.icon-close-fullscreen{
    margin:7px;
}

.annotations-plein-ecran {
    position: absolute;
    border: none;
    padding: 5px 5px;
    margin: 2px 2px;
    left: 15px;
    top: 0px;
    max-width: 450px;
    min-width: 200px;
}

.details-service-plein-ecran {
    background-color:rgba(255, 255, 255, 0.8);
    margin-top:8px;
}

.button-zoom {
    display: block;
    width: 36px;
    height: 40px;
    background: url('../../../../Content/images/btn_plus.png') no-repeat;
}

.button-zoom:active  {
    display: block;
    width: 36px;
    height: 40px;
    background: url('../../../../Content/images/btn_plus_click.png') no-repeat;
}

.button-unzoom {
    margin-top: -5px;
    display: block;
    width: 36px;
    height: 40px;
    background: url('../../../../Content/images/btn_moins.png') no-repeat;
}

.button-unzoom:active  {
    margin-top: -5px;
    display: block;
    width: 36px;
    height: 40px;
    background: url('../../../../Content/images/btn_moins_click.png') no-repeat;
}

.button-localisation {
    display: block;
    width: 36px;
    height: 40px;
    background: url('../../../../Content/images/btn_localisation.png') no-repeat;
}

.button-localisation:active  {
    display: block;
    width: 36px;
    height: 40px;
    background: url('../../../../Content/images/btn_localisation_click.png') no-repeat;
}

.button-localiser {
    margin-top:0.5em;
    margin-bottom:0.5em;
    font-family:Roboto;
	font-size:16px;
    border-radius: 3px;
	color:black;
    background-color:white;
}

/*menu de gauche*/
.theme-item-inactive {
	font-family:Roboto;
	color:#a3a3a3;
	font-size:14px;
    font-weight:600;
}

.theme-item-active {
	font-family:Roboto;
	color:#366fb6;
	font-size:14px;
    font-weight:600;
}

/* Icon when the collapsible content is shown */
.theme-item-active:after {
    content: url('../../../../Content/images/icon_fleche_bleue_menu.png');
    float: right;
    margin-left: 15px;
}
/* Icon when the collapsible content is hidden */
.theme-item-active.collapsed:after {
    content: url('../../../../Content/images/icon_fleche_selection.png');
}

.thematique-item {
	font-family:Roboto;
	color:#6496d3;
	font-size:14px;
    padding:0px; 
    padding-left:12px;
}

.thematique-item-selected, .thematique-item-selected:hover, .thematique-item-selected:focus {
	color:#366fb6;
	font-size:13px;
    font-weight:bold;
    padding:0px;
}

.caret{
    color:#2f5c95;
    margin-left:0px;
}

.caret-right-align {
    position: absolute;
    left: 90%;
    top: 45%;
}

.caret-right {
    border-left: 4px solid;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
}

.commune-selected-text,
.commune-selected-sub-text {
    font-family: Roboto;
    color: #ffffff;
    margin-block: auto;
}
.commune-selected-text {
    font-size: 18px;
}
.commune-selected-sub-text{
    font-style: italic;
	font-size:14px;
}

.mairie-icon
{
    margin-left: 1em;
}

.icon-search-container {
    background-color: var(--main-bg-color);
    display: flex;
    justify-content: center;
    align-content: center;
    padding-inline: 1em;
    flex-wrap: wrap;
    border-radius: 5%;
}

.icon-recherche {
    width: 20px;
    height: 20px;
}

.recherche-input-text
{
    width: 100%;
    font-style: italic;
	color:#747474;
	font-size:16px;
    border-radius: 3px;
    box-sizing: border-box;
    padding: .2em;
}

.recherche-input-text-rues
{
    height:35px;
    font-family:Roboto;
    font-style: italic;
	color:#747474;
	font-size:16px;
    border-radius: 3px;
    margin-bottom:10px;
}

.recherche
{
    height:35px;
    border-radius: 3px;
}

.icon-loupe-conteneur{
    margin:5px;
    height:auto;
    text-align:center;
    position:relative;
}

.h-commune{
    font-weight: 600;
	color:#2f5c95;
	font-size:16px;
    margin:.7em;
}

.maj-le
{
    font-family:Roboto;
    font-style: italic;
    color:#9c9c9c;
	font-size:14px;
}

.signaler-chgt
{
    margin-left:10px;
    font-family:Roboto;
    color:#6496d3;
	font-size:14px;
}

.item-left{
    font-family:Roboto;
	color:#747474;
	font-size:14px;
}

.item-right{
    font-family:Roboto;
	color:#6496d3;
	font-size:14px;
}

.item-right-disabled{
    font-family:Roboto;
	color:#9c9c9c;
	font-size:14px;
}

.column-side-padding{
    padding-left:5px;
    padding-right:5px;
}

/*Titres des blocs*/
h10 {
    color:#2f5c95;
    font-family: Roboto;
    font-size:20px;
    font-weight: 600;
    margin-bottom:10px;
}

h11 {
    color:#366fb6;
    font-family: Roboto;
    font-size:18px;
}

.fichiers-a-telecharger-link{
    color:#6496d3;
    font-family: Roboto;
    font-size:12px;
}

.icon-service-conteneur{
    padding:0px;
    text-align:center;
}

.icon-service{
    /*display: inline-block;
    margin-right:10px;*/
    width: 22px;
    height: 25px;
    /*vertical-align: top;*/
}

.service-bloc{
    padding-right:0px;
    padding-bottom:10px;
    padding-top:0px;
    padding-left:0px;
}

.bloc-commune{
    margin-top:20px;
}

.carto{
    margin-bottom:10px;
}

.encart{
    margin-top:5px;
    padding:10px;
    margin-bottom:0px;
}

.google-like-search-container {
    height: calc(100vh - 50px /*header*/ - 44px /*footer*/ - 50px /*other stuff that must be fixed*/);
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.logo-fiducial-recherche{
    display: inline-block;
    width:487px;
    height:168px;
}*/

.input-recherche-container{
    margin-top:50px;
    margin-bottom:50px;
    text-align: center;
}

.input-recherche-div{
    display: inline-block;
    width:500px;
}

.button-plus:active {
    font-size: 38px;
}

.liste-themes{
    margin-top: 1em;
    max-height:calc(100vh - 280px);
    overflow:auto;
}

.detail-theme {
    /*max-height: 780px;*/
    overflow: auto;
}

.adc-mairie-directive-container {
    padding-left:5px; 
    vertical-align: middle; 
    text-align:left
}

.table-layout {
    display:table;
    width:100%;
}
.table-layout .table-cell {
    display:table-cell;
    vertical-align: middle; 
}

.fixed-width-40 {
    width:40px;
}

.risques-historique{
    color: #366fb6;
}

/* when the collapsible content is shown */
.risques-historique:after
{
    content:"- historique";
}

/* when the collapsible content is hidden */
.risques-historique.collapsed:after
{
    content:"+ historique";
}

.risques-historique-text{
    color: #366fb6;
}

.barre-recherche-communes {
    margin-top: 45px;
    padding-top: 10px;
    padding-bottom: 5px;
    background-color: white;
    z-index: 999;
}

.google-like-search-input {
    display: flex;
    justify-content: space-between;
}

.commune-main-container {
/*    display: grid;
    grid-template-columns: auto 1fr;
*/}

.commune-container {
    width: 100%;
    /*    display: flex;
    justify-content: center;
*/
}
.commune-container-grid {
    margin-top: 1em;
    display: grid;
    grid-template-columns: auto 1fr;
}

.grid-commune {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mairie {
    display: flex;
    align-items: center;
    gap: 1em;
    background-color: var(--main-bg-color);
    padding-block: .5em;
}

.commune-aside {
    margin-right: .5em;
}

.commune-text-container {
    display: grid;
    grid-template-rows: 1fr 1fr;
}