/*
Theme Name: ItaliaWP2 Child Theme
Theme URI: http://italiawp.borisamico.it
Author: Boris Amico
Author URI: http://borisamico.it
Description: Tema child di ItaliaWP2 utilizzabile per la customizzazione.
Version: 1.0.0
License: GNU AFFERO GENERAL PUBLIC LICENSE v3 or later
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: italiawp2
Text Domain: italiawp2-child
*/


:root {
  --main-header-color: rgba(218, 105, 0, 1);
}

.html5-video-player .video-stream {
	width: 100% !important;
	left: 0 !important;
}

form.wpcf7-form label {
	width: 100%;
}

#mainheader.ridotto {
	height: 60px !important;
	position: fixed !important;
	top: 0 !important;
	z-index: 1071 !important;
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	left: 0 !important;
	width: 100% !important;
}

#mainheader.ridotto .social {
	padding: 0 !important;
	margin: 10px 0 0 0 !important;
}

.ridotto div div .header-cerca,
.ridotto div div .header-cerca .cerca,
#mainheader.ridotto div div .header-social {
	margin-top: 1px !important;
	display: block !important;
	visibility: visible !important;
	left: 5% !important;
}

.icon-bar {
	background-color: #666666 !important;
}

.hero-foto {
	height: 500px !important;
}

h1, h2, h3 {
	color: var(--main-header-color) !important;
}


#city-resume h3 {
	color: white !important;
}

#city-resume .icon-external-link {
	display: none;
}

#sezione-notizie,
#sezione-servizi,
#home-novita,
#home-contenuto {
	background-image: none !important
}


@media screen and (min-width: 768px) {
	.scheda-foto {
		height: 260px !important;
	}

	.scheda-foto img {
		height: 260px !important;
	}
}


.scheda-round {
	border: 1px transparent !important;
	border-radius: 30px !important;
	overflow: hidden !important;
}

.scheda-news .scheda-testo {
	padding-top: 24px !important;
}

.veditutti .btn {
	border-radius: 24px !important;
}

#events-section .btn {
	border-radius: 24px !important;
}

#events-section {
	background-color: #ECEFF1;
}

#map-section {
	background-color: #ECEFF1;
}



/* div.swiper-slide figure.swiper-slide-inner section figure {
    padding: 0 !important;
    width: 350px;
    height: 200px;
    border-radius: 24px;
} 

div.swiper-slide figure.swiper-slide-inner section figure img

div.swiper-slide figure.swiper-slide-inner section figure img{
    object-fit: cover;
    width: 350px;
    height: 200px;
    border-radius: 24px;
}  */

div.swiper-slide figure.swiper-slide-inner {
	padding: 0 !important;
	width: 350px;
	height: 200px;
	border-radius: 24px;
}

/* div.swiper-slide figure.swiper-slide-inner  figure img */

div.swiper-slide figure.swiper-slide-inner img {
	object-fit: cover;
	width: 350px;
	height: 200px;
	border-radius: 24px;
}

div.swiper-slide figure.swiper-slide-inner section figure figcaption p {
	display: none !important;
}

.scheda div.scheda-testo h4 a {
	color: var(--main-header-color) !important;
}

body .chip.chip-primary>.chip-label {
	color: #0e4468 !important;
}

footer#footer {
	color: white !important;
	background-color: rgba(53, 125, 168, 1) !important;
}


footer#footer h4 {
	color: white !important;
}

footer#footer caption {
	color: white !important;
}

footer#footer nav.wp-calendar-nav a {
	color: white !important;
}

body #footer .footer-list li a {
	color: white !important;
}

footer svg.icon {
	filter: brightness(0) invert(1);
}

footer#footer section.postFooter {
	color: white !important;
}

footer#footer section.postFooter a {
	color: white !important;
}


.entourance-plugin.bg-light.p-4 {
	background-color: #eceff1 !important;
}


body #map-section #map-container {
	background-color: #34343400;
	border-top: 0px solid #4f4f4f00;
}

.calendar-poi {
	margin-top: 25px !important;
}

.entourance-plugin.bg-light.p-4.containerList.entourance-type-poi {
	margin-top: -95px !important;
}

body .entourance-plugin .mb-5,
body .entourance_widget .mb-5 {
	margin-bottom: 0rem !important;
}

