/*
Theme Name: Helinext
Theme URI: https://www.helinext.it
Author: Enrico Ladogana
Author URI: https://www.ranked.it
Description: Tema per Azienda Helinext
Version: 1.0
Text Domain: helinext
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/



input[type="button"],
input[type="submit"] {
    appearance: auto;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0%;
    background-color: #e9e9ed;
    color: #333 !important;
}

em {
    font-style: italic !important;
}

.bio {
	font-size: 85% !important;
	margin-top: 90px;
	padding-top: 70px;
	border-top: 2px solid #003057 !important;
	text-align: center;
}

.bio a {
	color: #555 !important;
	text-decoration: none !important;
}

@font-face {
    font-family: "Jost";
    src: url("fonts/subset-Jost-Regular.woff2") format("woff2"),
        url("fonts/subset-Jost-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
body {
    line-height: 1;
    margin: 0px;
    padding: 0px;
    background-color: #e0d9d4;
    font-size: 17px;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    background-repeat: no-repeat;
}

table {
    border: 1px dashed #000 !important;
    background-color: #fff;
    width: 100% !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

td {
    padding: 5px 20px !important;
}

#field_1_8 {
    visibility: hidden;
    height: 0px;
}

.tab-container{
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: !important;
}

.tabella-crsd {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-family: "Segoe UI", sans-serif;
    font-size: 13px;
  }
  th, td {
    padding: 6px 8px;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 130%;
  }
  th {
    background-color: #2d4d8c;
    color: white;
  }
  .section-title {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
    color: #2d4d8c;
    font-size: 16px;
  }
  .note {
    font-style: italic;
    font-size: 13px;
    color: #666;
}


.evidenza {
  position: absolute;
  background: #fff;
  margin: 0px;
  margin-bottom: 0px;
  padding: 0px 10px !important;
  border-radius: 6px;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 30px;
  border: 1px solid #333;
}

img {
    max-width: 100%;
    height: auto;
}

.radius {
    border-radius: 6px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 20px;
}

.attachment-immagini-news-single {
	border-radius: 8px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.date_news_home {
    font-size: 100% !important;
    text-align: center;
    padding: 5px !important;
    font-size: 12px !important;
    font-weight: bold;
}

.box-anteprima-articolo .date_news_home_sidebar {
    font-size: 90% !important;
}

.box-anteprima-articolo {
    font-family: "Jost", Helvetica, sans-serif;
}

h1 + p .aligncenter {
	margin-top: 0px !important;
}
.alignleft {
    float: left;
    margin-right: 40px !important;
    margin-bottom: 20px !important;
}

.alignright {
    float: right;
}

.freccia-contatti {
	 transform: rotate(90deg);
	 display: block;
	 margin-bottom: 70px;
}

.imm-testa {
    margin-bottom: 70px;
}

/* Referral */


/* Shine */


.shine-container {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  display: inline-block; /* O usa 'block', a seconda del layout desiderato */
  margin-bottom: 50px;
}

.shine {
  -webkit-mask-image: linear-gradient(135deg, #000 25%, rgba(0,0,0,.2) 50%, #000 75%);
  mask-image: linear-gradient(135deg, #000 25%, rgba(0,0,0,.2) 50%, #000 75%);
  -webkit-mask-size: 800%;
  mask-size: 800%;
  -webkit-mask-position: 100% 0; /* Modificato per partire dall'alto a sinistra */
  mask-position: 100% 0; /* Modificato per partire dall'alto a sinistra */
  animation: shineAnimation 2.5s linear;
  margin: 0px !important;
}

.freccia-basso {
  animation-name: bounce-top;
  animation-duration: 2s;
  animation-timing-function: ease;
  animation-delay: 0.5s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: none;
  margin-bottom: 50px !important;
  filter: drop-shadow(rgba(17, 17, 26, 0.1) 0px 4px 16px) drop-shadow(rgba(17, 17, 26, 0.05) 0px 8px 32px);
}


@keyframes bounce-top {
	0% {
		transform: translateY(0);
	}
	25% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-24px);
	}
	55% {
		transform: translateY(0);
	}
	65% {
		transform: translateY(-12px);
	}
	75% {
		transform: translateY(0);
	}
	82% {
		transform: translateY(-6px);
	}
	87% {
		transform: translateY(0);
	}
	93% {
		transform: translateY(-4px);
	}
	100% {
		transform: translateY(0);
	}
}


@keyframes shineAnimation {
  from {
    -webkit-mask-position: 100% 0; /* Inizia dall'alto a sinistra */
    mask-position: 100% 0; /* Inizia dall'alto a sinistra */
  }
  to {
    -webkit-mask-position: -20% 100%; /* Termina in basso a destra */
    mask-position: -20% 100%; /* Termina in basso a destra */
  }
}

.bullet-referral, .bullet-referral1 {
  list-style: none; /* Rimuove i bullet point predefiniti */
  padding-left: 0; /* Rimuove il padding predefinito dell'elenco */
  margin-left: 0px !important;
}

.bullet-referral li, .bullet-referral1 li {
  margin-bottom: 15px; /* Aggiunge uno spazio tra le voci dell'elenco */
  padding-left: 31px; /* Aggiunge spazio per il simbolo */
  position: relative; /* Necessario per posizionare il simbolo */
}

.bullet-referral li::before, .bullet-referral1 li::before {
  position: absolute;
  left: 0;
  font-size: 17px;
  color: #fff;
  border: 1px solid #333;
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ea5049;
  margin-top: 3px;
}

.bullet-referral1 li::before {
  font-size: 18px;
  content: '\2713' ;
  color: #fff;
  font-weight: bold;
}

.bullet-referral li:nth-child(1)::before {
  content: "1";
  
 }

.bullet-referral li:nth-child(2)::before {
  content: "2";
}

.bullet-referral li:nth-child(3)::before {
  content: "3";
}

.bullet-referral li:nth-child(4)::before {
  content: "4";
}

.bullet-referral li:nth-child(5)::before {
  content: "5";
}


.bullet-referral li::marker, .bullet-referral1 li::marker {
  content: none; /* Rimuove il bullet point predefinito */
}

#primary .center {
    text-align: center;
}

