BODY {
	min-height:100%;
	background: #f6f6f6;
	font-size: 15px;
	line-height:1.5;
	font-family: Ubuntu, Verdana, serif;
	color: #000000;
	padding-bottom:0px;
}

TD, TH {
	padding:8px;
}

IMG,EMBED,OBJECT,VIDEO {
	max-width: 100%;
	height:auto !important;
}

IFRAME {
	max-width: 100%;
}

H1 {
	clear:both;
	font-size: 24px;
	padding-top:0px;
	padding-bottom:35px;
	margin:0px;
	text-align:center;
	color:#000000;
}

H2 {
}

H3{

}

HR {
	margin:0px;
	padding:0px;
	border:0px;
	height:1px;
	background-color: #cccccc;
}

INPUT, SELECT {
	vertical-align:middle;
	border: 1px solid #cccccc;
	background-color: #FFFFFF;
	color: #000000;
	padding:6px;
}

TEXTAREA {
	border: 1px solid #cccccc;
	background-color: #FFFFFF;
	color: #000000;
	padding:6px;
}

INPUT:focus, INPUT:active, TEXTAREA:focus, TEXTAREA:active, SELECT:focus, SELECT:active {
	border:1px solid #666666;
}

INPUT[type="submit"],
INPUT[type="submit"]:hover,
.btn-primary,
.btn-primary.focus, .btn-primary:focus,
.btn-primary.active, .btn-primary:active, .btn-primary:hover, .open > .dropdown-toggle.btn-primary{
	cursor:pointer;
	vertical-align:middle;
	margin-bottom: 2px;
	margin-top: 2px;
	border: 0px none;
	background: #3f3095;
	border: 1px solid #3f3095;
	color: #ffffff;
	padding:6px;
	transition: all 0.2s ease-in-out;
}

.bootstrap-select{
	width:100%;
}

INPUT[type="checkbox"].styled, INPUT[type="radio"].styled {
	margin:0px;
	margin-right:10px;
	border: 1px solid #275899;
	width:15px;
	height:15px;
   outline:0px none;
	padding:1px;
}

LABEL{
	font-weight:normal;
}

A {
	color: #3f3095;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}

A:hover {
	color: #000000;
	text-decoration: none;
}


#menu1, #menu1 * {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 898;
}

#g_menu{
	max-width:100%;
	margin:auto;
}

#menu1 {
	display:block;
	margin:0px;
	padding:0px;
}

#menu1 LI {
	position: relative;
	white-space: nowrap;
}

#menu1 UL LI {
	width:240px;
	white-space: normal;
	text-align:left;
}

#menu1 UL {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	display: block;
	transition: all 0.2s ease-in-out;
	-webkit-box-shadow: 3px 3px 14px rgba(0,0,0,.1);
	box-shadow: 3px 3px 14px rgba(0,0,0,.1);
}

#menu1 > LI {
	float: left;
}

#menu1 UL UL {
	top: 0;
	left: 100%;
}

#menu1 LI:hover > UL,
#menu1 LI.sfHover > UL {
	display: block;
	opacity: 1;
	z-index:99;
	visibility: visible;
}

#menu1 A {
	display: block;
	position: relative;
	text-decoration: none;
}

#menu1 A.item1 {
	color:#000000;
	padding-left:13px;
	padding-right:13px;
	height:54px;
	line-height:54px;
	font-size:15px;
	text-transform:uppercase;
	transition: all 0.2s ease-in-out;
	font-weight:bold;
}

#menu1 LI:last-child A.item1 {
	border-right:0px none;
}

#menu1 A.item1:hover,
#menu1 LI.sfHover A.item1,
#menu1 LI.sfHover A.current,
#menu1 LI.current A.item1{
	color:#27118d;
}

.xactive #menu1 .sub A.item1::after {
    content: '\E9C1';
    display: block;
    float: right;
    margin-left: 10px;
    font-family: icomoon;
    width: 19px;
    height: 29px;
    line-height: 29px;
    text-align: center;
    color: #000000;
}

#menu1 A.item2 {
	color:#ffffff;
	background:#188dea;
	font-weight:normal;
	font-size:14px;
	text-align:left;
	padding:10px;
	border-bottom:1px solid #5fadeb;
	border-top:0px none;
	transition: all 0.2s ease-in-out;
}

