:root {
    --fdv-red: #e43844;
    --fdv-white: #d5d7d8;
    --fdv-black: #1d1d1b;
    --fdv-body-grey: #555454;
    --fdv-grey: #efefed;
    --fdv-light-grey: #f5f5f5;
}

@font-face {
    font-family: 'Georama Medium';
    src: url(../fonts/georama/static/Georama-Medium.ttf);
}

@font-face {
    font-family: 'Georama Bold';
    src: url(../fonts/georama/static/Georama-Bold.ttf);
}

@font-face {
    font-family: 'Georama Italic';
    src: url(../fonts/georama/static/Georama-Italic.ttf);
}

/*
 * HEADER
 */

header#header {
    margin-bottom: 1rem;
}

header#header .topbar {
    background: inherit;
    color: inherit;
    padding: 12px 0 4px;
}

heheader#header .topbar i {
    color: inherit;
}

header#header .branding {
    width: auto !important;
}

header#header .site-branding-logo {
    padding: 0 !important;
    /* height: 63px; */
    display: flex;
    align-items: center;
}

header#header .site-branding-logo img {
    max-height: 100px !important;
}

/* @media (max-width: 1199px) { */
header.header-v1 .header-main-inner .header-inner {
    padding-left: 0px !important;
}

.navigation .gva_menu>li>a {
    padding: 4px 10px;
    text-transform: none;
}

@media (min-width: 992px) {
    .navigation .gva_menu .sub-menu {
        min-width: 200px;
    }
}

header.header-v1 div.gva-navigation ul.gva_menu_main {
    margin-top: -26px;
}

header.header-v1 div#menu-bar {
    margin-top: -26px;
}

header#header .quick-menu {
    padding: 0 !important;
    margin-top: -16px;
}

header#header .quick-menu .icon {
    font-size: 18px;
}

/*
 * HOME
 */


body.frontpage div.gbb-row div.bb-inner {
    padding: 0;
}

body.frontpage .widget.gsc-heading.style-1 {
    padding-top: 20px;
    padding-bottom: 15px;
}

body.frontpage .widget.gsc-heading.style-1 .title::before {
    width: 50%;
    height: 5px;
}

body.frontpage div.fdv-progetti div.owl-carousel div.owl-item div.item {
    border: none !important;
}

body.frontpage div.fdv-progetti div.owl-carousel div.owl-item div.item div.item-image {
	width: inherit;
}

body.frontpage div.block-articles-home-first img {
	max-width: 500px;
	max-height: 312px;
}

body.frontpage div.block-articles-home-others img {
	width: 320px;
	height: 200px;
}

body.frontpage div.gsc-column:nth-child(3) {
	clear: both;
}

@media (max-width: 500px) {
	body.frontpage div.block-articles-home-first img {
		width: 100%;
		height: auto;
	}

	body.frontpage div.block-articles-home-others img {
		width: 100%;
		height: auto;
	}
}

body.frontpage div.owl-carousel article img {
	width: 370px;
	height: 518px;
}

div.fdv-home-button {
    text-align: center;
}

div.fdv-home-button a {
    background-color: var(--fdv-red);
    color: #fff;
    font-weight: bold;
    margin: 0 !important;
}

div.fdv-home-button a:hover {
    color: black;
}

@media (max-width: 1199px) {
    div.fdv-home-text div.column-content-inner {
        padding: 0;
    }

    div.fdv-home-text div.column-content-inner .custom-text p {
        margin: 0;
        padding: 1rem 2rem;
        font-size: 100%;
        font-weight: bold;
        line-height: 130%;
    }
}

@media (min-width: 1200px) {
    div.fdv-home-text div.column-content-inner {
        padding: 3rem 10rem;
    }

    div.fdv-home-text div.column-content-inner .custom-text p {
        margin: 0;
        padding: 1rem 2rem;
        font-size: 150%;
        font-weight: bold;
        line-height: 130%;
    }
}

div.fdv-home-text div.column-content-inner .custom-text {
    background-color: rgba(255, 255, 255, .8);
}

div.fdv-home-text div.column-content-inner .custom-text .fdv-home-button {
    padding: 1rem 0;
}

/* SEZIONI */

.fdv-sezioni {
    background-color: #efefed;
}

.fdv-sezioni .custom-text {
    text-align: center;
    margin-bottom: 5px;
}

