﻿.titsez { border-bottom: 0px solid #DDD; border: 0px solid #DDD; border-bottom: 0px solid #DDD; margin: 0 0 0 0; color: #170F09; width: 100%; background-color: #FFF; text-align: center; padding: 20px 0 20px 0; }
.box-wrapper {margin-bottom:30px}
.box-wrapper .titsez H4 { display: inline-block; background: transparent; text-transform: none; margin-bottom: 0px; font-size: 2.1em; font-weight: 400; padding: 10px 13px 11px 13px; }
.thumbnail { padding: 0px; overflow: hidden; border: 0px solid #f2f2f3; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.055); -moz-box-shadow: 0 0 0 rgba(0, 0, 0, 0.055); box-shadow: 0 0 0 rgba(0, 0, 0, 0.055); }
html:not(.touch) a.thumbnail:hover, a.thumbnail:focus { -webkit-box-shadow: 0 0 0 rgba(255, 135, 0, 0.25); -moz-box-shadow: 0 0 0 rgba(255, 135, 0, 0.25); box-shadow: 0 0 0 rgba(255, 135, 0, 0.25); }
.boxmargin a {margin-bottom: 0px;color: #8e8e8e;background-color: #FFF;padding: 0;font-size: 1em;line-height: 24px;font-weight: 300;text-align: center;-webkit-backface-visibility: hidden;-webkit-transition: .4s ease;-moz-transition: .4s ease;-o-transition: .4s ease;transition: .4s ease;}
html:not(.touch) .boxmargin a:hover { color: #fff; background-color: #FFF; }
.thumbnail.boxmktorizzversion { background-color: #f2f2f3; }
.thumbnail.boxmktorizzversion:hover { background-color: #F1F1F1; }
.boxmargin a .titsezbox {color: var(--primary-color);padding: 10px 0 10px 0;margin-bottom: 10px;text-transform: uppercase;font-size: 1rem;line-height: 1.4rem;margin: 0;display: block;font-weight: 600;}
html:not(.touch) .boxmargin a:hover .titsezbox {color: #170F09;}
.boxmargin a .txtboxabstract {display: block;color: #170F09;font-weight: 400;padding: 0;font-size: 0.85em;line-height: 1.45em;}
html:not(.touch) .boxmargin a:hover .txtboxabstract { color: #515151; }
.boxmargin .titsezbox.titsezboxmargin a { margin-left: 20px; display: block; color: #170F09; font-size: 1.25em; font-weight: 600; border: 0px solid #515151; margin-bottom: 8px; }
.boxmargin p { margin-left: 20px; }
html:not(.touch) .boxmargin .titsezbox.titsezboxmargin a:hover { color: #515151; }
.box-wrapper .thumbnail.boxorizz { overflow: hidden; border: 1px solid transparent; border-top: 1px solid #EEE; padding-top: 30px; }
.boxmargin .titsezorizz { font-family: 'Open Sans', sans-serif; font-size: 1.2em; font-weight: 700; line-height: 1.35em; text-transform: uppercase; display: block; margin: 12px 10px 10px 30px; color: #515151; display: block; }
.boxmargin .boxmktabstractorizz { display: block; margin: 0 10px 20px 30px; font-weight: 400; }
.box-wrapper .rowboxmargin { margin-bottom: 30px; }
.boxmargin .boxtxtwrap {display: block;padding: 4% 14%;min-height: 150px;text-align: center;/*background-color:#f0eded;*/width: 100%;box-sizing: border-box;}
.homepage-wrapper .boxmargin .boxtxtwrap {background-color: rgb(255 255 255);}
.box-wrapper .thumbnail .boxmktimgcnt { position: relative; display: block; height: auto; overflow: hidden; }
.box-wrapper .thumbnail .boxmktimgcnt img { max-width: none; width: 100%; outline: 1px solid transparent; opacity: 0.99; filter: alpha(opacity=99); opacity: 0.99; width: 100%; filter: alpha(opacity=99); -webkit-transition: all 0.4s; -moz-transition: all 0.4s; -o-transition: all 0.4s; transition: all 0.4s; -webkit-backface-visibility: hidden; }
.box-wrapper .thumbnail .boxmktimgcnt .boxmkthoverscreen { opacity: 0.10; filter: alpha(opacity=10); display: block; position: absolute; z-index: 10; top: 0; left: 0; bottom: 0px; right: 0; background: transparent; -webkit-backface-visibility: hidden; -webkit-transition: .7s ease; -moz-transition: .7s ease; -o-transition: .7s ease; transition: .7s ease; }
html:not(.touch) .box-wrapper .thumbnail:hover .boxmktimgcnt .boxmkthoverscreen { opacity: 0.10; filter: alpha(opacity=10); }
html:not(.touch) .box-wrapper .thumbnail:hover .boxmktimgcnt img { filter: alpha(opacity=55); transform: scale(1.1); -webkit-transform: scale(1.1); -moz-transform: scale(1.1); -ms-transform: scale(1.1); -webkit-transition: all 0.7s; -moz-transition: all 0.7s; -o-transition: all 0.7s; transition: all 0.7s; }
.box-wrapper.box-wrapper.box-wrapper-home   {padding: 1% 4% 5% 4%;margin-bottom: 0;}
.box-wrapper.document .boxmargin a .txtboxabstract {padding: 10px 3% 10px 3%;}

/* Tympanus base style */
.box-wrapper figure { position: relative; overflow: hidden; margin: 0; background: #515151; text-align: center; cursor: pointer; }
.box-wrapper figure img { position: relative; display: block; min-height: 100%; max-width: 100%; opacity: 0.8; }
.box-wrapper figure figcaption { padding: 2em; color: #fff; font-size: 1.25em; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.box-wrapper figure figcaption::before,
.box-wrapper figure figcaption::after { pointer-events: none; }
.box-wrapper figure figcaption,
.box-wrapper figure figcaption > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.box-wrapper figure figcaption > a { z-index: 500; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0; }
.box-wrapper figure figcaption > div > div { word-spacing: -0.15em; font-weight: 300; }
.box-wrapper figure figcaption > div > div span { font-weight: 700; }
.box-wrapper figure figcaption > div > div,
.box-wrapper figure p { margin: 0; }
.box-wrapper figure p {font-size: 68.5%; }

/* Tympanus Lily Effect */
.box-wrapper.box-wrapper-lily {margin: 4%;}
.box-wrapper.box-wrapper-lily figure img { max-width: none; width: calc(100% + 0px); opacity: 0.7; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: scale(1) translate3d(0px,0, 0); transform: scale(1) translate3d(0px,0,0); }
.box-wrapper.box-wrapper-lily figure figcaption { text-align: left; }
.box-wrapper.box-wrapper-lily figure figcaption > div {position: absolute;bottom: 0;left: 0;padding: 4em 3em;width: calc(70% - 5em);height: 32%;}
.box-wrapper.box-wrapper-lily figure figcaption > div > div,
.box-wrapper.box-wrapper-lily figure p { -webkit-transform: translate3d(0,40px,0); transform: translate3d(0,40px,0); }
.box-wrapper.box-wrapper-lily figure figcaption > div > div {font-size: 2.7em;margin-bottom:5px;line-height: 1.1em;-webkit-transition: -webkit-transform 0.35s;transition: transform 0.35s;font-weight: 300;width: 100%;color: #FFF;text-transform: uppercase;}
.box-wrapper.box-wrapper-lily figure p {color: rgba(255,255,255,0.8);opacity: 0;-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;transition: opacity 0.2s, transform 0.35s;width: 100%;font-size: 0.75em;text-align: left;margin-top: 30px;}
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover img,
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover p { opacity: 1; }
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover img { -webkit-transform: scale(1.15) translate3d(0px,0, 0); transform: scale(1.15) translate3d(0px,0,0); }
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover figcaption > div > div,
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover p { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover p { -webkit-transition-delay: 0.05s; transition-delay: 0.05s; -webkit-transition-duration: 0.35s; transition-duration: 0.35s; }
html.touch .box-wrapper.box-wrapper-lily figure p { opacity: 1; }
html:not(.touch) .box-wrapper.box-wrapper-lily figure .boxmktimgcnt:after { content: ''; background-color: rgba(0,0,0,0.4); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: 0.35s; -webkit-transition: 0.35s; -moz-transition: 0.35s; -ms-transition: 0.35s; }
html:not(.touch) .box-wrapper.box-wrapper-lily figure:hover .boxmktimgcnt:after { opacity: 1; transition: 0.35s; -webkit-transition: 0.35s; -moz-transition: 0.35s; -ms-transition: 0.35s; }


/* Lazy Loading */
.box-wrapper .boxlazy .boxmktimgcnt { height: 0; position: relative; display: block; }
.box-wrapper .boxlazy .boxmktimgcnt img { position: absolute; top: 0; left: 0; height: 100%; opacity: 0.25; }
.box-wrapper .boxlazy .boxmktimgcnt img.lazyloaded { opacity: 1; }
.box-wrapper.box-wrapper-lily .boxlazy .boxmktimgcnt img.lazyloaded { opacity: 0.65; }


/*** MEDIA QUERY ***/
@media (min-width: 1201px) and (max-width: 1500px) {
    .box-wrapper.box-wrapper-lily figure figcaption > div { height: 55%; }
    .box-wrapper figure figcaption {font-size: 1em;}
}

@media (max-width: 1200px) and (min-width: 1024px) {
    .boxmargin .boxtxtwrap { padding: 4% 8% 4% 8%; }
    .box-wrapper.box-wrapper-lily figure figcaption > div { padding: 1em; width: calc(100% - 1em); height: 50%; }
    .box-wrapper.box-wrapper-lily figure figcaption > div > div { font-size: 1em; }
    .box-wrapper.box-wrapper-lily figure p { font-size: 0.65em; display: none; }
    .boxmargin a .titsezbox {font-size: 1.0em;}
    .boxmargin a .txtboxabstract {display: block; color: #ed8107; font-weight: 400; padding: 14px 10% 14px 10%; font-size: 0.90em; line-height: 1.45em;}
}

@media (min-width: 768px) and (max-width: 1023px) {
    .box-wrapper.box-wrapper-lily figure figcaption > div { padding: 1em; width: calc(100% - 1em); height: 60%; }
    .box-wrapper.box-wrapper-lily figure figcaption > div > div { font-size: 1em; }
    .box-wrapper.box-wrapper-lily figure p { font-size: 0.65em; display: none; }
    .boxmargin .boxtxtwrap {padding: 7% 10% 5% 10%;}
    .boxmargin a .titsezbox {font-size: 0.9em;line-height: 1.3em;}
    .boxmargin a .txtboxabstract    {display: block;color: #170F09;font-weight: 400;padding: 14px 5% 14px 5%;font-size: 0.90em;line-height: 1.45em;}

    /* Home */
    /*.box-wrapper.box-wrapper-home > div > div:last-child { display: flex; flex-direction: row; flex-wrap: wrap; }
    .box-wrapper.box-wrapper-home > div > div:last-child > div:first-child:nth-last-child(4),
    .box-wrapper.box-wrapper-home > div > div:last-child > div:first-child:nth-last-child(4) ~ div { width: 49.93%; float:none; }*/
}

@media (max-width:767px) {
    .box-wrapper.box-wrapper.box-wrapper-home {padding: 1% 0% 0% 0%;}
    .boxmargin .boxtxtwrap { min-height: inherit; padding: 3% 8% 3% 8%; }
    .boxmargin a .titsezbox { padding: 5px 0 10px 0; font-size: 1.1em; }
    .boxmargin a .txtboxabstract { font-size: 0.75em; padding: 0; }
    .box-wrapper.box-wrapper-lily figure figcaption > div { height: 40%; }
}

@media (max-width:480px) {
    .box-wrapper.box-wrapper-lily figure figcaption > div { height: 55%; }
    .box-wrapper figure figcaption { padding: 1.5em; font-size: 0.95em }
    .titsez { padding: 10px 0 10px 0; }
    .boxmargin .boxtxtwrap {min-height: inherit; padding: 5% 8% 7% 8%; line-height: 1.3em;}
    .boxmargin a .titsezbox {padding: 10px 0 10px 0; font-size: 0.9em; line-height:1.3em}
    .box-wrapper .titsez H4 {font-size: 1.8em;}
}

@media (max-width:320px) {
    .boxmargin .boxtxtwrap { padding: 5% 8% 6% 8%; }
    .box-wrapper.box-wrapper-lily figure figcaption > div { padding: 1em; width: calc(100% - 1em); height: 50%; }
    .box-wrapper.box-wrapper-lily figure figcaption > div > div { font-size: 1em; }
    .box-wrapper.box-wrapper-lily figure p { display: none; }
}
