/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
	color: #222;
	font-size: 1em;
	line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.fp-icon {
	font-family: 'icomoon';
	speak: none;
	line-height: 1;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
}

.fp-icon:before {
	display: block;
	font-size: 2em;
	margin-bottom: 10px;
}

body {
	font-family: 'Gotham';
	color: #fff;
}

.container {
	height: 100%;
}

.fp-main {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
	letter-spacing: 0.1em;
	background-color: #7DDD80;
}

.fp-main:before {
	content: "";
	display: block;
	position: absolute;
	max-width: 1920px;
	height: 100%;
	left: 0;
	right: 0;
	z-index: 1;
	opacity: 0.08;
	margin-left: auto;
	margin-right: auto;
}

.fp-main > section {
	position: absolute;
	width: 20%;
	height: 100%;
	top: 0;
}

.fp-main > section .fp-icon-close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
}

.fp-icon-close:before {
	content: "\ea0d";
}

.fp-main > section {
	transition: all 0.2s ease-in-out;
}

.fp-main > section.fp-expand {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.fp-main > section.fp-expand-top {
	z-index: 100;
}

.fp-content,
.fp-icon-close {
	transition: opacity 0.1s linear 0s;
}

.fp-main.bl-expand-item > section:not(.fp-expand),
.fp-main.bl-expand-item > section.fp-scale-down {
	opacity: 0;
}

section.fp-expand .fp-content,
section.fp-expand .fp-icon-close {
	pointer-events: auto;
	opacity: 1;
	transition: opacity 0.3s linear 0.5s;
}

section.fp-expand .fp-box {
	opacity: 0;
	transition: opacity 0s linear;
}

.fp-box {
	position: relative;
	width: 100%;
	height: 100%;
	opacity: 1;
	display: flex;
	box-align: center;
	align-items: center;
}

.fp-five {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	/*box-align: center;*/
	align-items: center;
	/*justify-content: space-around;*/
}

.fp-five-item {
	position: relative;
	display: flex;
	min-width: 200px;
	max-width: 200px;
	height: 90%;
	text-align: center;
	flex-direction: column;
}

.fp-five-detail > img {
	width: auto;
	height: 187px;
}

.fp-five-item > .fp-five-detail:last-child {
	flex-grow: 1;
	background-color: #fff;
	border-radius: 5px;
	margin-top: 10px;
	padding-top: 10px;
	color: rgb(100, 102, 102);
}

.fp-five-head{
	font-size: 32px;
	font-weight: 800 !important;
	margin-bottom: 25px;
	color: #2AA222;
}

.fp-five-dl{
	font-weight: 800 !important;
	color: #2AA222;
}

.fp-five-dl, .fp-five-up, .fp-five-data, .fp-five-price{
	margin-bottom: 15px;
}

[class*="fp-five-item fp-five-"] > img {
	position: absolute;
	top: 140px;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	max-width: 100px;
	height: auto;
	z-index: 10;
}

.fp-five-100 > img {
	max-width: 150px;
}

.fp-five-detail {
	z-index: 0;
	position: relative;
	width: 100%;
	color: #9c9b9b;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.fp-five-detail > span {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	font-weight: 400;
	flex-grow: 1;
}

.fp-five-detail > span:last-child > button {
	border-radius: 5px;
	background-color: #7DDD80;
	color: #fff;
	border: 0;
	width: 90%;
	align-self: stretch;
	margin-bottom: 20px;
	font-size: 1.3em;
	height: 50px;
	font-weight: 100;
}

.fp-five-detail > span:last-child > button:hover {
	background-color: #7b922a;
}

.fp-five-detail > span:last-child > button:focus {
	background-color: #7b922a;
	outline: 0;
}

.fp-five-detail > span.fp-five-price {
	font-size: 1.8em;
	font-weight: 500;
}

.fp-five-detail > span.fp-five-contract-detail {
	font-size: 0.7em;
}

.fp-content {
	display: flex;
	flex-direction: column;
	opacity: 0;
	position: absolute;
	top: 60px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	overflow: hidden;
	overflow-y: hidden;
}

.fp-wrapper:first-child {
	display: flex;
	flex-direction: row;
	margin-bottom: 50px;
}

.fp-wrapper:nth-child(2) {
	/*flex-grow: 1;*/
	display: flex;
	align-items: center;
}

.fp-result {
	font-weight: 500;
	width: 100%
}

.fp-result-stretched {
	align-self: stretch;
}

.fp-wrapper:last-child {
	display: flex;
	flex-direction: row;
	margin-top: auto;
}

.fp-wrapper > .fp-footer {
	width: 100%;
	font-size: 0.9em;
	letter-spacing: 0.1em;
}

.fp-wrapper > .fp-footer:last-child {
	text-align: right;
}

.fp-wrapper > .fp-footer:last-child > span {
	cursor: pointer;
}

.fp-input {
	display: inline-block;
	position: relative;
	flex-grow: 1;
	margin: 0px 5px;
	z-index: 1;
	vertical-align: top;
}

.fp-input-hidden {
	display: none;
}

.fp-input-full {
	width: 100%;
	max-width: none;
}

.autocomplete {
	position: absolute !important;
	color: #000 !important;
	opacity: 0.4;
	z-index: -5;
	top: 0;
	left: 0;
	user-select: none;
	background: transparent;
	pointer-events: none;
}

.fp-input-field {
	color: #fff;
	position: relative;
	font-size: 1em;
	display: block;
	background: transparent;
	float: right;
	width: 100%;
	text-transform: uppercase;
	border: none;
	border-radius: none;
}

.fp-input-field:focus {
	outline: none;
}

.fp-input-label-content {
	position: relative;
	display: block;
	padding: 0;
	width: 100%;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: -webkit-transform 0.2s, color 0.3s;
	transition: transform 0.2s, color 0.3s;
}

.fp-input-label {
	position: absolute;
	float: right;
	text-align: left;
	color: #fff;
	font-size: 1em;
	display: inline-block;
	width: 100%;
	user-select: none;
	pointer-events: none;
}

.fp-input-label::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 3px;
	background: #fff;
	left: 0;
	top: 100%;
	transform-origin: 50% 100%;
	-webkit-transition: -webkit-transform 0.2s, background-color 0.3s;
	transition: transform 0.2s,
	background-color: 0.3s;
}