#menu1 A.item2:hover {
	color:#ffffff;
	background:#1085e2;
	transition:none;
}

#mobnav-btn {
	display: none;
	cursor: pointer;
	width:40px;
	height:40px;
	padding-top:10px;
}

#mobnav-bt:hover {
	opacity:0.8
}

#mobnav-btn DIV{
	position: relative;
	margin: auto;
	-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;
}

#mobnav-btn SPAN{
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #000000;
  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;
}

#mobnav-btn span:nth-child(1) {
  top: 0px;
}

#mobnav-btn span:nth-child(2),#mobnav-btn span:nth-child(3) {
  top: 9px;
}

#mobnav-btn span:nth-child(4) {
  top: 18px;
}

.xactive #mobnav-btn span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.xactive #mobnav-btn span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.xactive #mobnav-btn span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.xactive #mobnav-btn span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

#d_menu{
	clear:both;
	background:#f1f1f1;
}

#d_menu UL{
	list-style-type:none;
	display:table;
	padding:0px;
	margin:auto;
}

#d_menu LI{
	list-style-type:none;
	display:block;
	padding:0px;
	margin:0px;
	float:left;
}

#d_menu A{
	display:block;
	height:40px;
	line-height:40px;
	padding-left:20px;
	padding-right:20px;
	font-size:14px;
	color:#424242;
}

#d_menu A:hover{
	color:#000000;
}

#l_menu UL{
	list-style-type:none;
	display:block;
	padding:0px;
	margin:0px;
}

#l_menu LI{
	display:block;
	padding:0px;
	margin:0px;
	padding-bottom:1px;
}

#l_menu A{
	display:block;
	padding:10px;
	background:#f6f6f6;
	font-size:18px;
	color:#000000;
	padding-left:15px;
	padding-right:15px;
	text-transform:uppercase;
}

#l_menu A:hover, #l_menu .current > A{
	background:#ececec;
	color:#280891;
}

#l_menu UL UL A{
	padding-left:35px;
	font-size:16px;
	text-transform:none;
}

#top{
	padding-top:12px;
	background:#ffffff;
}

#top1{
	width:1400px;
	max-width:98%;
	margin:auto;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content:space-between;
	justify-content:space-between;
}

#top1_1{
	float:left;
	text-align:left;
	padding-bottom:15px;
}

#top1_1 IMG{
	max-width:210px;
}

#top1_2{
	float:right;
	text-align:right;
}

#top1_2_1 UL{
	list-style-type:none;
	display:block;
	padding:0px;
	margin:0px;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:flex-end;
	justify-content:flex-end;
}

#top1_2_1 LI{
	display:block;
	padding:0px;
	margin:0px;
	padding-left:20px;
	padding-bottom:12px;
}

#top1_2_1 LI >A, #top1_2_1 LI >SPAN{
	display:block;
	font-size:14px;
	color:#7a7a7a;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content:flex-start;
	justify-content:flex-start;
}

#top1_2_1 LI >A:hover{
	color:#ca0a0a;
}

#top1_2_1 LI > A::before, #top1_2_1 LI >SPAN::before{
	font-family:icomoon;
	font-size:16px;
	padding-right:12px;
	display:block;
}

#top_adr > A::before{
	content:'\EA9E';
}

#top_hours > SPAN::before{
	content:'\EAA7';
}

#top_tel > A::before{
	content:'\EA82';
}

#top_email > A::before{
	content:'\EA96';
}

MAIN{
	background:#ffffff;
	clear:both;
}

#maincontent2{
	width:1400px;
	max-width:98%;
	margin:auto;
	text-align:left;
	padding-top:70px;
	padding-bottom:90px;
}

#maincontent3{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:center;
	justify-content:center;
	padding-top:20px;
}


#wwwpage #maincontent3{
	-webkit-justify-content:space_between;
	justify-content:space-between;
}

ARTICLE{
	width:100%;
}

#content_left{
	width:25%;
	padding-right:30px;
}

#content_right{
	width:75%;
}

