/* This file will hold styles for the mobile version of your website (mobile first). */


/* This also can include ANY global CSS that applies site-wide. Unless overwritten by a more specific style rule, CSS declarations in global.css will apply site-wide. */

html * {
    /*font-family: "Raleway", "open sans", sans-serif;*/
    font-family: helvetica, arial, sans-serif;
}

body {
    margin-bottom: 10rem;
    margin-top: 0px;
}

html body.admin-menu.not-front,
body.not-front {
    margin-top: 180px !important;
}

a:link,
a:visited {
    color: #000000;
    text-decoration: underline;
}


/* LISTE NEL CONTENT */

.field-name-body div>ol>li {
    margin-bottom: 4em;
}

.field-name-body ol {
    counter-reset: item;
    padding-left: 0em;
}

.field-name-body ol>li {
    display: block;
    margin-bottom: 1em;
    text-indent: 0.2em;
    line-height: 1.3em;
}

.field-name-body ol>li:before {
    content: counters(item, ".") "   ";
    counter-increment: item;
    font-weight: bold;
    color: black;
    background-color: #fdcb02;
    padding-left: 5px;
    width: 80px;
    display: block;
    float: left;
    text-align: right;
    padding-right: 5px;
}

.field-name-body ol ol>li:before {
    background-color: #dedede;
    color: #737373;
}

.field-name-body ol ol ol>li:before {
    background-color: transparent;
    color: #737373;
    border: 1px solid #dedede;
    margin: -1px;
}

.field-name-body ul,
.field-name-body ol {
    margin-top: 1em;
    text-align: justify;
}


/* FINE LISTE */

button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active {
    -moz-box-shadow: #e4e4e4 0 0 7px;
    -webkit-box-shadow: #e4e4e4 0 0 7px;
    box-shadow: #e4e4e4 0 0 7px;
    z-index: 1;
    border: 1px solid #009fe3;
}

#page {
    background-color: #fff;
}

#zone-menu-wrapper {
    /*background-color: #efefef;*/
    margin-bottom: 20px;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

#zone-content-wrapper .content a:link,
#zone-content-wrapper .content a:visited {
    color: black;
    text-decoration: none;
    border-bottom: 3px solid #fdcb02;
    /* margin-bottom: 0px; */
    font-weight: bold;
}

#zone-content-wrapper .content a:hover {
    color: #000;
    background-color: #fdcb02;
    border-color: #fdcb02;
}

#block-views-in-node-gallery-block .content a:link,
#block-views-in-node-gallery-block .content a:visited,
#block-views-in-node-gallery-block .content a:hover {
    background-color: transparent;
    border-color: transparent;
}


/* PAGER RESET */

.pager * {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: transparent;
    float: none;
}


/*STILI DI SERVIZIO*/

.semitrasparente-viola {
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjciLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjciLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.7)), color-stop(100%, rgba(0, 0, 0, 0.7)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#b3000000', endColorstr='#b3000000', GradientType=0);
}

.semitrasparente-80 {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    /* IE 8 */
    filter: alpha(opacity=80);
    /* IE 5-7 */
    -khtml-opacity: 0.8;
    /* khtml, vecchio safari */
    -moz-opacity: 0.8;
    /* mozilla, netscape */
    opacity: 0.8;
    /* fx, safari, opera */
}

.semitrasparente-30 {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    /* IE 8 */
    filter: alpha(opacity=30);
    /* IE 5-7 */
    -khtml-opacity: 0.3;
    /* khtml, vecchio safari */
    -moz-opacity: 0.3;
    /* mozilla, netscape */
    opacity: 0.3;
    /* fx, safari, opera */
}

table,
tbody,
tfoot,
thead,
tr,
th,
td {
    border-color: #efefef !important;
}

td,
th {
    padding: 0 8px 16px 0;
}

#region-content article td {
    border: 1px solid;
}

td,
th {
    vertical-align: top !important;
}

tr:hover td,
tr.even:hover td.active,
tr.odd:hover td.active {
    background-color: transparent;
}

div.vertical-tabs {
    width: 100%;
}

.location .form-item input {
    width: 20em;
}

a img:hover,
.view-banner-colonna .views-row img:hover {
    box-shadow: 0px 0px 10px #0000007a;
}

#zone-branding-wrapper a img:hover {
    box-shadow: none;
}

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

a img {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    max-width: 100%;
    height: auto;
}

a img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#galleria-1 img:hover {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

#galleria-1 img {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    -ms-transition: none;
    transition: none;
}

.block-block-26 a:link,
.block-block-26 a:visited {
    text-align: center;
    display: inline-block;
    /*width: 30px;
	height: 30px;*/
    line-height: 30px;
    font-size: 20px;
    margin: 5px 5px 0 0;
}

div#block-block-26 a {
    font-size: 14px;
    letter-spacing: -1px;
    /* font-weight: bold; */
    line-height: 48px;
}

#block-views-gallery-top-banner-block-1 img,
#block-views-gallery-top-banner-block-1 img:hover,
.logo-img img,
.logo-img img:hover {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.overflow-hidden {
    display: block;
    overflow: hidden;
}

div#block-block-39 {
    position: absolute;
    z-index: 1;
    width: 100px;
    right: 70px;
    top: 530px;
}

/*ZONA USER*/

#zone-user-wrapper {
    background: none repeat scroll 0 0 #000000;
    border-bottom: 1px solid #FFFFFF;
    height: 34px;
    display: none;
}


/* ZONA HEADER */

div#zone-header,
div#region-header-first {
    margin: 0;
    width: 100vw;
}


/*ZONA BRANDING*/

#fixed-branding {
    width: 100%;
    border-bottom: 10px solid #fff;
    background-color: #191919;
    min-height: 155px;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    transition: all 0.5s ease;
}

.front #fixed-branding {
    background-color: transparent;
    border-bottom: 0;
    min-height: 0;
}

#region-branding,
#fixed-branding,
#zone-branding {
    margin: 0;
    width: 100%;
}

.branding-data {
    padding: 3px 5px;
    position: absolute;
    z-index: 4;
    left: 30px;
    top: 20px;
}

img#logo {
    /*width: 90px;*/
    /* height: 137px; */
    height: 90px !important;
    width: auto;
}

.logo-img {
    float: none;
    margin-right: 0px;
}

.site-name-slogan {
    position: absolute;
    left: 140px;
    top: 119px;
}

#block-locale-language {
    position: absolute;
    right: 0px;
    top: -1px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.21);
    font-size: 1em;
    padding: 0 .5em;
    text-align: center;
    line-height: 1.9em;
    text-transform: uppercase;
}

#block-locale-language ul.language-switcher-locale-url li {
    line-height: 1.6em;
}

#block-locale-language ul {
    list-style: none;
    margin-bottom: 0;
}

#block-locale-language a,
#block-locale-language a:visited {
    color: #cecece;
    text-decoration: none;
}

#block-locale-language a:hover {
    text-decoration: underline;
}

