/*
REPOSNSIVE POINTS: 540 -> 750 -> 960 -> 1200;
576px for portrait phones.
768px for tablets.
992px for laptops.
1200px for large devices.

Boostrap: 576px, 768px, 992px, 1200px, and 1400px.
Foundation – 640px, 1024px, and any size for smaller devices.
Bulma –  768px, 769px, 1024px, 1216px, and 1408px.
*/


body.loaded #loader {
    display: none;
}


/* #wrapper {
    height: 100%;
} */

body.loaded #wrapper {
    visibility: visible;
}

body.loaded {
    overflow: auto;
}


/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    box-sizing: border-box;
    /* -webkit-box-sizing: border-box; */
    vertical-align: baseline;
    /* -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%; */
    /* line-height: normal; */
}

/* #root, #__next { USED IN REACT AND APPs TO DEFINE THE ROOT NODE IN ORDER TO AVOID TO USE z-index
    isolation: isolate;
  } */

img,
iframe,
picture,
video,
canvas,
object,
embed,
svg {
    display: inline-block;
    max-width: 100%;
    /* max-height:100%; */
    /* height: auto; */
}

img {
    height: auto;
    vertical-align: middle
}

small,
.small {
    font-size: 80%
}

.big {
    font-size: 120%
}

.verybig {
    font-size: 160%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -0.25em
}

sup {
    top: -0.5em
}

code,
.code,
pre {
    /*display: block;*/
    font-family: monospace;
    font-size: 80%;
    background: #eee;
    padding: 2px 4px;
    border: 1px dashed #999;
    color: #333;
}

pre {
    display: block;
    overflow: auto;
    padding: 5px 10px;
}

pre code {
    border: 0;
    padding: 0;
}

input,
button,
textarea,
select {
    /* font: inherit; */
    line-height: inherit
}

button,
input {
    overflow: visible
}

button,
button:focus,
input,
input:focus,
textarea,
textarea:focus,
select,
select:focus {
    outline: none
}

button,
select {
    text-transform: none
}

textarea {
    overflow: auto;
    resize: vertical
}

section {
    position: relative
}

/* blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
} */

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee
}

blockquote cite {
    display: block;
    font-size: 80%;
    line-height: 1.4;
    color: #777
}

blockquote cite:before {
    content: '\2014 \00A0'
}




/* MAIN */

html,
body {
    /* -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); */
    height: 100%;
    width: 100%;
}

body {
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
    font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /*
    The Times New Roman-based serif stack: Cambria, "Hoefler Text", Utopia, "Liberation Serif", "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif
    A Modern Georgia-based serif stack: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif
    A more traditional Garamond-based serif stack: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif
    The Helvetica/Arial-based sans serif stack: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif
    The Verdana-based sans serif stack: Corbel, "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif
    The Trebuchet-based sans serif stack: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitsream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif
    The heavier “Impact” sans serif stack: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif
    The Monospace stack: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace 
    */
    font-size: 14px;
    line-height: 1.5;
    background-color: #fff;
    color: #333;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 700
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.h1 a,
.h2 a,
.h3 a,
.h4 a,
.h5 a,
.h6 a {
    font-weight: inherit
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin: 0 0 10px 0;
    overflow-wrap: break-word;
}

h1,
.h1 {
    font-size: 240%
}

h2,
.h2 {
    font-size: 200%
}

h3,
.h3 {
    font-size: 160%
}

h4,
.h4 {
    font-size: 133%
}

h5,
.h5 {
    font-size: 120%
}

h6,
.h6 {
    font-size: 106%
}

p, .p{
    font-size: 100%;
    font-weight: normal;
}

.hr,
hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 20px 0;
    /* box-sizing: content-box;
    height: 0;
    overflow: visible */
}

ul,
ol {
    display: block;
    list-style: disc outside none;
    margin: 0 0 10px 0;
    padding: 0 0 0 40px;
}

ol {
    list-style-type: decimal;
}

li {
    display: list-item;
}

ul ul,
ol ul {
    list-style-type: circle;
    margin-left: 15px;
}

ol ol,
ul ol {
    list-style-type: lower-latin;
    margin-left: 15px;
}

