/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.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: 'OpenSansLocal';
  src: url('../font/OpenSans-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenSansLocal';
  src: url('../font/OpenSans-Italic-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Color system */
  --primary: #003399;
  --secondary: #cc0000;
  --hover: #990000;
  --body_color: #262626;
  --dark: #919191;
  --light: #e1e1e1;
  --gray: #666666;
  --red: #b70404;
  --gray-200: #ECECEC;
  --gray-300: #e1e1e1;
  --gray-400: #d2d2d2;
  --gray-500: #bdbdbd;
  --gray-600: #919191;
  --gray-700: #707070;
  --gray-800: #3c3c3c;
  --gray-900: #282828;
  --gray-f4: #f4f4f4;
    
  --gray-footer-header: #ebebeb;
  --gray-footer-conditions: #8c8b8b;
  --gray-header-group: #919191;
  --white: #ffffff;

  /* Spacers */
  --spacer: 1rem;
  --spacer-0: 0;
  --spacer-0_25: 0.25rem;  /* 1rem * 0.25 */
  --spacer-0_5: 0.5rem;    /* 1rem * 0.5 */
  --spacer-1: 1rem;
  --spacer-2: 2rem;        /* 1rem * 2 */
  --spacer-3: 3rem;        /* 1rem * 3 */
  --spacer-4: 4rem;        /* 1rem * 4 */
  --spacer-5: 5rem;        /* 1rem * 5 */
    
  --bs-card-box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
  --bs-card-box-shadow-error: 0 0.25rem 0.5rem rgba(204, 0, 0, 0.5);
}


html {
    color: var(--body_color);
    font-size: 16px;
    line-height: 1.4;
    margin:0; padding: 0;
    font-family: 'OpenSansLocal', sans-serif;
}
body {
    margin:0; padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html, body {
    overflow-x: hidden; /* blocca la barra orizzontale */
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

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

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

/*
 * 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;
}



/* Responsive Grid System (Bootstrap-like) */

:root {
  --gutter: 24px;
}

/* Base styles */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
    box-sizing: border-box;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--gutter) / 2);
  margin-right: calc(-1 * var(--gutter) / 2);
}

[class*="col-"] {
  padding-left: calc(var(--gutter) / 2);
  padding-right: calc(var(--gutter) / 2);
  box-sizing: border-box;
}

/* Column width classes (1 to 12) */
/* Generated for each breakpoint */

/* XS - default, no media query needed */
.col-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
.col-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
.col-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
.col-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
.col-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }


