/*
	Theme Name: Prato Veloce
	Theme URI: http://www.pratoveloce.it/
	Description: Custom Wordpress theme
	Version: 1.0
	Author: Gabriel Nastase 
	Author URI: https://www.gabrielnastase.com
	Tags: HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}

/* roboto-slab-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/roboto-slab-v34-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* roboto-slab-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/roboto-slab-v34-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
.slab {
    font-family: 'Roboto Slab';
}
body {
	font-family: 'Helvetica', sans-serif;
    font-weight: normal;
	color:#444744;
    font-size: 1.6rem;
    overflow-x: hidden;
    background-color: #fff;
}
/* clear */

.clear {
    clear: both;
    height: 0;
}
img {
	max-width:100%;
	vertical-align:bottom;
    height: auto;
}
a {
	color:#77AD32;
    font-weight: bold;
	text-decoration:none;
    transition: all 200ms;
}
a:hover {
	color:#735D43;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

.privacy-policy main a, .cookie-policy main a {
    text-decoration: underline;
}
input:focus {
	outline:0;
	border:1px solid #000;
}
video {
    max-width: 100%;
}
h1, h2, .h2 {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Roboto Slab';
}

h3 {
    font-size: 2.6rem;
    font-family: 'Roboto Slab';
}
h4 {
    font-size: 2.2rem;
    font-weight: 300;
}
button, input, select, textarea {
    border: solid 1px #E2E9ED;
    background: #ECF3F7;
}
p {
    line-height: 1.5;
    font-size: 1.8rem;
}

.uppercase {
    text-transform: uppercase;
}
.white {
    color: #fff;
}
.verde {
    color: #8CC63F;
}
.verde-scuro {
    color: #008D36;
}
.azzurro {
    color: #1669B2;
}
.marrone {
    color: #735D43;
}
.bg-verde {
    background-color: #77AD32;
}
.bg-verde-scuro {
    background-color: #008D36;
}
.bg-marrone {
    background-color: #735D43;
}
.dark {
    color: #fff;
}
.dark a{
    color: #fff; 
}
.dark a:hover {
    color: #eedfc5;
}
.rounded, .rounded img, .rounded video {
    border-radius: 36px;
}
.not-rounded, .not-rounded img, .not-rounded video {
    border-radius: 0px;
}
/* Icon 1 */

#nav-icon1 {
  width: 25px;
  height: 25px;
    margin-left: 20px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
    display: none;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 3px;
  border-radius: 3px;
  width: 100%;
  background: #77AD32;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
}

