/* ==========================================================================
	Structure
	 ========================================================================== */

#wrapper {
	&, * {
		transition: all ease .25s;
	}
}

/* 5-column-layout */
@each $breakpoint in map-keys($grid-breakpoints) {
	$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
	.col#{$infix}-5th {
		@extend %grid-column;
	}
	@include media-breakpoint-up($breakpoint, $grid-breakpoints) {
		// Provide basic `.col-{bp}` classes for equal-width flexbox columns
		.row-cols#{$infix}-5th {
			@include row-cols(2.4);
		}
		.col#{$infix}-5th {
			@include make-col(2.4, $grid-columns);
		}
		.order#{$infix}-5th { order: 2.4; }
		.offset#{$infix}-5th {
			@include make-col-offset(2.4, $grid-columns);
		}
	}
}

#wrapper {
	position: relative;
	z-index: 2;

	.container-fluid {
		position: relative;
		max-width: 1440px;
		padding-left: 40px;
		padding-right: 40px;

		@include media-breakpoint-down(lg) {
			// max-width: 992px;
		}

		@include media-breakpoint-down(md) {
			padding-left: 30px;
			padding-right: 30px;
		}

		@include media-breakpoint-down(sm) {
			padding-left: 20px;
			padding-right: 20px;
			.row {
				margin-right: -10px;
				margin-left: -10px;

				& > [class^="col-"],
				& > [class*=" col-"] {
					padding-right: 10px;
					padding-left: 10px;
				}
			}
		}

		@include media-breakpoint-down(xs) {
			padding-left: 15px;
			padding-right: 15px;
			.row {
				margin-right: -7.5px;
				margin-left: -7.5px;

				& > [class^="col-"],
				& > [class*=" col-"] {
					padding-right: 7.5px;
					padding-left: 7.5px;
				}
			}
		}

	}

	.display-table {
		display: table;
		width: 100%;
		height: 100%;

		.v-align {
			display: table-cell;
			vertical-align: middle;
		}

	}

}

#main h1.visible-tn {
	margin-top: -10px;
}

#main {
	position: relative;
	padding: 0;

	/*@include media-breakpoint-down(sm) {
		padding: 20px 0;
	}

	@include media-breakpoint-down(xs) {
		padding: 10px 0;
	}*/

	.content {
		position: relative;
		width: 100%;
		// height: 100%;
		padding: 30px 0;
		z-index: 20; /* needed for setting pseudo-element z-index */

		/*.btn:last-child {
			margin-bottom: 0;
		}*/

		@include media-breakpoint-down(md) {
			padding: 20px 0;
		}

		@include media-breakpoint-down(sm) {
			padding: 20px 0;
		}

	}

}

/* #Progress
================================================== */
:root {
	--grey-light: #f2f7f9;
	--grey: #ecedf3;
}
.progress-wrap {
	position: fixed;
	right: 20px;
	bottom: 20px;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	border-radius: 50px;
	// box-shadow: inset  0 0 0 4px rgba(255,255,255,1);
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	background: white;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
    transition: all 200ms linear;
	&.active-progress {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	&::after {
		position: absolute;
		content: "\f106";
		font-family: $fontawesome;
		text-align: center;
		line-height: 46px;
		font-size: 21px;
		color: $red;
		left: 0;
		top: 0;
		height: 46px;
		width: 46px;
		cursor: pointer;
		display: block;
		z-index: 1;
	    transition: all 200ms linear;
	}
	&:hover::after {
		// opacity: 0;
	}
	svg {
		path {
			fill: none;
		}
		&.progress-circle path {
			stroke: $red;
			stroke-width: 10px;
			box-sizing:border-box;
			-webkit-transition: all 200ms linear;
		    transition: all 200ms linear;
		}
	}
}

/* ==========================================================================
	No Script
	 ========================================================================== */

#noscript-wrapper {
	display: block;
	position: fixed;
	@include font-mixin(300, 21, 1.61803398875, $font-body);
	text-align: center;
	color: white;
	background: #CC0000;
	width: 100%;
	bottom: 0;
	left: 0;
	padding: 20px 0;
	z-index: 200;
}

#noscript-wrapper span {
	@include font-mixin(600, 21, 1.61803398875, $font-body);
}

/* ==========================================================================
	Accessibility
	 ========================================================================== */

.accessibility a {
	position: absolute;
		@include font-mixin(300, 21, 1.61803398875, $font-body);
	text-decoration: none;
	background: $yellow;
	color: black;
	margin: 10px;
	padding: 15px 20px;
	left: -1000px;
	z-index: 200;

	&:active,
	&:focus,
	&:hover {
		display: inline;
		color: black;
		outline: 4px solid $yellow;
		left: 0;
		top: 0;
	}

}

/* ==========================================================================
	Bootstrap
	 ========================================================================== */


