/*
Theme Name: Design Molise Dati
Theme URI: http://molisedati.it/
Author: Molise Dati
Author URI: http://molisedati.it/
Description:
Version: 1.0
Requires at least: 6.0
Tested up to: 5.8.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dmd
Tags:
*/

@import url("assets/bootstrap-italia/css/fonts.css");

:root {
  --bs-primary: #003399;
  --bs-secondary: #229EBD;
  --bs-primary-rgb: 0, 51, 153;
  --bs-secondary-rgb: 34, 158, 189;
  --bs-primary-rgb: 0, 51, 153;
  --bs-body-color: #575757;
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--bs-primary);
  --bs-nav-link-font-size: 17px;
  --theme-primary: #003399;
  --theme-secondary: #229EBD;
  --bs-gap: 1rem;
  --admin-bar-h: .001px;
}

::selection {
  background-color: var(--bs-secondary);
  color: rgb(255, 255, 255); }

input:-webkit-autofill {
  border-color: hsl(210, 17%, 44%);
  -webkit-box-shadow: 0 0 0 1000px #FFF inset;
  -webkit-text-fill-color: var(--bs-body-color); }

/* === Reset === */
body {
  overflow-x: hidden; }

button[disabled],
input[disabled] {
  opacity: .6;
  cursor: default; }

a {
  text-decoration: none; }
a:hover {
  text-decoration: underline; }

:focus-visible,
:focus {
  outline: none; }

:is(a, button, .btn, input, textarea, select)[data-focus-mouse="true"],
.it-header-navbar-wrapper .navbar-nav li.nav-item .nav-link[data-focus-mouse="true"] {
  outline: 2px solid #FF8C00 !important; }

h1, h2, h3, h4, h5, h6 {
  color: #000;
  line-height: 1.2; }
h1, .h1, h2, .h2, h3, .h3 {
  font-weight: 600; }

/* === Utility Classes === */
.font-primary {
  font-family: var(--bs-body-font-family) !important; }
.font-secondary {
  font-family: 'Aptos', 'Aptos Display', 'Aptos Mono', 'Aptos Narrow', sans-serif; }
.font-0 {
  font-size: 0; }
.decoration-none {
  text-decoration: none !important; }
.decoration-hover:hover {
  text-decoration: underline !important; }
.btn-dropdown:hover {
  text-decoration: underline; }
.top-75 {
  top: 75% !important; }
.translate-50-75 {
  transform: translate(-50%, -75%) !important; }
.mw-1000 {
  max-width: 1000px; }
.outline-none[data-focus-mouse="true"] {
  outline: none !important; }

.icon-85 {
  width: 85px;
  height: 85px; }

.z-index-9999 {
  z-index: 9999; }

a.read-more {
  color: var(--bs-primary); }
a.read-more .icon {
  fill: var(--bs-primary) !important; }
      
.level1 {
  list-style: none;
  counter-reset: sezione; }
.level1 > li {
  counter-increment: sezione; }
.level1 > li::before {
  content: "1." counter(sezione) " "; }
.level2 {
  list-style: none;
  counter-reset: sezione; }
.level2 > li {
  counter-increment: sezione; }
.level2 > li::before {
  content: "2." counter(sezione) " "; }

.btn-link-primary,
.btn-link-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
  font-weight: 600;
  color: #000;
  line-height: 1;
  transition: all .15s ease-in-out; }
:is(.btn-link-primary, .btn-link-secondary):hover {
  color: var(--bs-body-color); }
.btn-link-primary {
  border-bottom: 2px solid var(--bs-primary); }
.btn-link-secondary {
  border-bottom: 2px solid var(--bs-secondary); }
    
/* === Admin-bar === */
@media (max-width: 992px) {
  #wpadminbar {
    position: absolute; }  
}

.admin-bar {
  --admin-bar-h: 46px; }

@media (min-width: 782px) {
  .admin-bar {
    --admin-bar-h: 32px; }
}

/* === Header === */
.it-header-wrapper {
  z-index: 9999; }
