@-ms-viewport {
	width: device-width;
}

html,
body {
	padding: 0px;
}

body {
	background-color: black;
	overflow: scroll;
	font-family: Roboto;
	font-weight: 300;
	font-size: 25px;
	color: white;
}

.icon {
	font-size: 0.6em;
	text-align: center;
	border-radius: 15%;
	float: left;
	padding: 1em;
	margin: 1em;
	color: #fff;
}

.icon-active {
	background-color: #ffbb00;
	color: #000;
}

.slider {
	color: #fff;
	margin-top: 5px;
	display: block;
	text-transform: uppercase;
	cursor: hand;
	border-radius: 10%;
	height: 1.8em;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently*/
                               
}

.title {
	display: block;
	font-size: 0.45em;
	text-transform: uppercase;
	text-align: left;
	margin-top: -6;
	color: rgb(255, 166, 0);
}


.sortinfo {
	margin-top: -4px;
	margin-left: 5px;
	font-size: 0.75em;
	color: #ddd;
}


.tab-slider--nav {
	width: 100%;
	float: left;
	margin-bottom: 1em;
	margin-top: 1em;
  }
  
  .tab-slider--tabs {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
	border-radius: 35px;
	overflow: hidden;
	background: rgb(34, 34, 34);
	height: 1.6em;
	-webkit-user-select: none;
	   -moz-user-select: none;
		-ms-user-select: none;
			user-select: none;
  }
  .tab-slider--tabs:after {
	content: "";
	width: 50%;
	background: #ffbb00;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transition: all 250ms ease-in-out;
	border-radius: 35px;
  }
  .tab-slider--tabs.slide:after {
	left: 50%;
  }
  
  .tab-slider--trigger {
	font-size: 0.73em;
	line-height: 1;
	font-weight: bold;
	color: #7c7c7c;
	text-transform: uppercase;
	text-align: center;
	padding: 0.65em 0.75em;
	position: relative;
	z-index: 2;
	cursor: pointer;
	display: inline-block;
	transition: color 250ms ease-in-out;
	-webkit-user-select: none;
	   -moz-user-select: none;
		-ms-user-select: none;
			user-select: none;
  }
  .tab-slider--trigger.active {
	color: rgb(0, 0, 0);
  }
  
  .tab-slider--body {
	margin-top: 2em;
  }


.gps {
	float: right;
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 2.1em;
	float: right;
	margin-right: 50px;
	cursor: hand;
	width: 60px;
	text-align: center;

}
.gpsinfo {
	margin-top: 5px;
	font-size: 0.3em;
	display: block;
	text-align: center;
	width: 60px;
}

.gpsoff {
	color: #777;
}

.gpswait {
	color: rgb(122, 199, 223);
}

.gpson {
	color: rgb(255, 166, 0);
}

.version {
	padding-top: 1em;
	font-size: 0.55em;
	color: #666;
	clear: both;
}

.distance {
	margin-top: 6px;
	font-size: 0.65em;
	position: relative;
	float: right;
	color: rgb(255, 200, 97);
	border: 1px solid rgb(139, 139, 139);
	padding: 3 6 3 6;
	border-radius: 6px;
	background-color: #000;
	display: none;
}

.slidericon {
	font-size: 2em;
}

.sliderinfo {
	color: #aaa;
	font-size: 0.8em;
	display: block;
}


.slidericoninfo {
	color: #aaa;
	font-size: 1.5em;
	position: relative; 
	top: 5px; 
	margin-right: 5px;
	margin-top: 0px; 
	color: #fc0
}


.box {
	color: white;
	background-color: #333;
	border: 1px solid #556;
	border-radius: 10px;
	margin: 8px;
	padding: 12px;
	width: 410px;
	height: 180px;
	float: left;
	display: block;
	/*visibility: hidden;*/
}

.onDuty {
	border: 1px solid rgb(151, 151, 151);
	background-color: rgb(49, 36, 36);

}

.apteka {
	float: left;
	font-weight: 500;
	font-size: 1.2em;
	margin: 0 10 10 0;
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	height: 40px;
	width: 345px;
}

