/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */


/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
  font-family: 'Lato-Black';
  src: url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Lato-Black.woff2') format('woff2'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Lato-Black.woff') format('woff'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Lato-Black.ttf') format('truetype');
       font-weight: 900;
       font-style: normal;
}

@font-face {
  font-family: 'CrimsonText-Bold';
  src: url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/CrimsonText-Bold.woff2') format('woff2'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/CrimsonText-Bold.woff') format('woff'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/CrimsonText-Bold.ttf') format('truetype');
       font-weight: 700;
       font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Semi';
  src: url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Montserrat-Semi.woff2') format('woff2'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Montserrat-Semi.woff') format('woff'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Montserrat-Semi.ttf') format('truetype');
       font-weight: 600;
       font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Light';
  src: url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Montserrat-Light.woff2') format('woff2'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Montserrat-Light.woff') format('woff'),
       url('https://www.ilpaesaggioculturaledicivitadibagnoregio.it/fonts/Montserrat-Light.ttf') format('truetype');
       font-weight: 300;
       font-style: normal;
}

a {
    color: #ffffff;
}

a:hover {
    color: #ffffff;
}

* {
    font-family: 'Montserrat', sans-serif;
}

html,
body {
    height: 100%;
    background: #f8f8f8;
}

html {
    color: #222;
    font-size: 12px;
    line-height: 14px;
    font-family: 'Montserrat', sans-serif;
    color: #0B2037;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
}

.bgplaceholder {
    background-image: url('prefooter.png');
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
}

.testata_bandiere {
    height: 25px;
}

.flag_top {
    height: 25px;
    float: left;
    width: 42px;
}

.logo_top {
    max-height: 50px;
}

.top_title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #000000;
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.top_subtitle {
    font-family: 'Crimson Text', serif;
    color: #DB0835;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 2.4rem;
    margin-bottom: 0;
}

.img_testata {
    width: 100%;
}

.testo_top {
    padding: 50px 30px;
}

.testo_top p b {
    color: #DB0835;
    font-weight: 700;
}

.testo_top p {
    font-size: 1.4rem;
    padding: 0 0 24px;
    color: #544C3E;
}

.icone_middle {
    margin: 70px 0;
}

.icona_arg {
    width: 100%;
    padding: 25px;
}

.icone_middle p {
    font-size: 1.4rem;
    padding: 0 0 24px;
    font-weight: 400;
}

.mapstrip {
    margin: 30px 0;
}

.mapstrip img {
    width: 100%;
    margin-bottom: 0;
}

.mapstrip p {
    font-size: 1.6rem;
    line-height: 2.6rem;
}

.greenstrip {
    background-color: #106E61;
    padding: 50px 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.greenstrip p {
    font-size: 1.9rem;
    padding: 0 0 24px;
    width: 100%;
    float: left;
    color: #ffffff;
    font-weight: 300;
}

.greenstrip h3 {
    color: #E0E522;
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.greenstrip .btn-warning {
    background-color: #E0E522;
    border-color: #E0E522;
    text-transform: uppercase;
    font-size: 1em;
    padding: 8px 0;
}

.redstrip {
    background-color: #DB0835;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 5px 5px 0 0;
}

.redstrip a {
    text-decoration: none!important;
}

.redstrip a:hover {
    text-decoration: underline;
}

.redstrip h3 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
}

.redstrip p {
    color: #ffffff;
    font-size: 1.2rem!important;
    padding: 0!important;
    width: 100%;
    float: left;
    font-weight: 300;
    margin: 0px!important;
    text-align: center;
}

.blackstrip {
    background-color: #1b1b1b;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0 0 5px 5px;
}

.blackstrip a {
    text-decoration: none!important;
}

.blackstrip a:hover {
    text-decoration: underline;
}

.blackstrip h3 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
}

.blackstrip span {
    color: #ffffff;
    font-size: 1.0rem!important;
    padding: 0!important;
    width: 100%;
    float: left;
    font-weight: 300;
    margin: 0px!important;
    text-align: center;
}

.credits {
    padding: 50px 30px;
}

.credits p {
    padding: 0 0 24px;
    width: 100%;
    float: left;
}

.credits h3 {
    color: #DB0835;
    font-weight: 700;
    text-align: left;
}

.credits span {
    float: left;
    width: 100%;
    font-size: 1.9rem;
}

.credits h4 {
    text-transform: none;
    font-weight: 700;
    font-size: 1.9rem;
}

.greystrip {
    background-color: #949494;
    padding-bottom: 10px;
}

.greystrip h1 {
    text-transform: lowercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #ffffff;
    margin: 10px 0;
    font-size: 1.6rem;
}

.greystrip h5,
.greystrip a h5,
.greystrip a:link h5,
.greystrip a:visited h5,
.greystrip a:hover h5,
.greystrip a:active h5 {
    text-transform: lowercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #5F5F5F;
    margin: 0 0 10px;
    font-size: 1.5rem;
    padding: 0 20px;
    text-decoration: none;
}

.greystrip h6,
.greystrip a h6,
.greystrip a:link h6,
.greystrip a:visited h6,
.greystrip a:hover h6,
.greystrip a:active h6 {
    text-transform: lowercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #5F5F5F;
    margin: 0 0 10px;
    font-size: 1.1rem;
    padding: 0 20px;
}

.greystrip i,
.greystrip a i,
.greystrip a:link i,
.greystrip a:visited i,
.greystrip a:hover i,
.greystrip a:active i {
    background-color: #fff;
    border-radius: 100%;
    font-size: 1.5rem;
    padding: 10px;
    width: 45px;
    height: 45px;
    line-height: 2rem;
    margin: 0 10px;
    color: #5f5f5f;
}

