/* 
Theme Name: Hello Elementor Child for Barcon multisite
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: martexx
Author URI: https://martexx.com/
Template: hello-elementor
Version: 4.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
@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;
}

@media screen and (min-width: 981px) {
    .no-desktop {
        display: none !important;
    }
}

@media screen and (max-width: 900px) {
    table {
        display: block;
        overflow-x: auto !important;
    }

    table tr, table th, table td {
        font-size: 12px;
        border-collapse: collapse;
    }
    table th, table td {
        padding: 5px !important;
    }
}

.small {
    font-size: .8em;
}

table td, table th {
    padding: 6px 12px;
}

.grecaptcha-badge {
    display: none;
}

section#comments {
    display: none;
}

.post-password-form {
    padding: 0 10%;
}

/* -------------------------------------------------------------------------------------- */
/* moduli contatto ---------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------- */

p.et_pb_contact_field {
    padding: 0 0 0 3%;
    margin-bottom: 3%;
    background-position: 50%;
    background-size: cover;
}

p.et_pb_contact_field.et_pb_contact_field_last + p.et_pb_contact_field.et_pb_contact_field_last, p.et_pb_contact_field:not(.et_pb_contact_field_last), p.et_pb_contact_field_half + p.et_pb_contact_field_last:not(.et_pb_contact_field_half) {
    clear: both;
}

.et_pb_contact .et_pb_contact_field_half {
    width: 50%;
    float: left;
}

@media screen and (max-width: 1024px) {
    .et_pb_contact .et_pb_contact_field_half {
        width: 100%;
        float: none;
    }
}

.et_pb_contact_form_barcon {
    margin-left: -3%;
}

/* -------------------------------------------------------------------------------------- */
/* template notizie --------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------- */

#content.category-notizie {
    display: flex;
    flex-direction: row;
    gap: 50px;
    background: #fff;
}

@media only screen and (max-width: 1024px) {
    #content.category-notizie {
        flex-direction: column;
    }
}

#blog-content {
    padding: 100px 0;
    width: 790px;
}

@media only screen and (max-width: 1024px) {
    #blog-content {
        width: 100%;
    }
}


#blog-sidebar {
    padding: 100px 0 100px 30px;
    min-height: 100vh;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    width: 280px;
}

@media only screen and (max-width: 1024px) {
    #blog-sidebar {
        padding: 100px 0;
        border: none;
        width: 100%;
    }
}

#blog-sidebar ul {
    list-style: none;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#blog-sidebar li {
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.3em;
}

#blog-sidebar li a {
    line-height: 1.3em !important;
    display: inline-block;
    color: rgba(0, 0, 0, 0.5);
}

#blog-sidebar li a:hover, #blog-sidebar li a[aria-current="page"] {
    color: #F77302;
}

.entry-date {
    font-size: .8em;
    font-style: italic;
}


/* -------------------------------------------------------------------------------------- */
/* Storico ------------------------------------------------------------------------------ */
/* -------------------------------------------------------------------------------------- */
.page-id-17963 #content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 10px;
}

#BoxSantoDelGiorno {
    margin-top: 8px;
}

#SantoDelGiorno b {
    font-size: 24px !important;
    font-family: "Noto Serif", serif;
    line-height: 1.3em;
    font-weight: 600;
}

.didascalia {
    font-size: 14px;
    font-style: italic;
}

.page-content a,
.box-home .elementor-image-box-description a {
    display: inline-block;
    position: relative;
}

.box-home .elementor-image-box-description a {
    font-weight: bold;
}

.pubblicazioni-home .box-footer a:hover {
    color: #fff !important;
}

.iframe-data {
    height: 50px;
}

@media only screen and (max-width: 400px) {
    .iframe-data {
        height: 70px;
    }
}

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: 16px;
    max-width: 600px;
    margin: 0 auto;
}

ul.todays-events li.mc_almanacco strong {
    display: inline-block;
    width: 100%;
    font-style: italic;
    text-align: center;
    font-family: "Noto Serif", serif;
}

.stato-civile-napoleonico a:before,
a.elementor-button:before,
.img-lightbox a:before,
.elementor-toggle-item a:before,
.no-underline a:before,
.box-home a:before,
.box-page a:before {
    display: none !important;
}

.stato-civile-napoleonico a:hover {
    color: #22201C;
}

.box-home .elementor-image-box-description a:before {
    display: block !important;
}

.proverbi-home .elementor-widget-container {
    text-align:center;
    font-size:24px !important;
    line-height: 1.3em;
    font-weight: 600;
    font-family: 'Noto Serif', serif !important;
    color: #22201C;
    margin-top: 8px;
}
.data-home .elementor-widget-container {
    font-weight: 700;
    font-size: 26px;
    text-align: center;
    font-family: 'Noto Serif', serif !important;
    color: #000;
    margin-bottom: 10px;
    text-transform: capitalize;
}


.box-home-100,
.box-home-100 .elementskit-infobox,
.box-home-100 .ekit_global_links,
.box-home-100 .ekit-wid-con,
.box-home-100 .elementor-widget-container {
    height: 100% !important;
}

.box-footer a:hover {
    color: #000 !important;
    text-decoration: none !important;
}

.associazioni-home a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

#footer-storico h5 {
    text-transform: uppercase;
    font-size: 18px;
    color: #8ca741 !important;
    letter-spacing: 0.05em;
    margin: 0 10px;
}

#footer-storico ul {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    list-style: none !important;
    padding: 0 !important;
    line-height: inherit !important;
}

#footer-storico ul li {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: 0;
    margin-bottom: 0;
}

