﻿@import url(http://fonts.googleapis.com/css?family=Roboto+Slab);
@import url(http://fonts.googleapis.com/css?family=Merriweather+Sans:300);

#social {
    height: 32px;
    margin-top: 8px;
    margin-left: 5px;
}

    #social a {
        width: 32px;
        height: 32px;
        display: inline-block;
        text-indent: -1000em;
        margin-right: 5px;
        background-repeat: no-repeat;
        background-position: 0 0;
    }

    #social #twitter {
        background-image: url(twitter.png);
    }

    #social #facebook {
        background-image: url(icone/facebook.png);
    }

    #social #linkedin {
        background-image: url(linkedin.png);
    }

    #social #youtube {
        background-image: url(icone/youtube.png);
    }

h1.elegantshadow {
    color: #131313;
    background-color: #e7e5e4;
    letter-spacing: .15em;
    text-shadow: 1px -1px 0 #767676, -1px 2px 1px #737272, -2px 4px 1px #767474, -3px 6px 1px #787777, -4px 8px 1px #7b7a7a, -5px 10px 1px #7f7d7d, -6px 12px 1px #828181, -7px 14px 1px #868585, -8px 16px 1px #8b8a89, -9px 18px 1px #8f8e8d, -10px 20px 1px #949392, -11px 22px 1px #999897, -12px 24px 1px #9e9c9c, -13px 26px 1px #a3a1a1, -14px 28px 1px #a8a6a6, -15px 30px 1px #adabab, -16px 32px 1px #b2b1b0, -17px 34px 1px #b7b6b5, -18px 36px 1px #bcbbba, -19px 38px 1px #c1bfbf, -20px 40px 1px #c6c4c4, -21px 42px 1px #cbc9c8, -22px 44px 1px #cfcdcd, -23px 46px 1px #d4d2d1, -24px 48px 1px #d8d6d5, -25px 50px 1px #dbdad9, -26px 52px 1px #dfdddc, -27px 54px 1px #e2e0df, -28px 56px 1px #e4e3e2;
}
/*font awesome*/
/*!
 *  Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* FONT PATH
 * -------------------------- */