.modal-open .it-header-wrapper {
  z-index: 99; }
.it-sticked .it-nav-wrapper {
  position: fixed !important; }
.it-sticked .it-not-sticky-row {
  display: none; }
.it-nav-wrapper {
  box-shadow: 0 20px 30px 5px rgba(0, 0, 0, .05); }
.it-header-slim-wrapper {
  background-color: var(--bs-primary); }
.it-header-slim-wrapper .header-slim-img {
  width: 20px; }
.custom-navbar-toggler svg {
  fill: var(--bs-primary); }
.it-header-center-wrapper.theme-light 
.it-header-center-content-wrapper 
.it-right-zone .it-socials ul a:hover svg {
  fill: var(--bs-secondary); }
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
  width: 120px;
  height: 47px; }

/* === MEDIA QUERIES === */
@media (min-width: 992px) {
  .it-sticked .it-nav-wrapper {
    top: var(--admin-bar-h) !important; }
  .it-header-center-wrapper .it-header-center-content-wrapper 
  .it-brand-wrapper a .icon {
    width: 200px;
    height: 78px;
    margin-right: 16px; }
  .it-header-navbar-wrapper {
    border-top: 1px solid rgba(0, 102, 204, .2); }
  .it-header-navbar-wrapper.theme-light-desk {
    box-shadow: none; }
  .it-header-navbar-wrapper nav .navbar-collapsable .menu-wrapper .navbar-nav {
    gap: 10px; }
  .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link,
  .navbar .navbar-collapsable .navbar-nav li.nav-item button.nav-link {
    padding-inline: 0 !important;
    padding-block: 8px !important;
    font-weight: 600; }
  .it-header-center-wrapper.theme-light 
  .it-header-center-content-wrapper 
  .it-search-wrapper a.rounded-icon:hover {
    background: var(--bs-secondary); }
}

@media (min-width: 993px) and (max-width: 1100px) {
  .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link,
  .navbar .navbar-collapsable .navbar-nav li.nav-item button.nav-link {
    font-size: 15px; }
}

@media (max-width: 991px) {
  .menu-wrapper .link-list-wrapper ul li a {
    text-wrap: wrap; }
  .it-header-center-wrapper {
    display: flex !important; }
  .navbar .navbar-collapsable .menu-wrapper .navbar-nav:not(:first-child) {
    margin-top: 24px;
    border-top: 1px solid rgba(0, 102, 204, .2); }
}

/* === Navbar === */
.navbar .navbar-collapsable.expanded,
.navbar .overlay,
.navbar .close-div,
#searchModal {
  top: var(--admin-bar-h) !important; }

/* === Footer === */
.footer-grid-5 {
  --bs-columns: 12; }
@media (min-width: 992px) {
  .footer-grid-5 {
    --bs-columns: 5; }
}

.it-footer-small-prints {
  background-color: var(--bs-primary);
  border-top: 1px solid rgba(0, 102, 204, .2); }
.it-footer :is(h1, h2, h3, h4, h5, h6) {
  color: #FFF; }
.it-footer-main section {
  padding: initial; }
.it-footer-main {
  background-color: var(--bs-primary); }

/* === Sidebar === */
.sidebar .bs-is-sticky {
  top: 80px !important; }
.sidebar {
  padding-inline: 15px; }

@media (min-width: 991px) {
  .sidebar {
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important; }
  .sidebar-wrapper {
    margin-right: -15px;
  }
}

.sidebar .icon {
  width: 22px;
  height: 22px;
  fill: var(--bs-primary); }
.sidebar .btn[data-bs-toggle="collapse"][aria-expanded="false"] svg.icon {
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1); }
.sidebar .btn {
  letter-spacing: 1px;
  padding-left: 24px;
  padding-right: 24px; }
.sidebar .link-list-wrapper ul li a {
  font-size: 18px;
  line-height: 1.5; }

/* === Widget === */
.widget:not(:last-child) {
  margin-bottom: 15px;
  padding-bottom: 15px; }
