/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    line-height: 1.4;
    font-weight: 400;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

::selection {
    background: #ff0000;
    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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: black;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

#body {
  background-color: white;
}

.rosso {
   color: #ff0000;
}

#banner {
   display: none;
}

#banner img div p span{
  display: none;
}

#prorett {
  width: 98%;
  max-width: 720px;
  margin: 0 auto;
  border: solid 1px #ccc;
  padding: 0.5em;
}

#prorett table img {
  width: 100%;
}

#bottonecorsi {
  background-color: black;
  border-radius: 4px;
  width: 85%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.keekclear {
    clear: both;
}

#tabs {
    width: 35%;
    height: 25px;
    background-color: #111;
    color: #fff;
    text-align: center;
    font-size: 0.8em;
    margin-left: 3%;
    border-radius: 4px;
}

#news {
    width: 95%;
    border: solid 1px #aaa;
    border-radius: 5px;
    margin-left: 2%;
    margin-bottom: 0.5em;
}

#newsamici {
    width: 95%;
    height: 310px;
    border: solid 1px #aaa;
    border-radius: 5px;
    margin-left: 2%;
    margin-bottom: 0.5em;
    text-align: center;
}

#newsamici article {
  float: left;
  width: 48%;
  font-size: 0.7em;
  background: transparent;
  margin-left: 0.3em;
}

#tabs2 {
  margin-top: 1em;
}

#tabs2 section{
  width: 95%;
  height: 25px;
  background-color: #111;
  color: #fff;
  text-align: center;
  padding-top: 0.3em;
  font-size: 1.2em;
  margin: 0 auto;
  margin-bottom: 0.5em;
  border-radius: 5px;
}

#primopiede div {
  float: left;
  width: 95%;
  margin-left: 1.5em;
  text-align: center;
  font-size: 0.8em;
}

#primopiede a {
  color: white;
}

#news2 {
    border: solid 1px #aaa;
    border-radius: 5px;
    margin-left: 1%;
    margin-bottom: 1.2em;
    font-weight: bold;
    color: black;
    }

    #news2 a {
      text-decoration: none;
      color: black;
    }

 #news3 {
    border: solid 1px #aaa;
    border-radius: 5px;
    margin-left: 0.5em;
    margin-bottom: 1.2em;
    font-weight: bold;
    text-align: center;
    }   

  
  #news3 img {
    margin-right: 0.5em;
  }

#contenuto {
  width: 100%;
  margin-top: 0.5em;
}

#contenuto2 {
  margin: 0 auto;
  width: 100%;
  margin-top: 0.5em;
}

#piedino {
  width: 100%;
  height: 50px;
  background-color: #d6d6d4;
  font-size: 0.7em;
  color: #404040;
  text-align: center;
  padding-top: 0.5em;
  margin-top: 1em;
}

footer {
  width: 100%;
  margin: 0 auto;
}

#piede {
  margin: 0 auto;
}

#piede div {
  margin-top: 0.5em;
  font-size: 0.8em;
  font-weight: bold;
  text-align: center;
  line-height: 1.1em;
}

.sfondo {
  background-image: none;
  border: solid 1px #ccc;
  border-radius: 4px;
  width: 100%;
  height: 41px;
  background-color: #fbf9f2;
}

#grazie {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  border: solid 1px #ccc;
  border-radius: 5px;
}

#signup {
    width: 600px;
    padding-bottom: 2px;
    display:none;
    background: #FFF;
    border-radius: 5px; 
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.7); 
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.7); 
    -moz-box-shadow: 0 0px 4px rgba(0,0,0,0.7);
}

#signup-header { background: url(../immagini/hd-bg.png); padding: 18px 18px 14px 18px; border-bottom: 1px solid #CCC; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; border-top-right-radius: 5px; -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; }

#signup-header  h2 { color: #444; font-size: 2em; font-weight: 700; margin-bottom: 3px; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5); text-align: center; }
#signup-header  p { color: #444; font-size: 1.3em; margin: 0; text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5); text-shadow: none; }

#signup .txt-fld { position: relative; width: 364px; padding: 14px 20px; border-bottom: 1px solid #EEE; text-align: right; }
#signup .btn-fld { width: 254px; overflow: hidden; padding: 12px 20px 12px 130px; text-align: center;}