@font-face {
    font-family: 'FontAwesome';
    src: url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0//fonts/fontawesome-webfont.eot?v=4.4.0');
    src: url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0//fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0//fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0//fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0//fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0//fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1.insetshadow {
    background-color: transparent;
    letter-spacing: .1em;
    text-shadow: -1px -1px 1px #004FA7, 2px 2px 1px #87C7FF;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* makes the font 33% larger relative to the icon container */
.fa-lg {
    font-size: 1.33333333em;
    line-height: 0.75em;
    vertical-align: -15%;
}

.fa-2x {
    font-size: 2em;
}

.fa-3x {
    font-size: 3em;
}

.fa-4x {
    font-size: 4em;
}

.fa-5x {
    font-size: 5em;
}

.fa-fw {
    width: 1.28571429em;
    text-align: center;
}

.fa-ul {
    padding-left: 0;
    margin-left: 2.14285714em;
    list-style-type: none;
}

    .fa-ul > li {
        position: relative;
    }

.fa-li {
    position: absolute;
    left: -2.14285714em;
    width: 2.14285714em;
    top: 0.14285714em;
    text-align: center;
}

    .fa-li.fa-lg {
        left: -1.85714286em;
    }

.fa-border {
    padding: .2em .25em .15em;
    border: solid 0.08em #eeeeee;
    border-radius: .1em;
}

.fa-pull-left {
    float: left;
}

.fa-pull-right {
    float: right;
}

.fa.fa-pull-left {
    margin-right: .3em;
}

.fa.fa-pull-right {
    margin-left: .3em;
}
/* Deprecated as of 4.4.0 */
.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.fa.pull-left {
    margin-right: .3em;
}

.fa.pull-right {
    margin-left: .3em;
}

.fa-spin {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}

.fa-pulse {
    -webkit-animation: fa-spin 1s infinite steps(8);
    animation: fa-spin 1s infinite steps(8);
}

@-webkit-keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes fa-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.fa-rotate-90 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.fa-rotate-180 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.fa-rotate-270 {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

.fa-flip-horizontal {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
    -webkit-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.fa-flip-vertical {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
    -webkit-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    transform: scale(1, -1);
}

:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270,
:root .fa-flip-horizontal,
:root .fa-flip-vertical {
    filter: none;
}

.fa-stack {
    position: relative;
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    vertical-align: middle;
}

.fa-stack-1x,
.fa-stack-2x {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
}

.fa-stack-1x {
    line-height: inherit;
}

.fa-stack-2x {
    font-size: 2em;
}

.fa-inverse {
    color: #ffffff;
}

.fa-facebook-square:before {
    content: "\f082";
}

.fa-facebook-f:before,
.fa-facebook:before {
    content: "\f09a";
}

.fa-youtube-square:before {
    content: "\f166";
}

.fa-youtube:before {
    content: "\f167";
}

.fa-bars:before {
    content: "\f0c9";
}

.fa-arrow-left:before {
    content: "\f060";
    /*text-shadow: -1px 0 #0017C2, 0 1px #0017C2, 1px 0 #0017C2, 0 -1px #0017C2;*/
    color: rgba(0,0,0,0.25);
}

.fa-chevron-left:before {
    content: "\f053";
    /*text-shadow: -1px 0 #0017C2, 0 1px #0017C2, 1px 0 #0017C2, 0 -1px #0017C2;*/
    color: rgba(0,0,0,0.25);
}

.fa-circle:before {
    content: "\f111";
}
/*font awesome*/
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
    padding: 0px 0px 0px 12px;
}

#back_to_top {
    position: fixed;
    bottom: 15px;
    right: 30%;
    cursor: pointer;
    z-index: 100;
}

#panelleft {
    animation-name: example2;
    animation-duration: 4s;
}

#panelleft {
    position: relative;
    width: 50%;
    float: left;
    background-color: #F9F9D9;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /*-webkit-transition: left 3s ease-in-out;
    -moz-transition: left 3s ease-in-out;
    -o-transition: left 3s ease-in-out;
    transition: left 3s ease-in-out;*/
}

#img1 {
    position: absolute;
    clip: rect(0px, 615px, 690px, 0px);
}

#panelright {
    position: relative;
    top: 0;
    width: 50%;
    float: right;
    background-color: #F9F9D9;
    margin-right: 0%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /*-webkit-transition: left 3s ease-in-out;
    -moz-transition: left 3s ease-in-out;
    -o-transition: left 3s ease-in-out;
    transition: left 3s ease-in-out;*/
}

#img2 {
    position: absolute;
    clip: rect(0px, 1230px, 690px, 614px);
    margin-left: -614px;
}

#main {
    position: absolute;
    left: 20%;
    top: 0;
    width: 60%;
    z-index: 0;
    padding: 10px;
    overflow-x: hidden;
}

#container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: beige;
    /*overflow: hiddden;*/
}

#img11 {
    float: right;
    height: 100%;
    width: 100%;
}

#img12 {
    float: left;
    height: 100%;
    width: 100%;
}

#footer {
    border-top: solid 2px rgb(207, 48, 70);
    padding: 1em;
}

    #footer h3 {
        text-align: center;
        font-size: 0.8em;
        color: blue;
    }

.logo2 {
    float: right;
    padding-right: 1.5em;
}

.top-menu, .submenu {
    position: fixed;
    height: 35px;
    top: 0px;
    font-size: small;
    background-color: #E4504F;
    border-top: 1px solid #E35150;
    z-index: 10;
    display: none;
}

.submenu {
    z-index: 11;
}

#topdigamma {
    position: absolute;
    top: 10px;
    right: 1px;
}

#topback {
    position: absolute;
    top: 16px;
    left: 16px;
    margin-left: 8px;
    margin-bottom: -10px;
    display: none;
}

