/*
Theme Name: Sportvní hala Plzeň
Author: Tomas Hrbek
Author URI: https://hrbekt.com/
Description: Wordpress theme for Sport hall.
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 5.6
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sportovnihalaplzen.cz
*/

* {
	box-sizing: border-box;
}

html {
  font-family: "Outfit", sans-serif;
}

body {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
		font-family: "Poppins", sans-serif;
}

h1 {
		text-transform: uppercase;
    font-size: 2.5em;
    margin: 1rem 0;
		color: #7b9eb6;
}

h2 {
		text-transform: uppercase;
    font-size: 1.75em;
    margin: 1.2rem 0;
}

h3 {
    font-size: 1.25em;
    margin: 1.1rem 0;
}
h4 {
    font-size: 1.1em;
}
p {
    line-height: 1.5;
    text-align: left;
    margin: 0 0 0.5em;
}

a {
	color: #000;
}

a:hover {
	text-decoration: none;
}

.action-button {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	padding: 0.65em 2em;
	color: #000000;
	font-weight: 700;
	background: transparent;
	border: 2px solid #000;
	border-radius: 35px;
	margin: 0.5em 0;
	transition: all 0.25s linear 0s;
}

.action-button:hover {
	color: #fff;
	background: #000;
}

.layout-container {
	max-width: 1260px;
	margin-inline: auto;
}

.header-container {
	padding-block: 2em;
}

.header-container-hp {
	position: relative;
	min-height: 52em;
}

.header-container-hp  .header-inner {
	padding: 2em 0 0;
}

.header-title {
	padding-bottom: 7em;
	margin-bottom: 10em;
}

.header-title h1{
	color: #fff;
	text-transform: none;
}

.header-title h2{
	color: #fff;
	font-size: 25px;
}

.header-container-hp::before {
	content: " ";
	position: absolute;
	inset: 0;
    top: 9.5em;
    z-index: -5;
    width: 100%;
    height: 38em;
	/*background-image: url(/wp-content/themes/sportovni-hala-plzen/assets/min-hero.jpeg);*/
	background-image: url(/wp-content/uploads/2024/11/min-viz3.jpg);
	background-position:  center;
    background-size: 1600px;
	background-repeat: no-repeat;
}


.breadcrumb {
		padding-block: 1em;
		display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1em;
		font-weight: 700;
		margin-bottom: 1em;
}

.breadcrumb a{
	color: #e5bcab;
}
.breadcrumb a:hover{
	color: #e5bcab;
	text-decoration: none;
}

.separator {
	font-size: 15px;
	font-weight: 700;
	color: #e5bcab;
}

.current {
	color: #e5bcab;
}

.footer-inner {
	margin-top: 2em;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-text {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.75em;
	padding: 3em 0;
	height: fit-content;
}

.footer-text::before {
	content: " ";
	position: absolute;
	inset: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
	width: 1104px;
	height: 100%;
	background: #F3F1F1;
}

.footer-text p{
	margin-bottom: 0;
}

.footer-logo {
	display: flex;
	width: fit-content;
	position: relative;
	text-decoration: none;
}

.footer-logo::before {
	content: " ";
	z-index: 1;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #00000070;
	opacity: 0;
	transition: 0.25s linear;
}

.footer-logo .action-button{
	position: absolute;
	z-index: 2;
	top: 50%;
	left: -6em;
	transform: translateY(-50%);
	margin: 0;
}

.footer-logo:hover::before {
	opacity: 1;
}

.footer-logo:hover .action-button{
	color: #fff;
	background: #000;
}

.icons 	a[href^="tel:"],
.icons a[href^="mailto:"]  {
	position: relative;
	padding-left: 2.5em;
}

.icons 	a[href^="tel:"]:before,
.icons a[href^="mailto:"]:before  {
	content: " ";
	position: absolute;
	display: block;
	width: 25px;
	height: 25px;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: auto;
}

.icons 	a[href^="tel:"]:before {
	background-image: url(/wp-content/themes/workona2.0/assets/min_phone.svg);
}
.icons a[href^="mailto:"]:before  {
	background-image: url(/wp-content/themes/workona2.0/assets/min_mail.svg);
}

.content {
	min-height: 15em;
	margin-bottom: 8em;
}

.content ul {
	list-style: none;
	padding-left: 0;
}

.content ul > li {
	position: relative;
	margin-bottom: 0.5em;
	font-size: 1em;
	padding-left: 1.5em;
}

.content ul > li::before {
	content: " ";
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    text-indent: 0;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(/wp-content/themes/sportovni-hala-plzen/assets/min-arrow.svg);
    background-size: 8px;
}

.copy {
	padding: 2em 0;
}

.footer-link {
	display: flex;
	width: fit-content;
}

.footer-link img{
	transition: all 0.25s linear 0s;
}

.footer-link:hover img {
	filter: grayscale(1);
}

.about-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
	margin-bottom: 2em;
}

