body {
    background: #2a2a2a;
    /*background: #ffffff;*/
    font-size: 16px;
    line-height: 150%;
    text-rendering: optimizeLegibility;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #222;
}

h1, h2, h3 { color:#2A2A2A; }

h1 {
    font-size: 20px;
    line-height: 150%;
    font-weight: 400;
    margin: 40px 0;
}

h1::before {
    position: absolute;
    content: '';
    width: 50px;
    height: 2px;
    width: 40px;
    z-index: 1;
    pointer-events: none;
    background-color: #CF131A;
}

h2 { font-size: 1em; text-transform: uppercase; line-height: 1.3em; font-weight:700; margin: 40px 0 10px 0; }

article h2 {
    text-transform: none;
    margin-top: 0px;
}

h3 { font-size: 1em; line-height: 1.3em; font-weight: inherit; margin: 20px 0 5px 0; }

a, a:visited {
    color: #CF131A;
    text-decoration:none;
    outline: 0;
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #333;
    text-decoration:none;
    outline:none;
}

p a, p a:visited {
    line-height: inherit;
}

::selection {
    background: #444;
    color: #fff;
    text-shadow: none;
}

p {margin: 0 0 10px 0;}

strong { font-weight: bold; }
small { font-size: 0.8em; }

hr { height:1px; border:0; border-top:1px dotted #dddddd; margin: 30px 0 40px 0; clear: both; }

.modifica a {
    text-transform: uppercase;
    text-decoration: none;
    background: rgba(0,0,0,0.2);
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    border-radius: 3px;
}

.fitText5, .fitText10, .fitText15, .fitText20, .fitText25 {
    line-height: 110%;
}

blockquote {
    display: block;
    margin: 60px 0;
    width: 100%;
    font-style: italic;
    font-size: 14px;
    color: #aaa;

    column-count: 2;
    column-gap: 60px;
    column-rule: 1px solid #eee;

    -moz-column-count: 2;
    -moz-column-gap: 60px;
    -moz-column-rule: 1px solid #eee;

    -webkit-column-count: 2;
    -webkit-column-gap: 60px;
    -webkit-column-rule: 1px solid #eee;
}

/* ELEMENTI LISTA */
ul, li {
    list-style: none;
}

article ul {
    list-style: none;
    margin-bottom: 20px;
    width: 100%;
}

article li:not(.gfield) {
    clear: left;
    background: url(../images/li.svg) 25px 10px no-repeat;
    padding-left: 40px;
    margin-bottom: 10px;
}


/* SIDEBAR PAGE */
.duecolonne {
    text-align: justify;
    margin: 20px 0;
    column-count: 2;
    column-gap: 60px;
    column-rule: 1px solid #eee;

    -moz-column-count: 2;
    -moz-column-gap: 60px;
    -moz-column-rule: 1px solid #eee;

    -webkit-column-count: 2;
    -webkit-column-gap: 60px;
    -webkit-column-rule: 1px solid #eee;
}

.post_55910 .duecolonne {
    column-count: 1;
    -moz-column-count: 1!important;
    webkit-column-count: 1!important;
}

.duecolonne > h2:first-child{
    margin-top: 0;
}

.trecolonne {
    text-align: justify;
    margin: 20px 0;

    column-count: 3;
    column-gap: 60px;

    -moz-column-count: 3;
    -moz-column-gap: 60px;

    -webkit-column-count: 3;
    -webkit-column-gap: 60px;
}


/* HTML5 */
figure img, .imm-100 img {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
}

.radius {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.boxShadow {
    -webkit-box-shadow: inset 0 0 2px 2px #000;
    -moz-shadow: inset 0 0 2px 2px #000;
    box-shadow: inset 0 0 2px 2px #000;
}

.textShadow {
    text-shadow:0px 1px 0px #000000;
}


/* GOOGLE MAPS */
.gmaps {
    margin-bottom: 20px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.8;
}

.gmaps img {
    width: 100%;
    height: auto;
}


/* FADEIN ON PAGELOAD */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } /* make keyframes that tell the start state and the end state of our object */
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
    opacity:0;  /* make things invisible upon start */
    -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;

    -webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    -webkit-animation-duration:1s;
    -moz-animation-duration:1s;
    animation-duration:1s;
}

.fadeIn.fade1 {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

.fadeIn.fade2 {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay:1.5s;
    animation-delay: 1.5s;
}

.fadeIn.fade3 {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s;
}


/* BOX MATERIAL DESIGN */
.col-box {
    position: relative;
    padding: 15px;
}

.col-box::after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 15px;
    content: '';
    z-index: -1;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4)
}