#signup .txt-fld label { display: block; float: left; width: 90px; padding-top: 8px; color: #222; font-size: 0.9em; text-align: left;  }
#signup .txt-fld input { width: 500px; padding: 8px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; font-size: 0.9em; color: #222; background: #F7F7F7; font-family: "Helvetica Neue"; outline: none; border-top: 1px solid #CCC; border-left: 1px solid #CCC; border-right: 1px solid #E7E6E6; border-bottom: 1px solid #E7E6E6; }
#signup .txt-fld input.good_input { background: #DEF5E1 url(../immagini/good.png) 236px center no-repeat; }
#signup .txt-fld input.error_input { background: #FDE0E0; }
.modal_close { position: absolute; top: 12px; right: 12px; display: block; width: 14px; height: 14px; background: url(../immagini/modal_close.png); z-index: 2; }

#cucinatu {
  width: 95%;
  height: 600px;
  margin: 0 auto;
  border: solid 1px black;
  border-radius: 6px;
}

#disegni {
  display: none;
}

#riepilogo {
  width: 90%;
  margin: 0 auto;
  border: solid 1px black;
  border-radius: 5px;
  padding: 6px;
}




/* ==========================================================================
   INGRANDIMENTO IMMAGINI STAFF
   ========================================================================== */

/* smart image enlarger starts here */
/* If your images are not linking to other pages leave the links as <a href="#nogo"> Otherwise enlarger won't work in IE6 */

.ienlarger {
  float: left;
  clear: none; /* set to left or right if needed */
  padding-bottom: 5px; /* space between thumbs. Don't change this to margin */
  padding-right: 5px; /* space between thumbs and wrapping text when there is any text around it */
}

.ienlarger a { 
  display:block;
  text-decoration: none;
/* add cursor:default; to this rule to disable the hand cursor */
}

.ienlarger a:hover{ /* don't move this positioning to normal state */
  position:relative;
}

.ienlarger span img {
  border: 1px solid #FFFFFF; /* adds a border around the image */
  margin-bottom: 8px; /* pushes the text down from the image */
}

.ienlarger a span {  /* this is for the large image and the caption */
  position: absolute;
  display:none;
  color: #FFCC00; /* caption text colour */
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px; /* caption text size */
  background-color: #000000;
  font-weight: bold;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 13px;
  padding-left: 10px;
}

.ienlarger img { /* leave or IE puts a border around links */
border-width: 0;
}

.ienlarger a:hover span { 
  display:block;
  top: 50px; /* means the pop-up's top is 50px away from thumb's top */
  left: 90px; /* means the pop-up's left is 90px far from the thumb's left */
  z-index: 100;
  
/* If you want the pop-up open to the left of thumb, remove the left: 90px; and add  
right: 90px; This would mean the right side of the pop-up is 90px far from the right side of thumb */ 

/* If you want the pop-up open above the thumb, remove the top: 50px; and add  
bottom: 50px; This would mean the bottom of the pop-up is 50px far from the bottom of thumb */  

/* add cursor:default; to this rule to disable the hand cursor only for the large image */
}

.resize_thumb {
  width: 103px; /* enter desired thumb width here */
  height : auto;
}

/* smart image enlarger ends here */

/* ==========================================================================
   DIRETTA VIDEO
   ========================================================================== */

   #contenutovideo {
    width: 95%;
    margin-top: 0.5em;
   }

#titolo {
  margin-top: 25px;
  margin-left: 40px;
}


/* ==========================================================================
   CUCINA TU
   ========================================================================== */

#titolocucinatu {
  margin: 0 auto;
  width: 95%;
  height: 50px;
  background-color: black;
  color: white;
  text-align: center;
}

#introcucinatu {
  margin: 0 auto;
  width: 95%;
}

#video {
  margin: 0 auto;
  width: 95%;
}

#video section {
  float: left;
  width: 50%;
  font-size: 0.8em;
}

#video section img {
  width: 90%;
  margin: 2em auto;
}



/* ==========================================================================
   COMUNICATI STAMPA
   ========================================================================== */

   #download {
    position: relative;
    width: 50%;
    margin: 0 auto;
   }



/* ==========================================================================
   GALLERIE FOTOGRAFICHE
   ========================================================================== */
#gallerie {
  margin: 0 auto;
  font-size: 0.8em;
  border: solid 1px #ccc;
  width: 95%;
  height: 450px;
  border-radius: 5px;
  padding: 0.5em;
  margin-top: 20px;
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */
#partners {
  margin: 0 auto;
  font-size: 0.8em;
  border: solid 1px #ccc;
  width: 95%;
  border-radius: 5px;
  padding: 0.5em;
}

#partners div {
  float: none;
  width: 100%;
  height: 140px;
  border: solid 1px #ccc;
  padding: 0.5em;
}

