/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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.
 */

:root {
}

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

html,
button,
input,
select,
textarea {
	color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 *
 */

::-moz-selection {
	background: var(--color-primary);
	text-shadow: none;
}

::selection {
	background: var(--color-primary);
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
	resize: vertical;
}

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


:root {
	--color-primary: #008897;
	--color-primary-trans-90: rgb(0, 136, 151, 0.9);
	--color-primary-light: #03c4d9;
	--color-yellow: #efbb00;

	--font-family-base: "Inter", sans-serif;

	--font-size-base: 16px;
	--font-size-text: 1.125rem; /* 18px */
	--font-size-large: 1.5625rem; /* 25px */
	--font-size-large-2: 2.1875rem; /* 35px */
	--font-size-large-3: 2.5rem; /* 40px */
	--font-size-big: 3.125rem; /* 50px */
	--font-size-big-2: 3.4375rem; /* 55px */
	--font-size-big-3: 4rem; /* 64px */
	--font-size-big-4: 4.6875rem; /* 75px */
	--font-size-g: 5.625rem; /* 90px */
	--font-size-g-2: 7.5rem; /* 120px */

	--font-size-menu: calc(var(--font-size-large-2) * 0.857);

	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-light: 300;

	--width-page: 2560px;
	--width-page-mid: 1880px;
	--width-min: 320px;

	--padding-xs: 1.5625vw; /* 40px / 2560 */
	--padding-s: 2.3437vw; /* 60px / 2560 */
	--padding-m: 3.125vw; /* 80px / 2560 */
	--padding-m-2: 4.2968vw; /* 110px / 2560 */
	--padding-l: 7.8125vw; /* 200px / 2560 */
	--padding-page: 5.45vw; /* 140px / 2560 */
}

@media screen and (min-width: 2560px) {
	:root {
		--padding-xs: 40px;
		--padding-s: 60px;
		--padding-m: 80px;
		--padding-m-2: 110px;
		--padding-l: 200px;
		--padding-page: 140px;
	}
}

@media screen and (max-width: 1920px) {
	:root {
		--font-size-big: 2.5rem; /* 40px */
		--font-size-big-2: 2.5rem; /* 40px */
		--font-size-big-3: 2.5rem; /* 64px */
		--font-size-big-4: 3.125rem; /* 50px */
		--font-size-g: 4.375rem; /* 70px */
		--font-size-g-2: 5.625rem; /* 90px */
	}
}

@media screen and (max-width: 1200px) {
	:root {
		--font-size-text: 1.125rem; /* 18px */
		--font-size-large: 1.25rem; /* 20px */
		--font-size-large-2: 1.5625rem; /* 25px */
		--font-size-large-3: 1.875rem; /* 30px */
		--font-size-big: 1.875rem; /* 30px */
		--font-size-big-2: 1.875rem; /* 30px */
		--font-size-big-3: 1.875rem; /* 30px */
		--font-size-big-4: 2.5rem; /* 40px */
		--font-size-g: 2.5rem; /* 40px */
		--font-size-g-2: 3.125rem; /* 50px */

		--padding-xs: 1rem;
		--padding-s: 30px;
		--padding-m: 40px;
		--padding-m-2: 50px;
		--padding-l: 80px;
		--padding-page: 60px;
	}
}

@media screen and (max-width: 1023px) {
	:root {
		--padding-xs: 1rem;
		--padding-s: 1rem;
		--padding-m: 2rem;
		--padding-m-2: 2rem;
		--padding-l: 2rem;
		--padding-page: 2rem;
	}
}

body, html {
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-regular);

	font-optical-sizing: auto;
	font-style: normal;

	background-color: #ffffff;
	color: #000000;

	scroll-behavior: smooth;
}

