/*
 Theme Name:   Astra Child - Pobyt ve tmě
 Theme URI:    https://pobytvetme.com
 Description:  Child theme pro pobytvetme.com - veškeré vlastní CSS je zde,
               žádné úpravy nejsou přímo v rodičovské šabloně Astra.
 Author:       Tomáš Roud
 Template:     astra
 Version:      1.0.0
*/

/* ---------------------------------------------------------------------
   Přeneseno z Customizer "Additional CSS" (twentyseventeen) - post 595
   --------------------------------------------------------------------- */
@media screen and (min-width: 48em) {
	.wrap {
		max-width: 1200px;
		padding-left: 3em;
		padding-right: 3em;
	}

	.has-sidebar:not(.error404) #primary {
		width: 78%;
	}

	.has-sidebar #secondary {
		width: 20%;
	}
}

@media screen and (min-width: 30em) {
	.wrap {
		max-width: 1000px !important;
	}
}

.freeTerms {
	border-radius: 4px;
	background-color: #f5f4f0;
	border: 1px solid #ccc;
	margin-bottom: 12px;
	padding: 3px;
	line-height: 1.7em;
}

h1, h2, h3, h4, h5, h6 {
	padding: 1em 0 0;
}

/* ---------------------------------------------------------------------
   Přeneseno z pluginu Custom CSS & JS - snippet "nearTerms" (post 1595)
   --------------------------------------------------------------------- */
li.near {
	list-style-type: none;
	font-weight: bold;
	background-color: #ddd;
	border: 1px solid black;
	padding: 0.5em;
	margin: 0.5em 0 0.5em 0;
	border-radius: 0.5em;
	color: black;
}

li.near a, li.menuRezervaceBtn a, div.btnRezervaceMobil a {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font-size: 0.75rem;
	padding: .6em 2em .45em;
	border-radius: .5em;
	color: #fff !important;
	background-color: #da7c0c;
}

li.near a {
	font-size: 0.9rem;
}

li.near a:first-letter {
	text-transform: uppercase;
}

li.near a:hover, li.menuRezervaceBtn a:hover {
	background-color: #f09e3f;
}

.sub-menu li a {
	background: inherit;
	font-family: inherit;
	border: inherit;
	text-align: left;
}

.sub-menu li a:hover {
	background: inherit !important;
	color: inherit !important;
	border: inherit !important;
}

li.menuRezervaceBtn a {
	font-size: 16px;
	font-weight: bold;
	padding: 0 0.8em 0 0.8em;
	margin: 0.3em 0 0.3em 0;
}

ul.near {
	margin: 0;
}

/* ---------------------------------------------------------------------
   Přeneseno z Pods šablon "centraVypisHlavicka" (post 599) a
   "mistnostVypisHlavicka" (post 321) - dřív vložené jako <style> přímo
   v obsahu magic-tag šablony. Nyní vykresluje wp-pobyt-vytme-core plugin
   jako obyčejné HTML se třídami .centrumVypis / .mistnostVypis.
   --------------------------------------------------------------------- */
@media screen and (min-width: 30em) {
	.centrumVypis, .mistnostVypis { display: table; }
	.centrumVypis ul, .mistnostVypis ul { list-style-type: none; }
	.radek, .hlavicka { display: table-row; }
	.hlavicka div { display: table-header-group; background-color: #ddd; }
	.hlavicka div, .radek div { display: table-cell; padding: 3px 10px; border: 1px solid #999999; }
	.centrumVypis button, .mistnostVypis button { padding: 0.5em 1em; }
	.centrumVypis .column1, .centrumVypis .column2, .centrumVypis .column3,
	.mistnostVypis .column1, .mistnostVypis .column2, .mistnostVypis .column3 { font-size: 80%; }
	.centrumVypis li, .mistnostVypis li {
		background: url('/wp-content/themes/images/red-square-4x4.jpg') no-repeat left 9px;
		padding-left: 12px;
		display: block;
		margin-left: 0;
	}
	.centrumVypis .column3 .price, .mistnostVypis .column4 .price { font-weight: bold; font-size: 110%; display: block; }
	.centrumVypis .column3 .note { font-size: 80%; display: block; }
	.mistnostVypis .column4 .note { font-size: 60%; display: block; }
	.centrumVypis .column4 .add, .mistnostVypis .column4 .add { font-size: 70%; display: block; }
	.centrumVypis .nadpis, .mistnostVypis .nadpis { display: none; }
	.centrumVypis .image, .mistnostVypis .image {
		border-radius: 4px;
		box-shadow: 0 2px 1px 0 #ccc;
		background-color: #eee;
		border: 1px solid #ccc;
		margin: 0;
		padding: 8px 8px 4px 8px;
	}
}

@media screen and (max-width: 29.9em) {
	.centrumVypis ul, .mistnostVypis ul { list-style-type: none; }
	.hlavicka { display: none; }
	.centrumVypis .radek, .mistnostVypis .radek { border-bottom: 2px solid black; }
	.centrumVypis button, .mistnostVypis button { padding: 0.5em 1em; margin-bottom: 1em; }
	.centrumVypis li, .mistnostVypis li {
		background: url('/wp-content/themes/images/red-square-4x4.jpg') no-repeat left 9px;
		padding-left: 12px;
		display: block;
		margin-left: 0;
	}
	.centrumVypis .column3 .price, .mistnostVypis .column4 .price { font-weight: bold; font-size: 110%; display: block; }
	.centrumVypis .column3 .note { font-size: 80%; display: block; }
	.mistnostVypis .column4 .note { font-size: 60%; display: block; }
	.centrumVypis .column4 .add, .mistnostVypis .column4 .add { font-size: 70%; display: block; }
	.centrumVypis .nadpis, .mistnostVypis .nadpis { display: block; font-weight: bold; }
	.centrumVypis .image, .mistnostVypis .image {
		border-radius: 4px;
		box-shadow: 0 2px 1px 0 #ccc;
		background-color: #eee;
		border: 1px solid #ccc;
		margin: 0;
		padding: 8px 0 0 8px;
		max-width: 168px;
	}
}

#allmap { width: 100%; height: 600px; }
@media screen and (max-width: 29.9em) {
	#allmap { height: 250px; }
}

#map { width: 100%; height: 300px; }