.duty {
	background-color: rgb(255, 123, 0);
	font-weight: 500;
	font-size: 0.5em;
	margin: -2 10 0 0;
	top: 6px;
	position: relative;
	padding: 4 8 4 8;
	border: 1px solid white;
	border-radius: 8px;
	float: right;
}

.header {
	font-size: 2em;
	font-weight: 300;
	float: left;
	margin-right: 40px;
	display: block;
	cursor: hand;
	text-align: left;
}

.timer {
	clear: both;
	color: #aaa;
	font-size: 0.75em;
	margin-top: 35px;
}

.infotop {
	margin: 5px;
	padding-top: 15px;
}

.dutyinfo {
	clear: both;
	font-size: 0.75em;
	top: 5px;
	font-weight: 300;
	color: rgb(255, 196, 0);
	text-align: center;
	position: relative;
	z-index: 0;
}

.open {
	color: #7F7;
}

.close {
	color: #F40;
}

.aptekatop {
	height: 40px;
	clear: both;
}

.clock {
	position: absolute;
	top: 0px;
	right: 100px;
	font-size: 2.7em;
	float: right;
	margin-right: 20px;
}

.tel {
	float: right;
	margin: 4 15 8 10;
	font-size: 0.9em;
	font-weight: 500;
}

.tel a:link,
.tel a:visited {
	color: white;
	text-decoration: none;
}

.otwarte {
	float: left;
	margin: 4 0 8 0;
	font-size: 0.9em;
}

.adres {
	clear: both;
	font-size: 0.8em;
	margin: 20 0 15 0;
}

.adres a:link,
.adres a:visited {
	color: white;
	text-decoration: none;
}

.content {
	clear: both;
	padding-top: 160px;
}

.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
}

.toptop {
	background-image: linear-gradient(0deg, rgba(0,0,0,0), rgba(0,0,0,.9) 10%);
	width: 100%;
	padding: 0px;
	padding-top: 15px;
	margin: 0px;
	height: 160px;
	z-index: 999;
}

.topmenu {
	top: 0px;
	font-size: 2.1em;
	font-weight: 800;
	float: left;
	margin-right: 20px;
	margin-left: 0px;
	display: block;
    color:rgb(255, 173, 41);
	cursor: hand;

}

.gmina {
	font-size: 0.8em;
	margin: 12px;
	padding: 12px;
	float: left;
	text-transform: uppercase;
	cursor: hand;
	border: 1px solid #999;
	border-radius: 15px;
	width: 9.5em;
}

.on {
	background-color: #339933;
}

.off {
	background-color: #333333;
}

.addtohomescreen {
	position: absolute;
	top: 180;
	width: 100%;
	height: 100%;
	text-align: left;
	display: none;
	background-color: rgba(230, 230, 230, .9);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	-ms-backdrop-filter: blur(5px);
	-moz-backdrop-filter: blur(5px);
	clear: both;
	color: #666;
	padding: 20px;
	z-index: 10;
}

.banner {
	position: absolute;
	top: 0;
	left: 0;
	width: 98%;
	height: 100%;
	text-align: left;
	display: none;
	background-color: black;
	color: #fff;
	padding: 20px;
	z-index: 999;
}

.menu {
	position: absolute;
	top: 70px;
	width: 12em;
	height: calc(100vh - 120px);
	overflow-y: auto;
	background-color: rgba(0, 0, 0, .8);
	display: none;
	padding: 1em;
	border-right: 1px solid #444;
	z-index: 0;
	font-size: 0.8em;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	-ms-backdrop-filter: blur(3px);
	-moz-backdrop-filter: blur(3px);
}

.thisapttime {
	font-size: 8em;
	font-weight: 400;
	text-align: center;
	color: white;
}

.thisapttime2 {
  font-size: 2em; 
  font-weight: 800; 
  text-align: center; 
  text-transform: uppercase; 
  color: white;
}

.thisaptinfo {
	font-size: 2em; 
	font-weight: 400; 
	text-align: center; 
	text-transform: none; 
	color: rgb(255, 174, 0);
}
  