#foot{
	clear:both;
	padding-top:18px;
	overflow-y:auto;
	padding-bottom:15px;
}

#foot0{
	width:1400px;
	max-width:98%;
	margin:auto;
	font-size:13px;
	color:#a2a2a2;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:space-between;
	justify-content:space-between;
}

#foot0 A{
	color:#616c7e;
}

#foot0 A:hover{
	color:#000000;
}

#foot1{
	float:left;
	text-align:left;
	padding-bottom:15px;
	text-transform:uppercase;
}

#foot2{
	float:left;
	text-align:center;
	padding-bottom:15px;
}

#foot3{
	float:right;
	text-align:right;
	padding-bottom:15px;
	text-transform:uppercase;
}

#dol{
	clear:both;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:flex-start;
	justify-content:flex-start;
	background:#ffffff;
}

#dol1, #dol2{
	width:50%;
	min-height:450px;
}

#dol10{
	width:700px;
	max-width:100%;
	float:right;
	padding:90px;
	text-align:center;
}

#contactp{
	display:block;
	padding-top:30px;
	text-align:center;
}

#dol2 IFRAME{
	display:block;
	width:100%;
	height:100%;
	border:0px none;
	background:#cccccc;
}


#lang_menu{
	list-style-type:none;
	display:block;
	padding:0px;
	margin:0px;
}

#lang_menu LI{
	display:block;
	padding:0px;
	padding-left:5px;
	padding-right:5px;
	float:left;
	margin:0px;
}

#slider0{
	clear:both;
	height:850px;
	position: relative;
}

#slider{
	width:2000px;
	height:850px;
	max-width:100%;
	margin:auto;
	overflow:hidden;
	position:relative;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:center;
	justify-content:center;
}

#slider_img{
	position:absolute;
	z-index:2;
	top:0px;
	left:0px;
	width:100%;
	height:850px;
	overflow:hidden;
}

.slider_el{
	width:100%;
	height:850px;
	overflow:hidden;
	background-position:top left;
	background-repeat:no-repeat;
}


#nextp, #prevp{
	display:block;
	position: absolute;
	z-index:3;
	top:45%;
	opacity:0.3;
	font-family:icomoon;
	color:#ffffff;
	font-size:60px;
	width;60px;
	text-align:center;
}

#nextp {
	right:4%;
}

#prevp {
	left:4%;
}


#news_panel{
	clear:both;
	padding-top:90px;
	padding-bottom:90px;
}

#news_panel0{
	width:1000px;
	max-width:98%;
	margin:auto;
}

#news_panel H2{
	text-align:center;
	padding-bottom:50px;
	text-transform,:uppercase;
	color:#000000;
}


#news_panel H3{
	color:#000000;
	padding-bottom:20px;
	font-size:26px;
}

.news_panel_row{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content:space-between;
	justify-content:space_between;
}

.news_panel_img{
	width:40%;
	padding-bottom:20px;
}

.news_panel_tr{
	width:50%;
}

#news_panel .more{
	clear:both;
	padding-top:50px;
}

#news_panel .more A{
	display:table;
	height:34px;
	line-height:34px;
	text-transform:uppercase;
	color:#828282;
	padding-left:20px;
	padding-right:20px;
	border:1px solid #e3e3e3;
	margin:auto;
}

#news_panel .more A:hover{
	border:1px solid #000000;
}


#start2{
	clear:both;
	padding-top:60px;
	width:100%;
}

#partnerzy{
	clear:both;
	margin:auto;
}

#partnerzy UL {
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:center;
	justify-content:center;
	padding:0px;
}

#partnerzy LI {
	display:block;
	float:left;
	padding:0px;
	margin:0px;
	padding-left:50px;
	padding-right:50px;
	padding-bottom:20px;
}

#spec{
	clear:both;
	background:#cccccc url('../img/spec.jpg')center center no-repeat;
	background-size:cover;
	color:#ffffff;
	text-transform:uppercase;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-self:center;
	vertical-align:center;
	align-items:center;
	-webkit-justify-content:center;
	justify-content:center;
	min-height:604px;

}

#spec0{
	width:1000px;
	max-width:98%;
	margin:auto;
	text-align:center;
	font-size:30px;
}