#primary .scudetto .cta {
    text-align: center;
    margin-top: 70px;
    text-transform: uppercase;
    display: inline-block;
    background: #ea5049;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 100%;
    line-height: 1.6em;
    text-decoration: none;
}

#primary .scudetto .cta:hover {
    background: #003057;
}

#modifica {
    text-align: center;
    margin-top: 50px;
}

.modifica {
    display: inline-block;
}
.pre-tit-pag {
    display: block;
    margin: 0 auto;
    margin-bottom: 50px;
}

#presentazione .testo-presentazione .tit-serv {
    display: flex;
}

#presentazione .testo-presentazione .tit-serv img {
    margin-right: 10px;
}

.rve-embed-responsive {
    margin-bottom: 30px;
    margin-top: 30px;
}

.post-edit-link {
    background-color: #fff;
    border: 1px solid #ea5049;
    display: inline-block;
    padding: 10px;
    color: #ea5049;
    text-decoration: none;
    border-radius: 8px;
}

.validation_error {
    font-family: Helvetica, sans-serif;
    font-size: 100%;
    line-height: 1.4em;
    color: #f30;
    background-color: #fff;
    border: 5px solid #666;
    padding: 10px;
    font-weight: normal;
}

.validation_message {
    font-family: Helvetica, sans-serif;
    font-size: 100%;
    line-height: 1.4em;
    /* font-weight: bold; */
    color: #f30;
    text-transform: uppercase;
    margin: 10px 0;
}

/* Paginazione */

.navigation {
    padding: 0px 80px 60px 80px;
    height: auto;
    margin-top: -60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#primary .navigation ul {
    list-style-type: none;
    margin-left: 0px;
    font-size: 100%;
    line-height: 100%;
    margin-bottom: 0px;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff !important;
    text-decoration: none;
}

.navigation li {
    display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #ea5049;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
    background-color: #fff;
    color: #ea5049 !important;
}

/* Fine Paginazione */

#container {
    height: auto;
}

#wrapper {
    max-width: 1140px;
    padding: 0px 30px;
    height: auto;
    margin: 0 auto;
}

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-bottom-color: #ea5049;
    height: 100px;
    position: relative;
    padding-bottom: 30px;
}

#logo {
    display: flex;
    flex-flow: column wrap;
}

#logo ul {
    display: flex;
    flex-flow: row nowrap;
    align-content: flex-end;
    margin-top: 6px;
}

#logo ul li {
    margin-right: 8px;
}

#logo ul li:hover {
    background-color: transparent;
    -webkit-animation: heartbeat-social 1.5s ease-in-out infinite both;
    animation: heartbeat 1.5s ease-in-out infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2020-7-17 15:30:26
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

@-webkit-keyframes heartbeat-social {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}
@keyframes heartbeat {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transform-origin: center center;
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    10% {
        -webkit-transform: scale(0.91);
        transform: scale(0.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    17% {
        -webkit-transform: scale(0.98);
        transform: scale(0.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    33% {
        -webkit-transform: scale(0.87);
        transform: scale(0.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

#menu-icone {
    position: absolute;
    display: flex;
    bottom: 0px;
    left: 0px;
    padding-bottom: 7px;
    width: 100%;
}

#menu-icone ul {
    display: flex;
    gap: 10px;
    width: 100%;
}

#menu-mobile {
    margin: 0px;
    padding: 0px;
    font-family: "Roboto Condensed", sans-serif; /* Font per il menu */
	height: 55px;
}

#menu ul {
    display: flex;
    flex-flow: row;
    z-index: 1000;
    width: 100%; /* Da modificare per aggiunta logo a sinistra */
    align-items: center;
    justify-content: flex-end;
	margin-top: 1px;
}

#menu ul li {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap;
}

#menu ul li a {
    text-align: center;
    text-decoration: none;
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 1em;
    padding-right: 1em;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #001a48;
    font-size: 90%;
    width: calc(100% - 1.8em);
    font-weight: bold;
}

#menu ul li ul li a {
    background-color: #fff !important;
}

#menu a {
    transition: all 0.1s ease-in-out; /* Transizioni facoltativa */
    -webkit-transition: all 0.1s ease-in-out;
}

#menu a:hover {
    color: #ffffff;
    background-color: #ea514a;
}

#menu .selected a:hover {
    color: #1d1d1b;
}

#menu ul li ul {
    display: flex;
    flex-flow: column nowrap;
    position: absolute;
    top: 49px; /* Valore arbitrario 40 di padding di #menu a più l'altezza dei caratteri */
    width: auto;
    left: 0;
    background-color: #fff;
    min-width: 200px;
}

#menu ul li:last-child ul {
    right: 0;
    left: auto;
}

#menu ul li ul li {
    margin: 0px !important;
    position: relative;
    width: 100%;
}

#menu ul li ul li ul {
    left: 100% !important;
    top: 0 !important;
    width: 100%;
}

#menu ul li ul li ul li a {
    background-color: #ff66ff !important;
}

#menu ul li ul li a:hover {
    color: #ffffff;
    background-color: #ea514a !important;
}

#menu ul li > ul {
    display: none;
}

/* #menu ul li > ul li {
} */

#menu ul li:hover > ul {
    display: flex;
}

#menu .menu-item-has-children a {
    cursor: pointer;
}

#menu .menu-item-has-children > a {
    cursor: context-menu !important;
}

#menu .menu-item-has-children > a:after {
    content: " \25BC"; /* simbolo freccia giù in css, possibile anche sostituirlo con un'immagine */
}

#menu li.selected a,
#menu li.selected a:hover {
    color: #fff !important;
    background-color: #000 !important; /* Definisce il colore del pulsante che corrisponde alla pagina caricata, vale solo per le pagine di primo livello */
    cursor: default; /* cambio il cursore in default per far comprendere che il link non è attivo */
}

#telefono-mobile {
    display: none;
}
.immagine-mobile {
    display: none;
}

#menu-mobile input,
#menu-mobile label {
    display: none;
}

.telefono {
    color: #ea5049 !important;
}

h1,
h2 {
    font-family: "Jost", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: bold;
}

h1 {
    font-size: 180%;
	line-height: 130%;
}

h2 {
    font-size: 150%;
}

p + h2,
ul + h2 {
    margin-top: 30px;
    margin-bottom: 30px;
}