:is(.widget) :is(ul, ol) {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0; }
.it-footer-main :is(.widget) li:not(:last-child) {
  margin-bottom: 5px; }
.it-footer-small-prints :is(.widget) :is(ul, ol) {
  display: inline-flex; }
.it-footer-small-prints :is(.widget) li {
  margin-bottom: 0; }
.it-footer-small-prints :is(.widget) li:not(:last-child) {
  padding-right: 10px; }
.widget_nav_menu .sub-menu,
.widget_pages .children {
  display: none;
  margin-left: 1em; }
.widget_nav_menu li.opened > .sub-menu,
.widget_pages li.opened > .children {
  display: block; }
.widget_nav_menu .submenu-toggle,
.widget_pages .submenu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 4px;
  transition: transform .2s ease; }
.widget_nav_menu .submenu-toggle .icon,
.widget_pages .submenu-toggle .icon {
  width: 1rem;
  height: 1rem;
  transition: transform .2s ease; }
.widget_nav_menu .icon,
.widget_pages .icon {
  vertical-align: sub; }
.widget_nav_menu .submenu-toggle[aria-expanded="false"] .icon,
.widget_pages .submenu-toggle[aria-expanded="false"] .icon {
  transform: rotate(180deg); }
.widget_nav_menu .submenu-toggle[aria-expanded="true"] .icon,
.widget_pages .submenu-toggle[aria-expanded="true"] .icon {
  transform: rotate(0deg); }
.widget_nav_menu .menu-item-has-children > a,
.widget_pages .page_item_has_children > a {
  cursor: pointer; }

/* === Nothing found and 404 page === */
body.error404 main .searchform,
body.search-no-results main .searchform,
#post-0.search-no-results .searchform {
  margin: 0 auto;
  max-width: 350px;
  width: 100%; }
#searchModal {
  --bs-modal-zindex: 99999; }
#searchModal .modal-dialog {
  --bs-modal-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0; }
#searchModal .modal-content {
  height: 100%; }
#searchModal .search {
  max-width: 700px;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto; }

/* === Pagination === */
.pagination .page-item .page-link[aria-current] {
  border: 1px solid var(--bs-secondary);
  color: var(--bs-secondary); }
.pagination .page-item .page-link:hover {
  color: #FFF;
  background-color: var(--bs-secondary); }
.pagination .page-item .page-link:hover .icon {
  fill: #FFF !important; }

/* === 404 === */
.error404 .content-wrapper .entry-header {
  font-size: clamp(32px, 4.2vw, 82px);
  z-index: 1; }
.error404 .content-wrapper .entry-header:before {
  content: "404";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  color: var(--bs-secondary);
  opacity: .6;
  font-weight: 700;
  font-size: 5em;
  line-height: 1;
  transform: translate(-50%, -50%); }
.error404 .content-wrapper .entry-header h1 {
  font-size: inherit;
  padding: 1.5em 0; }

/* === Home === */
#home-slider.it-hero-wrapper .it-hero-text-wrapper {
  padding: 200px 0; }

@media (max-width: 991px) {
  #home-slider.it-hero-wrapper .it-hero-text-wrapper {
    padding: 100px 0; }
}
  
#home-slider.it-hero-wrapper.it-overlay.it-dark .img-responsive-wrapper:after,
#home-rilevante .it-hero-wrapper.it-overlay.it-dark .img-responsive-wrapper:after {
  background: rgba(22.95, 49.725, 76.5, .4); }

#home-rilevante .it-carousel-wrapper .splide__pagination button:not(.is-active) {
  background-color: #FFF; }

/* #home-categorie .card .list-unstyled a {
  font-size: 1rem; } */
/* #home-categorie .it-hero-wrapper.it-bottom-overlapping-content {
  margin-bottom: -10rem; }
#home-categorie .it-hero-wrapper {
  min-height: 400px; } */

.post-thumbnail-child img {
  aspect-ratio: 4/3;
  object-fit: cover; }