#block-locale-language .active {
    color: #fff !important;
}

#block-locale-language .locale-untranslated {
    display: none;
}

h1.site-name,
h2.site-name,
h1.site-name a,
h2.site-name a {
    color: #fff;
    display: block;
    font-size: 32px;
    line-height: 32px;
    font-weight: bold;
    margin-bottom: 2px;
    padding: 0 4px;
    text-transform: uppercase;
    padding-top: 8px;
}

.site-name {
    margin-top: 5px;
}

h6.site-slogan,
h6.site-slogan a {
    font-size: 30px;
    line-height: 35px;
    color: #fff;
    padding: 0 3px;
    display: block;
    width: 440px;
    margin-bottom: 2px;
}

#block-block-2 {
    position: fixed;
    z-index: 25;
    left: 293px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.52);
    font-weight: bold;
    top: 47px;
    transition: all 0.5s ease;
}

#block-block-2 p {
    padding: 0 3px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    line-height: 15px;
    margin-bottom: 2px;
    display: block;
    float: left;
    clear: both;
    margin-left: 10px;
}

#block-views-stampa-titolo-block {
    letter-spacing: -1px;
    /*position: absolute;*/
    /*z-index: 4;*/
    /*top: 198px;*/
    /*right: 10px;*/
    padding: 5px 5px;
    color: #000;
    font-size: 30px;
    font-weight: 500;
    line-height: 35px;
    margin-bottom: 2px;
    display: block;
    background-color: #fecc02;
    text-align: center;
}


/* SPONSOR HEADER */

div#block-views-tutti-i-loghi-block-14 {
    transition: all 0.5s ease;
}

div#block-views-tutti-i-loghi-block-14 {
    position: fixed;
    z-index: 10;
    left: 430px;
    top: 38px;
}

#block-views-tutti-i-loghi-block-14 .view-content {
    display: flex;
    align-items: center;
    flex-flow: wrap;
    background-color: white;
    /* justify-content: space-evenly; */
    border-radius: 5px;
}

#block-views-tutti-i-loghi-block-14 .views-row {
    padding: 3px;
    width: 70px;
}

div#block-views-tutti-i-loghi-block-14.nav-fade {
    position: fixed;
    z-index: 10;
    left: 340px;
    top: 20px;
    background-color: transparent !important;
}

#block-views-tutti-i-loghi-block-14.nav-fade .views-row {
    padding: 3px;
    width: 55px;
}


/* TIMER PREISCRIZIONI */

div#block-block-35 {
    position: fixed;
    z-index: 100;
    bottom: 0;
    width: fit-content;
    padding: 0;
    /* background-color: #0000009e; */
    /* box-shadow: 0px -2px 10px #010101a1; */
    /* margin: auto; */
    left: 50%;
    transform: translateX(-50%);
}

#block-block-35 .block-inner.clearfix {
    display: block;
    margin: auto;
    background: #0000009e;
    width: fit-content;
    padding: 5px;
}

#timer-final-display {
    display: none;
}

.timer-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.timer-container {
    color: #ffffff9e;
    margin: 0 auto;
    text-align: center;
}

.timer-container h1 {
    font-weight: normal;
}

p#timer-title {
    padding: 0 0 10px;
    font-size: 1rem;
    font-style: oblique;
    color: #fcc838;
    text-transform: uppercase;
    font-weight: bold;
}

.timer-container li {
    display: inline-block;
    font-size: .6rem;
    list-style-type: none;
    padding: 0 1em;
    text-transform: uppercase;
}

.timer-container li span {
    display: block;
    font-size: 1.2rem;
    color: #d9d9d9;
    font-weight: bold;
    background-color: black;
    width: 3rem;
    margin-bottom: 2px;
    line-height: 3rem;
}


/* TIMER EVENTO */

#block-block-5 {
    position: absolute;
    z-index: 4;
    bottom: 30px;
    right: 30px;
}

#block-block-5 h2.block-title {
    color: #FFCC00;
    font-size: 20px;
}

.blocco-cntdw {
    width: 40px;
    padding: 4px;
    margin: 0 2px 0 0;
    float: left;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
}

.blocco-cntdw .labels {
    font-size: 6px;
    line-height: 14px;
    font-weight: normal;
    text-transform: uppercase;
}

a.apri-menu-branding {
    font-size: 65px;
    margin-right: 20px;
    color: white;
    transition: all .5s ease;
}

a.apri-menu-branding:hover {
    color: #e9520e;
}


/*FINE ZONA BRANDING*/


/* LIVE STREAMING EVENTI YOUTUBE */

iframe#yt-streaming-live {
    width: 80%;
    height: 500px;
    padding: 2%;
    margin: 4% auto;
    display: block;
}


/*STILI CONTENT*/

#section-content {
    padding-top: 10px;
    font-weight: 300;
    font-size: 1.1em;
}

.item-list .pager,
.pager {
    margin-top: 10px;
}

.item-list .pager li {
    margin: 0;
    padding: 0;
}

.pager a {
    display: block;
    /* height: 62px; */
    /* border-color: #EAEAEA; */
    background: #fdcb02;
    /* min-width: 30%; */
    margin: 30px auto;
    line-height: 37px;
    border-radius: 6px;
    color: black !important;
    font-weight: 100 !important;
    /* font-size: 18px; */
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 200px;
    border: none !important;
}

#block-views-stampa-news-block-2 .pager a {
    width: 200px;
}

#block-views-stampa-news-block-2 .view-content {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    height: fit-content;
    margin: 0 0 25px 0;
    /* border: 5px solid #febf0f; */
    padding: 18px 45px;
    /* border-radius: 10px; */
    /* border-radius: 10px; */
    /* box-shadow: inset 0 0 20px 11px #e9ab00; */
    /* background-color: #e2e2e2; */
}

.pager a:hover {
    background: #003466 !important;
    text-decoration: none !important;
    color: white !important;
}

.submitted {
    font-size: .8em;
    margin-bottom: 10px;
    color: #666;
}

.submitted a {
    color: #666;
}


/*FINE CONTENT*/


/*PAGINA SPONSOR******/

.img-sponsor {
    display: block;
    margin-bottom: 60px;
    height: 150px;
}

.label-main-sponsor,
.label-sponsor,
.label-partner {
    font-size: 1.3em;
    ;
    font-weight: 100;
    color: rgb(106, 63, 71);
    display: solid;
    height: 5em;
    line-height: 5em;
}

.altri-sponsor {
    height: 210px;
    padding-bottom: 30px;
    display: block;
    text-align: center;
}

.img-second {
    height: 50px;
}

#sponsor-tecnica {
    display: block;
    border: 1px solid transparent;
    width: 270px;
    height: 82px;
    position: absolute;
    top: 220px;
    left: 100px;
    background-image: url("/sites/all/themes/tdg_html5/images/blank.gif");
}

#sponsor-grivel {
    display: block;
    border: 1px solid transparent;
    width: 111px;
    height: 116px;
    position: absolute;
    top: 177px;
    left: 415px;
    background-image: url("/sites/all/themes/tdg_html5/images/blank.gif");
}

