/*
* Theme Name: WP KK Writer Theme
*/

/* Reset CSS */
html { }

body {
	margin: 0;
  padding: 0;
	font-size: 16px;
  background-color: white;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Titillium Web', Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Custom Styles */

nav .active {
	font-weight: bold;
}

.primary-bg {
	background-color: #f5f5dc;
}

.icon-secondary {
	fill: #2f475e !important;
}

.icon {
	width: 32px;
	height: 32px;
	vertical-align: middle;
}

.secondary-bg {
	background-color: #2f475e;
}

.border-secondary {
	order: 1px solid #2f475e;
}

.text-color-primary {
	color: #f5f5dc;
}

.text-color-secondary {
	color: #2f475e;
}

.text-color-tertiary {
	color: #004080;
}

.margin-socials {
	margin-right: 10px;
}

.blog-header-logo {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
	font-size: 2.25rem;
}

.blog-header-logo:hover {
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif/*rtl:Amiri, Georgia, "Times New Roman", serif*/;
}

.font-larger {
	font-size: 1.1rem;
}

.font-larger-larger {
	font-size: 1.5rem;
}

.font-review {
	font-size: 0.9rem;
}

.font-smaller {
	font-size: 0.8rem;
}

.font-smaller-smaller {
	font-size: 0.5rem;
}

.flex-auto {
	flex: 0 0 auto;
}

.h-250 { height: 250px; }
@media (min-width: 768px) {
	.h-md-250 { height: 250px; }
}

/* Pagination */
.blog-pagination {
	margin-bottom: 4rem;
}

/*
* Blog posts
*/
.blog-post {
	margin-bottom: 4rem;
}
.blog-post-meta {
	margin-bottom: 1.25rem;
	color: #727272;
}

.bd-placeholder-img {
	font-size: 1.125rem;
	text-anchor: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

@media (min-width: 768px) {
	.bd-placeholder-img-lg {
		font-size: 3.5rem;
	}
}

.b-example-divider {
	width: 100%;
	height: 3rem;
	background-color: rgba(0, 0, 0, .1);
	border: solid rgba(0, 0, 0, .15);
	border-width: 1px 0;
	box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
	flex-shrink: 0;
	width: 1.5rem;
	height: 100vh;
}

.bi {
	vertical-align: -.125em;
	fill: currentColor;
}

.nav-scroller {
	position: relative;
	z-index: 2;
	height: 2.75rem;
	overflow-y: hidden;
}

.nav-scroller .nav {
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 1rem;
	margin-top: -1px;
	overflow-x: auto;
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.bd-mode-toggle {
	z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
	display: block !important;
}

.kkw_tagline {
	width: 100%;
	font-style: italic;
}

.kkw_tagline a {
	text-decoration: none;
	color: inherit;
}

.kkw_sitetitle a {
	text-decoration: none;
	color: inherit;
	font-style: italic;
}

.kkw_logoheader a {
	text-decoration: none;
}

.kkw_link {
	color: inherit;
	text-decoration: none;
}

.kkw_featured_text {
	font-size: 0.95em;
}

.kw_featured_list ul li {
	margin-bottom: 10px;
}

.kkw_no_border {
	border: none !important;
}

.bd-placeholder-img {
	padding: 10px;
}

/* CUSTOM PAGINATION */

#pagination_links {
	text-align: center;
	font-size: 18px;
	line-height: 1.555;
	margin-top: 10px;
	margin-bottom: 20px;
}

#pagination_links .page-numbers ul{
	list-style: none;
}

#pagination_links .page-numbers li{
	display:inline;
	margin-right: 5px;
}

#pagination_links .page-numbers {}

#pagination_links .page-numbers .current {
	color: #2f475e;
	border: 1px solid #2f475e;
	border-radius: 5px;
	padding:  6.75px 13.5px 6.75px 13.5px ;
	margin: 5px;
}

#pagination_links a {
	color: #2f475e;
	text-decoration: underline;
}

/* CAROUSEL CUSTOMIZATIONS */
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev {
  left: 0;
  right: auto;
}

.carousel-control-next {
  right: 0;
  left: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
}

.carousel-control-prev-icon {
  margin-left: 10px;
}

.carousel-control-next-icon {
  margin-right: 10px;
}