#articolo p + h2,
#articolo ul + h2 {
    margin-top: 40px;
    margin-bottom: 30px;
}

.scudetto {
    text-align: center;
}


.scudetto p,
.scudetto li,
.scudetto h3 {
    text-align: left;
}

.scudetto ul,
.scudetto ol {
    margin-left: 30px;
    line-height: 1.5em !important;
}

.scudetto h2 {
    margin-top: 40px;
}

/* .scudetto h2 + p {
    margin-bottom: 40px !important;
} */

#news .titolo-home {
    margin-top: 0px;
}

#presentazione {
    display: flex;
    padding: 0px 80px 40px 80px;
    align-items: flex-start;
    min-height: 690px;
}

/*TELEASSISTENZA*/

.teleassistenza br {
    display: none;
}

.aligntelpul {
    display: flex;
    align-items: center;
    position: absolute;
    right: 0px;
}

.telepul {
    background: #d6cec8;
    text-decoration: none;
    color: #333;
    padding: 7px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 85%;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.telepul:hover {
    background: #333;
    color: #fff;
}

#downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top:30px;
}

#downloads-teamviewer a {
    margin-left: 0.3em;
}

#downloads a {
    text-decoration: none;
}

#downloads span.circle {
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 40px;
    color: #fff;
    display: inline-block;
    background: #2468ff;
    line-height: 40px;
    color: #e0d9d4;
    text-transform: none;
}

#downloads img,
#downloads-teamviewer img {
    width: 40px;
    height: 40px;
}

#downloads p,
#downloads-teamviewer p {
    margin-right: 0.3em;
    font-size: 100% !important;
    line-height: 40px !important;
}

#downloads span.circle > span {
    font-weight: 300;
    line-height: 40px;
    font-size: 16px;
    font-family: sans-serif;
}

sub {
    font-family: Tahoma, sans-serif;
    margin-left: -10px;
    color: #fff;
    text-shadow: 0px 0px 3px #39291e;
    font-weight: 400;
    z-index: 10000000;
    position: relative;
}

/*TELEASSISTENZA*/

#primary ul,
#primary ol {
    list-style-type: disc;
    list-style-position: inside;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 110%;
    margin-bottom: 15px;
}

#primary ul p,
#primary ol p {
    font-size: 100%;
}

#primary ul ul {
    font-size: 100%;
    margin-left: 20px;
}

#primary ul ul ul {
    font-size: 100%;
    margin-left: 40px;
}

#field_5_7 {
    text-align: center;
    margin-bottom: 50px !important;
}

#gform_submit_button_5, #gform_submit_button_9 {
    width: 50% !important;
    margin: 0 auto;
}

#primary ul li,
#primary ol li {
    /* margin-bottom: 10px; */
	line-height: 1.55em;
}

#primary ol {
    list-style-type: decimal;
    font-size: 110%;
}

#wpadminbar .quicklinks ul {
    margin-bottom: 0px !important;
}

#primary p {
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 110%;
    line-height: 1.55em;
    margin-bottom: 15px;
}

#primary a {
    color: #c30000;
}

#primary a:hover {
    color: #000;
}

.colonne ul {
    list-style-type: none !important;
    margin: 0px !important;
}

#news ul {
    margin-left: 0px !important;
    font-size: 90%;
}

.siamo li p {
    margin-bottom: 15px !important;
}

.chi h3 {
    font-weight: bold;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 120%;
    margin-bottom: 30px;
}

.chi p {
    margin-bottom: 0px !important;
}

.chi ul {
    list-style-type: disc !important;
    list-style-position: inside !important;
}

.chi ul li {
    width: 100% !important;
}

#presentazione ul {
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 10px;
}

#presentazione ul ul {
    margin-left: 30px;
    font-size: 100% !important;
    list-style-type: square;
}

#contenuti-presentazione {
    width: 55%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pagina {
    width: 100% !important;
}

.pagina h2 > p {
    margin-top: 60px;
}

.testo-presentazione {
    height: 100%;
}

.teleassistenza {
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 90%;
}

.teleassistenza a {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #1c1c1c;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
}

.teleassistenza a:hover {
    color: #ea5049;
}

#slider-presentazione {
    width: 45%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
	margin-top: 40px;
}

#news {
    padding: 60px 80px 60px 80px;
    height: auto;
    margin: 0 auto;
}

#news p{
    margin-bottom: 0px;
}

#news h1 {
    text-align: center;
    margin-bottom: 50px;
}

#contenuti {
    padding: 60px;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-bottom-color: #ea5049;
    height: auto;
    margin-bottom: 60px;
    background-color: #fff;
}

#prodotti {
    padding: 60px 80px;
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: #ea5049;
}

#recensioni, #calendario, #formazione {
    padding: 60px 80px;
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: #ea5049;
}

/* Calendario Eventi & Formazione */

#calendario, #formazione {
     max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#calendario h2, #formazione h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
	margin-top: 60px;
}

/* Griglia eventi - 3 colonne su desktop */
#calendario .grid-eventi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
    column-gap: 2rem;
}

/* Griglia formazione - 4 colonne su desktop */

#formazione .grid-corsi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 2rem;
    column-gap: 1rem;
    margin-bottom: 30px;
}

/* Riquadro data separata */

#calendario .icona-data {
	display: block;
	margin: 0 auto;
	margin-bottom: 10px;
	box-shadow: rgba(0, 0, 0, 0.10) 0px 3px 6px, rgba(0, 0, 0, 0.16) 0px 3px 5px;
}

.calendario-text-data {
    font-weight: bold;
	background: #fff !important;
	display: inline;
	padding: 1px 5px;
	margin-top: 2px;
	border-radius: 6px;
	font-size: 95% !important;
	color: #13110c;
}

@media (max-width: 900px) {
    #calendario .grid-eventi {
        grid-template-columns: 1fr;
    }

    #formazione .grid-corsi {
        grid-template-columns: repeat(2, 1fr);
    }

    .chi h3 {
        text-align: center;
    }


    .item_evento, #item_formazione {
        color: #fff !important;
    }

    .item_evento:hover, #item_formazione {
        color: #ea5049 !important;
    }
}

