BODY {
	height:100%;
	background: #FFFFFF;
  	font-size: 11px; 
	line-height:140%;
	font-family: Arial,  Verdana, Tahoma, serif;
	color: #959595;
        background:url('../img/bg.jpg');
	background-repeat: no-repeat;
}

H1, .tlo2		 	{ 
	font-size: 18px; 
	color: #be9e56; 
	font-weight: bold; 
	padding-top:7px; 
	padding-bottom:5px; 
	margin:0px; 
	font-family: Arial,  Verdana, Tahoma, serif;
}
	
H2		 	{ 
	font-size: 11px; 
	color: #000000; 
	font-weight: bold; 
}

HR	 		{ 
	margin:0px; 
	padding:0px; 
	border:0px;
	height:1px; 
	background-color: #cccccc; 
}

P {
	font-family: Arial, Verdana, serif;
	font-size: 12px;
	line-height: 1.5em;
}
/* formularze */
INPUT, SELECT	{ 
	vertical-align:middle; 
	margin-bottom: 2px; 
	margin-top: 2px; 
	border: 1px solid #ded2bc; 
	font-size: 11px; 
	background-color: #FFFFFF; 
	color: #959595; 
	padding:4px;
}

INPUT[type="checkbox"]{
   padding:1px;
}    


TEXTAREA{ 
	margin-bottom: 3px; 
	margin-top: 3px; 
	border: 1px solid #ded2bc; 
	font-size: 11px; 
	background-color: #FFFFFF; 
	color: #959595; 
	padding:4px;	
}

.formularz2 { 
	cursor:pointer; 
	vertical-align:middle; 
	margin-bottom: 2px;
	margin-top: 2px; 
	border: 1px solid #ded2bc; 
	font-size: 11px; 
	background-color: #be9e56; 
	color: #ffffff; 
	padding:4px;	
}

.f_bkrotki    { width:40px;  }
.f_krotki     { width:70px;  }
.f_sredni     { width:120px; }
.f_dlugi      { width:180px; }
.f_dlugi2     { width:290px; }
.f_bdlugi2    { width:350px; }
.f_bdlugi     { width:380px; }

.przycisk     { 
	height:13px; 
	margin: 0px; 
	border: 0px none;
	font-size: 11px; 
	background:none; 
}

.top, .top TD, .top TH {
	vertical-align:top;
}

A, A:link, A:visited, A:active	{ 
	color:#be9e56;
	text-decoration: none; 
}

A:hover { 
	color: #8b733e; 
	text-decoration: none;
}

.male, .male A, .male A:link, .male A:visited, .male A:active, .male A:hover, A.male, A.male:link, A.male:visited, A.male:active, A.male:hover  { 
	font-size: 9px;
}