#oferta{
	clear:both;
	width:1400px;
	max-width:98%;
	margin:auto;
	padding-top:90px;
	padding-bottom:90px;
}

#oferta H2{
	font-size:18px;
	color:#303030;
	text-align:center;
}

#boksy{
	clear:both;
	width:1400px;
	max-width:98%;
	margin:auto;
}

#boksy UL{
	list-style-type:none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	margin:auto;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content:center;
	justify-content:center;
	padding:0px;
	clear:both;
	margin-top:-70px;
	z-index:90;
	position: relative;
	width:100%;
}

#boksy LI{
	display:block;
	float:left;
	margin:0px;
	padding:2px;
	width:25%;
}

#boksy A{
	display:block;
	height:100%;
	padding:30px;
	background:#ffffff;
	text-align:center;
}

#boksy .name{
	font-weight:normal;
	font-size:20px;
	text-transform:uppercase;
	color:#303030;
	padding-top:20px;
}

#boksy A:hover .name{
	color:#3f3095;
}

.art_main_img{
	text-align:center;
}

.art_main_img IMG{
	max-height:500px;
}

@media only screen and (max-width: 575px) {

	.form-horizontal .form-group {
	    margin-left: 0px;
	    margin-right: 0px;
	}

	#facebook_pan {
	    background:#3b5998;
	    float: none;
	    padding: 0;
	    position: static;
	    right: auto;
	    top: auto;
	    width: 100%;
	    z-index: 1;
	}

	#facebook_pan2 {
	    margin-left: 0px;
		 overflow:hidden;
	}

	#menu1 A.item1 {
		padding-left:12px;
		padding-right:12px;
		font-size:15px;
	}

	#g_menu, #menu1{
		overflow-y:auto;
		width:100%;
		display:block;
	}

	#mobnav-btn {
		display: block;
		clear:both;
		float:right;
	}

	#menu1 {
		float:none;
		text-align:left;
		width: 100%;
		height: 0px !important;
		max-height:0px;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: all 0.8s ease-in-out;
	}

	HTML.xactive{
		/*overflow:hidden; */
	}

	.xactive #menu1 {
		overflow-y:auto;
		visibility: visible !important;
		max-height:4000px;
	   height: auto !important;
		opacity:1;
	}

	.xactive .layer #menu1 {
		max-height:100%;
	}

	.xactive #g_menu.layer{
		position: absolute;
		z-index:101;
		top:0px;
		left:0px;
		width:100%;
		padding-top:50px;
		height:100vh;
		overflow:hidden;
		background: #ffffff;
	}

	.xactive #mobnav-btn{
		position: absolute;
		z-index:102;
		top:10px;
		right:10px;
	}

	#menu1 > LI {
		float: none;
		width:100%;
		position:static;
		border-right:0px none;
		background:#ffffff;
	}

	#menu1 UL {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		width: 100%;
		transition: all 0.2s ease-in-out;
		display: block !important;
		height: 0px !important;
		max-height: 0px !important;
		overflow: hidden;
	}

	#menu1 .open UL {
	   height: auto !important;
	   max-height: 4000px !important;
	}

	#menu1 UL LI {
		width:100%;
		white-space: normal;
		text-align:left;
	}


	#top1_1, #top1_2{
		float:none;
		clear:both;
		width:auto;
		text-align:center;
	}

	#foot1, #foot2, #foot3{
		float:none;
		clear:both;
		width:100%;
		text-align:center;
	}

	#dol1,#dol2{
		width:100%;
	}

	#dol1{
		min-height:100px;
	}

	#dol10{
		padding:20px;
		text-align:center;
	}

	#contactp{
		padding:0px;
		padding-top:20px;
	}

	.news_panel_row {
	    -webkit-flex-wrap:wrap;
	    flex-wrap:wrap;
	}

	.news_panel_img {
	    width: 100%;
		 text-align:center;
	}

	.news_panel_tr {
	    width:100%;
	}

	#partnerzy LI {
	    float:none;
		 text-align:center;
	    padding-left:10px;
	    padding-right:10px;
	    padding-bottom: 20px;
	}

	#spec0 {
	    font-size:26px;
	}

	#boksy LI {
	    width:100%;
	}

	#slider0, #slider,#slider_img, .slider_el{
		height:43vw;
	}

	#boksy UL {
	    margin-top: -30px;
	}

	#top1_2_1 SPAN{
		display:none;
	}

	#top1_2_1 LI#top_hours{
		display:none;
	}

	#content_left{
		width:100%;
		padding-right:0px;
		order:2;
	}

	#content_right{
		width:100%;
		order:1;
	}

}