@media (max-width: 600px) {

    #formazione .grid-corsi {
        grid-template-columns: 1fr;
    }
}

/* Card evento */
#calendario .evento-box,  #formazione .formazione-box {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    background-color: #fff;
	min-height: 145px;
}

.formazione-img {
    background-size: contain; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    width: 100%; 
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 0.9;
    border-radius: 8px; /* Optional rounded corners */
}

#calendario a, #formazione a {
   color: #333 !important;
   text-decoration: none;
   text-align: center;   
}

#calendario .evento-box:hover, #formazione .formazione-box:hover, .formazione-img:hover {
    transform: translateY(-5px);
    background-color: #f8f8f8;
    opacity: 1;
}

#calendario h3, #formazione h3 {
    color: #13110c !important;
	font-size: 95% !important;
	margin-top: 7px !important;
}

#calendario .evento-primo h3 {
    color: #fff !important;
}

#calendario a:hover h3, #formazione a:hover h3 {
    color: #333 !important;
}

#calendario .calendario-text-data {
    margin-bottom: 10px !important;
}

/* Primo evento */
#calendario .evento-primo {
    background-color: #003057;
	position: relative;
}

#calendario .evento-primo::after {
    content: 'PROSSIMO EVENTO';
	font-family: Arial, Helvetica, sans-serif;
	font-size: 70%;
	position: absolute;
	bottom: 0;
	margin-bottom: -1px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	background: #fff;
	padding: 5px 10px;
	border-radius: 8px 8px 0 0;
	color: #13110c;
	font-weight: bold;
}

/* Info evento / formazione */

#calendario .evento-info, #formazione .formazione-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Titolo */
#calendario .evento-titolo, #formazione .formazione-titolo {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

#calendario .evento-titolo a, #formazione .formazione-titolo a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

#calendario .evento-titolo a:hover, #formazione .formazione-titolo a:hover {
    color: #c0392b;
}

/* Data evento */
#calendario .evento-data {
    font-size: 80%;
    font-weight: bold;
    color: blue !important;
}

.calendario_sottotitolo,
.formazione_sottotitolo{
    text-align: center;
    margin-bottom: 40px !important;
}

.calendario_tutti {
     text-align: center;
     margin-top: 40px !important;
     text-transform: uppercase;
}

.calendario_tutti a {
     text-decoration: none !important;
}

.data_evento {
    text-align: center;
}

.contenuti-sel h2 {
    text-align: left !important;
    margin-bottom: 10px;
}

.contenuti-sel h3 {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}


#azienda {
    padding: 60px 80px;
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: #ea5049;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-bottom-color: #ea5049;
}

#contenuti {
    border: 3px solid #ea5049;
    margin-left: 80px;
    margin-right: 80px;
}

#contatti,
#articolo {
    display: flex;
    padding: 60px 30px;
    justify-content: space-between;
    height: auto;
    align-items: flex-start;
}

#articolo h2 {
	text-align: center;
}

#contenuti-contatti {
    width: 45%;
}

#contenuti-articolo {
    width: 60%;
}

#articoli-recenti {
    width: 30%;
}

#contenuti-contatti .img1 {
    display: block;
    margin-bottom: 30px;
}

#contenuti-contatti .img2 {
    display: block;
    margin-bottom: 30px;
    margin-top: 60px;
}

#dati-contatti {
    width: 45%;
}

.mappa {
    overflow: hidden;
    padding-bottom: 88%;
    position: relative;
    height: 0;
    margin-top: 90px;
    border: 3px solid #ea5049;
    width: 100%;
}

.mappa iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/*GRAVITY FORMS STYLE - START*/

.gform_title {
    margin-top:40px;
    margin-bottom:20px !important;
}

.address_country select{
    background-color: white !important;
}

.ginput_product_price_wrapper{
    display: block !important;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ginput_total {
    font-family: "Jost", Arial, Helvetica, sans-serif !important;
    font-size: 30px !important;
    line-height: 100%;
    padding: 0px !important;
}

.gfield{
    margin-bottom:25px !important;
}

.gfield_description{
    font-size: 70% !important;
}

.gchoice{
    margin-top:10px;
    margin-bottom:10px;
    line-height: 120%;
}

.ginput_container_coupon{
    margin-top: -20px !important;
}

.gform_button:hover, #gf_coupon_button:hover{
    border: 3px solid #000;
}

#gf_coupon_info table {
    margin-top: 10px !important;
    margin-bottom: 0px !important;
}

.gf_coupon_name, .gf_coupon_discount {
    margin-top:10px !important;
}

/* .gform_footer input {
    display: block;
    margin: 0px;
    padding: 0px;
    border: 3px solid #ea5049;
    height: 36px;
    padding: 5px 10px;
    font-size: 100%;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 130%;
} */

.gform_footer .gform_button {
    display: block;
    margin: 20px auto 20px auto !important;
    padding: 0px !important;
    border: 3px solid #ea5049;
    height: 36px;
    font-size: 100%;
    line-height: 130%;
    font-family: "Jost", Arial, Helvetica, sans-serif;    
    width: 100%;
    text-transform: uppercase;
}

.gform_footer .gform_button:hover {
    border: 3px solid #000;
}

#gf_coupon_button {
    border: 3px solid #ea5049;
    height: 36px;   
    font-family: "Jost", Arial, Helvetica, sans-serif;
    margin: 0 auto;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: 30px;
    text-transform: uppercase;
}

.gform_wrapper.gravity-theme .gform_footer {
    padding: 0px !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors{
    margin-bottom: 30px !important;
}

#gform_wrapper_10, #gform_wrapper_11, #gform_wrapper_12, #gform_wrapper_13, #gform_wrapper_14, #gform_wrapper_15, #gform_wrapper_16, #gform_wrapper_17 {
    margin: 0 auto;
    max-width: 600px;
}

.ginput_product_price {
    color: #ea5049 !important;
}

#gform_wrapper_18{
    text-align: left;
}

#gfield_description_18_11, #gfield_description_18_12, #gfield_description_18_13, #gfield_description_18_14, #gfield_description_18_15 {
    padding-top:0px !important;
    margin-top:0px !important;
}

#ginput_product_price_18_11, #ginput_product_price_18_12 {
    margin:0px !important;
}


