/**
 *  Module made by Nukium
 *
 *  @author    Nukium
 *  @copyright 2021 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.
 */

#shipping_method {
	list-style: none;
	margin-left: 0;
	min-width: 120px;
}

ul#shipping_method input {
    margin-right: 0.3rem;
}

ul#shipping_method label {
	display: inline;
}

.gls-container {
	box-sizing: border-box;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	min-height: 1px;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 15px;
	position: relative;
	text-align: left;
	width: 100%;
	max-width: 100%;
}

body .gls-container * {
	box-sizing: border-box;
}

body .gls-container .row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
	width: calc(100% + 30px);
}

body .gls-container .col,
body .gls-container .col-auto,
body .gls-container .col-12 {
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
	position: relative;
	width: 100%;
}

body .gls-container .col-12 {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
}

body .gls-container .col {
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
}

body .gls-container .col-auto {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	width: auto;
	max-width: none;
}

body .gls-container .card {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0;
	box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.1);
	display: block;
	margin-bottom: 0.75rem;
	position: relative;
}

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

.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-mobile .input-group-addon {
	padding: 0.3rem 0.5rem;
}

.gls-heading {
	padding: 0.8rem 0;
}

.gls-heading h4 {
	margin-top: 0;
	margin-bottom: 0;
}

.gls-heading .gls-sub-heading {
	margin-top: 0;
	margin-bottom: 0;
}

.gls-search-form-toggler {
	display: block;
}

#gls-search-form {
	margin-top: 1rem;
}

#gls-search-form .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-search-form .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-search-form .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-relay-list,
.gls-relay-map {
	margin-top: 1rem;
}

.gls-relay-list .col-select-relay {
	text-align: center;
}

.gls-relay-list .card-title {
	margin-bottom: 0.25rem;
}

.gls-relay-list .card-body {
	line-height: 1.2;
	padding: 0.5rem 0.75rem;
}

.gls-relay-infos label,
.gls-relay-infos .gls-relay-distance {
	font-size: 90%;
}

.gls-relay-infos label {
	clear: none;
	margin-bottom: 0;
	text-align: inherit;
}

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

#gls-map .h6 {
	/* font-size: .9375rem; */
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.5rem;
}

.hentry .entry-content .leaflet-container a:not(.button) {
    text-decoration: none;
}

.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 {
	width: 100%;
}

body #order_review .gls-container .gls-relay-info-open-hours th,
body #order_review .gls-container .gls-relay-info-open-hours td {
	padding: 0.3rem 0.5rem;
}

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

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

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

@media (min-width: 576px) and (max-width: 767px) {

	#shipping_method {
		min-width: 200px;
	}

}

@media (min-width: 1200px) {

	#shipping_method {
		min-width: 200px;
	}

	.gls-relay-list {
		overflow-y: auto;
		max-height: 400px;
	}

}