/*
Theme Name: WP Bootstrap Starter
Theme URI: https://afterimagedesigns.com/wp-bootstrap-starter/
Author: Afterimage Designs
Author URI: https://afterimagedesigns.com/
Description:  The best WordPress starter theme based on the most powerful frameworks in the world: "_s" (by Automattic, the main people behind WordPress development), Twitter Bootstrap (the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web) and Font Awesome (or Fontawesome, a full suite of 675+ pictographic icons for easy scalable vector graphics on websites). This theme, like WordPress, is licensed under the GPL. You can use this theme as base for your next WordPress theme project and you are allowed to remove the link at the footer or do whatever you want. Your feedback on how we can continuously improve this WordPress Starter Theme Bootstrap will be highly appreciated. Page templates includes Right-sidebar (default page template), Left-Sidebar, Full-Width, Blank with container, Blank without container Page. Other features - Currently using Bootstrap v4.0.0 , Widgetized footer area, WooCommerce ready, Compatible with Contact Form 7, Compatible with Visual Composer, Compatible with Elementor Page Builder. This theme will be an active project which we will update from time to time. Check this page regularly for the updates.
Version: 5.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-bootstrap-starter
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
# Custom
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
body {
  margin: 0;
  -webkit-font-smoothing: auto;
}

/*--P.C. 07 04 2022 */

.entry-content {
    background-color: #ffffff;
    }

/*--P.C. 25 Maggio 2020--  article, */
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}
/*--P.C. 25 Maggio 2020 */
article {
  display: block;
  padding-right: 25px; 
  padding-left: 25px; 
 }


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


/* Polylang Flags Inline */

#masthead .lang-item {
  list-style-type: none;
/*  padding: 22px 6px 0 0; */
/*--P.C. 25 Maggio 2020--  article, */
  padding: 25px 17px 0 0;	
/*--P.C. 25 Maggio 2021--  article, --*/
/*--  padding: 6px 17px 0 0; --*/}
li.lang-item {
    display: table-cell;

}
#masthead .lang-item li {
    display: inline;
}

.logotop {
    float: left;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  clear: both;
  color: #24292e;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 15px;
}
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;
}
h1.entry-title {
  font-size: 1.31rem;
  border-bottom: 1px solid #eaecef;
/*-- P.C. come Salvo ---*/
  text-align: center;
  font-family: 'Open Sans', open-sans !important;
  color: #002A48;
}
h2.entry-title {
  border-bottom: 1px solid #eaecef;
}
h3.widget-title {
  font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
body {
  background: #dadada; 
  background-color: #fffff; 
  /* 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%;
}

/*-- P.C. 25 Maggio 2020 --*/
.side-left {
    width: 210px; float: left; padding-right: 20px; margin-left: -40px; margin-top: 25px; 
}

/*---ORIGINAL
.side-left {
    width: 210px; float: left; padding-right: 20px;
}
---*/



/* P.C. 25 May 2020*/
.side-center {
/*--   width: 1160px; float: none; padding-left: 200px;  padding-right: 300px; --*/
/*--    width: 660px; float: none; margin-left: 200px;  margin-right: 300px; --*/
    width: 660px; float: none; margin-left: 23%;  margin-right: 30%;
}

.sp-nome-sezione {
    text-align: right;
    margin-left: 0;
    padding: 16px 0;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    color: #002d4b;
    background-color: #ffffff !important;
}

/*-- P.C. Aggiunto come Salvo  --*/
.sp-nome-sezione-internal {
    text-align: right;
    margin-right: 33px;
    float: right;
    padding: 16px 0;
    padding-top: 0;
    font-size: 30px;
    font-weight: normal;
    font-family: 'Oswald', sans-serif;
    color: #002d4b;
    background-color: #ffffff !important;
}

.sezione {
    margin-left: 0;
    padding: 16px 0;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    color: #007bb3 !important;
    background-color: #ffffff !important;
}



/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
#masthead {
  background-color: #dadada !important; 
}

#masthead .container {
  background-color: #ffffff;
}

.container {
  background-color: #ffffff;
}

/*-- P.C. Aggiunti da Salvo --*/
.home #masthead .container{
  background-color: #ffffff;
}



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

.navbar-light .navbar-nav .active > .nav-link {
	/* --- color: #4196b4; */
	color: #3DBEFF !important;
}
/*----
.navbar a:hover {
  color: #3DBEFF !important;
}
----*/
#page-sub-header {
  position: relative;
