/*
Theme Name: Divi Child Theme
Theme URI: https://divireadythemes.com/
Description: Divi Child Theme
Author: Divi Ready Themes
Author URI: https://divireadythemes.com/
Template: Divi
Version: Updated for Divi 3+
*/

h1 {
    font-size: 30px;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 26px;
}
h4 {
    font-size: 24px;

}
h5 {
    font-size: 22px;
}
h6 {
    font-size: 20px;
}
p {
    line-height: 1.5em;
}

ul, ol {
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px !important;
    list-style-position: outside !important;
}

a {
    transition: all .3s ease;
    font-weight: 600;
}

a:hover {
    color: #2a2a2a;
}

@font-face {
    font-family: 'fontello';
    src: url('/wp-content/themes/hello-theme-child-master/font/fontello.eot?48251885');
    src: url('/wp-content/themes/hello-theme-child-master/font/fontello.eot?48251885#iefix') format('embedded-opentype'),
    url('/wp-content/themes/hello-theme-child-master/font/fontello.woff2?48251885') format('woff2'),
    url('/wp-content/themes/hello-theme-child-master/font/fontello.woff?48251885') format('woff'),
    url('/wp-content/themes/hello-theme-child-master/font/fontello.ttf?48251885') format('truetype'),
    url('/wp-content/themes/hello-theme-child-master/font/fontello.svg?48251885#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

.et_pb_text_inner p em,
.et_pb_text_inner p i {
    font-family: "Source Serif 4", serif;
    font-weight: 400;
    font-size: 1.1em;
}

.et_pb_text_inner p b,
.et_pb_text_inner p strong {
    font-weight: 700;
}

.et_pb_text_inner p sup,
td sup {
    font-size: .7em;
    display: inline-block;
    padding: 0 0 0 3px;
}

.riferimento p {
    text-align: right;
    font-family: "Source Serif 4", serif;
}

.et_pb_image.et_pb_module.et_flex_module {
    gap: 10px;
}
.et_pb_image.et_pb_module.et_flex_module p,
.dida p,
.dida {
    font-size: 14px;
    font-style: italic;
    line-height: 20px !important;
    display: block;
}

.fonte,
.citazione,
.info,
.curiosita,
.spiegazione {
    padding: 25px 25px 20px 60px;
    /*border: 3px solid #8ca741;*/
    border-width: 3px;
    border-style: solid;
    border-radius: 3px;
    border-color: rgba(140, 167, 65, .5);
    background: rgba(140, 167, 65, .2);
    margin: 10px 0 !important;
    font-size: 15px;
    line-height: 1.5em;
    font-style: italic;
    min-height: 50px;
    position: relative;
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    .fonte,
    .citazione,
    .info,
    .curiosita,
    .spiegazione {
        padding: 60px 30px 20px;
    }
}

.fonte p:last-child,
.citazione p:last-child,
.info p:last-child,
.curiosita p:last-child,
.spiegazione p:last-child {
    margin-bottom: 0;
}

.curiosita,
.spiegazione {
    background: rgba(204, 153, 51, 0.2);
    border-color: rgba(204, 153, 51, 0.5);
}

.curiosita a,
.spiegazione a {
    color: #CC9933;
}

.curiosita a:before,
.spiegazione a:before {
    background-color: #CC9933 !important;
}

.info {
    background: rgba(85, 140, 173, 0.2);
    border-color: rgba(85, 140, 173, 0.5);
}

.info a {
    color: #558CAD;
}

.info a:before {
    background-color: #558CAD !important;
}

.citazione {
    background: rgba(191, 46, 53, 0.2);
    border-color: rgba(191, 46, 53, 0.5);
}

.citazione a {
    color: #BF2E35;
}

.citazione a:before {
    background-color: #BF2E35 !important;
}

.fonte:after,
.citazione:after,
.info:after,
.curiosita:after,
.spiegazione:after {
    content: '';
    font-family: 'ETmodules', sans-serif;
    font-style: normal;
    font-weight: lighter;
    speak: never;
    font-size: 60px;
    line-height: 80px;
    text-align: center;
    display: block;
    position: absolute;
    top: -20px;
    left: -25px;
    /*background-color: #B7C88C;*/
    transform: rotate(30deg);
    /*border-width: 3px;*/
    /*border-style: solid;*/
    /*border-color: #B7C88C;*/
    color: #B7C88C;
    width: 80px;
    height: 80px;
    border-radius: 100px;
}

.curiosita:after,
.spiegazione:after {
    color: #DFC084;
}

.info:after {
    color: #98B7CC;
}

.citazione:after {
    color: #D78185;
}

.fonte:after {
    content: '\69';
}

.curiosita:after,
.spiegazione:after {
    content: '\74';
}

.citazione:after {
    content: '\7c';
}

.info:after {
    content: '\70';
}

table.menu-scuole th,
table.menu-scuole td,
table.tabella-dati th,
table.tabella-dati td,
table.cronistoria th,
table.cronistoria td,
table.statistiche th,
table.statistiche td {
    padding: 10px;
    font-size: 14px;
    line-height: 1.3em;
    border: 1px solid #ccc;
}

table#wp-calendar th,
table#wp-calendar td {
    text-align: center;
}

table.menu-scuole tr:nth-child(odd),
table.cronistoria tr:nth-child(odd),
table.statistiche tr:nth-child(odd) {
    background: rgba(0,0,0,.05);
}

table.menu-scuole tr:nth-child(even),
table.cronistoria tr:nth-child(even),
table.statistiche tr:nth-child(even) {
    background: #fff;
}

table.statistiche caption {
    font-size: 14px;
    font-style: italic;
    line-height: 20px !important;
    text-align: left !important;
}

table#wp-calendar th,
table#wp-calendar td {
    padding: 10px;
    font-size: 14px;
    line-height: 1.3em;
    border: 1px solid #666;
}