.about-text	{
	grid-area: 1/1;
	width: 40%;
}

.about-img {
	position: relative;
	margin-left: auto;
	grid-area: 1/1;
	width: 43%;
	display: flex;
	height: fit-content;
}

.about-link {
    display: flex;
    position: relative;
    width: fit-content;
	height: fit-content;
}

.about-link::before {
	content: " ";
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.25s linear 0s;
}

.about-link:hover:before {
	opacity: 1;
}

.about-img::before {
	content: " ";
	position: absolute;
	left: -2em;
	bottom: -2em;
	z-index: -1;
	width: 124px;
	height: 124px;
	background-color: #e5bcab;
}

.about-text p {
	color: #262626;
	font-weight: 300;
}

p.about-text-title {
	font-size: 17px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 700;
	color: #e5bcab;
}

.about-text h1 {
	margin: 0 0 .5em;
	font-size: 30px;
}



.widget-container {
	margin-bottom: 8em;
}

.widget-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.5em;
	margin-bottom: 2em;
}

.widget-item {
	padding: 1.5em 1em;
	text-decoration: none;
	display: flex;
	gap: 0.5em;
	flex-direction: column;
	background: #fff;
	box-shadow: 0px 5px 25px 5px rgba(0, 0, 0, 0.16);
	transition: all 0.25s linear 0s;
}

.widget-item p{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 3;
	margin-bottom: 0;
}

.widget-title {
	text-decoration: underline;
	font-size: 1.5em;
	font-weight: 700;
}

.widget-item:hover {
	box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.16);
}

.widget-item:hover .widget-title {
	text-decoration: none;
}

.menu-toggler {
	display: none;
}

.menu-body {
	display: flex;
	align-items: center;
	gap: 2em;
}

.footer-map,
.about-text {
	position: relative;
}

footer {
	overflow-x: clip;
}


.footer-map::before {
	left: unset;
	right: -50%;
	height: 22em;
	transform: translate(10%, -50%);
}

.menu-toggler .bar {
  display: block;
  width: 25px; 
  height: 2px; 
  margin: 2px auto; 
  background-color: #2E526B;
}

.menu-toggler:hover {
	border: 2px solid #2E526B;
	background: #2E526B;
}

.menu-toggler:hover .bar {
	background-color: #fff;
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3em;
}

.contact-link {
	display: flex;
	width: fit-content;
	position: relative;
}

.contact-link::before {
	content: "Zobrazit na mapě";
	display: grid;
	place-content: center;
	font-size: 2.25em;
	color: #fff;
	font-weight: 700;
	z-index: 1;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #00000070;
	opacity: 0;
	transition: 0.25s linear;
}

.contact-link:hover::before {
	opacity: 1;
}

.contact-link:hover .action-button{
	color: #fff;
	background: #000;
}


.form-container {
	margin-top: 6em;
}

.form-container form{
	display: grid;
	gap: 1em;
	grid-template-columns: 1fr 1fr;
}

label {
	display: block;
	margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
	width: 100%;
	padding: 1em;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: all 0.25s linear 0s;
}

textarea {
	height: 150px;
	resize: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
	border: 1px solid #000;
}

.form-footer {
	margin-top: 20px;
}

.input-item .action-button {
	padding: 1em 3em;
	font-size: 1.15em;
	cursor: pointer;
}