#ginput_base_price_18_11, #ginput_base_price_18_12 {
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 130%;
}

#gf_coupon_info {
    margin-bottom: 5px;
}

.textarea, .gfield_description, .gfield_consent_description{
    font-family: "Jost", Arial, Helvetica, sans-serif !important;
}

.gform_wrapper.gravity-theme .field_description_below .gfield_consent_description, .gform_wrapper.gravity-theme .gfield_consent_description{
    overflow: hidden !important;
    padding-left: 0px !important;
    text-align: left;
    line-height: 120%;
    border: none !important;
}



.gform-field-label .gform-field-label--type-inline .gfield_consent_label{
    margin-top: 0px !important;
}

.form-contatti {
    margin-top: 50px;
}

.form-recensioni .gfield--type-textarea {
    display: block;
    margin-bottom: 25px;
}

.form-recensioni .gfield_description {
    font-family: "Jost", Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
    line-height: 140%;
}

#primary .form-contatti ul,
.form-recensioni ul {
    margin-left: 0px !important;
    list-style-type: none;
    font-size: 100%;
}


/* .form-contatti textarea, */
.form-recensioni textarea,
.form-recensioni #input_7_7,
.form-recensioni #input_7_11
/* #gform_submit_button_8,
#gform_submit_button_9 */ {
    width: calc(100% - 20px);
    display: block;
    margin: 0px;
    padding: 0px;
    border: 3px solid #ea5049;
    height: 36px;
    padding: 5px 10px;
    font-size: 100%;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 130%;
}

#input_7_10_3,
#input_7_10_6 {
    width: calc(50% - 20px);
    display: block;
    margin: 0px;
    padding: 0px;
    border: 3px solid #ea5049;
    height: 36px;
    padding: 5px 10px;
    font-size: 100%;
    font-family: Helvetica, Arial, sans-serif;
    line-height: 130%;
}

#input_7_10 .gform-field-label {
    font-size: 100%;
}

#input_7_7,
#input_7_11 {
    margin-bottom: 25px !important;
}

#gform_submit_button_1 #gform_submit_button_9 {
    cursor: pointer;
}

/* #gform_submit_button_1:hover, #gform_submit_button_8:hover, #gform_submit_button_9:hover {
    border: 3px solid #000;
} */

/* .check-privacy {
	border: 3px solid #ea5049;
} */

.form-contatti textarea,
.form-recensioni textarea {
    height: 108px;
}

.gform-field-label {
    /* margin-top: 25px !important; */
    margin-bottom: 10px;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    text-align: left;
    /* font-size: 120%; */
}

#field_7_11 .gfield_label {
    display: block;
}

.gform-field-label--type-sub {
    display: block;
    margin-top: 5px !important;
    margin-bottom: 5px;
}

/* .form-contatti label, */
.form-recensioni label,
.gfield_required {
    line-height: 130%;
}

.form-recensioni .gform-field-label--type-inline {
    font-size: 100%;
    margin-bottom: 10px;
}

.form-recensioni .gchoice {
    display: block;
    margin-bottom: 5px;
}

/* .form-recensioni label {
	margin-top: 25px !important;
	margin-bottom: 10px;
	font-family: 'Jost', Arial, Helvetica, sans-serif;
} */

.form-recensioni .ginput_container_radio {
    margin-bottom: 25px;
}

/* .form-contatti label {
    margin-bottom: 10px;
    display: block;
    font-family: "Jost", Arial, Helvetica, sans-serif;
} */

#field_1_6 {
    text-align: center;
    margin-bottom: 0px;
}

#label_1_6_1 {
    margin-top: 0px !important;
    text-align: left;
}

.gform_submission_error {
    border-color: #333 !important;
    color: white;
    font-size: 20px;
}

.gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    font-size: 20px !important;
}

.gfield_consent_description{
	text-align: center;
  	font-family: "Jost", Arial, Helvetica, sans-serif;
}

#gform_8{
    text-align:left;
}

#gform_8 .gform-field-label{
    margin-top:0px !important;
}

#input_8_8 .gchoice{
    margin-top:15px;
    margin-bottom: 15px;
}

.gform_confirmation_message_8{
    text-align: center;
  	font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size:130%;
}

#gform_wrapper_9 {
    width: 60%;
    margin: 0 auto;
}

#gform_fields_9 {
    text-align: left;
}

.form-referral #gform_submit_button_8 {
	width: 300px !important;
}

.gfield--type-consent {
    margin-bottom: 0px !important;
}

/* GRAVITY CHECKBOX HELINEXT STYLE - START */

.ginput_container_consent input{
    display: none;
}

input[type="checkbox"] + label {
    display: block;
}

input[type="checkbox"],
input[type="checkbox"] {
    opacity: 0;
    pointer-events: none; /* opzionale, per evitare doppio tap */
}

form input[type="checkbox"] + label:before {
    content: "";
    border: 3px solid #333;
    display: block;
    width: 1em;
    height: 1em;
    padding-left: 5px;
    padding-bottom: 5px;
    margin-right: 10px;
    color: transparent;
    transition: 0.2s;
    background-color: #fff;
    margin-bottom: 10px;
}

form input[type="checkbox"] + label:before {
    content: "";
    border: 3px solid #333;
    display: block;
    width: 1em;
    height: 1em;
    padding-left: 5px;
    padding-bottom: 5px;
    margin-right: 5px;
    color: transparent;
    transition: 0.2s;
    background-color: #fff;
    margin-bottom: 10px;
}

form input[type="checkbox"] + label:active:before,
input[type="checkbox"] + label:active:before {
    transform: scale(0);
}

form input[type="checkbox"]:checked + label:before {
    content: "\2714";
    background-color: #ea5049;
    color: #fff;
    border: 3px solid #333;
}

/* GRAVITY CHECKBOX HELINEXT STYLE - END */

/*GRAVITY FORMS STYLE - END*/

#footer {
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: #ea5049;
    padding: 60px 80px;
}

#azienda 
,
#news h2,
#presentazione h2,
#prodotti h2,
#contatti h2,
#articolo h2,
#recensioni h2,
#calendario h2,
#formazione h2 {
    line-height: 1.4em;
	text-align: center;
}


.pre-titolo + #presentazione {
    padding-top: 0px;
}

