/*
 Theme Name:   ZS Child
 Theme URI:    https://mikehomestudio.pl
 Description:  ZS Accessibility Child Theme
 Author:       MIKE HOME STUDIO Michał Okoń
 Author URI:   https://mikehomestudio.pl
 Template:     zs
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         accessibility
 Text Domain:  zschild
*/


.c-winner-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
    list-style-position: outside;
    text-align: center;
}

.c-winner-list__item {
    display: block;
    background-color: #01878a;
    color: #ffffff;
    padding: 0.5em 1em;
    border-radius: 5px;
}

.c-winner-list__link {
    color: #ffffff;
    text-decoration: none;
}

.c-winner-list__link:hover {
    color: #ffffff;
}


/**
 * Archiwum laureaci
 * laureaci-konkursow-kuratoryjnych/
 */
.c-laureate-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1em;
}

.c-laureate {
    display: grid;
    position: relative;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: 1em auto 1em;
    gap: 1em;
    width: 100%;
    margin-bottom: 1em;
}

.c-laureate__image {
    position: relative;
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    aspect-ratio: 1;
    width: 100%;
    border-radius: 20px;
    text-align: center;
    z-index: 10;
    overflow: hidden;
}

.c-laureate__content {
    display: grid;
    position: relative;
    grid-template-rows: subgrid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    grid-row: 2 / -1;
    box-shadow: -15px 24px 24px -25px rgba(64, 81, 63, .5);
    background-color: #f5f5f5;
    border-radius: 20px;
    z-index: 5;
    overflow: hidden;
}

.c-laureate__body {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: .5em;
    padding-bottom: 1.5em;
 }

 .c-laureate__title {
    position: relative;
    text-align: center;
 }

 .c-laureate__text {
    display: flex;
    flex-direction: column;
 }

 .c-laureate__text-inner {
    font-size: 1rem;
    font-weight: bold;
    color: #777777;
 }

 .c-laureate__thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
 }

 #content_wpdm_package_1 .media-body > div {
	text-align: right;
}

.w3eden .btn-group-lg>.btn, .w3eden .btn-lg {
	font-size: 1.6rem;
	text-transform: uppercase;
	padding: .5em 1.5em;
}

.__wpdm_submit_async
{
	display: none;
}

.c-rozklad__column--left {
	display: flex;
	flex-direction: column;
}

.c-rozklad {
	border-bottom: 1px solid #aaa;
	margin-bottom: 2em;
	display: none;
}

.c-rozklad__table {
	margin-bottom: 2em;
}

.c-rozklad__time-box {
	align-items: center !important;
	width: auto;
	margin-left: 1em;
	margin-right: auto;
	padding: 1em;
	border: 1px solid #555;
	border-radius: 7px;
}

.c-rozklad__row {
	display: flex;
	flex-direction: column;
	align-items: start !important;
	gap: 0 !important;
	padding-left: 1em;
}

.c-rozklad__row:not(:first-child) {
	margin-top: 1em;
}

.c-rozklad__hour,
.c-rozklad__text {
	padding: 0;
	margin: 0;
}

.c-rozklad__hour {
	font-size: 2.7rem;
	font-weight: bold;
}

.c-rozklad__class-list,
.c-rozklad__keeper-list {
	list-style: none;
	padding-left: 1em;
	font-weight: bold;
}

.c-rozklad__list {
	position: relative;
	list-style: none;
}

.c-rozklad__list > li {
	position: relative;
	margin: .5em 0;
	padding-left: 1.5em;
}

.c-rozklad__list > li::before {
	position: absolute;
	top: 50%;
	transform: translatey(-50%);
	left: 0;
	width: 12px;
	height: 12px;
	content: '';
	background-color: #000;
	border-radius: 50%;
}

.c-rozklad__list > li::after {
	position: absolute;
	top: 0;
	left: 5px;
	width: 2px;
	height: 135%;
	background-color: #000;
	content: '';
}

.c-contact-form__group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1em;
	width: 100%;
}

.c-contact-form__input,
.c-contact-form__input-box{
	width: 100%;
	max-width: 100%;
}

.tag__przedszkole,
.tag__szkola-podstawowa,
.tag__biblioteka {
	position: relative;
	padding-left: 10px;
	border-radius: 5px;
	overflow: hidden;
}

.tag__przedszkole {
	border-left: 7px solid #0099ff;
}

.tag__szkola-podstawowa {
	border-left: 7px solid #00c57a;
}

.tag__biblioteka {
	border-left: 7px solid #854c33;
}

.c-sidebar__widget-box .c-sidebar__widget ul li.menu-item {
	margin-bottom: .5em;
	padding-left: 7px;
	border-left: 5px solid #01878a;
	border-radius: 5px;
	overflow: hidden;
	transition: border-left-color .2s ease-in-out;
}

.c-sidebar__widget-box .c-sidebar__widget ul li.menu-item:hover {
	border-left-color: #df5e11;
}

.c-sidebar__widget-box .c-sidebar__widget ul {
	margin-left: 0;
}

.c-single__post-body .w3eden {
	margin-top: 2em;
	margin-bottom: 2em;
}

ul.menu li.menu-item.zs-menu__color--green {
	border-left-color: #00c57a;
}

ul.menu li.menu-item.zs-menu__color--blue {
	border-left-color: #0099ff;
}

ul.menu li.menu-item.zs-menu__color--brown {
	border-left-color: #854c33;
}

/**
 * Gazetka Szkolna
 */
.wp-block-file{
	margin-top: 1em;
}

.wp-block-file__button {
	padding: .5em 1em;
}

.customize-unpreviewable,
.wp-block-file__button {
	font-size: 1.6rem;
}

/**
 * Linki
 */
.c-article a,
.c-post__single a:not(.c-read-more) {
	color: #c4400c;
	text-decoration: underline;
}

.c-article a:hover,
.c-post__single a:not(.c-read-more):hover {
	color: #ff5062;
}

/* .c-read-more {
	color: #ffffff !important;
	text-decoration: underline;
} */

/**
 * Block Gallery
 */
.wp-block-gallery {
	margin-top: 2em;
}


/**
 * FOOTER
 **/
.l-footer__text a {
	background-color: #003b49;
	color: #ffc845;
	text-decoration: underline;
}

.l-footer__text a:hover {
	color: #fff;
}

.dnone {
	display: none !important;
}

#wpadminbar {
	z-index: 999999;
}