#sponsor-montura {
    display: block;
    border: 1px solid transparent;
    width: 270px;
    height: 82px;
    position: absolute;
    top: 220px;
    left: 565px;
    background-image: url("/sites/all/themes/tdg_html5/images/blank.gif");
}

#sponsor-area {
    display: block;
    border: 1px solid transparent;
    width: 100%;
    height: 101px;
    position: absolute;
    top: 438px;
    left: 0px;
    background-image: url(/sites/all/themes/tdg_html5/images/blank.gif);
}

#partner-area {
    display: block;
    border: 1px solid black;
    width: 100%;
    height: 101px;
    position: absolute;
    top: 438px;
    left: 0px;
    background-image: url(/sites/all/themes/tdg_html5/images/blank.gif);
}


/*FINE SPONSOR********/


/*STILI GALLERIA PLUGIN*/


/*#galleria{height:1500px;width:100%; min-width:300px}*/

.galleria-container {
    height: 350px;
}

#block-views-gallery-top-banner-block-1 {
    display: block;
}

.view-id-gallery_top_banner {
    width: 100%;
}

.galleria-thumbnails-container {
    display: none;
}

.galleria-stage {
    position: absolute !important;
    top: 1px !important;
    bottom: 1px !important;
    left: 1px !important;
    right: 1px !important;
    overflow: hidden !important;
}


/*FINE STILI GALLERIA PLUGIN*/


/*ZONA SOCIAL NETWORKS*/

#block-block-3 {
    position: absolute;
    top: -60px;
}

#block-block-3 a {
    color: #0177aa;
    text-decoration: none;
}

#block-block-3 a:hover {
    text-decoration: none;
}

#block-block-3 ul li {
    font-size: 25px;
    color: #fff;
    display: block;
    float: left;
    padding: 0 10px 0 0;
    /* border-right: 1px solid #fff; */
    line-height: 23px;
}

#block-block-3 li:first-child {
    padding-right: 1em;
    border-right: 2px solid #fff;
    margin-right: 1em;
}


/*FINE ZONA SOCIAL NETWORKS*/


/*MENU*/

.sf-menu.sf-style-white li,
.sf-menu.sf-style-white.sf-navbar {
    background: #D9D9D9;
}


/*FINE MENU*/


/*INIZIO BREADCRUMB*/

#breadcrumb a {
    padding: 3px;
    /* background-color: #fdcc02; */
    margin-bottom: 5px;
    text-transform: uppercase;
    /* font-weight: bold; */
    color: #000;
    text-decoration: none;
    text-transform: capitalize;
    font-style: italic;
    color: #ccc;
}

#breadcrumb a:hover {
    text-decoration: underline;
    color: #999
}


/*FINE BREADCRUMB*/


/*ZONA CONTENT*/

h1.title {
    font-size: 3.5em;
    font-weight: normal;
}

h2.block-title {
    font-size: 1.5em;
    font-weight: 600;
}

h1.title,
h2.block-title {
    margin-top: 20px;
    margin-bottom: 5px;
    color: #000000;
    text-transform: uppercase;
    font-style: italic;
    margin-top: 20px;
    margin-bottom: 5px;
    letter-spacing: -3px;
    font-weight: bold;
    line-height: 1em;
}

h2.block-title {
    letter-spacing: -1px;
}

#block-system-main {
    line-height: 1.4em;
    font-size: 18px;
}

#block-system-main .field-name-field-image {
    margin-bottom: 2em;
}

.view-track-slider .views-slideshow-cycle-main-frame-row-item {
    width: 380px;
    overflow: hidden;
}

.field-name-field-tags .field-item {
    margin-left: 5px;
}


/*FINE ZONA CONTENT*/


/*STILI BLOB GMAP*/

.gmap-popup {
    width: 380px;
    /*height:160px;*/
    padding: 5px;
    background-color: #fff;
    font-size: 13px;
    line-height: 15px;
    font-family: helvetica, arial;
    color: #555;
}

.gmap-popup a {
    color: #62343E;
    font-weight: 600;
    font-size: 14px;
}


/*FINE STILI BLOB GMAP*/


/* BLOCCO NEWS IN HOME*/

#block-views-stampa-news-block table {
    border: 1px solid #F5F2F2;
}

#block-views-stampa-news-block tr {
    border-bottom: 0 !important;
}

#block-views-stampa-news-block thead {
    display: none;
}

#block-views-stampa-news-block .views-field-title a {
    font-size: 1.4em;
    font-weight: 300;
}

.views-field-title a {
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.2rem;
    letter-spacing: -.5px;
    text-transform: uppercase;
    color: #000000;
}


/* FINE BLOCCO NEWS */


/*LINK VAI A NEWS*/

a.vai-a-news {
    text-decoration: none;
    font-size: 3em;
    font-weight: 100;
    color: #62333E;
}


/*END LINK VAI A NEWS*/


/*STILI DEVEL*/

.dev-query {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);
    bottom: 0;
    color: #FFFFFF;
    display: block;
    font-size: 9px;
    height: 20px;
    padding-left: 6px;
    padding-right: 6px;
    position: fixed;
}


/*FINE STILI DEVEL*/


/* $Id: lightbox.css,v 1.1.4.28 2010/09/22 10:47:15 snpower Exp $ */

#lightbox {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    line-height: 0;
}

#lightbox a img {
    border: none;
}

#outerImageContainer {
    position: relative;
    background-color: #000 !important;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    min-width: 240px;
    overflow: hidden;
}

#imageContainer,
#frameContainer,
#modalContainer {
    padding: 10px;
}

#modalContainer {
    line-height: 1em;
    overflow: auto;
}

#loading {
    height: 25%;
    width: 100%;
    text-align: center;
    line-height: 0;
    position: absolute;
    top: 40%;
    left: 45%;
    /* left: 0%; */
}

#hoverNav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

#imageContainer>#hoverNav {
    left: 0;
}

#frameHoverNav {
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    position: absolute;
    bottom: 0px;
    height: 45px;
}

#imageData>#frameHoverNav {
    left: 0;
}

#hoverNav a,
#frameHoverNav a {
    outline: none;
}

#prevLink,
#nextLink {
    width: 49%;
    height: 100%;
    background: transparent url(../images/blank.gif) no-repeat;
    /* Trick IE into showing hover */
    display: block;
}

#prevLink,
#framePrevLink {
    left: 0;
    float: left;
}

#nextLink,
#frameNextLink {
    right: 0;
    float: right;
}

#prevLink:hover,
#prevLink:visited:hover,
#prevLink.force_show_nav,
#framePrevLink {
    background: url(../images/prev.gif) left 15% no-repeat;
}

#nextLink:hover,
#nextLink:visited:hover,
#nextLink.force_show_nav,
#frameNextLink {
    background: url(../images/next.gif) right 15% no-repeat;
}