.menu-item.menu-item-type-post_type.menu-item-object-page.nav-item .nav-link:hover,
.menu-item.menu-item-type-custom.menu-item-object-custom.nav-item .nav-link:hover {
	color: var(--main-header-color) !important;
	background-color: rgba(0, 0, 0, 0) !important;

}

.menu-item.menu-item-type-post_type.menu-item-object-page.nav-item .nav-link:focus,
.menu-item.menu-item-type-custom.menu-item-object-custom.nav-item .nav-link:focus {
	color: var(--main-header-color) !important;
	background-color: rgba(0, 0, 0, 0) !important;
	border: #0e446800 !important;
	outline: 0px !important;
}

.navbar-collapsable {
	width: auto !important;
	margin: auto !important;
	margin-right: 270px !important;
}

#menu-principale>li>a {
	padding: 15px !important;
	font-size: 20px !important;
}

#menu-principale>li:first-child>a {
	padding-left: 15px !important;
}

#menu-principale>li:last-child>a {
	padding-right: 15px !important;
	z-index: 1000;
	position: relative;
}

#menu-principale>li>.dropdown-menu h5 a {
	font-size: 18px;
	color: #8e8e8e !important;
	text-transform: capitalize;
}

#briciole {
	display: none;
}

.logoimg {
	z-index: 999;
	position: relative;
}


header,
header * {
	transition: 0.5s;
}

body .ridotto div div .header-cerca,
body #mainheader.ridotto div div .header-social {
	z-index: 999;
}

.elementor-element.e-flex.e-con-boxed.e-con.e-parent,
.elementor-element.e-con-full.e-flex.e-con.e-parent {
	margin: 0;
	padding: 0;
}

@media screen and (min-width: 1650px) {
	.elementor-element .centrato {
		width: 65% !important;
		margin: auto !important;
	}

}


@media screen and (max-width: 1199px) {
	div.swiper-slide figure.swiper-slide-inner section figure {
		width: 300px !important;
	}
}



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

	body .ridotto div div .header-cerca,
	body #mainheader.ridotto div div .header-social {
		display: none !important;
	}

	body .ridotto div div .header-cerca,
	body #mainheader.ridotto div div .header-cerca {
		display: none !important;
	}
}

.elementor-element.elementor-element-f4d48b9.elementor-widget__width-initial.elementor-widget.elementor-widget-heading {
	width: 100% !important;
}

/* .elementor-element.elementor-element-db98be9.centrato.elementor-arrows-position-inside.elementor-pagination-position-outside.elementor-widget.elementor-widget-image-carousel.e-widget-swiper .swiper-slide-inner {
    margin-right: 5px;
} */

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

	body .ridotto div div .header-cerca,
	body #mainheader.ridotto div div .header-social {
		display: none !important;
	}

}


@media screen and (min-width: 992px) {
	.dropdown-menu.show {
		width: fit-content;
		top: 36px !important;
		left: 0 !important;
	}

	.menu-item-has-children {
		position: relative !important;
	}

	#menu-principale {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}
}

.calendar-event .row.justify-content-md-center.pb-5 {
	margin-top: 40px;
	padding-bottom: 10px !important;
}


#events-section .card.card-body.mb-4.bg-light.border-0 {
	background-color: #eceff1 !important;
}

#mainheader .preheader {
	display: none;
}

#mainheader.ridotto .nav.navbar-nav>li>a {
	font-size: 19px !important;
	z-index: 999;
}


#flags-carousel .owl-nav i {
	color: black !important
}


#flags-carousel .owl-stage {
	padding-bottom: 10px;
	padding-top: 10px;
}


.e-con>.e-con-inner:has(#flags-carousel) {
	margin: 0px 0px 150px 0px !important;
}


.box-shadow-card {
	box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.virtual-tour-card-header {
	min-height: 72.62px !important;
}

.icon-external-link {
	display: none;
}

/* 
#hero-virtual-tour {
    padding: 42px;
} */



@media (max-width: 576px) {
	#hero-virtual-tour.container {
		max-width: 540px;
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

.grid-tour {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 767px) and (max-width: 1024px) {
	.grid-tour {
		grid-template-columns: repeat(2, 1fr);
	}

	#hero-virtual-tour>div:first-child {
		padding: 0px !important;
	}
}


@media (min-width: 1200px) {
	#hero-virtual-tour.container {
		max-width: 1184px !important;
	}
}

@media (min-width: 992px) and (max-width: 1999px) {
	#hero-virtual-tour.container {
		max-width: 960px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	#hero-virtual-tour.container {
		max-width: 720px;
	}
}

