@import "variables";

.infopage-faq-links {
	margin: 0; padding: 0; list-style: none;
	& + .infopage-faq-links { margin-top: 20px; }
	dt {
		padding: 0 0 2px;
		font-size: 15px;
		font-weight: bold;
		color: $color_wildblue;
	}
	dd {
		border-bottom: 1px solid $color_gray_10;
		padding: 2px 0 4px;
		a {
			border: none;
			font-size: 13px;
			color: $color_gray_80;
			&:hover {
				color: $color_blue;
			}
		}
	}
}
.infopage-faq-list {
	.faq-list__item {
		& + .faq-list__item { margin-top: 20px; }
		h6 { margin-bottom: 0.2em; }

		&.active {
			background: $color_mystic;
			margin-left: -12px;
			margin-right: -12px;
			padding: 12px;
		}
	}
}

.p-infopage-delivery-list {
	.collapser {
		.collapser-body {
			ol {
				margin: 0; padding: 0; list-style: none;
				counter-reset: item;
				li {
					position: relative;
					padding-left: 15px;
					&:before {
						content: counters(item, ".") ".";
						counter-increment: item;
						position: absolute; top: 0; left: 0;
					}
				}
				ol {
					li {
						padding-left: 25px;
					}
				}
			}
		}
	}
}

.page-contacts {
	h1 {
		margin-bottom: 1.25rem;
		font-size: 34px;
		@media (max-width: 767px){
			font-size: 22px;
		}
	}
	h2 {
		margin-bottom: 1.25rem;
		font-size: 22px;
		@media (max-width: 767px){
			font-size: 20px;
		}
	}
	.panel-contacts {
		min-height: 372px;
		.panel-head {
			padding: 12px 12px 0;
			font-size: 22px;
			font-weight: bold;
			@media (max-width: 767px){
				font-size: 18px;
			}
		}
		.panel-body {
			//padding: 12px;
			font-size: 14px;
			table {
				td {
					vertical-align: top;
				}
			}
			a[href^="tel"]{
				border: none;
				@media(min-width: 768px){
					color: $gray_dark;
				}
				&:hover {
					color: $blue;
				}
			}
		}
	}

	.table {
		tr {
			&.highlight {
				td { background: inherit !important; }
			}
			&:hover {
				td { background: inherit !important; }
			}
		}
		&.table-simple {
			tr {
				td {
					vertical-align: top;
				}
			}
		}
	}

	.list-tax-data {
		background: $color_gray_05;
		margin: 16px 0 0 0;
		padding: 16px;
		font-size: 16px;
		list-style: none;
		li {
			display: inline-block;
			margin-right: 8px;
		}
		@media (max-width: 767px) {
			li {
				display: block;
			}
		}
	}
}


.infopage-headline {
	margin-bottom: 1.25rem;
	font-size: 34px;
	@media (max-width: 767px){
		font-size: 22px;
	}
}

.infopage-navs {
	position: relative;
	margin-bottom: 24px;
	&:before, &:after {
		content: '';
		background: #e6e6e6;
		position: absolute; bottom: 0;
		display: block;
		width: 24px;
		@media (max-width: 767px){ width: 12px; }
		height: 1px;
	}
	&:before { right: 100%; }
	&:after { left: 100%; }

	.nav-tabs {
		margin: 0;
		font-size: 18px;
		@media (max-width: 575px){
			font-size: 16px;
		}
		& > li {
			& > a, & > span {
				padding: 12px 16px;
				font-size: inherit;
				font-weight: normal;
				color: $blue;
				/*@media (max-width: 575px){
					position: relative;
					overflow: hidden;
					max-width: 220px;
					text-overflow: ellipsis;
				}*/
			}
			&.active {
				& > a {
					color: $gray_dark !important;
				}
			}
			&.more {
				&.open {
					& > span {
						background: $blue;
						color: $white;
						@include border-radius(3px 3px 0 0);
					}
				}
			}
			.drop {
				min-width: 240px;
				li {
					a {
						padding: 12px 16px;
						font-size: inherit;
						font-weight: normal;
						color: $blue;
						&:hover {
							background: $gray_lighter;
							color: $blue !important;
						}
					}
					&.active {
						a {
							color: $white;
						}
					}
				}
			}
		}
	}
}