.greystrip svg,
.greystrip a svg,
.greystrip a:link svg,
.greystrip a:visited svg,
.greystrip a:hover svg,
.greystrip a:active svg {
    background-color: #fff;
    border-radius: 100%;
    font-size: 1.5rem;
    padding: 13.25px;
    width: 45px;
    height: 45px;
    line-height: 2rem;
    margin: 0 10px;
    color: #5f5f5f;
}

.greystrip h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
    color: #000000;
}

.footerstrip {
    background-color: #f0f0f0;
    padding: 30px;
}

.footerstrip h1 {
    font-size: 1.6em;
    line-height: 1.3em;
    margin-bottom: 10px;
    margin-top: 10px;
}

.footerstrip h2 {
    font-size: 2.6em;
    line-height: 1.3em;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.footerstrip h3 {
    font-size: 1.2em;
    line-height: 1.4em;
    text-transform: none;
    font-weight: bold;
}

.footerstrip p {
    font-size: 1em;
    line-height: 1.6em;
    text-transform: none;
    font-weight: 400;
    margin: 0 0 20px;
}

.footerstrip p a {
    color: #000000;
    text-decoration: none;
}

@media (min-width: 768px) {
    .testata_loghi {
        padding: 0 300px;
    }
    .testo_top {
        padding: 110px 60px;
    }
    .testo_top p {
        font-size: 1.6rem;
        padding: 0 0 24px;
    }
    .icona_arg {
        width: 100%;
        padding: 5px ​35p;
    }
    .icone_middle p {
        font-size: 1.2rem;
        padding: 24px;
        line-height: 2rem;
    }
    .mapstrip img {
        margin-bottom: 40px;
    }
    .greenstrip {
        padding: 110px 60px;
    }
    .credits {
        padding: 110px 60px;
    }
    .greystrip h2 {
        font-size: 2.6rem;
        margin-top: 60px;
    }
    .greystrip h5 {
        margin: 0 0 30px;
        font-size: 2.5rem;
    }
    .greystrip h6 {
        font-size: 1.5rem;
    }
    .greystrip i {
        font-size: 3rem;
        padding: 20px;
        width: 100px;
        height: 100px;
        line-height: 58px;
    }
    .redstrip p {
        color: #ffffff;
    }
}

@media (min-width: 992px) {
    .testo_top {
        padding: 110px 60px;
    }
    .testo_top p {
        font-size: 1.6rem;
    }
    .icone_middle p {
        font-size: 1.2rem;
        padding: 24px;
        line-height: 2rem;
    }
    .mapstrip img {
        margin-bottom: 40px;
    }
    .greenstrip {
        padding: 110px 60px;
    }
    .greenstrip p {
        text-align: left;
    }
    .credits {
        padding: 110px 60px;
    }
    .redstrip p {
        color: #ffffff;
    }
}

@media (min-width: 1200px) {
    .testo_top {
        padding: 110px 120px;
    }
    .testo_top p {
        font-size: 1.9rem;
        padding: 0 0 24px;
        color: #544C3E;
    }
    .icone_middle p {
        font-size: 1.2rem;
        padding: 24px;
        line-height: 1.6rem;
    }
    .mapstrip p {
        font-size: 1.6rem;
        line-height: 2.6rem;
    }
    .greenstrip {
        padding: 110px 120px;
    }
    .credits {
        padding: 110px 120px;
    }
    .redstrip p {
        color: #ffffff;
    }
}


/*
   * Remove text-shadow in selection highlight:
   * https://twitter.com/miketaylr/status/12228805301
   *
   * Vendor-prefixed and regular ::selection selectors cannot be combined:
   * https://stackoverflow.com/a/16982510/7133471
   *
   * Customize the background color to match your design.
   */

 ::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

 ::selection {
    background: #b3d4fc;
    text-shadow: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.errore {
    border-color: #d90000;
    background-color: #d9000040;
}

span.button-icon::before {
    padding: 0 5px 0 0;
    margin: 0 3px 0 0;
}


/*
   * A better looking default horizontal rule
   */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
   * Remove the gap between audio, canvas, iframes,
   * images, videos and the bottom of their containers:
   * https://github.com/h5bp/html5-boilerplate/issues/440
   */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


/*
   * Remove default fieldset styles.
   */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
   * Allow only vertical resizing of textareas.
   */

textarea {
    resize: vertical;
}


/* ==========================================================================
     Helper classes
     ========================================================================== */


/*
   * Hide visually and from screen readers
   */

.hidden,
[hidden] {
    display: none !important;
}


/*
   * Hide only visually, but have it available for screen readers:
   * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
   *
   * 1. For long content, line feeds are not interpreted as spaces and small width
   *    causes content to wrap 1 word per line:
   *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
   */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}


/*
   * Extends the .sr-only class to allow the element
   * to be focusable when navigated to via the keyboard:
   * https://www.drupal.org/node/897638
   */

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}


/*
   * Hide visually and from screen readers, but maintain layout
   */

.invisible {
    visibility: hidden;
}


/*
   * Clearfix: contain floats
   *
   * For modern browsers
   * 1. The space content is one way to avoid an Opera bug when the
   *    `contenteditable` attribute is included anywhere else in the document.
   *    Otherwise it causes space to appear at the top and bottom of elements
   *    that receive the `clearfix` class.
   * 2. The use of `table` rather than `block` is only necessary if using
   *    `:before` to contain the top-margins of child elements.
   */

.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}


/* ==========================================================================
     EXAMPLE Media Queries for Responsive Design.
     These examples override the primary ('mobile first') styles.
     Modify as content requires.
     ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
     Print styles.
     Inlined to avoid the additional HTTP request:
     https://www.phpied.com/delay-loading-your-print-css/
     ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}