.input-group-xl .input-item{
	display: flex;
	flex-direction: column;
	height: 100%;
}

.input-group-xl textarea {
	height: 100%;
}

/* Menu */


/* Header */
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-logo {
	display: flex;
	gap: 1em;
	align-items: center;
	width: fit-content;
	text-decoration: none;
	transition: all 0.25s linear 0s;
}

.header-logo-text {
	display: flex;
	flex-direction: column;
	font-size: 35px;
	text-transform: uppercase;
	color: #000000;
	font-weight: 900;
	transition: all 0.25s linear 0s;
}

.header-logo-text span:last-of-type {
	font-size: 20px;
}

.header-logo:hover .header-logo-text {
	color: #779db8;
}


.menu-body > ul {
	padding: 0;
	margin: 0;
	display: flex;
	gap: 2em;
	list-style: none;
}

.menu-body .menu li::marker{
	display: none;
}

.sub-menu {
	margin-top: 1.5em;
	width: 200px;
	padding: 0;
	position: absolute;
	left: 0;
	display: none;
	flex-direction: column;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
}

.menu > .menu-item {
	position: relative;
}

.menu > .menu-item > a {
	position: relative;
	padding: 0.5em 0 1.75em;	
	text-decoration: none;
	font-size: 17px;
	text-transform: uppercase;
	color: #000000;
	font-weight: 700;
	transition: all 0.25s linear 0s;
}

.menu > .menu-item > a[aria-current="page"],
.menu > .menu-item > a:hover {
	color: #779db8;
}

.menu > .menu-item:hover .sub-menu {
	display: block;
}

.sub-menu > .menu-item  {
	display: flex;
}

.sub-menu > .menu-item > a {
	padding: 0.5em 1em;
	width: 100%;
	text-decoration: none;
	color: #000000;
	font-weight: 700;
	transition: all 0.25s linear 0s;
}

.sub-menu > .menu-item > a[aria-current="page"],
.sub-menu > .menu-item > a:hover {
	color: #fff;
	background: #779db8;
}

.header-links {
	display: flex;
	align-items: center;
	gap: 0.5em;
	justify-content: flex-end;
}

.header-links a{
	display: flex;
}
.st0 {
	transition: all 0.25s linear 0s;
}

.header-links a:hover .st0{
	fill: #000;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 2em;
}

.gallery-grid > br{
	display: none;
}

.gallery-item {
	display: flex;
	min-height: 300px;
	justify-content: center;
	position: relative;
}

.photo-item {
	position: relative;
	display: flex;
	width: 100%;
}