/* .circled {
    border-radius: 50%;
    overflow: hidden
} */

.left {
    text-align: left !important
}

.right {
    text-align: right !important
}

.center {
    text-align: center !important
}

.justify {
    text-align: justify !important
}

.top {
    vertical-align: top !important
}

.middle {
    vertical-align: middle !important
}

.bottom {
    vertical-align: bottom !important
}

strong, b, .bold {
    font-weight: 700
}

em, i, .italic {
    font-style: italic;
}

/* .oblique {
    font-style: oblique;
} */

.alignleft {
    float: left;
    margin-right: 10px
}

.aligncenter {
    margin: 0 auto
}

.alignright {
    float: right;
    margin-left: 10px
}

.clear {
    clear: both
}

/* .unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} */

.uppercase {
    text-transform: uppercase
}

.lowercase {
    text-transform: lowercase
}

.capitalize {
    text-transform: capitalize
}

.push {
    height: 5px;
    width: 5px
}

.bigpush {
    height: 15px;
    width: 15px
}

.nopd {
    padding: 0 !important
}

.nomg {
    margin: 0 !important
}

.nowrap {
    white-space: nowrap
}

.hide {
    display: none !important
}

/* .hidden {
    visibility: hidden
} */

.inline {
    display: inline !important;
    vertical-align: baseline !important;
    font-size: inherit !important
}

.block {
    display: block !important;
    width: 100%;
}

.inline-block {
    display: inline-block !important;
    vertical-align: middle !important
}

 .table {
    display: table
}

.tr {
    display: table-row
}

.td {
    display: table-cell
} 

/* .ellipsis {
    text-overflow: ellipsis
} */

.relative {
    position: relative;
    overflow: hidden;
}

/* .force_container {
    margin: 0 auto;
    max-width: 100%
} */

.force16x9,
.force4x3 {
    position: relative;
    height: 0;
    display: block;
    overflow: hidden;
    padding-bottom: 56.25%;
}

.force4x3 {
    padding-bottom: 75%
}

.force16x9>*,
.force4x3>* {
    display: block;
    position: absolute;
    top: 0;
    /* bottom: 0; */
    left: 0;
    /* right: 0; */
    width: 100%;
    height: 100%;
    border: 0;
}

/* .reset_width {
    width: auto
} */

/* .responsive {
    overflow-x: auto
} */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    background: rgba(0, 0, 0, 0.7);
}

.container,
.container_full {
    padding: 0 5px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
}



/* GTAB */