#footer-storico ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 400 !important;
    letter-spacing: normal;
    line-height: 1.3em;
    font-size: 12px !important;
    display: block;
    padding: 5px 10px;
    transition: all .3s ease;
}

#footer-storico ul li a:hover {
    color: #8ca741 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

#footer-storico ul li.current-menu-item a {
    color: #fff !important;
    background-color: rgba(140, 167, 65, 0.5);
}
.footer-copyright p {
    margin: 0;
}

.fonte,
.citazione,
.info,
.curiosita,
.spiegazione {
    padding: 40px 30px 30px 50px;
    /*border: 3px solid #8ca741;*/
    border-width: 3px;
    border-style: solid;
    border-color: rgba(140, 167, 65, .5);
    background: rgba(140, 167, 65, .1);
    margin: 30px 0 !important;
    font-size: 15px;
    line-height: 1.5em;
    font-style: italic;
    min-height: 50px;
    position: relative;
}

@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.1);
    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.1);
    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.1);
    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: "fontello", sans-serif;
    font-style: normal;
    font-weight: normal;
    speak: never;
    font-size: 30px;
    line-height: 45px;
    text-align: center;
    display: block;
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: #B7C88C;
    /*transform: rotate(-30deg);*/
    border-width: 3px;
    border-style: solid;
    border-color: #B7C88C;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    /*border: 3px solid #8ca741;*/
    color: #fff;
}

.curiosita:after,
.spiegazione:after {
    background: #DFC084;
    border-color: #DFC084;
}

.info:after {
    background: #98B7CC;
    border-color: #98B7CC;
}

.citazione:after {
    background: #D78185;
    border-color: #D78185;
}

.fonte:after {
    content: '\e804';
}

.curiosita:after,
.spiegazione:after {
    content: '\e800';
}

.citazione:after {
    content: '\e803';
}

.info:after {
    content: '\e801';
}

.elementor-slideshow__title {
    display: none;
}

caption {
    text-align: left;
    font-style: italic;
}

table.cronistoria tbody tr:hover > td,
table.cronistoria tbody tr:hover > th,
table.statistiche tbody tr:hover > td,
table.statistiche tbody tr:hover > th {
    background-color: transparent !important;
}

table.cronistoria tbody > tr:hover:nth-child(2n+1) > td,
table.cronistoria tbody > tr:hover:nth-child(2n+1) > th,
table.statistiche tbody > tr:hover:nth-child(2n+1) > td,
table.statistiche tbody > tr:hover:nth-child(2n+1) > th {
    background-color: hsla(0, 0%, 50.2%, .0705882353) !important;
}

table.cronistoria td em {
    font-family: "Noto Serif", serif;
    color: #333;
}



/* -------------------------------------------------------------------------------------- */
/* Noi per Barcon ----------------------------------------------------------------------- */
/* -------------------------------------------------------------------------------------- */

#wp-calendar {
    margin-bottom: 30px;
}

#wp-calendar a {
    text-decoration: none !important;
}

#wp-calendar thead th,
#wp-calendar tr th,
#wp-calendar tr td {
    padding: 6px 0;
    text-align: center;
}

#wp-calendar tbody > tr:nth-child(1n+1) > td,
#wp-calendar tbody > tr:nth-child(1n+1):hover > td,
#wp-calendar tbody > tr:nth-child(1n+1) > th,
#wp-calendare tbody > tr:nth-child(1n+1):hover > th {
    background-color: #fff !important;
}

#wp-calendar tbody > tr:nth-child(2n+1) > td,
#wp-calendar tbody > tr:nth-child(2n+1):hover > td,
#wp-calendar tbody > tr:nth-child(2n+1) > th,
#wp-calendar tbody > tr:nth-child(2n+1):hover > th {
    background-color: #fff !important;
}

#wp-calendar tbody tr td.eo-event-past,
#wp-calendar tbody tr td.eo-event-future {
    padding: 0;
}

#wp-calendar tbody tr:hover > td,
#wp-calendar tbody tr:hover > th {
    background-color: transparent !important;
}

#wp-calendar tbody > tr:hover:nth-child(2n+1) > td,
#wp-calendar tbody > tr:hover:nth-child(2n+1) > th {
    background-color: hsla(0, 0%, 50.2%, .0705882353) !important;
}

#wp-calendar {
    background-color: #fff;
    display: table;
}

.eo-past-date a {
    cursor: default;
    color: #fff !important;
    background-color: #fc4f00 !important;
    padding: 6px;
    width: 100%;
}

.eo-event-future a {
    color: #000 !important;
    text-decoration: none !important;
    font-weight: bold;
    display: block;
    width: 100%;
    height: 100%;
    padding: 6px 0;
    background-color: #fc4f00 !important;
    cursor: default;
}

.legendaPren span {
    display: inline-block;
    border: 1px solid #54595F;
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.legendaPren span.prenotata {
    background-color: #fc4f00 !important;
}

.legendaPren span.libera {
    background-color: #FFF !important;
}

.legendaPren b {
    font-size: 16px;
    color: #000;
    font-weight: normal;
}

.eo-events-shortcode {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.eo-events-shortcode li {
    background-color: #fff;
    list-style: none !important;
    padding: 10px 30px;
    margin: 0 !important;
    border-top: 1px solid #ccc;
}

.eo-events-shortcode li:nth-child(odd) {
    background-color: #F0F0F0;
}

.eo-events-shortcode li p {
    font-weight: 600;
    margin: 0;
}

.eo-events-shortcode li p.eo-events-data {
    font-weight: 300;
    font-size: .8em;
    font-style: italic;
}

.eo-events-shortcode li.eo-event-past {
    display: none;
}