#hoover {
  background-image: url(../immagini/partners/Hoover_Logo.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#ballarini {
  background-image: url(../immagini/partners/ballarini.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#zwilling {
  background-image: url(../immagini/partners/zwilling.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#parital {
  background-image: url(../immagini/partners/Logo-Parital-nuovo.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}


#gaber {
  background-image: url(../immagini/partners/logoGaber.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#magimix {
  background-image: url(../immagini/partners/magimix.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#valverde {
  background-image: url(../immagini/partners/logovalverde.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#acquerello {
  background-image: url(../immagini/partners/Logo_Acquerello.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#james {
  background-image: url(../immagini/partners/James1599logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#parmigiano {
  background-image: url(../immagini/partners/parmigiano.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#centonze {
  background-image: url(../immagini/partners/centonze.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#latini {
  background-image: url(../immagini/partners/Pasta_Latini_LowRes.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#acetaiagiusti {
  background-image: url(../immagini/partners/giusti1605-logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

#averna {
  background-image: url(../immagini/partners/averna.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.testopartner {
  font-size: 0.7em;
  text-align: left;
  background-color: white;
}


/* ==========================================================================
   ISCRIZIONE ALLA NEWSLETTER
   ========================================================================== */
#newsletter {
  margin: 0 auto;
  width: 95%;
  border: solid 1px #ccc;
  border-radius: 5px;
  padding: 0.5em;
}

/* ==========================================================================
   PHOTOGALLERY CATERING
   ========================================================================== */
#photogallery {
  margin: 0 auto;
  width: 95%;
  max-width: 730px;
  border: solid 1px #ccc;
  border-radius: 5px;
  padding: 0.5em;
}

#photogallery iframe {
  width: 100%;
  height: 450px;
  border: none;
}


/* ==========================================================================
   RASSEGNA STAMPA
   ========================================================================== */

   #rassegna2014 {
    margin: 0 auto;
    width: 98%;
    
   }

    #rassegna2014 div {
    float: left;
    width: 50%;
    height: 275px;
    margin-top: 1em;
    font-size: 0.8em;
   }

   #rassegna2014 h2 {
    font-size: 1em;
   }

   #archiviopress {
    width: 98%;
    margin: 0.5em auto;
    border: solid 1px #ccc;
    border-radius: 5px;
    text-align: center;
    font-size: 0.8em;
   }

   #press {
    width: 98%;
    margin: 0 auto;
    border: solid 1px #ccc;
    border-radius: 5px;
   }

   #press iframe {
    width: 100%;
    border: none;
    height: 450px;
   }

   .codice {
    display: none;
   }


/* ==========================================================================
   CALENDARIO CORSI
   ========================================================================== */
   .schermigrandi {
    display: none;
   }

   .schermipiccini {
    display: block;
   }

/* ==========================================================================
   Le regole fondamentali per una corretta iscrizione
   ========================================================================== */

   .chiudi{ font-size:18px; color:red; font-weight:bold; position:absolute; right:5%; top:0%;  cursor:pointer;}
 
    .overlay{
        background:#000;
        position:fixed;
        top:0px;
        bottom:0px;
        left:0px;
        right:0px;
        z-index:100;
        cursor:pointer;
    /*Trasperenza cross browser*/
    opacity: .7; filter: alpha(opacity=70);
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";   
     
    }
     
    #box{ 
      width:90%; 
      height:auto; 
      background-color:fff;
      display:none; z-index:+300;
      position:absolute; 
      top: 10px;
      
      padding: 15px;
      -moz-border-radius: 15px;  
      -webkit-border-radius: 15px;
      border-radius: 15px; 
    }
 
    
/* ==========================================================================
   Menu
   ========================================================================== */

   #logo {
    width: 40%;
    padding-right: 5%;
}

#logo img {
    width: 100%;
    max-width: 169px;
}

#naviga {
  color: white;
}

#naviga div {
  margin: 0.3em auto;
  width: 98%;
  height: 30px;
  text-align: center;
  background-color: black;
  color: white;
  padding-top: 0.2em;
}

#naviga div a {
  color: white;
}


  /* ==========================================================================
   popup home page
   ========================================================================== */

.lalla_open, .chefsera_open, .minichef_open, .arteventi_open, .tatsumoto_open, .kitchenlove_open, .regolamento_open, .preparazione_open, .inaugurazione_open, .esprinet_open, .teambuilding_open {
  color: #ff0000;
  cursor: pointer;
}