h1, h2, h3, h4, h5, h6 { margin:0; padding: 0;}
h1 { font-size:2rem; font-variation-settings: "wdth" 87.5; color: var(--primary); word-break: break-word; padding:1rem 0}
h2 { font-size:calc(1.35rem + 1.2vw); font-variation-settings: "wdth" 87.5; color: var(--primary); font-weight: 650; line-height: 1.2 }
h3 { font-size:calc(1.15rem + 1.2vw); font-variation-settings: "wdth" 87.5; color: var(--primary); font-weight: 650; line-height: 1.2; padding-top: 1rem}
.gray-header {
  background-color: var(--gray-header-group);
  width: 100%;
  position: fixed;
  height: 20px;
  overflow: hidden;
  top: 0;
    z-index: 2;
    transition: ease all 0.1s
}
.gray-header .container {
  height: 100%;
}
.gray-header .row {
  height: 100%;
  align-items: center;
}
.gray-header .col-12 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.white-header {
  background-color: var(--white);
  width: 100%;
  position: fixed;
  overflow: hidden;
  height: 60px;
  padding-top: 20px;
top: 0;
    transition: ease all 0.1s;
    box-shadow: var(--bs-card-box-shadow);
}
.white-header .container {
  height: 100%;
}
.white-header .row {
  height: 100%;
  align-items: center;
}
.gray-header nav {
  text-align: right;
    font-size: 12px;
}
.gray-header ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gray-header ul li {
  display: inline-block;
}
.gray-header ul li a  {
  text-decoration: none;
  color: var(--white);
  padding: 4px 10px;
  display: block;
}
.gray-header ul li a.active {
  background-color: var(--primary);
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
    display: block;
    transition:ease all 0.1s;
    height: 25px;
}
.header_image {
    height: 50vh;
    overflow: hidden;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header_image picture {
    width: 100%;
    height: 100%;
    display: flex;
}
.gray-border {
    border-bottom: 1px solid var(--dark);
    border-top: 1px solid var(--dark);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    margin-top: 3rem;
    background-color: var(--gray-200)
}
.header_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.image_left { padding: 1rem 0 }
.image_left img { max-width:100%; width: 100%; height: auto;}
.product-menu {
    border-top: 1px solid var(--dark);
    display: none;
}
.product-menu h2.product-title, .mobile_res .product-text h2 {
    font-size: 1rem;
    margin: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dark);
    background-image: url(../img/right-carret.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 50%;
    background-size: 5px;
    color:var(--gray);
    transition:ease 0.1s all;
}
.product-menu .product-title:hover,.product-menu .product-title.active, .mobile_res .product-text h2.active {
    color: var(--secondary);
    background-image: url(../img/right-carret-red.svg);
    cursor: pointer;
}


/* menu fermo in alto */ 
.menu-container-sticky .logo img { height:1.5rem}
.menu-container-sticky .white-header { height: 50px; padding-top: 0px; }
.menu-container-sticky .gray-header { background-color: transparent;}
.menu-container-sticky .gray-header ul li a  { color: var(--dark); }
.menu-container-sticky .gray-header ul li a.active  { color: var(--white); }


.product-family-flex { display:none; column-gap: 1rem; grid-row-gap: 2rem; flex-direction: column; margin-top: 2rem;flex-wrap: wrap;}
.product-family-flex a {  text-decoration: none; color:var(--body_color) }
.product-family-flex > div.product-family { box-sizing: border-box;  box-shadow: var(--bs-card-box-shadow); padding: 1rem; border-bottom:3px solid var(--white); transition: ease all 0.3s; background-color: var(--white)}
.product-family-flex > div.product-family:hover { border-bottom:3px solid var(--primary)}
.product-family img { width:100%; height: auto;}
.product-text-hide { display:none;}
.product-text-hide.product-text-show { display:block;}
.product-family-flex.product-family-flex-show { border-bottom: 1px solid var(--dark); padding-bottom: 3rem;}

/* Accordion fluido solo su mobile (body.mobile_res) */
body.mobile_res .product-text-hide {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
}
body.mobile_res .product-text-hide.product-text-show {
  max-height: 600px;
  opacity: 1;
  transition: max-height 0.4s ease-in, opacity 0.25s ease-out;
}

/* Su mobile accordion: product-family-flex visibile solo con classe show */
body.mobile_res .product-family-flex {
  display: none;
}
body.mobile_res .product-family-flex.product-family-flex-show {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  column-gap: 1rem;
  grid-row-gap: 2rem;
  margin-top: 2rem;
}

.footer { padding-bottom:5rem;}
.footer_qrcode { color: var(--gray-footer-conditions); font-size: 0.8rem; font-weight: 700; height: 80px; line-height: auto; margin-top: 20px}
.footer_qrcode a {color: var(--gray-footer-conditions); text-decoration: none; transition: ease all 0.4s}
.footer_qrcode a:hover {color: var(--primary); }



.btn_1, .btn_2 { position:fixed; z-index: 10; top: 15vh; right: 0; transition: ease all 0.3s;  transform: scale(0.7); transform-origin: right}
.btn_2 { top: calc(15vh + 60px); }
.btn_1 a { color:var(--white); text-decoration: none; text-transform: uppercase; padding: 20px; padding-left: 90px; background-image: url("../img/wechat.svg"); background-color: var(--primary); background-repeat: no-repeat; background-position: 20px 50%; width:180px; display: block; box-sizing: border-box; transition:ease all 0.3s}
.btn_2 a { color:var(--white); text-decoration: none; text-transform: uppercase; padding: 20px; padding-left: 90px; background-image: url("../img/site_eu.svg"); background-color: var(--primary); background-repeat: no-repeat; background-position: 20px 50%; width:180px; display: block; box-sizing: border-box; transition:ease all 0.3s}
.btn_1 a:hover, .btn_2 a:hover { background-color: var(--secondary);}
.menu-container-sticky .btn_1, .menu-container-sticky .btn_2 { right: -70px;}


#exit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#exit-overlay.active {
  opacity: 1;
  visibility: visible;
}

#exit-modal {
  background: #fff;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-bottom:5px solid var(--primary)
}

#exit-modal p {
  margin-bottom: 20px;
}

#exit-modal .buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

#exit-modal button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#confirm-exit {
  background: var(--primary);
  color: var(--white);
}

#cancel-exit {
  background: var(--gray-400);
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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.
   ========================================================================== */