@media (max-width: 767px) {
	.grid-tour {
		grid-template-columns: repeat(1, 1fr);
	}
}

#virtual-tour-container {
	padding-bottom: 64px;
}

#video-list {
	scroll-margin-top: 80px;
}


#map-section {
	padding-top: 50px;
	background-color: #ffffff;
}

#map-section #map-container {
	padding: 25px;
	background-color: #343434;
	border-top: 8px solid #4f4f4f;
}

#map-section .search-bar input {
	height: 42px;
	padding: 10px 20px;
	font-size: 16px;
	line-height: normal;
	background-color: #fcfbf7;
	color: #808080;
	border: solid 1px #e8e8e8;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#map-section .nice-select {
	width: 100%;
	background-color: #fcfbf7;
	color: #808080;
	font-size: 15px;
	line-height: 30px;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	float: none;
}

.nice-select .list {
	background-color: #fcfbf7;
}

#map-section #map {
	height: 650px;
}

#map-section #POI-list {
	height: 650px;
	padding: 30px;
	background-color: #fcfbf7;
	overflow-y: scroll;
}

#map-section .list-title {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: bold;
	line-height: 26px;
	color: #a03b23;
}

#map-section #POI-list #list {
	font-size: 18px;
	line-height: 24px;
	color: #808080;
}

#map-section .POI {
	margin-bottom: 35px;
}

#map-section .POI-name {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: bold;
	line-height: 24px;
	color: #000000;
	text-transform: uppercase;
}

#map-section .POI-data {
	font-size: 14px;
	font-style: italic;
	line-height: 20px;
	color: #808080;
}

#map-section .POI-data .city {
	font-weight: bold;
	color: #a03b23;
}

#map-section #POI-list .btn {
	padding: 6px 20px !important;
	font-size: 13px;
	line-height: 18px;
	background: transparent;
	color: #a5b076;
	border: 2px solid #a5b076;
}

#map-section #POI-list .btn:hover {
	background: #a5b076;
	color: #ffffff;
}


/* = Events
--------------------------------------------------------- */

#events-section {
	padding: 50px 0;
	background-color: #ffffff;
}

#events-section .search-bar {
	margin-bottom: 20px;
}

#events-section .search-bar input {
	height: 42px;
	padding: 10px 20px;
	font-size: 16px;
	line-height: normal;
	background-color: #fcfbf7;
	color: #808080;
	border: solid 1px #e8e8e8;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

#events-section .nice-select {
	width: 100%;
	background-color: #fcfbf7;
	color: #808080;
	font-size: 15px;
	line-height: 30px;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	float: none;
}

#events-list .list-title {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: bold;
	line-height: 26px;
	color: #a03b23;
}

#events-list #list {
	font-size: 18px;
	line-height: 24px;
	color: #808080;
}

#events-list .event {
	margin-left: 50px;
	margin-bottom: 30px;
	padding: 20px;
	padding-left: 75px;
	background-color: #e8e3db;
	position: relative;
}

#events-list .event.no-image {
	margin-left: 0;
	padding-left: 20px;
}

#events-list .event-image {
	width: 100px;
	height: 100px;
	position: absolute;
	top: 20px;
	left: -50px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

#events-list .event .event-name {
	margin-top: 0;
	font-size: 18px;
	line-height: 26px;
	font-weight: bold;
	color: #555555;
	text-transform: uppercase;
}

#events-list .event .event-city {
	color: #a03b23;
	font-size: 16px;
	line-height: 24px;
	font-weight: bold;
	font-style: italic;
}

#events-list .event .event-description {
	margin-bottom: 20px;
	font-size: 15px;
	line-height: 24px;
	text-align: justify;
}

#events-list .event .event-period {
	margin-bottom: 20px;
	font-weight: bold;
	color: #bd9b57;
}

#events-list .event .btn {
	margin-top: 10px;
	padding: 6px 20px !important;
	font-size: 13px;
	line-height: 18px;
	background: transparent;
	color: #a5b076;
	border: 2px solid #a5b076;
	display: block;

	-webkit-transition: background 0.2s ease-out;
	-moz-transition: background 0.2s ease-out;
	-o-transition: background 0.2s ease-out;
	transition: background 0.2s ease-out;
}

#events-list .event .btn:hover {
	background: #a5b076;
	color: #ffffff;
}

