/*
 *	### Body
 */

body {
	background: #fff;
	font-family: 'Open Sans', sans-serif;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a:hover {
	text-decoration: none;
}

/*!
 * Copyright (c) 2017, Froala (https://www.froala.com/),
 * with Reserved Name: Froala Design Blocks.
 * https://github.com/froala/design-blocks
 * Code and documentation copyright 2018 Froala Labs. Code released under the Froala Open Web Design License.
 * https://github.com/froala/design-blocks/blob/master/LICENSE
 */

.fdb-block {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizelegibility;
	position: relative;
	overflow: hidden;
	padding: 4.5rem 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #fff;
}

.fdb-block .fdb-touch {
	z-index: 2;
	border-top: solid 0.3125rem #b90812;
}

.fdb-block .fdb-box {
	overflow: hidden;
	border-radius: 0.25rem;
	box-shadow: 0 0.3125rem 0.875rem 0 rgba(129, 129, 129, 0.2) !important;
	padding: 3.75rem 2.5rem;
	background: #fff;
	color: #444;
}

.fdb-block h2,
.fdb-block h3 {
	font-size: 1.5rem;
}

.fdb-block h4 {
	font-weight: 700;
	font-size: 1rem;
}

.fdb-block p {
	font-size: 0.875rem;
}

.fdb-block .fdb-heading {
	margin-bottom: 2em;
}

.fdb-block .fdb-heading h2 {
	color: #b90812;
}

.fdb-block .fdb-heading h3 {
	margin-bottom: 0;
	color: #e20812;
}

.fdb-block .fdb-heading .lead {
	margin-bottom: 0;
	font-size: 1rem;
}

/*
 *	### Header
 */

header {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	z-index: 100;
}

#navigation {
	-webkit-transition: all 0.8s ease 0s;
	transition: all 0.8s ease 0s;

	padding: 5px 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	background: rgba(255, 255, 255, 1);
}

.navbar-fixed-top {
	position: fixed;
	right: 0;
	left: 0;
	z-index: 1030;
}

#navigation.navbar-fixed-top {
	background-color: rgba(255, 255, 255, 0.95);
}

.navbar-fixed-top .navbar {
	padding-right: 0;
	padding-left: 0;
}

.navbar-nav .nav-item a {
	color: #000;
}

.navbar-nav .nav-item.active a {
	color: #b90812;
}

.navbar-nav.navbar-nav-langs .nav-link {
	padding-right: 0.25rem;
	padding-left: 0.25rem;
}

/*
 *	### Main
 */

main[role="main"] {
	position: relative;
	z-index: 10;
	background: #fff;
}

/*
 * Carousel
 */