@media only screen and (max-width: 768px) and (min-width: 576px) {

	.form-horizontal .form-group {
	    margin-left: 0px;
	    margin-right: 0px;
	}

	#facebook_pan {
	    background:#3b5998;
	    float: none;
	    padding: 0;
	    position: static;
	    right: auto;
	    top: auto;
	    width: 100%;
	    z-index: 1;
	}

	#facebook_pan2 {
	    margin-left: 0px;
		 overflow:hidden;
	}

	#menu1 A.item1 {
		padding-left:12px;
		padding-right:12px;
		font-size:15px;
	}

	#g_menu, #menu1{
		overflow-y:auto;
		width:100%;
		display:block;
	}

	#mobnav-btn {
		display: block;
		clear:both;
		float:right;
	}

	#menu1 {
		float:none;
		text-align:left;
		width: 100%;
		height: 0px !important;
		max-height:0px;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: all 0.8s ease-in-out;
	}

	HTML.xactive{
		/*overflow:hidden; */
	}

	.xactive #menu1 {
		overflow-y:auto;
		visibility: visible !important;
		max-height:4000px;
	   height: auto !important;
		opacity:1;
	}

	.xactive .layer #menu1 {
		max-height:100%;
	}

	.xactive #g_menu.layer{
		position: absolute;
		z-index:101;
		top:0px;
		left:0px;
		width:100%;
		padding-top:50px;
		height:100vh;
		overflow:hidden;
		background: #ffffff;
	}

	.xactive #mobnav-btn{
		position: absolute;
		z-index:102;
		top:10px;
		right:10px;
	}

	#menu1 > LI {
		float: none;
		width:100%;
		position:static;
		border-right:0px none;
		background:#ffffff;
	}

	#menu1 UL {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		width: 100%;
		transition: all 0.2s ease-in-out;
		display: block !important;
		height: 0px !important;
		max-height: 0px !important;
		overflow: hidden;
	}

	#menu1 .open UL {
	   height: auto !important;
	   max-height: 4000px !important;
	}

	#menu1 UL LI {
		width:100%;
		white-space: normal;
		text-align:left;
	}


	#top1_1, #top1_2{
		float:none;
		clear:both;
		width:auto;
		text-align:center;
	}

	#foot1, #foot2, #foot3{
		float:none;
		clear:both;
		width:100%;
		text-align:center;
	}

	#dol1,#dol2{
		width:100%;
	}

	#dol1{
		min-height:100px;
	}

	#dol10{
		padding:20px;
		text-align:center;
	}

	#contactp{
		padding:0px;
		padding-top:20px;
	}

	.news_panel_row {
	    -webkit-flex-wrap:wrap;
	    flex-wrap:wrap;
	}

	.news_panel_img {
	    width: 100%;
		 text-align:center;
	}

	.news_panel_tr {
	    width:100%;
	}

	#partnerzy LI {
	    float:none;
		 text-align:center;
	    padding-left:10px;
	    padding-right:10px;
	    padding-bottom: 20px;
	}

	#spec0 {
	    font-size:26px;
	}

	#boksy LI {
	    width:100%;
	}

	#slider0, #slider,#slider_img, .slider_el{
		height:43vw;
	}

	#boksy UL {
	    margin-top: -30px;
	}

	#top1_2_1 SPAN{
		display:none;
	}

	#top1_2_1 LI#top_hours{
		display:none;
	}

	#content_left{
		width:100%;
		padding-right:0px;
		order:2;
	}

	#content_right{
		width:100%;
		order:1;
	}


}

@media only screen and (max-width: 1199px) and (min-width: 769px) {


}

@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;
	}

	DIV{
		max-width:100%;
	}

}