#sottotitolo {
    color: #404000;
    font-size: 1.25em;
    font-style: italic;
}

#titolo {
    text-align: center;
}

.barramobile {
    position: fixed;
    z-index: 20;
    background-Color: #fff7cc;
    top: 0;
    border: 1px solid #4D17C5;
    padding: 5px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.barrafissa {
    position: initial;
    background-color: transparent;
    box-shadow: none;
}

.btnavvisi {
    display: block;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    text-align: center;
    background: #cf3046;
    border: none;
    text-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    color: #F9F9D9;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 13px 8px 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    margin: 20px;
}

.email {
    font-style: italic;
    font-weight: 600;
}

.img-article {
    padding: 1em;
    padding: 2em;
    border: solid 1px red;
    margin-bottom: 2.5em;
}

.text-info {
    color: #444;
}

.post-format-link .genericon {
	font-size: 0.8em;
	line-height: 1.5;
}
body {
    color: #0017c4;
    color: #444;
    font-family: Merriweather Sans;
}

.nonspezzare {
    /*white-space:nowrap;*/
    overflow: hidden;
}

.trasparenza {
    opacity: 0.4;
}

a:hover, a:focus, a:active {
    color: #E22;
}

.margin0 {
    margin-top: 0px !important;
}

.well {
    padding: 5px;
}

.footer {
    padding-top: 1.5em;
    margin-top: 1.5em;
    text-align: center;
}

p.footer {
    font-size: 0.8em;
}

.hero {
    background-color: rgb(231, 79, 78);
    background-color: rgb(249, 249, 217); /*background-image: url('../immagini/altare22.jpg');*/
    ;
    background-position: 0px 68px;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 24px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px; /*outline-color: rgb(0, 0, 255);*/
    overflow: hidden;
    outline-style: none;
    outline-width: 0px;
    padding-bottom: 3em;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 4em;
    text-shadow: rgba(0, 0, 0, 0.498039) 0px 0px 4px;
    vertical-align: baseline;
    width: 100%;
    word-wrap: break-word;
}

    .hero.wrapper {
        position: relative;
        margin-top: -2.2em;
        background-color: rgba(249, 249, 217, 0.31);
        width: 100%;
    }

.hero-wrapper {
    position: absolute;
    margin-top: -2.2em;
}

.hero .page-title {
    text-align: left;
    color: rgb(249, 249, 217);
    margin-top: 0em;
    margin-left: 0.5em;
    padding-bottom: 2em;
    font-size: 2em;
    /*line-height: 73px;*/
    margin-bottom: 25px;
    color: #F9F9D9;
    /* WebKit (Safari/Chrome) Only */
    /*-webkit-text-stroke: 1px rgb(0, 23, 196);*/
    /* If we weren't using text-shadow, we'd set a fallback color
     and use this to set color instead
    -webkit-text-fill-color: white; */
    /*text-shadow: 2px 2px 0 rgb(231, 79, 78);*/
    ,
    /* Simulated effect for Firefox and Opera
       and nice enhancement for WebKit */
    -1px -1px 0 rgb(0, 23, 196);
    , 1px -1px 0 rgb(0, 23, 196);
    , -1px 1px 0 rgb(0, 23, 196);
    , 1px 1px 0 rgb(0, 23, 196);
    ;
}

.hero .homepage-title {
    margin-top: -2.5em;
    margin-left: 0.5em;
    padding-bottom: 2.5em;
}

article p, p.lead {
    font-size: 13px;
    font-family: "Oswald";
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    line-height: 26px;
    margin-bottom: 35px;
}

p.lead {
    margin-bottom: 35px;
    font-size: 1.2em;
    line-height: 28px;
    background-color: #efecca;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: rgb(231, 79, 78);
}

header h1, h2 {
    color: rgb(231, 79, 78);
}

header h2{
    text-align:center
}

aside h3 {
    text-align: center;
}

p {
    margin-bottom: auto;
}

.hero_img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    clear: both;
}