#events-list .event .btn.red {
	color: #a03b23;
	border: 2px solid #a03b23;
}

#events-list .event .btn.red:hover {
	background: #a03b23;
	color: #ffffff;
}

@media only screen and (min-width: 480px) {

	#events-list .event .btn {
		display: inline-block;
	}

	#events-list .event .btn+.btn {
		margin-left: 5px;
	}
}


/* = Content
--------------------------------------------------------- */

.page-title {
	padding: 90px 0;
	background-color: #a03b23;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	color: #ffffff;
}

.page-title h1 {
	margin: 0;
	font-size: 40px;
	line-height: 50px;
	text-align: center;
}

.page-subtitle {
	margin: 0;
	font-size: 22px;
	line-height: 30px;
	font-weight: 300;
	font-style: italic;
	text-align: center;
}

.page-content {
	padding: 40px 0;
}


/* = Single Post
--------------------------------------------------------- */

.page-title {
	position: relative;
}

.page-title .opacity {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.80);
}

.page-title .container {
	position: relative;
}

.page-content {
	background-color: #e8e3db;
	font-size: 18px;
	line-height: 30px;
	text-align: justify;
}

.post-image {
	width: 100%;
	height: auto;
}

.post-content {
	padding: 30px;
	background-color: #fcfbf7;
}

.details {
	padding: 20px;
	padding-top: 95px;
	background-color: #a03b23;
	color: #ffffff;
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
	position: relative;
	text-align: left;
}

.details a {
	color: #ffffff;
}

.details .qr-code {
	width: 150px;
	height: 150px;
	background-color: #ffffff;
	display: block;
	position: absolute;
	top: -75px;
	left: 50%;
	margin-left: -75px;
}

.details .item {
	margin-bottom: 5px;
}

.details .box+.box {
	margin-top: 30px;
}

.description-title {
	margin-top: 0;
	font-weight: bold;
}

.description-title:after {
	width: 100px;
	height: 3px;
	margin: 20px 0;
	background-color: #bd9b57;
	content: '';
	display: block;
}

.start-navigation {
	height: 52px;
	padding: 12px 0;
	font-size: 18px;
	line-height: 28px;
	font-weight: bold;
	background-color: #a5b076;
	color: #ffffff;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	text-align: center;
	display: block;

	-webkit-transition: background 0.3s ease-out;
	-moz-transition: background 0.3s ease-out;
	-o-transition: background 0.3s ease-out;
	transition: background 0.3s ease-out;
}

.start-navigation:hover {
	background-color: #858e61;
	text-decoration: none;
}

@media only screen and (min-width: 768px) {
	.details {
		font-size: 14px;
		line-height: 22px;
	}
}

@media only screen and (min-width: 992px) {
	.details {
		font-size: 18px;
		line-height: 26px;
	}
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
	border: 1px solid !important;
}

#submit-partecipazione {
	cursor: pointer;
	background: #0071BB !important;
	font-size: 0.778em;
	color: #fff !important;
	padding: 8px 24px;
	margin: 0 16px 24px 0;
	display: inline-block;
	font-weight: 600;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	border: 0 solid transparent;
	line-height: 1.5;
	border-radius: 4px;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

form.wpcf7-form label {
	width: 100%;
}


#mainheader .comune .logotxt {
	width: auto !important;
}

#mainheader .comune .logoimg img {
	height: auto;
	max-height: 50px;
	max-width: 500px !important;
}

#mainheader .comune .logoimg {
	margin-top: 40px;
	width: 143px !important;
}

footer .stemma-civitanova {
	filter: none !important;
	margin-left: 24px;
}

#mainheader .comune .logoimg a {
	display: flex;
	gap: 20px;
}

#footer .social a svg.icon {
	width: 40px !important;
	height: 40px !important;
}

#wp-calendar td#today {
  position: relative;
  font-weight: bold;
}

#wp-calendar td#today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff ;
  border-radius: 50%;
}


@media screen and (min-width: 992px) {
	#wp-calendar td#today::after {
		width: 6px;
		height: 6px;
	}
}

@media screen and (max-width: 991px) {
	#wp-calendar td#today::after {
		width: 4px;
		height: 4px;
	}
}

.scheda-news .scheda-argomenti .badge-argomenti {
	color: white !important;
	background-color: rgba(89, 89, 89, 1) ;
	border-color: rgba(89, 89, 89, 1) !important;
}