#prevLink:hover.force_show_nav,
#prevLink:visited:hover.force_show_nav,
#framePrevLink:hover,
#framePrevLink:visited:hover {
    background: url(../images/prev_hover.gif) left 15% no-repeat;
}

#nextLink:hover.force_show_nav,
#nextLink:visited:hover.force_show_nav,
#frameNextLink:hover,
#frameNextLink:visited:hover {
    background: url(../images/next_hover.gif) right 15% no-repeat;
}

#framePrevLink,
#frameNextLink {
    width: 45px;
    height: 45px;
    display: block;
    position: absolute;
    bottom: 0px;
}

#imageDataContainer {
    display: none !important;
    font: 10px Verdana, Helvetica, sans-serif;
    background-color: #fff;
    margin: 0 auto;
    line-height: 1.4em;
    min-width: 240px;
}

#imageData {
    padding: 0 10px;
}

#imageData #imageDetails {
    width: 70%;
    float: left;
    text-align: left;
}

#imageData #caption {
    font-weight: 600;
}

#imageData #numberDisplay {
    display: block;
    clear: left;
    padding-bottom: 1.0em;
}

#imageData #lightbox2-node-link-text {
    display: block;
    padding-bottom: 1.0em;
}

#imageData #bottomNav {
    height: 66px;
}

.lightbox2-alt-layout #imageData #bottomNav,
.lightbox2-alt-layout-data #bottomNav {
    margin-bottom: 60px;
}

#lightbox2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 500px;
    background-color: #000;
}

#overlay_default {
    opacity: 0.6;
}

#overlay_macff2 {
    background: transparent url(../images/overlay.png) repeat;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

* html>body .clearfix {
    display: inline;
    width: 100%;
}

* html .clearfix {
    /* Hides from IE-mac \*/
    height: 1%;
    /* End hide from IE-mac */
}


/* Image location mod */

#bottomNavClose {
    display: block;
    background: url(../images/close.gif) left no-repeat;
    margin-top: 33px;
    float: right;
    padding-top: 0.7em;
    height: 26px;
    width: 26px;
}

#bottomNavClose:hover {
    background-position: right;
}

#loadingLink {
    display: block;
    background: url(../images/loading.gif) no-repeat;
    width: 32px;
    height: 32px;
}

#bottomNavZoom {
    display: none;
    background: url(../images/expand.gif) no-repeat;
    width: 34px;
    height: 34px;
    position: relative;
    left: 30px;
    float: right;
}

#bottomNavZoomOut {
    display: none;
    background: url(../images/contract.gif) no-repeat;
    width: 34px;
    height: 34px;
    position: relative;
    left: 30px;
    float: right;
}

#lightshowPlay {
    margin-top: 42px;
    float: right;
    margin-right: 5px;
    margin-bottom: 1px;
    height: 20px;
    width: 20px;
    background: url(../images/play.png) no-repeat;
}

#lightshowPause {
    margin-top: 42px;
    float: right;
    margin-right: 5px;
    margin-bottom: 1px;
    height: 20px;
    width: 20px;
    background: url(../images/pause.png) no-repeat;
}

.lightbox2-alt-layout-data #bottomNavClose,
.lightbox2-alt-layout #bottomNavClose {
    margin-top: 93px;
}

.lightbox2-alt-layout-data #bottomNavZoom,
.lightbox2-alt-layout-data #bottomNavZoomOut,
.lightbox2-alt-layout #bottomNavZoom,
.lightbox2-alt-layout #bottomNavZoomOut {
    margin-top: 93px;
}

.lightbox2-alt-layout-data #lightshowPlay,
.lightbox2-alt-layout-data #lightshowPause,
.lightbox2-alt-layout #lightshowPlay,
.lightbox2-alt-layout #lightshowPause {
    margin-top: 102px;
}

.lightbox_hide_image {
    display: none;
}

#lightboxImage {
    -ms-interpolation-mode: bicubic;
}


/*-------------------------*/


/*---galleria-lightbox-----*/


/*-------------------------*/

.galleria-lightbox-image {
    top: 1px !important;
    left: 1px !important;
    right: 1px !important;
    bottom: 1px !important;
}

.galleria-lightbox-prev {
    left: 10px !important;
}

.galleria-lightbox-next {
    right: 11px !important;
}

.galleria-lightbox-close {
    display: none;
}


/*-------------------------*/


/*----------footer---------*/


/*-------------------------*/

#section-footer {
    margin-top: 4em;
    margin-bottom: 2em;
    border-top: 1.25em solid black;
    background-color: white;
}

#section-footer .loghi-sponsor a {
    display: block;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

#section-footer .logo-vda {
    display: block;
    margin: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}

.typekit-badge {
    display: none !important;
}


/*WIDGET TURISMO*/

#Opera21_xdms_widget {
    width: 99% !important;
    margin: auto;
}

#Opera21_xdms_widget_head {
    display: none !important;
}

.Opera21_xdms_widget_wrapper {
    min-height: 230px !important;
    padding: 10px 5px !important;
}


/*MENU FISHMENU*/

.sf-navbar {
    position: static;
}

.sf-menu {
    font-size: 1em;
}

.sf-menu a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 300;
}

.sf-menu.sf-style-white.sf-navbar li ul {
    background-color: #EDEDED;
    margin-top: 1px;
}

.sf-menu.sf-style-white.sf-navbar li ul li ul {
    background-color: #EDEDED;
    margin-top: 0px;
}

.sf-menu.sf-style-white li,
.sf-menu.sf-style-white.sf-navbar {
    background: #EDEDED;
}

.sf-menu.sf-style-white a {
    color: #555;
    padding: 0.75em 1em;
}

.sf-menu li {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #ddd;
}

.sf-menu.sf-style-white li.sfHover,
.sf-menu.sf-style-white li.active a,
.sf-menu.sf-style-white a:focus,
.sf-menu.sf-style-white a:active,
.sf-menu.sf-style-white.sf-navbar li li {
    /*background: #F4C93A;*/
    background: #dfdfdf;
}

.sf-menu.sf-style-white li.active-trail-fish {
    background: #cfcfcf !important;
}


/* NICE MENU */

#block-nice-menus-1 {
    display: block;
    position: relative;
    background: none repeat scroll 0 0 #000;
    z-index: 12 !important;
}

ul.nice-menu,
ul.nice-menu ul {
    position: absolute;
    z-index: 11 !important;
}

ul.nice-menu,
ul.nice-menu ul,
ul.nice-menu li {
    border: 0;
    background-color: #000;
}

ul.nice-menu ul {
    margin-top: .75em
}

ul.nice-menu ul ul {
    margin-top: 1px;
}

ul.nice-menu a {
    color: #fff;
    font-size: 11px;
    font-weight: normal;
    padding: 0.75em .8em;
    text-decoration: none;
    text-transform: uppercase;
}

ul.nice-menu-down .menuparent a {
    padding-right: .8em;
    height: auto;
}

