﻿/* Custom fonts */
@font-face {
  font-family: Ubuntu;
  src: local("Ubuntu"),
       local("Ubuntu-Regular"),
       url(Ubuntu-Regular.ttf);
}

@font-face {
  font-family: Ubuntu-Italic;
  src: local("Ubuntu-Italic"),
       url(Ubuntu-Italic.ttf);
}

/* Tag overrrides */
body, h1, h2, h3, h4, h5{
    font-family: 'Ubuntu', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1{
    font-size: 3.0rem;
}

h2{
    font-size: 2.0rem;color:#37474f;
    margin-bottom: 0px;
}

h3{
    font-size: 1.5rem;
}

strong {
    font-size: 1.1em;
    color: darkblue;
}

.parallax-container {
    height: 200px;
 }


/* Custom styles overrrides */
.pg-opaque {
  /* Theoretically for IE 8 & 9 (more valid) */
  /* ...but not required as filter works too */
  /* should come BEFORE filter */
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";

  /* This works in IE 8 & 9 too */
  /* ... but also 5, 6, 7 */
  filter: alpha(opacity=60);
  
  /* Modern Browsers */
  opacity: 0.6;
}

.pg-italic {
  font-style: italic;
}

.pg-card-title {
    font-size: 20px !important;
}

.pg-album-card-image {
    height: 230px;
    object-fit: cover;
}

.pg-card-text {
    font-style: italic;
    text-align: justify;
}

@media screen and (max-width: 700px){

    .pg-album-card-image {
        height: 200px;
        object-fit: cover;
    }

}


.pg-album-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg-album-detail-text {
    font-style: italic;
    text-align: justify;
}

.pg-container {
    display: grid;
    grid-template-columns: 100%;
    grid-auto-rows: auto;
    grid-auto-flow: dense;
    margin-bottom: 15px;
}

.pg-horizontal {
    grid-column: span 1;
    padding: 10px;
}

.pg-vertical {
    grid-row: span 1;
    padding: 10px;
}

.pg-big {
    grid-column: span 1;
    grid-row: span 1;
    padding: 10px;
}

.pg-small {
    grid-column: span 1;
    grid-row: span 1;
    padding: 10px;
}

@media only screen and (min-width: 600px){

    .parallax-container {
        height: 500px;
    }

    .pg-container {
        display: grid;
        grid-template-columns: 33% 33% 33%;
        grid-auto-rows: auto;
        grid-auto-flow: dense;
        margin-bottom: 15px;
    }

    .pg-horizontal {
        grid-column: span 2;
        padding: 10px;
    }

    .pg-vertical {
        grid-row: span 2;
        padding: 10px;
    }

    .pg-big {
        grid-column: span 2;
        grid-row: span 2;
        padding: 10px;
    }

}

@media only screen and (min-width: 992px){

    .parallax-container {
        height: 700px;
    }

    .pg-container {
        display: grid;
        grid-template-columns: 20% 20% 20% 20% 20%;
        grid-auto-rows: 230px;
        grid-auto-flow: dense;
        margin-bottom: 15px;
    }

}

.fancybox-bg {
    opacity: 1 !important;
}

.exif {
    visibility: hidden;
}

.pg-pwd-reset-row {
    margin-top: 60px;
    margin-bottom: 60px;
}

.pg-pwd-reset {
    text-align: justify;
}

.select2-container {
    display: block!important;
}

.select2-selection {
    background-color: #fafafa!important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #673ab7!important;
}

.sidenav .user {
    /* from materialize .sidenav li>a css */
    color: rgba(0,0,0,0.87);
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    /* personal */
    margin-top: 8px;
}

.fancybox__container:fullscreen::backdrop {
    opacity: 1!important;
}


.logout-form {
    margin: 0;
    height: 100%;
}

.logout-link {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: block;
    padding: 0 15px;
    line-height: 64px;   /* altezza standard navbar Materialize desktop */
    height: 64px;
}

.logout-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.logout-link:focus {
    outline: none;
}

.logout-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: -2px;
}

.logout-form-mobile {
    margin: 0;
}

.logout-link-mobile {
    background: none;
    border: 0;
    color: rgba(0, 0, 0, 0.87);
    font: inherit;
    display: block;
    width: 100%;
    text-align: left;
    padding: 0 32px;
    line-height: 48px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.logout-link-mobile:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.logout-link-mobile:focus {
    outline: none;
}

.logout-link-mobile:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: -2px;
}