/*
Theme Name: BSD
Theme URI: https://wpbanzai.com
Author: Luca Marra
Author URI: https://wpbanzai.com
Description:  theme on Bootstrap 
Version: 1.0
License: Copyright - project can not be copied and/or distributed without the express permission 
License URI: LICENSE
Text Domain: wp-bootstrap-starter
Tags: custom use only
*/
/*--------------------------------------------------------------
>>> 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
--------------------------------------------------------------*/

body {
  margin: 0;
  -webkit-font-smoothing: auto;
  color: #555;
  min-height: 100vh !important;
  /*    background: rgba(215,61,94,1);
    background: -moz-linear-gradient(top, rgba(215,61,94,1) 0%, rgba(230,86,98,1) 51%, rgba(242,110,101,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(215,61,94,1)), color-stop(51%, rgba(230,86,98,1)), color-stop(100%, rgba(242,110,101,1)));
    background: -webkit-linear-gradient(top, rgba(215,61,94,1) 0%, rgba(230,86,98,1) 51%, rgba(242,110,101,1) 100%);
    background: -o-linear-gradient(top, rgba(215,61,94,1) 0%, rgba(230,86,98,1) 51%, rgba(242,110,101,1) 100%);
    background: -ms-linear-gradient(top, rgba(215,61,94,1) 0%, rgba(230,86,98,1) 51%, rgba(242,110,101,1) 100%);
    background: linear-gradient(to bottom, rgba(215,61,94,1) 0%, rgba(230,86,98,1) 51%, rgba(242,110,101,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d73d5e', endColorstr='#f26e65', GradientType=0 );  */
  background: url("images/bg2.jpg") repeat center center #f7f5f6;
  background-size: cover;
  @import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');
}

body label {
  color: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
  @import url('https://fonts.googleapis.com/css2?family=Rethink+Sans:ital,wght@0,400..800;1,400..800&display=swap');
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  color: #41BEB1;
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
  color: #dd5151;
}

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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  color: #41BEB1;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}

p.contatti {
  color: var(--white);
  /* Imposta il colore del testo in rosso */
}

h2.contatti {
  color: var(--white);
  /* Imposta il colore del testo in rosso */
}

h1 {
  font-size: 32px;
  padding-bottom: 10px;
}

h2 {
  font-size: 24px;
  padding-bottom: 0.3em;
  line-height: 1.25;
}

h3 {
  font-size: 18px;
  line-height: 25px;
}

h4 {
  font-size: 16px;
  line-height: 20px;
}

h5 {
  font-size: 14px;
  line-height: 17.5px;
}

p {
  margin-bottom: 1.5em;
	color:var(--white);
}

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;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  /*   background: rgba(215,61,94,1); */
  /* 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: #FFF;
  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: #555;
  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;
  }

  #menu-main .logout {
    box-shadow: 0 0 0px 1px #fda663;
    border-radius: 5px;
    margin-left: 85px !important;

  }

  #menu-main .logout a.nav-link {
    color: #555;
    font-weight: bold;
    margin-left: 0 !important;
    box-shadow: none !important;
  }

  #menu-main .logout:hover {
    background: #fda663;
  }
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#masthead nav {
  padding-left: 0;
  padding-right: 0;
}

body:not(.theme-preset-active) #masthead .navbar-nav>li>a {
  color: #DDDDDD;
  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: #222;
  /* font-weight: 600;*
  /*background: #f9f9f9;*/
}

.navbar-brand {
  color: #555 !important;
  height: auto;
  position: relative;
}

.navbar-title {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  line-height: 29px;
  margin-left: 75px;
}

#menu-main .nav-link {
  font-size: 15px;
  margin-left: 20px;
  text-transform: uppercase;
  color: #17222D;
}

#menu-main li.active .nav-link,
#menu-main li:hover .nav-link {
  color: #555;
  box-shadow: 0 8px 0px 0px #fda663;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.navbar-toggle .icon-bar {
  background: #000 none repeat scroll 0 0;
}

