/*
Theme Name: COW THEME
Theme URI: https://www.dmcultura.it/
Author: DM Cultura
Author URI: https://www.dmcultura.it/
Description:  DM CULTURA
Version: 3.3.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cowtheme
Requires at least: 4.7
Requires PHP: 5.2.4
Tested up to: 5.4
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, right-sidebar, custom-background, e-commerce, theme-options, sticky-post, full-width-template
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# Woocommerce
# Footer
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
:root {
  --col-primary: #15616e;
  --col-secondary: #B33E00;
  --col-tertiary: #78290E;
  --col-background: #FFFAF4;
  --col-fill-clear: #EBF1F2;
  --col-fill-dark: #69939F;
  --col-tipografy: #424242;
  --col-white: #ffffff;
  --col-dark: #333333;
  --col-hover: #78290E;
  --col-disabled: #78290E;
  
  --col-btn-secondary: #FAFAFA;
  --col-btnBorder-secondary: #DEDEDE;
  --col-btnText-secondary: #676767;

  --col-btn-secondary-hover: #F4F4F4;
  --col-btnBorder-secondary-hover: #DEDEDE;
  --col-btnText-secondary-hover: #676767;

  --col-btn-primary: #B33E00;
  --col-border-img: #a16a56;

}

body {
  margin: 0;
  -webkit-font-smoothing: auto;
  font-family: 'Montserrat', sans-serif;
  color: var(--col-dark);
}
html {scroll-behavior: smooth !important;}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 2.5rem;
}

hr {
  box-sizing: content-box;
  height: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

.wp-block-group {
  width: 90%;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5 {
  clear: both;
  color: var(--col-dark);
  margin-top: 24px;
  margin-bottom: 15px;
}

h1 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

h2.path {
  font-size: 22px;
  line-height: 27px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
}

h3.patch {
  font-size: 22px;
  line-height: 26px;
  font-weight: 600;
}

h4 {
  font-size: 22px;
  line-height: 27px;
  font-weight: 600;
}

h5 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
}

p {
  font-size: 16px;
  letter-spacing: 0;
  line-height: 22px;
}

p.bText-medium {
  font-size: 16px;
  letter-spacing: 0;
  line-height: 19px;
}

p.bText-small {
  font-size: 14px;
  letter-spacing: 0;
  line-height: 18px;
}

h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
}

h2.entry-title {
  border-bottom: 1px solid #eaecef;
}

h3.widget-title {
  font-size: 1.2rem;
}

.title_01 {
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
}
.title_02 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #fff;
  /* Fallback for when there is no custom background color defined. */
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
  margin-bottom: 0;
  background-color: #563d7c;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .1);
  padding: .74rem 1rem;
}

.navbar-brand>a {
  color: rgba(0, 0, 0, 0.9);
  font-size: 1.1rem;
  outline: medium none;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.navbar-brand>a:visited,
.navbar-brand>a:hover {
  text-decoration: none;
}

#page-sub-header {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
  background-size: cover !important;
}

body:not(.theme-preset-active) #page-sub-header h1 {
  line-height: 1.6;
  font-size: 4rem;
  color: #563e7c;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

#page-sub-header p {
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
  font-weight: 300;
}

body:not(.theme-preset-active) #page-sub-header p {
  color: #212529;
}

a.page-scroller {
  color: #333;
  font-size: 2.6rem;
  display: inline-block;
  margin-top: 2rem;
}

@media screen and (min-width: 768px) {
  body:not(.theme-preset-active) #page-sub-header h1 {
      font-size: 3.750rem;
  }

  body:not(.theme-preset-active) #page-sub-header {
      font-size: 1.25rem;
  }
}

@media screen and (min-width: 992px) {
  #page-sub-header p {
      max-width: 43rem;
      margin: 0 auto;
  }
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav>li>a {
  color: #cdbfe3;
  padding: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav>li>a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav>li.current_page_item>a {
  color: #fff;
  font-weight: 600;
  /*background: #f9f9f9;*/
}

.navbar-brand {
  height: auto;
  width: 10rem; /* era 160px, ora responsive allo zoom */
  padding: 0;
}


.navbar-brand img{
  /* width: 80px; 
  height: auto; */
  height: 3.75rem; /* era 60px, ora responsive allo zoom */
  max-height: 4.375rem; /* era 70px, ora responsive allo zoom */
}

/* Logo header specifico */
.logo-header {
  height: 3.125rem !important; /* era 50px inline, ora responsive allo zoom */
  width: auto;
}

/* Header container responsive allo zoom */
#main-header {
  width: 100%;
}

#main-header .row {
  max-width: 100rem; /* Larghezza massima responsive allo zoom (~1600px a zoom 100%) */
  margin: 0 auto; /* Centra il contenuto */
}

#main-header.container-fluid {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Media query per desktop */
@media (min-width: 768px) {
  #main-header.px-md-5 {
    padding-left: 3.125rem !important; /* era 5 (bootstrap), ora responsive allo zoom */
    padding-right: 3.125rem !important;
  }
}

/* Navbar padding responsive */
.navbar {
  padding: 0.74rem 1rem !important; /* Converte padding fisso in rem */
}

/* Container fluid interno navbar */
#main-header .navbar .container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
}

