/*
Theme Name: SI AGID PA Theme
Theme URI: https://horizon.sinetinformatica.it
Author: Simone Villa
Author URI: https://sinetinformatica.it
Description: SI AGID PA Theme
Version: 2.0.2

*/

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

.it-header-slim-wrapper .it-header-slim-wrapper-content #headerSlimMenu a span {
    color: #fff;
}

#search-modal,
#spid-modal {
    z-index: 99999;
}

#spid-modal .modal-dialog {
    max-width: 100%;
    margin: 0;
    height: 100vh;
}

#spid-modal .modal-title {
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .06);
    padding: 1.125rem 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    color: #455a64;
    margin-bottom: 4.375rem;
}

@media (min-width: 768px) {
    #spid-modal .modal-title {
        box-shadow: none;
        justify-content: space-between;
        line-height: 1.1;
    }
}

/* RL */

.callout li {
    font-family: Lora, Georgia, serif;
    font-size: .889rem;
    color: #5b6f82;
}

.callout-inner.nessuna-previsione,
.callout:not(.callout-highlight):not(.callout-more) .callout-title.nessuna-previsione::before {
    border-color: #636363 !important;
}

.callout-inner.codice-verde,
.callout:not(.callout-highlight):not(.callout-more) .callout-title.codice-verde::before {
    border-color: #47AE45 !important;
}

.callout-inner.codice-giallo,
.callout:not(.callout-highlight):not(.callout-more) .callout-title.codice-giallo::before {
    border-color: #F3E600 !important;
}

.callout-inner.codice-arancione,
.callout:not(.callout-highlight):not(.callout-more) .callout-title.codice-arancione::before {
    border-color: #F49819 !important;
}

.callout-inner.codice-rosso,
.callout:not(.callout-highlight):not(.callout-more) .callout-title.codice-rosso::before {
    border-color: #E52621 !important;
}

#protezione-civile .callout:not(.callout-highlight):not(.callout-more) .callout-title::before {
    width: 2.222rem;
}

.logo-e015,
.logoRL {
    height: 40px;
}

/*.card dd,
.card ol,
.card ul,*/
#footer dd,
#footer ol,
#footer ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.logo-company {
    height: 25px;
}

#ultimi-messaggi-list .card-teaser-info,
#messaggi-list .card-teaser-info {
    border-left: 8px solid #06c;
}

/** FORM BUILDER CSS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-number input[type=text] {
    display: unset;
}

.input-number.input-number-currency input[type="text"],
.input-number.input-number-percentage input[type="text"] {
    padding-left: 40px;
}

.input-number button,
.cmp-input .clean-input {
    display: none;
}

.card .card-calendar {
    max-height: 110px !important;
}

/* Fix formato elenco puntati in testi */
ul,
ol,
dl {
    font-size: unset !important;
    line-height: unset !important;
}

.datepicker td .datepicker th {
    width: 40px !important;
    height: 40px !important;
}

/* Home calendar splide icons left and right */
.home .splide__arrow,
.site .splide__arrow {
    background: #0000;
    border: 0;
    color: #e5eeee;
    cursor: pointer;
    position: absolute;
    top: 50%;
}

.home .splide__arrow:disabled,
.site .splide__arrow:disabled {
    opacity: .3;
}

.home .splide__arrow--prev,
.site .splide__arrow--prev {
    left: -2.5rem;
    transform: scaleX(-1) translateY(-50%);
}

.home .splide__arrow--next,
.site .splide__arrow--next {
    right: -2.5rem;
    transform: translateY(-50%);
}

.home .splide__arrow svg,
.site .splide__arrow svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-width: 8px;
    height: 2.2rem;
    vertical-align: middle;
    width: 2.2rem;
}

/*BTN ACTION*/
.btn-action {
    visibility: visible;
    opacity: 1;
    transition: all .2s ease-in-out, transform .05s ease-out, visibility 0s linear, opacity .1s ease-in-out;
    transform: scale(1);
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    text-decoration: none;
    border-radius: 50%;
    display: block;
    text-align: center;
    z-index: 1;
    transform-origin: center center;
}

.btn-action .icon {
    margin: 0;
    position: relative;
    transform: scale(0.75);
    top: 4px;
}

@media (min-width: 768px) {
    .btn-action .icon {
        transform: scale(1);
        top: 10px;
    }
}

@media (min-width: 1200px) {
    .btn-action {
        bottom: 32px;
        left: 32px;
    }
}

@media (min-width: 768px) {
    .btn-action {
        width: 56px;
        height: 56px;
    }
}

/* Cookie */
.cc_div *,
.cc_div :after,
.cc_div :before,
.cc_div :hover {
    font-family: 'Titillium Web' !important;
}

.cc_div .c-bn {
    font-size: 1em !important;
}

#c-txt {
    font-size: 1 !important;
}

/* Rimuovo bandiera da leaflet*/
.leaflet-control-attribution.leaflet-control svg.leaflet-attribution-flag{
    display: none !important;
}

/* Datepicker full width */
input[type=date],
input[type=datetime-local],
input[type=time] {
    display: block !important;
    width: 100% !important;
}