body {
	max-width: var(--width-page);
	min-width: var(--width-min);

	margin: 0 auto;
	background-color: #FFFFFF;
	color: #000000;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

button, input, select, textarea {
	font-family: var(--font-family-base);
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

a:hover {
	color: var(--color-primary);
}

p, ul {
	margin-top: 0;
}

/* helpers */

.anchor {
	display: block;
	font-size: 0;
	line-height: 0;
	height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	position: absolute;
}

.mb-1 {
	margin-bottom: 1rem;
}

.mb-b {
	margin-bottom: 5rem; /* 80px */
}

.mb-g {
	margin-bottom: 9.5rem; /* ~150px */
}

.pt-1 {
	padding-top: 1em;
}

.link-color {
	color: var(--color-primary);
}

.link-color:hover {
	color: #ffffff;
}

@media screen and (max-width: 1200px) {
	.mb-b {
		margin-bottom: 3rem;
	}
}

/* --- project --- */

.content {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--width-page);
	min-width: var(--width-min);
	box-sizing: border-box;
}

.content .content {
	min-width: 0;
}

.content.content-mid {
	max-width: var(--width-page-mid);
}

.content.content-padded {
	padding-left: var(--padding-page);
	padding-right: var(--padding-page);
}

.content.content-padded-m {
	padding-left: var(--padding-m);
	padding-right: var(--padding-m);
}

.content.content-padded-s {
	padding-left: var(--padding-s);
	padding-right: var(--padding-s);
}

.content-mid.content-padded-s {
	max-width: calc(var(--width-page-mid) + calc(var(--padding-s) * 2));
}

.content.content-vpadded {
	padding-top: var(--padding-page);
	padding-bottom: var(--padding-l);
}

.content.content-vpadded-s {
	padding-top: var(--padding-m);
	padding-bottom: var(--padding-s);
}

/* titles */

.title {
	display: block;
	margin: 0 0 0.65em 0;
	line-height: 1.1em;
	font-weight: var(--font-weight-medium);
}

.title.title-nm {
	margin-bottom: 0;
}

.title-main {
	font-size: var(--font-size-big-2);
	line-height: 1.5em;
}

.title-b {
	font-size: var(--font-size-big-4);
}

.title-g {
	font-size: var(--font-size-g-2);
	line-height: 1.01em;
}

.subtitle, .g-subtitle {
	display: block;
	line-height: 1.2em;
	margin: 0;
}

.title-g .subtitle, .g-subtitle {
	padding-top: 0.8em;
	font-size: calc(var(--font-size-g-2) * 0.333);
	font-weight: var(--font-weight-light);
}

.title-b .subtitle {
	font-size: calc(var(--font-size-big-4) * 0.8);
}

.text-match-subtitle {
	padding-top: calc(var(--font-size-g-2) * 0.333 * 0.8);
}

@media screen and (max-width: 1200px) {
	.title-g .subtitle, .g-subtitle {
		font-size: var(--font-size-large);
	}

	.text-match-subtitle {
		padding-top: calc(var(--font-size-large) * 0.8);
	}
}

/* buttons */

.button {
	display: inline-block;
	font-size: var(--font-size-text);
	padding: 1em 2em;
	background-color: #000000;
	border-radius: 1000px;
	color: #ffffff;
	font-weight: var(--font-weight-light);
	transition: background-color 0.3s ease;
	text-transform: lowercase;
	text-align: center;
	box-sizing: border-box;
	border: none;
}

.button.button-wide {
	min-width: 420px;
}

.button.button-wide-2 {
	min-width: 300px;
}

.button.button-xs {
	font-size: var(--font-size-base);
	padding: 0.3em 2.2em;
}

.button.button-it {
	font-style: italic;
}

.button:hover {
	background-color: rgba(0,0,0,0.8);
	color: #ffffff;
}

@media screen and (max-width: 520px) {
	.button.button-wide {
		min-width: 0;
	}
}

@media screen and (max-width: 360px) {
	.button.button-wide-2 {
		min-width: 0;
	}
}

/* header + nav */

.main-header {
	height: 100vh;
	max-height: 1440px;
	min-height: 980px;
}

.content-header {
	height: 100%;
	position: relative;
	overflow: hidden;
}

.changer-logo {
	font-size: var(--font-size-big-3);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
	width: 80%;
	max-width: 12.8em;
	z-index: 5;
}

.changer-logo-image {
	display: block;
	width: 100%;
	margin-bottom: 1.3em;
}

.menu-trigger {
	--menu-trigger-line-height: 7px;
	--menu-trigger-gap: 8px;

	position: absolute;
	top: 50px;
	right: var(--padding-page);
	z-index: 6;
}

.menu-trigger-icon {
	display: flex;
	position: relative;
	width: calc(var(--menu-trigger-line-height) * 8.71);
	height: calc(var(--menu-trigger-line-height) * 3 + var(--menu-trigger-gap) * 2);
	justify-content: center;
	align-items: center;
}

.menu-trigger-icon:before, .menu-trigger-icon:after {
	position: absolute;
	content: " ";
	display: block;
	width: 100%;
	height: var(--menu-trigger-line-height);
	background-color: #FFFFFF;
	top: 0;
	transition: top 0.3s ease, background-color 0.3s ease;
	transform-origin: center center;
	animation-fill-mode: forwards;
}

.menu-trigger-icon:after {
	top: calc(100% - var(--menu-trigger-line-height));
}

.menu-trigger-icon .line {
	height: var(--menu-trigger-line-height);
	background-color: #FFFFFF;
	width: 100%;
	display: block;
	opacity: 1;
	transition: opacity 0.3s ease, background-color 0.3s ease;
}

.menu-opened .menu-trigger-icon .line {
	opacity: 0;
}

.menu-opened .menu-trigger-icon:before {
	top: 49%;
	animation-name: rotate-line-1;
	animation-duration: 0.3s;
	animation-delay: 0.3s;
	animation-direction: normal;
}

.menu-opened .menu-trigger-icon:after {
	top: 48%;
	animation-name: rotate-line-2;
	animation-duration: 0.3s;
	animation-delay: 0.3s;
	animation-direction: normal;
}

@keyframes rotate-line-1 {
	from { transform: rotate(0); }
	to { transform: rotate(45deg); }
}

@keyframes rotate-line-2 {
	from { transform: rotate(0); }
	to { transform: rotate(-45deg); }
}

.main-nav {
	font-size: var(--font-size-menu);
	position: absolute;
	top: 0;
	right: 0;
	z-index: 5;
	height: 100%;
	background-color: var(--color-primary-trans-90);
	color: #ffffff;
	padding: 140px 7em 3.6666em 3.6666em;
	box-sizing: border-box;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.menu-opened .main-nav {
	transform: translateX(0);
}

.header-title {
	font-size: var(--font-size-big-3);
	font-weight: var(--font-weight-regular);
	color: #ffffff;
	text-align: center;
	line-height: 1em;
	margin: 0 0 1em 0;
	text-transform: lowercase;
}

.header-title .subtitle {
	display: block;
	font-weight: var(--font-weight-light);
	text-transform: none;
	line-height: 2em;
}

@media screen and (max-width: 1600px) {
	.main-header {
		min-height: 600px;
	}
}

@media screen and (max-width: 1200px) {
	.main-header {
		min-height: 470px;
	}
}

@media screen and (max-width: 680px) {
	.changer-logo {
		font-size: var(--font-size-large-2);
		min-width: 13em;
	}

	.header-title {
		font-size: var(--font-size-large-2);
	}
}

@media screen and (max-width: 480px) {
	.menu-trigger {
		--menu-trigger-line-height: 5px;
		--menu-trigger-gap: 6px;
	}
}

@media screen and (max-width: 420px) {
	.main-nav {
		width: 100vw;
		padding: 120px 2em 2em 2em;
	}
}

@media screen and (max-width: 400px) {
	.changer-logo {
		font-size: var(--font-size-large);
		min-width: 14em;
	}

	.header-title {
		font-size: var(--font-size-large);
	}
}

/* homepage */

.halves {
	display: grid;
	column-gap: 4px;
	grid-template-columns: repeat(2, 1fr);
}

.half {
	position: relative;
}

.half-split-text {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
}

.half-split-text .g-subtitle {
	margin-bottom: auto;
}

.half-right {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-end;
}

.half-center-top-right {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

.whole {
	grid-column: 1 / 3;
}

.hero-tangram {
	display: block;
	width: 85%;
	margin: 0 auto;
	max-width: 970px;
}

@media screen and (max-width: 1023px) {
	.halves {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.whole {
		grid-column: 1 / 1;
	}

	.content-header {
		min-height: 0;
	}

	.hero-tangram {
		max-width: 500px;
	}
}

.hero-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: 100%;
}

.common-text {
	font-size: var(--font-size-text);
}

.common-text.common-text-sm {
	font-weight: var(--font-weight-light);
}

.hero-text-logo {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	margin-top: 6.25em;
}

.hero-text-logo-image {
	width: 100%;
	max-width: 280px;
}

.hero-button-logo {
	width: 100%;
}

@media screen and (max-width: 1023px) {
	#top-section .half:first-of-type {
		order: 2;
		padding-top: 5em;
		padding-bottom: 5em;
	}

	#top-section .half:last-of-type {
		order: 1;
	}

	.hero-button-logo {
		display: flex;
		justify-content: space-between;
		align-items: center;
		column-gap: 1.5rem;
	}

	.hero-button-logo .button {
		white-space: nowrap;
	}

	.hero-text-logo {
		margin-top: 0;
	}
}

@media screen and (max-width: 780px) {
	.hero-button-logo {
		flex-direction: column;
		align-items: center;
		row-gap: 4rem;
	}

	.hero-button-logo .button {
		white-space: normal;
	}

	.hero-text-logo {
		justify-content: center;
	}
}

.google-map {
	width: 100%;
	height: 36vw; /* ~920px */
	min-height: 360px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.google-map.map-loaded {
	opacity: 1;
}

.whole-image {
	display: block;
	width: 100%;
	height: auto;
}

.content-survey {
	position: relative;
	overflow: hidden;
}

.content-survey > * {
	position: relative;
	z-index: 1;
}

.survey-bcg-image {
	--blur: 10px;

	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% + var(--blur));
	height: calc(100% + var(--blur));
	z-index: 0;
	filter: blur(var(--blur));
	opacity: 0.2;
	object-fit: cover;
	object-position: center center;
}

.image-survey {
	padding-left: var(--padding-xs);
	padding-right: var(--padding-xs);
}

@media screen and (max-width: 1023px) {
	.image-survey {
		padding-left: 0;
		padding-right: 0;
		padding-top: 5em;
	}
}

/* sideform */

.sideform-container {
	position: relative;
}

.side-form {
	position: absolute;
	top: 0;
	right: 0;
	width: calc(50% - 2px);
	min-height: 100%;
	background-color: var(--color-yellow);

	z-index: 5;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.side-form-opened .side-form {
	opacity: 1;
	pointer-events: auto;
}

.side-form .button-close {
	position: absolute;
	top: var(--padding-xs);
	right: var(--padding-s);
}

.side-form-inner {
	width: 100%;
	max-width: 650px;
}

.side-form .title-b {
	margin-bottom: 0.85em;
}

.side-form-text {
	margin-bottom: 4em;
}

/* single form */

.single-form {
	--margin-item: 1.7em;

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.single-form input[type=text] {
	background-color: #ffffff;
	color: #000000;
	border-radius: 1000px;
	width: calc(50% - 1em);
	margin-bottom: var(--margin-item);
	border: none;
	font-style: italic;
	padding: 1em 2em;
	box-sizing: border-box;
	outline: 2px solid transparent;
	outline-offset: -4px;
	transition: outline-color 0.3s ease;
}

.single-form input[type=text]:focus {
	outline-color: var(--color-yellow);
}

.single-form ::placeholder {
	color: #000000;
	opacity: 1;
}

.single-form .checkboxlist {
	--width-base: 16.66666%;

	width: 100%;
	display: flex;
	font-style: italic;
	margin-bottom: 1em;

	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 1em 0;
}

.single-form .checkboxlist.checkboxlist-mb {
	margin-bottom: var(--margin-item);
}

.single-form .checkboxlist.checkboxlist-mb-2, .single-form .checkbox.checkbox-mb-2 {
	margin-bottom: calc(var(--margin-item) * 2);
}

.single-form .checkboxlist-title {
	width: calc(2 * var(--width-base));
	font-weight: var(--font-weight-regular);
	white-space: nowrap;
}

.single-form .checkboxlist-title.checkboxlist-title-long {
	width: calc(3 * var(--width-base));
}

.single-form .checkboxlist-item {
	white-space: nowrap;
	width: calc(1 * var(--width-base));
}

.single-form .checkboxlist-item-wide {
	width: calc(3 * var(--width-base));
}

.single-form .checkboxlist-item-wide-2 {
	width: calc(2 * var(--width-base));
}

.single-form .checkboxlist input[type=checkbox],
.single-form .checkbox input[type=checkbox]
{
	margin-right: 0.5em;
	width: 1em;
	height: 1em;
	border: none;
}

.single-form .checkbox {
	display: flex;
	align-items: flex-start;
	margin-bottom: var(--margin-item);
}

.single-form .checkbox label {
	font-size: var(--font-size-base);
	font-style: italic;
}

.single-form .checkbox input[type=checkbox] {
	flex-shrink: 0;
	position: relative;
	top: 0.2em;
}

.single-form .submit-group {
	width: 100%;
}

@media screen and (max-width: 1480px) {
	.side-form {
		width: 100%;
	}

	.side-form-inner {
		margin-left: auto;
	}
}

@media screen and (max-width: 720px) {
	.single-form .checkboxlist {
		--width-base: 25%;
		max-width: 520px;
	}

	.single-form .checkboxlist-title,
	.single-form .checkboxlist-title.checkboxlist-title-long
	{
		width: 100%;
	}

	.checkboxlist-title-empty {
		display: none;
	}
}

@media screen and (max-width: 520px) {
	.single-form {
		--margin-item: 1em;
	}

	.single-form input[type=text] {
		width: 100%;
	}
}

@media screen and (max-width: 360px) {
	.side-form .title-b {
		margin-top: 0.85em;
	}
}

@media screen and (max-width: 360px) {
	.single-form .checkboxlist {
		--width-base: 50%;
		max-width: 100%;
	}
}

/* add here */

/* footer */

#main-footer > .content {
	position: relative;
	background-color: #000000;
	color: #ffffff;
}

.footer-image-bcg {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.2;
	object-fit: cover;
	object-position: center center;
}

#main-footer .halves {
	position: relative;
	z-index: 1;
}

.footer-logo-11 {
	width: 100%;
	max-width: 490px;
	margin-bottom: 3em;
}

.footer-logo-company {
	width: 100%;
	max-width: 250px;
	margin-bottom: 2em;
}

.footer-opening p {
	display: inline;
}

.footer-remark p {
	display: inline;
}

#main-footer > .footer-stripe {
	background-color: #ffffff;
	color: #000000;
	font-weight: var(--font-weight-regular);
	display: flex;
	justify-content: space-between;
	padding: 1.4em var(--padding-s);
}