nav.navbar.navbar-expand-md.padding-4 .navbar-brand {
    margin: 0;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.dropdown-menu .dropdown-toggle::after {
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  border-top: 0.3em solid transparent;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children {
  position: relative;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>.dropdown-menu {
  display: block;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children>a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children:hover>a:after {
  border-left-color: #fff;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left {
  float: none;
}

.dropdown.menu-item-has-children .dropdown.menu-item-has-children.pull-left>.dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

#main-header .dropdown-menu .dropdown-item:hover {
  background: #f5f5f5 !important;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: normal;
  background: transparent;
  line-height: 1.6;
}

.dropdown-menu .dropdown-item:hover {
  background: transparent;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
      display: none;
  }
}

@media screen and (min-width: 769px) {
  .dropdown-menu li>.dropdown-menu {
      right: -9.875rem;
      top: 1.375rem;
  }

  .box-welcome {
      margin-top: 0px; 
      z-index: 100; 
      position: relative;
  }


   .box-bottom-index {position: absolute; bottom: -50px; right: 0; background: white; width: 68%; padding: 2rem;}

  .box-bottom-index-bib { 
                  bottom: 0px; 
	          right: 0; 
	          background: white;  
	          width:65%;  
	          /*  max-width: 450px; */ 
	          padding: 2rem; 
	           min-height: 450px; }


}

@media screen and (min-width: 769px) {

.box-bottom-index {
    position: absolute;
    /* bottom: -50px; */
    right: 0;
    background: white;
    /* width: 600px; */
    padding: 2rem;
}
}

@media screen and (max-width: 991px) {
  .navbar-nav .dropdown-menu {
      border: medium none;
      margin-left: 1.250rem;
      padding: 0;
  }

  .dropdown-menu li a {
      padding: 0;
  }

  #masthead .navbar-nav>li>a {
      padding-bottom: 0.625rem;
      padding-top: 0.313rem;
  }

  .navbar-light .navbar-toggler {
      border: medium none;
      outline: none;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  float: left;
  width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

.comment-content.card-block {
  padding: 20px;
}

.navigation.post-navigation {
  padding-top: 1.875rem;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  border: 1px solid #ddd;
  border-radius: 0.938rem;
  display: inline-block;
  padding: 0.313rem 0.875rem;
  text-decoration: none;
}

.post-navigation .nav-next a::after {
  content: " \2192";
}

.post-navigation .nav-previous a::before {
  content: "\2190 ";
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background: #eee none repeat scroll 0 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 0.313rem;
  line-height: normal;
  padding: 0.938rem 1.438rem 0.875rem;
  text-decoration: none;
  top: 0.313rem;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a img.alignright {
  float: right;
  margin: 0.313rem 0 1.25rem 1.25rem;
}

a img.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.alignleft {
  float: left;
  margin: 0.313rem 1.25rem 1.25rem 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption.alignnone {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignleft {
  margin: 0.313rem 1.25rem 1.25rem 0;
}

.wp-caption.alignright {
  margin: 0.313rem 0 1.25rem 1.25rem;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin: 0 0 1.5em;
  font-size: 0.875rem;
  /* Make sure select elements fit in widgets. */
}

.widget select {
  max-width: 100%;
}

.widget_search .search-form input[type="submit"] {
  display: none;
}

.nav>li>a:focus,
.nav>li>a:hover {
  background-color: #eee;
  text-decoration: none;
}

.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}

.widget_categories .nav-link {
  display: inline-block;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content.site-content {
  padding-bottom: 3.75rem;
  padding-top: 4.125rem;
}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: "Font Awesome\ 5 Free";
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
  font-weight: 900;
}

.sticky .entry-title {
  position: relative;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.page-template-blank-page .entry-content,
.blank-page-with-container .entry-content {
  margin-top: 0;
}

.post.hentry {
  margin-bottom: 4rem;
}

.posted-on,
.byline,
.comments-link {
  color: #9a9a9a;
}

.entry-title>a {
  color: inherit;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

.comment-body .pull-left {
  padding-right: 0.625rem;
}

.comment-list .comment {
  display: block;
}

.comment-list {
  padding-left: 0;
}

.comments-title {
  font-size: 1.125rem;
}

.comment-list .pingback {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.563rem 0;
}

.comment-list .pingback:first-child {
  border: medium none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  background: #f1f1f1 none repeat scroll 0 0;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 0.313rem 0.313rem 0;
  text-align: center;
}

.wp-caption img[class*="wp-image-"] {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 100%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text {
  font-size: 0.688rem;
  line-height: 1.063rem;
  margin: 0;
  padding: 0.625rem;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-item .gallery-columns-2 {
  max-width: 50%;
}

.gallery-item .gallery-columns-3 {
  max-width: 33.33333%;
}

.gallery-item .gallery-columns-4 {
  max-width: 25%;
}

.gallery-item .gallery-columns-5 {
  max-width: 20%;
}

.gallery-item .gallery-columns-6 {
  max-width: 16.66667%;
}

.gallery-item .gallery-columns-7 {
  max-width: 14.28571%;
}

.gallery-item .gallery-columns-8 {
  max-width: 12.5%;
}

.gallery-item .gallery-columns-9 {
  max-width: 11.11111%;
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugin Compatibility
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Woocommerce
--------------------------------------------------------------*/
.woocommerce-cart-form .shop_table .coupon .input-text {
  width: 8.313rem !important;
}

.variations_form .variations .value>select {
  margin-bottom: 0.625rem;
}

.woocommerce-MyAccount-content .col-1,
.woocommerce-MyAccount-content .col-2 {
  max-width: 100%;
}

/*--------------------------------------------------------------
## Elementor
--------------------------------------------------------------*/
.elementor-page article .entry-footer {
  display: none;
}

.elementor-page.page-template-fullwidth #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.elementor-page .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
## Visual Composer
--------------------------------------------------------------*/
.vc_desktop article .entry-footer {
  display: none;
}

.vc_desktop #content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}

.vc_desktop .entry-content {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  /*  background-color: #102644; */
  background: linear-gradient(90deg,rgb(3,49,72) 8%,rgb(21,97,110) 67%);
  color: #ffffff;
}

footer .subfooter {
  background-color: #404040;
  color: #ffffff;
}

footer#colophon {
  font-size: 85%;
}

.head-col-footer {
  min-height: auto;
  height: auto;
  display: inline-block;
}

.navbar-dark .site-info {
  color: var(--col-white);
}

.copyright {
  font-size: 0.875rem;
  margin-bottom: 0;
  text-align: center;
}

.copyright a,
footer#colophon a {
  color: inherit;
}

@media screen and (max-width: 767px) {
  #masthead .navbar-nav>li>a {
      padding-bottom: 0.938rem;
      padding-top: 0.938rem;
  }
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Notebook
--------------------------------------------------------------*/
@media only screen and (max-width: 1280px) {
  /* font-size rimosso per permettere lo zoom del browser */
}

@media screen and (max-width: 1199px) {
  .navbar-dark .dropdown-item {
      color: #fff;
  }

  .navbar-nav .dropdown-menu {
      background: transparent;
      box-shadow: none;
      border: none;
  }
}

/*--------------------------------------------------------------
## Netbook
--------------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  /* font-size rimosso per permettere lo zoom del browser */
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  /* font-size rimosso per permettere lo zoom del browser */
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  /* font-size rimosso per permettere lo zoom del browser */
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  /* font-size rimosso per permettere lo zoom del browser */
}




/*--------------------------------------------------------------
## ! Custom theme style
--------------------------------------------------------------*/
/* Background color */
.back-primary {background: var(--col-primary);}
.back-secondary {background: var(--col-secondary);}
.back-background {background: var(--col-background);}
.back-fill-clear {background: var(--col-fill-clear);}
.back-fill-dark {background: var(--col-fill-dark);}
.back-tipografy {background: var(--col-tipografy);}
.back-white {background: var(--col-white);}
.back-dark {background: var(--col-dark);}
.back-none {background: none !important;}


/* ! Colors */
.color-primary {color: var(--col-primary);}
.color-secondary {color: var(--col-secondary);}
.color-background {color: var(--col-background);}
.color-fill-clear {color: var(--col-fill-clear);}
.color-fill-dark {color: var(--col-fill-dark);}
.color-tipografy {color: var(--col-tipografy);}
.color-white {color: var(--col-white);}
.color-dark {color: var(--col-dark);}
.color-border-img {color(--col-border-img);}

/*--------------------------------------------------------------
## CTA
--------------------------------------------------------------*/
.btn {border-radius: 2em !important; padding: 10px 24px}
.btn-primary {
  background-color: var(--col-btn-primary);
  color: var(--col-white);
  border-color: var(--col-btn-primary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 22px;
  text-align: center;
  display: block;
  border-radius: 50%;
}
.btn-primary:hover, .btn-primary:active {
  background-color: var(--col-hover);
  color: var(--col-white);
  border-color: var(--col-hover);
}
.btn-primary.disabled {
  background-color: var(--col-disabled);
  color: var(--col-white);
  border-color: var(--col-disabled);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 22px;
  text-align: center;
}

.btn-secondary {
  background-color: var(--col-primary);
  color: var(--col-btnText-secondary);
  border-color: var(--col-btnBorder-secondary);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 22px;
  text-align: center;
}
.btn-secondary:hover {
  background-color: var(--col-btn-secondary-hover);
  color: var(--col-btnText-secondary-hover);
  border-color: var(--col-btnBorder-secondary-hover);
}

.btn-secondary.disabled {
  opacity: .6;
}

a {color: var(--col-secondary); text-decoration: none; font-weight: 600;}
a:hover {color: var(--col-tertiary);}
.link {font-size: 18px; color: var(--col-secondary);}
.link:hover {font-size: 18px; color: var(--col-tertiary);}
.btn-ico {
  padding: 10px;
  /*  border-color: #333333 !important; */
  border-radius: 2em !important;
  margin: 5px !important;
  margin-left: 5px !important;
}
.btn-ico:hover,
.btn-ico:active,
.btn-ico:focus,
.btn-ico.active {
  background: rgba(179,62,0,0.15)  !important;
  border-radius: 2em !important;
  margin: 5px !important;
  margin-left: 5px !important;
}

#btn-grid img,
#btn-list img {
  filter: invert(56%) sepia(23%) saturate(18%) hue-rotate(350deg) brightness(89%) contrast(89%);
}
#btn-grid.active img,
#btn-list.active img {
  filter: invert(17%) sepia(0%) saturate(1%) hue-rotate(256deg) brightness(103%) contrast(92%);
}


/*--------------------------------------------------------------
## Varie
--------------------------------------------------------------*/
.card {border: 0 !important; border-radius: 0;}
.card-footer {background: none; border-radius: 0; border-top: none;}
.lh-big {line-height: 24px !important;}

/* .isz-services {padding-left: 0; padding-right: 0;} */
.isz-services .card {border: none; border-bottom: 1px solid #EBF1F2 !important;}


/* Menu */ 
/* Menu */ 
.navbar-nav {
  padding-left: 2rem;
  padding-right: 2rem;
}

.nav-link { 
  color: var(--col-dark);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 19px;
  padding: 12px 0 !important;
  font-size: 14px;
  border-bottom: 1px solid #979797;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-toggle::after {
  border: solid black;
  border-width: 0 1px 1px 0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  padding: 5px;
}

/*.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--col-white);
}*/
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: var(--col-dark);
}


.box-welcome {
  margin-top: 0; z-index: 100; position: relative;
}


.patch-mobile {
  background: none;  /*  var(--col-secondary); */
}


.text-author {
  color: var(--col-tipografy);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 28px;
  font-weight: 700;
  display: inline-block;
}
.text-normal {
  color: var(--col-tipografy);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 18px;
}
.text-title {
  color: var(--col-dark);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 22px;
}

.text-date {
  color: var(--col-dark);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 50px;
}

/* Swiper */
.swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.swiper-pagination-bullet {height: 13px; width: 13px; background-color: #F0F0F0; opacity: 1;}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  height: 13px;
  width: 13px;
  opacity: 0.37;
  background-color: #B33E00; /* #17345A; */
}

/* Footer */
footer a {
  color: var(--col-white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 19px;
}
footer a:hover {
  color: var(--col-white);
  opacity: .5;
}

footer ul {
  padding: 0;
  list-style: none;
  padding-top: 10px;
}
footer ul li a {
  color: var(--col-white);
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 26px;
  opacity: .85;
}
footer ul li a:hover {
  color: var(--col-white);
  opacity: .5;
}

footer .link-service,
footer .link-service a{
  color: var(--col-white);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 18px;
  font-weight: normal;
  padding-right: 35px;
  
}

footer .link-service a {text-decoration: underline;}


/* FORM */
.form-control{
  border-radius: 0;
  padding: 18px;
  font-size: 16px;
}

.form-row::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
 /*  background: linear-gradient(90deg, #BD0E49 0%, #17345A 100%);*/
}


.form-select {
  border-radius: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}


.box-bottom-index {
   background: white;
   padding: 2rem;
   z-index: 2;  
}


.mt-neg-50 {margin-top: -50px;}
.back-gradient {background: linear-gradient(90deg, #feb204 0%, #ec8401 100%);}

.slider-button-catalog {text-align: right; margin-top: 1rem;}

/* Hamburger menu */
.icon-menu {
  width: 30px;
  height: 30px;
  z-index: 220;
  margin: auto;
  margin-right: -5px;
}

.icon-hamburger {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  right: 0; 
  margin-right: 20px;
  border: none;
  background: none;
  display: block;
  padding: 0;
  transform: rotate(180deg);
}
.icon-hamburger span {
  height: 4px;
  width: 100%;
  position: absolute;
  background: #000;
  top: 12px;
  transition: all .2s linear;
  background: var(--col-white);
  left: 0;
}

.icon-hamburger span:before, .icon-hamburger span:after {
  content: ' ';
  height: 4px;
  width: 100%;
  position: absolute;
  background: #000;
  margin-top: -10px;
  transition: all .3s linear;
  left: 0;
  background: var(--col-white);
}
.icon-hamburger span:before {
  width: 18px;
}
.icon-hamburger span:after {
  margin-top: 10px;
  width: 23px;
}

.navbar-collapse {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--col-white);
  transition: all .3s linear;
  display: block !important;
  transform: translateY(-100%);
}
.navbar-collapse .navbar-nav {margin-top: 70px;}
.collapse.show {
  transform: translateY(0);
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler[aria-expanded=true] span {
  background: transparent !important;
}
.navbar-toggler[aria-expanded=true] span:before {
  transform: rotate(45deg);
  margin-top: 0;
  background: var(--col-dark);
  width: 100%;
}
.navbar-toggler[aria-expanded=true] span:after {
  transform: rotate(-45deg);
  margin-top: 0;
  background: var(--col-dark);
  width: 100%;
}


/* ! List */
/* #grid-result.row-cols-md-1 .link-catalogo .card {
  border-bottom: 2px solid #eaeff1 !important;
  flex-flow: row;
  background: var(--col-btn-secondary);
  transition: all .5s linear;
} */
/* #grid-result.row-cols-md-1 .card img {
  width: 20% !important;
  padding: 1rem;
  height: 100%;
} */
.only_list {display: none;}
/* #grid-result.row-cols-md-1 .only_list {
  display: block;
} */
.list-sub-content {
  display: flex;
  justify-content: space-between;
}
#grid-result.row-cols-md-1 .card-body {
  display: flex;
  flex-flow: column;
  align-self: center;
}

#grid-result.row-cols-md-1 .link-catalogo:hover .card {
  background: var(--col-background);
  border-color: var(--col-secondary) !important;
}
.card .back-white.date-info + h5 {
    margin-top: 15px;
}
.card .card-body {
    padding: 15px 0;
}
.card .button.btn-grey {
    position: relative;
    padding-left: 25px;
}
.card .button.btn-grey:before {
    background-image: url(/wp-content/themes/cowtheme/inc/assets/images/ico_arrow_03.svg);
    background-size: contain;
    width: 20px;
    height: 20px;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    position: absolute;
}
.card .w-100.wp-post-image {
  border-color: #e7e7e7;
    height: 296px;
    object-fit: cover;
}


.link-catalogo {
  font-weight: initial;
}	

#grid-result.list-grid .link-catalogo .img-catalog{
  transition: all .3s linear;
  /* transform: scale(1); */
}
#grid-result.list-grid .link-catalogo:hover .img-catalog{
  transform: scale(.95);   
}
#grid-result .card-body {
  padding-left: 0;
  padding-right: 0;
}

/* Lista griglia semplice */
#grid-simple .card {
  background: none;
}
#grid-simple .link-catalogo .img-catalog{
  transition: all .3s linear;
  /* transform: scale(1); */
}
#grid-simple .link-catalogo:hover .img-catalog{
  transform: scale(.95);   
}