.photo-item > img {
	display: block;
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.photo-item::before {
	content: " ";
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	transition: all 0.25s linear 0s;
}

.photo-item.photo-item-show::before {
    opacity: 0;
}

.photo-item.photo-item-show:hover::before {
    opacity: 1;
}

.gllr_detail_title {
	z-index: 2;
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	text-align: center;
	font-size: 1.5em;
	color: #fff;
	font-weight: 700;
	padding: 1em;
	transition: all 0.25s linear 0s;
	width: 100%;
	height: 100%;
}

.photo-item:hover:before {
	background: rgba(0, 0, 0, 0.8);
}

.home {
	overflow-x: clip;
}

html {
	overflow-x: clip;
}


@media only screen and (max-width: 1680px) {
    .header-container-hp::before {
        background-size: 1400px;
    }
}


@media only screen and (max-width: 1280px) {
    .header-container-hp {
        min-height: 48em;
    }
    .header-container-hp::before {
		background-size: 1280px;
        top: 8.5em;
        height: 34em;
    }
	.layout-container {
		max-width: 998px;
	}
	.footer-logo img {
		width: auto;
    height: 260px;
	}
	.contact-link img{
    width: 600px;
    height: auto;
    object-fit: cover;
	}
	.footer-map::before {
		transform: translate(32%, -50%);
	}
	.header-logo-text {
		font-size: 25px;
	}
	.menu-body > ul {
		gap: 1em;
	}
	.header-logo img {
		width: 80px;
    height: auto;
	}
	.gallery-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media only screen and (max-width: 1024px) {
	h1,
	h2 {
		text-transform: none;
	}
	h1 {
		margin: 1rem 0;
		font-size: 1.5em;
	}
	h2 {
		margin: 0.5rem 0;
		font-size: 1.25em;
	}
	.menu-body > ul {
    flex-direction: column;
    gap: 0;
		width: 100%;
	}
	.menu > .menu-item > a {
		padding: 0.7rem 0.5em;
    width: 100%;
    display: block;
		text-transform: none;
	}
	.menu > .menu-item {
		width: 100%;
	}
	.header-container-hp {
		min-height: 36.5rem;
	}
	.about-container,
	.contact-container {
		grid-template-columns: 100%;
		gap: 1em;
	}
	.header-logo {
		gap: 0.5em;
	}
	.header-logo img {
    width: 45px;
    height: auto;
	}
	.about-text {
		width: 100%;
		grid-area: 1;
	}
	.about-text h1 {
		font-size: 1.5em;
		margin: 0.5rem 0;
		letter-spacing: 0;
	}
	.about-img {
		width: 100%;
		margin: 0;
		position: relative;
		transform: none;
		grid-area: 2;
	}
	.widget-title {
		font-size: 1em;
	}
	.footer-map::before,
	.about-text::before,
	.about-text::before {
		display: none;
	}
	.icons a[href^="tel:"],
	.icons a[href^="mailto:"] {
		padding-left: 2em;
	}
	.content {
		padding: 0 1em;
	}
	.header-container {
		padding: 1em;
	}
	.header-logo-text {
		font-size: 1em;
		text-transform: none;
	}
	.span:last-of-type {
		font-size: 1em;
	}
	.breadcrumb {
		padding: 0.5em 1em;
		font-size: 0.9em;
		margin-bottom: 1em;
	}
	.separator {
    font-size: 12px;
	}
	.layout-container {
		max-width: 100%;
	}
	.footer-text {
		gap: 0.5em;
    padding: 0;
	}
	.footer-text::before {
		display: none;
	}
	.footer-inner {
		padding: 2em 1em;
		align-items: start;
		gap: 1em;
		flex-direction: column;
		background: #F3F1F1;
	}
	.copy {
		padding: 1em;
	}
	.footer-logo img {
		display: none;
		width: 0;
		height: 0;
	}
	.footer-logo .action-button {
		position: static;
		transform: none;
	}
	.footer-link img {
		width: auto;
		height: 25px;
	}
	.action-button {
		padding: 0.5em 1em;
	}
	.menu-toggler {
		position: relative;
		cursor: pointer;
    width: 45px;
    height: 40px;
		display: grid;
		place-content: center;
		margin: 0;
		padding: 0;
		background: transparent;
    border: 2px solid #2E526B;
	}
	.menu-container {
		display: none;
    flex-direction: column;
    height: fit-content;
    border-top: 3px solid #2E526B;
    border-bottom: 3px solid #2E526B;
    gap: 0;
    position: absolute;
		z-index: 101;
    width: 100%;
    inset: 0;
    top: 7em;
    background: #fff;
	}
	.menu > .menu-item:hover .sub-menu {
		display: none;
	}
	.menu > .menu-item > a[aria-current="page"], .menu > .menu-item > a:hover {
		color: #fff;
		background: #2E526B;
	}
	.menu-container a {
		padding: 0.5rem 0.7em;
    text-align: center;
		color: #000;
		width: 100%;
		transition: all 0.25s linear 0s;
	}
	.menu-container a::before {
		display: none;
	}
	.menu-body {
		gap: 0;
    flex-direction: column;
	}
	.menu-container a[aria-current="page"],
	.menu-container a:hover{
		background: #000;
		color: #fff;
	}
	.about-container {
    grid-template-columns: 100%;
    gap: 2em;
		margin-bottom: 2em;
	}
	.widget-container {
		margin-bottom: 0;
	}
	.header-container-hp .header-inner {
		padding: 1em;
	}
	.header-links {
		justify-content: start;
    padding: 0.75em 0 0;
	}
	.header-container-hp .header-inner {
		padding: 0;
	}
	.header-container-hp {
		padding: 1em;
	}
	.header-container-hp::before {
        background-size: cover;
        top: 7.25rem;
        width: calc(100vw - 2em);
        height: 28em;
        margin: 0 auto;
	}
	.header-title {
		padding: 2em 1em;
    margin-bottom: 1em;
	}
	.header-title h2 {
		font-size: 1em;
	}
	.about-img img{
		width: auto;
		height: 15em;
		object-fit: cover;
	}
	.widget-grid {
		grid-template-columns: 100%;
		gap: 1em;
		margin-bottom: 1em;
	}
	.widget-item {
    padding: 1em;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
	}
	.form-container {
		gap: 1em;
		margin: 2em 0 1em;
	}
	.contact-link:before {
		font-size: 1.5em;
	}
	.contact-link img {
    width: auto;
    height: 12em;
	}
	.form-container form {
		gap: 0;
		grid-template-columns: 100%;
	}
	.input-item .action-button {
		margin: 0;
		padding: 0.5em 1em;
	}
	.header-logo-text span:last-of-type {
		font-size: 0.9em;
	}
	.gallery-grid {
		grid-template-columns: 1fr 1fr;
	}
	.gallery-grid img {
		width: 100%;
    height: 15em;
    object-fit: cover;
	}
	.gallery-item {
		min-height: 250px;
	}
	.sub-menu {
        position: relative;
        width: 80%;
        margin: 1em auto;
	}
	.open-submenu {
      	 width: 30px;
        height: 30px;
        display: inline-block;
        position: absolute;
        top: 0.45em;
        right: 1em;
        background: #fff;
        transition: 0.25s linear;  
	}
	.open-submenu.active {
        transform: rotate(180deg); 
	}
    .open-submenu:before {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 6px 0;
        border-color: #000 transparent transparent;
        top: 11px;
    }
    .sub-menu > .menu-item > a[aria-current="page"], .sub-menu > .menu-item > a:hover {
        color: #fff;
        background: #2E526B;
    }
	.gllr_detail_title {
		font-size: 1.25em;
	}
}

.gllr_image_row p{
 display: none;   
}

.gllr_image_row {
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 2em;
}

#content .gallery.gllr_grid .gllr_image_block a, .gallery.gllr_grid .gllr_image_block a,
#content .gallery.gllr_grid .gllr_image_block a, .gallery.gllr_grid .gllr_image_block a {
    display: flex;
}
.gallery.gllr_grid .gllr_image_block {
    float: none;
}

.gllr-list.gllr-display-inline {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
}





@media only screen and (max-width: 768px) {
    .gllr_image_row {
        grid-template-columns: 100%;
        margin-bottom: 1em;
    }
	.header-container-hp {
		min-height: 31.5rem;
	}
	.header-container-hp::before {
		height: 23em;
	}
	.photo-item img {
		width: 100%;
	}
	.gallery.gllr_grid {
	    gap: 1em;
        grid-template-columns: 100%;
    }
    .gllr-list.gllr-display-inline {
    	gap: 1em;
        grid-template-columns: 1fr 1fr;    
    }
}

@media only screen and (max-width: 550px) {
    .photo-item img {
         max-height: 12em;
    }
    .gllr-list.gllr-display-inline,
	.gallery-grid {
		gap: 1em;
		grid-template-columns: 100%;
	}
	.header-container-hp {
		min-height: 25rem;
	}
	.about-link,
	.contact-link img {
		width: 100%;
	}
	.input-item .action-button,
	.footer-map,
	.footer-logo,
	.widget-container .action-button,
	.about-text .action-button,
	.footer-logo .action-button {
		width: 100%;
	}
	.about-img img{
		width: 100%;
		height: 15em;
	}
	#content .gallery .gllr_image_block a img, .gallery .gllr_image_block a img {
        width: calc(100vw - 2em);
        object-fit: cover;
        height: 200px;
    }
	.btns-flex {
		flex-direction: column;
	}
	.header-container-hp::before {
        height: 17em;
    }
}

div.read-more,
.breadcrumb {
	display: none;
}