
	<style>

	h1.confirm-competence-title {
		text-transform: uppercase;
		font-weight: 500;
		font-size: 20px;
		padding: 15px;
		text-align: center;
		line-height: 100%
	}
	
	

	.confirm-competence {
		display: none;
		position: fixed;
		left: 0;
		right: 0;
		margin: 0 auto;
		top: 17%;
		text-align: justify;
		z-index: 99999;
		background: white;
		max-width: 500px;
		padding: 20px 0px;
		box-shadow: rgb(100, 100, 111) 0px 7px 29px 0px;
		border-radius: 3px;
	}

	.confirm-competence-text {
		display: none;
	}

	p.confirm-competence-text {
		padding: 0px 30px;
	}


p.confirm-competence-text.cct-m {
        word-spacing: -1px;
        font-size: 11px;
		line-height: 200%;
}

p.confirm-competence-text.cct-d {
        word-spacing: -1px;
        font-size: 11px;
		line-height: 200%;
}


	.competence-buttons {
		display: flex;
		justify-content: space-around;

	}
	.confirm-competence-button {
		display: inline-block;
		font-weight: bold;
		width: 260px;
		font-size: 16px;
		padding: 15px 10px;
		color: #fff;
		text-decoration: none;
		background: #f9a405;
		margin: 15px 30px 15px 30px;
		cursor: pointer;
		border: none;
	}

	.confirm-competence-button:hover {
		background-color: #999;
		color: #fff;
	}


	@media (max-width: 540px) {
		.confirm-competence {
			top: 20%;
		}
	}

	@media (max-width: 767px) {
		.confirm-competence-text.cct-d {
			display: none;
		}
		.confirm-competence-text.cct-m {
			display: block;
		}
	}

	@media (min-width: 768px) {
		.confirm-competence-text.cct-d {
			display: block;
		}
		.confirm-competence-text.cct-m {
			display: none;
		}
	}

	</style>
	<div class='confirm-competence'>
		<h1 class='confirm-competence-title'>Jste odborný pracovník ve zdravotnictví?</h1>
		<p class='confirm-competence-text cct-m' onclick='toggleLongtext()'>
			Jsem odborníkem ve smyslu zákona č. 40/1995 Sb., o regulaci reklamy v platném znění,
			tedy jsem osobou oprávněnou předepisovat nebo osobou oprávněnou vydávat humánní léčivé
			přípravky, zdravotnické prostředky nebo diagnostické zdravotnické prostředky in vitro.
			Potvrzuji, že jsem se seznámil/a s definicí odborník dle zákona č. 40/1995 Sb.
			Potvrzuji, že jsem se seznámil/a s riziky, jimž se jako jiná osoba než odborník vystavuji,
			vstoupím-li na stránky určené pro odborníky.		</p>
		<p class='confirm-competence-text cct-d' onclick='toggleLongtext()'>
			Jsem odborníkem ve smyslu zákona č. 40/1995 Sb., o regulaci reklamy v platném znění,
			tedy jsem osobou oprávněnou předepisovat nebo osobou oprávněnou vydávat humánní léčivé
			přípravky, zdravotnické prostředky nebo diagnostické zdravotnické prostředky in vitro.
			Potvrzuji, že jsem se seznámil/a s definicí odborník dle zákona č. 40/1995 Sb.
			Potvrzuji, že jsem se seznámil/a s riziky, jimž se jako jiná osoba než odborník vystavuji,
			vstoupím-li na stránky určené pro odborníky.
		</p>
		<div class='competence-buttons'>
			<button class='confirm-competence-button' onclick='confirmCompetencePopup();'>Ano, vstoupit</button>
			<button class='confirm-competence-button' onclick='window.location.href = "https://google.com/";'>Ne, odejít</button>
		</div>
	</div>
	<script>
	function toggleLongtext() {
		if (window.innerWidth < 767) {
			const short = document.getElementsByClassName('cct-m')[0];
			const long = document.getElementsByClassName('cct-d')[0];
			if (short.style.display == 'none') {
				short.style.display = 'block';
				long.style.display = 'none';
			} else {
				short.style.display = 'none';
				long.style.display = 'block';
			}
		}
	}

	document.addEventListener('DOMContentLoaded', function() {
		if (!document.cookie.includes('confirmed-competence') && (!!location.href.match('/produkty/chirurgie/') || !!location.href.match('/produkty/urologie/') || !!location.href.match('/produkty/pece-o-cevni-vstupy/'))) {
			document.getElementsByClassName('confirm-competence')[0].style.display = 'block';
			document.getElementsByTagName('body')[0].style.overflow = 'hidden';
			document.getElementsByTagName('body')[0].style.pointerEvents = 'none';
			document.getElementsByTagName('body')[0].style.opacity = '0.75';
			document.getElementsByClassName('confirm-competence')[0].style.pointerEvents = 'initial';
		}
	}, false);

	function confirmCompetencePopup() {
		document.getElementsByClassName('confirm-competence')[0].style.display = 'none';
		document.getElementsByTagName('body')[0].style.overflow = 'scroll';
		document.getElementsByTagName('body')[0].style.pointerEvents = 'initial';
		document.getElementsByTagName('body')[0].style.opacity = '1';
    	const d = new Date();
		d.setTime(d.getTime() + (30 * 24 * 60 * 60 * 1000));
		let expires = 'expires='+d.toUTCString();
  		document.cookie = 'confirmed-competence'+'=' + '1' + ';' + expires + ';path=/';
	}
	</script>
	<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/wp-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>/dslc_hf/footer/</loc><lastmod>2018-07-24T14:23:28+02:00</lastmod></url><url><loc>/dslc_hf/header-white-border/</loc><lastmod>2018-08-22T13:14:40+02:00</lastmod></url><url><loc>/dslc_hf/header-bloky-full/</loc><lastmod>2018-08-22T13:15:29+02:00</lastmod></url><url><loc>/dslc_hf/header-3/</loc><lastmod>2018-08-22T13:11:36+02:00</lastmod></url><url><loc>/dslc_hf/header-bloky-full-2/</loc><lastmod>2018-08-22T13:46:44+02:00</lastmod></url><url><loc>/dslc_hf/header-gray/</loc><lastmod>2018-11-07T17:19:02+01:00</lastmod></url><url><loc>/dslc_hf/header-color-border/</loc><lastmod>2018-08-22T14:50:44+02:00</lastmod></url><url><loc>/dslc_hf/header-gradient-border-mix/</loc><lastmod>2018-08-23T16:18:32+02:00</lastmod></url><url><loc>/dslc_hf/footer-2/</loc><lastmod>2018-09-05T15:45:31+02:00</lastmod></url><url><loc>/dslc_hf/footer-2-2/</loc><lastmod>2018-09-05T15:54:05+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-stomie-1d-vyrobky/</loc><lastmod>2018-09-21T11:09:13+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-stomie-1d-kategorie/</loc><lastmod>2018-09-21T12:47:11+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-stomie-2d-vyrobky/</loc><lastmod>2018-09-21T12:53:38+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-stomie-2d-kategorie/</loc><lastmod>2018-09-21T13:00:13+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-stomie-prislusenstvi-vyrobky/</loc><lastmod>2018-09-21T13:19:19+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-stomie-prislusenstvi-kategorie/</loc><lastmod>2018-09-21T13:24:07+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-hojeni-vyrobky/</loc><lastmod>2018-09-24T16:33:44+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-hojeni-vyrobky-2/</loc><lastmod>2018-09-24T20:20:52+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-chirurgie-vyrobky/</loc><lastmod>2018-09-24T20:36:21+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-chirurgie-kategorie/</loc><lastmod>2018-09-24T20:49:51+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-chirurgie-vyrobky-2/</loc><lastmod>2018-09-24T20:56:00+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-cevy-vyrobky/</loc><lastmod>2018-09-25T09:27:57+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-cevy-kategorie/</loc><lastmod>2018-09-25T09:48:31+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-ostatni-vyrobky/</loc><lastmod>2018-09-25T10:16:16+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-chirurgie-kategorie-2/</loc><lastmod>2018-10-05T10:11:42+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-ostatni-kategorie/</loc><lastmod>2018-10-05T12:51:02+02:00</lastmod></url><url><loc>/dslc_hf/header-gray-2/</loc><lastmod>2018-11-07T17:01:29+01:00</lastmod></url><url><loc>/dslc_hf/header-gray-hp/</loc><lastmod>2018-11-08T12:17:07+01:00</lastmod></url><url><loc>/dslc_hf/header-gray-partneri/</loc><lastmod>2018-11-08T13:14:16+01:00</lastmod></url><url><loc>/dslc_hf/header-gray-3/</loc><lastmod>2019-01-07T11:42:45+01:00</lastmod></url><url><loc>/dslc_hf/footer-stomie/</loc><lastmod>2020-03-13T13:25:52+01:00</lastmod></url><url><loc>/dslc_hf/footer-hlavni-strana/</loc><lastmod>2020-03-16T10:21:13+01:00</lastmod></url></urlset>