.obrazek { border: 1px solid #000000; margin:3px; }

.tytul { 
	padding-bottom: 8px;
	margin-bottom: 10px;
	font-size: 18px; 
	font-family: Arial,  Verdana, Tahoma, serif;
	color:#be9e56; 
	font-weight: normal;
	border-bottom: 1px solid #e7e7e7;
}


/* ramki tabelek */
.tlo1 { background-color: #ffffff; }


/* tlo tresc */
.tlo3	{ 
	background-color: #ffffff; 
	padding:4px;		
}

/* tlo wyroznione */
.tlo4	{ 
	background-color: #f7f6f7; 
	padding:4px;
}

.tabelka{
	border:1px solid #ffffff;
	border-collapse:collapse;
	width:100%;
	margin-bottom:3px;
}

.datownik { font-weight: normal; font-size: 9px; }
.margines { padding:2px; }
.error  { color: #FF0000; }
.szerokosc { width:980px; }
.mapa_p { margin-left:15px; margin-bottom:10px; }


#art_mapa ul{
	list-style-image: url('../grafika/list.gif');
	padding-left:20px;
	margin:0px;
}

#art_mapa li{
	padding:1px;
}


/* tabelk danych */

.dane_tabelka{
	width:90%;
	margin:auto;
	text-align:center;
	border:1px solid #858689;
	border-collapse:collapse;
}

.dane_tabelka TD{
	border:1px solid #858689;
}

.dane_opis{
	width:200px;
	text-align:left;
	font-size:10px;
	background-color:#ffffff;
}

.dane_tytul{
	text-align:left;
	font-weight:bold;
	background-color:#ffffff;
}

.dane_wartosc{
	text-align:left;
	background-color:#f8f6eb;
}

.botproof{
	margin-bottom:5px; 
	margin-top:5px; 	
	border:1px solid #666666
}

.galeria1{
	padding-top:3px;
	padding-bottom:3px;
}

.galeria1 TABLE {
	margin:auto;
	text-align:center;
}

.galeria1 TD{
	padding-top:4px;
	padding-bottom:4px;
	padding-left:4px;
	padding-right:4px;
}

.galeria1 IMG{
	border:1px solid #666666;
}

.galeria1 DIV {
	font-size:10px;
	padding-bottom:4px;
	text-align:center
} 

.cytat{
	padding:4px; 
	border:1px solid #cccccc;
	background-color:#eaedf9;
}


.podtytul{
	font-weight:bold;
	padding-bottom:10px;
}


/* art submenu */
TABLE.submenu{
	margin:auto;
	width:90%;	
	text-align:left;	
	margin-top:7px;
	margin-bottom:7px;
}

TABLE.submenu TD{
	padding-right:1px;
	padding-bottom:1px;
}


TABLE.submenu A, TABLE.submenu A:visited, TABLE.submenu A:link, TABLE.submenu A:active {
	display:block;
	font-weight:normal;
	padding:7px;
	text-align:left;
	background-color:#e6e4e6;
	color:#0f297b;
}


TABLE.submenu A:hover {
	background-color:#2e3c68;
	color:#ffffff;
	text-decoration:none;
}

TABLE.submenu3{
	margin:auto;
	width:90%;	
	text-align:center;	
	margin-top:7px;
	margin-bottom:7px;
}

TABLE.submenu3 TD{
	padding:5px;;
	text-align:center;
	font-weight:bold;
}


TABLE.submenu4{
	width:100%;
	text-align:left;	
	margin-top:7px;
	margin-bottom:7px;
}


TABLE.submenu4 TD{
	padding:4px;
}


TABLE.submenu4 TD.td1{
	width:120px;
}

/* table empty elements  */
.brak{
	font-weight:bold;
	padding:15px;
	text-align:center;
}


/* cms demo */

A.copy, A.copy:link, A.copy:visited, A.copy:active	{ 
	font-family: Arial,  Trebuchet, Arial, serif;
	color:#37415e;
	font-weight: normal; 
	font-size: 9px; 
	text-decoration:none;
}

A.copy:hover { 
	color:#1a41b2;
	font-weight: normal; 
	font-size: 9px; 
}


A.md, A.md:link, A.md:visited, A.md:active	{ 
	font-family: Arial,  Trebuchet, Arial, serif;
	color: #919191; 
	font-size: 12px; 
	font-weight:bold;
	text-decoration: none; 
}

A.md:hover 	{ 
	color: #000000; 
	text-decoration: none; 
}


.serwis {
	font-size:9px;
	color:#707070;
}

.t1 {
	background-color:#616161;
}

.t2{
	background-color:#204f8b;
	color:#ffffff;
	background-image:url('../img/t2.gif');
	background-position:top left;
	background-repeat:repeat-x;
}


.t3{
	background-color:#dfdddf;
}


.t4{
	background-color:#f37e1b;
}


.t5{
	color:#ffffff;
	background-image:url('../img/tmenu1.gif');
	background-position:top left;
	background-repeat:repeat-x;
}


.t6{
	background-color:#c9c9cc;
}


.news_tyt {
	color:#275899;
	font-weight:bold; 
	font-size:11px;
	padding-bottom:4px;
}

.banery{
	text-align:center;
}

.banery IMG {
	border:0px solid #cccccc;
}


/* menu glowne  */

.ddm1 {
	margin: auto;
	text-align: center;
}

.ddm1 TD{
	padding:0px;
}

.ddm1 .item1,
.ddm1 .item1:visited,
.ddm1 .item1:link,
.ddm1 .item1:active,
.ddm1 .item1-active:visited,
.ddm1 .item1-active:active,
.ddm1 .item1-active:link {
  	font-size:14px;
	font-family: Arial, Verdana, Trebuchet, serif;	
	display: block; 
	font-weight:normal;
	position:relative;
		
	color:#be9e56;
	text-transform: uppercase;
  	padding-left: 	2px;
  	padding-right: 	2px;
  	padding-top: 	8px;
  	padding-bottom: 8px;
	text-decoration : none; 
}


.ddm1 .item1:hover,
.ddm1 .item1-active,
.ddm1 .item1-active:visited,
.ddm1 .item1-active:active,
.ddm1 .item1-active:link,
.ddm1 .item1-active:hover {
	color:#8b733e;
	text-transform: uppercase;
	text-decoration: underline;
  	padding-left: 	2px;
  	padding-right: 	2px;
  	padding-top: 	8px;
  	padding-bottom: 8px;
}


.ddm1 .item2,
.ddm1 .item2:visited,
.ddm1 .item2:link,
.ddm1 .item2:active {

	display: block; 
  font-size:11px;
	font-family: Arial,  Tahoma, Trebuchet, serif;		
	color:#3f3f3f;
	background-color:#ffffff;
	background-image:url('../img/m1.gif');
	background-position:top left;
	background-repeat:no-repeat;	
	
	width:160px; 
	
  text-decoration : none; 
	
}

.item2 SPAN {
	font-weight:normal;
	display:block;
  font-size:11px;
	font-family: Arial,  Tahoma, Trebuchet, serif;		
	color:#3f3f3f;
	text-align:left;	
  padding-left: 	25px;
  padding-right: 	10px;
  padding-top: 		4px;
  padding-bottom: 4px;	

  border-left: 4px solid #dfdfdf; 	
	border-right: 4px solid #dfdfdf; 
  border-bottom: 1px solid #dfdfdf; 		
}

.ddm1 .item2:hover {
	color:#000000;
	background-color:#f7f6f7;	
	background-image:url('../img/m2.gif');
	background-position:top left;
	background-repeat:no-repeat;	
}


.item2:hover SPAN {
	color:#000000;

}


.ddm1 .section {
  border-top: 4px solid #dfdfdf; 	
  border-bottom: 3px solid #dfdfdf;	
	text-align:left;
  position: absolute;
  visibility: hidden;
  z-index: -1;
}

.ddm1 .left, .ddm1 .left:hover { border-style: solid none solid solid; }
.ddm1 .right, .ddm1 .right:hover { border-style: solid solid solid none; }

* html .ddm1 td { position: relative; } /* ie 5.0 fix */


/* lewe menu */


#l_menu{
	border-bottom: 3px solid #dfdfdf;
}