.carousel-item {
	height: 100vh;
	min-height: 350px;
	background: no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.carousel-item p.lead {
	font-weight: 700;
	font-size: 1.75rem;
}

.carousel-item p {
	color: #fff;
}

.carousel-caption {
	bottom: 0;
	padding-bottom: 0;
}

@media only screen and (max-width: 767px) {
	.carousel-item {
		max-height: 350px;
	}

	.carousel-caption p:not(.lead):not([class*="mt"]) {
		display: none;
	}

	.carousel-caption p.lead {
		line-height: 1;
	}

	.carousel-caption [class*="mt"] {
		margin-top: 0.5rem !important;
	}
}


/*
 * ### Section
 */

section {
	position: relative;
	clear: both;
	background: #fff;
}

section p,
section ul li {
	line-height: 1.5;
	color: #969696;
}

section a {
	color: #b90812
}

section a:hover {
	color: #000;
}

/*
 *	Section : Slider
 */

.section-slider {
	padding: 0;
}

/*
 *	Section : Breadcrumbs
 */
section.section-breadcrumbs {
	margin: 0;
	padding: 0;
}

.section-breadcrumbs .breadcrumb {
	margin: 0;
	padding: 0;
	background: none;
}

.section-breadcrumbs .breadcrumb span {
	color: #777;
}

.section-breadcrumbs .breadcrumb li a:hover span {
	color: #1f94ea;
}

/*
 *	Section : Content
 */

.section-content h2,
.section-content h3 {
	margin-bottom: 32px;
}

.section-content p,
.section-content ul li {
	line-height: 1.75;
	font-size: 14px;
}

.section-content p:not(:last-child) {
	margin-bottom: 15px;
}

.section-content ul {
	margin: 0;
	padding: 0;
}

.section-content ul li {
	list-style-type: square;
	margin-left: 1.5em;
}

.section-content .row:not(:last-child),
.section-content ul {
	margin-bottom: 25px;
}

/*
 *	Section : Checked list
 */

.section-content ul.checked li {
	position: relative;
	margin: 0;
	padding: 0 0 0 40px;
	list-style: none;
}

.section-content ul.checked li:before {
	position: absolute;
	top: .4em;
	left: 0;
	line-height: 1;
	font-family: 'FontAwesome', sans-serif;
	content: "\f00c";
	color: #1f94ea;
}

/*
 * Section: Advantages
 */

.section-advantages .fa-icons {
	margin: 1em 0;
	color: #ffc1cb;
}

/*
 * Section: Top 100 books
 */

.section-top-100 {
	background: #fff3f4;
}

/*
 * Section: About
 */

.section-about-middle {
	background: #fff3f4;
}

/*
 * Section: Shop
 */

.section-shop h3 {
	font-size: 1rem;
}

/*
 * Section: Books
 */

.section-books .row [class*="col-"] {
	margin-bottom: 3.5em;
}

.section-books .card,
.section-shop .card {
	border: 0;
	border-radius: 0;
}

.section-books .card-image .card-image-overlay,
.section-shop .card-image .card-image-overlay {
	overflow: hidden;
}

.section-books .card-image .card-image-overlay img,
.section-shop .card-image .card-image-overlay img {
	transition: all 0.25s ease;
}

.section-books .card-image .card-image-overlay:hover img,
.section-shop .card-image .card-image-overlay:hover img {
	transform: scale(1.25);
}

.section-books .card-body,
.section-shop .card-body {
	padding: 0.5em;
}

.section-books .card-body p,
.section-shop .card-body p {
	margin-bottom: 0;
}

.section-books .card-details .btn,
.section-shop .card-details .btn {
	margin: 0;
}

/*
 * Section: Accordion
 */

.section-accordion #accordion .card,
.section-accordion #accordion .card:last-child .card-header {
	border: none;
}

.section-accordion #accordion .card-header {
	border-bottom-color: #edeff0;
	background: transparent;
}

.section-accordion .btn {
	width: 100%;
	padding: 8px 0 !important;
	white-space: normal;
	text-align: left;
	color: #b90812;
}

.section-accordion .btn-link:hover,
.section-accordion .btn-link:focus {
	text-decoration: none;
	color: #000;
}

.section-accordion #accordion .card-body p {
	font-size: 1rem;
}

.section-accordion #accordion .card-body p:last-child {
	margin-bottom: 0;
}

/*
 * Section: Form
 */

.fdb-block.section-form .fdb-box {
	overflow: inherit;
	padding: 1.75rem 1.5rem;
}

/*
 * Form
 */

/*
 * Buttons
 */