.infopage-delpay-list {
	margin: 0;
	padding: 0;
	list-style: none;
	& > li {
		&:not(:first-child){
			margin-top: 20px;
		}
	}
}
.infopage-delpay-item {
	display: flex;
	font-size: 14px;
	.item-side {
		min-width: 150px;
		&:first-child {
			margin-right: 20px;
		}
		&:not(:first-child) {
			margin-left: 20px;
		}
		img, svg {
			max-width: 100%;
		}
	}
	.item-body {}
	.item-disclaimer {
		padding-top: 8px;
		color: $color_wildblue;
		line-height: 1.25;
		@media(max-width: 767px){
			font-size: 13px;
		}
	}

	&.middle {
		align-items: center;
	}
	&.responsive-xs {
		@media(max-width: 767px){
			flex-direction: column;
			.item-side {
				&:first-child {
					margin: 0 0 12px 0;
				}
				&:not(:first-child) {
					margin: 12px 0 0 0;
				}
			}
		}
	}
}

//20.10.2020
.info-delivery {}
.info-delivery-other {
	margin-top: 40px;
	font-size: 16px;
	.info-delivery-other__head {
		margin-bottom: 12px;
		font-size: 18px;
		font-weight: bold;
	}
	.info-delivery-other__list {
		display: inline-block;
		min-width: 240px;
		margin: 0;
		padding: 0;
		list-style: none;
		& > li {
			&:not(:first-child){
				margin-top: 8px;
			}
			a {
				border: 1px solid transparent;
				position: relative;
				display: block;
				padding: 6px 8px 6px 40px;
				line-height: 1.25;
				img {
					position: absolute; top: 50%; left: 8px;
					display: block;
					width: 20px;
					@include transform(translateY(-50%));
					&:not([src*="default"]){
						@include box-shadow(0 0 4px rgba(0,0,0,.4));
					}
				}
				span {}
				&.active {
					border: 1px solid $blue;
				}
				&:hover {
					background: #d5e6f6;
				}
			}
		}
	}
}
.info-delivery-jumb {
	position: relative;
	margin-bottom: 24px;
	@media(max-width: 575px){
		margin-left: -12px;
		margin-right: -12px;
		margin-bottom: 16px;
	}
	&.v1 {
		background-color: #f2fbfe;
		color: #333;
		@media(min-width: 576px){
			background-color: #f4f4f4;
			display: flex;
			min-height: 250px;
		}
		.label {
			padding: 4px 8px 6px;
			@include border-radius(0);
		}
		.jumb-image {
			background-position: 50% 50%;
			background-repeat: no-repeat;
			background-size: cover;
			position: relative;
			@media(max-width: 575px){
				height: 160px;
			}
			@media(min-width: 576px){
				min-width: 200px;
			}
			@media(min-width: 768px){
				min-width: 240px;
			}
			@media(min-width: 1200px){
				min-width: 320px;
			}
			&:before {
				content: '';
				position: absolute; top: 0; right: 0; bottom: 0; left: 60%;
				background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(244,244,244,1) 100%);
				background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(244,244,244,1) 100%);
				background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(244,244,244,1) 100%);
				filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f4f4f4',GradientType=1 );
			}
		}
		.jumb-text {
			padding: 20px;
			font-size: 24px;
			@media(max-width: 575px){
				padding: 8px;
				font-size: 16px;
			}
			@media(min-width: 576px){
				align-self: center;
			}
		}
		.jumb-title {
			font-weight: 600;
			font-size: 24px;
			@media(max-width: 575px){
				font-size: 16px;
			}
			& + .jumb-title {
				margin-top: 12px;
				@media(max-width: 575px){
					margin-top: 8px;
				}
			}
		}
		.jumb-description {
			margin-top: 12px;
			font-size: 20px;
			color: #9B9B9B;
			@media(max-width: 575px){
				margin-top: 8px;
				font-size: 14px;
			}
		}
	}
	&.v2 {
		background-color: #f2fbfe;
		color: #333;
		/*margin-left: -12px;
		margin-right: -12px;
		@media(min-width: 768px){
			margin-left: -24px;
			margin-right: -24px;
		}*/
		@media(min-width: 576px){
			background-color: #f4f4f4;
			display: flex;
			min-height: 250px;
		}
		.label {
			padding: 4px 8px 6px;
			@include border-radius(0);
		}
		.jumb-image {
			background-position: 50% 50%;
			background-repeat: no-repeat;
			background-size: cover;
			position: relative;
			order: 2;
			@media(max-width: 575px){
				height: 240px;
			}
			@media(min-width: 576px){
				min-width: 300px;
			}
			@media(min-width: 768px){
				min-width: 360px;
			}
			@media(min-width: 1200px){
				min-width: 420px;
			}
			&:before {
				content: '';
				position: absolute; top: 0; right: 60%; bottom: 0; left: 0;
				@media(min-width: 576px){
					background: -moz-linear-gradient(left, rgba(244,244,244,1) 0%, rgba(255,255,255,0) 100%);
					background: -webkit-linear-gradient(left, rgba(244,244,244,1) 0%,rgba(255,255,255,0) 100%);
					background: linear-gradient(to right, rgba(244,244,244,1) 0%,rgba(255,255,255,0) 100%);
					filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#00ffffff',GradientType=1 );
				}
			}
		}
		.jumb-text {
			flex-grow: 1;
			padding: 20px;
			font-size: 20px;
			line-height: 1.75;
			@media(max-width: 575px){
				padding: 8px;
				font-size: 16px;
			}
			@media(min-width: 576px){
				//align-self: center;
			}
		}
		.jumb-title {
			font-weight: 700;
			font-size: 32px;
			line-height: 1.5;
			@media(max-width: 575px){
				font-size: 24px;
			}
			& + .jumb-title {
				margin-top: 12px;
				@media(max-width: 575px){
					margin-top: 8px;
				}
			}
		}
		.jumb-description {
			margin-top: 12px;
			font-size: 20px;
			color: #9B9B9B;
			@media(max-width: 575px){
				margin-top: 8px;
				font-size: 14px;
			}
		}
	}
}
.info-delivery-table {
	width: 100%;
	font-size: 12px;
	th {
		background: #E9E9E9;
		border-right: 1px solid #fff;
		padding: 4px;
		font-weight: bold;
		line-height: 1.25;
	}
	td {
		border-bottom: 1px solid #E9E9E9;
		border-right: 1px solid #fff;
		padding: 4px;
		vertical-align: top;
	}
}
.info-delivery-item {
	.info-delivery-item__head {
		.info-delivery-item__title {}
	}
	.info-delivery-item__image {}
	.info-delivery-item__body {}
	@media(min-width: 576px){
		position: relative;
		display: flex;
		margin-left: -8px;
		margin-right: -8px;
		padding: 4px 8px 8px;
		& + .info-delivery-item {
			margin-top: 48px;
		}
		.info-delivery-item__head {
			display: none;
		}
		.info-delivery-item__image {
			width: 150px;
			min-width: 150px;
			margin-right: 16px;
			padding-top: 6px;
			img {
				display: block;
				max-width: 100%;
			}
		}
		.info-delivery-item__body {
			.info-delivery-item__title {
				margin-bottom: 4px;
				font-size: 18px;
				font-weight: bold;
			}
			.collapser {
				&:not(:first-child){
					margin-top: 4px;
				}
				.collapser-body {
					padding: 4px 0 4px 12px;
				}
			}
		}
	}
	@media(max-width: 575px){
		padding: 12px 16px 16px;
		@include border-radius(6px);
		@include box-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
		& + .info-delivery-item {
			margin-top: 20px;
		}
		.info-delivery-item__head {
			position: relative;
			padding-right: 24px;
			cursor: pointer;
			.info-delivery-item__caret {
				position: absolute; top: 50%; right: 0;
				@include transform(translateY(-50%));
				font-size: 24px;
			}
			.info-delivery-item__title {
				font-weight: bold;
			}
		}
		.info-delivery-item__image {
			border-top: 1px solid #E9E9E9;
			margin-top: 16px;
			padding-top: 16px;
			display: none;
			img {
				display: block;
				max-width: 150px;
			}
		}
		.info-delivery-item__body {
			margin-top: 16px;
			display: none;
			.info-delivery-item__title {
				margin-bottom: 4px;
				font-size: 16px;
				font-weight: bold;
			}
			.collapser {
				&:not(:first-child){
					margin-top: 4px;
				}
				.collapser-body {
					padding: 4px 0 4px 12px;
				}
			}
		}
		&.in {
			.info-delivery-item__head {
				.info-delivery-item__caret {
					.fa {
						@include transform(rotate(-180deg));
					}
				}
			}
			.info-delivery-item__image {
				display: block;
			}
			.info-delivery-item__body {
				display: block;
			}
		}
	}

	&.blink {
		animation: infoDeliveryBlink 2.5s ease-in-out 1;
		@keyframes infoDeliveryBlink {
			0%, 50% {
				background: #DBF4C2;
			}
			100% {
				background: transparent;
			}
		}
	}
}