.l_item1,
.l_item1:visited,
.l_item1:link,
.l_item1:active {

	font-weight:normal;
	display:block;
  font-size:11px;
	font-family: Arial,  Tahoma, Trebuchet, serif;		
	color:#3f3f3f;
	text-align:left;	
  padding-left: 	25px;
  padding-right: 	10px;
  padding-top: 		4px;
  padding-bottom: 4px;	
	
	background-image:url('../img/m1.gif');
	background-position:top left;
	background-repeat:no-repeat;		

  border-left: 4px solid #dfdfdf; 	
	border-right: 4px solid #dfdfdf; 
  border-bottom: 1px solid #dfdfdf; 	
		
}
	

.l_item1:hover {
	color:#000000;
	background-color:#f7f6f7;
	background-image:url('../img/m2.gif');
}


.l_item2,
.l_item2:visited,
.l_item2:link,
.l_item2:active {

	font-weight:normal;
	display:block;
  font-size:11px;
	font-family: Arial,  Tahoma, Trebuchet, serif;		
	color:#3f3f3f;
	text-align:left;	
  padding-left: 	33px;
  padding-right: 	10px;
  padding-top: 		4px;
  padding-bottom: 4px;	
	
	background-color:#ffffff;
	background-image:url('../img/m21.gif');
	background-position:top left;
	background-repeat:no-repeat;	

  text-decoration : none; 
	
}


.l_item2:hover {
	color:#000000;
	background-color:#f7f6f7;	
	background-image:url('../img/m22.gif');
}


#kolumny_k{
	clear:both;
	padding-top:5px;	
}