.cover-home {
  position: absolute; bottom: 0; text-align: center; width: 100%; padding-left: 1rem; padding-right: 1rem;
  text-shadow: 0px 1px 4px rgba(0,0,0,0.38); font-size: 22px; font-weight: 600;
}
#btn-visualizza-tutti {
    display: flex;
    align-items: center;
}
.btn_img_more {
    background-color: var(--col-secondary);
    border-radius: 50%;
    /* width: 20px;
    height: 20px;
     padding: 4px; */ 
    margin-right: 10px;
}

.home-content {
  display: flex;
  align-items: center;
}
.home-content .btn-search {
  left: auto;
  right: 0;
  padding: 10px;
}
.home-content .input-search {
  padding-right: 60px;
  padding-left: 12px;
}


.btn-search {
  width: 80px;	
  /* height: 3.4em; */ 
  height: 80%;
  right: 5px !important;
  background: var(--col-btn-primary);
  padding: 13px;
  position: absolute !important;
  left: 0;
  border-radius: 2em !important;
  z-index: 100 !important;
  border: none;

  background-image:url('/wp-content/themes/cowtheme/inc/assets/images/search_icon_w.png');
  background-size: 3em;
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 50%;
}
.btn-search-cancel {
  padding: 16px;
  position: absolute !important;
  right: 0;
  background: none;
  z-index: 100 !important;
  margin-right: 15px;
  margin-top: 5px;
}


.btn-search:hover {
  background: var(--col-tertiary);
  background-image:url('/wp-content/themes/cowtheme/inc/assets/images/search_icon_w.png');
  background-size: 3em;
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 50%;
}





.input-search {
  border: none;
  padding-left: 90px;
}

#search_grad {
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
    border: 4px solid transparent; /* Bordo trasparente per mostrare il gradiente */
    border-radius: 2em; /* Raggio degli angoli arrotondati */
    background: linear-gradient(#F5F5F5, #F5F5F5) padding-box, /* Sfondo bianco per il campo di input */
                linear-gradient(90deg, #15616D 0%, #FFB703 50%, #E66F00 100%) border-box; /* Gradiente per il bordo */
}



#search {
  border-radius: 2em;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.5);
}


.box-page {
  margin-top: 0;
  z-index: 100;
  position: relative;
  box-shadow: none;
}

.m-neg-24 {
  margin: initial;
}

/* Rende un elemento fluido anche se si trova in un container fisso */
.fluid-elemnts {margin-left: calc( -50vw + 50%) !important; margin-right: calc( -50vw + 50%) !important; max-width: 100vw;}