@media screen and (max-width: 1400px) {
	#main-footer > .footer-stripe {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	.legal {
		padding-top: 1em;
	}
}

@media screen and (max-width: 1023px) {
	#main-footer .half {
		text-align: center;
		margin-bottom: 3em;
	}

	.half-center-top-right {
		justify-content: center;
	}

	#main-footer .half:last-of-type {
		margin-bottom: 0;
	}

	.footer-logo-11 {
		padding-left: 0;
		width: 80%;
		max-width: 410px;
	}

	.footer-logo-company {
		width: 70%;
		padding-left: 0;
	}

}

@media screen and (max-width: 680px) {
	.footer-stripe {
		text-align: center;
	}

	#main-footer .sep {
		display: none;
	}

	.footer-part {
		display: block;
	}

	.legal a {
		display: block;
	}
}



/* social icons */

.social-icons {
	--icon-size: 40px;

	display: flex;
	justify-content: flex-start;
}

.social-icons a {
	width: var(--icon-size);
	height: var(--icon-size);
	aspect-ratio: 1 / 1;
	margin-right: calc(var(--icon-size) * 0.6);
	position: relative;
}

.social-icons a:hover {
	opacity: 0.8;
}

.social-icons a:last-of-type {
	margin-right: 0;
}

.social-icons img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}

