/* fonts */
@font-face {
  font-family: AcuminRPro;
  src: url(../fonts/Acumin-RPro.otf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: AcuminRPro;
  src: url(../fonts/Acumin-BdPro.otf);
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {font-family: "AcuminPro-Medium";
  src: url("../fonts/4eea0b56eeb6549def65619b1957eb8d.eot"); /* IE9*/
  src: url("../fonts/4eea0b56eeb6549def65619b1957eb8d.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/4eea0b56eeb6549def65619b1957eb8d.woff2") format("woff2"), /* chrome、firefox */
  url("../fonts/4eea0b56eeb6549def65619b1957eb8d.woff") format("woff"), /* chrome、firefox */
  url("../fonts/4eea0b56eeb6549def65619b1957eb8d.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
  url("../fonts/4eea0b56eeb6549def65619b1957eb8d.svg#AcuminPro-Medium") format("svg"); /* iOS 4.1- */
  font-display: swap;
}

/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	color: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.3;
	font-family: AcuminPro-Medium, Arial;
	font-weight: 400;
	background-color: #F2F2F2;
	color: #121212;
    --pink-color: #CE0058;
    --select-pink-color: #CE0058;
    --allow-pink-color: #fbc3d4;
    --blue-color: #1A9FDF;
    --select-blue-color: #1A9FDF;
    --allow-blue-color: #cce7f1;
    --main-color: var(--blue-color);
    --select-color: var(--select-blue-color);
    --allow-color: var(--allow-blue-color);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
body.reverse {
    --main-color: var(--pink-color);
    --select-color: var(--select-pink-color);
    --allow-color: var(--allow-pink-color);
}
body.show {
    opacity: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
h1 {
    font-family: AcuminPro-Medium;
    /*font-weight: 700;*/
    font-size: 17px;
    color: var(--main-color);
    margin: 30px 0 10px 0;
    transition: all 0.3s;
}
h2 {
    font-family: AcuminPro-Medium;
    /*font-weight: 700;*/
    font-size: 14px;
    transition: all 0.3s;
}
h3 {
    font-family: AcuminPro-Medium;
    /*font-weight: 700;*/
    font-size: 12px;
    transition: all 0.3s;
}
.global-hide {
    display: none;
}
.number--is-power-of {
    position: relative;
    bottom: 1ex; 
    font-size: 80%;
}
/* .batiment */
.group-inline {
    display: flex;
}
.group-inline .field-option {
    margin: 0 20px 0 0;
}
.group-inline .field-option:last-child {
    margin: 0;
}

/* .batiment */
.batiment {
    display: grid;
    grid-template-columns: 335px 1fr;
    margin: 0 auto 150px auto;
    max-width: 1440px;
}
@media (max-width: 1024px) {
    .batiment {
        margin: 0 auto 20px auto;
    }
}
.batiment .batiment__options {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.batiment .batiment__map {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.batiment .batiment__map svg g {
    transition: all 0.3s;
}
.batiment .batiment__legend {
    position: absolute;
    bottom: 20px;
    right: 40px;
    width: 240px;
    height: 165px;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url(../images/legend.svg);
}
@media (max-width: 1215px) {
    .batiment {
        grid-template-columns: 1fr;
    }
    .batiment .batiment__options {
        order: 2;
        justify-content: flex-start;
        display: grid;
        grid-template-columns: repeat(2, minmax(100px, 400px));
        gap: 10px;
    }
    .batiment .batiment__map {
        order: 1;
    }
}
@media (max-width: 915px) {
    .batiment .batiment__legend {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 20px auto;
    }
}
@media (max-width: 700px) {
    .batiment .batiment__options {
        grid-template-columns: 1fr;
    }
}

/* .more-info */
.more-info {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(600px, 900px);
    gap: 50px;
    margin: 0 auto 0 auto;
    max-width: 1440px;
    justify-items: center;
}
.more-info .more-info__map {
    /*max-width: 350px;*/
    width: 100%;
    max-width: 350px;
}
@media (max-width: 1024px) {
    .more-info .more-info__map {
         transform: translate(-75px, 0);
    }
}
@media (max-width: 600px) {
    .more-info .more-info__map {
        transform: translate(-75px, 0);
        max-width: 100%;
    }
    .more-info .more-info__map svg {
        max-width: 100vw;
    }
}
.more-info .more-info__map svg g {
    /*transition: all 0.3s;*/
}
.more-info .more-info__options-wrapper {
    width: 100%;
}
.more-info .more-info__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 250px));
    gap: 10px;
}
.more-info .more-info__list {
    margin: 20px 0 0 0;
    padding: 0 20px 0 0;
    min-height: 600px;
    overflow: auto;
}
@media (max-width: 1024px) {
    .more-info {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .more-info .more-info__options {
        grid-template-columns: 1fr;
    }
    .more-info .more-info__list {
        max-width: calc(100vw - 60px);
    }
}

/* .field-option */
.field-option {
    padding: 4px 0;
}
.field-option > input {
    display: none;
}
.field-option > label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}
.field-option > label > div:nth-child(1) {
    width: 17px;
    height: 17px;
    border-radius: 100%;
    border: 2px solid #000;
    background-color: transparent;
    transition: all 0.3s;
}
.field-option > input:checked + label > div:nth-child(1) {
    background-color: var(--main-color);
}
.field-option > label > div:nth-child(2) {
    margin: 0 0 0 20px;
}
.field-option.field-option--is-square > label > div:nth-child(1) {
    border-radius: 0;
}
.field-option.field-option--is-hide {
    display: none;
}

/* table */
table {
    margin:0;
    padding:0;
    background:none;
    border:none;
    border-collapse:collapse;
    border-spacing:0;
    background-image:none;
    font-size: 14px;
    min-width: 550px;
}
table th {
    color: var(--main-color);
    font-family: AcuminPro-Medium;
    font-weight: 400;
    vertical-align: middle;
    text-align: left;
    height: 40px;
    transition: all 0.3s;
}
table tr {
    border-bottom: 1px solid #B2B2B2;
}
table td {
    vertical-align: middle;
    text-align: left;
    height: 40px;
}

/* .icon */
.icon {
    margin: 0 auto;
    display: block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
}
.icon.icon--is-pdf {
    background-image: url(../images/icon-pdf.png);
}
/* .link-action */
.link-action {
    display: block;
    text-align: center;
}