/*

The Story Theme

http://www.templatemo.com/tm-480-story

*/

body, html {
	height: 100%;
	margin: 0;
}

/* Preloader */

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	z-index: 99;
}

#status {
	width: 200px;
	height: 200px;
	position: absolute;
	left: 50%;
	top: 50%;
	background-image: url(../img/status.gif);
	background-repeat: no-repeat;
	background-position: center;
	margin: -100px 0 0 -100px;
}

/* Resets */

a:hover, a:focus {
	color: white
}

h1, h2, h3, h4 {
	margin: 0;
}

p:last-child {
	margin-bottom: 0;
}

/**/
.page {
	background-color: #222222;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 300;
	padding: 30px 15px;
	overflow-x: hidden;
}

.page-bg-imgs-list {
	display: none;
}

.header {
	max-width: 420px;
	overflow: auto;
}

.content-wrapper {
	margin-top: 100px;
}

.content {
	max-width: 600px;
	margin-left: auto;
	margin-right: 0;
}

.content-gallery {
	max-width: 900px;
}

.content-text {
	background-color: white;
	padding: 40px;
}

.content-text h4 {
	padding-top: 10px;
}

.content-text-gallery {
	padding: 5px;
	position: relative;
	height: auto;
	min-height: 200px;
}

.box {
	display: block;
	padding: 10px;
}

.box-text {
	border: 0px solid white;
	color: white;
	font-style: italic;
	width: 100%;
	height: 100%;
}

.box-white {
	background-color: rgba(255, 255, 255, 0.3);
}

.box-black {
	background-color: rgba(0, 0, 0, 0.7);
}

.site-title-text {
	font-size: 1.8em;
	padding-top: 20px;
	padding-bottom: 25px;
	text-align: center;
}

.page-title-text {
	font-size: 2.2em;
	padding: 15px 0;
	text-align: left;
}

.choix-container {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.choix-item {
	padding: 10px 20px;
	background-color: #ff69b4;
	color: white;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease;
	margin: 5px;
}

.choix-item:hover {
	background-color: #ff1493;
}

.nav-items-container {
	padding: 0;
}

.box-nav-item {
	margin-bottom: 10px;
	font-size: 1.5em;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.box-nav-item-link {
	padding: 10px;
}

.box-nav-item:hover, .box-nav-item:focus, .box-nav-item.active {
	background-color: rgba(241, 241, 241, 0.59);
}

.box-nav-item:hover .box-text-nav-item,
.box-nav-item:focus .box-text-nav-item,
.box-nav-item.active .box-text-nav-item {
	color: black;
	border: 1px solid black;
}

/* footer */
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
}

.main-content {
	flex-grow: 1;
}

.footer {
	left: 0;
	background-color: #111;
	padding: 20px;
	text-align: center;
	box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.3);
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	margin-left: -15px;
	margin-right: -15px;
}

.footer .copyright-text {
	color: white;
	font-size: 14px;
	margin-left: 20px;
}

.footer-nav {
	list-style: none;
	display: flex;
	gap: 15px;
	padding: 0;
	margin: 0 20px 0 0;
}

.footer-nav li {
	display: inline-block;
}

.footer-nav a {
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	font-size: 16px;
	font-weight: bold;
	background-color: #222;
	border-radius: 5px;
	transition: background 0.3s, transform 0.2s;
	display: block;
}

.footer-nav a:hover {
	background-color: #444;
}

@media screen and (max-width: 768px) {
	.footer {
		flex-direction: column;
		text-align: center;
	}

	.footer-nav {
		margin-top: 10px;
	}

	.footer .copyright-text {
		margin-left: 0;
	}
}

/* Utility Classes */

.margin-t-30 {
	margin-top: 30px;
}

.margin-b-20 {
	margin-bottom: 20px;
}

.block-keep-ratio,
.block-keep-ratio-content {
	display: block;
}

.block-keep-ratio {
	position: relative;
}

.block-keep-ratio-content {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

.block-keep-ratio:after {
	display: block;
	content: '';
}

.block-keep-ratio-1-1:after {
	padding-top: 100%;
}

.block-width-half {
	width: 49%;
}

.flexbox-center {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
}


/* FlexSlider Styles
-------------------------------------------- */

.flexslider {
	border-radius: 0;
	margin-bottom: 5px;
}

.flexslider li {
	margin: 0;
	padding: 0;
}

.flex-next,
.flex-prev {
	line-height: 1; /* Bootstrap override */
}

#carousel {
	margin: 0;
}

#carousel li {
	margin-right: 5px;
}

#carousel img {
	display: block;
	opacity: 1;
	cursor: pointer;
}

#carousel .flex-active-slide img {
	opacity: 0.5;
	cursor: default;
}


/* Contact form */

.contact-form {
	margin-top: 30px;
}

.form-group {
	margin-bottom: 20px;
}

.form-control:focus {
	border-color: rgb(0, 218, 79);
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 200, 81, .6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 200, 81, 0.6);
}

.form-control {
	font-size: 1em;
	border-radius: 0;
}

.submit-btn {
	color: #A0A0A0;
	background-color: transparent;
	border-color: #A0A0A0;
	border-radius: 0;
	font-size: 1.1em;
	margin-top: 5px;
	width: 150px;
	height: 50px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.submit-btn:hover, .submit-btn:focus {
	color: white;
	background-color: #A0A0A0;
	border-color: #A0A0A0;
}

.form-group-2-col-left {
	padding-left: 0;
	padding-right: 5px;
}

.form-group-2-col-right {
	padding-right: 0;
	padding-left: 5px;
}

.footer.sticky {
	position: fixed;
	bottom: 10px;
	left: 30px;
}

/* Media Queries */

@media screen and (max-width: 991px) {

	.form-group-2-col-left,
	.form-group-2-col-right {
		padding-left: 0;
		padding-right: 0;
	}

	.content {
		margin: 0 0 0 auto;
	}

	.content-wrapper {
		margin-top: 30px;
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 767px) {
	.content-wrapper {
		position: static;
	}
}

@media screen and (max-width: 1199px) and (min-width: 992px) {

	.block-width-half {
		width: 48%;
	}

	.box-nav-item {
		font-size: 1.4em;
	}

	.site-title-text {
		font-size: 2em;
	}
}

@media screen and (max-width: 480px) {

	.block-width-half {
		width: 48%;
	}

	.box-nav-item {
		font-size: 1.4em;
	}

	.site-title-text {
		font-size: 1.6em;
	}

	.page-title-text {
		font-size: 1.6em;
	}

	.content-text {
		padding: 30px 25px;
	}

	.content-text-gallery {
		padding: 5px;
	}
}