.list-dati .row {
  border-bottom: 1px solid #E0DFDF;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
/*
.list-dati .row span {
  font-weight: 600;
}
*/
.list-dati .row:last-child {
  border: none;
  padding-bottom: 2rem;
}


/*--------------------------------------------------------------
## ! TAG
--------------------------------------------------------------*/
.tag-custom {
  padding: 0;
  list-style: none;
  display: block;
}
.tag-custom li {
  display: inline-block;
  padding-right: 15px;
  margin-bottom: 10px;
}
.link-tag {
  background: #EBF1F2;
  padding: 8px 20px;
  color: var(--col-dark);
  font-size: 15px;
  line-height: 19px;
  font-weight: normal;
  transition: all .3s linear;
  display: inline-block;
}

.link-tag:hover {
  background: var(--col-fill-dark);
  color: var(--col-white);
}


/* ! Card 3 box */
.card-content {
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
}
.card-content .card {
  min-height: auto;
}
.card-content .card-body {
  padding: 2rem;
  padding-top: 3rem;
  padding-bottom: 0;
}
.card-content .card-footer {
  padding-left: 2rem;
  padding-right: 2rem;
}
.card-content .card-title {
  font-size: 22px;
  font-weight: 500;
}

.card-content .card-title.patch {
  font-size: 20px;
  font-weight: 500;
}

.card-content .card .card-title {
  margin-top: 0;
  transition: all .3s linear;
}
/*.card-content .card:hover .card-title {
  margin-top: 15px;
}*/

.card-content .card .card-text {
  margin-top: 0;
  transition: all .3s linear;
}
/*.card-content .card:hover .card-text {
  margin-top: -5px;
}*/

.link-box3 {
  position: relative;
  font-size: 16px;
  font-weight: normal;
}
.link-box3 span {
  opacity: 0;
  vertical-align: sub;
  transition: all .4s linear;
  display: none;
}
.card-content .card:hover .link-box3 span {
  opacity: 1;
}
.card-content .card .link-box3 img {
  position: absolute;
  left: 0;
  transition: all .3s linear;
  min-width: 33px;
  position: relative;
}
/*.card-content .card:hover .link-box3 img {
  left: Calc(100% + 10px);
}*/

.card-content .card.nth-col1 .card-top {background: #feb204;}
.card-content .card.nth-col2 .card-top {background: #ec8401;}
.card-content .card.nth-col3 .card-top {background: #183659;}

.card-content .card .card-top {
  height: 10px; 
  position: absolute;
  z-index: 1000;
  width: 100%;
  top: -10px;
  opacity: 0;
  transition: all .3s linear;
}
/*.card-content .card:hover .card-top {
  height: 20px;
  top: -20px;
  opacity: 1;
}*/


.card-content .card.nth-col1 .link-box3 span {color: var(--col-primary)}
.card-content .card.nth-col2 .link-box3 span {color: var(--col-btn-primary)}
.card-content .card.nth-col3 .link-box3 span {color: #183659;}



/* ! Video Hero */
.video-content{
  width: 100%;
  height: 85vh;
}
.background-video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 1;
}

.background-video-content {
  position: absolute;
  bottom: 20px;
  z-index: 1000;
  width: 100%;
}

video[poster] {
 /*   object-fit: cover; */
  width: 95%;
  height: 98%;
  margin: auto;
 
}

.swiper-slide {
   flex-shrink: 0;
}


.swiper-slide .text-title span,
.list-grid .text-title span, 
.list-grid .text-normal span {
  display: inline-block;
  position: relative;
}
.swiper-slide .text-title span:after,
.list-grid .text-title span:after,
.list-grid .text-normal span:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #E6EDEF;
  margin-top: -50px;
  position: absolute;
  bottom: -10px;
  z-index: 100;
}
.swiper-slide .text-title span:before,
.list-grid .text-title span:before,
.list-grid .text-normal span:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #B33E00;
  margin-top: -50px;
  position: absolute;
  bottom: -10px;
  z-index: 110;
  width: 0px;
  transition: all .3s linear;
}
.swiper-slide a {
  height: 100%;
  display: inline-block;
  width: 100%;
  transition: all .1s linear;
  transform-origin:left top;
}

.swiper-slide a:hover {
  transform: scale(.98);
}

.swiper-slide a:hover .text-title span:before,
.list-grid a:hover .text-title span:before,
.list-grid a:hover .text-normal span:before {
  width: 100%;
}

.swiper-control-content {
  padding-top: 50px;
  position: relative;
  text-align: center;
}


.row-cols-md-1.list-search .text-title span:before, 
.row-cols-md-1.list-search .text-title span:after,
.row-cols-md-1.list-search .text-normal span:before,
.row-cols-md-1.list-search .text-normal span:after {
  display: none;
}


.panel__img {
  background-color: var(--col-primary);
}
.panel__img img {
  /* height: 80vh; */
  width: 100%;
  /* max-width: 550px; */
  display: block;
  margin: 0 auto;
  object-fit: cover;
  margin-top: -180px;
}

.panel__img:after {
  content: "";
  width: 100%;
  height: 100px;
  display: block;
  position: absolute;
  bottom: 0;
  
  background: rgb(41,38,88);
  background: -moz-linear-gradient(180deg, rgba(41,38,88,0) 0%, rgba(22,53,90,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(41,38,88,0) 0%, rgba(22,53,90,1) 100%);
  background: linear-gradient(180deg, rgba(41,38,88,0) 0%, rgba(22,53,90,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#292658",endColorstr="#16355a",GradientType=1);
  /* background: red; */
}


.fix-header {
  position: fixed;
  z-index: 10000;
  width: 100%;
  top: 0;
}

/* ! pagination */
.container-pagination {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}	

/*
.next_page,
.prev_page {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
*/


.nav_page, 
.next_page,
.prev_page {
    width: 34px;
    height: 34px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    color: #333333;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

@media screen and (min-width: 769px) {
.nav_page,
.next_page,
.prev_page {
    margin-right: 1rem;
    margin-left: 1rem;
}

}

@media screen and (max-width: 769px) {
.nav_page,
.next_page,
.prev_page {
	margin-right: 0.5em !important;
	margin-left: 0.5em !important;
}
}

.nav_page.active {
  background: #EBF1F2;
  font-weight: normal;
  color: #333333;

}

.nav_page:hover,
.next_page:hover,
.prev_page:hover {
  background: #EBF1F2;
}

/* ! Accordion */ 
h3.accordion-header  {margin: 0;}
.accordion-item {
  border-radius: 0 !important;
  border: none;
  border-top: 1px solid #e7e7e7 !important;
}
.accordion-item button {
  border-radius: 0 !important;
}

p.upFist::first-letter {
  text-transform: uppercase;
}

.list-grid .list-row-only {display: none;}
.list-row .list-row-only {display: block;}

.list-grid-only {display: none;}
.list-grid .list-grid-only {display: block;}

/* ! Search Badge */
.search-badge {background-color: #DDE7E9; display: inline-block; margin-right: 0.5rem; border-radius: 15px; }
.search-badge .btn {background-color: #DDE7E9; padding: .6rem;  color: #333333; font-size: 15px; line-height: 19px; border: none; font-weight: normal;}
.ico_search_close {
  cursor: pointer;
  height: 10px;
  margin-left: 10px;
  width: 10px;
}


/* ! Gestione grid */
.cont-grid {
  /** display: block; **/
   
  display: grid;
  grid-template-columns: auto auto auto;
   
 /*  grid-column-gap: 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);    */

}
.cont-wrapper {
  grid-column: 1/span 12;
  margin-bottom: 20px;
  

 /*  background-image: url(/wp-content/themes/cowtheme/inc/assets/images/sfondo3.png); 
   background-size: 100% 380px;  
 */
 /*  background-repeat: norepeat;  */

}

.cont-card {
 
  -moz-column-count: 1;
  column-count: 1;
 //** -moz-column-gap: 30px;
  column-gap: 30px; **/
}
.my-card {
  display: grid;
  margin-bottom: 20px;
  width: 100%;

  padding: 15px; 
/*
 background-image: url('/wp-content/themes/cowtheme/inc/assets/images/sfondo2.png');
 background-size: 100% 180px;
 background-repeat: no-repeat;
  margin: 1em; padding: 1em;
*/  
}






/* ! Breadcrumb */
#breadcrumbs {
  font-weight: 100;
  color: var(--col-dark);
  font-size: 14px;
  opacity: inherit !important;
  margin-top: 10px;
}



#breadcrumbs a {
  text-decoration: underline;
  text-decoration-color: var(--col-secondary);
  font-weight: 100;
  color: var(--col-dark);
}

#breadcrumbs > span > span {
  padding-right: 10px;
  padding-left: 10px;
}
#breadcrumbs > span > span:first-child {
  padding-right: 10px;
  padding-left: 0;
}
#breadcrumbs > span > span:last-child {
  padding-left: 10px;
  padding-right: 0;
}


.backTitle {
  width: 100%; position: absolute; bottom: 0; opacity: .8; height: 230px; z-index: 10;
  background: rgb(0,0,0);
  background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

input:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.hak-cancel-ipt {
  padding-right: 20px;
  background-image: none;
}

/* .hak-cancel-ipt.clearable {
  background-image: url('<?php echo get_stylesheet_directory_uri(); ?>/inc/assets/images/search_icon.svg') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
} */

.btn-search-cancel {
  display: none;
  padding: 16px;
}
.btn-search-cancel.showBtn {
  display: block;
}
.btn-search-cancel img {
  height: 16px;
  width: 16px;
  
}
/*
.form-row.focusSt::after {
   background: linear-gradient(90deg, #B33E00 50%, #17345A 100%);
  border: 3px solid linear-gradient(90deg,#15616D 0%,#FFB703 50%,#E66F00 100%);	
}

.form-row.focusSt::after input {
    background: linear-gradient(90deg, #B33E00 50%, #17345A 100%);
  border: 3px solid linear-gradient(90deg,#15616D 0%,#FFB703 50%,#E66F00 100%);
}
*/

 .input-search:focus {
    border: solid 3px red !important; /* Cambia il colore del bordo */
}
 




.btn-share,
.btn-print {
  background-color: #fff;
  color: #333333;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 18px;

  -webkit-box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.05); 
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 10px;
  border: 2px  solid #EAE7E7;

  /* box-shadow: 0px 0px 8px -1px rgba(0,0,0,0.79); */

}

.btn-share img,
.btn-print img {
  padding-left: 15px;
  height: 23px;
}

.btn-share:hover,
.btn-print:hover {
background: rgba(179, 62, 0, 0.15) !important;

}	


/* Overlay image dettaglio */
.overlay-custom {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .85);
  z-index: 10000;
  top: 0;
  left: 0;
}

.btn-close-over {
  position: absolute;
  right: 0;
}

.over-image-modal {
  background: rgba(0,0,0,.7);
  z-index: 10000;
}
.over-image-modal .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 1;
  margin: 1rem;
  font-size: 1.4rem;
}

.over-image-modal .modal-body {
  padding: 0;
  border-radius: 0;
}

.facets-wrapper {
  padding-left: 10px;
}


.facets-wrapper .accordion-button {
  padding-left: 0;
  padding-right: 0;
  font-weight: 600;
}
.facets-wrapper .accordion-body {
  padding-left: 10;
  padding-right: 0;
}

.facets-wrapper ul {
  padding: 0;
  list-style: none;
}

.facets-wrapper ul li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.facets-wrapper ul li a {
  font-size: 16px;
  color: #333;
  font-weight: normal;
}

.facets-wrapper .accordion-button:not(.collapsed) {
  background-color: #fff !important;
  box-shadow: none;
  color: #333;
}

/* Nascondi Filtro */
#hide-filters {cursor: pointer; margin-bottom: 1.5rem;}
#hide-filters span {
  display: flex;
  align-items: center;
}

#hide-filters span:before {
  content: '';
  background: url(inc/assets/images/nascondi_filtri.svg) no-repeat;
  width: 20px;
  background-position: bottom;
  margin-right: 10px;
  display: inline-block;
  height: 16px;
  padding-bottom: 3px;
}
#show-filters span:before {
  content: '';
  background: url(inc/assets/images/mostra_filtri.svg) no-repeat;
  width: 20px;
  background-position: bottom;
  margin-right: 10px;
  display: inline-block;
  height: 16px;
  padding-bottom: 3px;
}

.full-space {
  flex: 0 0 auto !important;
  width: 100% !important;
  padding-right: calc(var(--bs-gutter-x) * .5);
}
.hidden-filter {display: none;}

.full-space .path-hidden-filter-pe0 {
  padding-right: 0;
}
.full-space .path-hidden-filter-ps0 {
  padding-left: 0;
}
.full-space .path-hidden-filter-p0 {
  padding-left: 0;
  padding-right: 0;
}


.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B33E00'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

