/**
 *  Module made by Nukium
 *
 *  @author    Nukium
 *  @copyright 2019 Nukium SAS
 *  @license   All rights reserved
 *
 * ███    ██ ██    ██ ██   ██ ██ ██    ██ ███    ███
 * ████   ██ ██    ██ ██  ██  ██ ██    ██ ████  ████
 * ██ ██  ██ ██    ██ █████   ██ ██    ██ ██ ████ ██
 * ██  ██ ██ ██    ██ ██  ██  ██ ██    ██ ██  ██  ██
 * ██   ████  ██████  ██   ██ ██  ██████  ██      ██
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
.delivery-option {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: auto;
}

.delivery-option img {
    height: auto;
    max-width: 100%;
}

.gls-container {
    padding-bottom: 40px;
}

.gls-container .row {
    margin-left: -15px;
    margin-right: -15px;
}

.carrier-extra-content-gls,
.gls-container,
.gls-container .row > [class*="col-"] {
    /*padding-left: 15px;
    padding-right: 15px;*/
}

.gls-container .input-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    position: relative;
    width: 100%;
}

.gls-container .input-group-addon,
.gls-container .input-group-append {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
}

.gls-container .input-group > .form-control {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin-bottom: 0;
    position: relative;
    width: 1%;
}

.gls-mobile .form-control-label {
    padding-top: 0;
    text-align: left;
}

.gls-mobile .input-group-addon {
    padding: 0.3rem 0.5rem;
}

.gls-mobile .input-group-addon,
.gls-mobile .form-control {
    border-style: solid;
    border-width: 1px;
}

.gls-mobile .input-group-addon:not(:last-child) {
    border-right: 0;
}

.gls-mobile .form-control-danger,
.gls-mobile .form-control-success {
    background-position: center right .625rem;
    background-repeat: no-repeat;
    background-size: 1.25rem 1.25rem;
    padding-right: 2.25rem;
}

.gls-heading,
.gls-search {
    padding: 20px;
}

.gls-search {
    margin-bottom: 20px;
}

#gls-search-form {
    margin-top: 20px;
}

#gls-search-form .input-group-append {
    margin-left: -1px;
}
.gls-search-relay {
    position: relative;
    width: 44px;
    height: 44px;
}
.gls-search-relay svg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 20px;
    height: 20px;
}
.gls-search-relay svg path {
    transition: fill 0.3s;
}
.gls-search-relay:focus .svg-path-primary,
.gls-search-relay:focus .svg-path-secondary,
.gls-search-relay:hover .svg-path-primary,
.gls-search-relay:hover .svg-path-secondary {
    fill: #fff;
}

.gls-relay-list > * + * {
    margin-top: 10px;
}
.gls-relay-list .col-select-relay {
    text-align: center;
}

.gls-relay-infos,
.gls-relay-infos .radio-block {
    display: flex;
    align-items: flex-start;
}
.gls-relay-infos input[type="radio"] {
    flex: 0 0 auto;
    margin-top: 5px;
}

.gls-relay-infos label,
.gls-relay-infos .gls-relay-distance {
    font-size: 0.8rem;
}

.gls-relay-infos label {
    clear: none;
    margin: 0;
    text-align: inherit;
    padding-left: 8px;
    padding-right: 8px;
}
.gls-relay-infos .gls-relay-distance {
    flex: 0 0 auto;
    margin-top: 0;
    margin-left: auto;
    padding-left: 8px;
}

#gls-map {
    margin-top: 20px;
    height: 400px;
    width: 100%;
}

.leaflet-container .leaflet-marker-pane .gls-marker-wrapper {
    height: 100%;
    position: relative;
    width: 100%;
}

.leaflet-container .leaflet-marker-pane .gls-marker-wrapper:before {
    color: #f8b514;
    content: attr(data-marker-id);
    display: block;
    font-weight: 600;
    height: 16px;
    line-height: 16px;
    margin-top: -5px;
    position: absolute; left: 50%; top: 50%;
    text-align: center;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 16px;
    z-index: 1;
}

.gls-relay-info-open-hours {
    margin: 0 -0.5rem;
    width: 100%;
}

.page-order .gls-relay-info-open-hours th,
.page-order .gls-relay-info-open-hours td {
    padding: 0.3rem 0.5rem;
}

.gls-relay-info-open-hours th {
    font-weight: 400;
    vertical-align: top;
}

.gls-relay-info-open-hours td {
    white-space: nowrap;
}

.gls-relay-info-open-hours .today th,
.gls-relay-info-open-hours .today td {
    font-weight: 600;
}

.alert-danger > .alert-text {
    margin-left: 1rem;
}

@media (min-width: 960px) {
    .gls-search-relay {
        width: 50px;
        height: 50px;
    }
    .gls-relay-list {
        overflow-y: auto;
        max-height: 400px;
    }
    .gls-relay-infos {
        display: block;
    }
    .gls-relay-infos label {
        padding-right: 0;
        min-width: 0;
    }
    .gls-relay-infos .gls-relay-distance {
        padding-left: 0;
        text-align: right;
    }

    #gls-map {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {

}