.bg_red {
  background-color: #fff !important;
}

/*hamb replacement*/

.icon-bar {
  width: 26px;
  height: 3px;
  background-color: #555;
  display: block;
  transition: all 0.2s;
  margin-top: 4px;
}

.navbar-toggler {
  border: none;
  background: transparent !important;
  margin-left: auto;
  outline: none !important;
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

/* end hamb replacement*/
.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;
}

/* 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;
  }
}

@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: 0;
  padding-top: 8em;

}

.sticky .entry-title::before {
  content: '\f08d';
  font-family: 'Rethink Sans', "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#colophon {
  font-size: 85%;
}

body:not(.theme-preset-active) footer#colophon {
  color: #99979c;
  background-color: #f7f7f7;
}

.navbar-dark .site-info {
  color: #fff;
}

.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) {
  html {
    font-size: 95%;
  }
}

@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) {
  html {
    font-size: 90%;
  }
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 960px) {
  html {
    font-size: 85%;
  }
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 768px) {
  html {
    font-size: 80%;
  }
}

/*--------------------------------------------------------------
## iPad
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  html {
    font-size: 75%;
  }

  .archive-description {
    padding: 20px !important;
  }
}



/* CUSTOM */
/*--------------------------------------------------------------
## CUSTOM
--------------------------------------------------------------*/
/* bootstrap */
#err_message {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2000;
  max-width: 334px;
}

#inner-message {}

.bnz_center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#navbar-avatar {
  background-image: url("images/elio_w.png");
  content: "";
  object-position: 0 0;
  POSITION: ABSOLUTE;
  top: -9px;
  left: -62px;
  width: 52px;
  height: 52px;
  /*  background-size: 340px;*/
  background-size: cover;

}

/* modal */
.close {
  color: #FFF;
}

.modal-backdrop.show {
  opacity: .8;
}

.modal-title {
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  margin: 0;
  color: #272727;
  font-size: 24px;
  padding-bottom:2rem;
}

.modal-header {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.10) 0, rgba(0, 0, 0, 0.10) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.21);
}

.modal-footer {
  /*   background-image: linear-gradient(to right, rgba(0, 0, 0, 0.10) 0, rgba(0, 0, 0, 0.10) 100%);*/
  background: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.21);
}

/*.modal-title:before  {
    content: "";
    object-position: 0 0;
    width: 48px;
    height: 48px;
    background-size: 255px 170px;
    POSITION: ABSOLUTE;
    top: 12px;
    margin-left: -67px;
    border-radius: 50px;
    border: 2px solid #ccc;
}
*/
#modal-avatar {
  display: none;
  content: "";
  object-position: 0 0;
  width: 55px;
  height: 55px;
  background-size: 331px;
  POSITION: ABSOLUTE;
  top: 12px;
  left: 14px;
  /* border-radius: 50px; */
  /* border: 2px solid #ccc; */
}

.modal-body {
  background-size: cover;
  color: #272727;
  padding: 60px;
  font-size: 19px;
  background: #fff;
}

/* page badge*/
.usr_badge {
  max-width: 300px;
}

/* END modal */
/* COMMON */
.img_badge {
  background: #fff;
  padding: 4px;
  /* box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.51); */
  border-radius: 5px;
}

.btn-bsd {
  color: #555;
  background: #fff;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0px 0 2px 0 rgba(70, 70, 70, 0.25);
  width: auto;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  cursor: pointer;
}

.btn-bsd:hover {
  box-shadow: 0px 0 10px 0 rgba(70, 70, 70, 0.65);
  background: #555;
  color: #fff;

}

/* CHAT */

body.storia-template-default .entry-header {
  position: relative;
  background: #fff;
  padding: 1px 10px;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #e4e2e3;
}

.entry-header {
  position: relative;
}

.storia_back {
  position: absolute;
  color: #fff;
  top: 10px;
}

.chat-title {
  color: var(--white);
  padding: 0;
  margin: 0;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  font-size: 20px;
}


