﻿/* CSS Document */
@import url("reset.css");

@media screen {
	body, html {
		font-size: 12pt;
		font-family: "proxima-nova-condensed", sans-serif;
	}
	.top_image {
		background-image: url(/images/nova_perla_top.jpg);
		background-repeat: no-repeat;
		background-position: center top;
		background-size: cover;
		position: relative;
		z-index: -1;
		width: 100vw;
		max-width:100%;
		height: 50vw;
		/*-webkit-transition: all 1s ease-in-out;
		transition: all 1s ease-in-out;*/

	}
	.top_image_line {
		z-index: -1;
		width: 100vw;
		max-width:100%;
		height: 130px;
		border-bottom: 1px solid gray;
		/*-webkit-transition: all 1s ease-in-out;
		transition: all 1s ease-in-out;*/

	}

	form td {
		padding: 2px;
	}

	.logo img {
		width: auto;
		height: auto;
	}
	.navbar {
		position: absolute;
		min-height: 120px;
		margin-bottom: 20px;
		border: none;
		background-color: rgba(255,255,255,0.75);
		z-index: 1;
		width: 100vw;
		max-width:100%;
	}
	.navbar_top {
		background-color: rgba(255,255,255,0.75);
		min-height: 90px;
	}
	h2 {
		font-family: "proxima-nova", sans-serif;
		text-transform: uppercase;
		color: #000;
		font-size: 2rem;
		font-weight: 700;
	}
	h3 {
		font-family: "proxima-nova-condensed", sans-serif;
		text-transform: none;
		color: #A40002;
		font-size: 1.8rem;
		font-weight: 700;
	}
	p, .obsah li {
		font-size: 1.12rem;
		text-align: left;
		line-height: 1.3rem;
	}
	.container, .top_image_content {
		max-width: 1100px;
		margin: auto;
	}
	.float_left {
		float: left;
	}
	.float_right {
		float: right;
	}
	.qinfo {
		display: block;
		margin: 10px 30% 10px 0;
		color: gray;
		/*position: absolute;*/
		/*left: 20vw;*/
		line-height: 1.3rem;
	}
	.qinfo h2 {
		font-size: 1rem;
		font-weight: 700;
	}
	.q_adresa {
		text-align: right;
		padding-right: 10px;
		border-right: 1px gray solid;
		display: inline-block;
		color: inherit;
	}
	.q_adresa p, .q_hodiny p {
		text-align: inherit;
		font-size: 1rem;
	}
	.q_hodiny {
		text-align: left;
		padding-left: 10px;
		display: inline-block;
		color: inherit;
	}
	.nav_menu {
		text-align: center;
		clear: both;
	}
	.nav_menu ul {
	}
	.nav_menu li {
		display: inline-block;
		font-weight: 900;
		text-transform: uppercase;
		color: black;
		text-decoration: none;
		padding: 0.5rem 0.75rem 0.5rem 0.75rem;
		font-size: 1.2rem;
	}
		.nav_menu li:hover {
		background-color: black;
		color: white;
	}
	.nav_menu li:last-child {
		/*padding-right: 0;*/
	}
	.nav_menu li a {
		text-decoration: inherit;
		color: inherit;
		font-size: inherit;
	}
	.top_image_overlay_bottom {
		background-color: rgba(255,255,255,0.85);
		padding: 0.8rem;
		text-align: center;
		bottom: 8%;
		position: absolute;
		width: 100vw;
		max-width:100%;
		box-sizing: border-box;
	}
	.top_image_overlay_bottom h1 {
		font-family: "proxima-nova", sans-serif;
		text-transform: uppercase;
		color: #A40002;
		font-weight: 300;
		font-size: 1.8rem;
	}
	.top_image_overlay_bottom h2 {
		font-family: "proxima-nova-condensed", sans-serif;
		text-transform: none;
		color: #000;
		font-weight: 300;
		font-size: 1.1rem;
	}
	.top_image_overlay_top_left h2 {
		font-family: "proxima-nova-condensed", sans-serif;
		text-transform: normal;
		color: #000;
		font-weight: 300;
		font-size: 1.1rem;
		text-transform: uppercase;
	}
	.top_image_overlay_top_right {
		text-align: right;
		margin-top: 150px;
		margin-right: 50px;
	}
	.call {
		font-family: "proxima-nova-extra-condensed", sans-serif;
		font-weight: 700;
		font-size: 4.5rem;
		text-transform: uppercase;
	}
	.black {
		color: black;
	}
	.red {
		color: #A40002;
	}
	.top_image_overlay_top_left {
		width: 300px;
		background-color: white;
		height: auto;
		padding: 20px;
		margin: 20px 50px;
		margin-top: 150px;
	}
	.top_image_overlay_top_left img {
		width: 300px;
		height: auto;
		margin-bottom: 20px;
	}
	.obsah {
		max-width: 1600px;
		text-align: left;
		margin: 2rem auto 0 auto;
		clear: both;
		width: 100%;
		box-sizing: border-box;
		padding: 0 2rem;
	}
	.obsah p {
		color: black;
		text-align: justify;
		}
	.obsah h2 {
		margin-bottom: 1rem;
		position: relative;
		text-align: center;
	}
	.third_text {
		display: table-cell;
		position: relative;
		box-sizing: border-box;
		padding: 0 1rem 1rem 1rem;
		width: 30%;
	}
	.half_text {
		display: table-cell;
		position: relative;
		box-sizing: border-box;
		padding: 0 1rem 1rem 1rem;
		width: 50%;
	}
	.obsah li, .third_text li, .half_text li {
		margin-left: 10px;
    	line-height: 2;
	}
	.third_text img, .half_text img, div.textove_pole img {
		width: 100%;
		height: auto;
		margin: 0 0 1rem 0;
	}
	div.textove_pole {
		display: table-cell;
		position: relative;
		box-sizing: border-box;
		padding: 0 1rem 1rem 1rem;
	}
	/*div.textove_pole:first-child:nth-last-child(2),div.textove_pole:first-child:nth-last-child(2) ~ div.textove_pole {
  		width: 50%;
	}
	div.textove_pole:first-child:nth-last-child(3),div.textove_pole:first-child:nth-last-child(3) ~ div.textove_pole {
  		width: 30%;
	}*/
	.navbar-toggle {
		display: none;
	}
	.bottom_image {
		width: 100vw;
		max-width:100%;
		height:40vh;
		background-image: url(../images/perla_chodba.jpg);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		margin: 2rem 0;
		clear:both;
	}
	.bottom_line {
		width: 100vw;
		max-width:100%;
		height:1px;
		margin: 2rem 0;
		clear:both;
		border-bottom: solid 1px gray;
	}
	footer {
		max-width: 1000px;
		margin: 0 auto;
		text-align: center;
		
	}
	footer li, footer p {
		font-size: 1rem;
		color: gray;
		text-align: center;
		margin-bottom: 1rem;
	}
	footer li {
		display: inline-block;
		margin-right: 1rem;
	}
	footer li:last-child {
		margin-right:0;
	}
	.tight {
		max-width: 1000px;
		width: 100vw;
		padding: 1rem;
		margin: 0 auto;
	}
	hr {
		width:70%;
		border: none;
		border-bottom: #ddd solid 1px;
		margin: 2rem auto;
		clear:both;
	}
	.info {
		color: gray;
		padding-top: 20px;
	}
	.obchody_logo {
		width: 10rem;
		margin-right: 2rem;
		display: table-cell;
		margin-left: 5rem;
		margin-bottom: 1rem;
		clear:both;
	}
	.obchody_logo img {
		width: 100%;
	}
	.obsah .obchody_popis h3  {
		text-align: left;
	}
	.obsah .obchody_popis p  {
		color: black;
		margin-bottom: 0.5rem;
	}
	.obchody_popis {
		display: table-cell;
		width: 70%;
	}	
	.obchody {
		width: 80%;
		margin: 0 auto;
	}
	.obchody li img {
		display: table-cell;
		float: left;
		margin-right: 2rem;
		max-height: 6rem;
		max-width: 10rem;
		padding-top: 1rem;
	}

	.obchody li, .obchody li h3 {
		text-align: left;
	}
	.obchody p  {
		color: black;
		margin-bottom: 0.5rem;
	}
	.obchody h3, .obchody p {
		margin-left: 12rem;
	}
	.obchody li {
		border-bottom: #ddd solid 1px;
		padding-top: 2rem;
		clear:both;
		padding-bottom: 1rem;
	}
	.obchody li:first-child {
		/*border-top: none;*/
	}
	
	/* galerie, novinky */
.fotogal {
	margin: auto;
	text-align: center;
}
.galimg {
	/*border: 1px solid #CCCCCC;*/
	display: inline-block;
	overflow: hidden;
	width: 20vw;
	height: 20vw;
	margin-bottom: -5px;
}
.mainimg {
	/*border: 1px solid #CCCCCC; */
	overflow: hidden;
	width: 90px;
	height: 90px;
	float:left;
	margin-right: 10px;
}
h2.news, h2.news a {

	text-decoration:none;
	cursor:pointer;
	cursor:hand;
	margin-top: 0;
	font-family: "proxima-nova-condensed", Arial Narrow, sans-serif;
	text-transform:uppercase;
	font-size: 2rem;
    color: black;
}
.fullnews h2 {
	color: #A30002;
}
.smallnews p {
	font-family: "proxima-nova-condensed", Arial Narrow, sans-serif;
}
.newsdatum {
	font-size: 12px;
	color: #999;
	width: 80px;
	float:left;
	margin-right: 20px;
	border: solid 1px #ccc;
    padding: 5px 0;
    border-radius: 15px;
	margin-bottom: 30px;
}
.fullnews .newsdatum {
	float:right;
	border: solid 1px #555;
	background-color:rgba(255,255,255,0.54);
	margin-left: 20px;
}
.newsakce {
	font-size: 20px;
	color: #A4A200;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
}
.newsdiv {
	clear:both;
	border-bottom:#333 dotted 1px;
	height: 10px;
	margin: 0 0 20px 0;
}
.fullnews {
	display: none;
}
#novinky {
	display:table;
	margin:0;
	padding:0;
}
/* galerie, novinky */
	.plny {
		width:100vw;
		max-width:100%;
		left:0;
		position:absolute;
	}
	
} /* media screen obecne **************************************************************/