.info-delivery-tracking, a.info-delivery-tracking {
	background: #F3F7FB;
	border: 0;
	display: block;
	color: $color_dark;
	.info-delivery-tracking__image {
		img {
			display: block;
			max-width: 100%;
		}
	}
	.info-delivery-tracking__text {
		padding: 8px;
	}
	&:hover {
		.type-link {
			border-bottom-color: $blue;
		}
	}
}

.info-delivery-countries {
	.info-delivery-countries__head {
		margin-bottom: 20px;
		font-size: 24px;
		font-weight: 500;
		@media(max-width: 767px){
			font-size: 20px;
		}
	}
	.info-delivery-countries__body {
		display: flex;
		@media(max-width: 767px){
			flex-direction: column;
		}
		font-size: 16px;
		ul {
			margin: 0 0 16px 0;
			padding: 0;
			list-style: none;
			flex-grow: 1;
			& > li {
				&:not(:first-child){
					margin-top: 16px;
				}
			}
		}
		.idc-item {
			border: 0;
			position: relative;
			display: inline-flex;
			align-items: center;
			img {
				//position: absolute; top: 50%; left: 0;
				display: block;
				width: 20px;
				height: 14px;
				//margin-top: -9px;
				@include box-shadow(1px 1px 4px rgba(0,0,0,.4));
				&:not(:last-child){
					margin-right: 12px;
				}
			}
			i {
				font-style: normal;
			}
		}
		a.idc-item:hover {
			i {
				text-decoration: underline;
			}
		}
	}
}