.pre-titolo {
    text-align: center;
	height: 80px;
}

#primary .tit-serv + p {
    margin-bottom: 30px;
}

.titolo-home {
    margin: 55px 0px 40px 0px;
    text-align: center;
}
 

#presentazione .testo-presentazione h2 {
    padding: 0px;
    line-height: 1.2em;
    font-weight: bold;
    display: block;
    background-color: unset;
    border: unset;
    margin: 0px;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #092f56;
}

#presentazione h3, .contatti h3, #calendario h3, #formazione h3 {
    font-size: 130%;
    line-height: 150%;
    color: #e93636;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    margin-top: 30px;
    margin-bottom: 15px;
}

.contatti h3 {
    margin-bottom: 10px;
    margin-top: 30px;
    color: #555;
}

h2 + h3 {
    margin-top: 0px;
}

#presentazione h4 {
    font-size: 130%;
    color: #e93636;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    margin-bottom: 30px;
    margin-top: 30px;
}

.box-wrapper {
    display: flex;
    justify-content:flex-start;
    /* justify-content: space-between; */
    align-items: stretch;
    flex-wrap: wrap;
    gap: calc(3.5% - 8px);
}

.box-wrapper-vert {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.box-wrapper-vert img {
    margin-bottom: 20px;
}

#azienda ul li,
#contenuti ul li {
    width: 30%;
}

#prodotti ul li {
    width: 46%;
}

.margin-40 {
	margin-top: 40px;
}

.more-software {
    margin-top: 10px;
}

#azienda ul li img,
#contenuti ul li img {
    margin-bottom: 20px;
}

#news ul li {
    width: 31%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 100%;
    border: 2px solid #ea5049;
    margin-bottom: 50px;
    border-radius: 8px;
}

#news ul li img {
    margin: 0 auto;
    display: block;
    line-height: 0px;
    /* min-height: 210px; */
    width: 100%;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.category .box-wrapper li:nth-child(3n + 2) {
    background-color: #ea5049 !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}

.category .box-wrapper li:nth-child(3n + 3) {
    background-color: #072446 !important;
    border: 2px solid #fff !important;
}

.category .box-wrapper li:nth-child(3n + 2) h3,
.category .box-wrapper li:nth-child(3n + 3) h3 {
    border-top: 2px solid #fff !important;
    color: #fff !important;
}

.category .box-wrapper li:nth-child(3n + 2) p,
.category .box-wrapper li:nth-child(3n + 2) .more a,
.category .box-wrapper li:nth-child(3n + 3) p,
.category .box-wrapper li:nth-child(3n + 3) .more a {
    color: #fff !important;
}

#news h3,
#articolo h3 {
    font-weight: bold;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 110%;
    line-height: 140%;
    padding: 20px 20px 10px 20px;
    text-transform: uppercase;
	text-align: center;
    /* margin-top:10px; */
}

#articolo h3 {
    margin: 20px 0px 20px 0px;
}

.box-anteprima-articolo {
    border-top-width: 3px;
    border-right-width: 3px;
    border-left-width: 3px;
    border-top-style: solid;
    border-right-style: solid;
    border-left-style: solid;
    border-top-color: #ea5049;
    border-right-color: #ea5049;
    border-left-color: #ea5049;
    padding: 15px;
    background-color: #fff;
    line-height: 130% !important;
}

.testo-articolo img {
    display: block;
    /* border: 3px solid #ea5049; */
    margin: 30px auto 50px auto;
    border-radius: 5px;
}

.testo-articolo ul li img {
    margin-bottom: 20px;
}

.box-anteprima-articolo p {
    font-size: 100% !important;
    line-height: 130% !important;
}

#articoli-recenti {
    border-bottom-width: 3px;
    border-bottom-color: #ea5049;
    border-bottom-style: solid;
	font-size: 90%;
}

#articoli-recenti h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.articolo-blu {
    background-color: #072446;
}

#news h4,
#news h4 a,
#articolo h4 {
    font-weight: bold;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    font-size: 100%;
    line-height: 120%;
    text-decoration: none;
    color: #c30000;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

.archivio-news a {
    text-decoration: none;
}

#news h4 {
    color: #333;
}

#articolo h4 {
    color: #000;
    text-align: left;
    margin-bottom: 15px;
}

#news h4 a:hover {
    color: #000;
}

.articolo-blu p,
.articolo-blu h4 {
    color: #fff !important;
}

#news p {
    padding: 15px;
}

.more {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
    padding-bottom: 5px;
    font-size: 110% !important;
}

.more a {
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    font-size: 70%;
    text-transform: uppercase;
    color: #ea5049;
    font-weight: bold;
}

#articolo .more {
    font-size: 80%;
    margin: 0px;
    padding-bottom: 10px;
}

.more:hover {
    -webkit-animation: shake-top 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955)
        both;
    animation: shake-top 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2019-11-22 16:39:40
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation shake-top
 * ----------------------------------------
 */
@-webkit-keyframes shake-top {
    0%,
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
    }
    10% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
    20%,
    40%,
    60% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg);
    }
    30%,
    50%,
    70% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg);
    }
    80% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
    }
    90% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
}
@keyframes shake-top {
    0%,
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
    }
    10% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
    20%,
    40%,
    60% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg);
    }
    30%,
    50%,
    70% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg);
    }
    80% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
    }
    90% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
}

#footer {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 90%;
    line-height: 150%;
    display: flex;
    align-items: center;
}

#footer a {
    color: #092f56;
    text-decoration: none;
}

#footer a:hover {
    color: #ea5049;
}

.call {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 15px;
    font-size: 140%;
    font-family: "Jost", Arial, Helvetica, sans-serif;
    margin-top: 15px;
}

.call img {
    display: block;
    margin-right: 7px;
}

.call a {
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    color: #000 !important;
}

.call:hover {
    color: #ea5049;
}

#dati-aziendali,
#social {
    width: 50%;
}

#social{
	text-align: right;
}

#dati-aziendali p, #social p {
    margin-bottom: 15px;
}

#footer #social p{
	text-align:right;
}

#social ul {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

#social ul li {
	list-style-type: none;
    margin-left: 10px;
}

/* Iubenda */