@media screen and (max-width:1200px) {
	.top_image_overlay_top_left {
		display: none;
	}

	.nav_menu {
		display: block;
	}
	.navbar-toggle {
		display: none;
	}
	.obchody_popis {
		display: table-cell;
		margin-right: 0;
		width: 70%;
	}	

} /* media screen 1200px **************************************************************/

@media screen and (max-width:1000px) {
	.top_image_overlay_top_right {
		display: none;
	}
		.top_image_overlay_bottom h1 {
		font-size: 1.6rem;
	}
	.top_image_overlay_bottom h2 {

		font-size: 0.97rem;
	}
	.top_image_line {
		height: 100px;

	}
	.third_text {
		margin: 0;
	}
		.third_text:last-child {
		margin: 0;
		width: 100%;
		padding: 0;
		display: block;
	}
	.qinfo {
		display: block;
		margin: 10px 20% 10px 0;
		color: gray;/*position: absolute;*//*left: 20vw;*/

	}
	.navbar {
		min-height: 90px;
		background-color: rgba(255,255,255,0);
	}
	.navbar_top {
		min-height: 90px;
	}
	div.nav_m {
		display:block;
	}
	.nav_menu {
		display: none;
		-webkit-filter: drop-shadow(5px 5px 5px gray);
		filter: drop-shadow(5px 5px 5px gray);
	   -moz-filter: drop-shadow(5px 5px 5px gray);
	   -o-filter: drop-shadow(5px 5px 5px gray);
	   -ms-filter: drop-shadow(5px 5px 5px gray);
	}
	.nav_menu li {
		display: block;
		font-weight: 900;
		text-transform: uppercase;
		color: black;
		text-decoration: none;
		padding: 0.8rem 0rem 0.8rem 0;
		font-size: 1.2rem;
		background-color: rgba(255,255,255,0.99);
		margin-bottom: 1px;
		
	}
	.nav_menu li a {
		background-color: inherit;

	}
	.navbar-toggle .icon-bar {
		background-color: #888;
	}
	.navbar-toggle {
		position: relative;
		float: right;
		padding: 9px 10px;
		margin-top: 12px;
		margin-right: 12px;
		margin-bottom: 8px;
		background-color: transparent;
		background-image: none;
		border: 1px solid #888;
		border-radius: 4px;
		cursor: pointer;
		cursor: hand;
		display: block;
	}
	.navbar-toggle:focus {
		outline: 0;
	}
	.navbar-toggle .icon-bar {
		display: block;
		width: 22px;
		height: 2px;
		border-radius: 1px;
	}
	.navbar-toggle .icon-bar + .icon-bar {
		margin-top: 4px;
	}
	.navbar-default .navbar-toggle {
		border-color: #ddd;
	}
	.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
		background-color: #ddd;
	}
	.navbar-default .navbar-toggle .icon-bar {
		background-color: #888;
	}
	.sr-only {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
	}
	.sr-only-focusable:active, .sr-only-focusable:focus {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
	}
	.obchody_logo {
		margin-left: 0;
	}
	.obchody_popis {
		margin-right: 0;
	}

} /* media screen 1000 **************************************************************/

@media screen and (max-width:700px) {
	body, html {
		font-size: 10pt;
	}
	.top_image_line {
		height: 60px;

	}
	.logo img {
		width: 100px;
		height: auto;
	}	
	.navbar {
		min-height: 60px;
		background-color: rgba(255,255,255,0);
	}
		.navbar_top {
		min-height: 60px;
	}
	.qinfo {
		display: none;
	}
	.top_image {
		width: 100vw;
		height: 40vh;
	}
	.third_text, .half_text {
		margin: 0;
		width: 100%;
		padding: 0 0 2rem 0;
		display: block;
	}
	.obchody h3, .obchody p {
		margin-left: 0;
		margin-right: 8rem;
		
	}
	.obchody {
		width: 100%;
	}
	.obchody li img {
		display: inline;
		float: right;
		margin-left: 2rem;
		margin-right:0;
		max-height: 4rem;
		max-width: 6rem;
		
	}
}

@media screen and (orientation:landscape) and (min-aspect-ratio:16/10){
	.top_image {
		width: 100vw;
		max-width:100%;
		height: 50vw;
	}
}
