@font-face {
    font-family: "terna-icons";
    src: url("inc/fonts/icons.woff") format("woff"), url("inc/fonts/icons.ttf") format("opentype"), url("inc/fonts/icons.svg#icons") format("svg");
}
/* ho commentato delle alternative di colore più in linea con i nomi assegnati */
/*concertazione*/
.con-bg-color {
    background-color: #D98C00 !important;
}
.ti-concertazione-color,
.con-text-color {
    color: #D98C00 !important;
}
/*autorizzazione*/
.aut-bg-color {
    background-color: #C25604 !important;
}
.ti-autorizzazione-color,
.aut-text-color {
    color: #C25604 !important;
}
/*realizzazione*/
.rea-bg-color {
    background-color: #9A333B !important;
}
.ti-realizzazione-color,
.rea-text-color {
    color: #9A333B !important;
}
/*esercizio*/
.ese-bg-color {
    background-color: #11551C !important;
}
.ti-esercizio-color,
.ese-text-color {
    color: #11551C !important;
}
/* * * * * * * * * * */
* {
    outline: none !important;
    font-family: Roboto, sans-serif;
}
main {
    display: block;
    min-height: calc(100vh - 620px);
}
h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin: 1rem 0;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    color: #295eb9;
}
h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin: 1rem 0;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    color: #295eb9;
}
.h2-portale{
    text-transform: none!important;
}
h4 {
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    margin: 0;
    padding: 0;
    z-index: 1;
}
h5 {
    font-family: Roboto, sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
}
@media (min-width: 1280px) {
    .container:not(main) {
        padding-right: 0;
        padding-left: 0;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}
/* * * * * * * * * * */
/* FORM ELEMENT */
input[type="submit"].button-primary,
.button-primary {
    background-color: white;
    color: #005ca9;
    border-radius: 8px;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    border: 2px solid #005ca9 !important;
    padding: 10px 30px;
    text-align: center;
    cursor: pointer;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
input[type="submit"],
.button-secondary {
    background-color: #005ca9;
    color: white;
    border-radius: 8px;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    border: 2px solid white;
    padding: 10px 30px;
    text-align: center;
    cursor: pointer;
    -moz-transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
input[type="submit"]:hover,
.button-secondary:hover,
.button-primary:hover {
    background-color: #152f5d;
    color: white;
    border-color: white;
    cursor: pointer;
    text-decoration: none;
}
/* CARD */
.bg-terna {
    background-color:#005ca9!important;
}
.card {
    border: 1px solid #9d9d9c;
    border-radius: 18px;
    min-height: 380px;
}
.card-header {
    padding: 8px 40px;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 0 solid rgba(0, 0, 0, 0.125);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
}
@media screen and (max-width: 575px) {
    .card-header {
        padding: 8px 20px;
    }
}
.card-body {
    padding: 8px 40px;
}
@media screen and (max-width: 575px) {
    .card-body {
        padding: 8px 20px;
    }
}
.primary-card {
    background-color: white;
    border: 1px solid #9d9d9c;
    color: #2f2f2f;
}
.primary-card a {
    color: #005ca9;
}
.primary-card a:hover {
    color: #152f5d;
}
.secondary-card {
    background-color: #005ca9 !important;
    color: white;
}
/* * * * * * * * * * */
/**  HOME PAGE **/
.page-template-home-page {
    /* homepage login card */
    /* homepage incontri card (primary) */
}
@media screen and (max-width: 991px) {
    .page-template-home-page .login-home-page {
        display: none;
    }
}
.page-template-home-page .login-home-page .box-login {
    min-height: 398px;
}
@media screen and (max-width: 1199px) {
    .page-template-home-page .login-home-page .box-login {
        min-height: 398px;
        padding: 8px 15px;
    }
}
@media screen and (max-width: 1198px) {
    .page-template-home-page .login-home-page .box-login {
        min-height: 398px;
        padding: 8px 15px;
    }
}
@media screen and (max-width: 1280px) {
    .page-template-home-page .login-home-page .box-login {
        min-height: 392px;
        padding: 8px 30px;
    }
}
.page-template-home-page .login-home-page .box-login .login-form .logo {
    width: 48%;
    display: block;
    margin: 25px auto;
}
.page-template-home-page .login-home-page .box-login .login-form input[type="text"],
.page-template-home-page .login-home-page .box-login .login-form input[type="password"] {
    border: 2px solid #FFFFFF !important;
    background: #005CA9 !important;
    height: 40px !important;
    padding: 5px 15px !important;
    margin-bottom: 5px !important;
    color: #FFFFFF !important;
    caret-color: #FFFFFF !important;
    width: 100% !important;
    border-radius: 8px !important;
}
.page-template-home-page .login-home-page .box-login .login-form input[type="submit"],
.page-template-home-page .login-home-page .box-login .login-form .button-secondary,
.page-template-home-page .login-home-page .box-login .login-form .button-primary {
    width: 100%;
    margin-bottom: 15px;
}
.page-template-home-page .login-home-page .box-login .login-form .psw-dimenticata {
    font-size: 13px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    word-break: break-word;
    word-wrap: break-word;
    float: right;
    color: #fff;
}
.page-template-home-page .login-home-page .box-login .login-form label {
    color: #fff;
    font-weight: 400 !important;
    font-size: 0.75rem !important;
}
.page-template-home-page .box-incontri {
    background-color: white;
    border: 1px solid #9d9d9c;
    color: #2f2f2f;
    min-height: 400px;
}
.page-template-home-page .box-incontri a {
    color: #005ca9;
}
.page-template-home-page .box-incontri a:hover {
    color: #152f5d;
}
.page-template-home-page .box-incontri .card-header {
    padding-bottom: 18px;
}
@media screen and (max-width: 991px) {
    .page-template-home-page .box-incontri {
        margin-top: 1.5rem;
    }
}
.page-template-home-page .box-incontri .slide-incontri .owl-dots .owl-dot span {
    width: 50px !important;
    height: 3px !important;
    margin: 5px 7px !important;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 0 !important;
    background: #9d9d9c !important;
}
.page-template-home-page .box-incontri .slide-incontri .owl-dots .owl-dot.active span {
    background: #005CA9 !important;
    width: 70px !important;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri {
    color: #005ca9;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri h4 {
    color: #005CA9;
    font-weight: 600;
    letter-spacing: unset;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri h5 {
    color: #005ca9;
    margin-top: 5px;
    margin-left: 22px;
    margin-bottom: 5px;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .info-incontro {
    color: black;
    font-size: 0.85rem;

}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .info-incontro img {
    width: 13px;
    float: left;
    padding-top: 4px;
    margin-right: 8px;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .info-incontro .terna-calendar-icon::before {
    content: "\f109";
    font: normal normal normal 0.8rem terna-icons;
    float: left;
    padding: 3px 10px 0 0;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-data {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 12%;
    flex: 0 0 13%;
    max-width: 13%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
@media screen and (max-width: 991px) {
    .page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-data {
        max-width: 20%;
    }
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-info {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 79%;
    flex: 0 0 79%;
    max-width: 79%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
@media screen and (max-width: 991px) {
    .page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-info {
        max-width: 75%;
    }
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-info .item-box-incontri-sottotitolo {
    float: left;
    font-size: 0.85rem;
    /*min-height: 56px;*/
    padding-top: 7px;
    margin-bottom: 7px;
    width: 100%;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-link {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 9%;
    flex: 0 0 9%;
    max-width: 9%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-link .terna-action-link {
    padding-top: 80px;
    display: block;
    max-width: 25px;
    float: right;
    width: 25px;
    box-sizing: inherit;
}
.page-template-home-page .box-incontri .slide-incontri .item-box-incontri .col-link .terna-action-link:hover {
    color: black;
}
.page-template-home-page .content-on-slide {
    margin-top: -200px;
}
@media (max-width: 951px) {
    .page-template-home-page .content-on-slide {
        margin-top: -350px;
    }
}
/* homepage all-opere card */
.box-all-opere {
    background-image: url('/wp-content/themes/ternatheme/images/home/terna-incontra-map-home.jpg');
    background-size: contain;
    height: 100%;
    border: 0;
}
@media screen and (max-width: 912px) {
    .box-all-opere {
        min-height: 400px;
        margin-top: 1.5rem;
    }
}
@media screen and (max-width: 991px) {
    .box-all-opere {
        margin-top: 1.5rem;
        background-size: cover;
        background-repeat: no-repeat;
    }
}
.box-all-opere .card-title {
    padding-top: 60%;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    font-size: 1rem;
}
@media screen and (max-width: 912px) {
    .box-all-opere .card-title {
        padding-top: 13%;
    }
}
.box-all-opere .card-text {
    text-transform: uppercase;
    font-weight: 500;
    color: white;
    font-size: 1rem;
}
@media screen and (max-width: 912px) {
    .box-all-opere .card-text {
        padding-top: 20%;
    }
}
.box-all-opere a.card-text {
    font-weight: 700;
    float: right;
}
@media screen and (max-width: 912px) {
    .box-all-opere a.card-text {
        margin-right: 1rem;
    }
}
.box-all-opere .card-img-overlay {
    padding: 8px 40px;
}
/* homepage "questo-portale" card */
@media screen and (max-width: 991px) {
    .questo-portale {
        margin-top: 50px !important;
    }
}
.questo-portale .card {
    min-height: 350px !important;
    background-color: #5C74AB;
    color: white;
}
.questo-portale .card-footer {
    text-align: right;
    padding-right: 30px;
}
.questo-portale .card-footer a {
    color: white;
}
.questo-portale .card-footer a:hover {
    text-decoration: none;
}
.questo-portale .col-lg-8 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
}
@media screen and (min-width: 992px) {
    .questo-portale .col-lg-8 {
        padding-left: 0 !important;
        padding-right: 11px !important;
        margin-left: 0;
        margin-right: 0;
    }
    .questo-portale .col-lg-8 .card {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-left: none;
    }
}
@media screen and (max-width: 991px) {
    .questo-portale .col-lg-8 .card {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        border-top: none;
    }
}
.questo-portale .col-lg-8 .descrizione-portale {
    background-color: #5c74ab;
    color: white;
}
.questo-portale .col-lg-4 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
}
@media screen and (min-width: 992px) {
    .questo-portale .col-lg-4 {
        padding-right: 0 !important;
        padding-left: 11px !important;
        margin-left: 0;
        margin-right: 0;
    }
    .questo-portale .col-lg-4 .card {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-right: none;
    }
}
@media screen and (max-width: 991px) {
    .questo-portale .col-lg-4 .card {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom: none;
    }
}
.questo-portale #portale-img {
    background-image: url("/wp-content/themes/ternatheme/images/home/Terna-incontra-Rimini-2019-852-Terna.jpeg");
    min-height: 100% !important;
    background-size: cover;
}
@media screen and (max-width: 912px) {
    .questo-portale #portale-img {
        height: 250px;
    }
}
/* homepage progetti card*/
.progetti-incontri {
    color: #005ca9;
}
.progetti-incontri h4 {
    color: #005CA9;
    font-weight: 600;
    letter-spacing: unset;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.progetti-incontri h5 {
    color: #005ca9;
    margin-top: 5px;
    margin-left: 22px;
    margin-bottom: 5px;
}
.item-box-progetti {
    color: #005ca9;
}
.item-box-progetti h4 {
    color: #005CA9;
    font-weight: 600;
    letter-spacing: unset;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.item-box-progetti h5 {
    color: #005ca9;
    margin-top: 5px;
    margin-left: 22px;
    margin-bottom: 5px;
}
.item-box-progetti a {
    text-decoration: none;
}
.item-box-progetti.row {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2c2c2c;
    min-height: 113px;
}
.item-box-progetti.row:last-child {
    border: 0 solid gray;
}
@media screen and (max-width: 767px) {
    .item-box-progetti h5 {
        margin-left: 0 !important;
    }
}
@media screen and (max-width: 991px) {
    .item-box-progetti h4 {
        font-size: 0.83rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .item-box-progetti h4 {
        font-size: 0.7rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1279px) {
    .item-box-progetti h4 {
        font-size: 0.83rem;
    }
}
.item-box-progetti-sottotitolo {
    float: left;
    font-size: 0.85rem;
    min-height: 41px;
    margin-left: 22px;
    padding-right: 22px;
    width: calc(100% - 62px);
}
@media screen and (max-width: 767px) {
    .item-box-progetti-sottotitolo {
        margin-left: 0 !important;
    }
}
@media screen and (max-width: 991px) {
    .item-box-progetti-sottotitolo {
        width: calc(100% - 97px);
        font-size: 0.75rem;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .item-box-progetti-sottotitolo {
        width: calc(100% - 97px);
        font-size: 0.65rem;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1279px) {
    .item-box-progetti-sottotitolo {
        width: calc(100% - 97px);
        font-size: 0.75rem;
    }
}
.item-box-progetti-link {
    width: 40px;
    float: right;
}
.bullet-box-progetti {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 6px;
    margin-right: 10px;
}
@media screen and (max-width: 991px) {
    .bullet-box-progetti {
        width: 10px;
        height: 10px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .bullet-box-progetti {
        width: 8px;
        height: 8px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1279px) {
    .bullet-box-progetti {
        width: 10px;
        height: 10px;
    }
}
/* * * * * * * * * * */
.chi-siamo-card {
    min-height: 180px !important;
    margin-top: 25px;
    margin-bottom: 15px;
}
.chi-siamo-card .card-header {
    color: #005ca9;
}
.chisiamo-button {
    border-color: #575756 !important;
}
.title-ruolo-chi-siamo {
    border: 1px solid #005ca9;
    border-radius: 10px 10px 0px 0px;
    width: 270px;
    background-color: #005ca9;
}
.title-ruolo-chi-siamo h2 {
    margin-left: 27px;
    color: white;
    font-size: 20px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
/*.title-ruolo-chi-siamo h2::before {
  content: "\f110";
  font: normal normal normal 1rem terna-icons;
  color: white;
  margin-right: 10px;
}*/
.ruolo-terna-card {
    min-height: 200px;
    border: 1px solid #005ca9;
    border-radius: 0px 10px 10px 10px;
}
.ruolo-terna-card .card-body {
    padding: 20px 25px;
}
/* * * * * * * * * * */
/* DATE su card */
.date-primary {
    font-family: 'Oswald', sans-serif;
    color: #005ca9;
    padding-left: 15px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.date-primary-year {
    color: #7a7a7a;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    padding-left: 15px;
}
/* * * * * * * * * * */
/* BOTTONI */
.btn-primary {
    background-color: white;
    color: #005ca9;
    border-radius: 8px;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    width: 100%;
    display: inline-block;
    border: 2px solid white;
    padding: 9px 15px;
    text-align: center;
}
.btn-primary:hover {
    background-color: #152f5d;
    color: white;
    border-color: #152f5d;
}
.btn-secondary {
    background-color: #005ca9;
    color: white !important;
    border-radius: 8px;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    width: 100%;
    display: inline-block;
    border: 2px solid white;
    padding: 9px 15px;
    text-align: center;
}
.btn-secondary:hover {
    background-color: #152f5d;
    color: white;
    border-color: white;
}
/* * * * * * * * * * */
@media screen and (max-width: 912px) {
    /*  Responsive Burger Menu */
    #site-navigation.opened > .menu-menu-principale-container > #primary-menu > .menu-item {
        transform: translateX(-200%);
        animation-name: move;
        animation-duration: 1s;
        float: none;
        font-size: 2.7rem;
        margin-top: 5vh;
        animation-fill-mode: both;
    }
}
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}
.modal-content.modal-login {
    border-radius: 10px;
    background-color: #005CA9;
    color: white;
    padding: 20px 35px 20px 35px;
    border: 1px solid #005CA9;
    box-shadow: 1px 1px 2px 1px #3d3d3d;
}
.modal-content.modal-login .modal-body {
    padding-top: 0;
}
.modal-content.modal-login .modal-header {
    padding: 0;
    border: none;
}
.modal-content.modal-login .close {
    font-size: 3rem;
    font-weight: 700;
    line-height: 0.25;
    color: #000;
    text-shadow: none;
}
.modal-search input[type="submit"] {
    background-color: #005ca9 !important;
    color: white !important;
    border-radius: 8px !important;
    margin-bottom: 5px !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    width: 100% !important;
    display: inline-block;
    border: 2px solid white;
    padding: 9px 15px;
    text-align: center;
}
.header-cerca {
    display: block;
    float: right;
    margin: 8px 0 0 10px;
}
.login-header {
    margin-top: 8px;
    display: block;
    float: right;
    min-width: 25px;
    margin-right: 10px;
    color: white;
    text-decoration: none;
}
.login-header a {
    color: white;
    text-decoration: none;
    text-transform: initial;
}
@media (max-width: 1050px) {
    .login-header .label-benvenuto {
        display: none;
    }
}
.header-cerca {
    display: block;
    float: right;
    margin: 8px 0 0 10px;
}
.terna-search-icon::before {
    content: "\f110";
    font: normal normal normal 1.25rem terna-icons;
    color: #FFF;
}
.terna-search-icon::before a {
    color: #FFF !important;
}
.terna-action-link::before {
    content: "\f116";
    font: normal normal normal 1.5rem terna-icons;
    color: #005ca9;
}
.terna-action-link-esc::before {
    content: "\f115";
    font: normal normal normal 1.5rem terna-icons;
}
.header-pipe {
    margin: 0 10px;
    font-size: 1rem;
}

/*
nav.main-navigation.opened + div.toolset > .login-header {
    display:block !important;
    font-size: 16px;
}
*/
/*  funzione ricerca in header  */
/* SISTEMA QUESTO CASINO */
#effettua-ricerca {
    background-color: rgba(0, 92, 179, 0.95);
    cursor: default;
}
#effettua-ricerca .modal-search {
    width: 100% !important;
    float: none !important;
    margin: 130px auto !important;
}
#effettua-ricerca .modal-dialog-search {
    position: relative;
    max-width: 80%;
    pointer-events: none;
}
#effettua-ricerca .sf-field-search {
    width: 90%;
}
@media (max-width: 768px) {
    #effettua-ricerca .sf-field-search {
        width: 73%;
        margin-right: 3%;
    }
}
#effettua-ricerca .searchandfilter label {
    width: 100%;
}
.modal-search .searchandfilter > ul > li {
    height: 43px;
    width: 3%;
}
#effettua-ricerca .modal-search .searchandfilter .sf-input-text {
    max-width: none;
    width: 100%;
    border: 2px solid #FFF !important;
    background-color: #005CA9 !important;
    color: #FFF !important;
}
#effettua-ricerca .modal-search input[type="submit"] {
    background-color: rgba(0, 92, 179, 0.95) !important;
    color: #FFFFFF !important;
    border-radius: 0 !important;
    margin-bottom: 5px !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-block;
    border: 0 solid #FFFFFF;
    padding: 0;
    text-indent: -9999px;
    background-image: url("images/search-white.svg");
    background-repeat: no-repeat;
    background-size: 40px 40px;
    cursor: pointer;
}
#effettua-ricerca .modal-search .searchandfilter .sf-input-text {
    font-size: 24px;
}
/* * * * * * * * * * */
/* * * * * * * * * * */
.slide-home {
    background-image: url("/wp-content/themes/ternatheme/images/home/home-hero-slide-4.jpg");
    border-bottom-left-radius: 350px;
    height: 500px;
    background-size: cover;
    position: relative;
}
/* * * * * * * * * * */
/* FORMS */
.modal-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
/* * * * * * * * * * */
/* FOOTER */
footer {
    background-color: #005CA9;
    padding: 40px 30px 0;
    margin-top: 115px;
}
footer .logo-footer {
    max-width: 120px;
}
footer .link-footer {
    font-family: 'Roboto', sans-serif, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    /* identical to box height, or 183% */
    letter-spacing: 0.005em;
    text-decoration-line: none;
    margin-right: 1em;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: left;
    vertical-align: center;
}
footer .title-footer {
    font-family: 'Roboto', sans-serif, serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    /* identical to box height, or 138% */
    margin-bottom: 1em;
    letter-spacing: 0.005em;
    color: #FFFFFF;
    vertical-align: center;
}
footer .col-md-2.links {
    margin-top: 14px;
}
footer .terna-socials {
    display: flex;
    justify-content: space-around;

    padding: 0.5rem 0;

    flex-direction: row;
}
footer .terna-socials .terna-social {
    color: white;
}
footer .terna-socials .terna-icon-facebook::before {
    content: "\f10e";
    font: normal normal normal 1rem terna-icons;
}
footer .terna-socials .terna-icon-linkedin::before {
    content: "\f117";
    font: normal normal normal 1rem terna-icons;
}
footer .terna-socials .terna-icon-twitter::before {
    content: "\f11e";
    font: normal normal normal 1rem terna-icons;
}
footer .terna-socials .terna-icon-instagram::before {
    content: "\f113";
    font: normal normal normal 1rem terna-icons;
}
footer .terna-socials .terna-icon-youtube-link::before {
    content: "\f11f";
    font: normal normal normal 1rem terna-icons;
}
footer .terna-socials .terna-icon-flickr::before {
    content: "\f10f";
    font: normal normal normal 1rem terna-icons;
}
footer .terna-socials .terna-icon-slideshare::before {
    content: "\f11c";
    font: normal normal normal 1rem terna-icons;
}
footer .footer-description {
    padding-top: 40px;
    padding-bottom: 20px;
}
footer .footer-description p {
    color: #fff;
    font-size: 12px;

    padding-right: 10px;
    margin: 0 5px;
    line-height: 150%;
    font-weight: 400;
}
/* * * * * * * * * * */
/* OPERE - Pagina "Archive Opere" */
.page-header {
    margin-top: 40px;
    margin-bottom: 40px;
}
.search-bar {
    margin-top: 40px;
    margin-bottom: 30px;
}
/* * * * * * * * * * */
/* Card per singole opere su pagina Opere */
/* CARD DELLE OPERE ED INCONTRI */
.box-opere {
    padding-bottom: 2rem;
}
.box-opere .card {
    border-radius: 12px;
    min-height: 440px;
}
.box-opere .card .cal-data {
    position: absolute;
    z-index: 1;
    top: 116px;
    right: 4px;
    min-height: 114px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 65px;
    text-align: center;
    padding-top: 10px;
    color: black;
    font-weight: bolder;
}
@media screen and (min-width: 567px) {
    .box-opere .card .cal-data {
        top: 173px !important;
    }
}
@media screen and (min-width: 768px) {
    .box-opere .card .cal-data {
        top: 81px !important;
    }
}
@media screen and (min-width: 992px) {
    .box-opere .card .cal-data {
        top: 57px !important;
    }
}
@media screen and (min-width: 1198px) {
    .box-opere .card .cal-data {
        top: 51px !important;
    }
}
@media screen and (min-width: 1200px) {
    .box-opere .card .cal-data {
        top: 87px !important;
    }
}
@media screen and (min-width: 1280px) {
    .box-opere .card .cal-data {
        top: 116px !important;
    }
}
.box-opere .card .cal-data-y {
    font-size: 10px;
    display: block;
}
.box-opere .card .cal-data-d {
    font-size: 33px;
    display: block;
}
.box-opere .card .in-corso {
    position: absolute;
    z-index: 1;
    top: 200px;
    left: 12px;
    text-align: center;
    padding-top: 10px;
    color: white;
    font-weight: bolder;
}
.box-opere .card .card-img-top {
    width: 100%;
    border-top-left-radius: calc(13px - 1px);
    border-top-right-radius: calc(13px - 1px);
    height: 250px;
    object-fit: cover;
}
.box-opere .card .card-img-overlay-avanzamento {
    padding: 0.25rem 1.25rem;
    height: 12px;
    border-radius: 18px 18px 0 0;
    opacity: 0.8;
}
.box-opere .card .card-img-overlay-avanzamento-incontro {
    padding: 0.25rem 1.25rem;
    height: 10px;
    border-radius: 36px 36px 0 0;
    opacity: 0.9;
    color: white;
    float: right;
    text-align: right;
    line-height: 0.8;
    font-size: 12px;
}
.box-opere .card .card-img-overlay.card-img-overlay-avanzamento-incontro.incontro-concluso {
    background-color: gray;
    font-size: 12px;
    height: 18px;
    line-height: 0.8;
    border-radius: 12px 12px 0 0;
}
.box-opere .card .card-body {
    padding: 9px 22px;
    min-height: 180px;
}
.box-opere .card .card-body .card-title.text-primary {
    color: #005ca9 !important;
    text-transform: uppercase;
    font-weight: 500;
    font-family: Oswald, sans-serif;
}
.box-opere .card .card-body .incontro-titolo-opera {
    font-family: Oswald, sans-serif;
    color: #2f2f2f;
    font-size: 0.9rem;
    line-height: 1.4;
    text-transform: uppercase;
}
.box-opere .card .list-group-item h5 {
    margin-bottom: 0;
    margin-top: 2px;
}
.box-opere .card .terna-action-link {
    float: right;
}
.box-opere .card .card-footer .incontro-luogo img {
    height: 15px;
}
.box-opere .card .card-footer .incontro-luogo {
    font-size: 0.8rem;
    float: left;
    width: 80%;
}
.box-opere .card .card-footer .data-completa {
    font-size: 0.8rem;
    float: left;
    width: 100%;
}
.box-opere .card .card-footer .col-action-link {
    float: right;
    top: -35px;
    position: relative;
    height: 1px;
    color: #005ca9;
}
/*** PAGINA REGISTRAZIONE ***/
.page-template-registrazione #registrazione {
    /*Icon Selector*/
}
.page-template-registrazione #registrazione .minicard {
    opacity: 0;
}
.page-template-registrazione #registrazione .opera_section {
    margin-top: 50px;
    margin-bottom: 50px;
}
.page-template-registrazione #registrazione .opere_card_area {
    position: relative;
    margin-bottom: 30px;
}
.page-template-registrazione #registrazione .single_opere_card {
    border: 1px solid #efefef;
    border-radius: 13px;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -khtml-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.page-template-registrazione #registrazione .opere_card_title {
    padding: 10px 20px;
    text-align: center;
    background-color: #d6d6d6;
    border-radius: 0 0 12px 12px;
    min-height: 100px;
}
.page-template-registrazione #registrazione .opere_card_title h3 {
    font-size: 16px;
    font-weight: 400;
    color: #292d3f;
    margin-bottom: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -khtml-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.page-template-registrazione #registrazione .opere_card_title h3 i {
    opacity: 0;
}
.page-template-registrazione #registrazione .opere_card_image {
    max-width: 100%;
    min-height: 135px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-template-registrazione #registrazione .opere_card_image .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    max-height: 162px;
    object-fit: cover;
}
.page-template-registrazione #registrazione .quiz_icon {
    width: 70px;
    height: 75px;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -khtml-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.page-template-registrazione #registrazione .quiz_icon1 {
    background-image: url('https://img.icons8.com/ios-filled/32/000000/maxcdn.png');
}
.page-template-registrazione #registrazione .quiz_icon2 {
    background-image: url('https://img.icons8.com/ios-filled/48/000000/download-2.png');
}
.page-template-registrazione #registrazione .quiz_icon3 {
    background-image: url('https://img.icons8.com/ios/50/000000/cloudflare.png');
}
.page-template-registrazione #registrazione .quiz_icon4 {
    background-image: url('https://img.icons8.com/dotty/80/000000/download-2.png');
}
.page-template-registrazione #registrazione .opere_checkbox {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    cursor: pointer;
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card {
    border: 1px solid #005ca9;
    border-radius: 13px;
}
.page-template-registrazione #registrazione .opere_checkbox:checked:hover ~ .single_opere_card {
    border: 1px solid #005ca9;
    border-radius: 13px;
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_title {
    background-color: #005ca9;
    color: #ffffff;
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_title h3 {
    color: #ffffff;
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_title h3 i {
    opacity: 1;
}
.page-template-registrazione #registrazione .opere_checkbox:checked:hover ~ .opere_card_title {
    border: 1px solid #005ca9;
    border-radius: 13px;
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_image {
    color: #005ca9;
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_image .quiz_icon1 {
    background-image: url('https://img.icons8.com/nolan/32/000000/maxcdn.png');
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_image .quiz_icon2 {
    background-image: url('https://img.icons8.com/color/48/000000/download-2.png');
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_image .quiz_icon3 {
    background-image: url('https://img.icons8.com/color/48/000000/cloudflare.png');
}
.page-template-registrazione #registrazione .opere_checkbox:checked ~ .single_opere_card .opere_card_content .opere_card_image .quiz_icon4 {
    background-image: url('https://img.icons8.com/material-outlined/80/000000/download-2.png');
}
.page-template-registrazione #registrazione .opere_card_image {
    font-size: 50px;
    color: #000000;
}
/* * * * *  LISTING INCONTRI * * * * * */
.post-type-archive-incontri .card .card-footer .incontro-luogo img {
    height: 16px;
    padding-right: 8px;
}
.post-type-archive-incontri .card .card-footer .terna-calendar-icon::before {
    content: "\f109";
    font: normal normal normal 0.8rem terna-icons;
    float: left;
    padding: 2px 12px 0 0;
    margin-left: 1px;
}
/* COSE DA SISTEMARE */
#nav-sec-center3 {
    margin-bottom: 3em;
}
@media screen and (max-width: 767px) {
    #nav-sec-center3 {
        margin-top: 0;
    }
}
@media screen and (min-width: 768px) {
    #nav-sec-center3 {
        margin-top: 3em;
    }
    .terna-socials {
        width: auto;
    }
    .terna-socials a {
        margin-left: 0.5em;

    }
}
.scritta-nav-sec-bot {
    color: #FFFFFF;
}
/*** PAGINA INCONTRI ***/
.single-incontri {
    /* QUESTIONARIO */
}
.single-incontri .info-opera {
    padding-right: 0;
    margin-top: 80px;
}
.single-incontri .info-opera .info-row {
    padding: 8px 0;
    border-bottom: 1px solid lightgray;
}
.single-incontri .info-opera .info-row .luogo {
    margin-bottom: 0;
}
.single-incontri .info-opera .info-row .luogo .regione {
    font-weight: bolder;
}
.single-incontri .info-opera .foto-incontro {
    position: relative;
}
.single-incontri .info-opera .foto-incontro .cal-data {
    position: absolute;
    z-index: 1;
    right: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100px;
    text-align: center;
    padding-top: 20px;
    color: black;
    font-weight: bolder;
    padding-bottom: 20px;
}
.single-incontri .info-opera .foto-incontro .cal-data-y {
    font-size: 10px;
    display: block;
}
.single-incontri .info-opera .foto-incontro .cal-data-d {
    font-size: 33px;
    display: block;
}
.single-incontri .info-opera .foto-incontro .in-corso {
    position: absolute;
    z-index: 1;
    text-align: center;
    padding: 20px 25px;
    color: white;
    font-weight: bolder;
}
.single-incontri .info-opera .foto-incontro .foto-opera {
    border-radius: 10px;
    max-width: 100%;
}
@media (max-width: 768px) {
    .single-incontri .info-opera .foto-incontro .foto-opera {
        margin-top: 20px;
    }
}
.single-incontri .info-opera .questionario-incontro {
    padding-left: 0;
    padding-right: 0;
}
.single-incontri .info-opera .questionario-incontro .form-questionario .form-group .btn-check + .btn {
    width: 35px;
    height: 35px;
    padding: 3px;
    border-radius: 18px;
}
.single-incontri .questionario-incontro .form-questionario .form-group .btn-check + .btn {
    width: 35px;
    height: 35px;
    padding: 3px;
    border-radius: 18px;
}
/* Popup message */
/* Stile del contenitore del popup */
#popup-container {
    display: none;
    /* il popup è nascosto per impostazione predefinita */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* sfondo semi-trasparente */
}
/* Stile del contenuto del popup */
#popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}
/* Stile del pulsante di chiusura del popup */
#popup-close {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #eee;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* -HEADER- */
header.site-header {
    background-color: #005ca9;
    position: sticky;
    padding: 13px 25px;
    top: 0;
    z-index: 10000;
}
header .site-branding img {
    height: 33px;
    max-width: unset;
    padding-top: 2px;
}
@media screen and (max-width: 1200px) {
    header .site-branding img {
        height: 27px;
        max-width: unset;
        padding-top: 2px;
        position: absolute;
        top: 16px;
    }
}
@media screen and (max-width: 950px) {
    header .site-branding img {
        height: 19px;
        max-width: unset;
        padding-top: 2px;
        position: absolute;
        top: 21px;
    }
}
header .main-navigation {
    display: block;
}
header .main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
header .main-navigation li {
    position: relative;
    float: left;
}
header .main-navigation a {
    display: block;
    text-decoration: none;

}
header .main-navigation.toggled ul {
    display: block;
}
header .main-navigation .menu-menu-principale-container {
    text-align: center;
}
header .main-navigation.opened .menu-menu-principale-container {
    padding: 78px 25px;
}
@media screen and (min-width: 37.5em) {
    header .main-navigation ul {
        display: inline-block;
    }
}
header .main-navigation .menu-item a {
    color: white;
    padding: 7px 17px 0 17px;
    text-decoration: none;
}
header .main-navigation .menu-item a:hover {
    color: #cdcdcd;
    text-decoration: none;
}
@media screen and (max-width: 1200px) {
    header .main-navigation .menu-item a {
        color: white;
        padding: 10px 10px 0 10px;
        text-decoration: none;
        font-size: 15px;
    }
}
header .toolset .ico-burger {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    float: right;
    position: relative;
}
header .toolset .ico-burger .lineb {
    fill: none;
    stroke: white;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
header .toolset .ico-burger .lineb1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
header .toolset .ico-burger .lineb2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
header .toolset .ico-burger .lineb3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
header .toolset .ico-burger.opened {
    position: relative;
    z-index: 10000;
}
header .toolset .ico-burger.opened .lineb1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
header .toolset .ico-burger.opened .lineb2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
header .toolset .ico-burger.opened .lineb3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
@media screen and (max-width: 912px) {
    header {
        /*  Responsive Burger Menu */
    }
    header #site-navigation.opened > .menu-menu-principale-container > #primary-menu > .menu-item {
        transform: translateX(-200%);
        animation-name: move;
        animation-duration: 1s;
        float: none;
        font-size: 2.7rem;
        margin-top: 5vh;
        animation-fill-mode: both;
    }
    @keyframes move {
        from {
            transform: translateX(-200%);
        }
        to {
            transform: translateX(0%);
        }
    }
}
header .main-navigation {
    display: none;
}
header .main-navigation.opened {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(41, 94, 185, 0.95);
}
header .main-navigation .menu-menu-principale-container {
    text-align: center;
}
header .main-navigation.opened .menu-menu-principale-container {
    padding: 78px 25px;
}
header .menu-item a {
    color: white;
    padding: 7px 17px 0px 17px;
    text-decoration: none;
}
header .menu-item a:hover {
    color: #cdcdcd;
    text-decoration: none;
}
header .login-form .logo {
    width: 48%;
    display: block;
    margin: 25px auto;
}
header .login-form input[type="text"],
header .login-form input[type="password"] {
    border: 2px solid #FFFFFF !important;
    background: #005CA9 !important;
    height: 40px !important;
    padding: 5px 15px !important;
    margin-bottom: 5px !important;
    color: #FFFFFF !important;
    caret-color: #FFFFFF !important;
    width: 100% !important;
    border-radius: 8px !important;
}
header .login-form input[type="submit"],
header .login-form .button-secondary,
header .login-form .button-primary {
    width: 100%;
    margin-bottom: 15px;
}
header .login-form .psw-dimenticata {
    font-size: 13px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    word-break: break-word;
    word-wrap: break-word;
    float: right;
    color: #fff;
}
header .login-form label {
    color: #fff;
    font-weight: 400 !important;
    font-size: 0.75rem !important;
}
.modal-search .modal-ricerca {
    background: transparent !important;
    border: none;
}
.modal-search .modal-ricerca button.btn-close {
    float: right;
    color: white;
}
.modal-search .modal-ricerca input[type="text"] {
    width: calc(100% - 124px);
    margin-top: 40px;
    min-height: 40px;
    border-radius: 3px;
    padding: 8px 20px;
    margin-left: 20px;
    margin-right: 20px;
}
.admin-bar header.site-header {
    top: 32px;
}
.search-results .page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 50px;
}
.search-results article .entry-title a {
    color: #005ca9;
}

