/*
Theme Name: Carlo Lanza Store locator
Theme URI: https://wordpress.org/themes/carlo-lanza-store-locator/
Author: Your Name
Author URI: https://wordpress.org/
Description: Een uitgeklede versie van Twenty Twenty-One voor WPSL store locator shortcode.
Requires at least: 5.3
Tested up to: 6.4
Requires PHP: 5.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carlo-lanza-store-locator
Tags: minimal, store-locator, wpsl

Carlo Lanza Store locator WordPress Theme, (C) 2024 WordPress.org
Carlo Lanza Store locator is distributed under the terms of the GNU GPL.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/* Reset en basis stijlen */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
    background-color: #fff !important;
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    font-size: 0.9rem !important
    font-weight: 400;
    line-height: 1.5;
}
body {
    margin-top: 0 !important;
}
body {
    font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
    background-color: #fcfcfc;
    background-repeat: no-repeat scroll;
    background-position: center center;
    background-size: auto;
}
body {
    font-family: "Poppins", sans-serif;
}
html, body, div, header, nav, article, figure, hr, main, section, footer {
    max-width: none;
}
body {
    font-size: var(--global--font-size-base);
    font-weight: normal;
    color: var(--global--color-primary);
    text-align: left;
    background-color: var(--global--color-background);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-weight: 600;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin: 0 0 1.5rem;
}

a {
	color: #28303d;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.1em;
	transition: color 0.2s ease;
}
#wpsl-search-wrap div label {
    font-size: 15px;
    margin-top: 8px;
}
a:hover,
a:focus {
	color: #0073aa;
	text-decoration-thickness: 2px;
}

a:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

img {
	height: auto;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

button {
	cursor: pointer;
}

button:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Skip link voor toegankelijkheid */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
}

.skip-link:focus {
	left: 6px;
	top: 7px;
	display: block;
	padding: 15px 23px 14px;
	background: #f1f1f1;
	color: #21759b;
	text-decoration: none;
}

/* Site structuur */
.site {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header {
	padding: 1.5rem 0;
	background-color: #fff;
	border-bottom: 1px solid #e5e5e5;
}

.site-logo {
	text-align: center;
	padding: 0 1rem;
}

.site-logo img {
	max-height: 60px;
	width: auto;
	display: inline-block;
}

.site-main {
	padding: 0;
	flex: 1;
}

/* Container en layout */
.container,
.container-fluid {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 1rem;
	padding-left: 1rem;
}

@media (min-width: 576px) {
	.container {
		max-width: 540px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 720px;
	}
}

@media (min-width: 992px) {
	.container {
		max-width: 960px;
	}
}

@media (min-width: 1200px) {
	.container {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	.container {
		max-width: 1320px;
	}
}


/* Responsive layout voor store locator */
@media (min-width: 992px) {
	.wpsl-layout {
		display: flex;
		gap: 2rem;
	}

	.wpsl-store-list-container {
		flex: 0 0 400px;
	}

	.wpsl-map-container {
		flex: 1;
	}
}

/* Screen reader only text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.wpsl-search{
  margin-bottom: 0 !important;
}

.wpsl-dropdown {
    width: 110px;
}
.wpsl-dropdown {
    position: relative;
    width: 90px;
    border: 1px solid #ccc;
    cursor: pointer;
    background: #fff;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    margin-right: 0 !important;
    z-index: 2;
}
 body {
                background-color: #fff !important;
                font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
                font-size: 0.9rem;
                font-weight: 400;
                line-height: 1.5;
            }

            #wpsl-search-wrap div label {
                font-size: 15px;
                margin-top: 8px;
            }

            .wpsl-dropdown {
                width: 110px;
            }

            #wpsl-wrap #wpsl-result-list li {
                font-size: 15px;
            }

 #wpsl-stores .wpsl-store-thumb {
                        height: 45px !important;
                        width: 45px !important;
                    }

                    #wpsl-stores, #wpsl-direction-details, #wpsl-gmap {
                        height: 750px !important;
                    }

                    #wpsl-gmap .wpsl-info-window {
                        max-width: 225px !important;
                    }

                    .wpsl-input label, #wpsl-radius label, #wpsl-category label {
                        width: 95px;
                    }

                    #wpsl-search-input {
                        width: 179px;
                    }

#wpsl-search-wrap div label {
    font-size: 15px !important;
    margin-top: 8px !important;
}

#wpsl-wrap #wpsl-result-list li {
    font-size: 15px;
}
#wpsl-wrap #wpsl-result-list li {
    padding: 10px !important;
    border-bottom: 1px dotted #ccc !important;
    margin-left: 0 !important;
    overflow: hidden !important;
    list-style: none outside none !important;
    text-indent: 0 !important;
}