.fdv-sezioni div.gsc-column:nth-child(1) img {
    box-shadow: -5px -5px var(--fdv-red);
}

.fdv-sezioni div.gsc-column:nth-child(2) img {
    box-shadow: 0 -5px var(--fdv-red);
}

.fdv-sezioni div.gsc-column:nth-child(3) img {
    box-shadow: 5px -5px var(--fdv-red);
}

/*
 * ARTICLES, PUBLICATIONS, ETC.
 */

/* FIRST */

body.frontpage div.block-articles-home-first {
    margin-top: 0;
}

body.frontpage div.block-articles-home-first div.item-list div.views-field-field-image-thumbnail,
body.frontpage div.block-articles-home-first div.item-list div.views-field-field-image {
    float: right;
    margin-left: 1rem;
    box-shadow: 5px 5px var(--fdv-red);
    margin: 5px 5px 5px 1rem;
}

body.frontpage div.block-articles-home-first div.item-list div.views-field-title a {
    display: block;
    line-height: 115%;
    font-weight: 500;
    color: #000;
    /* font-family: "Poppins", sans-serif;
    font-size: 24px; */
    font-family: "Georama Bold", sans-serif;
    font-size: 18pt;
    color: var(--fdv-black);
    text-transform: uppercase;
    /* -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word; */
}

body.frontpage div.block-articles-home-first div.item-list div.views-field-title a:hover {
    color: var(--fdv-red);
}

body.frontpage div.block-articles-home-first div.item-list div.views-field-created time {
    /* font-size: 12px; */
    /* font-weight: 400; */
    font-family: "Georama Italic", sans-serif;
    font-size: 8.1pt;
    color: #999999;
}

div.block-articles-home-first div.views-field-body {
    /* font-size: 120%; */
    font-family: "Georama Medium", sans-serif;
    font-size: 13pt;
    color: var(--fdv-body-grey);
    line-height: 145%;
    text-align: justify;
    padding: 1rem 0;
}

div.block-articles-home-others {
    padding: 10px 0;
}

div.block-articles-home-others div.views-field-body {
    line-height: 1.4;
    font-family: "Georama Medium", sans-serif;
    font-size: 9.5pt;
    color: var(--fdv-body-grey);
}

div.block-articles-home-first div.views-field-body p,
div.block-articles-home-others div.views-field-body p {
    text-align: justify;
}

/* OTHERS */

body.frontpage div.block-articles-home-others div.item-columns div.views-field-field-image-thumbnail {
    float: right;
    margin-left: 1rem;
    margin-top: .5rem;
    box-shadow: 2px 2px var(--fdv-red);
}

body.frontpage div.block-articles-home-others div.item-columns div.views-field-title a {
    display: block;
    line-height: 130%;
    /* font-weight: 500; */
    /* font-family: "Poppins", sans-serif; */
    /* font-size: 16px; */
    font-family: "Georama Bold", sans-serif;
    font-size: 9.2pt;
    color: var(--fdv-black);
    text-transform: uppercase;
    /* text-transform: none;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word; */
}

body.frontpage div.block-articles-home-others div.item-columns div.views-field-created time {
    /* font-size: 12px;
    font-weight: 400; */
    color: #999999;
    font-family: "Georama Italic", sans-serif;
    font-size: 8.1pt;
    color: #999999;
}

/* RIBBON */

body.frontpage div.block-articles-home-others div.item-columns div.views-field-nothing {
    position: relative;
    text-align: right;
}

body.frontpage div.block-articles-home-others div.item-columns div.views-field-nothing span.home-ribbon {
    position: absolute;
    right: -2px;
    width: 145px;
    background: var(--fdv-red);
    color: #fff;
    padding: 0 10px;
    font-variant: small-caps;
    font-weight: bold;
    box-shadow: #222 2px 2px 0px;
    font-size: 14px;
}

@media (max-width: 500px) {

    body.frontpage div.block-articles-home-first div.views-field-field-image-thumbnail {
        float: none !important;
        margin: 5px 5px 1rem 5px !important;
        text-align: center;
    }

    body.frontpage div.block-articles-home-first div.views-field-field-image-thumbnail img {
        width: 100%;
    }

    body.frontpage div.block-articles-home-others div.item-columns div.views-field-field-image-thumbnail {
        float: none !important;
        margin: 0 0 10px 0 !important;
        text-align: center;
    }

    body.frontpage div.block-articles-home-others div.item-columns div.views-field-field-image-thumbnail img {
        width: 100%;
    }

    body.frontpage div.block-articles-home-others div.item-columns {
        text-align: left;
    }

    body.frontpage div.block-articles-home-others div.item-columns div.views-field-nothing span.home-ribbon {
        top: -5px;
        width: 230px;
        font-size: 120%;
    }
}