/* Pulse */
@-webkit-keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@keyframes hvr-pulse {
  25% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
.hvr-pulse {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-pulse:hover, .hvr-pulse:focus, .hvr-pulse:active {
  -webkit-animation-name: hvr-pulse;
  animation-name: hvr-pulse;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

input, textarea {
    padding: 15px;
    border-radius: 20px;
    width: 90%;
    transition: all 200ms;
    margin-top: 5px;
    background: rgba(255, 255, 255, 1);
    border: solid 2px #ebefec;
    box-shadow: 0 5px 10px rgba(40, 85, 36, 0);
}
textarea {
    max-height: 170px;
}
input:hover, textarea:hover {
    background: rgba(255, 255, 255, .9);
}
input:focus, textarea:focus {
    box-shadow: 0 5px 10px rgba(40, 85, 36, 0.221);
    border: none;
}
input[type="checkbox"], input[type="radio"] {
    width: auto!important;
}
.wpcf7-submit {
    border: none;
    background: #77AD32;
    color: #fff;
    max-width: 90px;
    font-weight: 800;
    font-family: 'Roboto Slab';
    text-transform: uppercase;
}
.wpcf7-submit:hover {
    background: #735D43;
}
.wpcf7 input[type="file"] {
    background: none;
}

.bigger {font-size: 6rem; margin: 0;}
p.bigger {
    font-size: 2.2rem;
}
.fullheight {
    min-height: 100vh;
}

.height-100 {
    height: 100%;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.outer-wrapper {
    max-width: calc( 100% - 100px );
    width: 95%;
	margin:0 auto;
    position: relative;
}

.wrapper {
	max-width: 1180px!important;
	width: 90%;
	margin: 0 auto!important;
	position: relative;
}
.large-wrapper {
	max-width: 1580px;
	width: 90%;
	margin: 0 auto!important;
	position: relative;
}
.narrow-wrapper {
	max-width:800px!important;
	width:95%;
	margin:0 auto;
	position:relative;
}
.narrower {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.no-margin-top {
    margin-top: 0;
}
.no-margin {
    margin: 0!important;
}
.no-gap {
    gap: 0!important;
}
.margin-top {
    margin-top: 40px;
}
.margin-bottom {
    margin-bottom: 40px;
}
.center {
    text-align: center;
}

.align-right {
    text-align: right;
}
.flex-container {
    display: flex;
}

/* header */
.header {
    position: fixed;
    width: 100%;
    z-index: 900;
    padding: 60px 0;
    top: 0;
    left: 0;
    background: transparent;
    transition: all 500ms;
}
.header-scroll {
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 5px 25px rgba(58, 207, 45, 0.08);
}

.header .flex-container {
    justify-content: space-between;
    align-items: center;
}
.header .nav-left, .header .nav-right {
    width: calc( 50% - 70px );
}
.header .nav-right {
    justify-content: flex-end;
}
.header-icons, .footer-icons {
    background-color: #735D43;
    border: solid 2px #60462B;
    box-shadow: 0 10px 20px rgba(247, 156, 9, 0.24);
    padding: 10px;
    display: flex;
    border-radius: 30px;
    margin: 0 10px;
}
.footer-icons {
    background-color: #fff;
    border: solid 2px #dfdfdf;
    justify-content: center;
    padding: 7px 10px;
    box-shadow: 0 10px 20px rgba(53, 33, 0, 0.44);
}
.header-icons i, .footer-icons i {
    font-size: 18px;
    margin: 0 8px;
}
.footer-icons i {
    color: #735D43;
    font-size: 24px;
}

/* logo */

.logo {
    max-width: 240px;
    height: auto;
}

/* nav */
.nav {
    font-weight: 900;
    line-height: 0;
    font-family: 'Roboto Slab';
}
.nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}
.nav ul li {
    list-style: none;
    margin: 0 7px;
    padding: 0;
    position: relative;
}
.nav ul li a {
    font-size: 1.4rem;
    transition: all 200ms;
    border-bottom: solid 4px transparent;
    padding: 4px 6px 1px 6px;
    height: 10px;
}
.nav ul li a:hover {
    color: #735D43;
}
.nav ul .sub-menu {
    display: block;
    background: #fff;
    position: absolute;
    top: 35px;
    left: 0;
    width: auto;
    padding: 20px;
    padding-top: 0;
    border-radius: 15px;
    transition: all 200ms ease-out;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0 20px 30px rgba(52, 182, 93, 0.2);
}
.nav ul li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    top: 10px;
}
.nav ul .sub-menu li {
    display: block;
    margin: 10px 0;
    width: 220px;
    line-height: normal;
}
.nav ul .sub-menu li a {
    font-size: 1.3rem;
    padding: 10px 0;
    border: none;
    display: block;
    text-transform: uppercase;
    background: none!important;
}
.nav ul .sub-menu li a:hover {
    color: #099139;
}
.nav .current-menu-item a, .current-menu-parent a {
    background-color: #dcfae7;
    border-radius: 20px;
}
.nav .current-menu-item .sub-menu a {
    border: none;
}
.nav .sub-menu a {
   border-bottom: none!important;
}
.nav .sub-menu .current-menu-item a {
    color: #735D43;
    background: none;
}
.nav .lang-item a {
    border: none!important;
}
.header .btn {
    margin-left: 0;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.content-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}
.content-padding-s {
    padding: 50px 0;
}
.content-padding-bottom {
    padding-bottom: 100px;
}
.content-padding-top {
    padding-top: 100px;
}

.page-header .flex-container {
    align-items: center;
    justify-content: space-between;
}
.wrap-left {
    padding-left: calc( (100% - 1180px) / 2)!important;
    padding-right: 3%;
}
.wrap-right {
    padding-right: calc( (100% - 1180px) / 2)!important;
    padding-left: 3%;
}
.negative-top {
    margin-top: -50px;
    position: relative;
    z-index: 100;
}
.negative-bottom-80 {
    margin-bottom: -80px;
}
.negative-right {
    margin-right: -80px;
}
.margin-top-50 {
    margin-top: 50px;
}
.first-content {
    margin-top: 200px;
}
.no-padding-top {
    padding-top: 0;
}
.box-padding {
    padding: 60px;
}
.box-padding-xs {
    padding: 15px;
}
.bordered {
    border: solid 1px #ccc;
}

.is-style-checkbox li {
    margin-bottom: 15px;
}

.no-margin .wp-block-column .wp-block-image {
    margin-bottom: 0;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: #77AD32;
    border: solid 2px #619900;
    box-shadow: 0 10px 20px rgba(153, 255, 0, 0.34);
    color: #fff;
    font-weight: 600;
    line-height: 20px;
}
.btn-marrone {
    background-color: #735D43;
    border: solid 2px #60462B;
    box-shadow: 0 10px 20px rgba(247, 156, 9, 0.24);
}
.btn-verde i {
    color: #fff;
    font-size: 2.4rem;
}
.btn i {
    margin-left: 20px;
}
.btn-icon-left i {
    margin-left: 0;
    margin-right: 10px;
}
.kt-button {
    border-radius: 3px!important;
}

/* sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -700px;
    width: 380px;
    height: 100%;
    z-index: 700;
    background: rgb(255, 255, 255);
    padding: 80px 4.5%;
    padding-top: 160px;
    color: #fff;
    box-shadow: 0 5px 65px rgba(58, 207, 45, 0.12);
    transition: all 500ms ease-in;
    text-align: right;
}
.sidebar-open {
    right: 0;
}
.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar ul li {
    margin: 8px 0;
}
.widget_nav_menu {
    font-family: 'Roboto Slab';
    text-transform: none;
}
.sidebar .sub-menu {
    padding-right: 17px;
    border-right: solid 1px #60462b42;
}
.sidebar .current-menu-item a {
    color: #60462B;
}
.sidebar a {
    background: none!important;
}

/* footer */
.footer .outer-wrapper {
    align-items: center;
    justify-content: space-between;
}
.footer .icons {
    display: flex;
}
.footer .footer-icons {
    width: 150px;
}
.footer .info {
    display: flex;
    min-width: 400px;
    font-size: 1.4rem;
}
.footer .info img {
    max-width: 150px;
    margin-right: 30px;
}
.footer .info span {
    margin-top: 10px;
}
/*------------------------------------*\
    PAGES
\*------------------------------------*/


.wp-block-video {
    margin: 0!important;
}

.loop-block {
    width: 32%;
    border-radius: 30px;
    margin-bottom: 25px;
    background-color: #fff;
    transition: background 200ms;
}
body.category-news, body.category-news-en {
    background-color: #f4fafd;
}
.loop-block:hover {
    background: #e1ece4;
}
.loop-block .padding {
    padding: 20px;
}

.date {
    color: rgb(137, 137, 137);
    margin-bottom: 10px;
    display: block;
}
.intro-boxes .logo-prato {
    max-width: 200px;
    margin: 0 auto;
}
.intro-boxes .logo-prato img {
    border-radius: 16px;
}
.payoff img {
    width: 320px;
}
.bg-erba {
    background-image: url(img/bg-prato.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
}
.ossigeno-250mq img {
    border-top-left-radius: 300px;
    border-bottom-left-radius: 300px;
}
.tanto-ossigeno {
    max-width: 90%;
}
.video-home {
    max-width: 70%;               
}
.video-home video {
    border-top-right-radius: 300px;
    border-bottom-right-radius: 300px;
}
.video-home-parent {
    position: relative;
}
.video-home-parent .bolle {
    position: absolute;
    z-index: 500;
    bottom: -40px;
    right: 5%;
    width: 35%;
}
.has-text-shadow {
    text-shadow: 0 4px 7px rgba(0, 0, 0, .8);
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #8c79521a;
}
.cols-guida .wp-block-column {
    background-color: #f7f3ef;
    padding-bottom: 20px;
    border-radius: 36px;
}
.cols-guida h3 {
    font-size: 1.8rem;
    margin: 15px;
    color: #735D43!important;
}
.cols-guida p {
    margin: 15px;
    font-size: 1.3rem;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1560px) {
    .header .numero {
        display: none;
    }
    .header .fa-phone {
        margin: 0;
    }
    .nav ul li {
        margin: 0 4px;
    }
    .logo {
        max-width: 200px;
    }
}
@media only screen and (max-width:1280px) {
    .content-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .content-padding-bottom {
        padding-bottom: 60px;
    }
    .content-padding-top {
        padding-top: 60px;
    }
    .wrapper {max-width: 90%;}
    .wrap-left {
        padding-left: 5%!important;
        padding-right: 5%;
    }
    .wrap-right {
        padding-right: 5%!important;
        padding-left: 5%;
    }


    .box-padding {
        padding: 30px;
    }

    #nav-icon1 {
        display: block;
        left: 10px;
        top: 22px;
    }

    .header .nav {
        display: none;
    }
    .intro-boxes, .cols-cover-3, .cols-cover-2 {
        gap: 10px;
    }
    .intro-boxes .wp-block-cover {
        min-height: 350px!important;
        padding: 15px;
    }
  
}

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

    .outer-wrapper {
        width: 90%;
        max-width: 90%;
    }
    .narrow-wrapper {
        width: 80%;
    }
    .outer-left {
        padding-left: 5%;
    }
    .outer-right {
        padding-right: 5%;
    }

    .box-padding-xs {
        padding: 8px;
    }
    .box-padding {
        padding: 25px;
    }

}

@media only screen and (max-width: 1000px) {
    
    .header {
        padding: 10px 0!important;
    }
    .sidebar {
        padding-top: 100px;
    }
    .first-content {
        margin-top: 100px;
    }
    .wp-block-cover-image.has-parallax, .wp-block-cover.has-parallax {
        background-attachment: scroll;
    }
    .content-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .content-padding-bottom {
        padding-bottom: 40px;
    }
    .content-padding-top {
        padding-top: 40px;
    }
    .reverse {
        flex-direction: column-reverse;
    }
    .loop-block {
        width: 48%;
    }
    .header .nav-left {
        width: 200px;
    }
    .header .nav-right {
        width: calc( 100% - 220px );
    }
    .footer {
        text-align: center;
    }
    .footer .flex-container, .footer .info {
        display: block;
    }
    .footer .info img {
        margin-right: 0;
    }
    .footer .info span {
        display: block;
        text-align: center;
    }
    .footer .icons {
        justify-content: center;
        margin-top: 40px;
    }
    .wp-block-cover .rounded, .wp-block-cover  .rounded img {
        border-radius: 26px;
    }
    .footer .info {
        min-width: auto;
    }
    .parent-tabella {
        padding-left: 0;
        padding-right: 0;
    }

}

@media only screen and (max-width: 780px) {
    .wp-block-spacer {
        height: 40px;
    }
    .cover-bottom-home {
        min-height: 600px!important;
    }
    .logo {
        max-width: 160px;
    }
    .header-icons, .footer-icons {
        padding: 5px!important;
    }
    .header .btn {
        padding: 5px 10px;
    }
    .footer .btn {
        padding: 7px 10px;
    }
    .header .nav-right {
        width: calc( 100% - 160px );
    }
    #nav-icon1 {
        margin-left: 10px;
    }
    .wp-block-cover.first-content, .cols-cover-2 .wp-block-cover, .cols-cover-3 .wp-block-cover {
        min-height: 350px!important;
    }
    .video-home {
        max-width: 95%;
    }
    input, textarea {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .video-home-parent .bolle {
        position: relative;
        bottom: auto;
        width: 70%;
        margin: 0 auto;
        margin-top: -20px;
    }
    .cols-cover-2 .wp-block-cover, .cols-cover-3 .wp-block-cover {
        min-height: 250px!important;
    }
    .header-icons {
       display: none;
    }
    .sidebar {
        width: 100%;
    }
}




/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.wp-block-cover, .wp-block-cover-image {
    overflow-y: hidden;
    padding: 0;
}
.wp-block-columns-gap-1 {
    gap: 1em!important;
}
.wp-block-columns-gap-3 {
    gap: 3em!important;
}
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.wp-block-image img {
    height: auto!important;
}
hr {
    opacity: .3;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.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;
	}
	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;
	}
}