.col-box > * {
    padding: 10px 30px;
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}

.col-box .light-box {
    background-color: #fafafa;
}

.col-box .img-box {
    overflow: hidden;
    border-bottom: none;
    border-radius: 2px 2px 0 0;
    padding: 0;
    margin: 0;
}

.col-box .img-box img {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    height: auto;

    transition: opacity 0.2s ease-out;
}

.col-box .img-box:hover img {
    opacity: 0.8;
}

.col-box .date-box,
.col-box .read-box {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    color: #CCC;
}

.col-box .read-box {
    float: right;
}


/* SOCIAL */
.social-network {
    display: block;
    float: left;

    width: 25px;
    height: 25px;
    margin-left: 10px;
    background-image: url(../images/social-networks.svg);
    background-repeat:no-repeat;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

    -webkit-transition: background-position 0.2s ease-in-out;
    -moz-transition: background-position 0.2s ease-in-out;
    -o-transition: background-position 0.2s ease-in-out;
    -ms-transition: background-position 0.2s ease-in-out;
    transition: background-position 0.2s ease-in-out;
}

.social-network:hover {
    background-position-y: -25px !important;
}

.facebook-sprite {background-position: 0px 0px;}
.google-sprite {background-position: -25px 0px;}
.twitter-sprite {background-position: -50px 0px;}
.youtube-sprite {background-position: -75px 0px;}
.vimeo-sprite {background-position: -100px 0px;}
.linkedin-sprite {background-position: -125px 0px;}
.rss-sprite {background-position: -150px 0px;}
.pintrest-sprite {background-position: -175px 0px;}
.dropbox-sprite {background-position: -200px 0px;}
.dribbble-sprite {background-position: -225px 0px;}
.flickr-sprite {background-position: -250px 0px;}
.skype-sprite {background-position: -275px 0px;}
.tumblr-sprite {background-position: -300px 0px;}
.instagram-sprite {background-position: -325px 0px;}


/* GALLERY INTEGRATA */
.wrapper-foto-gallery {
    width: 100%;
    float: left;
    margin: 15px 0;
}

.foto-gallery {
    width: 23.5%;
    float: left;
    line-height: 0;
    position: relative;
    margin: 0 1% 0 1%;
}

.foto-gallery:first-of-type { margin-left: 0; }
.foto-gallery:last-of-type { margin-right: 0; }

.foto-gallery img {
    width: 100%;
    height: auto;
}

.foto-gallery .foto-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 7%;
    line-height: 120%;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;

    transition: all 0.5s ease-in-out;
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
}

.foto-gallery:hover .foto-mask {
    -moz-opacity: 100;
    -khtml-opacity: 100;
    opacity: 100;
}


/* CUSTOM PAGINATION */
.custom-pagination {
    margin: 30px 0 60px 0;
    clear: both;
    text-align: center;
}