@media screen and (max-width: 1023px) {
	.social-icons {
		justify-content: center;
	}
}

/* preload */

#preloader-cover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000;
	z-index: 100;
	background-image: url("../img/loader.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 150px 150px;
}

/* flashes */

figure.flashes {
	position: fixed;
	width: 370px;
	padding: 15px;
	top: 333px;
	left: 50%;
	margin-left: -200px;
	background-color: #019C9E;
	color: #ffffff;
	font-weight: bold;
	z-index: 12;
	border: 1px solid #ffffff;
}

/* recaptcha */

.recaptcha-container {
	display: none;
	position: absolute;
	padding: 10px;
	border-radius: 4px;
	overflow: hidden;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.8);
	background-color: rgba(255, 255, 255, 0.9);
}

.recaptcha-wait {
	display: block;
	text-align: center;
	margin-bottom: 10px;
}

.recaptcha-wait span {
	display: inline-block;
	padding-right: 25px;
	background-image: url("../img/loader-dots.svg");
	background-position: 100% 75%;
	background-repeat: no-repeat;
	background-size: 20px;
}

.recaptcha-container.absolute {
	display: block;
}

/* paginator */

.pagination {
	text-align: center;
}

.pagination ul {
	display: inline-block;
	margin: 0;
	padding: 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination li {
	display: inline;
}

.pagination a {
	float: left;
	padding: 0 14px;
	line-height: 34px;
	text-decoration: none;
	border: 1px solid #ddd;
	border-left-width: 0;
}

.pagination a:hover, .pagination .active a {
	background-color: #f5f5f5;
}

.pagination .active a {
	color: #999999;
	cursor: default;
}

.pagination .disabled span, .pagination .disabled a, .pagination .disabled a:hover {
	color: #999999;
	background-color: transparent;
	cursor: default;
}

.pagination li:first-child a {
	border-left-width: 1px;
	border-radius: 3px 0 0 3px;
}

.pagination li:last-child a {
	border-radius: 0 3px 3px 0;
}

.pagination-centered {
	text-align: center;
}

.pagination-right {
	text-align: right;
}

/* errors default */

ul.error, ul.flashes {
	display: block;
	background-color: #ee630f;
	color: #ffffff;
	padding: 0;
	margin: 1rem 0rem;
}

ul.flashes {
	background-color: #a7a7a7;
}

ul.error li, ul.flashes li {
	padding: 5px 10px;
	margin: 0px;
	list-style-type: none;
	list-style-image: none;
}

ul.flashes .error {
	background-color: #ee630f;
}

/* popups */

.fix-content {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	overflow-y: auto;
}

.fix-content.showed {
	display: block;
}

.over-content {
	width: calc(100% - 40px);
	max-width: 30rem;
	padding: 2rem;
	box-sizing: border-box;
	background-color: #ffffff;
	margin: 0 auto;
	margin-top: 6.25rem;
	position: relative;
}

.close {
	position: absolute;
	right: 0;
	top: 0;
	width: 2rem;
	height: 2rem;
	line-height: 1.8rem;
	text-align: center;
	border-radius: 1000px;
	color: #000000;
	text-decoration: none;
	margin: -0.75rem -0.75rem 0 0;
	background-color: #ffffff;
	box-shadow: -1px 1px 4px 0px rgba(0, 0, 0, 0.27);
	font-size: 1.5rem;
}

/* chyby v poupuech */

.fix-content ul.error, .fix-content ul.flashes {
	background-color: transparent;
	color: #000000;
}

ul.flashes .error {
	background-color: #ee630f;
}

/* - - - */

a[href^="error:"] {
	background: red;
	color: white;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

div.center {
	text-align: center;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}
