html, body { margin: 0px auto; padding: 0px; width: 100%; font-family: "Roboto", sans-serif, Arial, Tahoma, Helvetica, "Lucida Sans Unicode"; font-weight: 400; font-size: 14px; color: #4d4d4d; background: #fff; line-height: 150%; }
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
input, select, textarea, button { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;  font-family: "Roboto", sans-serif, Arial, Tahoma, Helvetica, "Lucida Sans Unicode"; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
input:focus, select:focus, textarea:focus, button:focus { outline: none; }
img, iframe { border: none; }
.img_max img { max-width: 100%; }

.GODwrapper { width: 94%; max-width: 1260px; margin: 0px auto; }

/* HEADER */
	.header_tlo { width: 100%; float: left; background-position: center; background-size: cover; background-attachment: fixed; background-image: url('../gfx/header_tlo.jpg'); position: relative; top: -61px; padding-top: 360px; }
	header { width: 100%; float: left; position: sticky; position: -webkit-sticky; top: 0px; z-index: 150; border-bottom: 1px solid rgba(255,255,255,0.3); line-height: 60px; font-size: 12px; font-weight: 300; }
	header a { color: #fff; transition-duration: 0.5s; }
	header a:hover { color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); }
	.header_zmiana { background: var(--main-color3); }
	.header_logo { width: 249px; float: left; border-right: 1px solid rgba(255,255,255,0.3); }
	.header_logo img { max-width: 100%; max-height: 30px; vertical-align: middle; margin: 5px 0; }
	.header_kontakt { width: 299px; float: left; text-align: right; line-height: 60px; border-left: 1px solid rgba(255,255,255,0.3); }
	.header_kontakt img { vertical-align: middle; margin-left: 4px; }
	.header_kontakt a { color: #fff; }
	
	.header_kontakt .header_spolecznosciowe { margin-left: 10px; padding-left: 10px; border-left: 1px solid #efefef; }
	.header_kontakt .flagi { margin-left: 10px; padding-left: 10px; border-left: 1px solid #efefef; }
	
	.header_menu_telefon { width: 100px; float: left; display: none; text-align: right }
	.header_menu_telefon a { height: 40px; line-height: 40px; width: auto; margin-left: 10px; display: inline-block; }
	
	.ht_blok { width: calc(100%/4 - 64px); padding: 30px; vertical-align: top; display: inline-block; color: #fff; font-size: 12px; }
	.ht_blok:hover { color: #fff; }
	.ht_blok h2 { font-size: 18px; font-weight: 300; position: relative; z-index: 2; margin: 0px; }
	.ht_blok h2:after { content: ""; width: 1px; height: calc(100% + 60px); background: rgba(255,255,255,0.3); position: absolute; top: -30px; left: -30px; z-index: 0; transition-duration: 0.5s; }
	.ht_blok:nth-child(1):hover h2:after { background: var(--main-color2); }
	.ht_blok:nth-child(2):hover h2:after { background: var(--main-color3); }
	.ht_blok:nth-child(3):hover h2:after { background: var(--main-color4); }
	.ht_blok:nth-child(4):hover h2:after { background: var(--main-color5); }
	
	.ht_blok p { margin: 40px 0 0 0; }
	.ht_blok span { padding: 15px 25px; display: inline-block; border: 1px solid #fff; float: right; transition-duration: 0.5s; }
	
	.ht_blok:nth-child(1):hover span { border: 1px solid var(--main-color2); background: var(--main-color2); }
	.ht_blok:nth-child(2):hover span { border: 1px solid var(--main-color3); background: var(--main-color3); }
	.ht_blok:nth-child(3):hover span { border: 1px solid var(--main-color4); background: var(--main-color4); }
	.ht_blok:nth-child(4):hover span { border: 1px solid var(--main-color5); background: var(--main-color5); }
	
	
/* MENU GŁÓWNE */
	.header_menu { width: calc(100% - 550px); float: left; }
	.header_menu ul { list-style-type: none; padding: 0px; margin: 0px; text-align: center; }
	.header_menu a { white-space: pre; padding: 0px 15px; display: block; text-align: left; }
	.header_menu ul li.menu_top { display: inline-block; position: relative; }
	.menu_sub { min-width: 100%; position: absolute; display: none; margin: 0px; padding: 0px; top: 100%; left: 0px; z-index: 5; font-size: 12px; line-height: 45px; }
	.header_menu ul li.menu_top:focus .menu_sub, .header_menu ul li.menu_top:hover .menu_sub { display: block; }
	.header_menu_telefon_dod { display: none; }
	.hmtd_zamknij { position: fixed; right: 0px; top: 0px; z-index: 10; }
	.hmtd_kontakt { text-align: center; padding: 10px 0; margin: 10px 0; border-top: 1px solid #efefef; border-bottom: 1px solid #efefef; line-height: 150%; }
	.hmtd_flagi { text-align: center; line-height: 150%; }
	.hmtd_flagi a { display: inline-block; }
	.hmtd_flagi img { vertical-align: middle; margin-left: 4px; }
	
	
/* SLIDER */
	.header_slider_kontener { width: 100%; float: left; position: relative; }
	.header_slider_tresc { width: 100%; position: absolute; z-index: 2; bottom: 50px; left: 0px; }
	.header_slider { width: 100%; }
	.header_slider .item { width: 100%; height: 550px; display: block; }
	.header_slider .hs_rodzaj img { width: 100%; object-fit: cover; }
	.header_slider .hs_tekst { width: 100%; height: inherit; float: left; background-position: center; background-size: cover; background-repeat: no-repeat; color: #fff; text-shadow: 1px 1px 1px rgba(0,0,0,0.6); }
	.header_slider .hs_tekst h2 { margin: 0 0 30px 0; line-height: 120%; }
	.header_slider .hs_tekst .hst_blok { width: min(800px, calc(100% - 40px)); padding: 20px; background: rgba(0,0,0,0.5); float: left; }
	.header_slider .hs_tekst .hst_blok_ikony { width: 100%; float: left; display: flex; justify-content: space-around; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 25px; margin-top: 15px; font-size: 13px; line-height: 16px; }
	.header_slider .hs_tekst .hst_blok_ikony div { white-space: nowrap; padding-right: 40px; }
	.header_slider .hs_tekst .hst_blok_ikony img { float: left; width: auto!important; height: 50px; margin-right: 10px; position: relative; top: -10px; }
	.header_slider .hs_tekst .hst_blok_ikony .odi_wartosc { font-size: 16px; font-weight: 700; }
	.header_slider .hs_tekst .hst_blok_ikony .odi_ikona { font-size: 28px; display: inline-block; margin: 2px 10px 2px 0; float: left; }

/* LINKI */
	a { color: #4d4d4d; text-decoration: none; }
	a:hover { color: #000; text-decoration: none; }

	.wersja_demo { width: 100%; float: left; display: block; padding: 30px 0; margin-top: 40px; background: var(--main-color2); color: #fff; text-align: center; font-weight: 300; transition-duration: 0.5s; }
	.wersja_demo:hover { background: var(--main-color2hover); color: #fff; }
	
	.czytajwiecej { display: inline-block; padding: 15px 20px; margin: 5px 15px; background: var(--main-color2); color: #fff; text-align: center; font-weight: 700; transition-duration: 0.5s; }
	.czytajwiecej:hover { background: var(--main-color2hover); color: #fff; }

@media screen and (max-width: 479px)
	{
	
	/* HEADER */
		.header_logo img { margin: 0px; }
		.header_tlo { padding-top: 100px; }
		.ht_blok { width: calc(100% - 64px); }
		
	
	/* SLIDER */
		.header_slider .hs_tekst .hst_blok_ikony { flex-direction: row!important; flex-wrap: wrap; }
		.header_slider .hs_tekst .hst_blok_ikony div { width: 100%; margin-top: 10px; }
	
	}

@media screen and (max-width: 1279px)
	{
	
	/* HEADER */
		header { background: var(--main-color3); }
		.header_logo { width: calc(100% - 100px); border: none; }
	
	/* MENU GŁÓWNE */
		.header_menu { position: fixed; width: calc(100% - 40px); top: 0px; bottom: 0px; left: 0px; right: 0px; padding: 0 20px 20px 20px; background: var(--main-color3); z-index: 150; display: none; overflow-y: scroll; -webkit-overflow-scrolling: touch; margin: 0px; }
		.header_menu ul li.menu_top { display: block; }
		.menu_sub { width: 100%; position: static; display: block; text-indent: 10px; font-size: 12px; background: none; border-left: 1px solid #efefef; }
		.header_menu_telefon_dod { display: block; }
	
	}

@media screen and (max-width: 767px)
	{
	
	/* HEADER */
		header { line-height: 45px; }
		.header_logo img { max-height: 25px; }
	
		.hmtd_flagi .header_spolecznosciowe { width: 100%; display: block; border-bottom: 1px solid #efefef; margin-bottom: 10px; padding-bottom: 10px; }
	
	}

@media screen and (min-width: 768px) and (max-width: 1279px)
	{
	
	/* HEADER */
		.hmtd_flagi .header_spolecznosciowe { margin-right: 30px; }
	
	}

@media screen and (min-width: 1280px)
	{
	
	/* MENU GŁÓWNE */
		.header_kontakt2 { display: none!important; }
		.hmtd_zamknij { display: none!important; }
		.header_menu { display: block!important; }
		.header_menu .menu_top a { background: none; }
		.header_menu .menu_top:hover a { background: var(--main-color2); color: #fff; }
		.menu_sub { background: var(--main-color2); min-width: 100%; position: absolute; display: none; margin: 0px; padding: 0px; top: 100%; left: 0px; z-index: 5; }
		.menu_sub a:hover { background: var(--main-color2hover)!important; }
	
	}


@media screen and (min-width: 480px) and (max-width: 1279px)
	{
		.header_tlo { padding-top: 150px; }
		.ht_blok { width: calc(100%/2 - 64px); }
	}