#lewa_k{
	width:210px;
	text-align:left;
	float:left;
}

#srodek_k{
	width:580px;
	text-align:left;
	float:left;
	overflow:hidden;
}

#srodek_k2{
	width:560px;
	text-align:left;
	margin:auto;
}


#prawa_k{
	width:190px;
	text-align:left;
	float:left;
	overflow:hidden;
}


#glowna_k{
	width:770px;
	text-align:left;
	float:left;
	overflow:hidden;
}

#glowna_k2{
	width:765px;
	text-align:left;
	float:right;
	padding-bottom:10px;
}

#frame{
    width:1200px;
    text-align: center;
    margin:0 auto;
    background-color: #FFFFFF;
}
#top{
    width:1200px;
    height:142px;
    background:url('../img/top2.jpg') no-repeat center;
}


#menu{
    width:1200px;
    padding: 10px 0px 10px 0px;
    text-align: center;

}
#menu .link{
    float:left;
    margin-top: 11px;
}
#menu .break{
    float:left;
    width:31px;
    height:21px;
    margin-top: 11px;
    background:url('../img/menu_break.jpg') no-repeat center;
}
#menu .link a#glowna{
    float:left;
    width:84px;
    height:21px;
    display:block;
    background:url('../img/menu_glowna.jpg') no-repeat center;
}
#menu .link a:hover#glowna{
    float:left;
    width:84px;
    height:21px;
    display:block;
    background:url('../img/menu_glowna2.jpg') no-repeat center;
}
#menu .link a#news{
    float:left;
    width:101px;
    height:21px;
    display:block;
    background:url('../img/menu_news.jpg') no-repeat center;
}
#menu .link a:hover#news{
    float:left;
    width:101px;
    height:21px;
    display:block;
    background:url('../img/menu_news2.jpg') no-repeat center;
}
#menu .link a#oferta{
    float:left;
    width:49px;
    height:21px;
    display:block;
    background:url('../img/menu_oferta.jpg') no-repeat center;
}
#menu .link a:hover#oferta{
    float:left;
    width:49px;
    height:21px;
    display:block;
    background:url('../img/menu_oferta2.jpg') no-repeat center;
}
#menu .link a#galeria{
    float:left;
    width:61px;
    height:21px;
    display:block;
    background:url('../img/menu_galeria.jpg') no-repeat center;
}
#menu .link a:hover#galeria{
    float:left;
    width:61px;
    height:21px;
    display:block;
    background:url('../img/menu_galeria2.jpg') no-repeat center;
}
#menu .link a#strefa{
    float:left;
    width:128px;
    height:21px;
    display:block;
    background:url('../img/menu_strefa.jpg') no-repeat center;
}
#menu .link a:hover#strefa{
    float:left;
    width:128px;
    height:21px;
    display:block;
    background:url('../img/menu_strefa2.jpg') no-repeat center;
}
#menu .link a#rezerwacja{
    float:left;
    width:94px;
    height:21px;
    display:block;
    background:url('../img/menu_rezerwacja.jpg') no-repeat center;
}
#menu .link a:hover#rezerwacja{
    float:left;
    width:94px;
    height:21px;
    display:block;
    background:url('../img/menu_rezerwacja2.jpg') no-repeat center;
}
#menu .link a#kontakt{
    float:left;
    width:66px;
    height:21px;
    display:block;
    background:url('../img/menu_kontakt.jpg') no-repeat center;
}
#menu .link a:hover#kontakt{
    float:left;
    width:66px;
    height:21px;
    display:block;
    background:url('../img/menu_kontakt2.jpg') no-repeat center;
}
#flash{
    	width:1200px;
}
#content{
	padding: 16px;
}
#content_main{
    	width:1168px;
	text-align: left;
}
#c1{
    width:287px;
}
#c2{
    width:275px;
}
#c3{
    width:289px;
}
#foot{
	width: 1200px;
    clear:both;
    padding-top: 60px;
    text-align: center;
    background:url('../img/foot.jpg') no-repeat top center ;
    margin-bottom: 10px;
}
#foot_menu{
    text-align: center;
    width:auto;
    margin: 0 auto;
}
#foot_menu span {                
    color:#b3b2b2;
}
#foot_menu a{
    color:#b3b2b2;
    line-height:18px;
    display: inline-block;
    padding:0px 2px;
}
#foot_menu a:hover{
    text-decoration: underline;
}
#top a#logo{
    display:block;
    height:130px;
    margin:10px 0 0 500px;
    width:200px;
}