.search a{
    color: #295eb9;
}
/** -SINGLE OPERE- **/
.single-opere section.info-opera {
    margin-top: 80px;
}
.single-opere section.info-opera .info-row {
    padding: 8px 0;
    border-bottom: 1px solid lightgray;
}
.single-opere section.info-opera .info-row .luogo {
    margin-bottom: 0;
}
.single-opere section.info-opera .info-row .luogo .regione {
    font-weight: bolder;
}
.single-opere section.info-opera .cons-open {
    background-image: url("/wp-content/themes/ternatheme/images/messaging.png");
    height: 17px;
    display: inline-block;
    width: 20px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    margin-right: 6px;
}
.single-opere section.info-opera .cons-closed {
    background-image: url("/wp-content/themes/ternatheme/images/no-messaging.jpg");
    height: 17px;
    display: inline-block;
    width: 20px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    margin-right: 6px;
}
.single-opere .foto-opera {
    border-radius: 10px;
    max-width: 100%;
}
@media (max-width: 768px) {
    .single-opere .foto-opera {
        margin-top: 20px;
    }
}
.single-opere .timeline {
    margin-top: 30px;
    margin-bottom: 30px;
}
.single-opere .timeline div .tl-content {
    height: 40px;
    background-color: #E7E7E7;
    box-shadow: 1px 1px 3px 1px #cacaca;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    color: gray;
    line-height: 30px;
}
.single-opere .timeline div .tl-content-down {
    line-height: 0;
    font-size: 10px;
}
.single-opere .timeline div.active .tl-content {
    color: white;
}
.single-opere .timeline div.active .tl-content {
    color: white;
}
.single-opere .timeline .tl-upspace,
.single-opere .timeline .tl-downspace {
    height: 90px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
.single-opere .timeline .tl-step {
    padding-left: 5px;
    padding-right: 5px;
}
.single-opere .timeline .owl-prev {
    width: 10px;
    height: 30px;
    position: absolute;
    top: 35.5%;
    margin-left: 8px !important;
    display: block !important;
    border: 0px solid black !important;
    color: white !important;
    font-size: 30px !important;
}
.single-opere .timeline .owl-next {
    width: 10px;
    height: 30px;
    position: absolute;
    top: 35.5%;
    right: 5px;
    display: block !important;
    border: 0px solid black;
    color: white !important;
    font-size: 30px !important;
}
.single-opere .timeline .owl-prev i,
.single-opere .timeline .owl-next i {
    transform: scale(1, 6);
    color: #ccc;
}
.single-opere .timeline .tl-header.row {
    height: 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 0;
}
.single-opere .timeline .tl-info.row {
    height: 70px;
    border-left: 1px solid gray;
}
.single-opere .timeline .ti-square {
    height: 11px;
    width: 11px;
    position: relative;
    left: -5px;
    bottom: -6px;
    padding: 0;
}
.single-opere .timeline .ti-luogo {
    margin-left: 10px;
    font-size: 0.75rem;
    line-height: 20px;
}
.single-opere .timeline .ti-luogo img {
    height: 16px;
    margin-right: 6px;
    margin-bottom: 2px;
}
.single-opere .timeline .ti-luogo > img {
    height: 11px;
    width: 11px !important;
    float: left;
    margin-top: 4px;
    margin-right: 5px;
}
.single-opere .timeline .ti-terzo .ti-luogo {
    margin-left: 10px;
    font-size: 0.75rem;
    line-height: 20px;
    position: relative;
    top: 25px;
}
.single-opere .timeline .ti-terzo .ti-luogo img {
    height: 16px;
    margin-right: 6px;
    margin-bottom: 2px;
}
.single-opere .timeline .tl-precedenti {
    font-size: 0.55rem;
    margin-left: 15px;
}
.single-opere .timeline .ti-luogo a {
    color: black;
}
.single-opere .timeline .owl-theme .owl-nav .disabled {
    opacity: 0 !important;
    cursor: default;
}
.single-opere .timeline .owl-theme .owl-nav [class*="owl-"]:hover {
    background: transparent;
    color: white !important;
    text-decoration: none;
    text-shadow: 1px 1px 2px black;
}
.single-opere .timeline .modal-content.modal-incontri {
    border-radius: 10px;
    background-color: white;
    padding: 0;
    border: 1px solid #005CA9;
    box-shadow: 1px 1px 2px 1px #3d3d3d;
}
.single-opere .timeline .modal-content.modal-incontri .ti-label {
    border-bottom: 0;
    margin-bottom: 0;
}
.single-opere .timeline .tl-header a,
.single-opere .timeline .tl-header a:visited {
    color: #404040;
}
.single-opere .timeline .terna-calendar-icon::before {
    content: "\f109";
    font: normal normal normal 0.8rem terna-icons;
    float: left;
    padding: 5px 10px 0 0;
}
.single-opere .timeline .ti-date {
    width: 100%;
    margin-left: 10px;
    font-size: 0.75rem;
    padding-bottom: 0;
    margin-bottom: -7px;
    margin-top: 2px;
    line-height: 22px;
}
.single-opere .timeline .ti-date .terna-calendar-icon::before {
    content: "\f109";
    font: normal normal normal 0.7rem terna-icons;
    float: left;
    padding: 4px 7px 0 0;
}
.single-opere .ti-luogo img {
    width: 16px;
    margin-top: -2px;
    margin-right: 6px;
}
.single-opere .opera-tabs .nav-pills .nav-link.active {
    color: black;
    background-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    border-top: 0;
    border-bottom: 3px solid #005CA9;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    cursor: pointer;
}
.single-opere .opera-tabs .nav-pills .nav-link {
    color: black;
    background-color: transparent;
    font-weight: 700;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
}
@media screen and (max-width: 1080px) {
    .single-opere .opera-tabs .nav-item {
        width: 100%;
    }
}
.single-opere .opera-tabs .tab-content {
    margin-bottom: 63px;
    margin-top: 50px;
}
.single-opere .no-access-opera {
    max-width: 50%;
    margin: 50px auto;
}
.single-opere .no-access-opera.bg-primary {
    background-color: #005ca9 !important;
}
.single-opere .no-access-opera .box-login {
    min-height: 408px;
}
@media screen and (max-width: 1199px) {
    .single-opere .no-access-opera .box-login {
        min-height: 398px;
        padding: 8px 15px;
    }
}
@media screen and (max-width: 1198px) {
    .single-opere .no-access-opera .box-login {
        min-height: 398px;
        padding: 8px 15px;
    }
}
@media screen and (max-width: 1280px) {
    .single-opere .no-access-opera .box-login {
        min-height: 392px;
        padding: 8px 30px;
    }
}
.single-opere .no-access-opera .box-login .login-form .logo {
    width: 48%;
    display: block;
    margin: 25px auto;
}
.single-opere .no-access-opera .box-login .login-form input[type="text"],
.single-opere .no-access-opera .box-login .login-form input[type="password"] {
    border: 2px solid #FFFFFF !important;
    background: #005CA9 !important;
    height: 40px !important;
    padding: 5px 15px !important;
    margin-bottom: 5px !important;
    color: #FFFFFF !important;
    caret-color: #FFFFFF !important;
    width: 100% !important;
    border-radius: 8px !important;
}
.single-opere .no-access-opera .box-login .login-form input[type="submit"],
.single-opere .no-access-opera .box-login .login-form .button-secondary,
.single-opere .no-access-opera .box-login .login-form .button-primary {
    width: 100%;
    margin-bottom: 15px;
}
.single-opere .no-access-opera .box-login .login-form .psw-dimenticata {
    font-size: 13px;
    line-height: 1.3;
    margin: 0 0 10px 0;
    word-break: break-word;
    word-wrap: break-word;
    float: right;
    color: #fff;
}
.single-opere .no-access-opera .box-login .login-form label {
    color: #fff;
    font-weight: 400 !important;
    font-size: 0.75rem !important;
}
.single-opere .osservazioni-wrapper h2 {
    margin-bottom: 40px;
}
.single-opere .osservazioni-wrapper ul.comment-list {
    list-style-type: none;
    padding-left: 0;
}
.single-opere .osservazioni-wrapper ul.comment-list li.oss-item {
    border: 1px solid #c3c3c3;
    padding: 25px 35px;
    margin-bottom: 20px;
}
.single-opere .osservazioni-wrapper ul.comment-list li.oss-item .oss-block {
    border-left: 5px solid #005ca9;
    padding: 10px;
}
.single-opere .osservazioni-wrapper ul.comment-list li.oss-item .oss-block .oss-text p {
    margin-bottom: 0;
}
.single-opere .osservazioni-wrapper ul.comment-list li.oss-item .oss-reply {
    margin-top: 20px;
    border-left: 5px solid #9d9d9c;
    background-color: #f8f8f8;
    padding: 10px;
}
.single-opere .osservazioni-wrapper ul.comment-list li.oss-item .oss-reply .oss-risposta-testo {
    margin-top: 10px;
}
.reply-wrapper {
    border-top: 1px solid #152f5d;
    margin-top: 60px;
    padding-bottom: 30px;
    padding-top: 30px;
}
/**
  Pagina PROFILO UTENTE
 */
.page-template-profilo-utente .sidebar-profilo {
    padding-top: 30px;
    padding-bottom: 40px;
}
.page-template-profilo-utente .sidebar-profilo > h3 {
    padding-bottom: 20px;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-header button {
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    color: #295eb9;
    min-height: 51px;
    display: block;
    padding: 10px 0;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-header .accordion-button:not(.collapsed) {
    background-color: transparent;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-header .accordion-button::after {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: auto;
    display: block;
    position: absolute;
    right: 0;
    top: 16px;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-header .accordion-button:focus {
    z-index: 3;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 3px solid #005ca9;
    outline: 0;
    box-shadow: none;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .non-mi-interessa .button-secondary {
    min-width: 100%;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .osservazioni-profilo-utente {
    border: 1px solid #c3c3c3;
    padding: 20px;
    margin-top: 15px;
    margin-left: 10px;
    margin-right: 10px;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .osservazioni-profilo-utente > li {
    list-style: none;
    border-bottom: 1px solid #c3c3c3;
    padding: 15px;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .osservazioni-profilo-utente > li:last-child {
    list-style: none;
    border-bottom: none !important;
    padding: 15px;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .osservazioni-profilo-utente .oss_by_user_text {
    border-left: 4px solid #005ca9;
    padding-left: 10px;
    margin-bottom: 18px;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .osservazioni-profilo-utente .oss_by_user_text .oss_status_published {
    color: green;
    font-size: 0.9rem;
}
.page-template-profilo-utente .accordion.opere-di-interesse .accordion-item .accordion-body .osservazioni-profilo-utente .oss_by_user_text .oss_status_attesa {
    color: gray;
    font-size: 0.9rem;
}
.page-template-profilo-utente .card.opera-interessata {
    border: 1px solid #9d9d9c;
    border-radius: 18px;
    min-height: unset;
    padding: 20px 30px;
}
.page-template-profilo-utente .card.opera-interessata .card-body {
    padding: 0;
}
.page-template-profilo-utente .card.opera-interessata .card-body .osservazioni-profilo-utente {
    padding-left: 0;
    padding-top: 25px;
}
.page-template-profilo-utente .card.opera-interessata .card-body .card-title a {
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    color: #295eb9;
    min-height: 51px;
    display: block;
}


/* TAB DOCUMENTI */


.documenti-repo h5 {
    margin-top: 25px;
    border-bottom: 1px solid gray;
    padding-bottom: 18px;
    font-size:1rem;
}

.documenti-repo {
    margin-top: 20px;
}

.documenti-repo a{
    cursor: pointer;
}

.doc-sh {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.file-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.file-icon img {
    width: 100%;
    height: 100%;
}

.doc-sh a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.doc-sh p {
    margin: 0;
    font-size: 1.2rem;
    color: #000;
    padding-left: 5%;
}

.doc-sh {

    border-bottom: 1px solid gray;
    padding: 10px;
}

/* Menu border bottom */
header .main-navigation .menu-item a:hover {
    color: white;
    text-decoration: underline;
}
header .main-navigation .current-menu-item a{
    color: white;
    text-decoration: underline;
}

h2.wp-block-heading {
    font-family: Roboto, sans-serif!important;
}


.search-bar input, .search-bar select{
    border: 1px solid #295eb9;
}
.search-bar input:focus, .search-bar select:focus{
    border: 3px solid #295eb9;
    box-shadow: none;
}
.card .list-group {
    border-top: none!important;
    border-bottom: none!important;
}

.card-action{
    color: #005ca9;
    font-family: Roboto, sans-serif;
    text-decoration: none;
}


@media (max-width: 900px) {

    .mt-mobile {
        margin-top: 3rem !important; /* Puoi regolare il valore a tuo piacimento */
    }
    .pt-mobile{
        padding-top: 1rem!important;
    }
    .pt-tablet{
        padding-top: 3rem!important;
    }
}


@media screen and (max-width: 768px) {
    #wpadminbar {
        position: fixed!important;

    }
}
.container-xl.registrazione-opera {
    padding-left: 0px;
}
.search-text{
    font-weight: bold;
    font-size: -webkit-xxx-large;
    text-decoration: underline;
}