/*
Theme Name: Kongres SITG 2025
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Description: Kongres SITG 2025
Author: Krzysztof Palikowski
Author URI: https://palikowski.eu/
Template: twentytwentyfive
Version: 1.0
Requires at least: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
*/


.okongresie-table tr td {padding:5px !important; margin:0px !important;}
.okongresie-table tr td p {padding:5px !important; margin:0px !important;}

.editor-styles-wrapper, body.mce-content-body, .wp-block {
background-color: #fff;
color: #000;
}


/* https://www.youtube.com/watch?v=FFhAWvmdEzs */

#site-header {
    position: fixed;
    top: 0;
    width: 100%;
	color: fff !important;
/*    background-color: #aaa0;  */
    box-shadow: 0 -8px 27px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: top 1.2s ease, opacity 0.7s ease; /* Wolniejszy efekt ukrywania */
}

#site-header.hidden {
    top: -100px; /* Dostosuj wartość do wysokości Twojego nagłówka */
    opacity: 0; /* Dodaj przeźroczystość */
}

#site-header.show-on-scroll-up {
/*    background-color: rgba(255, 255, 255, 0.8); /* Przeźroczyste tło */
/*    color: #333; /* Kolor tekstu */
}


/* Tutaj możesz dodać własne style CSS */
.wpcf7 form.invalid .wpcf7-response-output , .wpcf7-not-valid , .invalid-style {
background:#111 !important;
color:#fff !important;
border:1px solid red !important;
}



/* #wpcf7-f331-p334-o1 > form > p:nth-child(6) > label > span > span > span > label > input[type=checkbox]

*/

.wpcf7-acceptance .wpcf7-list-item , .wpcf7-acceptance .wpcf7-list-item input {
    	padding-left: 0px;
    	margin-left: 0px;

}

.wpcf7-acceptance .wpcf7-list-item {
	margin:5px 0 5px 0 !important;
}


.wpcf7-acceptance .wpcf7-list-item input {
    background-color: #fff;
    height: 24px;
    transition: border-color 0.2s;
    width: 24px;
}
.wpcf7-checkbox , .wpcf7-radio {
	margin-bottom:1em;
}

.wpcf7-radio .wpcf7-list-item , .wpcf7-checkbox .wpcf7-list-item {
	margin:0px;

}


.adnotacja {
	margin:5px 0 20px 0 !important;
	font-size:0.9em;
	display:block;

}

.justify {
	text-align:justify;
}

.polylang_langswitcher {
    text-decoration: upperscore !important;
    font-size:18px !important;
    list-style-type: none;
    margin-block-start: 1em;
    margin-block-end: 0em;
    margin-left:1.6em !important;
    padding-inline-start: 0px;
    /* text-transform: uppercase; */
    color: inherit;

}

body > div.wp-site-blocks > header > div > div > div > ul > li > a { 
	text-decoration: none !important;
	font-size:1em !important;
	font-size: 18px !important;
	font-style: normal !important;
	font-weight: 300 !important;

}
body > div.wp-site-blocks > header > div > div > div > ul > li > a:hover { 
	text-decoration: underline !important;
}



.entry-content {
	margin-block-start:0px !important;
}
.wpcf7-field-groups {
	counter-reset: repeatable-fields-counter;
}
.wpcf7-field-group {
	counter-increment: repeatable-fields-counter;
}
.group-index:after {
	content: counter(repeatable-fields-counter);
}

/* Dodaj do motywu (Appearance → Customize → Additional CSS) */
.wpcf7-form .form-row label {
    font-size: 1em !important;
    width: 100%;
}
.wpcf7-form .form-row p {
margin:2px;
}


/* Kontener dla całego formularza */
#authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Stylowanie poszczególnych pól */
.wpcf7-form label {
    display: block;
    margin: 0;
    width: 100%;
}

/* Poprawka dla przecinka w calc */
.wpcf7-form label {
    flex: 1 1 calc(23% - 20px); /* Zamiana przecinka na kropkę */
}

/* Responsywność - układ kolumnowy na mobile */
@media (max-width: 768px) {
    #authors-grid {
        grid-template-columns: 1fr;
    }
    
    /* Poprawiona literówka w selektorze */
    .wpcf7-form label {
        flex: 0 0 100%;
    }
}

/* Dodatkowe style dla inputów */
.wpcf7 input[type="text"] {
    width: 100% !important;
    box-sizing: border-box;
    display: block;
}

/* Naprawa specyficzności selektorów */
#authors-grid .wpcf7-form label {
    font-size: 1em !important;
}

/* Reset marginesów */
.wpcf7-form p {
    margin: 0;
    padding: 0;
}

.consent-texts  {line-height:0.7em; font-size:0.9em !important;padding:0px;margin:3px !important;}

.zgoda-referat-utrwalanie {color:red !important;}


