/*
 Theme Name:   ThemeWS - child theme
 Theme URI:    https://websyc.pl
 Description:  Motyw potomny do wszystkich stron spełniajacych standard WCAG.
 Author:       Waldemar Syc, WebSyc
 Author URI:   https://websyc.pl
 Template:     wstheme
 Version:      2.2.11
 Text Domain:  ThemeWSChild
*/
html:root{
  --color-primary: #000;
  --color-primary-rgb: 0, 0, 0;
  --color-secondary:  #d3433b;
  --color-secondary-rgb:  211, 67, 59;
  --color-grey: #f4f6f9;
  --color-border: #2f2f2f;
  --color-bg-lighter: #151515;
  --color-menu-secondary: var(--color-secondary);
  --color-dark: #181818
}

#wcag-bar {
  background: #000;
}
#template #wcag-bar #accessibilityBar {
  border-color: var(--color-border);
}
#template .top-bar {
  border-color: var(--color-border);
  background-color: #000;
}
#template .top-bar span{
  color: #fff;
}
#template .top-bar span a{
  color: #fff;
}
#template .top-bar span a:hover{
  color: var(--color-secondary);
}
#template .main-header {
  background: #000;
}
#template #wrapper #nav-top {
  border-top: none;
}
body.contrast .main-header__logo img {
  filter: none;
}
.main-header .main-header__logo > a h1{
  color: #fff;
  font-size: 1.4rem;
  text-align: left;
}
#template .single-header {
  background: url(./img/page-bg.jpg);
  background: linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),rgba(0,0,0,0) url(./img/page-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
#template .navbar-nav>li>a{
  padding: 15px 10px;
  padding-left: 10px!important;
}
/* Sidebar */
#template .widget-box {
  box-shadow: none;
  background: #000000;
}
#template .widget-box .h3, #template .widget-box .widget-title, #template .widget-box h3 {
  background: var(--color-dark);
}
#template .widget-box ul li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
#template #sidebar .widget-box ul li a,
#template #sidebar .widget-box p{
  color: #fff;
}
#template #sidebar .widget-box ul li a:hover{
  color: var(--color-secondary);
}
#template.header-home-v2.home .h2::after, #template.header-home-v2.home h2::after {
  bottom: -2px;
  height: 3px;
}
#template #sidebar .wp-block-calendar caption{
  color: #fff;
}
#template #sidebar #wp-calendar td{
  color: #fff;
}
#template #sidebar #wp-calendar td a{
  color: #fff;
  background-color: var(--color-secondary);
}
#template #sidebar #block-10 a{
  color: #fff;
}
#template #sidebar #block-10 a:hover{
  color: var(--color-secondary);
}
/* Footer */
#template .breadcrumb-footer {
  background: var(--color-dark);
  border-color: var(--color-border);
}
#template .breadcrumb-footer .breadcrumb{
  background: var(--color-bg-lighter);
  color: #fff;
}
#template .breadcrumb-footer .breadcrumb span{
  color: #fff;
}
#template .important-links {
  background-color: #000;
  border-color: var(--color-border);
}
#template .breadcrumb-footer .breadcrumb a {
  color: var(--color-secondary);
}
/* News */
#template .latest-posts .card img{
  filter: grayscale(100%) contrast(170%) brightness(75%);
}
/* Hero */
#template .hero-v1 {
  padding-top: 1rem;
}
/* Navbar */
#template .navbar-nav>li>a{
  border-right: none;
}
#template .dropdown .dropdown-menu{
  background: var(--color-dark);
}
#template .navbar-nav .dropdown-item{
  color: #fff;
  border-bottom: 1px solid #222222;
}
#template .dropdown .dropdown-item:focus, #template .dropdown .dropdown-item:hover {
  color: #fff;
}
#template .dropdown.nav-item>.dropdown-menu:before {
  border-bottom: .7rem solid var(--color-dark);
  border-left: .525rem solid transparent;
  border-right: .525rem solid transparent;
}
.search-form-toggle .search-toggle-btn {
  color: #ffffff;
}
#wazne-linki{
  color: #fff;
  text-align: center;
}
#template .important-links p{
  color: #fff;
}
#template .nav-dropdown-v1 .dropdown-item.active, #template .nav-dropdown-v1 .dropdown-item:active {
  color: #fff;
}
#template .dropdown.nav-item>.dropdown-menu:before {
  display: none!important;
}
/* Home */
body.home .news-section{
  padding-top: 1rem;
  padding-bottom: 3rem;
}
body.home#template .latest-posts a:hover .card .card__read-more span {
  color: #fff;
  border-color: var(--color-secondary);
}
body.home#template .latest-posts a:hover .card .card__read-more span::after {
  color: #fff;
}
/* Mobile */
#template .mb-menu__btn {
  background: var(--color-secondary);
  color: #fff;
}
#template .mb-menu__additional-content p,
#template .mb-menu__additional-content a,
#template .mb-menu__title p {
  color: #fff;
}
/* Contact */
body.page-id-202 .gutenberg-content .wp-block-column{
  text-align: center;
  font-weight: bold;
}
body.page-id-202 .gutenberg-content .wp-block-column i{
  background-color: var(--color-secondary)!important;
}

/* Additional */
.top-bar .top-bar__right-column div a:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(17deg) brightness(104%) contrast(104%)!important;
}
.search-form-toggle .search-toggle-btn:hover {
  color: var(--color-secondary)!important;
}
#template .ribbon span {
  background: var(--color-secondary);
}