.custom-pagination a, .custom-pagination span {
    display: inline-block;
    background-color: #eee;
    border: none;
    color: #777;
    font-weight: bold;

    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.custom-pagination a:hover {
    text-decoration: none;
    background-color: #e1e1e1;
}

.custom-pagination span.current {
    background-color: #CF131A;
    color: #FFF;
}

.custom-pagination .next {
    background-image: url(../images/icon/pagination-next.svg);
    background-position: center center;
    background-repeat: no-repeat;
}

.custom-pagination .prev {
    background-image: url(../images/icon/pagination-prev.svg);
    background-position: center center;
    background-repeat: no-repeat;
}


/* SINGLE TAGS LIST */
.post-tags {
    margin: 20px 0;
}

.post-tags li {
    display: inline-block;
    border: 1px solid #ddd;
    margin: 0 5px 5px 0;
    font-size: 0.9em;
}

.post-tags li a {
    padding: 7px;
    display: block;
}

.post-tags li a:hover {
    background-color: #444;
    color: #fff;
    text-decoration: none;
}

table {
    margin: 0 auto;
}

table img {
    display: block;
    width: 20px;
    height: auto;
    margin: 5px 10px;
}

/* TABELLE */
table.collezioni {
    position: relative;
    display: table;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;

    -moz-box-shadow: 0px 0px 1px #cccccc;
    -webkit-box-shadow: 0px 0px 1px #cccccc;
    box-shadow: 0px 0px 1px #cccccc;
}

table.collezioni tbody {
    display: table;
    width: 100%;
    overflow-y: auto;
    text-align: left;
    font-size: 13px;
    line-height: 120%;
    padding: 0px;
    margin: 0px;
}

table.collezioni td,
table.collezioni th {
    margin: 0px;
    padding: 8px 15px;
    border-bottom: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
}

table.collezioni td:first-of-type,
table.collezioni th {
    text-align: left;
    font-weight: bold;
}

table.collezioni th {
    background: #E2E2E2;
    padding: 15px 15px;
}

table.collezioni tr:nth-child(even) {
    background-color: #ffffff;
}

table.collezioni tr:nth-child(odd) {
    background-color: #f6f6f6;
}

.table-altre table {
    -moz-box-shadow: 0px 0px 1px #cccccc;
    -webkit-box-shadow: 0px 0px 1px #cccccc;
    box-shadow: 0px 0px 1px #cccccc;
}

.table-altre table td,
.table-altre table th {
    margin: 0px;
    padding: 8px 15px;
    border-bottom: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
}

.table-altre table td:first-of-type {
    font-weight: bold;
}

.table-altre table tr:nth-child(even) {
    background-color: #ffffff;
}

.table-altre table tr:nth-child(odd) {
    background-color: #f6f6f6;
}



/* WYSIWYG */
img.alignnone,
img.aligncenter {
    margin: 15px auto;
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

img.alignleft {
    margin: 6px 15px 6px 0;
    float: left;
    display: block;
    max-width: 400px;
    width: auto;
    height: auto;
}

img.alignleft_musei {
    margin: 6px 15px 6px 0;
    float: left;
    display: block;
    max-width: 250px;
    width: auto;
    height: auto;
}

img.alignright {
    margin: 6px 0px 6px 15px;
    float: right;
    display: block;
    max-width: 400px;
    width: auto;
    height: auto;
}

.duecolonne img.alignnone,
.duecolonne img.aligncenter {
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
}

.duecolonne img.alignleft {
    margin: 6px 20px 12px 0;
    width: 50%;
    max-width: 50%;
}

.duecolonne img.alignright {
    margin: 6px 0 12px 20px;
    width: 50%;
    max-width: 50%;
}


/* SM - meno di 992px */
@media (max-width: 992px) {

}

/* XS - meno di 768px */
@media (max-width: 768px) {
    table { border-right: none; }
    table td { white-space:nowrap; }
    table::after {
        background: -moz-linear-gradient(left, rgba(250,250,250,0) 0%, rgba(250,250,250,1) 100%);
        background: -webkit-linear-gradient(left, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%);
        background: linear-gradient(to right, rgba(250,250,250,0) 0%,rgba(250,250,250,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00fafafa', endColorstr='#fafafa',GradientType=1 );
    }

    .foto-gallery {
        width: 48%;
        float: left;
        line-height: 0;
        position: relative;
        margin: 1%;
    }
    .foto-gallery:first-of-type,
    .foto-gallery:last-of-type {
        margin: 1%;
    }

    img.alignnone,
    img.aligncenter,
    img.alignleft,
    img.alignright {
        margin: 20px 0;
        width: 100%;
        max-width: 100%;
    }

    .duecolonne {
        text-align: justify;
        margin: 20px 0;

        column-count: 1;
        column-gap: 60px;

        -moz-column-count: 1;
        -moz-column-gap: 60px;

        -webkit-column-count: 1;
        -webkit-column-gap: 60px;
    }

}