/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
 * Color
 * 
 * Verde Acqua: #52CA9C ;
 * Celeste: #000;
 */

body {
    background: #fff;
    font:1em/1.35 "Bodoni MT", Didot, "Didot LT STD", "Book Antiqua", Garamond, "Times New Roman", serif;
    font-family: 'EB Garamond', serif;
    color: #333333;
    background-color: #D4D5AB;
}

.wrapper {
    overflow: hidden;
    width: 940px;
    margin: 0 auto;
    padding: 0 10px;
}

body.popup {
    width: 100%;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #999;
}

strong {
    font-weight: 400;
}

h1,h2,h3,h4,h5,h6 {font-weight: 400;}

/* Header */
.main-header {
    background-color: #EAEDDA;
}

.main-header h1 {
    font-variant: small-caps;
    text-transform: capitalize;
    text-align: right;
    font-size: 3em;
    margin: 0.5em 0;
    font-weight: 400;
    font-family: Arial Black,Arial Bold,Gadget,sans-serif;
}


.main-header h1 a {
    color: #333;
    text-decoration: none;
}
/*
.main-header h1 a.logo {
    display:inline-block;
    background: #000000 url(../img/daniele-radini-tedeschi-logo.png) 0 0 no-repeat scroll;
    height: 80px;
    width: 425px;
    padding: 0;
    margin:0;
}
*/
.main-header h1 a:hover {
    color: #999;
}

.main-header h2 {
    display:none;
}

/* navigation */ 
.main-nav ul {
    /*
    border-top: 2px dashed #262626;
    border-bottom: 2px dashed #262626;
    */
    margin: 0 0 1em;
    padding: .5em 0;
    overflow: hidden;
    text-align: center;
    font-family: 'EB Garamond', serif;
}

.main-nav li {
    display: inline-block;
    font-size: 1.125em;
}

.main-nav a {
    text-decoration: none;
    padding: 0 .8em;
    color: #333;
    text-transform: uppercase;
}

.main-nav a.active,
.main-nav a:hover {
    color: #999;
}

/* contet */ 
.content {
    margin: 0 1em;
}

.content > h1 {
    font-size: 1.75em;
    color: #000;
}

article {
    margin: 0 0 2em;
    clear: both;
    overflow: auto;
}

article header {
    margin: 0 0 1em;
    color: #000
}

article header h1,
article header h2,
article header h3,
article header h4 {
    margin: 0;
    color: #000;
}

article h2,
article h3 {
    color: #000;
}

article p {
    text-align: justify;
    padding: 0 1em;
    margin: 0 0 1em;
}


/* Immagini */
.content .griglia,
.griglia {
    display: table;
    margin: .2em 0 2em;
    overflow: auto;
    padding-left: 0;
    width: 100%;
}


.griglia li {
    display: table-cell;
    text-align: center;
}

.griglia a {
    border:none;
}

.griglia p {
    font-size: 0.9em;
    font-style: normal;
    text-align: center;
    margin-top: .5em;
}

.griglia li img {
    vertical-align:middle;
    padding: 5px;
    background: #333;
    margin: 0 auto;
}

a:hover img,
.griglia a:hover img {
    background: #fafafa;
}

.griglia-1 li {width: 100%;}
.griglia-2 li {width: 50%;}
.griglia-3 li {width: 33%;}
.griglia-4 li {width: 25%;}


.content a,
footer a {
    color: #000;
}

.content a:hover, 
footer a:hover {
    color: #999;
}

.content img {
    background-color: #333;
    display: block;
}

/* Footer */
footer {
    /* border-top: 2px dashed #262626; */
    clear: both;
}

.copy, .social-nav {
    padding: 0 1em;
}

.copy {
    float: left;
    width: 35%;
    font-size: 0.9em;
}

.social-nav {
    float: right;
    width: 45%;
    text-align: right;
}
.social-nav ul {
    margin-top: 0.1em;
}

.social-nav li {
    display: inline-block;
}

.social-nav a {
    color: #000;
    font-size: 2em;
    margin-left: 0.1em;
}

.social-nav a, .social-nav a:hover {
    border: none;
}

/* /Footer */

.column-2 {
    width: 50%;
    float: left;
}