.thisapttext {
  font-size: 6em; 
  font-weight: 900; 
  color: rgb(0, 92, 5); 
  text-align: center;
  margin-top: 30px;
}

.pk {
	color: rgb(255, 166, 0);
	font-weight: 900;
	font-size: 1em;
}


.sticky {
	position: fixed;
	top: 0;
  }
  



@media only screen and (orientation: landscape) {
	.box {
		width: 30%;
		height: 180px;
		padding: 10px;
		margin: 10px;
	}
	body {
		font-size: 25px;
	}
	.aptekatop {
		height: 40px;
	}
	.clock {
		font-size: 5em;
		margin-right: 50px;
	}
	.gmina {
		font-size: 0.8em;
	}
	.dutyinfo {
		font-size: 0.70em;
	}
	.thisapttime {
		font-size: 8em;
	}
}

@media only screen and (max-width: 1281px) {
	/* For mobile phones: */
	.box {
		width: 46%;
		height: 180px;
		padding: 10px;
		margin: 7px;
	}
	body {
		font-size: 25px;
	}
	.clock {
		font-size: 5em;
	}
	.gmina {
		font-size: 0.8em;
	}
	.dutyinfo {
		font-size: 0.75em;
	}
	.thisapttime {
		font-size: 7em;
	}

	.toptop {
		padding: 0px;
		margin: 0px;
		height: 160px;
		z-index: 999;
	}
	.content {
		padding-top: 170px;
	}
	.gps {
		right: 0px;
	}
}

@media only screen and (max-width: 993px) and (orientation: portrait) {
	/* For mobile phones: */
	.box {
		width: 92%;
		height: 300px;
		padding: 30px;
		margin: 10px;
	}
	body {
		font-size: 50px;
	}

	.toptop {
		padding: 0px;
		margin: 0px;
		height: 350px;
		z-index: 999;
	}

	.aptekatop {
		height: 50px;
	}
	.clock {
		font-size: 4em;
		top: 20px;
		margin-right: 0px;
		position: relative;
		display: none;
	}
	.gmina {
		font-size: 1.1em;
	}
	.dutyinfo {
		font-size: 0.8em;
	}
	.thisapttime {
		font-size: 5.5em;
	}
	.pk {
		font-size: 1em;
	}
	.slider {
		font-size: 1.0em;
		height: 1.5em;
		padding: 3px;
	}
	.slidericon {
		font-size: 1.6em;
	}
	.content {
		padding-top: 350px;
	}
	.menu {
		top: 94px;
		font-size: 0.9em;
	}
	.infotop {
		margin: 5px;
		padding-top: 35px;
	}
	.apteka {
		height: 70px;
		width: 760px;
		font-size: 1.1em;
	}
	.gps {
		top: 5px;
	}
	.gpsinfo {
	width: 100px;
	}
	.title {
		font-size: 0.4em;
	}
}




.blocker {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 1;
    padding: 20px;
    box-sizing: border-box;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.75);
    text-align: center;
}
.blocker:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}
.blocker.behind {
    background-color: transparent;
}
.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    max-width: 500px;
    box-sizing: border-box;
    width: 90%;
    background: #fff;
    padding: 15px 30px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    text-align: left;
	font-family: Roboto, Arial;
	font-size: 0,7em;
	color: #555;

}
.modal a.close-modal {
    position: absolute;
    top: -1.5px;
    right: -12.5px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==");
}
.modal-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 12px 16px;
    border-radius: 5px;
    background-color: #333;
    height: 20px;
}
.modal-spinner > div {
    border-radius: 100px;
    background-color: #fff;
    height: 20px;
    width: 2px;
    margin: 0 1px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}
.modal-spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}
.modal-spinner .rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}
.modal-spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}
@-webkit-keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.5);
    }
    20% {
        -webkit-transform: scaleY(1);
    }
}
@keyframes sk-stretchdelay {
    0%,
    40%,
    100% {
        transform: scaleY(0.5);
        -webkit-transform: scaleY(0.5);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}
