@font-face {
    font-family: 'vw-head';
    font-weight: 700;
    src: url('../fonts/vwhead-bold.woff2') format('woff2'), url('../fonts/vwhead-bold.woff') format('woff');
}

@font-face {
    font-family: 'vw-head';
    font-weight: 400;
    src: url('../fonts/vwhead-regular.woff2') format('woff2'), url('../fonts/vwhead-regular.woff') format('woff');
}

@font-face {
    font-family: 'vw-head';
    font-weight: 200;
    src: url('../fonts/vwhead-light.woff2') format('woff2'), url('../fonts/vwhead-light.woff') format('woff');
}

@font-face {
font-family: 'vw-text';
font-weight: 700;
    src: url('../fonts/vwtext-bold.woff2') format('woff2'), url('../fonts/vwtext-bold.woff') format('woff');
}

@font-face {
    font-family: 'vw-text';
    font-weight: 400;
    src: url('../fonts/vwtext-regular.woff2') format('woff2'), url('../fonts/vwtext-regular.woff') format('woff');
}

body {
    font-family: vw-text, Arial;
}

select {
    background: #fff;
    width: 100%;
    margin: 5px 0;
}

textarea {
    color: rgb(0, 30, 80);
}

input, textarea {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing: border-box;
}

input[type="radio"].type {
    display: none;
}

input[type="radio"].type + label {
    padding: 1rem 4rem;
    border-radius: 2.5rem;
    background-color: #fff;
    color: #6c757d;
    border: 1px solid #6c757d;
    transition: all 0.5s ease-in-out;
    width: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="radio"].type:checked + label {
    background-color: #001e50;
    border-color: #001e50;
    color: #fff;
}

input[type='checkbox'] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    background: #e6e6e6;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-right: 10px;
    height: 20px;
    width: 20px;
    min-width: 20px;
}

input[type=checkbox]:checked:after {
    background: url(../images/check.png);
    content: '';
    display: block;
    margin: 4px 4px;
    height: 12px;
    width: 12px;
}

input[type="submit"],
.btn-terminer > a {
    padding: 1em;
    border-radius: 50px;
    background-color: #001e50;
    border: solid #001e50;
    color: #fff;
    transition: all 0.5s ease-in-out;
    width: 60%;
}

input[type="submit"]:disabled {
    background-color: #a3a5a7;
    border: solid #a3a5a7;
    color: #fff;
}

.hidden {
    display: none;
}

.d-flex {
    display: flex;
}

.text-center {
    text-align: center;
}

.text-start {
    text-align: start;
}

.w-100 {
    width: 100%;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin: 110px 30% auto 30%;
}

.heading {
    font-family: vw-head, Arial;
}

.heading > h1 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 38px;
}

.heading > h2 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 30px;
}

.heading > p {
    font-size: 20px;
}

.gallery-cell {
    width: 100%;
    height: auto;
    opacity: 0;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0);
    cursor: pointer;
    padding: 25px 5px
}

.gallery-cell:hover, 
.gallery-cell.selected-model
{
    border: 2px solid #001e50;
}

.gallery-cell > div > p {
    margin-bottom: 0px;
}