.chat-title i {
  border-radius: 100%;
  WIDTH: 40PX;
  HEIGHT: 40PX;
  TEXT-ALIGN: CENTER;
  LINE-HEIGHT: 40PX;
  margin-right: 10px;
  color: #fff;
}

.ninja_post_temp,
.ninja_post {
  display: none;
  color: #14010C;
  /* border-radius: 0 28px 28px; */
  /* padding: 15px 30px; */
  /* margin-bottom: 15px; */
  margin-left: 55px;
  POSITION: RELATIVE;
  /* font-size: 19px; */
  /* background: #ffdbcb; */
  WIDTH: 75%;
  background-color: #D7DAE5;
  /* color: var(--blue2); */
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 0 15px 15px 15px;
}

.ninja_post_img {
  padding: 0;
  background: transparent;
}

.ninja_post_img img {
  border-radius: 20px;
}

.compilata .ninja_post {
  display: block;
}

.ninja_post_temp {
  display: block;
  height: 86px;
  /*   animation-duration: 2s; */
  animation-delay: 1s;
}


.ninja_post_temp:before,
.ninja_post:before {
  /*   background: url(ninja/avatar.png) no-repeat center center; */
  content: "";
  object-position: 0 0;
  /*  width: 48px; */
  /* height: 48px; */
  /* background-size: 255px 170px; */
  POSITION: ABSOLUTE;
  LEFT: -62PX;
  top: 0;
  /*   border-radius: 50px;  */
  /*   border: 2px solid #ccc;   */
  width: 52px;
  height: 52px;
  background-size: 340px;
}

.ninja_post a,
.ninja_post_temp a {
  display: flex;
  padding: 4px 8px;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: var(--neutral-50, #FEFCFC);
  color: var(--secondary-800, #511522);
  width: fit-content;
}

.risposte {
  display: none;
  padding: 20px;
  background: #FFFFFF;
  /* box-shadow: 4px 0 17px 0 rgba(70, 70, 70, 0.38); */
  margin-bottom: 10px;
  /* outline: 1px solid #66676D; */
  border-radius: 10px;
  margin-top: 25px;
}

.usr_post {
  font-size: 19px;
  color: #fff;
  background: #b50b2a;
  border-radius: 40px 0 40px 40px;
  padding: 15px 30px;
  margin-bottom: 10px;
  margin-left: 30px;
  position: relative;
  text-align: right;
  /* box-shadow: 0 1px 3px 0 #737070;*/
}

/*
.ninja_post:after {
    width: 0;
    height: 0;
    content: "";
    top: 0px;
    left: -13px;
    position: absolute;
    border-style: solid;
    border-width: 0 13px 13px 0;
    border-color: transparent #ddd transparent transparent;
}
*/
/*LOADING*/
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #444;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(19px, 0);
  }
}


/******** domande ****************/
.btn-circle:hover {
  color: #fff;
  background-color: #FF5100;
  border-color: #FF5100;
}

.btn-circle {
  color: #fff;
  background-color: #CA1D46;
  border-color: #D40939;
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 15px;
}

.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 25px;
}

.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  font-size: 24px;
  line-height: 1.33;
  border-radius: 35px;
}

/*  tipo_bottone*/
.btn-tipo_bottone {
  color: #555;
  background: #fff;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0px 0 2px 0 rgba(70, 70, 70, 0.25);
  width: auto;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  cursor: pointer;
}

.btn-tipo_bottone:hover {
  box-shadow: 0px 0 4px 0 rgba(70, 70, 70, 0.65);
  background: #555;
  color: #fff;

}

/*  INIZIO - tipo_bottone_immagine */
div.btn-tipo_immagine {
  background-color: red !important;
  box-shadow: 0 1px 10px 0 rgba(196, 196, 196, 0.4) !important;
  padding: 0;
}

.card .btn-tipo_immagine img {
  object-fit: cover;
  width: 100%;
  margin: 0;
}

.card-block p.card-text {
  color: #0a0a0a !important;
}