/* BODY */

body.node--type-article div#page-main-content h1.post-title {
	text-transform: uppercase;
}

body.node--type-article div#page-main-content div.field--name-body p img {
    margin: auto 10px;
}

div#page-main-content div.field--name-body table {
    margin: 0 auto;
}

div#page-main-content div.field--name-body ul {
    margin: 10px 0;
}

.owl-carousel .legend {
	padding: 0 5rem;
	text-align: center;
	font-style: italic;
}

/* PUBLICATIONS */

@media (min-width: 900px) {

    body.node--type-publications .node-detail .post-title {
        margin-top: 0;
    }

    body.node--type-publications div#page-main-content div.field--name-field-image {
        float: left;
        margin-right: 2em;
    }


    body.node--type-publications div#page-main-content div.field--name-field-image img {
        max-width: 400px;
    }
}

body.node--type-publications div.field.field--name-field-author::before {
    content: '— ';
}

body.node--type-publications div.field.field--name-field-author {
    font-style: italic;
    margin: 0 0 1rem 1rem;
}

body.node--type-publications div.field.field--name-field-author div.field__item {
    display: inline-block;
    margin-left: 1rem;
}

body.node--type-publications div.field--name-field-publication-area {
    font-size: 120%;
    font-weight: bold;
}

body.node--type-publications div.field--name-field-publisher {
    display: inline-block;
}

body.node--type-publications div.field--name-field-publisher p {
    margin: 0;
}

body.node--type-publications div.field--name-field-publication-year {
    display: inline-block;
}

body.node--type-publications div.field--name-field-publication-number {
    display: inline-block;
}

body.node--type-publications div.field--name-field-publication-number::before {
    content: 'N.';
}

body.node--type-publications div.field--name-field-isbn::before {
    content: 'ISBN: ';
}

body.node--type-publications article a:hover {
    border-bottom: 1px dotted var(--fdv-red);
}

/* ARCHIVES */

@media (min-width: 900px) {

    body.node--type-archive .node-detail .post-title {
        margin-top: 0;
    }

    body.node--type-archive div#page-main-content div.field--name-field-image {
        float: left;
        margin-right: 2em;
    }

    body.node--type-archive div#page-main-content div.field--name-field-image img {
        max-width: 400px;
    }
}

body.node--type-archive div#page-main-content div.field--name-field-archive-references,
body.node--type-archive div#page-main-content div.field--name-field-archive-hours {
    padding: 1rem 0;
    clear: both;
}

body.node--type-archive div#page-main-content div.field--name-field-archive-references div.field__label,
body.node--type-archive div#page-main-content div.field--name-field-archive-hours div.field__label {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 140%;
    border-bottom: 5px solid var(--fdv-red);
}

/* AUTHORS */

body.node--type-article div#page-main-content div.field--name-field-post-authors div.field__item::before {
    content: '— ';
}

body.node--type-article div#page-main-content div.field--name-field-post-authors div.field__item {
    display: inline-block;
    margin-right: 2rem;
    font-style: italic;
}

/* TAGS */

div.teaser-tags {
    padding: 0;
    text-align: right;
}

div.teaser-tags div.field--name-field-tags {
    /* float: right !important; */
    margin-top: 0;
    /* text-align: right; */
    clear: both;
}

div.teaser-tags div.field--name-field-tags div.field__item {
    display: inline-block;
    margin: 1px 3px;
    font-size: 75%;
    float: none !important;
}

div.field--name-field-tags div.field__item a::before {
    content: '#';
}

body.node--type-event div#page-main-content div.field--name-field-tags,
body.node--type-publications div#page-main-content div.field--name-field-tags,
body.node--type-article div#page-main-content div.field--name-field-tags {
    margin: 0 !important;
}

body.node--type-event div#page-main-content div.field--name-field-tags div.field__item,
body.node--type-publications div#page-main-content div.field--name-field-tags div.field__item,
body.node--type-article div#page-main-content div.field--name-field-tags div.field__item {
    float: right !important;
}