.btn {
	margin-right: 4px;
	margin-bottom: 4px;
	padding: 8px 20px !important;
	font-weight: 400;
	font-size: 18px;
	border-radius: 0;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

.btn.btn-sm {
	padding: 4px 15px !important;
}

.btn.btn-md {
	padding: 8px 20px !important;
}

.btn.btn-lg {
	padding: 18px 36px !important;
}

.btn:hover,
.btn:active,
.btn:focus {
	box-shadow: none !important;
	outline: none !important;
}

/*
 * Form
 */

.form-control {
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-radius: 0;
	background: transparent;
	font-size: 1rem;
	font-weight: 300;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-shadow: none;
}

select.form-control {
	position: relative;
	padding: 0 .75rem;
}

.form-control:active,
.form-control:focus {
	border-color: #e8afa9;
	outline: none;
	box-shadow: none;
}

/*
 * Section form
 */

.section-form .col {
	position: relative;
}

.section-form .form-control[readonly][class*='datepicker'] {
	background-color: transparent;
}

.section-form .col label {
	font-size: 0.875rem;
}

/*
 * Captcha
 */

.frm__captcha > * {
	display: inline-block;
	vertical-align: middle;
}

.frm__captcha input {
	width: 100px;
	font-size: 0.875rem;
}

/*
 * Section: Contact
 */

.section-contact {
	padding-top: 0;
}

/*
 * Section: Call to action > Contact
 */

.section-call-to-contact {
	padding: 2em 0;
}

.section-call-to-contact .phone {
	font-weight: 700;
	font-size: 1.25rem;
}

/*
 *	### Helpers
 */

/*
 * Image gallery carousel
 */

.owl-carousel {
	padding: 0 10px;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
	display: flex !important;
}


.owl-carousel .item {
	margin: 5px;
}

.owl-carousel .item img {
	display: block;
	width: 100%;
	height: auto
}


.owl-carousel,
.owl-theme .owl-controls {
	margin: 0;
}

.owl-theme .owl-controls .owl-buttons div {
	position: absolute;
	top: 42.5%;
	margin: 0;
	border-radius: 0;
	padding: 0;
	background: none;
	color: #000;
	font-size: 1.5rem;
}

.owl-theme .owl-controls .owl-buttons div.owl-prev {
	left: -15px;
}

.owl-theme .owl-controls .owl-buttons div.owl-next {
	right: -15px;
}

/*
 * OpenStreetMap
 */

.OpenStreetMap {
	height: 25em;
}

.OpenStreetMap.olMap {
	margin-bottom: 0 !important;
}

.OpenStreetMap .olMapViewport {
	z-index: 0;
}

.leaflet-container.leaflet-touch-zoom {
	touch-action: auto;
}

.leaflet-tile-container {
	pointer-events: auto;
}

/*
 * Hidden email address
 */

.hiddenemail {
	color: #b90812;
}

.hiddenemail:after {
	content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}

.hiddenemail:hover {
	color: #000;
	cursor: pointer;
}

/*
 * Magnific popup override
 */

.mfp-iframe-scaler iframe {
	background: #fff;
}

.mfp-iframe-holder .mfp-content {
	padding: 1em;
	max-height: 640px;
}

.mfp-iframe-holder .mfp-content .mfp-title {
	position: absolute;
	top: 100%;
	font-size: 0.875rem;
}

/*
 * Responsive tables
 */

.rwd__tbl {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.rwd__tbl_cell {
	display: table-cell;
}

/*
 * Clearfix flex
 */

.clearfix-flex {
	flex-basis: 0;
	order: 1;
}

/*
 *	### Footer
 */

footer {
	z-index: 1;
	background: #3a0f08;
	color: #a7a7a7;
}

footer h4 {
	margin-bottom: 24px;
	font-weight: 700;
	font-size: 1.25rem;
	color: #fff;
}

footer p {
	margin-bottom: 0;
	line-height: 1.85;
}

footer p,
footer span,
footer a {
	font-size: 0.875rem;
}

footer a,
footer .hiddenemail {
	color: #fff;
}

footer a:hover,
footer .hiddenemail:hover {
	color: #7b818d;
}

footer ul {
	margin: 0;
	padding: 0;
}

footer ul li {
	margin: 10px 0;
	padding: 0;
	list-style: none;
	font-size: 1rem;
}

footer .copyright {
	padding-top: 48px;
	padding-bottom: 48px;
}

footer .copyright .social {
	margin-top: 24px;
}

footer .copyright .social a:not(:first-child) {
	margin-left: 16px;
}

/*
 *	### Media Queries
 */

@media only screen and (max-width: 480px) {
	/*
	 *	### Header
	 */
	.navbar-brand {
		max-width: 10em;
	}
}

@media only screen and (max-width: 576px) {
	/*
	 *	### Header
	 */
	header .navbar,
	header .navbar-toggler {
		padding-right: 0;
		padding-left: 0;
	}

	.navbar-brand {
		margin: 0;
	}
}

@media only screen and (max-width: 767px) {
	/*
	 *	### Header
	 */
	.navbar-toggler i {
		font-size: 2rem;
	}

	.navbar-expand-md .navbar-nav .nav-link {
		display: inline-block;
	}

	/*
	 * ### Section
	 */
	section {
		/*padding: 2em 0;*/
	}

	/*
	 * Magnific popup override
	 */
	.mfp-iframe-holder .mfp-content {
		height: 100%;
		max-height: 100%;
	}
}

@media (min-width: 768px) and (max-width: 990px) {
}

@media (min-width: 992px) {
}

@media screen and (max-width: 992px) {
	/*
	 *	### Footer
	 */
	footer .row > div:not(:last-child) {
		margin-bottom: 2em;
	}

	footer .px-5 {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}
}