#main-header .dropdown-menu {
    top: Calc(100% + 9px);
  right: 0;
  left: auto;
  border-radius: 0;
  padding: 0;
  -webkit-box-shadow: none; 
  box-shadow: none;
  font-size: 14px;
  margin-left: 0;
}
#main-header .dropdown-menu .dropdown-item.trp-language-switcher-container {
  background-color: transparent;
}
#main-header .dropdown-menu .dropdown-item {
  white-space: nowrap;
  border-bottom: 1px solid #e7e7e7;
  background-color: white;
}
#main-header .dropdown-menu.show {
    padding: 0;
    box-shadow: inherit;
    margin-left: 0;
    background-color: transparent;
    border: none;
    left: 5px;
}
#main-header .trp-language-switcher-container .dropdown-menu .dropdown-item{
    background-color: transparent;
}
#main-header .trp-language-switcher-container .dropdown-menu .dropdown-item:hover {
    background-color: transparent !important;
}
#main-header .dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}
#main-header .dropdown-item.active, .dropdown-item:active {
  color: #212529!important;
}

/* Gestione Sticky header custom SM: 12092023 */
.sticky-header {
  position: fixed;
  top: 0;
  z-index: 100000;
  transition: top 0.5s;
  background: linear-gradient(90deg,rgb(3,49,72) 8%,rgb(21,97,110) 67%);
}

.navbar-brand img,
.navbar {
  transition: all 0.5s;
}

/* Griglia Lista collezioni */
#grid-result.list-collezioni .card-body {
  /*
  z-index: 10;
  background: #fff;
  width: 90%;
  margin: 0 auto;
  margin-top: -35px;
  padding: 20px;
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
  position: relative;
  */
}
#grid-result.list-collezioni .my-card {
  margin-bottom: 40px;
}

/* Footer */
#mnu-footer {
  display: flex;
  flex-direction: row;
    justify-content: space-between;
  padding-top: 0;
}

#mnu-footer>li a {
  font-weight: bold;
  text-transform: uppercase;
}

#mnu-footer>li ul.sub-menu a {
  font-weight: normal;
  text-transform: inherit;
}


footer .trp-language-switcher .trp-ls-shortcode-current-language {
  background: none;
  border: none;
}
footer .trp-language-switcher {
  text-align: left;
}
footer .trp-language-switcher .trp-ls-shortcode-language {
  background: none;
    border: none;
}

footer .trp-language-switcher:focus .trp-ls-shortcode-language, 
footer .trp-language-switcher:hover .trp-ls-shortcode-language {
  /*  right: 7px;
  left: inherit; */
}
footer .trp-language-switcher > div > a:hover {
  background: none;
}

.trp-language-switcher-container>.dropdown-menu {
  min-width: auto !important;
}

/* Mostre virtuali */
.mv-box {
  /*
  background: #ffffff;
  position: relative;
  top: auto;
  left: auto;
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
  transform: none;
  */
  padding: 3rem;
  
}

/* Gestione filtri mobile */
.filtriMobile {
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  height: 100%;
  background: #fff;
}
.cta-filtri-m {
  width: 100%; 
  position: fixed; 
  z-index: 1000; 
  bottom: 5%; 
  left: 0; 
  padding-left: 15%; 
  padding-right: 15%;
}

.cont-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
}
.close-filtri {
  font-size: 20px; 
  color: #000000;
}

/* Classi header in javascipt */
.fontMnu-12 {font-size: 14px;}
.maxHeight-18 {max-height: 29px;}
.padding-4 {padding: 8px 0;}

.fontMnu-14 {font-size: 14px;}
.maxHeight-29 {max-height: 29px;}
.padding-8 {padding: 8px 0;}
.maxHeight-50 {max-height: 50px;}


.head-hidden {top: 0;}
.head-show {top: 0;}

/* Visibilità faccette page-samira */
#acc_filtri {opacity: 0 !important; transition: all .3s linear;}
#acc_filtri.showFacet {opacity: 1 !important;}


/* Didascalia foto */
.text-desc {font-size: 12px; text-align: center; color: #676767; line-height: 18px; font-weight: normal; font-style: italic;}

/* custom-style-content style per la pagina generica page-dettaglio */
.custom-style-content .cs-content {
  background: white;
  margin-top: 0;
  z-index: 100;
  /* box-shadow: 0 0 8px 0 rgba(0,0,0,0.05); */
  font-size: 18px;
  line-height: 28px;
}

.custom-style-content .cs-content h4 {
  font-size: 18px;
  line-height: 28px;
}

.custom-style-content .cs-content p {
  font-size: 18px;
  line-height: 28px;
}

.custom-style-content .cs-content ul {
  list-style: none;
  padding-left: 0;
}

.custom-style-content .cs-content li {
  position: relative;
  padding-left: 30px; /* Regola questo valore in base alla dimensione della tua immagine SVG */
  line-height: 1.5; /* Regola l'altezza delle righe desiderata */
  font-size: 18px;
  line-height: 28px;
  padding-bottom: 1rem;
}
  
.custom-style-content .cs-content li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px; /* Larghezza desiderata per l'immagine SVG */
  height: 100%; /* Altezza del blocco li */
  background: url('inc/assets/images/check.svg') no-repeat;
  background-size: contain; /* Per adattare l'immagine SVG all'area del blocco li */
}

.text28 {
  font-size: 28px;
  line-height: 40px;
}

/* FORM Contatti */
.text-name:before {
  content: '';
  display: block;
  background: url(inc/assets/images/user.svg) no-repeat;
  background-size: contain;
  width: 19px;
  height: 100%;
  padding-top: 14px;
}

.text-email:before {
  content: '';
  display: block;
  background: url(inc/assets/images/mail.svg) no-repeat;
  background-size: contain;
  width: 31px;
  height: 100%;
  padding-top: 14px;
}