#lalla, #chefsera, #minichef, #arteventi, #tatsumoto, #kitchenlove, #regolamento, #preparazione, #inaugurazione, #esprinet, #teambuilding {
  width: 80%;
  max-height: 80%;
  background-color: white;
  border: solid 1px Black;
  border-radius: 5px;
  overflow: auto;
  padding: 0.5em;
}
 #lalla, #chefsera, #minichef, #arteventi, #tatsumoto, #kitchenlove, #regolamento. #preparazione, #inaugurazione, #esprinet, #teambuilding p {
  font-size: 0.8em;
  color: #111;
 }

 #lalla, #chefsera, #minichef, #arteventi, #tatsumoto, #kitchenlove, #regolamento, #preparazione, #inaugurazione, #esprinet, #teambuilding a {
  color: black;
 }

 .lalla_close, .chefsera_close, .minichef_close, .arteventi_close, .tatsumoto_close, .kitchenlove_close, .regolamento_close, .preparazione_close, .inaugurazione_close, .esprinet_close, .teambuilding_close {
  width: 40%;
  height: 25px;
  margin-left: 1em;
  margin-bottom: 1em;
  font-weight: bold;
  color: red;
  border: solid 1px #b6b6b5;
  border-radius: 5px;
  background-color: white;
 }



/* ==========================================================================
   PAGINA STORIA
   ========================================================================== */

#storia {
  margin: 0 auto;
  width: 95%;
  border: solid 1px #b6b6b5;
  border-radius: 5px;
  padding: 0.5em;
}

#storia article {
  width: 100%;
  font-size: 0.8em;
  margin-left: 0.8em;
}


/* ==========================================================================
   PAGINA CONTATTI
   ========================================================================== */

#contatti {
  margin: 0 auto;
  width: 95%;
  border: solid 1px #b6b6b5;
  border-radius: 5px;
  padding: 0.5em;
}


/* ==========================================================================
   PAGINA STAFF
   ========================================================================== */

#staff {
  margin: 0 auto;
  width: 95%;
  border: solid 1px #b6b6b5;
  border-radius: 5px;
  padding: 0.5em;
}

#staff td {
  padding: 0.5em;
}

/* ==========================================================================
   PAGINA RAGGIUNGICI
   ========================================================================== */
#raggiungici {
  margin: 0 auto;
  width: 95%;
  border: solid 1px #ccc;
  border-radius: 5px;
  background-color: white;
}

#raggiungici section {
  padding: 0.5em;
  text-align: center;
}


/* ==========================================================================
   MODULO RICHIESTA AZIENDE
   ========================================================================== */

#modulo {
  width: 95%;
  margin: 0 auto;
  font-size: 0.8em;
  padding: 1%;
}

#modulo table {
  font-size: 0.9em;
}


/* ==========================================================================
   MODULO RICHIESTA AZIENDE
   ========================================================================== */

   #gallerie {
    width: 95%;
    margin: 0 auto;
    text-align: center;
   }

   /* ==========================================================================
   PAGINA PRESS
   ========================================================================== */
   #pressmenu {
    width: 95%;
    margin: 0 auto;
   }

   #navigazionepress {
    width: 100%;
    margin: 0 auto;
   }

   #navigazionepress section {
    float: left;
    width: 120px;
    background-color: black;
    color: white;
    font-size: 0.7em;
    text-align: center;
    margin-right: 5px;
    height: 26px;
    line-height: 26px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
   }

   #navigazionepress a {
    color: white;
    font-size: 1em;
    text-align: center;
   }

   #contenitorepress {
    width: 100%;
    height: 500px;
    border: solid 1px black;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    margin: 0 auto;
   }

   #comunicati {
    width: 98%;
    margin: 0 auto;
   }

   #press_foto {
    width: 98%;
    margin: 0 auto;
   }

   #press_foto section {
    font-size: 0.7em;
    float: left;
    width: 20%;
    height: 120px;
    text-align: center;
   }

   #press_foto img {
    width: 60%;
    max-width: 95%;
   }

   #press_foto a {
    text-decoration: underline;
   }

   #diconodinoi {
    width: 98%;
    margin: 0 auto;
   }

   #diconodinoi iframe {
    width: 100%;
    height: 480px;
    border: none;
   }

   #zafferano {
    width: 98%;
    margin: 0 auto;
   }


   /* ==========================================================================
   PAGINA EVENTI
   ========================================================================== */
   #tavolaeventi {
    width: 90%;
    margin: 0 auto;
    font-size: 0.8em;
   }

   #tavolaeventi td {
    /* width: 20%; */
    max-width: 100px;
    text-align: center;
    border: solid 1px black;
    font-weight: 700;
   }

   #contenitoreeventi {
    width: 80%;
    margin: 0 auto;
   }

   #contenitoreeventi iframe {
    width: 100%;
    height: 1000px;
    border: none;
    min-height: 500px;
    margin: 20px auto;
   }

   #sceglianno {
    width: 100%;
    line-height: 200px;
    text-align: center;
   }

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dppx) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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