.gTabsItem {
    transition: opacity 0.5s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.gTabsItem.active {
    opacity: 1;
    height: auto;
}


/* TABLES */

table {
    border-collapse: collapse;
    border-spacing: 0;
    /*width: 100%;*/
    /* min-height: 100%; */
    table-layout: fixed;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

table td,
table th {
    vertical-align: middle;
    position: relative;
    text-align: left;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.gTable {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    min-height: 100%;
}

.gTable.fixed {
    table-layout: fixed
}

.gTable td,
.gTable th {
    vertical-align: middle;
    position: relative;
    text-align: left;
    padding: 5px
}

.gTable.bordered {
    border: 1px solid #ccc
}

.gTable.bordered tr {
    border-bottom: 1px solid #ddd
}

.gTable.bordered_full td,
.gTable.bordered_full th {
    border: 1px solid #ddd
}

.gTable.striped tr:nth-child(even) {
    background-color: #f1f1f1
}

.gTable.striped tr:nth-child(odd) {
    background-color: #fff
}

.gTable th {
    background-color: #eee
}

.gTable.hoverable {
    background-color: #fff;
}

.gTable.hoverable tr:hover {
    background-color: #f9f9f9
}




/* LINKS AND BUTTONS */

a,
.a,
.btn,
button {
    background: none;
    cursor: pointer;
    color: #337ab7;
    text-decoration: none;
    outline: none;
    touch-action: manipulation;
    overflow: hidden;
    position: relative;
}

.btn,
button {
    vertical-align: middle;
}

body.notouch a:hover,
body.notouch .a:hover,
body.notouch button:hover {
    color: #23527c;
    text-decoration: none;
}
label,
body.notouch a:hover,
body.notouch .a:hover,
body.notouch button:hover {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn {
    margin: 1px 0;
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 8px 14px;
    color: #333;
    line-height: inherit;
    font-size: inherit;
    background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAyCAYAAACd+7GKAAAAdElEQVQImT3E6yoDAACA0W9ui4m2JppIFpFFlhFze/+XOvu38+OE//AXfrf9hO+wDl/hM3yE97AKb2EZXsNLeA6L8BQew0O4D3dhHm7DTbgOV+EyzMJFOA9nYRomYRxOw0k4DqNwFA7DMByE/bAXdsPOtsEGdaibyxFck+8AAAAASUVORK5CYII=) 0 0 repeat-x;
    background-size: auto 100%;
    border: 1px solid transparent;
    border-radius: 2px;
    text-align: center;
}

.btn.inline {
    margin: 0
}

body.notouch .btn:hover {
    color: #333;
    background-color: #e9e9e9;
    border-color: #adadad
}

.btn.big {
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 120%
}

.btn.small {
    padding: 4px 10px;
    font-size: 80%
}


/* ALERTS */

.alert {
    padding: 10px 12px;
    border-radius: 2px;
    position: relative;
    color: inherit;
    background: #fff;
    border: 1px solid #ccc;
    margin-bottom: 20px
}

.alert.small {
    padding: 4px 6px
}

.alert a {
    text-decoration: underline;
    color: inherit
}

body.notouch .alert a:hover {
    text-decoration: none;
    color: inherit
}

.alert>.gClose {
    display: block;
    float: right;
    cursor: pointer;
    opacity: 0.7;
    margin: 0 0 0 10px;
    font-size: 120%;
    line-height: normal;
}

body.notouch .alert>.gClose:hover {
    opacity: 1
}

.alert .title {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
}


/* FORMS */

.placeholder {
    display: block;
    height: 0;
    overflow: hidden;
}

body.noplaceholder .placeholder {
    height: auto
}

.gForm .item {
    position: relative;
    margin-bottom: 15px
}

.gForm .item i {
    position: absolute;
    top: 13px;
    right: 15px;
    color: #ccc;
    font-size: 110%;
}

.input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 1px 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    padding: 8px 10px;
    line-height: normal;
    font-size: inherit;
    color: #777;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.input.inline {
    margin: 0
}

.input.inline,
.input.inline-block {
    width: auto
}

.input:focus {
    border-color: #66afe9;
    outline: 0;
    color: #444;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
}

textarea,
textarea.input {
    height: 180px
}

textarea.input.inline,
textarea.input.inline-block {
    width: 460px
}

select.input{
  background: #fff;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='000' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") right .2em center no-repeat;
  padding-right: 1.8em;
}

select.input::-ms-expand {
    display: none;
}

.input.short,
.item.short {
    width: 60px
}

.input.small {
    padding: 4px;
    font-size: 80%
}

.input.big {
    padding: 10px 12px;
    font-size: 120%
}

.input.error {
    border: 2px solid #f00
}

.input.long,
.item.long {
    max-width: 300px;
    width: 100%
}

.input::placeholder {
    color: #bbb
}

.input > select {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    /* opacity: 0; */
    padding: inherit;

/*.input.select::after{*/
/*    display: block;*/
/*    content: "\25BC";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    width: 30px;*/
/*    height: 100%;*/
/*    line-height: 100%;*/
    /*background: #555; */
/*    text-align: center;*/
/*    color: inherit;*/
}

.input.disabled > select {
    cursor: not-allowed;
}

.btn>input,
a>input,
.a>input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 400%;
    cursor: pointer;
    opacity: 0;
}

input[type=checkbox].input,
input[type=radio].input {
    margin: 0 2px 0 0;
    appearance: none;
    cursor: pointer;
    top: -2px;
    padding: 8px;
    width: auto;
    max-width: none;
}

input[type=checkbox].input:checked,
input[type=radio].input:checked {
    background: #409fd6 url("data:image/gif;base64,R0lGODlhCwAKAIABAP////3cnSH5BAEKAAEALAAAAAALAAoAAAIUjH+AC73WHIsw0UCjglraO20PNhYAOw==") center no-repeat;
    background-size: 64% auto;
}

input[type=radio].input {
    border-radius: 50%
}

.gForm .sending,
.gForm.loading .submit {
     display: none 
    /*height:0;*/
    /*width:0;*/
    /*overflow: hidden;*/
}

.gForm.loading .sending {
     display: inline-block 
    /*height: auto;*/
    /*width: auto;*/
    /*overflow: auto;*/
}

.gForm.loaded .hide_if_loaded {
    display: none
}

.gForm .gFormAnswer.ok {
    color: #0c0
}

.gForm .gFormAnswer.error {
    color: #f00
}

.gForm .gFormAnswer.att {
    color: #fa0
}


/* COLORS */

.alert.transparent,
.btn.transparent {
    color: inherit;
    background-color: transparent;
    border-color: transparent
}

.green {
    color: #449d44
}

.alert.green,
.btn.green {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    text-shadow: 1px 1px 1px #777
}

body.notouch .btn.green:hover {
    color: #fff;
    background-color: #449d44;
    border-color: #398439
}

.black {
    color: #000
}

.alert.black,
.btn.black {
    color: #fff;
    background-color: #000;
    border-color: #111
}

body.notouch .btn.black:hover {
    color: #fff;
    background-color: #222;
    border-color: #333
}

.white {
    color: #fff
}

.alert.white,
.btn.white {
    color: #000;
    background-color: #fff;
    border-color: #ccc;
    text-shadow: none
}

body.notouch .btn.white:hover {
    color: #000;
    background-color: #ddd;
    border-color: #aaa
}

.pink {
    color: #ff46ff
}

.alert.pink,
.btn.pink {
    color: #fff;
    background-color: #e565ac;
    border-color: #f4f;
    text-shadow: 1px 1px 1px #777
}

body.notouch .btn.pink:hover {
    color: #fff;
    background-color: #bc5990;
    border-color: #c200c2
}

.blue {
    color: #286090
}

.alert.blue,
.btn.blue {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    text-shadow: 1px 1px 1px #777
}

body.notouch .btn.blue:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74
}

.cyan {
    color: #31b0d5
}

.alert.cyan,
.btn.cyan {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
    text-shadow: 1px 1px 1px #777
}

body.notouch .btn.cyan:hover {
    color: #fff;
    background-color: #31b0d5;
    border-color: #269abc
}

.orange {
    color: #ec971f
}

.alert.orange,
.btn.orange {
    color: #333;
    background-color: #faa72f;
    border-color: #ff9600;
    text-shadow: 1px 1px 2px #fff
}

body.notouch .btn.orange:hover {
    color: #333;
    background-color: #f99300;
    border-color: #ec8b00
}

.yellow {
    color: #fe0
}

.alert.yellow,
.btn.yellow {
    color: #555;
    background-color: #fe0;
    border-color: #ffe551
}

body.notouch .btn.yellow:hover {
    /*color: #fff;*/
    background-color: #e6d922;
    border-color: #d0c534;
}

.red {
    color: #e62d18
}

.alert.red,
.btn.red {
    color: #fff;
    background-color: #ec5645;
    border-color: #d43f3a;
    text-shadow: 1px 1px 1px #777
}

body.notouch .btn.red:hover {
    color: #fff;
    background-color: #e62d18;
    border-color: #ac2925
}

.grey,
.disabled {
    color: #ccc
}

.alert.grey,
.btn.grey,
div.disabled,
.btn.disabled,
.input.disabled,
.input:disabled,
body.notouch .input.disabled:hover,
body.notouch .input:disabled:hover,
.btn:disabled,
body.notouch .btn.disabled:hover,
body.notouch .btn:disabled:hover {
    background-color: #ddd;
    color: #333;
    border-color: #ccc;
    text-shadow: none;
}

body.notouch .btn.grey:hover {
    color: #333;
    background-color: #ccc;
    border-color: #bbb;
    text-shadow: none;
}

.input.disabled,
body.notouch .input.disabled:hover,
.input:disabled,
body.notouch .input:disabled:hover,
.btn.disabled,
.btn:disabled,
body.notouch .btn.disabled:hover,
body.notouch .btn:disabled:hover {
    cursor: not-allowed;
    opacity: 0.4;
    /*border: inherit;*/
}

.btn.disabled * {
    pointer-events: none
}

.btn-group{
    white-space: nowrap;
}

.btn-group > *{
    margin: 0
}

.btn-group > .f{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group > .c{
    border-radius: 0;    
    border-left: 0;
}

.btn-group > .l{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
}


/* MENU */

.horizontal_menu>ul,
ul.horizontal_menu,
.horizontal_menu ul,
.horizontal_menu li {
    display: block;
    text-align: left;
    padding: 0;
    margin: 0;
}

.horizontal_menu ul ul,
ul.horizontal_menu ul {
    padding-left: 10px;
}

.horizontal_menu a {
    display: inline-block;
    white-space: nowrap;
    padding: 2px 0
}


/* GSLIDER / GCAROUSEL */

.gCarousel,
.gSlider {
    position: relative;
    overflow: hidden;
    /*SERVE IN CASO DI SLIDING ANIMATION */
}

.gCarousel .item,
.gSlider .item {
    /* display:none; */
    position: relative;
    overflow: hidden;
    height: inherit;
}

.gSlider .item {
    z-index: 0;
    opacity: 0;
    transition: opacity 1s;
}

.gSlider .item.active {
    z-index: 1;
    opacity: 1
}

body.notouch .gSlider .gSliderAction {
    opacity: .2;
    /* transition: opacity .3s; */
}

body.notouch .gSlider:hover .gSliderAction {
    opacity: .9
}

.gSlider .gSliderAction.button {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    height: 50px;
    width: 40px;
    line-height: 54px;
    padding: 0 6px;
    margin-top: -25px;
    background: #333;
    background: rgba(0, 0, 0, .5);
    color: #eee;
    font-size: 180%;
    cursor: pointer;
    z-index: 2;
    text-align: center;
}

.gSlider .gSliderAction.button>i {
    width: auto;
}

.gSlider .gSliderAction.button.r {
    left: auto;
    right: 0
}

.gSlider .bullets {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3
}

.gSlider .bullets .bullet {
    padding: 6px;
    margin: 0 1px;
    background: #000;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
    cursor: pointer;
    font-size: 0;
    border: 1px solid #333;
    box-shadow: 0 0 2px #fff;
    line-height: 30px
}

.gSlider .bullets .bullet.active,
.gSlider .bullets .bullet:hover,
.gSlider .gSliderAction.button.active,
.gSlider .gSliderAction.button:hover {
    background: #337ab7
}

.gSlider.gAutoplay .progress_bar,
.gCarousel.gAutoplay .progress_bar {
    background: #3b78a4;
    height: 3px;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.5;
    animation: progress_bar_animation 1s linear infinite;
}

.gSlider.gAutoplay:hover .progress_bar,
.gCarousel.gAutoplay:hover .progress_bar {
    animation-play-state: paused;
}

@keyframes progress_bar_animation {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}


/* GCAROUSEL */

.gCarousel {
    position: relative;
    overflow: hidden;
}

.gCarousel>div {
    overflow-x: scroll;
    scroll-behavior: smooth;
    white-space: nowrap;
    font-size: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* height: inherit; */
}

.gCarousel .item {
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
    font-size: initial;
}


/* GDIALOG */

body.gDialoged {
    overflow: hidden !important;
}

#gDialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    z-index: 9999;
    overflow: hidden;
    display: table;
}

#gDialog>div {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    padding: 10px
}

