/* CUSTOM COLISP IFRAME */
@media screen and (max-width:600px) {
    #form1 div:nth-child(3) {
        display:flex;
        flex-direction:column;
    }

    #divListRelaisScroll {
        max-height:100%;
    }

    #form1 .details .name, 
    #form1 .details .address {
        margin-left:0;
    }

    #form1 .select {
        text-align:left;
    }

    #form1 .openinghours,
    #form1 .picture {
        display:none;
    }

    #form1 #divList {
        left: 0px;
        position: relative;
        margin-right: 0;
        padding-right: 0;
        width: 100%;
        float: none;
        height:52vh;
    }

    #form1 #mapSpirContainer {
        flex: 1 0 calc(700px - 52vh);
    }

    #form1 a.selectButton {
        padding: 4px 10px;
    }
}
/* END CUSTOM COLISP IFRAME */

.colisp-tip {
    font-size:0.8em;
    padding: 0 10px;
}

.colisp-modal-overlay {
    display: none;
    position: fixed;
    z-index: 999994;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.colisp-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 960px;
    height: 700px;
    max-height:90vh;
    padding: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius:10px;
    display: flex;
    flex-direction: column;
}

.colisp-modal-content iframe {
    flex-grow: 1;
    border: none;
}

.colisp-modal-content .adresse label {
    font-weight:bold;
    margin-right:5px;
}

.colisp-modal-content .adresse input {
    font-weight:600;
    color:var(--vert-bio);
    width:140px;
}

.colisp-modal-content .top {
    display:flex;
    justify-content:space-between;
    align-items: center;
    padding:5px 10px;
}

.colisp-close {
    background: #f44336;
    color: white;
    border: none;
    font-size: 20px;
    line-height:1;
    cursor: pointer;
    padding: 5px 10px;
    aspect-ratio: 1/1;
    z-index: 10;
}

#shipping_method .btn-container {
    display:none;
}

#shipping_method [checked="checked"] + label + .btn-container {
    display: block;
}

.colispChoisi {
    text-transform: uppercase;
    margin:8px 0 5px 0;
}

.colispChoisiAddr {
    display: inline-block;
    font-style: italic;
    color:rgb(0 0 0 / 0.7);
    font-weight:normal!important;
    max-width:270px;
    font-size:0.9em;
}

button.select-point-relay-colisp {
    margin:10px 0 20px 0;
    font-size: 0.9em;
    padding: 8px 10px;
    cursor: pointer;
}