.carousel-control-prev-icon, .carousel-control-next-icon {

	outline: #2f475e;
	background-color: rgba(0, 0, 0, 0.3);
	background-size: 100%, 100%;
	border-radius: 50%;
	border: 1px solid #2f475e;
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev {
  left: 0;
  right: auto;
}

.carousel-control-next {
  right: 0;
  left: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* Cambia il colore di sfondo */
  padding: 10px;
  border-radius: 50%;
}

.carousel-control-prev-icon {
  margin-left: 10px;
}

.carousel-control-next-icon {
  margin-right: 10px;
}

/* Personalizzazione degli indicatori */
.carousel-indicators [data-bs-target] {
  background-color: #2f475e; /* Colore degli indicatori inattivi */
}

.carousel-indicators .active {
  background-color: black; /* Colore degli indicatori attivi */
}

.blog-card-image {
	max-height: 200px;
	width: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* CHECKBOX @TODO: Verify that works. */
.form-check input[type="checkbox"]:checked {
	background-color: #2f475e !important;
	box-shadow: #2f475e !important;
	border-color: #2f475e;
}

.form-check-input:checked {
	background-color: #2f475e;
	border-color: #2f475e;
}

.form-check-input:checked[type=checkbox] {
	background-color: #2f475e !important;
}
.form-check [type=checkbox]:checked+label::after {
	border-color: #2f475e;
	background-color: #2f475e;
	z-index: 0;
}

/* FORM STYLES */
.form-control.border-bottom-only {
	border: none;
	border-bottom: 1px solid #2f475e;
	border-radius: 0;
}

.form-control.border-bottom-only:focus {
	box-shadow: none;
	border-bottom-color: #007bff;
}

.form-control.border-bottom-only::placeholder {
	color: rgba(0, 0, 0, 0.3);
	opacity: 1;
}

/* CONTACTS */
.kkw_img_contacts {
	max-width: 80%;
	max-height: auto;
}

/* BLOG PAGE */
.nav-menu {
	list-style-type: none;
	padding-left: 0;
}

.nav-menu li a {
	text-decoration: none;
	color: #2f475e;
	font-weight: bold;
}

.nav-menu li a:hover {
	color: #2b6bac;
}

.nav-menu .active {
	font-weight: bold;
	color: #2b6bac;
}
.menu-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: #2f475e;
}

.kkw_lateral_menu {
	border-top: 2px solid #2f475e;
}

.kkw_share_section ul {
	list-style-type: none;
	padding-left: 0.8rem;
}

.kkw_share_section li {
	padding-top: 1rem;
}

.kkw_share_section a {
	text-decoration: none;
	color: #2f475e;
}

.blog-featured-image {
	width: 100%;
	max-height: 300px;
	overflow: hidden;
	position: relative;
	margin-bottom: 2rem;
}

.kkw_article_label {
	font-weight: bold;
	color: #2f475e;
}

.kkw_article_section {
	margin-bottom: 20px;
}

.kkw_article_list {
	list-style: none;
	padding-left: 0;
}

.kkw_article_list li {
	display: flex;
	margin-bottom: 10px;
}

.kkw_article_list .label {
	flex: 0 0 200px;
	font-weight: bold;
	color: #2f475e;
}

.contact-list .value {
	flex: 1;
}

/* BOOK TEMPLATE*/

#kkw_book_section {}

#kkw_current_cover_div {}

#kkw_book_description{}

.kkw_cover {
	border: 0.5px solid #ced4da;
	padding: 1rem;
}

.kkw_cover_small {
	border: 0.5px solid #ced4da;
	padding: 0.5rem;
}

/** Breadcrumb style */
.breadcrumb-item+.breadcrumb-item::before {
	float: left;
	padding-right: var(--bs-breadcrumb-item-padding-x);
	color: var(--bs-breadcrumb-divider-color);
	content: var(--bs-breadcrumb-divider, ">");
}

/** Sitemap */
.menutree a {
	text-decoration: none;
}

.menutree li {
	margin-bottom: 0.5rem;
}

.box_change_map_lang ul {
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
}

/* Section quotes */
.blockquote p {
	font-size: 0.85rem !important;
}

/* STATIC PAGES */

.kkw_page_content ul {
	padding-left: 4em;
}