.gruppi {
    position: relative;
    left: 0;
    top: -90px;
    background-color: transparent;
}

.well {
    background-color: inherit;
    margin-bottom: 1em;
    margin-right: auto;
    margin-left: auto;
}

    .well h1 {
        margin-right: auto;
        margin-left: auto;
    }

#container, .site, article {
    background-color: rgb(249, 249, 217);
}

.main-navigation a {
    color: rgb(249, 249, 217);
}

.logo {
    display: inline-block;
    background-color: rgb(249, 249, 217);
    /*-webkit-box-shadow: 21px 20px 93px -1px rgba(153,144,153,1);
    -moz-box-shadow: 21px 20px 93px -1px rgba(153,144,153,1);
    box-shadow: 21px 20px 93px -1px rgba(153,144,153,1);*/
    margin-left: 1.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    /*http://www.cssmatic.com/box-shadow*/
}

.site-header {
    color: rgb(249, 249, 217);
    background-color: rgb(231, 79, 78);
}

.site-branding {
    float: left;
    width: 100%;
    margin-left: 0px;
}

.logo-title {
    float: right;
    padding: 20px;
    color: rgb(249, 249, 217);
}

.lead {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    text-decoration: none;
}

.img-indent {
    margin: 29px 0 28px 0;
}

.list-news {
    margin: 0 0 0 0;
    padding-top: 0;
    list-style-type: none;
}

    .list-news li {
        display: block;
        margin-top: 0;
    }

.btn_ {
    background: #cf3046;
    border: none;
    text-shadow: none;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
    color: #F9F9D9;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 13px 8px 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.fotobook {
    padding: 1em;
}

.btn {
    border-color: #c5c5c5;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
}

.btn_:hover, .btn_:focus {
    color: #cf3046;
    background: #F9F9D9;
}

a.btn_ {
    margin: 10px;
}

.list_link {
    margin: 0 0 0 0;
    padding-top: 6px;
    list-style-type: none;
}

.menulink {
    width: 70%;
}

.site-top-content {
    background-color: rgb(0, 23, 196);
    color: rgb(249, 249, 217);
}

.logo-description {
    /*float: right;*/
}

.site-description {
    display: inline-block;
    float: right;
    padding-right: 20px;
    color: rgb(249, 249, 217);
    margin-bottom: 15px;
    font-style: italic;
    font-weight: bold;
}

.site-top-content {
    display: none;
}

button {
    color: red;
}

.call-action {
    background-color: transparent;
    background-color: rgba(89,64,49,0.38);
    font-style: italic;
    font-weight: bold;
    font-size: 1.5em;
    padding: 10px 2em;
    position: absolute;
    top: 5em;
    color: #F9F9D9;
    border-color: rgba(231, 79, 78,0.60);
}

    .call-action.focus, .call-action:focus, .call-action:hover {
        color: #E74F4E;
        background-color: transparent;
    }

.indirizzo-footer {
    margin: auto auto;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 1px solid #4D17C5;
    padding: 5px;
    box-shadow: 10px 10px 5px grey;
    text-align: center;
    font-style: italic;
}

.nav > li.videofoto {
    display: none;
}

.infodeveloper {
    font-size: 12px;
}

.navbar {
    background-color: rgb(249, 249, 217);
    color: rgb(231, 79, 78);
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.navbar-default .navbar-nav > li > a {
    color: rgb(231, 79, 78);
    border: solid 0;
}

    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
        color: red;
    }

.navbar-default .navbar-nav > .active > a {
    color: rgb(249, 249, 217);
    background-color: rgb(231, 79, 78);
}

.nav > li > a {
    padding: 10px 10px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: rgb(231, 79, 78);
}

.navbar-toggle, button.navbar-toggle:active, button.navbar-toggle:hover, button.navbar-toggle:focus {
    background-color: #F9F9D9;
    padding-top: 0;
}

.icon-bar {
    background-color: #E74F4E;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: rgb(249, 249, 217);
    color: #0017c4;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: rgb(249, 249, 217);
    color: rgb(231, 79, 78);
}