#lang_menu {
	float:right;
	text-align:right;
	padding-top:10px;
	width:200px;
}


#c3 #newsletter{
    height:50px;
    padding-left: 22px;
}
#c3 #newsletter .input{
    float:left;
    height:17px;
    width:182px;
    text-align: center;
    background:url('../img/input_newsletter.jpg') no-repeat left;
}
#c3 #newsletter .input input{
    border:none;
    line-height: 15px;
    height:15px;
    background-color: #FFFFFF;
    width:170px;
    margin:1px 0px 0px 1px;
    padding:0px;
}
#c3 #newsletter .submit{
    float:left;
    height:20px;
    width:50px;
    text-align: center;    
}
#c3 #newsletter .submit input{
    float:left;
    height:17px;
    width:55px;
    text-align: center;
    margin:0px 0px 0px 10px;
    padding:0px;
    border:none;
}
#c3 #newsletter .check{
    clear:both;
    height:20px;
    width:200px;
    text-align: left;
}
#c3 #newsletter .check input{
    border:none;
    line-height: 15px;
    height:15px;
    background-color: #FFFFFF;
    width:10px;
    margin:0px;
    padding:0px;

    background:url(../img/input_checkbox.jpg) no-repeat;
    cursor:pointer;
    overflow:hidden;
    position:relative;
}
#c3 #newsletter .check label{
    line-height: 20px;
    font-family: Arial,  Verdana, Tahoma;
    color: #958579;
}
#newsletter #wypisz {
    display: none;
}
#newsletter .etykieta {
    background: url("../img/check.jpg") no-repeat left center;
    padding-left: 20px;
    padding-top: 0px;
    margin: 0px;
    height: 20px;
    width: 150px;
    display: block;
}
#newsletter .etykieta:hover {
    text-decoration: underline;
}
#newsletter .etykieta_on {
    background: url("../img/check_on.jpg") no-repeat  left center;
}
#content_text .tytul{
    background:url(../img/tytul_linia.jpg) no-repeat bottom center;
    color:#be9e56;
    font-family: Arial, Verdana;
    font-size:16px;
    text-align: left;
    padding-bottom: 10px;
    letter-spacing: 2px;
}
.news_data{
    font-size:12px;
    color:#be9e56;
    display: block;
    font-weight: normal;
    font-family: Arial,  Verdana;
}
.news_title{
    font-size:18px;
    color:#be9e56;
    display: block;
    font-weight: normal;
    font-family: Arial,  Verdana;
    letter-spacing: 2px;
    padding:12px 0px 12px 0px;
    margin-bottom: 6px;
    background:url(../img/news_title.jpg) no-repeat bottom left;
}
.news_title a{
    font-size:18px;
    color:#be9e56;
}
.news_text{
    color: #959595;
    font-weight: normal;
}
.news_more a{
    font-size:12px;
    color:#be9e56;
    font-weight: normal;
    letter-spacing: 1px;
}
#content_text a:hover{
    text-decoration: underline;
}
.news_box{
}
ul.submenu {
    list-style: none;
    margin:0px;
    padding-left: 0px;
    float:left;
    width:240px;
    padding-right: 20px;
}
ul.submenu li{
    font-weight: normal;
    text-transform: uppercase;
}
ul.submenu li a{
    color:#848483;
    font-size:14px;
    font-weight: normal;
}
ul.submenu2 li a{
    color:#848483;
    font-size:11px;
    font-weight: normal;

}
ul.submenu2 li{
	text-transform: capitalize;

}
ul.submenu2 {
    list-style:disc;
    margin: 0px 0px 0px 15px;
    padding:0px;
}
ul.submenu li{
    padding:4px 0px;
}
.nowa_oferta{
    width:511px;
    float:right;
}
.nowa_oferta2 {
    width:480px;
    float:right;
}
ul.submenu li a:hover{
    color:#be9e56;
}
#content #rezerwacja label{
    color:#be9e56;
    clear: both;
    display: block;
}
#content #rezerwacja label.inline{
    color:#be9e56;
    float:left;
    width:20px;
}
#content #rezerwacja{
    width:400px;
}
.rezer{
    display: block;
    float:left;
    margin-bottom: 10px;
}
#content #rezerwacja textarea{
    border-color:#b1b3b6;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