#iubenda_policy .iub_content {
    padding: 0px !important;
}

#iubenda_policy {
    font-family: "Jost", Arial, Helvetica, sans-serif !important;
    font-size: 120% !important;
    color: #59636d !important;
}

.iub h2 {
    background-color: transparent !important;
}

#iubenda_policy .box_10 {
    padding: 0px !important;
    border-radius: 0px !important;
    margin-bottom: 15px;
}

#iubenda_policy .box_primary {
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/*WORDPRESS MEDIA GALLERY*/

.gallery {
    margin: 0 auto 18px;
}
.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}
.gallery-columns-2 .gallery-item {
    width: 50%;
}
.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item{
	width: 20%;
}

.gallery img {
    box-shadow: 0px 0px 4px #999;
    border: 1px solid white;
    padding: 8px;
    background: #f2f2f2;
}

.galleryid-16407 {
	padding-top:30px;
}

.galleryid-16407 img{
	border: none;
    padding: 8px;
    background: white;
	border-radius: 6px;
	margin-bottom: 20px;
}

.gallery img:hover {
    background: white;
	box-shadow: 0px 0px 5px #8f8f8f;
}
.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
    margin-bottom: 25px;
}
.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
    margin-bottom: 25px;
}
.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}
.gallery dl,
.gallery dt {
    margin: 0;
}
.gallery br + br {
    display: none;
}

/*WORDPRESS MEDIA GALLERY*/

@media only screen and (max-width: 1220px) {
    #presentazione,
    #azienda,
    #news,
    #contatti,
    #footer,
    #prodotti {
        padding: 60px 40px 40px 40px;
    }

    #header {
        flex-direction: column;
        height: 130px;
        margin-top: 20px;
    }

    #logo {
        width: 100%;
    }

    #logo img {
        display: block;
        margin: 0 auto;
    }

    #menu-icone {
        position: static;
        display: flex;
        bottom: unset;
        left: unset;
        padding-bottom: 0px;
        order: 3;
    }

    #wrapper-menu {
        width: 100%;
    }

    #menu,
    #submenu {
        justify-content: center;
    }

    #menu a,
    #submenu a {
        font-size: 90%;
    }

    h2 {
        font-size: 140%;
    }

    .teleassistenza {
        margin: 30px auto 30px auto;
    }

    .teleassistenza br {
        display: block;
    }

    .mappa {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 900px) {
    h1 {
        font-size: 150%;
    }

    h2 {
        font-size: 130%;
    }

    #gform_submit_button_5, #gform_submit_button_9 {
        width: 100% !important;
        margin: 0 auto;
    }

    .more-software {
        text-align: center;
    }

	.logo-img {
		width: 50%;
		margin: 0 auto;
	}
	
	.freccia-contatti {
		 display: none;
	 }
	 