/*  padding-top: 1px;*/
  padding-bottom: 0;
  text-align: center;
  font-size: 1.25rem;
/*  background-size: cover !important;*/
}
#page-sub-header .container {
/*-- P.C. Modificato da Salvo --*/
/*--     color: #fff;         --*/
    background-color: #ffffff !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;
}

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

.col-md-5  { 
/*Fix margin header */
/*PC 14 05 2020 */
  padding-left: 0px !important;
}
.col-md-4  {
/*Fix margin header */
/*PC 14 05 2020 */
  padding-right: 0px !important;
}


.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:hover > .dropdown-menu {
    display: block;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
}
.dropdown > .dropdown-toggle:active {
    pointer-events: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

.dropdown-item {
  line-height: 1.2;
  padding-bottom: 0.313rem;
  padding-top: 0.313rem;
  text-transform: none;
  text-align: left;
}

.dropdown-menu {
  min-width: 12.500rem;
}

.dropdown .open .dropdown-menu {
  display: block;
  left: 12.250em;
  top: 0;
}

.dropdown-menu .dropdown-item {
  white-space: nowrap;
/*--- P.C. 21 06 2020 ---*/
 background-color: #ffffff;
/*  background: transparent;*/
  line-height: 1.6;
  font-size: 90%;
  color: #16181b;
}
.dropdown-menu .dropdown-item:hover {
/*--  background: #4196b4; --*/
  background: #007BB3;
  color: #ffffff;
}
.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;
}

/*--P.C. 25 Maggio 2020 */
.navigation.post-navigation {
  padding-top: 1.875rem;
  padding-left: 20px;
}

.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
--------------------------------------------------------------*/
.topsearch {
  text-align: right;
  margin-top: 22px;
}
.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;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

#content .container {
  background-color: #ffffff;
}

#content.site-content {
  padding-bottom: 0;
  padding-top: 0;
}
#main {
  padding-bottom: 30px;
  padding-top: 30px;
}
/* PC MAggio 2020 */
/* Valori inziali 30px */
#secondary {
  padding-bottom: 15px;
  padding-top: 15px;
}
.sticky .entry-title::before {
  content: '\f08d';
  font-family: fontawesome;
  font-size: 1.563rem;
  left: -2.5rem;
  position: absolute;
  top: 0.375rem;
}

.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;
 background-color: #ffffff;
}

.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;
}
/*-- P.C. Accessibilità 25.05.2021 --*/
.flags {
    margin: 0 auto;
/*--    width: 100px; --*/
    text-align: center;
}

.toptext {
    margin-top: 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #002a48;
}
.toptext a {
    color: #002a48;
}

/*----------------
# P.C. 11-12-2020 
-----------------*/

footer#colophon .container {
   background-color: #002d4b !important;
   color: #ffffff;
   padding-top: 10px !important;
}

/*--------------------------------------------------------------------------------------------
# Custom Patrizia Calligola align left & right page to menu bar (original value in litera.css)
---------------------------------------------------------------------------------------------*/

.row {
    width: 100% !important;
    box-sizing: border-box;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px !important;
    margin-left: 0px !important;
}

/* Article */
body.post-template-default.single section#primary.content-area.col-sm-12.col-lg-9 {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-left: 0px;
  margin-right: 0px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
body.post-template-default.single aside#secondary.widget-area.col-sm-12.col-lg-3 {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 0px;
}
/* Pagine sito principale*/
body.page-template-default.page  section#primary.content-area.col-sm-12.col-lg-9 {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-left: 0px;
  margin-right: 0px !important;
  padding-left: 20px !important;
  padding-right: 30px !important;
}
body.page-template-default.page aside#secondary.widget-area.col-sm-12.col-lg-3 {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 0px;
}

/*Home Page */
body.home.page-template-default.page section#primary.content-area.col-sm-12.col-lg-9 {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-left: 0px;
  margin-right: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}
body.home.page-template-default.page aside#secondary.widget-area.col-sm-12.col-lg-3 {
  position: relative;
  width: 100%;
  min-height: 1px;
  margin-left: 0px;
  margin-right: 0px;
  padding-right: 0px;
}





/*--------------------------------------------------------------
# Custom Enrico Salvo
--------------------------------------------------------------*/

