/*!
Theme Name: Design Scuole Italia
Author: Marco Buttarini
Description: Design Scuole Italia è il tema di WordPress per i siti delle Scuole Italiane. Rispetta le linee guida di design dell’Agenzia per l’Italia digitale rilasciare dal Team per la Trasformazione Digitale. Utilizza Bootstrap Italia.
Version: 1.0.11
License: AGPL 3.0 or later
Text Domain: design_scuole_italia
*/

/** immagini e allineamenti wp **/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
    max-width:100%;
    height:auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
    max-width:100%;
    height:auto;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
    max-width:100%;
    height:auto;
}

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. */
}
/****/

.cat-filters .custom-control .custom-control-input .checked ~ .custom-control-label {
    color: white;
    background-color: #455b71; }
.cat-filters .custom-control.custom-checkbox-primary .checked ~ .custom-control-label {
    color: white;
    background-color: #0073e6; }

.cat-filters .custom-control.custom-checkbox-redbrown .checked ~ .custom-control-label {
    color: white;
    background-color: #D1344C; }
.cat-filters .custom-control.custom-checkbox-greendark .checked ~ .custom-control-label {
    color: white;
    background-color: #0E8A5F; }
.cat-filters .custom-control.custom-checkbox-purplelight .checked ~ .custom-control-label {
    color: white;
    background-color: #B21DD0; }
.cat-filters .custom-control.custom-checkbox-bluelectric .checked ~ .custom-control-label {
    color: white;
    background-color: #0D00FF; }
.cat-filters .custom-control.custom-checkbox-grey .checked ~ .custom-control-label {
    color: white;
    background-color: #455b71; }


.location-content{
    word-wrap:break-word;
    max-width:70%
}

.main-content li {
    font-family: Lora, Georgia, serif;
}
.card-body li{
    font-family: "Titillium Web", Geneva, Tahoma, sans-serif;
}
.single .article-wrapper>p>a{
    text-decoration:underline;
}
.page .article-wrapper a{
    color: #0073e6 ;
    text-decoration:underline;
}


.article-title-small {
    height: auto !important;
    padding-bottom: 20px !important;
    }

.article-title-small .title-content{
    padding-bottom:20px
}
/** footer widgets **/
.footer-wrapper .searchform{
    margin-bottom:20px;
}

.footer-wrapper .searchform label{
    color:#fff;
}
.footer-wrapper .searchform  #searchsubmit{
    display: inline-block;
    font-weight: 600;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 0 solid transparent;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    background-color: #5c6f82;
    width:100%;
    margin-top:6px;
}

.footer-wrapper #wp-calendar{
    width:100%;
    border: solid 1px #5c6f82;

}
.footer-wrapper #wp-calendar td, .footer-wrapper #wp-calendar th{
    text-align:center;
    padding:3px 0px;
}
/** fine footer widgets **/

/** tables **/
table{
    table-layout: fixed;
    width: 100%;
}
table,thead,tbody,tfoot,tr, td,th{
    text-align: center;
    margin: auto;
    border:1px solid #dedede;
    padding: 1rem;

}
table td{
    font-family: Lora, Georgia, serif;
}
table td ul{
    text-align:left;
    font-family: Lora, Georgia, serif;
}

.table    { display: table;  }
.tr       { display: table-row;  }
.thead    { display: table-header-group }
.tbody    { display: table-row-group }
.tfoot    { display: table-footer-group }
.col      { display: table-column }
.colgroup { display: table-column-group }
.td, .th   { display: table-cell; }
.caption  { display: table-caption }

.table,
.thead,
.tbody,
.tfoot,
.tr,
.td,
.th{
    text-align: center;
    margin: auto;
    padding: 1rem;
}
.table{
    background: #fff;
    margin: auto;
    border:none;
    padding: 0;
    margin-bottom: 5rem;
}

.th{
    font-weight: 700;
    border:1px solid #dedede;
&:nth-child(odd){
     border-right:none;
 }
}
.td{
    font-weight: 300;
    border:1px solid #dedede;
    border-top:none;
&:nth-child(odd){
     border-right:none;
 }
}
/** fine tables **/


/** footer menu **/
.footer-inline-menu {
    display: flex;
    font-weight: 600;
    list-style: none;
}

.footer-inline-menu ul {
    padding: 0;
    margin: 0;
}
.footer-inline-menu ul li{
    float:left;
    padding:20px;
}

@media (max-width: 767.98px) {
    .footer-inline-menu {
        display: inline;
    }
}
/** amministrazione trasparente **/
.ammtrasm-tableclass a{
    text-decoration:none !important;
}
.ammtrasm-tableclass h3 a { text-decoration:none; cursor: default; }
.ammtrasm-tableclass h3 {  border: 1px solid #eee; padding: 8px 10px; background: #FBFBFB;     color: #51748c;
}
.ammtrasm-tableclass ul li a { text-decoration: none; }

.at-number { float: right;
    border-radius: 10px;
    background-color: white;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #eee;
    text-align: center;
    font-size: 0.5em;
    color: #51748c;
    margin-top: 8px;
}

/** table bandi **/
.table{
    font-size: 14px;
    word-break: break-word;
    min-width:570px;
    margin-bottom: 10px;
}
.single-avcp table{
    margin-bottom:10px;
    word-break: break-word;

}

.big-quote-wrapper{
    overflow:hidden;
}
/* visore didattica */
.label-didattica{
    margin-top: -30px;
}

/***/

@media (max-width: 991.98px){
    .responsive-tabs-aside {
        border-bottom: 1px solid #0a00cb !important;
    }
    .r-tabs .r-tabs-accordion-title {
        border-top: 1px solid #0a00cb !important;

    }
}


/** cal **/
.home .mini-clndr{
    padding: 10px 0px 0px 0px;
    border: none;
}


/*** map ull ***/
.section.section-map-full {
    position: relative;
    z-index: 0;
    height: 500px;
    display: flex;
    align-items: center; }

.section.section-map-full .map-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0; }

@media (max-width: 991.98px) {

    .section.section-map-full {
        height: 240px;


    }
}

/** hero **/
.people-red-forms, .people-red-forms svg, .purple-oval-forms, .purple-oval-forms svg  {
    height: 100% !important;

}

.section.bg-bluelectricgradient h1, .section.bg-bluelectricgradient .h1, .section.bg-bluelectricgradient h2, .section.bg-bluelectricgradient .h2, .section.bg-bluelectricgradient h3, .section.bg-bluelectricgradient .h3, .section.bg-bluelectricgradient p{
    color:#fff;
}
/*  link generico post */
.single .article-wrapper .col-lg-9 p a{
    color: #0D00FF;
}


.single-servizio .article-wrapper .col-lg-9 p a, .single-indirizzo .article-wrapper .col-lg-9 p a{
    color: #B21DD0;
}

/** footer **/
.footer-text {
    font-size:14px;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    padding-top:10px;
}

/** list card **/
.cursorhand{
    cursor:pointer;
}

.card .card-article-img:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
}
/** link sezioni content **/

.purplelight .wysiwig-text a{
    color: #B21DD0;
}

.purplelight .wysiwig-text .btn {
    color: #ffffff;
}

.bluelectric .wysiwig-text a{
    color: #0D00FF;
}

.redbrown .wysiwig-text a{
    color: #D1344C;
}
.greendark .wysiwig-text a{
    color: #0E8A5F;
}
.grey .wysiwig-text a{
    color: #455b71;
}


.article-wrapper .wysiwig-text p {
    margin: 0 0 20px 0 !important;
}

@media (max-width: 767.98px){
    .hero-title {
        padding: 0px 0 0px 0 !important;
    }
}



.breadcrumb li{
    white-space: nowrap;

}

.link-list-wrapper li a{
    font-family:"Titillium Web", Geneva, Tahoma, sans-seri;
}

.owl-item .banner img{
    width:auto !important;
    display: inline !important;
}





.big-quote h2, .big-quote .h2 {
    font-size: 5rem !important;
}

@media (max-width: 1199.98px) {
    .big-quote h2, .big-quote .h2 {
        font-size: 4rem !important;
    }
}

@media (max-width: 991.98px) {
    .big-quote h2, .big-quote .h2 {
        font-size: 4rem !important;
    }
}

@media (max-width: 767.98px) {
    .big-quote h2, .big-quote .h2 {
        font-size: 3.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .big-quote h2, .big-quote .h2 {
        font-size: 2.6rem !important;
    }
}

.logo-header a,
.logo-header a:hover,
.logo-footer a,
.logo-footer a:hover {
    text-decoration: none;
}

.logo-header a,
.logo-header a:hover {
    color: #17324d;
}

.card.card-icon .card-icon-content p {
    word-break: break-all;
}

/**Home page messages*/
@media screen and (min-width:768px) and (max-width:991px),
screen and (min-width:992px) and (max-width:1365px),
screen and (min-width:1366px) {
    .home-message-content {
        padding-left: 12rem!important;
        padding-right: 12rem!important
    }
}

.home-message .msg{
    font-size: 1.5rem!important;
    line-height: 1.55!important;
    padding: 0;
    margin: 0;
}

.home-message .btn-outline-black {
    color: #333;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 0 0 1px #333;
}

.home-message .btn-outline-black:hover {
    color: #fff;
    background-color: #333;
    box-shadow: inset 0 0 0 1px #333;
}

.home-message .btn-outline-black:focus,
.home-message .btn-outline-black.focus {
    box-shadow: inset 0 0 0 1px #17324d, 0 0 0 0.2rem rgba(23, 50, 77, 0.5);
}

.home-message .btn-outline-black.disabled,
.home-message .btn-outline-black:disabled {
    color: #17324d;
    background-color: transparent;
}

.home-message .btn-outline-black:not(:disabled):not(.disabled):active,
.home-message .btn-outline-black:not(:disabled):not(.disabled).active,
.show > .btn-outline-black.dropdown-toggle {
    color: #17324d;
    background-color: transparent;
    background-image: none;
    box-shadow: inset 0 0 0 1px #17324d;
}

.home-message .btn-outline-black:not(:disabled):not(.disabled):active:focus,
.home-message .btn-outline-black:not(:disabled):not(.disabled).active:focus,
.home-message .show > .btn-outline-black.dropdown-toggle:focus {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(23, 50, 77, 0.5);
}

.home-message .msg svg {
    height: 1.5em;
    width: 1.5em;
    margin-right: 10px;
    display: inline-block;
}

.home-message.red,
.home-message.red .msg svg {
    background-color: #D1344C;
    color: #fff!important;
    fill: #fff!important;
}

.home-message.purple,
.home-message.purple .msg svg {
    background-color: #B21DD0;
    color: #fff!important;
    fill: #fff!important;
}

.home-message.green,
.home-message .msg svg {
    background-color: #0E8A5F;
    color: #fff!important;
    fill: #fff!important;
}

.home-message.blue,
.home-message.blue .msg svg {
    background-color: #0D00FF;
    color: #fff!important;
    fill: #fff!important;
}

.home-message.yellow,
.home-message.yellow .msg svg {
    background-color: #FFCC00;
    color: #333!important;
    fill: #333!important;
}

/**
modifiche alla search in header da riportare su scuole.css
 */

.custom-control-submit,
.custom-control-submit:focus {
    padding: 7px 15px 7px 15px;
    border: 2px solid #455b71;
    color: #455b71;
    border-radius: 4px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    background-color: transparent;;
}


.cat-filters .custom-control.custom-submit-primary button {
    color: #0066cc;
    border-color: #0066cc;
}

.cat-filters .custom-control.custom-submit-primary button.checked {
    color: white;
    background-color: #0066cc;
}

.cat-filters .custom-control.custom-submit-redbrown button {
    color: #D1344C;
    border-color: #D1344C;
}

.cat-filters .custom-control.custom-submit-redbrown button.checked {
    color: white;
    background-color: #D1344C;
}

.cat-filters .custom-control.custom-submit-greendark button {
    color: #0E8A5F;
    border-color: #0E8A5F;
}

.cat-filters .custom-control.custom-submit-greendark button.checked {
    color: white;
    background-color: #0E8A5F;
}

.cat-filters .custom-control.custom-submit-purplelight button {
    color: #B21DD0;
    border-color: #B21DD0;
}

.cat-filters .custom-control.custom-submit-purplelight button.checked {
    color: white;
    background-color: #B21DD0;
}

.cat-filters .custom-control.custom-submit-bluelectric button {
    color: #0D00FF;
    border-color: #0D00FF;
}

.cat-filters .custom-control.custom-submit-bluelectric button.checked {
    color: white;
    background-color: #0D00FF;
}

/*
* Menu Footer
*/
.menu-footer  {
    margin: 0;
    float:left;
    width:100%;
    list-style: none;
    padding: 0
}

.menu-footer li {
    float: left;
    margin: 0;
    position: relative;
    padding: 5px 20px 5px 0;
}

.menu-footer li a {
    font-weight: bold;
}

.menu-footer > li:not(:first-child):before {
    content: "-";
    margin-right: 1em;
}

@media (min-width: 1200px) {
    .menu-footer {
        width: 100%;
        float:left;
    }
}

@media (min-width: 768px) and (max-width: 980px) {
    .menu-footer {
        width: 100%;
        float:left;
    }

    .col-2 {
        min-width: 100%;
    }

    .footer-social {
        margin: auto;
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .menu-footer {
        width:100%;
        float:left;
    }

    .menu-footer li {
        float: none;
        text-align: center;
        padding: 5px 0;
    }

    .menu-footer > li:before {
        display: none;
    }

    .col-2 {
        min-width: 100%;
    }

    .footer-social {
        margin: auto;
        padding: 10px;
    }
}

.card.card-icon .card-icon-content p{
    word-break:break-word;
}