.frm-custom .input-group p {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.frm-custom .ipt-submit p{
  display: flex;
  justify-content: end;
}
.frm-custom .ipt-submit p>input{
  order:1;
}

.all-white-text h1,
.all-white-text h2,
.all-white-text h3,
.all-white-text h4,
.all-white-text {
  color: var(--col-white) !important;
}


.frm-custom .input-group {
  position: relative;
}
.frm-custom .input-group-text {
  position: absolute;
  top: 0;
  width: 33px;
  height: 100%;
  padding: 0;
  z-index: 1000;
  padding-top: 12px;
  padding-left: 10px;
  border: none;
  background: none;
}

.frm-custom .input-group-text.text-name {
  padding-top: 10px;
}


.frm-custom .input-group .form-control {
  position: relative;
  flex: 1 1 auto;
  padding: 10px;
  padding-left: 40px;
}

ul.submenu-footer {
  list-style: none;
  display: flex;
  padding-top: 0;
  justify-content: end;
}


.submenu-footer li:after {
  content: '|';
  display: inline-block;
}

.submenu-footer li a {
  font-size: 12px;
  padding-left: 10px;
  padding-right: 10px;
  text-decoration: none;
}

.submenu-footer li:last-child:after {
  display: none;
}

.textFont12 {
  font-size: 12px !important;
}

/* Page contatti */
.box-contact {
 /*  background: linear-gradient(313.29deg, #244B6F 0%, #16355A 100%); */
  background: linear-gradient(90deg,rgb(3,49,72) 8%,rgb(21,97,110) 67%);	
  color: white;
  text-align: right;
  border-radius: 10px 0% 0% 10px;
}

@media (max-width: 768px) {

.box-contact {
        border-radius: 10px 10px 10px 10px !important ; 
   }

 .list-dati {
  font-size: 16px;
  margin-top: 130px;
 } 

}	


.box-contact-image {
  position: relative;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
 .list-dati {
   font-size: 16px;
   margin-top: 50px;
 }
}

/* Condividi */
.drp-condividi {
  min-width: 16rem;
  text-align: center;
}

.addtoany_shortcode>div {
  display: flex;
    justify-content: space-around;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  h1 {
      font-size: 30px;
      line-height: 37px;
      font-weight: 700;
  }

  .box-welcome {
      margin-top: 80px; 
    
      z-index: 100; 
      position: relative;
  }

  /* .isz-services {
      padding-right: calc(var(--bs-gutter-x) * .5);
      padding-left: calc(var(--bs-gutter-x) * .5);
  } */
  .isz-services .card {border-right: 1px solid #EBF1F2 !important; border-bottom: none !important;}
  .isz-services .col:last-child .card {border: none !important;}

  h3 {
      font-size: 26px;
      line-height: 32px;
      font-weight: 600;
  }

  p {
      font-size: 16px;
      letter-spacing: 0;
      line-height: 26px;
  }

  .slider-button-catalog {text-align: right; margin-top: -43px; position: absolute; right: 0;}

  .btn-primary {display: inline-block;}

  /*  .box-bottom-index-bib { bottom: 0px; right: 0; background: white;  width:100%;  max-width: 600px; padding: 2rem;} */


  .cont-search {
      /* position: absolute;  */
      top: 0;
      /*  left: 0;  */
      /* right: 0; */ 
      margin-left: auto; 
      margin-right: auto;
  }

  .patch-mobile {
      background:  none;
  }

  .navbar-nav {
    padding-left: inherit;
    padding-right: inherit;
  }

  .nav-link {
      color: var(--col-white);
      padding: 8px 20px !important;
      border: none;
      display: block;
      transition: all .5s linear;
  }

  .dropdown-toggle::after {
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transform: none;
    -webkit-transform: none;
    padding: 0;
  }
  
  .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--col-white);
    }
  
  .nav-link:focus, .nav-link:hover {
    color: var(--col-white);
    opacity: .8;
  }

  .navbar-collapse {
      width: auto;
      height: auto;
      position: static;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 200;
      background: none;
      transition: all .3s linear;
      display: block !important;
      transform: none;
  }

  .navbar-collapse .navbar-nav {margin-top: 0;}

  .box-page {
      margin-top: -100px;
      z-index: 100;
      position: relative;
      box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
  }
  .m-neg-24 {
      margin: -24px;
  }

  .card-content .card {
      min-height: 350px;
  }

  .background-video-content {
      bottom: 100px;
  }





  /* ! Animazioni */ 
  
  .box_animation {opacity: 1; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateY(30px);}
  .box_animation.is-inview {opacity: 1; transform: translateY(30px);}

  .downToUp {opacity: 0; transform: translateY(100px); transition: all 1s cubic-bezier(.215, .61, .355, 1); transition-delay: .5s;} 
  .downToUp.is-inview {opacity: 1; transform: translateY(15px);}

  .lefrToRight {opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateX(-200px);}
  .lefrToRight.is-inview {opacity: 1; transform: translateX(0);}

  .rightToLeft {opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transform: translateX(100%); transition-delay: .5s;}
  .rightToLeft.is-inview {opacity: 1; transform: translateX(0);}

  .parallax-top {overflow: hidden; transition: all 1.5s cubic-bezier(.215, .61, .355, 1); transition-delay: .5s; height: 50vh;}
  .parallax-top.in-view {width: 100%;}

  .fade-in {opacity: 0; transition: all 1s cubic-bezier(.215, .61, .355, 1); transition-delay: .5s;}
  .fade-in.is-inview {opacity: 1;}

  .box-effect {transition: all .3s linear; transform: scale(1); }
  .box-effect:hover {transform: scale(.98);}

  /* ! Gestione grid */
  /* .cont-grid {
    grid-column-gap: 30px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);   
  }
  .cont-wrapper {
      grid-column: 1/span 12;
      margin-bottom: 72px;
  } */
  .list-grid .cont-card {
    -moz-column-count: 3;
    column-count: 3;
 /**   -moz-column-gap: 28px;
    column-gap: 28px; **/ 
  }


  .list-grid .cont-card .card{
    display: inline-block;
    width: 100%;
  }
  
  .list-row .cont-card,
  .full-space .list-row .cont-card {
    -moz-column-count: 1;
    column-count: 1;
/**    -moz-column-gap: 28px;
    column-gap: 28px; **/
  }
  .full-space .cont-card {
    -moz-column-count: 4;
    column-count: 4;
  }
  
  .px-md-auto {
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
  }
  /* .my-card {
      display: inline-block;
      margin-bottom: 10px;
      background: red;
      width: 100%;
  } */


  #grid-result.row-cols-md-1 .link-catalogo .card {
    border-bottom: 2px solid #eaeff1 !important;
    flex-flow: row;
    background: var(--col-btn-secondary);
    
    /* border-color: var(--col-btnText-secondary); */
    transition: all .5s linear;
  }
  #grid-result.row-cols-md-1 .card img {
    width: 20% !important;
   /* padding: 1rem; */
    margin: 0.5em;
    height: 100%;
  }
  .only_list {display: none;}
  #grid-result.row-cols-md-1 .only_list {
    display: block;
  }
  
  .cover-home {
    font-size: 28px;
  }
  
  /* Mostre virtuali */
  .mv-box {
    /* background: #ffffff; */
    /*
    position: absolute;
    top: 50%;
    left: -20%;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
    transform: translateY(-50%);
    */
    /* padding: 3rem; */
  }
  
  /* Gestione filtri mobile */
  .filtriMobile {
    position: inherit;
    height: inherit;
    background: none;
    z-index: inherit;
  }
  
  /*--------------------------------------------------------------
  ## ! TAG
  --------------------------------------------------------------*/
  .tag-custom {
    padding: 0;
    list-style: none;
    display: flex;
  }

  .tag-custom li {
    margin-bottom: 10px;
  }

  .link-tag {
    display: inline;
  }
  
  #main-header .dropdown-menu {
    margin-left: 1.25rem;
    -webkit-box-shadow: 0px 1px 8px 0px rgba(0,0,0,0.22); 
    box-shadow: 0px 1px 8px 0px rgba(0,0,0,0.22);
  }
  
  /* Classi header in javascipt */
  .fontMnu-12 {font-size: 12px;}
  .maxHeight-18 {max-height: 18px;}
  .padding-4 {padding: 4px 0;}

  .fontMnu-14 {font-size: 14px;}
  .maxHeight-29 {max-height: 29px;}
  .padding-8 {padding: 8px 0;}
  .maxHeight-50 {max-height: 50px;}

  .head-hidden {top: -100px;}
  .head-show {top: 0;}
  
  .card-content .card-body {
    padding: 2rem;
    padding-top: 3rem;
  }
  
  .lh-big {line-height: 28px !important;}
  
  h3.patch {
    font-size: 26px;
      line-height: 32px;
      font-weight: 600;
      text-align: center;
  }
  
  .link-box3 span {
    opacity: 0;
    vertical-align: sub;
    transition: all .4s linear;
    display: inline;
  }
  .card-content .card .link-box3 img {
    position: absolute;
    left: 0;
    transition: all .3s linear;
  }
  
  
  .card-content .card .link-box3 img {
    position: absolute;
    left: 0;
    transition: all .3s linear;
  }

  .card-content .card:hover .link-box3 img {
    left: Calc(100% + 10px);
  }

  .card-content .card:hover .card-top {
    height: 20px;
    top: -20px;
    opacity: 1;
  }

  .card-content .card:hover .card-title {
    margin-top: 15px;
  }

  .card-content .card:hover .card-text {
    margin-top: -5px;
  }
  
  h2.path {
    font-size: 28px;
    line-height: 34px;
    font-weight: 600;
  }
  
  .cont-wrapper {
    grid-column: 1/span 12;
    margin-bottom: 72px;
  }
  
  .card-content .card-title.patch {
    font-size: 26px;
    font-weight: 500;
  }
  
  /* custom-style-content style per la pagina generica page-dettaglio */
  .custom-style-content .cs-content {
    background: white;
    margin-top: -9%;
    z-index: 100;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
    font-size: 18px;
    line-height: 28px;
  }
  .page-storia-e-missione .img-fluid.w-100 {
    height: 370px;
    object-fit: cover;
        object-position: top;
    }

    .img-fluid-hover:hover {
	 border: solid 3px #B33E00;
    }	


  .custom-style-content .cs-content h4 {
    font-size: 20px;
    line-height: 28px;
  }
  .custom-style-content .cs-content p {
    font-size: 18px;
    line-height: 28px;
  }

    .box-contact-image {
    position: absolute; bottom: 30px; right: 30px;
  }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}