/* Breakpoints */
@media screen and (min-width: 576px) {
    .container { max-width: 100%; }
    .col-sm-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
    .col-sm-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
    .col-sm-3  { flex: 0 0 25%; max-width: 25%; }
    .col-sm-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
    .col-sm-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
    .col-sm-6  { flex: 0 0 50%; max-width: 50%; }
    .col-sm-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
    .col-sm-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
    .col-sm-9  { flex: 0 0 75%; max-width: 75%; }
    .col-sm-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
    .col-sm-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media screen and (min-width: 768px) {
    .container { max-width: 100%; }
    .col-md-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
    .col-md-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
    .col-md-3  { flex: 0 0 25%; max-width: 25%; }
    .col-md-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
    .col-md-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
    .col-md-6  { flex: 0 0 50%; max-width: 50%; }
    .col-md-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
    .col-md-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
    .col-md-9  { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
    .col-md-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
    .product-menu { display: block; }
    .product-family-flex { grid-row-gap: 2rem; flex-direction: row; display:flex;}
    .product-family-flex > div.product-family { width:45%;}
}

@media screen and (min-width: 992px) {
    .col-lg-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
    .col-lg-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
    .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
    .col-lg-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
    .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
    .col-lg-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
    .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
    .col-lg-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
    .header_image { height:50vh; margin-top: 170px;}
    .header_image img { width:100%; height: 100%; }
    .container { max-width: 960px; 
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto; }
    h1 { font-size:3rem; padding:0; padding-top: 1rem}
    h2 { padding-top:2rem;}
    .product-text h2 { padding-top:0rem; padding-bottom: 1rem}
    .product-text-hide { display:block;}
    .gray-header { height: 50px;}
    .gray-header ul li a  {  padding: 15px; }
    .white-header { height: 120px; padding-top: 50px; }
    .logo img { height: 48px; }
    .gray-header nav { font-size: 16px; }
    .image_left img { max-width:90%; width: 90%; }
    

    /* Tab contenuti product list */
    .product-content {
        display: none;
    }
    .product-content.product-content-visible {
        display: block;
    }
    .btn_1, .btn_2 { position:fixed; z-index: 10; top: 50vh; right: 20px; transition: ease all 0.3s; transform: scale(1);}
    .btn_1 { right: 230px }
    .btn_1 a { color:var(--white); text-decoration: none; text-transform: uppercase; padding: 20px; padding-left: 90px; background-image: url("../img/wechat.svg"); background-color: var(--primary); background-repeat: no-repeat; background-position: 20px 50%; width:180px; display: block; box-sizing: border-box}
    .btn_2 a { color:var(--white); text-decoration: none; text-transform: uppercase; padding: 20px; padding-left: 90px; background-image: url("../img/site_eu.svg"); background-color: var(--primary); background-repeat: no-repeat; background-position: 20px 50%; width:180px; display: block; box-sizing: border-box}
    .menu-container-sticky .btn_1, .menu-container-sticky .btn_2 { right: -90px}
    .menu-container-sticky .btn_2 { top: calc(50vh + 80px)  }
    
    .menu-container-sticky .btn_1:hover, .menu-container-sticky .btn_2:hover { right: 0}

    
    .footer_qrcode { color: var(--gray-footer-conditions); font-size: 0.8rem; font-weight: 700; height: 80px; line-height: 55px; margin-top: 0}
}


@media screen and (min-width: 1200px) {
    .container { max-width: 1140px; }
    .col-xl-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
    .col-xl-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
    .col-xl-3  { flex: 0 0 25%; max-width: 25%; }
    .col-xl-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
    .col-xl-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
    .col-xl-6  { flex: 0 0 50%; max-width: 50%; }
    .col-xl-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
    .col-xl-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
    .col-xl-9  { flex: 0 0 75%; max-width: 75%; }
    .col-xl-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
    .col-xl-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
    .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
    h2 { font-size: 2.25rem;}
    h3 { font-size: 1.35rem;}
    .product-family-flex > div.product-family { width:32%;}
}

@media screen and (min-width: 1600px) {
    .container { max-width: 1480px; }
    .col-xxl-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
    .col-xxl-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
    .col-xxl-3  { flex: 0 0 25%; max-width: 25%; }
    .col-xxl-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
    .col-xxl-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
    .col-xxl-6  { flex: 0 0 50%; max-width: 50%; }
    .col-xxl-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
    .col-xxl-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
    .col-xxl-9  { flex: 0 0 75%; max-width: 75%; }
    .col-xxl-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
    .col-xxl-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
    .col-xxl-12 { flex: 0 0 100%; max-width: 100%; }
    h1 { font-size: 3.1rem; }
}

@media screen and (min-width: 1920px) {
    .col-xxxl-1  { flex: 0 0 8.3333333333%; max-width: 8.3333333333%; }
    .col-xxxl-2  { flex: 0 0 16.6666666667%; max-width: 16.6666666667%; }
    .col-xxxl-3  { flex: 0 0 25%; max-width: 25%; }
    .col-xxxl-4  { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
    .col-xxxl-5  { flex: 0 0 41.6666666667%; max-width: 41.6666666667%; }
    .col-xxxl-6  { flex: 0 0 50%; max-width: 50%; }
    .col-xxxl-7  { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
    .col-xxxl-8  { flex: 0 0 66.6666666667%; max-width: 66.6666666667%; }
    .col-xxxl-9  { flex: 0 0 75%; max-width: 75%; }
    .col-xxxl-10 { flex: 0 0 83.3333333333%; max-width: 83.3333333333%; }
    .col-xxxl-11 { flex: 0 0 91.6666666667%; max-width: 91.6666666667%; }
    .col-xxxl-12 { flex: 0 0 100%; max-width: 100%; }
}

@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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