.dropdown-menu > li > a {
    color: rgb(231, 79, 78);
    border: solid 0px;
    /*border-top-width: 1px;*/
    -webkit-box-shadow: 0 1px 0 white inset, 0 -1px 0 #d4d4d4 inset;
    box-shadow: 0 1px 0 white inset, 0 -1px 0 #d4d4d4 inset;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.3);
    padding: 10px 10px;
}

    .dropdown-menu > li > a:hover {
        color: red;
    }

.miniaddress {
    display: none;
}

.ordinearticolo {
    background-color: white;
    width: 100%;
    color: blue;
    text-align: right;
}

@media only screen and (max-width: 1230px) {
    .site-top-content {
        display: block;
    }

        .site-top-content.row {
            margin: 0;
        }

    .address {
        margin-top: 40px;
    }

    .site-description {
        /*display: none;*/
    }

    .logo-title {
        display: none; /*changed*/
    }

    .call-action {
        top: 3em;
    }
}



.thumbnail {
    display: block;
    margin: 0;
    line-height: 20px;
    border: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background: rgb(249, 249, 217);
}

    .thumbnail .caption {
        padding: 5px;
        background: #cf3046;
        -webkit-border-top-right-radius: 6px;
        -moz-border-radius-topright: 6px;
        border-top-right-radius: 6px;
        -webkit-border-top-left-radius: 6px;
        -moz-border-radius-topleft: 6px;
        border-top-left-radius: 6px;
        overflow: hidden;
    }

    .thumbnail h5 {
        margin: 0;
        color: rgb(249, 249, 217);
        text-align: center;
    }

    .thumbnail h3 {
        margin: 0;
        color: rgb(249, 249, 217);
        font-size: 1.5em;
        line-height: 2em;
        text-align: center;
    }

.listaorari {
    list-style: none;
    list-style-position: inside;
    text-align: center;
}

    .listaorari ul {
        list-style: none;
        margin-bottom: 2em;
    }

        .listaorari ul li, .listaorari dl dd{
            line-height: 1.5em;
            font-style: italic;
            font-weight: 600;
        }
        .listaorari dl dt{
                margin: 0 auto 24px;
    font-size: 1em;
    line-height: 1.5em;
    color:rgb(231, 79, 78)
        }
.well.listaorari {
    border: solid thin #CF3046;
}

.bollettino {
    border-top: medium solid rgb(231, 79, 78);
    padding-top: 1em;
}

.entry-title a {
    color: rgb(231, 79, 78);
}

#foto img {
    width: 25%;
    padding: 1%;
    float: left;
}
/*responsive typefonts*/
html {
    font-size: 16px;
}

.unbehaved-element {
    font-size: 2em;
}

@media(max-width: 1580px) {
    html {
        font-size: 15px;
    }

    .unbehaved-element {
        font-size: 1.9em; /* Fine tune unbehaved elements */
    }
}