#modal-delivery-map {
	@media(max-width: 575px){
		.modal-dialog {
			margin: 0;
			padding: 0;
		}
	}
}

.info-delivery-car {
	position: relative;
	display: flex;
	.info-delivery-car__image {
		width: 150px;
		min-width: 150px;
		margin-right: 16px;
		padding-top: 5px;
		img {
			display: block;
			width: 100%;
		}
	}
	.info-delivery-car__body {
		flex-grow: 1;
		font-size: 16px;
		.title {
			font-weight: bold;
			font-size: 1.125rem;
		}
		.description {
			font-weight: bold;
			color: $color_gray_40
		}
		.buttons {
			margin-top: 8px;
		}
	}
	@media(max-width: 575px){
		.info-delivery-car__image {
			width: 75px;
			min-width: 75px;
		}
		.info-delivery-car__body {
			font-size: 14px;
		}
	}
}

.info-delivery-cart-slider {
	.info-delivery-cart-slider__item {
		border: 0;
		display: block;
		min-width: 160px;
	}
	.owl-carousel-box {
		margin-bottom: 24px;
		padding: 0 16px;
	}
	.owl-carousel {
		position: relative;
		.owl-nav {
			.owl-prev, .owl-next {
				position: absolute; top: 0; bottom: 0;
				display: block;
				width: 16px;
				outline: none !important;
				&:before {
					content: '';
					position: absolute; top: 0; right: 0; bottom: 0; left: 0;
					display: block;
					@include border-radius(50%);
					@include box-shadow(0 0 12px rgba(0,0,0,.6));
				}
				&:after {
					content: '';
					background: $white;
					position: absolute; top: -16px; right: 0; bottom: -16px; left: 0;
					display: block;
				}
				i {
					position: absolute; top: 50%;
					z-index: 2;
					display: block;
					font-size: 24px;
					color: $blue;
					@include transform(translateY(-50%));
				}
			}
			.owl-prev {
				left: -16px;
				&:before {
					right: 0; left: 12px;
				}
				i {
					left: 0;
				}
			}
			.owl-next {
				right: -16px;
				&:before {
					right: 12px; left: 0;
				}
				i {
					right: 0;
				}
			}
		}
	}
}

.info-delivery-paycheck {
	display: flex;
	.info-delivery-paycheck__head {
		margin: 8px 20px 0 0;
	}
	.info-delivery-paycheck__body {
		flex-grow: 1;
		max-width: 400px;
	}

	.form-group {
		.form-field {
			.form-control {
				height: 38px;
				padding-left: 8px;
				padding-right: 8px;
			}
			.form-help {
				margin-top: 4px;
				color: $color_gray_50;
				a {
					border: 0;
					color: inherit;
					text-decoration: underline;
				}
			}
			.btn {
				padding-left: 40px;
				padding-right: 40px;
			}
		}
		@media(max-width: 575px){
			flex-direction: column;
			.form-label {
				margin: 0 0 4px 0;
			}
		}
	}
}