/* === Page calendario bandi === */
.page-template-calendario-bandi .accordion-item .accordion-body > .list-unstyled .mb-3.pb-3.border-bottom:last-child {
  border-bottom: 0 !important;
  margin-bottom: 0 !important; }

/* === Template priorità === */
.priorita-content .card .it-list-wrapper li {
  line-height: 1; }
.priorita-content .card .it-list-wrapper span {
  font-size: .9rem; }

/* === Page title === */
.page-title .entry-title {
  font-size: clamp(28px, 2.5vw, 82px); }

/* === Preloader === */
.site-preloader {
  background-color: #FFF;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity .5s ease, visibility .5s ease; }
.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--bs-primary);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite; } 
.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: var(--bs-secondary); }

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body.loaded .site-preloader {
  opacity: 0;
  visibility: hidden; }

/* === Bandi avvisi searchform === */
.bandi-avvisi-searchform textarea { 
  overflow: auto;
  padding: 10px 15px;
  min-height: 190px;
  resize: vertical; }

.bandi-avvisi-searchform select {
  padding-right: 30px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==);
  background-position: right 10px top 50%;
  background-size: auto 18px;
  background-repeat: no-repeat;
  background-color: #FFF; }

.bandi-avvisi-searchform select option {
  background-color: #FFF; }

.bandi-avvisi-searchform :is(
input[type='email'],
input[type='search'],
input[type='number'],
input[type='url'],
input[type='tel'],
input[type='text'],
input[type='password'],
input[type=datetime-local],
textarea, select) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;}

.bandi-avvisi-searchform :is(
input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
input[type=datetime-local],
textarea,
select) {
  color: hsl(210, 17%, 44%);
  padding: 0 15px;
  max-width: 100%;
  width: 100%;
  height: 52px;
  border: 1px solid hsl(210, 17%, 44%);
  box-shadow: none;
  vertical-align: middle; }

.bandi-avvisi-searchform :is(
input[type='email']:focus,
input[type='date']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='text']:focus,
input[type='tel']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type=datetime-local]:focus,
textarea:focus,
select:focus) {
  border-color: hsl(210, 17%, 44%) !important; }

.bandi-avvisi-searchform {
  --bs-columns: 12; }

@media (min-width: 992px) {
  .bandi-avvisi-searchform {
    --bs-columns: 5; }
}

/* === Documenti, link e referente section === */
.references-section .border {
  --bs-border-width: 5px; }
  
:is(.attachments-section, .references-section) .card {
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, .17); }
:is(.attachments-section, .references-section) .card:after {
  content: '';
  margin: 0; }

.links-section li:not(:last-child) {
  margin-bottom: .5rem; }
  
.page-id-452 .select-wrapper label {
  line-height: 1;
  top: -8px; }

/* === Map === */
.molise-legend li {
  cursor: pointer; }
.molise-legend li span {
  width: 18px;
  height: 18px;
  display: inline-block; }
.molise-map svg {
  width: 100%;
  height: auto;
  display: block; }
.molise-map svg path {
  stroke: #000;
  stroke-width: .5;
  cursor: pointer;
  transition: .2s; }
.molise-map svg path:hover {
  opacity: .7; }
#molise-svg path[data-area] {
  transition: stroke .3s ease, opacity .3s ease;
  opacity: 1; }
#molise-svg.dim-others path[data-area] {
  opacity: .3; }
#molise-svg.dim-others path[data-area].selected {
  opacity: 1 !important;
  stroke: #000;
  stroke-width: 1.5; }

#molise-svg path[data-area="alto-medio-sannio"].selected {
  stroke: #f2994a;
  animation: glow-alto-medio-sannio 1.6s infinite ease-in-out;
}
@keyframes glow-alto-medio-sannio {
    0% { filter: drop-shadow(0 0 4px rgba(242,153,74,.4)); }
    50% { filter: drop-shadow(0 0 12px rgba(242,153,74,.85)); }
    100% { filter: drop-shadow(0 0 4px rgba(242,153,74,.4)); }
}