#gDialog>div>div {
    padding: 30px;
    background: #fff;
    color: #333;
    box-shadow: 0 0 35px #b5b5b5;
    display: inline-block;
    border-radius: 4px;
    max-width: 100%;
}

#gDialog>div>div p {
    margin-bottom: 20px;
}


/* GBOX */

.gBox {
    cursor: pointer;
}

#gBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    overflow: hidden
}

body.gBoxed {
    overflow: hidden !important;
}

body.gBoxed #gBox {
    display: block;
}

#gBox #gBoxLoader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    cursor: pointer;
    padding: 10px;
    background: transparent url(data:image/gif;base64,R0lGODlhGQAZAKIEAMzMzJmZmTMzM2ZmZgAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAAEACwAAAAAGQAZAAADVki63P4wSEiZvLXemRf4yhYoQ0l9aMiVLISCDms+L/DIwwnfc+c3qZ9g6Hn5hkhF7YgUKI2dpvNpExJ/WKquSoMCvd9geDeuBpcuGFrcQWep5Df7jU0AACH5BAUAAAQALAoAAQAOABQAAAMwSLDU/iu+Gdl0FbTAqeXg5YCdSJCBuZVqKw5wC8/qHJv2IN+uKvytn9AnFBCHx0cCACH5BAUAAAQALAoABAAOABQAAAMzSLoEzrC5F9Wk9YK6Jv8gEYzgaH4myaVBqYbfIINyHdcDI+wKniu7YG+2CPI4RgFI+EkAACH5BAUAAAQALAQACgAUAA4AAAMzSLrcBNDJBeuUNd6WwXbWtwnkFZwMqUpnu6il06IKLChDrsxBGufAHW0C1IlwxeMieEkAACH5BAUAAAQALAEACgAUAA4AAAM0SLLU/lAtFquctk6aIe5gGA1kBpwPqVZn66hl1KINPDRB3sxAGufAHc0C1IkIxcARZ4QkAAAh+QQFAAAEACwBAAQADgAUAAADMUhK0vurSfiko8oKHC//yyCCYvmVI4cOZAq+UCCDcv3VM4cHCuDHOZ/wI/xxigDQMAEAIfkEBQAABAAsAQABAA4AFAAAAzNIuizOkLgZ13xraHVF1puEKWBYlUP1pWrLBLALz+0cq3Yg324PAUAXcNgaBlVGgPAISQAAIfkEBQAABAAsAQABABQADgAAAzRIujzOMBJHpaXPksAVHoogMlzpZWK6lF2UjgobSK9AtjSs7QTg8xCfELgQ/og9I1IxXCYAADs=) center no-repeat;
    text-align: center;
}