div.btn-tipo_immagine:hover {
  box-shadow: 0 1px 10px 0 rgba(196, 196, 196, 0.4) !important;
  cursor: pointer !important;

}

/*  FINE - tipo_bottone_immagine */

/** tipo-radio **/
img.tipo-radio {
  object-fit: none;
  object-position: 0 0;
  width: 85px;
  height: 85px;
  transition: all .1s;
  -webkit-filter: grayscale(100%);
  /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
}

img.tipo-radio:hover {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
  transform: scale(1.1);
  transition: 0.1s;
}

.image-radio-checked img.tipo-radio {
  border-color: #ddd;
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.image-radio input[type="radio"] {
  display: none;
}

.image-radio {
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  /* border: 2px solid transparent;*/
  margin-bottom: 0;
  outline: 0;

}

@media screen and (max-width: 800px) {
  .image-radio_wrap label {
    zoom: 0.82;
  }
}

@media screen and (max-width: 530px) {
  .image-radio_wrap label {
    zoom: 0.6;
  }
}

@media screen and (max-width: 400px) {
  .image-radio_wrap label {
    zoom: 0.5;
  }
}

.image-radio .fa {
  position: absolute;
  color: #4A79A3;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  top: 0;
  right: 0;
}

.image-radio-checked .fa {
  display: block !important;
}

#testo_risposta {
  color: #000;
  min-height: 54px;
  font-size: 23px;
  padding: 10px 0;
}

/*******star rating tipo-radioimg********/
.rating-system {
  width: 425px;
  margin: 0 auto;
  -moz-transform: scale(0.8, 0.8);
  -moz-transform-origin: left center;
}

@-moz-document url-prefix() {
  .rating-system {
    width: auto;
  }

  @media screen and (max-width: 777px) {
    .rating-system {
      width: 560px;
      -moz-transform: scale(0.7, 0.7);
      -moz-transform-origin: left center;
    }
  }

  @media screen and (max-width: 530px) {
    .rating-system {
      width: 560px;
      -moz-transform: scale(0.5, 0.5);
      -moz-transform-origin: left center;
    }
  }
}

.rating-system label {
  cursor: pointer;
  float: right;
  display: inline-block;
  width: 85px;
  height: 85px;
  background: #fff;
  margin: 0;
  position: relative;
  transition: all .3s;
}

.rating-system input {
  display: none;
}

.rating-system label {
  background-position: 0 -85px;
  -webkit-filter: brightness(0.4);
  filter: brightness(0.4);
}

.rating-system label:hover,
.rating-system label:hover~label {
  -webkit-filter: brightness(1) !important;
  filter: brightness(1) !important;
  /* transform: rotate(5deg); */
  transition: 0.1s;
}

.rating-system input:checked~label {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

/* tipo sort*/
.bg_sort {
  background-color: #CA1D46;
  color: #fff;
}

ul#sort-items {
  list-style: none;
  counter-reset: my-awesome-counter;
}

ul#sort-items li {
  counter-increment: my-awesome-counter;
  cursor: all-scroll;
  color: #000;
  font-size: 16px;
}

ul#sort-items li:hover {
  background-color: #ddd;
}

ul#sort-items li::before {
  content: counter(my-awesome-counter) ". ";
  color: red;
  font-weight: bold;
}

/*openradio*/
.inputGroup {
  background-color: #fff;
  display: block;
  margin: 10px 0;
  position: relative;
}

.inputGroup label {
  padding: 12px 30px;
  width: 100%;
  display: block;
  text-align: left;
  color: #3c454c;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 200ms ease-in;
  overflow: hidden;
  font-size: 17px;
  /* line-height: 20px; */
}

.inputGroup label:before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: '';
  background-color: #CA1D46;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale3d(1, 1, 1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  z-index: -1;

}

.inputGroup label:after {
  width: 32px;
  height: 32px;
  content: '';
  border: 2px solid #d1d7dc;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
  background-repeat: no-repeat;
  background-position: 2px 3px;
  border-radius: 50%;
  z-index: 2;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 200ms ease-in;
}