#molise-svg path[data-area="fortore"].selected {
  stroke: #e8d9b9;
  animation: glow-fortore 1.6s infinite ease-in-out; }

@keyframes glow-fortore {
  0% { filter: drop-shadow(0 0 4px rgba(232,217,185,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(232,217,185,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(232,217,185,.4)); }
}

#molise-svg path[data-area="isernia-venafro"].selected {
  stroke: #4a6fa5;
  animation: glow-isernia-venafro 1.6s infinite ease-in-out; }

@keyframes glow-isernia-venafro {
  0% { filter: drop-shadow(0 0 4px rgba(74,111,165,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(74,111,165,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(74,111,165,.4)); }
}

#molise-svg path[data-area="mainarde"].selected {
  stroke: #8fd3a0;
  animation: glow-mainarde 1.6s infinite ease-in-out; }

@keyframes glow-mainarde {
  0% { filter: drop-shadow(0 0 4px rgba(143,211,160,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(143,211,160,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(143,211,160,.4)); }
}

#molise-svg path[data-area="matese"].selected {
  stroke: #d34545;
  animation: glow-matese 1.6s infinite ease-in-out; }

@keyframes glow-matese {
  0% { filter: drop-shadow(0 0 4px rgba(211,69,69,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(211,69,69,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(211,69,69,.4)); }
}

#molise-svg path[data-area="medio-basso-molise"].selected {
  stroke: #9fd45c;
  animation: glow-medio-basso-molise 1.6s infinite ease-in-out; }

@keyframes glow-medio-basso-molise {
  0% { filter: drop-shadow(0 0 4px rgba(159,212,92,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(159,212,92,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(159,212,92,.4)); }
}

#molise-svg path[data-area="urbana-campobasso"].selected {
  stroke: #45b7b7;
  animation: glow-urbana-campobasso 1.6s infinite ease-in-out; }

@keyframes glow-urbana-campobasso {
  0% { filter: drop-shadow(0 0 4px rgba(69,183,183,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(69,183,183,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(69,183,183,.4)); }
}

#molise-svg path[data-area="urbana-termoli"].selected {
  stroke: #195a8d;
  animation: glow-urbana-termoli 1.6s infinite ease-in-out; }
  
@keyframes glow-urbana-termoli {
  0% { filter: drop-shadow(0 0 4px rgba(25,90,141,.4)); }
  50% { filter: drop-shadow(0 0 12px rgba(25,90,141,.85)); }
  100% { filter: drop-shadow(0 0 4px rgba(25,90,141,.4)); }
}

/* === WPCore === */
.entry-content p:last-child {
  margin-bottom: 0; }
.alignnone {
  margin: 5px 20px 20px 0; }
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto; }
.alignright {
  float:right;
  margin: 5px 0 20px 20px; }
.alignleft {
  float: left;
  margin: 5px 20px 20px 0; }
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px; }
a img.alignnone {
  margin: 5px 20px 20px 0; }
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0; }
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto; }
.wp-caption {
  background: #FFF;
  border: 1px solid #F0F0F0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center; }
.wp-caption.alignnone {
  margin: 5px 20px 20px 0; }
.wp-caption.alignleft {
  margin: 5px 20px 20px 0; }
.wp-caption.alignright {
  margin: 5px 0 20px 20px; }
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto; }
.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px; }
.bypostauthor, 
.gallery-caption {}
.post-edit-link {
	margin: 0;
	padding: 5px 15px;
	border-radius: 50px;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	font-size: .666em;
	line-height: 3em;
	font-weight: 600;
	background-color: #C00;
	transition: all .3s ease-in-out; }
.post-edit-link:before {
	content: '\270E';
	font-size: 18px;
	margin-right: 7px; }
.post-edit-link:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #F00;
	box-shadow: 0 2px 30px rgba(0, 0, 0, .3); }

@media print {
	html {
		background: transparent; }
	.nav, 
	.condividi, 
	/* .it-right-zone, */
	.post-edit-link {
		display: none !important; }
}