.offre img {
    height: 60px;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

.model-selected {
    justify-content: space-between;
    align-items: center;
    margin: 50px 0;
}

.model-selected img {
    margin-right: 25px;
}

.model-selected h2 {
    font-weight: 600;
}

.form-group {
    position: relative;
}

.bordered_input {
    padding: 10px;
    border: 1px solid #8b9a9f;
    border-radius: 10px;
}

/* .siret > input {
    background-color: #dfe4e8; 
} */

.div_concession {
    width: 100%;
    border-radius: 1rem; 
    border: 1px solid #8b9a9f; 
    color: #8b9a9f; 
    margin-bottom: 10px;
    cursor: pointer;
}

.div_concession > div:nth-child(1) {
    margin: 0 10px; 
}

.div_concession > div > h4 {
    margin: 10px 0;
}

.div_concession > div > p {
    margin: 0;
}

.div_concession > div > div > p {
    margin: 5px 0;
}

.div_concession > div > div {
    display: flex; 
    justify-content: space-between;
}

.selected-concession,
.div_concession:hover {
    border: 2px solid #001e50;
    color: #001e50;
}

.show-more-concessesion {
    text-decoration: underline;
    cursor: pointer;
}

.radio {
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
}

.checkboxes {
    margin: 25px 100px;
}

.checkboxes span {
    text-decoration: underline;
}

.checkboxes div:last-child{
    margin-top: 15px;
}

.form-control-feedback {
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    /*text-align: center;*/
    pointer-events: none;
}

.has-error input[type="radio"],
.has-error input[type="checkbox"] {
    border: 1px solid #a94442;
}

span.glyphicon.glyphicon-remove.form-control-feedback,
span.glyphicon.glyphicon-ok.form-control-feedback {
    display: none;
}

.has-error span.glyphicon.glyphicon-remove.form-control-feedback {
    display: block;
}

.has-success span.glyphicon.glyphicon-ok.form-control-feedback {
    display: block;
}

.has-error .form-control-feedback,
.text-danger {
    color: #a94442;
}

.has-success .form-control-feedback {
  color: #3c763d;
}

.rgpd {
    margin: 100px auto 50px auto;
    font-size: 12px;
    text-align: justify;
}

/* * ============ confirmation ============ */

.confirm .model-selected {
    margin-bottom: 35px;
}

.confirm .model-selected > img {
    width: 250px;
}

.btn-terminer {
    justify-content: center;
    margin: 20px auto;
}

.btn-terminer > a {
    text-decoration: none;
    border: 1px solid #001e50;
    text-align: center;
}

.btn-terminer > a:visited, .btn-terminer > a:link, .btn-terminer > a:active {
    text-decoration: none;
    color: #fff;
}

.btn-terminer > a:hover {
    text-decoration: none;
    color: #001e50;
    background-color: #fff;
}

.confirm #div_map {
   position: relative;
}

.confirm #map {
   width: 100%; height:400px
}

#div_map_concess {
    position: absolute; 
    background-color: aliceblue; 
    padding: 15px 100px 15px 15px; 
    bottom:30%; 
    right:0px;
}

@media (max-width: 639px) {
    #div_map_concess{
        bottom: 0; 
        width: -moz-available;
        text-align: center;
        padding: 0;
    }
}

/* * ============ confirmation ============ */

#models {
    display:grid;
    grid-template-columns: repeat(5, 135px);
    grid-auto-rows: minmax(80px, auto);
    gap: 10px;
    row-gap: 0;
    margin: auto auto;
    justify-content: center;
}

#price_model {
    font-size: 18px;
}

#concessions {
    max-height: unset;
}

#map {
    width: 100%;
    height: 200px;
    border-radius: 0 0 10px 10px;
}

#sticky {
    position: sticky;
    width: fit-content;
    bottom: 20px;
    margin-left: -30%;
    border-radius: 10px;
    padding: 10px 15px; 
    background: #4dc6f3;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .container {
        margin-left: 20%;
        margin-right: 20%;
    }

    #models {
        grid-template-columns: repeat(4, 135px);
    }
}

@media (max-width: 900px) {
    .container {
        margin-left: 15px;
        margin-right: 15px;
    }

    .model-selected {
        flex-direction: column-reverse;
        align-items: center;
    }

    #sticky {
        margin-left: 0;
    }
}

@media (max-width: 639px) {
    .radio {
        margin: 40px auto;
        flex-direction: column;
        align-items: center;
    }

    .checkboxes {
        margin: 25px 10px;
    }

    .confirm .model-selected > img {
        width: 250px;
    }

    .model-selected img {
        margin-right: 0px;
    }


    input[type="submit"], 
    .btn-terminer > a {
        width: 100%;
    }

    #models {
        grid-template-columns: repeat(2, 135px);
    }
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
