/**
 *  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.
 */
.gls-container {
	padding-top: 15px;
	padding-bottom: 15px;
}

.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 .gls-customer-mobile {
	max-width: 400px;
}

.col-xs-12 > div.form-group.gls-mobile.form-error {
	text-align: left;
	margin-bottom: 5px;
	font-weight: bold;
}

.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;
}

#content-1, #content-2 {
	text-transform: uppercase;
}

.gls-container .gls-heading {
	text-align: left;
	font-family: 'Poppins';
	font-weight: bold;
	text-transform: uppercase;
	color: #272727;
	font-size: 16px;
	/* padding: 0 0 15px; */
	/* line-height: 14px; */
	/* margin-bottom: 12px; */
	/* border-bottom: 1px solid #d6d4d4; */
}

.gls-container .gls-search {
	margin-bottom: 1rem;
}

.gls-container .gls-search .btn {
	height: 100%;
	white-space: normal;
}

.gls-container .gls-search .btn-text {
	background: none;
	border: none;
	box-shadow: none;
	display: inline-block;
	margin: 0;
	padding: 0;
}

#gls-search-form {
	margin-top: 1rem;
}

#gls-search-form .input-group-append {
	margin-left: -1px;
}

.gls-relay-list .col-select-relay {
	text-align: center;
}

/* .gls-relay-list .panel {
	margin-bottom: .75rem;
} */

/* .gls-relay-list .panel-title {
	font-size: 25px;
	margin-bottom: 0.25rem;
} */

.gls-relay-list .panel-body {
	/* line-height: 1.5; */
	padding: 0.5rem 0.75rem;
	/* border-bottom: 1px solid #d6d4d4; */
}

/* .gls-relay-infos label,
.gls-relay-infos .gls-relay-distance {
	font-size: 20px;
} */

.gls-relay-infos label {
	clear: none;
	color: inherit;
	font-weight: inherit;
	margin: 0;
	text-align: inherit;
}

.gls-relay-infos .gls-relay-distance {
	white-space: nowrap;
	margin-left: 50px;
}

#gls-map {
	height: 100%;
	width: 50%;
}

#gls-map #firstHeading {
	font-weight: bold;
	margin-bottom: .5rem;
}

.gls-relay-info-open-hours {
	/* margin: 0 -0.5rem; */
	width: 100%;
}

body.order .gls-relay-info-open-hours th,
body.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 (max-width: 767px) {

	.col-xs-offset-2 {
		margin-left: 16.66667%;
	}

	.gls-container .gls-search .gls-search-relay .icon {
		display: inline-block;
		margin-left: 0;
	}

	.gls-container .gls-search-relay .btn-text {
		display: none !important;
	}

}

@media (min-width: 768px) and (max-width: 1199px) {

	.gls-relay-infos .gls-relay-distance {
		text-align: right;
	}

}

@media (min-width: 1200px) {

	/* .gls-relay-list {
		overflow-y: auto;
		max-height: 400px;
		max-width: 360px;
	} */

}

input[type='radio'] + label {
	height: auto;
}

.panel-body .custom-radio > label {
	display: flex;
	align-content: flex-start;
	justify-content: space-between;
	align-items: stretch;
}

.panel-info {
	flex: 1;
}

.panel-title {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	color: #272727;
	margin-left: 30px;
	vertical-align: middle;
}

.gls-relay-address-wrapper {
	display: flex;
	flex-direction: column;
}

.gls-relay-address-wrapper p {
	margin: 0.5rem 0;
}

.gls-relay-name {
	/* font-weight: bold; */
	font-weight: 700;
}

.panel-text {
	/* margin-left: 50px; */
	font-weight: 300;
}

.gls-relay-distance {
	font-weight: 300;
}

/* .gls-heading {
	text-transform: uppercase;
	text-align: left;
	font-weight: bold;
} */

.tabs {
	display: flex;
	flex-direction: column;
}

.tabs__links {
	display: flex;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	order: 0;
	white-space: nowrap;
	background-color: #fff;

	/* border: 1px solid #e3f2fd; */
	/* box-shadow: 0 2px 4px 0 #e3f2fd; */
}

.tabs__links > a {
	font-family: Poppins;
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
	line-height: 17px;
	text-transform: uppercase;

	display: inline-block;
	text-decoration: none;
	padding: 6px 10px;
	text-align: center;
	color: #272727;
}

.tabs__links > a:hover {
	/* background-color: rgba(227, 242, 253, 0.3); */
	color: #4595D8;
}

.tabs > #content-1:target ~ .tabs__links > a[href="#content-1"],
.tabs > #content-2:target ~ .tabs__links > a[href="#content-2"],
.tabs > #content-3:target ~ .tabs__links > a[href="#content-3"] {
	background-color: #bbdefb;
	cursor: default;
}