/* === Gallery === */
.gallery {
  display: grid;
  gap: 10px; }
.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr); }
  
/* Responsive sotto i 768px */
@media (max-width: 768px) {
  .gallery-columns-2,
  .gallery-columns-3,
  .gallery-columns-4,
  .gallery-columns-5 {
    grid-template-columns: repeat(2, 1fr); }
}
  
@media (max-width: 480px) {
  .gallery-columns-2,
  .gallery-columns-3,
  .gallery-columns-4,
  .gallery-columns-5 {
    grid-template-columns: 1fr; }
}

.fade-in-img {
  opacity: 0;
  transform: scale(.98);
  transition: opacity .6s ease, transform .6s ease; }
.fade-in-img-loaded {
  opacity: 1;
  transform: scale(1); }

.gallery a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; }

/* === PhotoSwipe gallery === */
.pswp__bg {
  opacity: .9 !important; }

/* === MailChimp === */
.mc4wp-form {
  width: 100%; }
.mc4wp-form-fields {
  width: 100%;
  max-width: 420px;
  margin-inline: auto; }

/* === CF7 === */
.wpcf7-not-valid-tip {
  color: hsl(350, 60%, 50%); font-size: 14px; }
.wpcf7 .screen-reader-response,
.wpcf7-response-output {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0; }

/* === Fake newsletter === */
#wpcf7-f746-o1 .wpcf7-form {
  display: flex;
  justify-content: center; }
.newsletter {
  max-width: 420px; }
.newsletter .col {
  flex: 1 1 200px;
  width: 200px; }
.newsletter input[type="email"] {
  width: 100%; }

/* === Override === */
.text-primary {
  color: var(--bs-primary); }

.link-list-wrapper ul li .btn {
  --bs-btn-font-weight: 400;
  font-size: 1rem;
  line-height: 2rem;
  display: block;
  padding: .25rem 24px;
  text-decoration: none;
  position: relative;
  width: 100%;
  text-align: left;
  color: var(--bs-link-color);
  border: 0; }
.link-list-wrapper ul li .btn:focus {
  border: none !important; }
.progress-bar {
  background-color: var(--bs-secondary); }
.card .card-body a {
  display: inline-flex; }
.card .card-body .card-text {
  color: var(--bs-body-color) !important; }
.form-group textarea {
  border-width: 0 0 1px; }
.back-to-top:hover {
  background-color: var(--bs-primary); }
:is(:not(.card-wrapper)) .img-responsive-wrapper .img-responsive {
  padding-bottom: 50%; }

.accordion-header .accordion-button:not(.collapsed) {
  color: var(--bs-primary); }

.it-hero-wrapper.it-overlay.it-primary .img-responsive-wrapper:after {
  background: rgba(0, 51, 153, .8); }

/* === Carousel override === */
.it-carousel-wrapper .splide__pagination button.is-active {
  background-color: var(--bs-secondary); }
.it-carousel-wrapper .splide__pagination button {
  background-color: var(--bs-primary); }
.it-carousel-wrapper .splide__pagination button {
  width: 10px;
  height: 10px;
  margin-inline: 2px; }
.it-carousel-wrapper .splide__arrow {
  position: absolute;
  top: 50%;
  z-index: 999; 
  padding: 0;
  background-color: transparent;
  box-shadow: none;
  border: none; }
.it-carousel-wrapper .splide__arrow--prev {
  left: 2.5rem;
  transform: scaleX(-1); }
.it-carousel-wrapper .splide__arrow--next {
  right: 2.5rem; }
.it-carousel-wrapper .splide__arrow svg {
  fill: #FFF; }

@media (max-width: 991px) {
  .it-carousel-wrapper .splide__arrow svg {
    width: 25px;
    height: 25px; }

  .it-carousel-wrapper .splide__arrow--prev {
    left: .5rem; }
  .it-carousel-wrapper .splide__arrow--next {
    right: .5rem; }
}


.video .entry-header a:after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--bs-primary);
  opacity: .5;
}
