/* Thin */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

/* ExtraLight */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

/* Regular */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/* Medium */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

/* SemiBold */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* ExtraBold */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

/* Black */
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Barlow';
  src: url('/themes/custom/assets/fonts/Barlow/Barlow-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}


:root{
  --bs-primary: #200d81;
  --bs-secondary: #d1d100;
  --bs-title: #796c31;
  --bs-link: #003183;
  --font-family-sans-serif: "Barlow", Geneva, Tahoma, sans-serif;
  --font-family-monospace: "Roboto Mono", monospace;
}


.color-title{
    color: var(--bs-title);
}

a{
    color: var(--bs-primary);
}

a svg{
    fill: var(--bs-primary);
}

.back-to-top {
    background: var(--bs-primary);
}

.back-to-top:hover{
    background: var(--bs-secondary);
}

.btn-dropdown{
    color: var(--bs-primary);
}

.btn-dropdown:hover{
    color: var(--bs-primary);
    text-decoration: underline;
}

body main a{
    color: var(--bs-primary);
}

.btn-primary{
    background-color: var(--bs-primary);
}


.card .card-body .category-top .data::before{
    content: "-";
    margin: 0 4px;
}

.pulsante_leggi_dipiu{
    color: var(--bs-primary);
}

.pulsante_leggi_dipiu svg{
    fill: var(--bs-primary);
}

.immagine_slider_news{
    width: 100%;
}

@media (min-width: 992px){
    .it-header-slim-wrapper .it-header-slim-wrapper-content a.dropdown-toggle {
        padding-right: 0px;
    }

    .immagine_slider_news{
        width: 108%;
    }
}

.evento_calendar_home {
    font-size: 0.8rem;
}

.card.card-teaser {
    padding: 20px 24px 48px 24px;
}

.container_card_in_evidenza .card.card-teaser .card-text .icon {
    min-width: 32px;
    float: left;
    margin-top: -5px;
}

#it-block-views-block-argomenti-in-evidenza-block-1 .argomenti-foto {
    height: 270px;
    padding-top: 68px;
}
#it-block-views-block-argomenti-in-evidenza-block-1 .container_card_in_evidenza {
    /*top: -92px;*/
    top: -108px;
    margin-bottom: -82px;
}

.hp_argomenti_pulsante_esplora{
    position: absolute;
    bottom: 9px;
    right: 15px;
}

.view-sezioni-importanti .pulsante_leggi_dipiu{
    position: absolute;
    bottom: 9px;
    right: 15px;
}

.path-amministrazione  .pulsante_leggi_dipiu{
    position: absolute;
    bottom: 2px;
    right: 15px;
}

.pnlAmministrazione .card-body,
.pnlDocumenti .card-body{
    border: 1px solid #000;
    border-radius: 10px;
    border-left: 7px solid var(--bs-primary);
}

.calendar-box-data{
    border-bottom: 1px solid #d8d8d8;
    display: inline-flex;
    width: 100%
}

.calendar-box-data a{
    display: inline-flex;
    text-decoration: none;
}

.calendar-box-data p{
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.categorie-servizi a.read-more{
    bottom: 12px;
    right: 32px;
}
.categorie-servizi .card-body{
    padding-bottom: 48px;
}

.categorie-servizi .pulsante_leggi_dipiu{
    position: absolute;
    bottom: 0px;
    right: 12px;

}

.calendar-vertical .calendar-date .calendar-date-description .calendar-date-description-content::before{
    background: linear-gradient(#0000, var(--bs-primary)) top/100% 800%;
}

.breadcrumb-container .breadcrumb .breadcrumb-item a{
    color: var(--bs-primary);
}

.cmp-tag__tag.accedi_servizio_label:hover{
    color: #4e7e5b;
    border: 1px solid #4e7e5b;
}

.accedi_servizio_label{
    cursor: pointer;
}
.cmp-tag.small .cmp-tag__tag, .cmp-tag.small .error-tag__tag{
    font-size: 0.70rem;
}
@media screen and (max-width: 1200px){
    .container_cmp_tags{
        display: block !important;
    }
    .cmp-tag.small .cmp-tag__tag, .cmp-tag.small .error-tag__tag{
        font-size: 0.875rem !important;
    }
}


.callout.warning .callout-title{
    color: #f46007;
}

.callout.warning {
    border-color: #f46007;
}

.callout p{
    font-family: inherit;
}

.pl-20{
    padding-left: 20px;
}

.share_action_col{
    text-align: right;
}

@media screen and (min-width: 768px) {
    #container_accediserv{
        display: flex;
        justify-content: end;
    }
}

@media screen and (max-width: 768px) {
    #container_accediserv .cmp-tag{
        width: 100%;
    }
    #container_accediserv .cmp-tag .btn{
        width: 100%;
    }
    .share_action_col{
        text-align: center;
    }
}
.logo_unione_eu{
    display: none !important;
}

.it-footer-main .logo_unione_eu{
    display: block !important;
}

@media screen and (min-width: 992px){
    .it-header-center-wrapper .it-header-center-content-wrapper .it-search-wrapper a.rounded-icon svg{
        fill: var(--bs-primary);
    }
}


.btn-outline-primary{
    box-shadow: inset 0 0 0 1px var(--bs-primary);
    color: var(--bs-primary);
}

.accesso_button_header{
    box-shadow: none !important;
}
.accesso_button_header:hover{
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    text-decoration: underline !important;
}