#gBox #gBoxNav {
    text-align: center;
    background: #000;
    color: #fff;
    padding: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

#gBox #gBoxItem {
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    margin: 0 auto;
    padding: 5px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 25px #000;
    /* -webkit-overflow-scrolling: touch; */
    overflow-y: scroll;
    max-height: 100%;

    /* SERVE PER LE IMMAGINI */
    cursor: initial;
    position: relative;

    /*CENTER VERTICALLY*/
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#gBox iframe#gBoxItem {
    width: 100%;
    max-width: 800px;
    height: 100%;
    overflow: auto;
}

#gBox div#gBoxItem {
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    overflow: auto;
}

#gBox.gBoxWide iframe#gBoxItem,
#gBox.gBoxWide div#gBoxItem {
    max-width: none;
    width: 100%;
}

#gBox #gBoxNav.single .single {
    display: none;
}

#gBox #gBoxNav button,
#gBox #gBoxNav button:focus {
    background: none;
    color: #fff;
    display: inline-block;
    border: none;
    margin: 0 4px;
    /* outline: none; */
}

#gBox #gBoxNav i {
    font-size: 220%;
}



/* TOOLTIPS */

.gTooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.gTooltip .gTooltipText {
    visibility: hidden;
    /* width: 120px; */
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

.gTooltip:hover .gTooltipText {
    visibility: visible;
}




/* GRID RESPONSIVE LAYOUT */
.grid {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(12, 1fr);
    /* align-items: center;
    align-items: stretch;
    justify-items: stretch;
    justify-content: stretch */
}

/* .grid.inline {
    display: inline-grid;
} */

.grid>div,
.grid>span{
    grid-column: span 12;
    /* text-align: center; */
    justify-self: stretch;
    align-self: stretch;
    align-content: center;
    padding: 5px 0;
}

.grid.top>div {
    align-content: start;
}

.grid>.s1 {
    grid-column: span 1;
}

.grid>.s2 {
    grid-column: span 2;
}

.grid>.s3 {
    grid-column: span 3;
}

.grid>.s4 {
    grid-column: span 4;
}

.grid>.s5 {
    grid-column: span 5;
}

.grid>.s6 {
    grid-column: span 6
}

.grid>.s7 {
    grid-column: span 7;
}

.grid>.s8 {
    grid-column: span 8;
}

.grid>.s9 {
    grid-column: span 9;
}

.grid>.s10 {
    grid-column: span 10;
}

.grid>.s11 {
    grid-column: span 11;
}

.grid>.s12 {
    grid-column: span 12;
}

@media screen and (max-width:539px) {
    .no-s {
        display: none !important
    }

    .center-s {
        text-align: center
    }

    .left-s {
        text-align: left
    }

    .right-s {
        text-align: right
    }

    .justify-s {
        text-align: justify
    }
}

@media screen and (min-width:540px) {

    .grid>.m1 {
        grid-column: span 1;
    }

    .grid>.m2 {
        grid-column: span 2;
    }

    .grid>.m3 {
        grid-column: span 3;
    }

    .grid>.m4 {
        grid-column: span 4;
    }

    .grid>.m5 {
        grid-column: span 5;
    }

    .grid>.m6 {
        grid-column: span 6
    }

    .grid>.m7 {
        grid-column: span 7;
    }

    .grid>.m8 {
        grid-column: span 8;
    }

    .grid>.m9 {
        grid-column: span 9;
    }

    .grid>.m10 {
        grid-column: span 10;
    }

    .grid>.m11 {
        grid-column: span 11;
    }

    .grid>.m12 {
        grid-column: span 12;
    }
}

@media screen and (min-width:540px) and (max-width:959px) {
    body {
        font-size: 15px
    }

    .center-m {
        text-align: center
    }

    .left-m {
        text-align: left
    }

    .right-m {
        text-align: right
    }

    .justify-m {
        text-align: justify
    }

    /* .container{width:540px} */
    .container,
    .container_full {
        padding: 0 10px
    }

    .grid {
        gap: 10px
    }

    .grid>div,
    .grid>span{
        padding: 10px 0;
    }

    .no-m {
        display: none !important
    }

    .push {
        height: 10px;
        width: 10px
    }

    .bigpush {
        height: 20px;
        width: 20px
    }
}

@media screen and (min-width:960px) {

    body {
        font-size: 16px
    }

    .container,
    .container_full {
        padding: 0 15px
    }

    .grid {
        gap: 15px
    }

    .grid>div,
    .grid>span{
        padding: 15px 0;
    }

    .push {
        height: 15px;
        width: 15px
    }

    .bigpush {
        height: 30px;
        width: 30px
    }

    .grid>.l1 {
        grid-column: span 1;
    }

    .grid>.l2 {
        grid-column: span 2;
    }

    .grid>.l3 {
        grid-column: span 3;
    }

    .grid>.l4 {
        grid-column: span 4;
    }

    .grid>.l5 {
        grid-column: span 5;
    }

    .grid>.l6 {
        grid-column: span 6
    }

    .grid>.l7 {
        grid-column: span 7;
    }

    .grid>.l8 {
        grid-column: span 8;
    }

    .grid>.l9 {
        grid-column: span 9;
    }

    .grid>.l10 {
        grid-column: span 10;
    }

    .grid>.l11 {
        grid-column: span 11;
    }

    .grid>.l12 {
        grid-column: span 12;
    }

    .no-l {
        display: none !important
    }

    .center-l {
        text-align: center
    }

    .left-l {
        text-align: left
    }

    .right-l {
        text-align: right
    }

    .justify-l {
        text-align: justify
    }

    .horizontal_menu>ul,
    ul.horizontal_menu {
        display: inline-block;
        vertical-align: middle;
        text-align: right;
    }

    .horizontal_menu li {
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        position: relative;
        padding: 8px 6px
    }

    .horizontal_menu a {
        display: block;
    }

    .horizontal_menu li>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: inline-block;
        text-align: left;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        /* -webkit-transition: all .4s ease; */
        /* transition: all .4s ease; */
        background: #fff;
        /* -webkit-transform: translateX(-20px); */
        transform: translateX(-20px);
        /* -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    }

    body.notouch .horizontal_menu li:hover>ul {
        opacity: 1;
        visibility: visible;
        /* -webkit-transform: translateX(0); */
        transform: translateX(0);
    }

    .horizontal_menu li ul li>ul {
        top: 0;
        left: 100%;
    }
}