/*
Theme Name: BlankSlate
Theme URI: https://github.com/tidythemes/blankslate
Author: TidyThemes
Author URI: https://github.com/tidythemes
Description: Donations: https://calmestghost.com/donate. BlankSlate is the definitive WordPress boilerplate starter theme. We've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability and no intrusive visual CSS styles have been added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/tidythemes/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2023 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

/* Reset CSS */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline
}
html {
  scroll-behavior:smooth
}
body {
  line-height:1
}
a {
  text-decoration-skip-ink:auto
}
a[href^="tel"] {
  color:inherit;
  text-decoration:none
}
button {
  outline:0
}
ol,ul {
  list-style:none
}
blockquote,q {
  quotes:none
}
blockquote:before,blockquote:after,q:before,q:after {
  content:'';
  content:none
}
q {
  display:inline;
  font-style:italic
}
q:before {
  content:'"';
  font-style:normal
}
q:after {
  content:'"';
  font-style:normal
}
input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"] {
  -webkit-appearance:none;
  appearance:none;
  border-radius:0
}
input[type="search"] {
  -webkit-appearance:textfield
}
table {
  border-collapse:collapse;
  border-spacing:0
}
th,td {
  padding:2px
}
big {
  font-size:120%
}
small,sup,sub {
  font-size:80%
}
sup {
  vertical-align:super
}
sub {
  vertical-align:sub
}
dd {
  margin-left:20px
}
kbd,tt {
  font-family:courier;
  font-size:12px
}
ins {
  text-decoration:underline
}
del,strike,s {
  text-decoration:line-through
}
dt {
  font-weight:bold
}
address,cite,var {
  font-style:italic
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display:block
}
* {
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent
}
.sticky {}
.bypostauthor {}
.wp-caption {}
.wp-caption-text {}
.gallery-caption {}
.alignright {}
.alignleft {}
.aligncenter {}
.screen-reader-text {
  border:0;
  clip:rect(1px,1px,1px,1px);
  -webkit-clip-path:inset(50%);
  clip-path:inset(50%);
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute!important;
  width:1px;
  word-wrap:normal!important;
  word-break:normal
}
.screen-reader-text:focus {
  background-color:#f7f7f7;
  border-radius:3px;
  box-shadow:0 0 2px 2px rgba(0,0,0,.6);
  clip:auto!important;
  -webkit-clip-path:none;
  clip-path:none;
  color:#007acc;
  display:block;
  font-size:14px;
  font-size:.875rem;
  font-weight:700;
  height:auto;
  right:5px;
  line-height:normal;
  padding:15px 23px 14px;
  text-decoration:none;
  top:5px;
  width:auto;
  z-index:100000
}
.skip-link {
  left:-9999rem;
  top:2.5rem;
  z-index:999999999;
  text-decoration:underline
}
.skip-link:focus {
  display:block;
  left:6px;
  top:7px;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  line-height:normal;
  padding:15px 23px 14px;
  z-index:100000;
  right:auto
}
.visually-hidden:not(:focus):not(:active),
.form-allowed-tags:not(:focus):not(:active) {
  position:absolute !important;
  height:1px;
  width:1px;
  overflow:hidden;
  clip:rect(1px 1px 1px 1px);
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap
}

@font-face {
  font-family:montserrat;
  src:url("mont.ttf");
}

/* Ogólne style formularzy */
.formularz input {
  width: 100% !important;
}

.formularz .ramkaform {
  border: 1px solid gray;
}

.formularz .wyslij {
  border: none !important;
  color: white !important;
  background: black !important;
  height: 25px !important;
}

/* Globalne ustawienia */
body {
  font-family: 'Montserrat', sans-serif !important;
  line-height: 1.8;
  font-size: 18px !important;
}

/* Style dla etykiet i pól formularza (wppb) */
.wppb-form-field label,
#wppb-login-wrap .login-username label,
#wppb-login-wrap .login-password label,
#wppb-login-wrap .login-auth label {
  width: 100% !important;
  text-align: center !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
}