@media(max-width: 768px) {
    html {
        font-size: 14px;
    }

    #videoefoto {
        display: none;
    }

    .nav > li.videofoto {
        display: block;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: rgb(231, 79, 78);
        border-top-width: 1px;
    }

    .navbar-default .navbar-nav > li:last-of-type {
        border: solid 0;
        border-bottom-width: 1px;
    }

    .top-menu, .submenu {
        display: block;
    }

    .top-menu {
        width: 100%;
        background-color: #CD0000;
        background-color: #CF3046;
    }

    .top-menu-item {
        height: 35px;
        padding: 2px;
        text-align: center;
        background-color: #CD0000;
        border-left: 1px solid #F8F8D8;
        vertical-align: middle;
        padding-top: 6px;
        border-bottom: 1px solid #F8F8D8;
    }

        .top-menu-item a, .top-menu-item a:active, .top-menu-item a:visited, .submenu a {
            color: #F9F9D9;
            display: block;
            height: 100%;
        }

    .submenu {
        top: 38px;
        width: 50%;
        margin-left: 20px;
        display: none;
        z-index: 100;
    }

        .submenu ul {
            list-style: none;
            background: #E74F4E;
            background: #CD0000;
            font-size: large;
            padding: 10px;
            border: 1px solid #F9F9D9;
            -webkit-box-shadow: 21px 20px 41px -1px rgba(153,144,153,1);
            -moz-box-shadow: 21px 20px 41px -1px rgba(153,144,153,1);
            box-shadow: 21px 20px 41px -1px rgba(153,144,153,1);
        }

            .submenu ul li {
                margin-top: 10px;
            }

                .submenu ul li a {
                    border-bottom: 1px solid white;
                }

    .hero {
        padding-top: 1em;
        padding-bottom: 2em;
    }

        .hero .homepage-title {
            text-align: left;
            color: rgb(231, 79, 78);
            margin-top: -3em;
            margin-left: 1em;
            padding-bottom: 3em;
            font-size: 2.2em;
            line-height: 1.2em;
            margin-bottom: 0.5em;
        }

    .gruppi {
        top: -60px;
    }

    .hero .page-title {
        text-align: left;
        color: rgb(249, 249, 217);
        margin-top: 0em;
        margin-left: 0.1em;
        padding-bottom: 1.2em;
        font-size: 1.3em;
        line-height: 1.2em;
        margin-bottom: 0.5em;
    }

    .dropdown-menu > li > a {
        font-size: larger;
    }

    .dropdown-menu > li:last-of-type {
        border: solid 0;
        border-bottom-width: 1px;
    }

    #topback {
        display: block;
        top: 47px;
        z-index: 90;
    }

    #logo {
        margin-top: 47px;
        margin-left: 4px;
    }

    #foto img {
        width: 32%;
    }

    .address {
        display: none;
    }

    .logo2 {
        height: 100px;
        width: auto;
        margin-top: -160px;
        margin-right: -1.5em;
    }

    #pannellonavigazione {
        position: absolute;
        margin-left: 60px;
        margin-top: 0px;
        z-index: 10;
        border: 2px solid rgb(231, 79, 78);
        background-color: #000DA2;
        height: 1px;
        display: none;
    }

    .navbar {
        min-height: 0px;
        border: solid 1px rgba(134, 18, 18, 0.8);
        background-color: #F9F9D9;
        -webkit-box-shadow: 21px 20px 41px -1px rgba(153,144,153,1);
        -moz-box-shadow: 21px 20px 41px -1px rgba(153,144,153,1);
        box-shadow: 21px 20px 41px -1px rgba(153,144,153,1);
        margin-left: 300px;
    }

    .navbar-default .navbar-nav > li > a {
        color: rgb(231, 79, 78);
    }

    .miniaddress {
        display: block;
    }

    .minisite-description {
        display: inline-block;
        float: left;
        color: #E74F4E;
        margin-bottom: 15px;
        font-size: small;
    }

    .call-action {
        top: 1.5em;
    }
}

@media(max-width: 480px) {
    html {
        font-size: 18px;
    }

    .hero-wrapper {
        margin-top: -1.2em;
    }

    .hero .page-title {
        font-size: 1em;
        margin-top: 0.2px;
    }

    .logo2 {
        display: none;
    }

    .navbar {
        margin-left: 120px;
        margin-top: 50px;
    }
    .call-action{
        padding: 10px ;
    }
}

@media(max-width: 320px) {
    #logo {
        width: 75%;
    }

    .hero {
        padding-top: 0em;
        padding-bottom: 1em;
    }

    .gruppi {
        top: -30px;
    }

    .navbar {
        margin-left: 38px;
        margin-top: 10px;
    }

    .call-action {
        display: none;
    }
}
.articolo img {
    transition: opacity 0.5s;
    display: block;
    width: 100%;
    position:relative;
}

    .articolo img:hover {
        transform: scale(2);
        translate: 50%;
        z-index:99999
    }