ul.nice-menu-down li.menuparent,
ul.nice-menu-down li li.menuparent,
ul.nice-menu-down li.menuparent:hover {
    background-image: none;
    background-color: #000;
}

ul.nice-menu-down li:hover,
ul.nice-menu-down li li.menuparent:hover {
    background-color: #333;
}


/* LINKS PIEDE DEL NODO */

.node-links ul li a,
.comment-links ul li a {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 10px 20px;
    text-shadow: #fff 0 1px 1px;
    background: #ededed;
    border: none !important;
}


/* ICONE SOCIAL */

.rrssb a {
    border: none !important;
}


/*FOOTER*/

#block-block-7 {
    text-align: center;
    clear: both;
}

.testi-footer {
    display: block;
    clear: both;
    padding-top: 20px;
    width: 99%;
    text-align: center;
    font-size: .8em;
    color: #777;
}


/*DISABLED VIA CSS MOBILE*/

#block-block-8 {
    display: none;
}


/*END DISABLED*/


/*CITAZIONE*/

blockquote {
    font-weight: 100;
    font-size: 1.6em;
    line-height: 1em;
    color: #555;
    text-transform: lowercase;
    font-style: italic;
    padding: 40px 10px 10px 80px;
    display: block;
}

blockquote em {
    font-weight: 100;
    font-size: .8em;
    color: black;
    text-transform: lowercase;
    font-style: italic;
    text-align: right;
    clear: both;
    padding-left: 220px;
    line-height: 5em;
}


/*END CITAZIONE*/


/*FOTO GRANDE A LATO e TRACKSLIDER*/

#block-views-elementi-del-nodo-block-1 {
    text-align: center;
    /* padding: 10px; */
    margin-top: 33px;
    margin-bottom: 10px;
}

#block-views-elementi-del-nodo-block-1 img {
    width: 100% !important;
    height: auto !important;
}

#views_slideshow_cycle_main_track_slider-track_finder_block img {
    width: 100% !important;
    height: auto;
}


/*FINE FOTO GRANDE*/


/*LIBRI*/

.view-display-id-block_elenco_libri_per_tassonomia td.views-field-field-image {
    text-align: center;
}


/*FINE LIBRI*/


/*MEDIA CENTER*/

.view-media-center .view-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.view-media-center .views-row {
    /* float: left; */
    /* border: 1px solid #efefef; */
    padding: 5px;
    margin-right: 1px;
    /* min-width: 458px; */
    /* margin-top: 1px; */
    width: 30%;
}

.view-media-center.view-display-id-page_2 .views-row {
    /* float: left; */
    /* border: 1px solid #efefef; */
    padding: 5px;
    margin-right: 1px;
    /* min-width: 458px; */
    width: 30%;
}


/*FINE MEDIA CENTER*/


/*BANNERS HOME PAGE*/

.view-banner-colonna .views-row img {
    box-shadow: 0 0 7px 0px #dedede;
    height: 120px;
    width: auto;
}

div#block-views-banner-colonna-block .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 20px 10px;
    align-items: center;
}

.view-banner-colonna .views-row {
    margin-bottom: 20px;
    /* width: 32%; */
    float: left;
    /* margin: 10px;*/
}


/*BLOCCO ELENCO NEWS E BLOGS*/

.view-stampa-news .views-field-title {
    font-size: 0.9em;
    line-height: 1.1em;
}

.view-stampa-news .views-field-created-1 {
    line-height: 1.1em;
    color: #666;
}


/*LIVE GARA */

#block-block-18 {
    text-align: center;
    margin: 20px;
}

#block-block-36 {
    text-align: center;
    margin: 20px;
}

#live-tor-x-button {
    text-align: center
}

#live-tor-x-button h2 {
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
}

#live-tor-x-button a {
    color: #fefefe;
    background: #e9520e;
    width: max-content;
    padding: 4px 10px;
    border-radius: 3px;
    display: block;
    letter-spacing: 1px !important;
    margin: auto;
    text-transform: uppercase;
    text-decoration: none;
    font-style: oblique;
}

#live-tor-x-button a:hover {
    background-color: #fdcc02;
    color: black;
}

.live-tor-x-mini-title {
    text-align: center;
    margin: 0 0 2px;
    background-color: #e1e1e1;
    color: black;
    /* border-bottom: 1px solid white; */
    padding: 2px;
    font-weight: bold;
}

#block-block-11 {
    background-image: url(/sites/default/files/media/Grafica%20sito/background.png);
    overflow: hidden;
}

.live-gare-button {
    margin: 5px 15px;
    text-align: center;
}


/*ADMIN FORMS*/

#edit-default-values-field-tdg-tags-und {
    height: 330px;
    width: 100px;
}

.view-media-center .views-field-edit-node {
    text-align: right;
}

.view-media-center .views-field-edit-node a {
    color: #555555;
    padding: 3px;
    font-family: arial, helvetica;
    font-size: 0.6em;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #ddd;
}


/*
SPONSORS FOOTER
*/

.vista-blocchi-sponsor .view-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.views-row.piede-sponsor {
    width: 130px;
}

.views-row.piede-sponsor.piede-main-sponsor {
    width: 250px;
}

.views-row.piede-sponsor.piede-gold-sponsor {
    width: 200px;
}

.views-row.piede-sponsor.piede-silver-sponsor {
    width: 150px;
}

.piede-sponsor a {
    margin: 10px;
    box-shadow: 0px 0px 10px #ddd;
    display: block;
    padding: 5px;
}

#block-views-tutti-i-loghi-block-1,
#block-views-tutti-i-loghi-block-2,
#block-views-tutti-i-loghi-block-3,
#block-views-tutti-i-loghi-block-4,
#block-views-tutti-i-loghi-block-5,
#block-views-tutti-i-loghi-block-6,
#block-views-tutti-i-loghi-block-12 {
    float: left;
    margin: 0 8px 0 8px;
    text-align: center;
}

#block-views-tutti-i-loghi-block-1 table {
    border: 0;
}

#block-views-tutti-i-loghi-block-2 table,
#block-views-tutti-i-loghi-block-3 table,
#block-views-tutti-i-loghi-block-4 table,
#block-views-tutti-i-loghi-block-5 table,
#block-views-tutti-i-loghi-block-6 table,
#block-views-tutti-i-loghi-block-12 table {
    border: 0;
    /*border-left: 1px solid #999;*/
}

#block-views-tutti-i-loghi-block-1 img,
#block-views-tutti-i-loghi-block-2 img,
#block-views-tutti-i-loghi-block-3 img,
#block-views-tutti-i-loghi-block-4 img,
#block-views-tutti-i-loghi-block-5 img,
#block-views-tutti-i-loghi-block-6 img,
#block-views-tutti-i-loghi-block-12 img {
    background-color: #fff;
}

#zone-footer .block-title {
    color: #CECECE;
    font-size: 22px;
    margin-top: 20px;
}