.inputGroup input:checked~label {
  color: #fff;
}

.inputGroup input:checked~label:before {
  transform: translate(-50%, -50%) scale3d(68, 68, 1);
  opacity: 1;
}

.inputGroup input:checked~label:after {
  background-color: #54e0c7;
  border-color: #54e0c7;
}

.inputGroup input {
  width: 32px;
  height: 32px;
  order: 1;
  z-index: 2;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  visibility: hidden;
}

/*******************************************/

/*************BTN-PROGETTO******************************/

.btn-progetto {
  text-align: left;
  position: relative;
  /* background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 70%, rgba(0, 0, 0, 0.24) 100%); */
  font-size: 28px;
  line-height: 30px;
  background-color: #FFFFFF;
  color: #555;
  border-radius: 10px;
  padding: 15px 60px 15px 105px;
  margin-top: 30px;
  box-shadow: 0px 0 5px 0 rgba(70, 70, 70, 0.45);
}

.btn-progetto:hover {
  color: #000000;
  box-shadow: 0px 0 15px 0 rgba(70, 70, 70, 0.45);
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.centered-vetical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.btn-progetto .avatar {
  overflow: hidden;
  left: 10px;
}

.btn-progetto .avatar div {
  height: 85px;
  width: 85px;
  border-radius: 100%;
}

.btn-progetto i {
  right: 20px;
}

.progress-white {
  height: 8px;
  border-radius: 10px;
  background-color: rgba(199, 198, 198, 0.58);
}

.progress-white .progress-bar {
  background: #fff;
}

.progress-info {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.btn-invia {
  padding: 6px 20px;
  color: #fff;
  background-color: #CA1D45;
  border: none;
}

.btn-invia:hover {
  color: #fff;
  background-color: #FF5722;
}

.btn[disabled] {
  cursor: no-drop;
  background-image: none;
  opacity: 0.85;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color: #333;
  background-color: #E6E6E6 !important;
}

.archive-description {
  font-size: 115%;
  /* text-align: justify; */
  /* background: rgba(255, 255, 255, 0.1); */
  /* padding: 40px; */
  /* box-shadow: 0 0 3px 0 #E65B53 inset;*/
  /*  border-radius: 6px; */
}

.archive-description a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

/*
.archive-description {
color: #FFFEFE;
    background: rgba(255, 255, 255, 0.12);
    padding: 30px;
    box-shadow: 0 0 3px 0 #E65B53 inset;
    border-radius: 6px;
}
*/
.archive-description p {
  margin: 0;
}

/*
.page-title {
color: #FFFEFE;
text-shadow: 1px 1px 2px #DC1A0E;
}
*/
/******header********/
a.nav-notifiche {
  position: relative;
  background: #DD3333;
  border-radius: 100%;
  width: 31px;
  height: 30px;
  margin-right: 20px;
  padding-top: 5px !important;
}

a.nav-notifiche i.fa {
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 16px;
}

a.nav-notifiche:hover i.fa {
  color: #FFEB3B;
}

span.notification-badge {
  position: absolute;
  top: -4px;
  right: -11px;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  text-align: center;
  padding-top: 4px;
  background-color: #F14F5E;
  border: 1px solid #fff;
}

@media only screen and (max-width: 435px) {
  .rating-system {
    zoom: 0.7;
  }
}

@media only screen and (max-width: 435px) {
  .btn-progetto {
    padding: 15px 40px 15px 75px;
    margin-top: 15px;
    font-size: 21px;
    line-height: 26px;
  }

  .btn-progetto .avatar div {
    zoom: 0.7;
  }

  .rating-system {
    zoom: 0.6;
  }
}

/* -- test custom UI */
.shadow-xs {
  box-shadow: 0 !important;
}

body {
  /*
    background: linear-gradient(135deg, rgba(255,255,255,1) 24%, #fa8175 24%, #fd605d 100%);
    background-image: linear-gradient(to top, #fa8175 30%, #fd605d 100%);
    
    
background: url(images/bg.jpg) #F7F5F6  !important;
 background-size: cover;*/
}

/*
#page:after {
    content: "";
    background: url(images/shape1.png) transparent !important;
    position: fixed;
    bottom: 0;
    width: 320px;
    height: 437px;
    z-index:-1;
}
*/
/* bg utile per variazioni */
/*
#bg1 {
width: 100%; height: 100%; top: 0; left: 0;
    background: url(images/bg_abs.png) no-repeat center 200px;
    position: fixed;
    z-index: -1;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
*/
/*
body.storia-template-default #bg1 {
background: url(images/bg_quiz.jpg) no-repeat center top;
}
 
.bg_rombo {
background: url(images/bg_storie.svg) no-repeat center top;
background-size: contain;
min-height: 66vh;
}
.bg_rombo2 {
background: url(images/bg_badge.svg) no-repeat center top;
background-size: contain;
min-height: 66vh;
} 
*/
body.single-storia #primary {
  background: #ffffff;
  border-radius: 15px;
}

body.single-storia .entry-content {
  padding: 10px 20px;
  margin-bottom: 40px;

  /*  overflow-y: scroll;*/
  /*  height: calc(100vh - 300px); */
}

@media screen and (max-width: 991px) {
  #bg1 {}

  #menu-main {
    margin: 15px 20px 0px 20px;
  }

  #menu-main .nav-link {
    padding-right: 0;
    text-align: center;
    padding-left: 0;
    /* border-top: 2px solid #FFFEFE; */
    color: #17222D !important;
    margin-left: 0;
    background: #F9F8F8;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: 300;
    box-shadow: none !important;
  }

  #menu-main li.active .nav-link,
  #menu-main li:hover .nav-link {
    color: #CA1C45;
    box-shadow: none;
  }

  #menu-main li:last-child {}
}