table#wp-calendar thead tr,
table#wp-calendar tfoot tr {
    background: rgba(0,0,0,.05) !important;
}

table#wp-calendar tbody tr {
    background: #fff;
}

table#wp-calendar td.eo-event-cat-prenotazione-sala-parrocchiale,
table#wp-calendar td.eo-event-cat-prenotazione-sala-parrocchiale > a {
    background: #FC4F00;
    color: #fff !important;
    cursor: not-allowed;
}

table#wp-calendar caption {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px !important;
    text-align: left !important;
    padding-bottom: 10px;
}

.modern-footnotes-footnote__note--tooltip {
    font-size: 12px !important;
    line-height: 1.3em !important;
}

.modern-footnotes-footnote {
    font-size: .6em !important;
    font-weight: bold;
    padding: 0 !important;
}

.modern-footnotes-footnote a {
    display: inline-block;
    padding-left: 2px;
    padding-right: 2px;
}

.modern-footnotes-footnote__connector {
    z-index: -10;
    margin-top: 0.7em;
}

.modern-footnotes-footnote {
    bottom: 0.7em;
    white-space: nowrap;
}
.modern-footnotes-footnote:before {
    content: "[";
    font-weight: 400;
}
.modern-footnotes-footnote:after {
    content: "]";
    font-weight: 400;
}
.modern-footnotes-footnote__note--tooltip {
    text-align: left !important;
}

ul.todays-events {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

ul.todays-events li {
    font-size: 18px;
    font-weight: 400;
    margin: 15px 0px 0px 0px;
}

ul.todays-events li.mc_ricorrenze {
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    margin: 15px 0;
}

ul.todays-events li.mc_almanacco {
    font-size: 14px;
    max-width: 768px;
    margin: 0 auto;
}

ul.todays-events li.mc_almanacco strong {
    display: inline-block;
    width: 100%;
    font-style: italic;
    text-align: center;
    font-family: "Source Serif 4", serif;
    font-weight: 600;
    font-size: 18px;
}

.noi-button-cf7 {
    font-size: 16px;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em !important;
    background: #0972CE;
    color: #fff;
    border: 2px solid #0972CE;
    border-radius: 3px;
    transition: all .2s ease;
}

.noi-button-cf7:hover {
    background: #FC4F00;
    border: 2px solid #FC4F00;
}