#zone-footer section,
.page-node-298 #zone-content section,
.page-node-502 #zone-content section,
.page-node-732 #zone-content section,
.page-node-845 #zone-content section,
.page-node-797 #zone-content section {
    clear: both;
    width: 100%;
}

#zone-footer .block-tutti-i-loghi-block-3 .content,
#zone-footer .block-tutti-i-loghi-block-5 .content,
#zone-footer .block-tutti-i-loghi-block-12 .content {
    /* background-color: #efefef; */
}

#zone-content .block-tutti-i-loghi-block-3 .content,
#zone-content .block-tutti-i-loghi-block-5 .content,
#zone-content .block-tutti-i-loghi-block-12 .content {
    background-color: white;
    border-radius: 5px;
}

#zone-footer .content,
.page-node-298 #zone-content .content,
.page-node-502 #zone-content .content,
.page-node-732 #zone-content .content,
.page-node-845 #zone-content .content,
.page-node-797 #zone-content .content {
    padding: 10px 0;
}

#block-views-tutti-i-loghi-block-1 img {
    width: 350px;
    height: auto;
}

#block-views-tutti-i-loghi-block-3 img {
    width: 220px;
    height: auto;
}

#block-views-tutti-i-loghi-block-1 .block-title {
    font-size: 30px;
}

#block-block-14 {
    position: absolute;
    z-index: 100;
    /* width: 380px; */
    padding: 0px;
    margin: 0px;
    /*top: -56px;*/
    top: 7px;
    right: 0px;
}

#block-system-main {
    margin-top: 20px;
}

.iscributton {
    background-color: #fdcc02 !important;
    -webkit-border-top-left-radius: 2px !important;
    -moz-border-radius-topleft: 2px !important;
    border-top-left-radius: 2px !important;
    -webkit-border-top-right-radius: 2px !important;
    -moz-border-radius-topright: 2px !important;
    border-top-right-radius: 2px !important;
    -webkit-border-bottom-right-radius: 2px !important;
    -moz-border-radius-bottomright: 2px !important;
    border-bottom-right-radius: 2px !important;
    -webkit-border-bottom-left-radius: 2px !important;
    -moz-border-radius-bottomleft: 2px !important;
    border-bottom-left-radius: 2px !important;
    text-indent: 0 !important;
    display: inline-block !important;
    color: #000 !important;
    font-family: arial, helvetica, sans-serif;
    font-size: 18px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    height: 40px !important;
    line-height: 40px !important;
    text-decoration: none !important;
    text-align: center !important;
    margin-top: 10px;
    letter-spacing: -.5px;
    padding: 0 .5em;
}

a.iscributton.gosted {
    color: #a48400 !important;
}

.iscributton:hover {
    box-shadow: 0px 0px 20px #AAA;
}

.iscributton:active {
    position: relative !important;
    top: 1px !important;
}

.iscributton-blu {
    -moz-box-shadow: inset 0px 1px 0px 0px #97c4fe !important;
    -webkit-box-shadow: inset 0px 1px 0px 0px #97c4fe !important;
    box-shadow: inset 0px 1px 0px 0px #97c4fe !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0)) !important;
    background: -moz-linear-gradient(center top, #3d94f6 5%, #1e62d0 100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0') !important;
    background-color: #3d94f6 !important;
    -webkit-border-top-left-radius: 11px !important;
    -moz-border-radius-topleft: 11px !important;
    border-top-left-radius: 11px !important;
    -webkit-border-top-right-radius: 11px !important;
    -moz-border-radius-topright: 11px !important;
    border-top-right-radius: 11px !important;
    -webkit-border-bottom-right-radius: 11px !important;
    -moz-border-radius-bottomright: 11px !important;
    border-bottom-right-radius: 11px !important;
    -webkit-border-bottom-left-radius: 11px !important;
    -moz-border-radius-bottomleft: 11px !important;
    border-bottom-left-radius: 11px !important;
    text-indent: 0 !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-family: Trebuchet MS !important;
    font-size: 16px !important;
    font-weight: normal !important;
    font-style: normal !important;
    height: 50px !important;
    line-height: 50px !important;
    width: 450px !important;
    text-decoration: none !important;
    text-align: center !important;
    text-shadow: 1px 1px 0px #1570cd !important;
}

.iscributton-blu:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6)) !important;
    background: -moz-linear-gradient(center top, #1e62d0 5%, #3d94f6 100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6') !important;
    background-color: #1e62d0 !important;
}

.iscributton-blu:active {
    position: relative !important;
    top: 1px !important;
}

.view-random-stories .view-display-id-block_1 table {
    background-color: transparent;
}

.view-random-stories.view-display-id-block table {
    background-color: white;
}

.view-random-stories.view-display-id-block_1 td {
    width: 33%;
}

.view-random-stories td.views-field-field-image {
    padding-bottom: 0;
    width: 100px;
}

span.storie-titolo {
    font-weight: bold;
    text-transform: capitalize;
    font-size: 18px;
    letter-spacing: -.5px;
}


/* RETINA IMAGES */


/* PAGINA TAPPE */

.view-tutte-le-tappe .views-field.views-field-body {
    float: left;
    width: 50%;
    clear: left;
}

.view-tutte-le-tappe .views-row {
    display: block;
    clear: both;
    float: left;
}

.view-tutte-le-tappe .views-field.views-field-title {
    float: left;
    clear: both;
    margin-bottom: 1em;
    margin-top: 1em;
}

.view-tutte-le-tappe .views-field.views-field-body {
    float: left;
    width: 50%;
    clear: left;
}

.view-tutte-le-tappe .views-field.views-field-field-altimetria {
    float: right;
    clear: right;
}

select,
input[type="text"],
input[type="submit"],
input[type="email"] {
    background-repeat: no-repeat;
    background-position: right center;
    /* background-color: #e6e6e6; */
    /* background-image: none; */
    padding-right: 20px;
    height: 34px;
    overflow: hidden;
    border: 1px solid #292929;
    /* text-shadow: 1px 1px 1px #FFEBB0; */
    color: #000;
    font-weight: bold;
    padding-left: 10px;
    border-radius: 5px;
}

select,
input[type="text"] {
    min-width: 50%;
    max-width: 100%;
}

select {
    background-image: url(/sites/all/themes/omega/omega/images/select-arrow.gif);
}

input[type="submit"] {
    padding-left: 20px;
    border-radius: 2px;
    background-color: #fdcc02;
}

.views-exposed-form .views-exposed-widget .form-submit {
    margin-top: 21px;
}


/* NEWS MASONRY */

.masonry-item {
    width: 330px;
    margin: 0 9px;
    padding: 8px 8px 0;
    height: 160px;
    flex: 0 0 auto;
    background-color: #fff;
    /* border: 1px solid #dedede; */
    box-shadow: 0 0 7px 0px #dedede;
}

.masonry-item .views-field-field-image {
    width: 168px;
    float: left;
    height: 169px;
    /* border-radius: 10px; */
    margin-left: -8px;
    margin-top: -8px;
    margin-bottom: -8px;
}

