@import url('https://fonts.googleapis.com/css?family=Lato');
@import url('https://fonts.googleapis.com/css?family=Raleway');
:root {
    --font-head: "Lato";
    --font-body: "Raleway";
    --white: #ffffff;
    --black: #202020;
    --shadow: #202020;
    --shadow_light: #e9e9e9;
    --active: #dc3545;
}

* {
    transition: all 350ms;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-style: normal;
}

.blockquote-footer {
    font-size: 100%;
}

.blockquote-footer.text-left::after {
    content: "\2014\00A0";
}

.blockquote-footer.text-left::before {
    content: "";
}

.thin {
    font-weight: 300;
}

section {
    height: 100%;
    /*min-height: 460px;*/
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 400;
    font-style: normal;
    font-variant: small-caps;
}

a[href] {
    color: inherit;
    text-decoration: none;
}

a[href]:hover {
    color: inherit;
    text-decoration: none;
}

small,
.small {
    font-weight: inherit;
}

footer {
    padding-top: 1rem;
    border-top: 1px solid var(--shadow_light);
}

.bg-cover {
    display: block;
    width: 100%;
    height: 80vh;
    background: transparent no-repeat center top;
    background-size: cover;
}

.bg-overlay {
    position: relative;
    margin-top: -9rem;
}

.bg-overlay_upper {
    position: absolute;
    top: -3rem;
    width: 100%;
}

.boxed {
    display: block;
    border: 2px solid var(--white);
    border-radius: 6px;
    padding: 5rem 0 1rem;
}

body.xs .boxed {
    margin-top: 2rem;
    padding: 3rem 0 2rem;
}

body.sm .boxed {
    margin-top: 2rem;
    padding: 3rem 0 2rem;
}

body.xs .bg-overlay_upper .boxed {
    padding: 4rem 0 3rem;
    margin-top: 0;
}

.boxed:hover {
    cursor: pointer;
    opacity: 0.7;
    color: black;
    background-color: white;
}

body.xs.landscape .bg-overlay {
    margin-top: -7rem;
}

body.xs.landscape .boxed {
    padding: 4rem 0 3rem 0;
}

.boxed h2 {
    text-shadow: 0 0 1px var(--black);
    color: var(--white);
    font-weight: bold;
    font-size: 2.2rem;
}

.boxed h2:hover {
    color: var(--active);
    font-size: 3.6rem !important;
}

body.lg .boxed h2,
body.xl .boxed h2 {
    font-size: 3.0rem;
}

body.md .boxed h2 {
    font-size: 2.7rem;
}

body.sm .boxed h2 {
    font-size: 2.0rem;
}

.homer {
    color: var(--shadow_light);
}

.homer:hover {
    color: var(--active) !important;
}

.sigla {
    position: fixed;
    top: 3rem;
    right: 3rem;
    display: block;
    width: 5rem;
    height: 5rem;
    z-index: 100;
    border: 2px solid var(--shadow);
    padding: .5rem;
    border-radius: 50%;
    background-color: var(--shadow_light);
}

.sigla:hover {
    opacity: 1 !important;
    color: var(--active);
    background-color: var(--shadow_light);
}

body.xs .sigla {
    right: 2rem;
    width: 4rem;
    height: 4rem;
}

.chi-sono h4 {
    margin-top: 2rem;
}

.chi-sono ul {
    list-style: none;
    margin: .5rem 0;
    padding: 0;
}

.chi-sono li {
    text-align: left;
    padding: 0 .3rem;
    margin-bottom: .4rem;
}

#go-top {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    opacity: 0.3;
    width: 32px;
    height: 32px;
    font-size: 32px;
    color: var(--white);
    background-color: var(--grey) !important;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    line-height: 32px;
}

#go-top:hover {
    opacity: 1;
}


/* GRIDS */

.masonry {}

@media screen and (max-width: 575.98px) {
    .masonry[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media screen and (min-width: 575.99px) and (max-width: 767.98px) {
    .masonry[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}

@media screen and (min-width: 767.99px) and (max-width: 991.98px) {
    .masonry[data-columns]::before {
        content: '3 .column.size-1of3';
    }
    .masonry[data-columns][data-columns-big]::before {
        content: '2 .column.size-1of2';
    }
    .masonry[data-columns][data-columns-3]::before {
        content: '2 .column.size-1of2';
    }
}

@media screen and (min-width: 991.99px) {
    .masonry[data-columns]::before {
        content: '4 .column.size-1of4';
    }
    .masonry[data-columns][data-columns-3]::before {
        content: '3 .column.size-1of3';
    }
    .masonry[data-columns][data-columns-big]::before {
        content: '2 .column.size-1of2';
    }
}


/* Again, you’re free to use and define the classes: */

.column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.size-1of4 {
    width: 25%;
}

.masonry .item {
    padding: 1rem;
    position: relative;
}

.masonry .item img {
    border-radius: 3px;
}

.masonry .item figcaption {
    text-align: center;
    /* font-family: var(--font-head);
    font-weight: 400;
    font-style: normal;
    font-variant: small-caps;
    font-size: 2rem; */
}


/*
.masonry .item.image figcaption {
	display: none;
}

.masonry .item.image:hover figcaption {
	display         : block;
	position        : absolute;
	bottom          : 0;
	left            : 15px;
	right           : 15px;
	padding         : .3rem 1rem;
	background-color: var(--white);
}
*/

body:not(.xs) .masonry .item:hover img {
    opacity: 0.5;
}

body:not(.xs) .masonry .item.image:hover::before {
    content: "+";
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 3rem;
    border: 2px solid var(--black);
    display: block;
    width: 4rem;
    height: 4rem;
    line-height: 3.4rem;
    text-align: center;
    border-radius: 50%;
}

.masonry .item.folder a::after {
    content: "+";
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 3rem;
    border: 2px solid var(--black);
    display: block;
    width: 4rem;
    height: 4rem;
    line-height: 3.4rem;
    text-align: center;
    border-radius: 50%;
    opacity: 0.5;
}

.masonry .item.folder figcaption {
    display: block;
    position: relative;
    padding: 0;
    background-color: var(--white);
}


/* MediumLightbox style */

.scrollbar-measure {
    width: 100px;
    height: 100px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
}

.img {
    display: block;
    margin: auto;
    max-width: 100%;
}

.aspectRatioPlaceholder .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.placeholder {
    width: 150px;
    height: 150px;
}

.zoom-effect .img {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    backface-visibility: hidden;
}

.zoom-effect .zoomImg,
.zoom-effect .zoomImg-wrap {
    position: relative;
    z-index: 900;
    transition: all 300ms;
}

.zoom-effect .zoomImg-wrap--absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.zoom-effect .zoomImg {
    cursor: pointer;
    cursor: -webkit-zoom-out;
}

.zoom-effect .zoomOverlay.show {
    opacity: 1;
}

.zoom-effect .zoomOverlay {
    z-index: 800;
    background: var(--white);
    position: absolute;
    transition: opacity 300ms;
    opacity: 0;
    cursor: pointer;
    cursor: -webkit-zoom-out;
}

@media print {
    .container {
        width: auto;
    }
}