.fp-input-field:focus + .fp-input-label::after,
.input--filled .fp-input-label::after {
	background: #fff;
	-webkit-transform: scale3d(1, 0.25, 1);
	transform: scale3d(1, 0.25, 1);
}

.fp-input-field:focus + .fp-input-label .fp-input-label-content,
.input--filled .fp-input-label .fp-input-label-content {
	color: #000;
	-webkit-transform: translate3d(0, 1.7em, 0) scale3d(0.7, 0.7, 1);
	transform: translate3d(0, 1.7em, 0) scale3d(0.7, 0.7, 1);
}

.fp-result-row {
	display: flex;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.05);
	margin: 5px 0px;
	line-height: 2em;
	font-size: 1.2em;
	transition: color 0.1s;
}

.fp-result-label {
	display: inline-block;
	margin-left: 0px;
	min-width: 100px;
	width: 100px;
	text-align: left;
	flex-grow: 1;
}

.fp-result-row:hover {
	color: #000;
}

.fp-checkbox {
	width: 100%;
	display: flex;

}

.fp-checkbox label {
	flex-grow: 1;
	height: 20px;
	line-height: 20px;
	padding-left: 20px;
}

img {
	width: 200px;
	max-width: 300px;
	height: auto;
}

.slider a {
	display: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 768px) {
	.fp-five {
		justify-content: space-around;
	}
}

@media only screen and (max-width: 1650px) {
	.fp-result-row {
		line-height: 2em;
		font-size: 1em;
	}
}

@media only screen and (max-width: 1430px) {
	/* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 1200px) {

	.fp-input-field{
		left: 10px;
	}

	.fp-wrapper:first-child {
		flex-wrap: wrap;
	}

	.fp-wrapper > .fp-input {
		min-width: 300px;
		font-size: 2em;
		margin-bottom: 40px;
	}

	.fp-result > .fp-result-row {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.fp-result-strechet {
		align-self: auto;
	}

	.fp-five-item {
		min-width: 150px;
		max-width: 150px;
	}

	.fp-five-detail > img {
		height: 140px;
	}

	[class*="fp-five-item fp-five-"] > img {
		top: 100px;
		max-width: 80px;
	}

	.fp-five-100 > img {
		max-width: 120px;
	}

	.fp-result > .fp-result-row > .fp-result-label {
		width: auto;
		min-width: auto;
		flex-grow: 0;
		padding: 5px;
	}

}

@media only screen and (max-width: 720px) {

	.fp-input-field{
		left: 5px;
	}

	.fp-wrapper {
		margin: 2px;
	}

	.fp-wrapper:first-child {
		flex-direction: row;
		/*overflow-y: auto;*/
		margin-bottom: 0;
	}

	.fp-wrapper:first-child > .fp-input {
		font-size: 0.8em;
		letter-spacing: 0;
		margin-left: 0px;
		margin-right: 0px;
		width: 100%;
		min-width: auto;
	}

	.fp-wrapper:nth-child(2) {
		overflow-y: auto;
	}

	.fp-result > .fp-result-row {
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.fp-result > .fp-result-row > .fp-result-label {
		min-width: auto;

	}

}

@media only screen and (max-width: 400px) {

	.fp-content {
		top: 10px;
		left: 15px;
		right: 15px;
	}

	.fp-result > .fp-result-row {
		line-height: 1em;
		font-size: 0.6em;
		letter-spacing: 0em;
	}

	.fp-result > .fp-result-row > .fp-result-label {
		width: 100px;
	}

	.fp-wrapper > .fp-input {
		margin-bottom: 20px;
	}

	.fp-wrapper {
		overflow-y: none;
	}

	.fp-five-item {
		position: relative;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
	}

	.fp-five-item > img {
		display: none;
	}

	.fp-five-detail > img {
		display: none;
	}

	.fp-five {
		justify-content: baseline;
	}

	.slider {
		overflow: hidden;
	}

	.fp-five-item > .fp-five-detail:last-child {
		padding-top: 0;
	}

	.slider a {
		display: auto;
	}

	a.control_prev, a.control_next {
		position: absolute;
		top: 40%;
		z-index: 999;
		display: block;
		padding: 4% 3%;
		width: auto;
		height: auto;
		background: #2a2a2a;
		color: #fff;
		text-decoration: none;
		font-weight: 600;
		font-size: 18px;
		opacity: 0.8;
		cursor: pointer;
	}

	a.control_prev:hover, a.control_next:hover {
		opacity: 1;
		-webkit-transition: all 0.2s ease;
	}

	a.control_prev {
		border-radius: 0 2px 2px 0;
	}

	a.control_next {
		right: 0;
		border-radius: 2px 0 0 2px;
	}

	.fp-five-detail > span.fp-five-contract-detail {
		width: 50%;
	}

}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after,
	*:first-letter,
	*:first-line {
		background: transparent !important;
		color: #000 !important;
		/* Black prints faster:
										  http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */
	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * http://css-discuss.incutio.com/wiki/Printing_Tables
	 */
	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}