.tabs > div:not(.tabs__links) {
	display: none;
	order: 1;
}

.tabs > div:target {
	display: block;
}


div#gls-map {
}

div#gls-carrier-extra-content-104 {
	width: 90vw;
	padding: 0;
	height: 90vh;
	overflow: hidden;
	/* display: none; */
}

div#gls-carrier-extra-content-104 .row {
	margin: 0;
	/* height: 100%; */
}

.gls-map-title {
	padding: 0 0 20px 0;
	text-align: center;
	line-height: 40px;
}

.glas-map-main-wrapper {
	/* padding: 0 20px 20px 20px; */
	display: flex;
	height: calc(100% - 60px);
}

.glas-map-main-wrapper-row {
	height: 100%;
	padding: 20px;
}

.gls-relay-list {
	overflow-y: scroll;
}

.gls-map-oppening-hours {
	overflow: hidden;
	max-height: 0px;
	transition: all .2s;
}

.gls-select-relay:checked {
}

.gls-select-relay:checked ~ label .gls-map-oppening-hours {
	max-height: 260px;
}

.gls-map-oppening-hours * { /* line-height: 0px; */
	transition: all .2s;
}

.gls-select-relay:checked ~ label .gls-map-oppening-hours * {
	/* line-height: 1; */
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.gls-relay-info-open-hours tr {
	margin-bottom: 10px;
}

.gls-carrier-extra-content-wrapper {
	display: none;
}


.access-point-select {
	display: block;
}

a.shipment-link {
	/* display: inline-block; */
	text-decoration: none;
}

.access-point-address {
	display: block;
	vertical-align: middle;
}

.selected-point-title {
	font-weight: bold;
}

.selected-point-address {
	font-size: 14px;
	margin-top: 4px;
	max-width: 100%;
}

.access-point-address {
	display: inline-block;
	vertical-align: middle;
}

.selected-point-title {
	font-weight: bold;
	margin-bottom: 5px;
}

.selected-point-address {
	font-size: 14px;
	max-width: 100%;
}


.gls-access-point-select.btn.btn--yellow {
	position: absolute;
	right: 50px;
	line-height: 20px;
	cursor: pointer;
}

div#fancybox-container-3 {
	z-index: 1000000;
}

div#fancybox-container-1 {
	z-index: 100000;
}

.gls-access-point-select.btn.btn--yellow.gls-btn-disabled {
	opacity: 0.5;
}

.access-point-select {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
}


.access-point-address-selected-wrapper {
	display: inline-block;
	vertical-align: middle;
}

.shipment-link-error {
	display: none;
}

.shipment-show {
	display: inline-block !important;
}

a.shipment-link {
	display: none;
	text-decoration: none;
}

@media (max-width: 960px) {
	a.shipment-link {
		/* height: 80px; */
		position: relative;
		bottom: 0;
		left: 0;
		margin: 0 !important;
		transform: none !important;
		padding: 20px 20px 0 21px;
		font-size: 15px;
	}

	.selected-point-address {
		font-size: 14px;
	}

	.access-point-address-selected-wrapper {
		/* padding-left: 36px; */
		width: calc(100% - 30px);
	}

	.glas-map-main-wrapper {
		display: block;
		height: calc(100% - 120px);
	}

	#gls-map {
		width: 100%;
		height: 230px;
	}

	.gls-relay-list {
		height: calc(100% - 210px);
		padding: 20px 0 0 0;
	}

	.gls-map-title {
		line-height: 16px;
		padding: 10px 10px 10px 10px;
		height: 120px;
	}

	.gls-access-point-select.btn.btn--yellow {
		top: 27px;
		width: 100px;
		text-align: center;
		right: 20px;
		position: relative;
		top: 0;
		width: 100%;
		right: 0;
		margin-top: 10px;
	}

	.gls-relay-infos .gls-relay-distance {
		/* display: none; */
		margin: 10px 0 0 0;
		display: block;
	}

	.panel-title {
		display: block;
		margin-left: 10px;
		padding-right: 10px;
	}

	.gls-relay-list .panel-body {
		padding: 0;
	}

	.carrier-extra-content-gls, .gls-container, .gls-container .row > [class*="col-"] {
		padding: 0;
	}

	.gls-container .gls-heading {
		font-size: 14px;
	}

	.shipment-price {
		top: 10px;
		right: 10px;
	}

	.shipment-show {
		display: block !important;
	}

}


.gls-item span.radio-btn {
	margin: 20px 0 0 0;
}


a.shipment-link.shipment-link-error.shipment-show {
    color: #e92237;
}