.margin-40 {
	margin-top: 0px;
}

    #azienda h4 {
        text-align: center;
    }

    .navigation {
        padding: 0px 0px 80px 0px;
    }

    #news h4 {
        line-height: 1.4em;
    }

    #header {
        display: block;
    }
	
	#primary {
		margin-top: 30px;
	}
	
    #menu-mobile {
        width: calc(100% - 20px) !important;
        background-color: #333333;
        position: relative;
        min-height: 50px;
		height: auto;
        padding-left: 10px;
        padding-right: 10px;
        line-height: unset;
        z-index: 10000000000000;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #menu-mobile input:checked + label:before,
    #menu-mobile input:checked ~ label:before {
        content: "\2716";
    }

    #menu-mobile label {
        display: block;
        cursor: pointer;
        color: #fff;
        font-size: 120%;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        height: 50px;
        margin-bottom: -20px;
    }

    #menu-mobile label:before {
        content: "\2630";
        margin-right: 0.25em;
        font-size: 1em;
        font-weight: bold;
    }

    #menu-mobile ul,
    #menu-mobile ul li,
    #menu-mobile ul li a {
        border: none !important;
    }

    #menu-mobile input:checked + label,
    #menu-mobile input:checked ~ label {
        content: "\U+21BB"; /* simbolo hamburger */
    }

    #menu-mobile input:checked ~ #menu {
        max-height: 100%;
    }

    #menu-icone {
        display: none;
    }

    #menu {
        margin: 0px;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        z-index: 10000000000000;
        margin-top: 20px;
    }

    #menu ul {
        flex-direction: column;
        padding: 0px;
        margin: 0px;
        display: block;
        padding: 0px;
        padding-bottom: 30px;
        width: calc(100% - 0px);
        background-color: transparent;
        z-index: 10000000000000;
    }

    #menu ul li {
        width: 100%;
        padding: 0px;
        margin: 0px;
        line-height: 240%;
        white-space: normal;
    }

    #menu ul li img {
        margin-top: 25px;
    }

    .nomargin {
        margin-top: 0px !important;
    }

    #menu ul li ul li {
        margin-top: 0px !important;
    }

    input#menu-button {
        display: none;
    }

    #menu ul li a {
        color: #fff;
        display: block;
        text-transform: uppercase;
        font-size: 100%;
        background-color: #999999;
        border-bottom: 1px solid #666 !important;
        width: 100%;
        padding: 5px 0px;
    }

    #menu ul li a:hover {
        color: #ea5049;
        background-color: #666 !important;
    }

    #menu ul li ul {
        display: block;
        position: static;
        padding: 0px;
        margin: 0px;
        width: 100%;
    }

    #menu ul li ul li a {
        line-height: 120%;
        color: #000;
        padding: 10px 0px !important;
    }

    #menu ul li > ul {
        display: none;
    }

    #menu ul li:hover > ul {
        display: block;
    }
	
	#header {
	  height: 100px;
	}
    #primary .scudetto h1 {
	  margin-top: 0px;
	}

    #logo {
        margin: 10px 0px;
    }

    #logo ul {
        display: none;
    }

    #telefono-mobile {
        display: block;
        position: absolute;
        top: 9px;
        right: 10px;
    }

    .invert {
        filter: invert(100%);
    }

    #telefono-mobile ul li {
        display: inline;
    }

    #telefono-mobile ul li:first-child {
        margin-left: 0px;
    }

    #telefono-mobile ul li {
        margin-left: 10px;
    }

    .chiama {
        -webkit-animation: pulsa 1.5s ease-in-out infinite both;
        animation: pulsa 1.5s ease-in-out infinite both;
    }

    .chatta {
        -webkit-animation: pulsa 1.5s ease-in-out 1.5s infinite both;
        animation: pulsa 1.5s ease-in-out 1.5s infinite both;
    }

    @-webkit-keyframes pulsa {
        from {
            -webkit-transform: scale(1);
            transform: scale(1);
            -webkit-transform-origin: center center;
            transform-origin: center center;
            -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
        }
        10% {
            -webkit-transform: scale(0.91);
            transform: scale(0.91);
            -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
        }
        17% {
            -webkit-transform: scale(0.98);
            transform: scale(0.98);
            -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
        }
        33% {
            -webkit-transform: scale(0.87);
            transform: scale(0.87);
            -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
        }
        45% {
            -webkit-transform: scale(1);
            transform: scale(1);
            -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
        }
    }
    @keyframes pulsa {
        from {
            -webkit-transform: scale(1);
            transform: scale(1);
            -webkit-transform-origin: center center;
            transform-origin: center center;
            -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
        }
        10% {
            -webkit-transform: scale(0.91);
            transform: scale(0.91);
            -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
        }
        17% {
            -webkit-transform: scale(0.98);
            transform: scale(0.98);
            -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
        }
        33% {
            -webkit-transform: scale(0.87);
            transform: scale(0.87);
            -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
        }
        45% {
            -webkit-transform: scale(1);
            transform: scale(1);
            -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
        }
    }

      #presentazione,
    #azienda,
    #news,
    #contatti,
    #footer,
    #prodotti, #calendario {
        padding: 60px 20px 40px 20px;
    }

    #azienda h2 br,
    #news h2 br,
    #presentazione h2 br,
    #prodotti h2 br,
    #contatti h2 br,
    #articolo h2 br {
        display: none;
    }

    .pre-titolo {
        padding: 0px 20px;
		height: auto;
    }

    .titolo-home {
        margin: 0px 20px 10px 20px;
		line-height: 1.2em;
    }
	
	.testo-contatti {
		text-align: center;
	}
	
	#contenuti-contatti .img1 {
	  margin-left: auto;
	  margin-right: auto;
	}
	
    .imm-testa {
        margin-bottom: 40px;
    }

    .scudetto {
        margin-bottom: 70px;
    }

    .scudetto ul,
    .scudetto ol {
        margin-left: 0px;
        line-height: 1.5em !important;
    }

	.pre-tit-pag {
		margin-top: 20px;
		margin-bottom: 30px;
	}

    .scudetto h2 {
        margin-top: 40px;
    }
	
	.scudetto .titolo-home {
		text-align: center;
	}
	
	.scudetto .titolo-home br {
		display: none;
	}
	
	.aligncenter {
		margin-top: 40px;
	    margin-bottom: 30px;
	}

    #header,
    #presentazione {
        padding: 0px 30px 0px 30px;
        border-bottom: none;
		margin-top: 0px;
		height: auto;
    }

    #presentazione {
        flex-direction: column;
    }

    #contenuti-presentazione {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #slider-presentazione {
        display: none;
    }

    #presentazione .testo-presentazione h2 {
        margin-top: 15px;
		margin-bottom: 10px;
    }

    #presentazione .testo-presentazione .tit-serv {
        display: flex;
        flex-flow: column-reverse;
        justify-content: center;
        align-items: center;
    }

    #presentazione .testo-presentazione .tit-serv img {
        margin: 10px 0px 5px 0px;
    }

    #presentazione p,
    #azienda li,
    #news li,
    #contenuti li,
    #contatti p,
    #articolo p,
    #prodotti p {
        line-height: 140%;
    }

    .scudetto .cta {
        margin-top: 30px;
        line-height: 1.5em;
    }
	
	.cta br {
		display: none;
	}

    .box-wrapper {
        flex-direction: column;
    }

    #azienda ul li,
    #contenuti ul li {
        width: 100%;
    }

    #prodotti ul li {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    #azienda ul li img,
    #contenuti ul li img,
    #prodotti ul li img {
        margin-bottom: 20px;
        margin-top: 40px;
        display: block;
        margin: 40px auto 20px auto;
    }

    #azienda ul li:first-child img,
    #contenuti ul li:first-child img,
    #prodotti ul li:first-child img {
        margin-top: 0px;
    }

    #news ul li {
        width: 100%;
    }

    #footer {
        display: block;
        font-size: 90%;
        text-align: center;
		
    }

	#footer #social p {
		text-align: center;
	}

    #dati-aziendali,
    #social {
        width: 100%;
    }

    #social {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
    }

    .more a {
        font-size: 80%;
    }

    #azienda,
    #news,
    #prodotti {
        text-align: center;
        width: auto;
    }

    /* #azienda h2, #news h2 {
} */

    .box-wrapper {
        text-align: left;
    }

    #articolo,
    #contatti {
        flex-direction: column;
        padding-top: 0px;
    }
	#contatti .titolo-home {
		margin-bottom: 50px;
	}
    #contenuti-articolo,
    #articoli-recenti,
    #contenuti-contatti,
    #dati-contatti {
        width: 100%;
        border: none;
    }

    #contenuti-articolo {
        margin-bottom: 60px;
    }

    .box-anteprima-articolo {
        margin-bottom: 30px;
        border: 3px solid #ea5049;
    }

    #contenuti {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px 20px;
    }
    #wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }
}

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

	.galleryid-16407 .gallery-item{
		width: 25% !important;
	}
}

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

	.galleryid-16407 .gallery-item{
		width: calc(100% / 3) !important;
	}
}

@media only screen and (max-width: 480px) {
    .navigation {
        padding: 0px 0px 60px 0px;
        font-size: 80%;
    }

    .navigation li a,
    .navigation li a:hover,
    .navigation li.active a,
    .navigation li.disabled {
        padding: 0.5rem;
    }

	.galleryid-16407 .gallery-item{
		width: 50% !important;
	}
}

@media only screen and (max-width: 270px) {
    .navigation li a,
    .navigation li a:hover,
    .navigation li.active a,
    .navigation li.disabled {
        padding: 0.35rem;
    }
}