.masonry-item .home-data-inserimento {
    font-size: 12px;
    margin-bottom: 2px;
    color: gray;
}

.masonry-item img {
    max-width: 100%;
    height: auto;
    background-color: white;
}

#zone-content-wrapper .masonry-item .views-field-title a:link,
#zone-content-wrapper .masonry-item .views-field-title a:visited {
    text-decoration: none;
    font-size: 14px;
    line-height: 1.1em;
    letter-spacing: 0px;
    text-transform: none;
    color: #000;
    font-weight: bold;
    border-bottom: none;
}

#zone-content-wrapper .masonry-item a:hover {
    padding-left: 0;
    padding-right: 0;
    text-decoration: underline !important;
    background-color: initial;
}

.masonry-item .views-field-title {
    bottom: 0;
    padding: 0 0px 15px 10px;
    /* background-color: #fdcc02; */
    /* background-color: #eee; */
    display: block;
    width: 160px;
    float: left;
    font-weight: bold;
    font-size: 1rem;
}

.masonry-item .views-field-title a:hover {
    /* color: #003466; */
    text-decoration: underline;
    background-color: initial;
    padding-left: initial;
    padding-right: initial;
}

.masonry-item a img {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    max-width: 100%;
    height: auto;
    /* border-radius: 10px; */
}

.masonry-item a img:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}


/* TRACCE CORRELATE MASONRY */

.view-track-correlate .masonry-item {
    width: 360px;
    margin-bottom: 4px
}

.view-track-correlate .masonry-item .views-field-title {
    background-color: #5d3341;
}


/* RANDOM STORIES MASONRY */

.view-random-stories .masonry-item {
    width: 100%;
    background-color: #009fe3;
    margin: 10px 0;
}

.view-random-stories .masonry-item .views-field-title {
    position: absolute;
    top: 0;
    left: 150px;
    background-color: rgba(0, 0, 0, 0);
    width: 205px;
}

#zone-content-wrapper .view-random-stories .masonry-item .views-field-title a:link {
    color: #ededed;
    font-size: 16px;
    letter-spacing: 0px;
}

#zone-content-wrapper .view-random-stories .masonry-item .views-field-title a:link,
#zone-content-wrapper .view-random-stories .masonry-item .views-field-title a:visited {
    color: #fff;
}

.view-random-stories .masonry-item img {
    width: 150px;
    height: auto;
}


/* GALLERY MASONRY */

#block-views-in-node-gallery-block .view-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.masonry-item-gallery {
    width: 33%;
    margin-bottom: 2px;
}


/* FILE ICONS E DIDA */

span.file {
    min-height: 38px;
}

.file a {
    font-size: 18px;
    line-height: 20px;
    /* margin-left: 50px; */
    display: block;
    float: left;
    /* width: 250px; */
    /* min-height: 38px; */
    font-weight: bold;
    letter-spacing: -1px;
}

.file img {
    margin-right: 1em;
    float: left;
}

.view-elementi-del-nodo table,
.view-elementi-del-nodo tbody,
.view-elementi-del-nodo tfoot,
.view-elementi-del-nodo thead,
.view-elementi-del-nodo tr,
.view-elementi-del-nodo th,
.view-elementi-del-nodo td {
    border-color: transparent !important;
}

.view-id-elementi_del_nodo .views-row {
    clear: both;
    margin: 1.5rem 0;
}


/* LINKS ESTERNI e MAPPE */

#block-views-elementi-del-nodo-block .field-content {
    font-size: 25px;
    letter-spacing: -1px;
    color: #fd7100;
}

#block-views-track-correlate-block-5 .field-content {
    font-size: 18px;
    letter-spacing: -1px;
    color: #fd7100;
}

#block-views-elementi-del-nodo-block .field-content a,
#block-views-track-correlate-block-5 .field-content a {
    margin-left: 5px;
}


/* TOR TV 2016 */

.node-type-webtv h1 {
    margin: 0;
    text-align: center;
    font-size: 30px;
    color: #000;
    background-color: #fdcc02;
    line-height: 36px;
}

.node-type-webtv div.field-name-body {
    text-align: center;
    padding-bottom: 5px;
    /* border-bottom: 10px solid #000; */
    margin-bottom: 25px;
    background-color: #000;
    padding-top: 10px;
}

.node-type-webtv div.field-name-field-videoteca .field-item {
    float: left;
    margin: 2px 5px;
}


/* SUBMITTED */

.submitted {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    background-color: #cccccc;
    padding-left: .5em;
    display: block;
    /* float: left; */
    /* clear: both; */
    width: 200px;
}

.submitted .username {
    display: none;
}

#block-views-gallery-top-banner-block-1 .view-content div.contextual-links-wrapper {
    right: 200px;
}

.owl-wrapper {
    /* height: 90vh; */
    overflow: hidden;
}

.owl-item img {
    width: 100%
}

.gmnoprint.gm-style-mtc {
    bottom: 80px;
    top: initial !important;
}

.gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom {
    left: 0px;
}


/* BLOCCO LINGUE */

div#block-lang-dropdown-language {
    position: fixed;
    z-index: 10;
    right: 20px;
    top: 10px;
}

.ddsDark .dd-pointer {
    right: 4px;
}

.ddsDark .dd-select {
    border: none;
    background: #ffffff !important;
    border-radius: 0;
}

.ddsDark .dd-options {
    background: none repeat scroll 0 0 #292f3391;
    box-shadow: none;
    border: 0;
}

.ddsDark .dd-option {
    text-transform: uppercase;
}

.ddsDark .dd-pointer-down {
    border-color: #000 rgba(255, 255, 255, 0) rgba(255, 255, 255, 0);
}

.ddsDark .dd-selected {
    color: #000;
    display: block;
    font-weight: bold;
    overflow: hidden;
    padding: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.ddsDark .dd-selected:hover {
    text-decoration: none;
    color: #191919;
    background-color: #fcc937;
}

div#block-views-tor-live-estratto-block {
    width: 295px;
    float: left;
    margin: 0;
    padding-top: 30px;
}

div#block-block-42 {
    position: absolute;
    top: 160px;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
    z-index: 1;
    left: 35px;
}

div#block-block-31 {
    position: absolute;
    top: -150px;
}

.not-front div#block-block-31 {
    position: unset;
    margin: auto;
    display: block;
    width: fit-content;
}

div#block-block-31 img {
    /* border-radius: 10px; */
}

#zone-menu .colonna {
    padding: 0 2px;
    width: 275px !important;
    margin: 10px 5px 0;
    float: left;
    text-align: center;
}

#zone-menu .colonna.loghi {
    width: 100px !important;
}


/* SPONSOR TESTATA */

div#block-block-29 {
    position: fixed;
    z-index: 10;
    width: 150px;
    right: 30px;
    top: 25px;
}

#sponsor-testata img {
    border-radius: 5px;
}


/* ACCORDION */

h3.ui-accordion-header {
    padding: 6px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #ddd;
    background-image: none;
    color: #0091f9;
}