/* captchac contact */
img.wpcf7-captchac {
  width: auto;
  display: inline;
}

.BNZ_captcha {
  display: inline;
  width: 132px;
  margin-bottom: 20px;
}

/**/
#tbl_contatti {
  background: transparent;
}

#tbl_contatti label {
  display: block;
  line-height: 30px;
}

#tbl_contatti .btn {
  color: var(--black) !important;
  background-color: #73b0ee63 ;
  border-color: transparent;
  width: 100%;
  align-self: stretch;
}

#tbl_contatti .form-control {
  border: 1px solid #F7F5F6;
	border-radius:1rem;
}

#tbl_contatti .wpcf7-list-item {
  display: block;
}

#tbl_contatti td {
  width: 50%;
}

.footer-bottom {
  display: none;
  background: rgb(240, 106, 101);
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  vertical-align: bottom;
}

body.single-storia .footer-bottom {
  display: none;

}

.footer_skilla {
  font-size: 23px;
  font-weight: 600;
}

/*
body::after {
    content: "skilla";
    position: fixed;
    bottom: 0;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
}
*/
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
span.wpcf7-not-valid-tip {
  border: none;
  color: #FDF5BD;
  background: rgba(199, 22, 56, 0.48);
  text-align: center;
  border-radius: 0 0 10px 10px;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
  border-radius: 10px;
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #398f14;
  background: #398F14;
}

/*--------------------------------------------------------------
## fix xs
--------------------------------------------------------------*/
@media only screen and (max-width: 480px) {
  #testo_risposta {
    font-size: 18px;
    padding: 13px 0;
  }

  .slider-tick {
    width: 12px !important;
    height: 12px !important;
    TOP: 4PX;
  }

  body.single-storia .container {
    padding: 0;
  }

  .usr_post {
    font-size: 17px;
  }

  .ninja_post_temp,
  .ninja_post {
    font-size: 17px;
    margin-left: 40px;
    WIDTH: 85%;
    padding: 15px 15px;
  }

  .ninja_post_temp:before,
  .ninja_post:before {
    left: -45px;
    width: 32px;
    height: 32px;
    background-size: 209px;
  }

  .btn-tipo_bottone {
    font-size: 16px;
  }
}