/*
 * EVENTS
 */

/*
.event-block-2 .event-image .event-date .year {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    font-family: "Poppins", sans-serif;
    display: inline-block;
    width: 100%;
    background-color: #dbdbdb;
}

.event-block-2 .content-inner {
    padding-left: 520px;
}
*/

body.node--type-event article div.event-info i.fa-clock-o {
    margin-left: 2rem;
}

article.node--type-event.node--view-mode-teaser div.event-content {
    position: relative;
    min-height: auto;
    height: 80px;
}

article.node--type-event.node--view-mode-teaser div.event-content div.event-info {
    overflow: hidden;
    max-height: 100%;
    text-align: center;
}

article.node--type-event.node--view-mode-teaser div.event-content div.event-meta {
    position: absolute;
    bottom: 0;
}

article.node--type-event.node--view-mode-teaser.node-detail {
    padding-bottom: 5px;
}

div.events-current .event-block .item-image img,
div.events-archive .event-block .item-image img {
    max-height: 590px;
}

/*
div.events-current .event-block-2 .event-image,
div.events-archive .event-block-2 .event-image {
    width: 520px;
}

div.events-current .event-block-2 .event-image a,
div.events-archive .event-block-2 .event-image a {
    display: block;
    height: 100%;
}
*/

div.grid_events div.event-block {
    margin: 1rem 0;
}