/* organigramma */
.page-id-1906 {
  background-color:#f5f5f5;
}
.page-id-1906 li.h2p {
    background-color: whitesmoke;
    margin: 0 -60px;
    padding: 10px 0 20px;
}
.page-id-1906 .h2p h2 {
    text-align: center;
}
.page-id-1906 .title-t1{
  display: none;
}
.wp-block-post-content {
    margin-top: 10px;
}
.page-id-1906 .gutentor-post-module{
  background-color:white;
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
}
.page-id-1906 .title-t1 + hr{
  display: none;
}
.page-id-1906 .gutentor-post-image-box {
  width: 100% !important;
  max-width: 170px;
}
.page-id-1906 .gutentor-post-content {
    width: auto !important;
}
.page-id-1906 .grid-container {
    padding: 0px;
}
.page-id-1906 .gutentor-post-button {
    background-color: transparent !important;
    color: #333 !important;
    padding-left: 0 !important;
}
.page-id-1906 .gutentor-post-button:hover {
  background-color: transparent !important;
  color: #16355A !important;
}
.page-id-1906 .read strong:before {
  content: '';
  background-image: url('/wp-content/themes/cowtheme/inc/assets/images/plus.svg');
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  background-color: #16355A;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}

.page-id-1906 .read.less strong:before {
  background-image: url('/wp-content/themes/cowtheme/inc/assets/images/less.svg');
}
.wp-block-getwid-section__wrapper {
    padding-top: 0;
}




.page-id-1906 .wp-block-query {
    background-color: white;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.05);
    padding: 0px 50px;
}
.page-id-1906 .wp-block-post-featured-image img {
    width: auto;
}
.page-id-1906 .organigramma {
    display: flex;
    border-bottom: 1px solid #E0E0E0;
    padding: 30px;
}
.page-id-1906 .organigramma:last-child{
  border: none;
}
.page-id-1906 .organigramma.post-1892{
  border: none;
}
.page-id-1906 .organigramma figure {
    width: 150px !important;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* border: 4px solid #0000;
     * background: linear-gradient(red,black) border-box; */
    background: linear-gradient(135.53deg, #15616D 17.28%, #FFB703 51.17%, #E66F00 68.12%);
}
.page-id-1906 .organigramma figure img {
    border-radius: 50%;
    padding: 4px;
    background: white;
    max-width: 150px;
    max-height: 150px;
}


.page-id-1906 .wp-block-query .wp-block-post figure{
  margin-right: 50px;
}





.page-id-1906 .wp-block-getwid-section__inner-content h3{
  font-weight: 600;
  padding-bottom: 30px;
  margin: 0;
  line-height: 1.7;
}
.page-id-1906 h2{
  font-weight: 600;
    font-size: 20px;
        margin-bottom: 10px;
}
.page-id-1906 .gutentor-post-item {
    border-bottom: 1px solid #E0E0E0;
    padding: 30px 0;
}
.page-id-1906 .grid-row article:last-child .gutentor-post-item {
    border-bottom: none !important;
}
.page-id-1906 .attachment-full.size-full.wp-post-image {
    border-radius: 50%;
    padding: 5px;
    background: white;
}
.page-id-1906 .gutentor-image-thumb {
    border: 3px solid #0000;
    border-radius: 50%;
    background: linear-gradient(red,black) border-box;
    width: 140px;
}
  .page-id-1906 .author{
    width: 100%;
  }
.page-id-1906 .wp-block-lazyblock-settore-ateneo p{
    font-size: 18px;
    line-height: 22px;
}


.page-id-1906 .read{
  display: none;
}



/* read more */
  .page-id-1906  .gutentor-post-module .gutentor-post-button {
    display: none;
  }
    
  .home .back-background .img-fluid.wp-post-image{
        max-height: 420px;
    object-fit: cover;
    object-position: top;
  }
    
@media screen and (max-width: 991px) {
  .nav-link {
    padding: 8px 10px !important;
  }
}
    

@media screen and (max-width: 768px) {
  .page-id-1906 .wp-block-post-content p {
      text-overflow: ellipsis;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
  }
  .page-id-1906 .wp-block-post-content p.no-ellipsis {
    text-overflow: clip;
    overflow: inherit;
    display: inherit;
    -webkit-line-clamp: inherit;
    -webkit-box-orient: unset;
  }
  .page-id-1906 .organigramma{
    flex-direction: column;
    align-items: center;
        margin-top: 30px;
            padding: 30px 0;

  }
  .page-id-1906 .wp-block-query {
    padding: 0px 10px;
  }
  .page-id-1906 .read{
    display: flex;
  }
  .page-id-1906 .read strong{
    display: flex;
  }
  .page-id-1906 li.h2p {
    margin: 0 -20px !important;
    padding: 30px !important;
  }
  .page-id-1906 .wp-block-query {
    padding: 0px 20px;
  }
  .page-id-1906 li.h2p h2 {
        padding: 0;
    margin: 0;
  }
  .page-id-1906  .gutentor-post-module .gutentor-post-button {
    display: flex;
  }
  footer ul.submenu-footer {
    margin: 10px 0 0;
    justify-content: flex-start;
  }
  .submenu-footer li:first-child a {
      padding-left: 0px;
  }
  .page-template-page-samira-cardcustom .main-image img,
  .page-template-page-samira-cardcustom-estesa .main-image img {
    height: auto !important;
  }
  div[id*='mostra'] img {
    height: auto !important;
  }
  #breadcrumbs {
    margin: 20px 0px 5px;
  }
  .page-id-1906 .gutentor-post-module.gutentor-blog-list .gutentor-post:not(.gutentor-post-no-thumb) .gutentor-post-item {
    align-items: center;
  }
  .page-id-1906.gutentor-post-module .gutentor-post .gutentor-entry-meta-primary {
    margin-bottom: 15px;
  }
  .page-id-1906 .wp-block-getwid-section__inner-content h3 {
    padding-bottom: 10px !important;
  }
  .page-id-1906 .organigramma figure {
    margin: 0 !important;
  }
  nav.navbar.navbar-expand-md.padding-4 .navbar-brand{
    margin-right: 12px;
  }
  .page-template-page-contatti .custom-style-content .col-12 h3 {
    font-size: 20px;
  }
  .page-template-page-contatti .has-text-align-center {
    text-align: left;
  } 
  .page-template-page-contatti .wpcf7-spinner {
    display: none;
  }
  .page-template-page-contatti .frm-custom .ipt-submit p>input {
    width: 100%;
    margin-top: 10px;
  }
  .page-id-1906 h2 {
    padding-top: 5px;
    line-height: 28px;
    font-size: 18px;
  }
  .page-id-1906 .gutentor-post-desc {
    font-size: 16px;
  }
  .page-template-page-contatti .box-contact> div {
    padding: 20px 10px !important;
  }
  .page-template-page-samira-cardcustom .main-image,
  .page-template-page-samira-cardcustom-estesa .main-image {
    margin: 40px 0 0 !important;
  }
  .eventi-template-default .container-fluid > .row > .position-relative {
    width: auto !important;
    margin-top: inherit !important;
  }
  .eventi-template-default .p-custom {
    width: auto !important;
    margin: 0 !important;
  }
  .eventi-template-default .container .col-8 {
    width: auto !important;
  }
  div[id*='mostra'] .mv-box {
    padding: 20px;
  }
  div[id*='mostra'] .mv-box h2 {
    margin: 0px !important;
    font-size: 20px !important;
  }
  div[id*='mostra'] .mv-box .text-end{
    margin-top: 20px !important;
  }
  .swiper-content {
    margin-top: 50px;
  }
  .navbar-brand {
    width: 6.25rem !important; /* era 100px, ora responsive allo zoom */
  }
  .home .box-bottom-index img {
    width: 110px !important;
  }
  .custom-style-content .cs-content p {
    font-size: 16px;
    line-height: 24px;
  }
  .custom-style-content .cs-content {
    padding: 15px !important;
  }
  .donatori {
      padding: 25px 5px !important;
  }
  .titolo-mostra h2 {
    font-size: 22px;
    line-height: 32px;
    margin-top: 0;
  }
  .titolo-mostra:before {
    display: none !important;
  }
}

.swiper-button-next, .swiper-button-prev {
    color: #333;
}

.single-organigramma #primary {
    margin: 100px auto;
}
.single-organigramma #primary .entry-footer {
    display: none;
}
.single-organigramma #primary #comments {
    display: none;
}

@media screen and (max-width: 1400px) {
    .page-id-1906 .gutentor-post-item {
        flex-direction: column;
        margin: 0 30px !important;
    }
    .page-id-1906 .gutentor-post-content {
        padding-left: 0px !important;
    }
    .single-organigramma #primary {
        margin: 60px 20px;
    }
}

/* Contatti */

.page-template-page-contatti .text-start b {
    padding-top: 30px;
    display: block;
}
.page-template-page-contatti .frm-custom h4{
    font-size: 20px;
    margin: 45px 0 40px;
}
.page-template-page-contatti .frm-custom .wpcf7-form-control-wrap{
    width: 100%;
}
.page-template-page-contatti .frm-custom .wpcf7-textarea {
    width: 100%;
}
.page-template-page-contatti .back-white {
    padding: 0 30px !important;
}
.page-template-page-contatti .custom-style-content .col-12{
    padding-top: 10px !important;
}
.page-template-page-contatti .custom-style-content .col-12 h3{
    margin: 0 !important;
}


/* Notizie */
.card .back-white {
    font-size: 14px;
}



.accordion-button:focus {
    box-shadow: none;
    border-color: inherit;
    border: none;
}
.accordion-button:focus-visible {
    border: 3px solid #6c757d;
}



.page-template-page-samira-cardcustom .swiper-wrapper,
.page-template-page-samira-cardcustom-estesa .swiper-wrapper {
    justify-content: center;
}
.page-template-page-samira-cardcustom .main-image img,
.page-template-page-samira-cardcustom-estesa .main-image img {
    height: 500px;
    object-fit: contain;
    width: 100%;
}
.page-template-page-samira-cardcustom .swiper-slide a,
.page-template-page-samira-cardcustom-estesa .swiper-slide a {
    width: auto;
}
/*
.page-template-page-samira-cardcustom .swiper-wrapper img{
    height: 100px;
}
*/
.page-template-page-samira-cardcustom .main-image,
.page-template-page-samira-cardcustom-estesa .main-image{
    margin: 70px 0 -50px 0;
}

div[id*='mostra'] img {
    height: 370px;
    width: 100%;
    object-fit: cover;
}

.eventi-template-default .container-fluid > .row > .position-relative {
    max-width: 870px;
    margin: 0 auto;
    flex: 0 0 auto;
    width: 60%;
    margin-top: 40px;
}
.eventi-template-default .container-fluid > .row > .position-relative .wp-post-image {
    width: 100%;
}

.eventi-template-default .p-custom{
    max-width: 875px;
    margin: 60px auto  0 auto;
    flex: 0 0 auto;
    width: 60%;
}

.eventi-template-default .p-custom .col-md-12{
    padding: 0;
}

.swiper-slide {
    width: auto;
    margin-right: 15px;
}

.sl-wrapper .sl-close {
    top: 80px;
        color: white;
}
.sl-wrapper .sl-counter {
    top: 70px;
        color: white;
}
.sl-overlay {
    background: #000;
}
.sl-navigation button {
    color: white !important;
}


.page-template-page-samira-cardcustom .swiper-wrapper {
    justify-content: center;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 30px;
}

.modal-content {
    width: auto;
    margin: 0 auto;
}

/* external logo remove */
.navbar-brand.external:after {
    display: none;
}
ul.submenu-footer a:after {
    display: none;
}
.home .box-bottom-index img{
  width: 150px;
  height: auto;
}


.dropdown-menu.show .addtoany_list a.external {
    display: block;
    display: flex;
    align-items: center;
    border-radius: 4px;
    width: 30px;
    height: 30px;
}
.dropdown-menu.show .addtoany_list a.external::after {
    display: none;
}
.dropdown-menu.show .addtoany_list .external::before {
    content: '';
    background-size: cover;
    background-position: center;
    width: 30px;
    height: 30px;
}

a.external::after {
    background-image: none !important;
    content: none !important;
}