/*Logo e navbar*/
.toptext {
/*   margin-top: 12px !important; */
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #002a48;
/*    color: #ffffff; */
}
.toptext a{
    color: #002a48;
/*    color: #ffffff; */
}

.home .toptext {
    color: #002a48;
}
.home .toptext a{
    color: #002a48;
}


.navbar-brand-logo {
    height: 45px;
    width: 100px;
    display: inline-block;
    background-size: contain;
    background-image: url('images/logo-infn-icona_bianca_2017.png');
}

.home .navbar-brand-logo {
    background-image: url('images/logo-infn-icona_blu_2017.png');
}


/*Rimozione titolo homepage*/
.home .entry-header { display: none !important; }
/*Aggiustamento spaziatura homepage visto il layout diverso dalle interne*/
.home #main {
  padding-top: 0px;
}

/*Centratura verticale nome sezione nel logo */
.toptext {
  display: inline; 
}
.navbar-brand * {
  vertical-align:middle;
}


/*Riduzione dimensione bottoni widget calendario*/
.widget-sidebar-custom .ai1ec-btn, .widget-sidebar-custom .ai1ec-calendar-title{
  font-size: 9px; 
  padding-left: 5px;
  padding-right: 5px;
}


/*nasconde selettore di data superiore nel widget calendario lasciando quello inferiore*/
.widget-sidebar-custom .ai1ec-clearfix { 
  display:none; 
}


/*Riduzione dimensioni celle widget calendario*/
.widget-sidebar-custom .ai1ec-day-stretcher {
  height: 40px;
}

/*Fix pixel di lasco nei sottomenu nel navbar*/
.dropdown-menu {
  top: 96% !important; 
}

/*Fix centratura e spacing nel navbar*/
#main-nav > .navbar-nav > .menu-item {
 padding-right: 10px;
 white-space: nowrap;
}


/*Fix altezza voci menu' bellows (piu' basse)*/
.bellows-target {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  padding-left: 25px !important;

}
.bellows-target-text {
    font-weight: bold !important;
}


/*Fix posizione freccia submenu e comportamento al click Bellows */
.bellows-subtoggle {
  padding-top: 17px !important;
  padding-left: 7px !important;
  top:0px !important;
  width: 100% !important; 
  justify-content: left !important;
  align-items: normal !important;
}
/*Fix scritte overflow menu Bellows */
.bellows  {
         overflow-wrap: anywhere !important;
         --bellows-item-padding-h: 10px !important;
         --bellows-toggle-width: 0px !important;
}



/*Fix menu' alto a dx*/
.widget-sidebar-custom .sidebar-portale-infn {
}

.widget-sidebar-custom .widget-sidebar-custom-block {
  white-space: nowrap;
  padding-top: 2px;
}

.widget-sidebar-custom .widget-sidebar-custom-block img {
  padding-left: 0px;
  padding-right: 0px;
  display:inline-block;
  width: 49%;
}



/*fix carousel e menu a lato*/
/* commentato DB 10/04/2020 --> P.C. Non compatibile con plugin Wp Page Template
.wcp-carousel-main-wrap .slick-slider {
   position: static !important; 
}   fine commento DB */

/*  P.C. Maggio 2020 */
/* fix wcp-carousel comment-post in Post Style n  */
.wcp-carousel-main-wrap .rpc-post-carousel1 .rpc-comment-box {
    display: none;
}
.wcp-carousel-main-wrap .rpc-post-carousel1 .rpc-post-category {
    display: none !important;
}

.ics-calendar.r34ics_toggle .event .descloc {
    display: inline !important;
}

.ics-calendar .event * {
        hyphens: auto !important;
        white-space: initial !important;
        overflow: hidden !important;
        word-wrap: break-word !important;
        text-overflow: clip;
}

.ics-calendar .events {
    overflow: hidden;
}

/* Fix Siteimprove 09-11-2021 PC Il testo viene ritagliato quando viene ridimensionato */

.ics-calendar-widget .ics-calendar-day-details {
	overflow: auto !important;
}

/* D.B. Metaslider (richiesta Odorici) */
.metaslider .caption,
.metaslider .cs-title,
.metaslider .nivo-caption {
    font-size: 1.000em; /* adjust as necessary */
}

/* D.B. 25-06-2020 Tabelle Shortcodes  */