/* .column-2 p {
} */

.column-2 .griglia-1 li {
    display: block;
    margin-bottom: .8em;
}

.column-2 .griglia-1 p {
    font-size: 14px;
}

.content ul,
.content ol {
    margin-left: 2em;
    margin-right: 2em;
}

.content ul li {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.4em;
}

ul.conferenze li {
    font-style: normal;
    font-size: 1em;
    margin-bottom: 0.25em;
}

span.isbn {
    font-size: 0.8em;
    font-family: Helvetica;
    font-style: normal;
}


ul.book {
    padding-left: 45px;
    margin-bottom: 10px;
}

ul.book li {
    margin-bottom: 5px;
}

/* HomePage */
#intro-image {
    margin: 2em auto 1em;
    display: block;
    border: 5px solid white;
}

#intro-image + p {
    text-align: center;
    font-size: 1.33em;
}

#intro-subtitle {
    width: 760px;
    margin: 0 auto;
    text-align: center;
    text-transform: uppercase;
    padding: 20px;
    background: #000;
    color: #fff;
    margin-top: -32px;
    margin-bottom: 2em;
    letter-spacing: 1px;
}

/**
*   Pubblicazioni
*/
#pubblicazioni li {
    font-style: normal;
}

#pubblicazioni li .title{
    font-style: italic;
}

/* News */
.book {
    font-style: italic;
    line-height: 1.4;
    margin: 10px 0 20px ;
    overflow: auto;
}

.book span {
    font-style: normal;
}

.book > img.photo {
    margin: 0 25px 0 20px;
    float: left;
}

/* Expertise */
.expertise-element {
    overflow: auto;
    margin-bottom: 2em;
}

.expertise-element img {
    float: left;
    margin: 0 20px 10px;
}

/* Media */
ul.video {
    list-style: none;
}

.video img.icon {
    vertical-align: middle;
    padding-right: 5px;
    display: inline;
    background: none;
}

.media-audio audio {
    width: 100%;
}

.fancybox-inner {
    height: auto !important;
}

.red {
    color: red;
}

/* Opinioni */
div.quote {
    margin: 0 0 30px;
    overflow: auto;
}

.quote h3 {
    margin-top: 0;
}

.quote img {
    float: left;
    margin: 0 20px 10px 10px;
    width: 125px;
}

.quote-content {
    float: left;
    width: 585px;
}

p.quote {
    font-style: italic;
    font-size: 1.08em;
    line-height: 1.3;
}

/* Media Page */
.media a { color: #333; }
.media a:hover { color: #000; }

/* MyHelper */
.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

img.alignleft {
    float: left;
    margin: 0 2em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

img.alignright {
    margin: 0 0 1em 2em;
}

.aligncenter {
    text-align: center;
    margin: 0 1em 1em;
}

.imagebox .caption {
    text-align: center;
    padding-top: .5em;
}

/* ==========================================================================
   PreHome
   ========================================================================== */
#prehome {
    height: 100%; 
    height: 100vh; 
    margin:0;
}

#prehome > ul  {
    margin:0; 
    height: 100%
}

#prehome > ul > li {
    vertical-align: middle;
    font-size: 2em;
    font-style: normal;
}

#prehome a:link,
#prehome a:hover,
#prehome a:visited {
    color: #fff;
}

#prehome i {
    font-size: 62px;
    line-height: 70px;
}

#prehome img {
    background-color: transparent;
    padding: 0;
    display: block;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.blink_text {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;

    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;

     animation-name: blinker;
     animation-duration: 1s;
     animation-timing-function: linear;
     animation-iteration-count: infinite;

     color: #000;
}

@-moz-keyframes blinker {  
     0% { opacity: 1.0; }
     50% { opacity: 0.0; }
     100% { opacity: 1.0; }
 }

@-webkit-keyframes blinker {  
     0% { opacity: 1.0; }
     50% { opacity: 0.0; }
     100% { opacity: 1.0; }
 }

@keyframes blinker {  
     0% { opacity: 1.0; }
     50% { opacity: 0.0; }
     100% { opacity: 1.0; }
}

.blink_text:hover {
    -webkit-animation: 0;
    animation: 0;
    color: #000;
    opacity: 1.0;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}