.wppb-form-field input[type="text"],
.wppb-form-field input[type="number"],
.wppb-form-field input[type="email"],
.wppb-form-field input[type="url"],
.wppb-form-field input[type="password"],
.wppb-form-field input[type="search"],
.wppb-form-field select,
.wppb-form-field textarea,
.wppb-checkboxes,
.wppb-radios,
#wppb-login-wrap .login-username input,
#wppb-login-wrap .login-password input,
#wppb-login-wrap .login-auth input {
  width: 100% !important;
  text-align: center !important;
}

.login-remember {
  display: none !important;
}

/* Style dla ACF fields */
.acf-fields > .acf-field {
  padding: 10px 0 !important;
}

.acfe-form {
  text-align: left !important;
  font-weight: normal !important;
}

#pass-strength-result {
  width: 100% !important;
  display: block !important;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Ukrywanie niepotrzebnych elementów */
.page-template-page-rejestracja #wppb-login-wrap,
.wppb-send-credentials-checkbox,
.wppb-error a {
  display: none !important;
}

#register {
  margin-top: 20px !important;
}

/* Przyciski ogólne */
.button {
  width: 100% !important;
  background: #5bc0de !important; /* łagodniejszy odcień niebieskiego */
  color: white !important;
  border: 0 !important;
  padding: 10px !important;
}

.wppb-form-field {
  margin-top: 10px !important;
}

#wppb-submit {
  margin-top: 20px !important;
}

.updated {
  display: block !important;
  text-align: center !important;
  margin-bottom: 10px !important;
}

/* Style specyficzne dla strony głównej */
.page-template-page-glowna .acf-label {
  display: none !important;
}

.page-template-page-glowna .acf-input ul {
  width: 100% !important;
  padding: 0 !important;
}

.page-template-page-glowna .acf-input ul li {
  list-style-type: none !important;
  display: inline !important;
  margin-right: 10px;
}

.page-template-page-glowna .acf-input {
  width: 100% !important;
}

.page-template-page-glowna #message {
  display: none !important;
}

/* Style etykiet ACF */
.acf-label label {
  padding-right: 10px !important;
}

/* Ukrywanie specyficznych pól */
.single .acf-field-67bca011661fa {
  display: none !important;
}

/* Reset stylów dla tabel w .zgody */
.zgody table .acf-field,
.formularzx .acf-field {
  all: revert !important;
}

/* Specyficzne pola ACF – pełna szerokość */
.acf-field-67791ff550b80 .acf-label,
.acf-field-67791ff550b80 .acf-input,
.acf-field-6779614cc306b .acf-label,
.acf-field-6779614cc306b .acf-input {
  width: 100% !important;
}

/* Margines dla przycisku wysyłania formularza */
.formularzx .acf-form-submit {
  margin-top: 30px !important;
}

/* Nowy układ pól ACF – etykieta nad polem */
.acf-field {
  display: block;
  margin-bottom: 15px;
}

.acf-label {
  display: block;
  width: 100%;
  font-weight: bold;
  margin-bottom: 5px;
}

.acf-input {
  display: block;
  width: 100%;
}

/* Styl przycisków w ACF Form Submit */
.acf-form .acf-form-submit input[type="submit"],
.acf-form .acf-form-submit button {
  font-size: 14px !important;
  padding: 8px 16px !important;
  background-color: #5bc0de !important; /* łagodniejszy odcień niebieskiego */
  border: none !important;
  border-radius: 4px !important;
  text-transform: none !important;
  font-weight:bold !important;
}

/* Nowa reguła dla przycisków w uploaderze ACF - bardziej szczegółowa */
.acf-file-uploader input[type="button"],
.acf-file-uploader input[type="submit"],
.acf-file-uploader button,
.acf-file-uploader .acf-button {
  width: 100% !important;
  font-size:14px !important;
}

.acf-file-uploader{
  margin-bottom:15px !important;
}

.wp-media-buttons{
  margin-bottom:15px !important;
}

.btn-custom {
  background-color: #5bc0de; /* łagodniejszy niebieski */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-custom:hover {
  background-color: #4aa8c9;
}