div.grid_events div.event-block div.event-date {
    text-align: right;
    font-weight: bold;
    letter-spacing: .1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

div.grid_events div.event-block div.event-meta {
    font-variant: small-caps;
    text-align: right;
    margin-bottom: 10px;
    font-style: italic;
}

@media (min-width: 1200px) {
    div.owl-carousel div.owl-dots {
        display: none;
    }
}

/*
 * AREA DESCRIPTIONS
 */

div.fdv-area-description {
    position: relative;
}

div.fdv-area-description div.area-description-title {
    font-weight: 400;
    font-size: 32px;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
}

div.fdv-area-description div.area-description-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

div.fdv-area-description div.area-description-title-shadow {
    background: rgba(0, 0, 0, 0.3);
}

div.fdv-area-description div.read-more details {
    padding-right: 1rem;
}

div.fdv-area-description div.read-more details summary::after {
    content: ' \f0ab';
    font: normal normal normal 16px/1 FontAwesome;
}

div.fdv-area-description div.read-more details[open] summary::after {
    content: ' \f0aa';
    font: normal normal normal 16px/1 FontAwesome;
}

div.fdv-area-description div.read-more details summary {
    font-variant: small-caps;
    font-weight: bold;
    color: var(--fdv-red);
    text-align: center;
    margin-bottom: 10px;
}

div.fdv-area-description div.read-more details summary:hover {
    cursor: pointer;
}

div.fdv-area-description div.read-more details div.read-more__hidden p {
    text-align: justify;
}

@media (max-width: 1200px) {
    div.fdv-area-description div.area-description-title {
        top: 60px;
    }
}

@media (max-width: 560px) {
    div.fdv-area-description div.area-description-title {
        position: relative;
        top: 0;
        color: #000;
    }

    div.fdv-area-description div.area-description-title-shadow {
        background: none;
    }
}

/*
 * COMMONS
 */

div.field--label-inline div {
    display: inline-block;
}

div.fdv-google-maps {
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.fdv-heading h2 {
    background-color: rgba(0, 0, 0, 0.2);
}

div.share_buttons {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
    background-color: var(--fdv-light-grey);
}

div.share_buttons div.share_content {
    padding: 10px;
}

div.share_buttons div.a2a_prefix,
div.share_buttons div.a2a_kit {
    display: inline-block;
    vertical-align: middle;
}

div.share_buttons div.a2a_prefix {
    font-size: 120%;
    font-variant: small-caps;
}

/* FIELDS */

article a {
    color: var(--fdv-red);
    text-transform: uppercase;
}

article div.field--name-field-link,
article div.field--name-field-publication-link,
article div.field--name-field-address,
article div.field--name-field-attachments {
    padding: .5rem 0 2rem;
    clear: both;
}

article div.field--name-field-link div.field__label,
article div.field--name-field-publication-link div.field__label,
article div.field--name-field-address div.field__label,
article div.field--name-field-attachments div.field__label {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 140%;
    border-bottom: 5px solid var(--fdv-red);
}

article div.field--name-field-link div.field__item,
article div.field--name-field-publication-link div.field__item,
article div.field--name-field-attachments div.field__item {
    margin: 4px 2rem;
}

article div.field--name-field-link div.field__item a,
article div.field--name-field-publication-link div.field__item a,
article div.field--name-field-attachments div.field__item a {
    font-size: 120%;
    margin-left: .5rem;
}

article div.field--name-field-link div.field__item::before,
article div.field--name-field-publication-link div.field__item::before {
    content: "\f08e";
    font: normal normal normal 16px/1 FontAwesome;
}

article div.field--name-field-attachments div.field__item::before {
    content: "\f0ed";
    font: normal normal normal 16px/1 FontAwesome;
}

div.field--name-field-image div.item-image {
    text-align: center;
}

article div.field--name-field-media-oembed-video iframe {
    width: 750px;
    height: 440px;
    margin: 0 auto;
}

article iframe {
    /* width: 750px; */
    /* height: 440px; */
    margin: 0 auto;
}

div.grid-as-list div.gva-view-grid div.item-columns {
    margin: 10px 0;
    padding: 0 10px 0 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

div.grid-as-list div.gva-view-grid div.item-image,
div.grid-as-list div.gva-view-grid div.post-image {
    float: left;
    padding: 0 10px 0 0;
    /* margin-top: 10px; */
}

.grid-as-list .post-block .post-title a {
	text-transform: uppercase;
}

div.grid-as-list div.gva-view-grid div.post-content {
    padding-left: 10px;
}

div.grid-as-list div.gva-view-grid div.post-content div.post-meta::after {
    clear: none;
}

div.grid-as-list div.gva-view-grid div.post-content div.post-meta {
    margin-bottom: 0;
}

div.grid-as-list div.gva-view-grid div.post-content div.post-body {
    float: none;
}

.post-style-grid .post-block {
    min-height: 700px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.post-style-list .post-block .post-title a,
.post-style-grid .post-block .post-title a {
	text-transform: uppercase;
}

.post-style-grid .post-block .post-content {
    border: none;
}

.post-style-grid .post-block .post-image img {
	width: 420px;
	height: 260px;
}

.publications-grid .post-style-grid .post-block .post-image img {
	width: 366px;
	height: 518px;
}

@media (max-width: 990px) {
	.post-style-grid .post-block {
	    min-height: auto;
	}
}
@media (max-width: 500px) {
	.post-style-grid .post-block .post-image img {
		width: 100%;
		height: auto;
	}

	.publications-grid .post-style-grid .post-block .post-image img {
		width: 100%;
		height: auto;
	}
}

a.feed-icon {
    /* font-variant: small-caps; */
    display: none;
}

/*
 * SEARCH
 */

body.path-search ol li p strong {
    background: gold;
}

/*
 * FOOTER
 */

footer#footer {
    background-color: var(--fdv-red);
    color: #fff;
}

.copyright a,
footer#footer a {
    color: #fff;
}

.copyright a:hover,
footer#footer a:hover {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

footer#footer ul.contextual-links a {
    color: #000;
}

/*
 * BLOCKS
 */

div#block-gavias-kunco-dedicatoabrunotrentin div.block-content ul li {
    list-style: none;
    color: var(--fdv-red);
}

div#block-gavias-kunco-dedicatoabrunotrentin div.block-content ul li::before {
    content: '\f054';
    font: normal normal normal 14px/1 FontAwesome;
}

div#block-gavias-kunco-dedicatoabrunotrentin div.block-content a {
    padding-left: 5px;
}

div#block-gavias-kunco-dedicatoabrunotrentin div.block-content a:hover {
    border-bottom: 1px dotted var(--fdv-red);
}

/*
 * EXPOSED FILTERS
 */

.inline-exposed-form form.views-exposed-form {
    text-align: center;
    margin: 0 0 1.5rem 0;
}

.inline-exposed-form form.views-exposed-form>div {
    display: inline-block;
}

.inline-exposed-form form.views-exposed-form input.button {

    top: -1px;
    line-height: 31px;
}

.inline-exposed-form form.views-exposed-form input.js-datepicker-years-filter {
	width: 6em;
}