.su-tabs > .su-tabs-nav > span {
  /* Text color */
  color: #002a48;
  /* Text size */
  font-size: 15px;
}
.su-tabs > .su-tabs-nav > span.su-tabs-current:hover {
  /* Background color */
  background-color: #002a48;
  /* Text color */
  color: #ffffff;
}
.su-tabs > .su-tabs-panes > div {
  /* Text size */
  font-size: 16px;
}
/* P.C. 26-08-2020 Polilang Flags  */

div.flags li.lang-item.lang-item-6.lang-item-it.current-lang.lang-item-first img {
    height: 17px !important;
    max-width: 100% !important;
    width: 25px !important;
}

div.flags li.lang-item.lang-item-6.lang-item-it.lang-item-first img {
    height: 17px !important;
    max-width: 100% !important;
    width: 25px !important;
}

div.flags li.lang-item.lang-item-3.lang-item-en img {
    height: 17px !important;
    max-width: 100% !important;
    width: 25px !important;
}

/*--------------------------------------------------------------
### P.C. 11/12/2020 Menu Icon
--------------------------------------------------------------*/

     .navbar-toggler-icon {
        display: inline-block;
        width: 92px !important;
        height: 1.0em;
        vertical-align: middle;
        content: "PROVA MENU";
        background: no-repeat center center;
        background-size: 100% 100%;
      }
  .navbar-light .navbar-toggler-icon {
    background-image: url("/wp-content/uploads/2020/12/menu3.png") !important;
   }



/*--------------------------------------------------------------
### P.C. 11/12/2020 Media Query
--------------------------------------------------------------*/
/*--------------------------------------------------------------
### Overwrite .../wp-bootstrap-starter/inc/assets/css/presets/theme-option/litera.css
--------------------------------------------------------------*/

@media only screen
  and (min-width: 992px)
  and (max-width: 1239px) {
  .container {
    max-width: 1320px !important;
/*--     max-width: 1220px !important; --*/
   background-color: #ffffff;
  }
   .side-center {
     width: calc(75% - 0px);
        margin-left: 25%;
        margin-right: 30%;
    }

}
@media only screen
  and (min-width: 900px)
  and (max-width: 991px) {
  .container {
    max-width: 991px !important;
  }
   .side-center {
     width: calc(75% - 0px);
        margin-left: 25%;
        margin-right: 30%;
    }
}
@media only screen
  and (min-width: 768px)
  and (max-width: 899px) {
  .container {
    max-width: 870px !important;
  }
   .side-center {
     width: calc(75% - 0px);
        margin-left: 25%;
        margin-right: 30%;
    }
}
@media only screen
  and (min-width: 576px)
  and (max-width: 767px) {
  .container {
    max-width: 730px !important;
  }
   .side-center {
     width: calc(75% - 0px);
        margin-left: 25%;
        margin-right: 30%;
    }

}
@media only screen 
  and (min-width: 320px)
  and (max-width: 575px) {

.column {
  max-width: 100%;
  flex: 100%;
  width: 100%;
}
.row {
  max-width: 100%;
  width:100%;
  box-sizing: border-box;
  padding-right: 0px;
  padding-left: 0px;
  margin-right: 0px;
  margin-left: 0px;

  flex-direction: column;
}
body.home.page-template-default.page section#primary.content-area.col-sm-12.col-lg-9 {
    max-width: 370px !important;
    display: flex !important;
    flex-wrap; wrap;
    flex-direction: column;
  }

.side-center {
  flex-direction: column !important;
  padding-right: 0px;
  padding-left: 0px;
  margin-right: 0px !important;
  margin-left: 0px !important;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
    }

.side-left {
  flex-direction: column;
  padding-right: 0px;
  padding-left: 0px;
  margin-right: 0px;
  margin-left: 0px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  max-width: 100%;
    }
}

/*-                                 -*/
/* FIX P.C. Accessibilità 19-05-2021 */
/* Cookies */
.pea_cook_wrapper p { 
  font-size: large !important; 
}
.pea_cook_wrapper a {
  font-size: large !important;
  color: #ffffff;
  border-bottom: thin dotted rgb(255, 255, 255) !important;
}


/* DivTable.com */
.divTable{
	display: table;
	width: 100%;
}
.divTableRow {
	display: table;
        width: 100%;
}
.divTableHeading {
	display: table-header-group;
}
.divTableCell, .divTableHead {
	display: table-cell;
	padding: 3px 3px;
        width: 50%;
}
.divTableCellB, .divTableHeadB {
/*-- border: 1px solid #999999; --*/
        display: table-cell;
padding-top: 3px;
padding-right: 0px;
padding-bottom: 20px;
padding-left: 0px; 
        width: 100%;
}