.top, td.top, .top td {
	vertical-align: top;
}

#wyswys{
	border:0px none;
	color:#ffffff;
	font-size:12px;
	padding-bottom:3px;
	font-weight:bold;
	background-color:#c5a56a;
  border-radius: 3px;
  -moz-border-radius: 3px;	
}

#naw{
	display:table;
	margin:auto;
}

#naw A{
	display:block;
	padding-left:7px;
	padding-right:7px;
	font-size:14px;
	float:left;
}

IMG{
	max-width:100%;
}

.imgm{
	width:60px;
}

#maink{
	padding-left:20px;
}

#columnstab{
	width:100%;
}

#rezerwacja{
	margin-left:150px;
}

.galeria{
	list-style-type: none;
	display: table;
	margin: 0px auto;
	padding: 30px 0px 0px;
	text-align: center;
}

.galeria LI{
	list-style-type: none;
	display: inline-block;
	margin: 0px;
	padding: 5px 15px;
}


#start{
	display: table;
	margin: 0px auto;
	padding: 30px 0px 0px;
	text-align: center;
	max-width:100%;
	overflow:hidden;
}

#start TR{
	display: inline;
	clear:none;
}

#start TD{
	display: inline-block;
	margin: 0px;
	padding: 5px 15px;
}


#slider_home0{
	padding: 10px 0px 10px 0px;width:600px;height:120px;margin:20px auto 10px;overflow:hidden;
	display:table;
	margin:auto;
}

#leftkp{
	width: 180px; border-right: 1px solid #E7E7E7;
}

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

	
	.imgm{
		display:none;
	}	
	
	#menu1{
		display:block;
		width:100%;
		float:none;
	}
	
	#menu1 TD, #menu1 TR, #menu1 TBODY {
		display:block;
		width:100%;
		float:none;
		clear:both;
	}
	
	#menu1 TD.imgm{
		display:none;
	}	
	
	#slider_home{
		width:100%;
	}		
	
	#maink{
		padding-left:0px;
	}	
	
	#rezerwacja{
		margin-left:0px;
	}
	
	#content #rezerwacja {
	    width: 100%;
	}
	
	#maink{
		width:100%;
		max-width:400%;
		overflow:hidden;
		display:block;
		clear:both;		
	}	
	
	#leftkp{
		width: 100%;
		border:0px none;
		display:block;
		clear:both;
	}	
	
	#slider_home{
		width:auto;
		max-width:100%;
	}
			
			
	#submenu{
		width:100%;
		border:0px none;
	}	
	
	#szukaj{
		clear:both;
		display:block;
	}
	
}

@media only screen and (max-width: 768px) and (min-width: 481px) {	
	
	.imgm{
		width:10px;
	}	
	
	.ddm1 .item1, .ddm1 .item1:visited, .ddm1 .item1:link, .ddm1 .item1:active, .ddm1 .item1-active:visited, .ddm1 .item1-active:active, .ddm1 .item1-active:link {
		font-size:12px;
	}
	
	
	#slider_home{
		width:auto;
		max-width:100%;
	}
	
	#maink{
		padding-left:5px;
	}	
	
	#rezerwacja{
		margin-left:0px;
	}
	
	#slider_home{
		width:100%;
	}
			

}

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

	#frame{
		width:100%;	
	}
	
	#top{
		width:100%;	
	}	
	
	#menu{
		width:100%;
	}	
	
	#flash{
		width:100%;	
	}
	
	#top a#logo {	
		margin:auto;
		display:table;
		padding-left:100px;
	}
	
	.imgm{
		width:30px;
	}	
	
	#content_main {	
		width:auto;
	}
	
	#foot{
		width:100%;
	}
	
	.seta{
		max-width:100%;		
	}
	
	#rezerwacja{
		margin-left:10px;
	}
		
	
}

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

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

}