p.ui-accordion-content {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 0;
    border-top: none;
}


/* BOOKING ONLINE */

div#block-block-32 {
    width: 400px;
}


/* COLORBOX NEWSLETTER */

#cboxOverlay {
    background-color: #000000a6;
}
#cboxClose {
    top: 2px;
    right: 6px;
}

.sib-form {
    padding: 0;
    max-width: 95vw;
}   

.sib-form-block__button {
    background: none;
}

:focus-visible {
    outline-color: rgba(255, 255, 255, 0.568);
    outline-width: 1px;
    outline-style: solid;
}

/* MEDIA QUERIES */

@media all and (max-width: 1024px) {
    iframe#yt-streaming-live {
        width: 80%;
        height: 160px;
        padding: 2%;
        margin: 4% auto;
        display: block;
    }
    #block-block-14 {
        text-align: center;
        position: initial;
    }
    #block-block-14 img {
        margin: 10px 5px 0 5px;
    }
    .file a,
    #block-views-elementi-del-nodo-block .field-content a {
        font-size: 14px;
        line-height: 17px;
        display: block;
        float: none;
        letter-spacing: 0;
        margin-left: 40px;
    }
    #block-views-elementi-del-nodo-block .field-content i.fa {
        float: left;
    }

}

@media all and (max-width: 700px) {
    html body.admin-menu.not-front,
    body.not-front {
        margin-top: 77px !important;
    }
    h1.title {
        font-size: 2rem;
        /* font-weight: normal; */
        /* line-height: 1.1em; */
        letter-spacing: -1px;
    }
    .sm-hide {
        display: none !important;
    }
    .testata {
        text-align: center !important;
    }
    #zone-menu-wrapper {
        margin-bottom: 0px;
    }
    div#block-block-31 {
        position: inherit;
        top: unset;
    }
    div#block-block-31 img {
        /* border-radius: 15px; */
    }
    div#block-block-29 {
        width: 100px;
        line-height: 5px;
        right: 10px;
        top: 10px;
        display: none;
    }
    #zone-menu .colonna {
        padding: 0;
        width: 100% !important;
        margin: 10px 0;
    }
    #zone-menu .colonna.loghi {
        width: 21% !important;
        padding: 0 2%;
    }
    div#block-views-tor-live-estratto-block {
        width: 100%;
        text-align: center;
    }
    div#block-block-42 {
        position: absolute;
        top: 90px;
        font-size: 18px;
        color: #fff;
        font-weight: 700;
        z-index: 1;
        left: 15px;
    }

    /* BLOCCO LINGUE */
    div#block-lang-dropdown-language {
        top: 5px;
        position: fixed;
        right: 10px;
        z-index: 110;
        margin-top: 0;
    }
    .gmap-map {
        height: 210px !important;
    }
    .galleria-container {
        min-height: 350px;
    }
    #block-views-gallery-top-banner-block-1 {
        /* height: 192px; */
        overflow: hidden;
    }
    .owl-wrapper {
        /* height: 290px; */
    }
    /* HEADER */
    #fixed-branding {
        border-top: 0;
        min-height: 77px;
        border-bottom: 0;
        position: fixed;
        z-index: 100;
    }
    .front #fixed-branding {
        background-color: #191919 !important;
        min-height: 77px;
    }
    .branding-data {
        left: 0;
        top: 0;
        /* width: 130px; */
        padding: 0 2px;
    }
    div#block-block-2 {
        position: absolute;
        z-index: 1;
        left: 91px;
        /*background-color: rgba(0, 0, 0, 0.47);*/
        top: 15px;
        padding: 5px 5px 5px;
        height: 63px;
        display: none;
    }
    img#logo {
        width: 120px;
        height: auto !important;
        margin-bottom: 10px;
    }
    a.apri-menu-branding {
        font-size: 50px;
        margin-right: 20px;
        margin-left: 10px;
    }
    h1.site-name,
    h2.site-name,
    h1.site-name a,
    h2.site-name a {
        font-size: inherit;
        line-height: inherit;
        font-weight: bold;
        padding: 0;
    }
    #block-block-2 p {
        padding: 0;
        font-size: 10px;
        margin-bottom: 2px;
        line-height: 1em;
        margin-left: 2px;
    }
    #block-locale-language {
        background-color: rgba(0, 0, 0, 0.47);
        right: 10px;
        top: 10px;
    }
    .language-switcher-locale-url li {
        padding: 0 2px;
        line-height: 20px;
    }
    #block-locale-language a,
    #block-locale-language a:visited {
        font-size: 10px;
    }
    #block-block-3 {
        position: absolute;
        top: -65px;
    }
    #block-block-3 ul li {
        font-size: 20px;
        padding: 0 5px 0 0;
        line-height: 30px;
    }
    #block-views-stampa-titolo-block {
        /* bottom: 20px; */
        font-size: 15px;
        font-weight: 600;
        line-height: 17px;
        text-align: center;
    }
    #block-block-5 {
        bottom: 10px;
    }
    #block-block-5 h2.block-title {
        font-size: 10px;
    }
    .blocco-cntdw {
        width: 40px;
        padding: 2px 0;
        margin: 0 2px 0 0;
        float: left;
        text-align: center;
        font-size: 9px;
        font-weight: 600;
        line-height: 10px;
    }
    #block-views-tutti-i-loghi-block-1 img {
        max-width: 80%;
        height: auto;
        margin: 10px auto;
    }
    .masonry-item {
        /* width: 100%; */
        /* height: auto; */
    }
    .view-banner-colonna .views-row img {
        width: 100%;
        height: auto;
    }
    /* BOOKING ONLINE */
    div#block-block-32 {
        width: 100%;
    }
    /* HEADER SPONSOR MOBILE */
    div#block-views-tutti-i-loghi-block-14,
    div#block-views-tutti-i-loghi-block-14.nav-fade {
        position: fixed;
        z-index: 10;
        top: 50vh;
        right: 0;
        left: unset;
        width: 50px;
        box-shadow: 0 0 7px #989898;
        margin-top: -80px;
    }
    #block-views-tutti-i-loghi-block-14.nav-fade .views-row {
        padding: 3px;
        width: 70px;
    }
}

@media (max-width: 600px) {
    .view-id-gallery_top_banner {
        margin-top: 70px;
    }
}

@media (max-width: 450px) {
    .view-id-gallery_top_banner {
        margin-top: 70px;
    }
}

@media (max-width: 320px) {
    .view-id-gallery_top_banner {
        margin-top: 70px;
    }
}

@media all and (min-width: 701px) {
    .nav-fade {
        background-color: #191919 !important;
        min-height: 95px !important;
    }
    .nav-fade a.apri-menu-branding {
        font-size: 30px;
    }
    .nav-fade img#logo {
        height: 45px !important;
    }
    div#block-block-2.nav-fade {
        left: 190px;
        top: 18px;
        min-height: fit-content !important;
        background-color: transparent !important;
    }
}