.divTableHeading {
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	display: table-footer-group;
}
.divTableBody {
	display: table-row-group;
}
/*- Table accessibility      -*/
.visually-hidden {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

/*- Eu cookie  Bottone Chiudi -*/
button.pea_cook_btn {
	background: rgb(255, 255, 255) !important;
	border: unset !important;
	box-shadow: inherit !important;
	color: rgb(0, 0, 0) !important;
	font-size: large !important;
	text-shadow: inherit !important;
}

.rpc-title {
    margin-top: 20px !important;
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.5;
    color: inherit;
/*    font-size: 16px; */
    font-size: 24px !important;
}
.rpc-content {
 font-size: 14px;
}

/*-----   Plugin Image comparison Block
.twenty20 {
    margin-bottom: 20px;
    border-style: solid !important;
    border-color: #002b43  !important;
}
.twentytwenty-handle {

    border: 3px solid #002b43 !important;
    background-color: #002b43 !important;
}

.twentytwenty-before-label::before, .twentytwenty-after-label::before {
    color: #ffffff00 !important;
    font-size: 13px;
    letter-spacing: 0.1em;
}
.twen-bottom: 20px;
    border-style: solid !important;
    border-color: #002b43  !important;
}
.twentytwenty-handle {

    border: 3px solid #002b43 !important;
    background-color: #002b43 !important;
}
-----*/
.twentytwenty-container {
    border-style: solid !important;
    border-color: #002b43 !important;
}


/*---- SiteImprove: È chiaro quale elemento della pagina è attivato dalla tastiera? -----*/
/*--- per tutti ---*/
*:focus  { outline: auto !important;  }
/*--- per i dot del carosello ---*/
.slick-dots li button:hover, .slick-dots li button:focus {
outline: autoi !important;
}
/*--- per bellows menu ---*/
.bellows .bellows-nav .bellows-subtoggle:focus, .bellows .bellows-nav .bellows-target:focus {
outline: auto !important;
}
.bellows-subtoggle:hover, .bellows-target:hover { outline: auto !important;  }


/*-- ICS Calendar --*/
/*- Il testo viene ritagliato quando viene ridimensionato -*/

/* overflow: hidden */

.post-navigation .nav-previous {
    overflow: auto !important;
}
.post-navigation .nav-next {
    overflow: auto !important;
}

.ics-calendar-list-wrapper, .ics-calendar-sidebar, .ics-calendar-day-details {
    overflow: auto !important;
}

/*-- ICS Calendar --*/
/*- Modifiche dopo aggiornamento plugin 04-05-2023 -*/

.ics-calendar-title {

  font-weight: bold ! important;
  color: #002d4b !important;
}

.ics-calendar-label {
  font-weight: bold ! important;
  color: #002d4b !important;
}
.ics-calendar-pagination * {
  font-weight: bold ! important;
  color: #002d4b !important;
}


.ics-calendar-widget .ics-calendar-current-date {

  font-weight: bold ! important;
  color: #007BB3 !important;
}

.ics-calendar-date-wrapper .ics-calendar-date {

  font-weight: bold ! important;
  color: #007BB3 !important;
}

/*- Modifiche per visualizzazione GEPS P.C. 10-04-2024 -*/


div.ics-calendar-sidebar  {
  font-weight: bold ! important;
  font-size: 150% !important;
}

div.ics-calendar-month-wrapper  {
  font-weight: bold ! important;
  font-size: 150% !important;
}

div.ics-calendar-color-key  {
  font-weight: bold ! important;
  font-size: 150% !important;
}

.ics-calendar-select {
  font-weight: bold ! important;
  background-color: white !important;
}

.ics-calendar-month-grid .today .day {
  background: #595959 !important;
}

.ics-calendar-widget-grid td.past, .ics-calendar-year-availability-grid td.past {
  opacity: .9 !important;
}


section.ics-calendar[style] {
  opacity: unset !important;
}


.wcp-carousel-main-wrap .rpc-post-carousel4 .rpc-post-title a {
 font-size: 24px !important;
}

.nivo-caption {
	opacity: unset !important;
}

.nivo-captioni[style] {
        opacity: unset !important;
}


.h1offscreen{
  position: absolute;
  clip: rect(1px 1px 1px 1px); /* for Internet Explorer */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
}