.dropdown-menu.show .addtoany_list .a2a_button_facebook {
    background-color: #0866FF;
}
.dropdown-menu.show .addtoany_list .a2a_button_facebook.external::before {
    background-image: url('/wp-content/plugins/add-to-any/icons/facebook.svg');
}
.dropdown-menu.show .addtoany_list .a2a_button_twitter {
    background-color: #1D9BF0;
}
.dropdown-menu.show .addtoany_list .a2a_button_twitter.external::before {
    background-image: url('/wp-content/plugins/add-to-any/icons/twitter.svg');
}
.dropdown-menu.show .addtoany_list .a2a_button_x {
  background-color: #1A1A1A;
}
.dropdown-menu.show .addtoany_list .a2a_button_x.external::before {
    background-image: url('/wp-content/plugins/add-to-any/icons/x.svg');
}
.dropdown-menu.show .addtoany_list .a2a_button_whatsapp {
    background-color: #12AF0A;
}
.dropdown-menu.show .addtoany_list .a2a_button_whatsapp.external::before {
    background-image: url('/wp-content/plugins/add-to-any/icons/whatsapp.svg');
}

/* Donatori */
.donatori{
  background-color: white;
  padding: 45px;
  margin-top: 40px;
}
.donatori .inner {
  font-weight: 500;
  overflow: hidden;
  display: none;
}
.donatori strong {
  font-size: 18px;
}

.donatori .toggle {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.donatori .toggle:before {
    content: '';
    background-image: url('/wp-content/themes/cowtheme/inc/assets/images/plus.svg');
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    background-color: #16355A;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}
.donatori .toggle.less:before {
  background-image: url('/wp-content/themes/cowtheme/inc/assets/images/less.svg');
}

.titolo-mostra {
    margin-bottom: 40px;
}
.titolo-mostra:before {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #B33E00 0%, #17345A 100%);
}
.titolo-mostra h2{
    text-align: center;
}
    
.header-narrazioni {
    max-width: 847px;
    margin: 0 auto;
    padding-top: 4px;
}

.border-about {
     box-shadow: 10px 10px var(--col-border-img) !important;
     border-radius: 10px;
}

.row-catalogo {
   color: var(--col-white);	
   background-color: var(--col-primary);
}

.border-catalogo {
  border-top: 12rem solid  var(--col-primary);
}

.container-up {
  margin-top: -140px;
}

.container-up-bib {
  margin-top: -50px;
}

.container-up-cata {
  margin-top: -150px;
}



.border-about-img {
  box-shadow: -15px -15px var(--col-border-img);
  /* box-shadow: -5px -5px var(--col-white); */  
  /* outline: 2px solid darkblue; */
  /* border-width: 5px;
  border-radius: 4px; */
}

.background-fascia  {
  border-top: 110px  solid var(--col-primary);
}


@media (min-width: 768px) {
  .img-bib {
     display: flex;
     align-items: flex-start; /* Allinea gli elementi in alto */
     z-index: 10; /* Valore più alto per essere sopra */
   }

.img-about {
  width: 35%; margin-top: -10px;
  z-index: 10; /* Valore più alto per essere sopra */
}

.image-container::before,
.image-container::after {
  content: '';
  position: absolute;
  top: -20px; /* Regola secondo necessità */
  left: -10px; /* Regola secondo necessità */
  right: +67%; /* Regola secondo necessità */
  bottom: +10px; /* Regola secondo necessità */
  border: 5px solid var(--col-border-img); /* Bordo marrone */
  z-index: 0; /* Assicurati che il bordo sia sotto l'immagine */
}

/* box-bottom-index-bib */ 



}

@media (max-width: 767px) {
  .img-bib {
      align-items: flex-start; /* Allinea gli elementi in alto */
      z-index: 10; /* Valore più alto per essere sopra */
   }

.img-about {
  width: 80%; margin-top: -10px;
  z-index: 10; /* Valore più alto per essere sopra */
}

.image-container::before,
.image-container::after {
  content: '';
  position: absolute;
  top: -20px; /* Regola secondo necessità */
  left: -10px; /* Regola secondo necessità */
  right: +22%; /* Regola secondo necessità */
  bottom: +10px; /* Regola secondo necessità */
  border: 5px solid var(--col-border-img); /* Bordo marrone */
  z-index: 0; /* Assicurati che il bordo sia sotto l'immagine */
}

 }

.image-container-bib {
  margin-right: 0px; /* Spazio tra l'immagine e il testo */
  width: 60%;
}

.image-bib {
  width: 100%; /* Puoi regolare la dimensione dell'immagine */
  /* max-width:600px; */ 
  height: auto;
}

 .icon-search {
 position: absolute; 
  top: 50%;
  margin-left: -30px;
  margin-top: 17px;
  z-index: 1;
  color: #ffffff;
}


.image-container {
  position: relative;
  display: inline-block;
 
}

.image-container img {
  display: block;
   position: relative;
   z-index: 1; /* Assicurati che l'immagine sia sopra il bordo */
}


.image-container::after {
  border: 5px solid var(--col-border-img); /* Bordo marrone */
}

.seguici {
    font-weight: bold;
    text-transform: uppercase; 
}

.seguici-imgs {
    width: 100px; 
	padding-top: 20px;
}

.seguici-logo {
    width: 40px;
	float: left; 
}

.seguici a {
    font-weight: bold;
    text-transform: uppercase;
    color: var(--col-white);
    font-size: 14px;
    letter-spacing: 0;
    /* line-height: 26px; */
    opacity: .85;
}



  .box-bottom-index-bib { 
         bottom: 0px; 
         right: 0;
         background: white; 
         width:100%; 
        /*  max-width: 450px;  */ 
        padding: 2rem;
  }

  .box-welcome {
      margin-top: 80px; 
      z-index: 100; 
      position: relative;
  }


.box-bottom-index { bottom: 0px;
                    right: 0;
          	    background: white; 
                    padding: 2rem;
		    height: 220px;
	    }



.margin-txt-bib {
         margin-top: 5px;
         margin-bottom: 5px;
}


#button-addon3 {
   margin-left: 6px !important;

}	

/* sopra i 992 px */
@media screen and (min-width: 992px) {
 #button-addon3 {
   margin-top:  6px;
}

}

@media only screen and (max-width: 991px) {
   #button-addon3 {
     margin-top: 8px;
  }	
}

/* schermo piccolo */ 
@media screen and (max-width: 481px) {
#button-addon3 {
	margin-left: 10px !important;
        margin-top: 6px;
}

}


.container-up {
   position: relative;
   top: -100px;
}	


/*
.sw-main {
  padding-top: 30px;	
  width: 100%;
  height: 100%;
  background-color: var(--col-primary);
}
*/

.sw-main {
  padding-top: 1.875rem; /* era 30px, ora responsive allo zoom */
  width: 100%;
  max-width: 100rem; /* Larghezza massima responsive allo zoom (~1600px a zoom 100%) */
  margin: 0 auto; /* Centra lo slider */
  padding-left: 0;
  padding-right: 0;
  height: 100%;
  background-color: var(--col-primary);
  overflow: hidden;
}






.sw-slide-main {
  display: flex;
  justify-content: center;
 /*  align-items: center; */
}
.sw-slide-main img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
}

.swiper-pagination-bullet {
    opacity: 0.5 !important;
}

.swiper-pagination-bullet.active {
    opacity: 1 !important;
}

.swiper-slide-prev,
.swiper-slide-next {
  display: none !important;
}

.sw-slide-main {
  margin-right: 0px !important;
}

 .swiper-pagination {
   padding: 5px; margin: 5px;
   transform: translate(0px, -25px);
 }

.swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Limita larghezza container slider home page */
.page-template-page-hp .container-fluid > .row {
  max-width: 100rem; /* Larghezza massima responsive allo zoom (~1600px a zoom 100%) */
  margin: 0 auto; /* Centra il contenuto */
}

.swiper-slide {
  width: 100%;
  height: auto;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}






@media screen and (min-width: 769px) {
   .swiper-pagination {
   padding: 0.3125rem; /* era 5px, ora responsive allo zoom */
   margin: 0.3125rem;
   transform: translate(0px, -1.5625rem); /* era -25px, ora responsive allo zoom */
 }

 .sw-main {
  padding-top: 2.8125rem; /* era 45px, ora responsive allo zoom */
  width: 100%;
  height: 100%;
  background-color: var(--col-primary);
}

}

@media screen and (max-width: 991px) {
  .swiper-pagination {
   padding: 0.3125rem; /* era 5px, ora responsive allo zoom */
   margin: 0.3125rem;
   transform: translate(0px, -1.5625rem); /* era -25px, ora responsive allo zoom */
 }

}


.semi-b {
  font-weight: 600;
}


/* Dettaglio catalogo */
.fascia {
  height: 40px;
  background-color: var(--col-primary);
}

.fascia-blue {
  position: relative;
  top: -100px;
  height: 190px;
  width: 100%;
  background-color: var(--col-primary);
  z-index: 1;
}

.fascia-immagine {
    position: relative;
    z-index: 10;
}


.pad5 {
  padding: 5px;


a[href^="mailto:"]::after 
{ 
  background-image: none !important;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 24px;
  letter-spacing: 0px;
  color: var(--col-secondary);
}


.wp-block-lazyblock-settore-ateneo p {
   color: #15616D;
   font-weight: 400;
   font-size: 20px;
} 


.card:hover { 
    text-decoration: underline; !important; 
    border-bottom: 2px solid red !important; 
}

/*
.card-wrapper:hover {
    text-decoration: underline; !important;
    border-bottom: 2px solid red!important;
}
*/
.cardhovered {
    /*  text-decoration: underline; !important; */
    border-bottom: 2px solid red !important;
}


#order-by {
   margin-top: 15px;
}






