/*
Theme Name: Fabryka Kultury
Theme URI: http://localhost
Author: MB
Author URI: http://localhost
Description: Fabryka Kultury Child theme for easy and non-destructive editing of Fabryka Kultury theme
Version: 1.0
Text Domain: cannix
Template: mdk
*/

/* grid tools */
.container {
  display: flex;
}

.hide {
  display: none;
}

/* map and address */
figure iframe {
	width: 100%;
}

.adr {
	float:left;
	margin-right: 3em;
}

.es_shortcode_form label {
  float: none;
  display: inline-block;
  width: auto;
}
.es-field-wrap {
  display: inline-block;
}

/* Start Custom CSS */
header.site-header .logo {
    text-align: left;
    width: 100%;
    padding: 20px 0 20px 25px;
}

header.site-header img.custom-logo {
  width: 75%;
}

header.site-header .logo a {
  color: #eee;
  font-weight: 700;
}
header.site-header {
background-color: #1d5077;
}
header.site-header .header-wrapper {
	
}
.header-wrapper {
  display: flex;
  align-items: center;
  max-width: 1450px;
  margin: 0 auto;
}

.header-info, .header-info h2 {
  color: white;
}
.header-info a {
  color: white;
  text-decoration: underline;
}
.header-info {
  font-size: .8em;
}
.header-info h2 {
  font-size: 1em;
  margin: 16px 0 0;
}


.footer-info address {
  font-size: .9em;
  line-height: 1.6;
}



@media (max-width: 1090px) {
  .header-info {
    display: none;
  }
}

.slide-menu .logo {
  margin: 0 auto 0px auto;
}
.slide-menu .logo img {
  width: 60%;
}
.slide-menu {
  padding: 20px 20px 10px 20px;
}
.slide-menu span.close {
  margin: 0px 0 0px 10px;
}

.primary-nav-wrapper {

  background-color: #cdddea;

}

@media (max-width: 1090px) {
	.primary-nav-wrapper {
		background-color: #405c7b;
    color: white;
    border-top: none;
  }
  .primary-nav li a {
    color: white;
  }
  .primary-nav li:has(.toggle-hicontrast) {
		display: block !important;
  }
  .primary-nav li.toggle-hicontrast {
		width:15%;
  }

}

/* Menu with Hicontrast (mw) */
.toggle-hicontrast button {
  background-color: transparent;
  padding: 0;
  color: inherit;
}
.primary-nav li.toggle-hicontrast {
	float:none;
	width:32px;
	text-align: right;
}
.primary-nav li.toggle-hicontrast a {
	padding:0px 0 0px 0px;
}
.primary-nav li.toggle-hicontrast i {
	padding:16px 0 16px 16px;
	cursor: pointer;
	font-size:1.2em;
}
.primary-nav li.toggle-search {
	float:none;
	width:32px;
	text-align: right;
}

/* Mobile menu */
.mobile-only ul.menu li a, .mobile-only .widget ul.menu li a {
  display: block;
}



.widget[class*="instagram"] ul.pics6 li {
    /* width: 16.66%; */
    padding: 5px;
}
footer .widget[class*="instagram"] {
	padding-left: 5px;
	padding-right: 5px;
}

.hero .slide-wrapper {
	background-color: #AE423E;
}
.hero .slide-wrapper {
	abackground-color: #3DBDAF;
}


/* High contrast */
a#styleSwitcher {
    width: auto;
}


@media (max-width: 1090px) {
  body.high-contrast .primary-nav-wrapper {
    background-color: DarkBlue;
    color: yellow
  }
}



body.high-contrast, body.high-contrast header.site-header, body.high-contrast .container, body.high-contrast .container-mdk, 
body.high-contrast footer, body.high-contrast .footer-info {
  background-color: DarkBlue;
  color: yellow
}
body.high-contrast .footer-info {
  background-image: none;
}

body.high-contrast .has-text-color, body.high-contrast .has-background {
	background-color: rgb(0, 0, 61) !important;
	color: yellow !important;
}

body.high-contrast header.site-header {
  background: DarkBlue;
}

body.high-contrast.custom-background {
  background-image: unset;
}

body.high-contrast .slide-menu {
  background-color: DarkBlue;
  color: yellow
}
body.high-contrast .slide-menu .primary-nav-sidebar li a {
  color: yellow
}

body.high-contrast .widget ul li a, body.high-contrast .cannix_recent_posts .entry-meta li {
  color: white
}

body.high-contrast .custom-logo {

  background-image: url('images/logo-fabrykakultury152x152-white.png');
  background-repeat:  no-repeat;
  background-size: 76px;
  display: block;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 76px; /* Width of new image */
  height: 76px; /* Height of new image */
  padding-left: 76px; /* Equal to width of new image */
}
body.high-contrast .primary-nav li.nav-logo img.custom-logo {
  background-size: 54px;
  width: 54px; /* Width of new image */
  height: 54px; /* Height of new image */
  padding-left: 54px; /* Equal to width of new image */
}
body.high-contrast .slide-menu .logo img.custom-logo {
  background-size: 91px;
  width: 91px; /* Width of new image */
  height: 91px; /* Height of new image */
  padding-left: 91px; /* Equal to width of new image */
}
body.high-contrast .primary-nav-wrapper, body.high-contrast .primary-nav li ul.sub-menu {
	background-color: DarkBlue !important;
}

body.high-contrast .nav-links .page-numbers, .nav-links a {

  color: yellow;
}

body.high-contrast .content-area:not(.the-post) article[class*="post"] {
	background-color: DarkBlue !important;
	color: yellow !important;
}
body.high-contrast .nav-links .page-numbers.current {
  background-color: yellow !important;
	color: DarkBlue !important;
}

body.high-contrast header.site-header .logo {
  background-color: DarkBlue;
}

/* hero slider */
body.high-contrast .hero .slide-wrapper {
  background-color: DarkBlue !important;
	color: yellow !important;
}

body.high-contrast .hero:not(.cover) .entry-header, 
body.high-contrast .hero:not(.cover) .entry-content, 
body.high-contrast .hero:not(.cover) .entry-meta li, 
body.high-contrast .hero:not(.cover) .entry-meta li a, 
body.high-contrast .hero:not(.cover) .entry-title a, 
body.high-contrast .hero:not(.cover) .entry-title {
  color: yellow ;
}

/* content */
body.high-contrast .the-post .hentry .entry-content {
  background-color: DarkBlue !important;
	color: yellow !important;
}
body.high-contrast .entry-meta li a, body.high-contrast .entry-meta li {
  color: white;
}
body.high-contrast .post-carousel .entry-title { 
  background-color: DarkBlue !important;
	color: yellow !important;
}

body.high-contrast .carousel-content .post-carousel a {
	color: yellow;
	text-shadow: none;
}


body.high-contrast .content-area.grid article[class*="post"] .entry-title a, 
body.high-contrast .content-area.classic article[class*="post"]:not(.post_format-post-format-image) .entry-title a, 
body.high-contrast .content-area.list article[class*="post"]:not(.post_format-post-format-image) .entry-title a, 
body.high-contrast .content-area.masonry article[class*="post"]:not(.post_format-post-format-image) .entry-title a 
{
  color: yellow;
}

body.high-contrast .post-tags a {
  background: #3000004f;
  border: 1px solid white;
}

/* widgety */
body.high-contrast .widget.widget_search {
  background: inherit;
}









body.high-contrast .header-3 .kode-navigation ul {
  background-color: DarkBlue;
}

body.high-contrast .nav .open > a, body.high-contrast .nav .open > a:hover, body.high-contrast .nav .open > a:focus {
    background-color: Blue;
}

body.high-contrast a {
  color: yellow
}

body.high-contrast h1, body.high-contrast h2, body.high-contrast h3 {
  text-shadow: none;
  color: yellow
}


#return-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 13px;
  font-size: 19px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
  color: #fff;
  top: 5px;
}





.has-instagram-footer .footer-social {
  border-bottom: none;
}


@media (max-width: 1090px) {
  .primary-nav li.nav-logo {
    width: 70%;
	}
	.primary-nav li.toggle-menu {
		width:20%;
	}
	.primary-nav li.toggle-search, .primary-nav li.toggle-hicontrast {
		width:42px;
	}
}
@media (max-width: 1450px) {
	
	.primary-nav {
		max-width:1200px;
		width: 100%;
	}
}
address {
	/*justify-content: flex-end;*/
	text-align: left;
}
.header-info {
  float: right;
  padding-right: 25px;
}
.events .single .entry-date {
	background-color: aliceblue;
	padding: 1em !important;
}
.entry-date strong {
	font-size: 2em;

}
.header-wrapper .container {
    align-items: center;
}

header.site-header.fixed .header-info {
    display: none;
}
.header-info {
	max-width: 400px;
	justify-content: end;
}
.header-info address {
  display: flex;
  line-height: 1.3;
  margin-top:5px;
}
.header-info h1 {
	color: white;
	margin-top: 0px;
	margin-bottom: 0px;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.adr {
	float:none;
}

.entry-title a {
	color: inherit;
}

.primary-nav li.toggle-menu {
    display: none;
}
@media (max-width: 1090px) {
	.primary-nav li.toggle-menu {
			display:block;
		}
}

/* footer */
.footer-info {    
    background-size: 480px;
    background-repeat: no-repeat;
    background-position: left;
    background-color: #f8f9fa;
}

/* podstrony */
/* projekty */
.page-template-page-projekty .col {
	padding: 0;
	margin: 1vh 1vw
}
.page-template-page-projekty .entry-header{
	margin-bottom: 0vh;
}
.page-title {
    /*margin: 0px 1px 40px 1vw;*/
    padding: 0;
    font: 700 2.2em "Roboto Slab", sans-serif;
    text-align: left;
    position: relative;
}
/* mapa */
figure iframe {
	width: 100%;
}

/* animacja */
@keyframes ld-tick {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  20% {
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
  }
  30% {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
  40% {
    -webkit-transform: rotate(-21deg);
    transform: rotate(-21deg);
  }
  50% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  60% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
  70% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  80% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
  }
  90% {
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}
@-webkit-keyframes ld-tick {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  20% {
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
  }
  30% {
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
  }
  40% {
    -webkit-transform: rotate(-21deg);
    transform: rotate(-21deg);
  }
  50% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  60% {
    -webkit-transform: rotate(-10deg);
    transform: rotate(-10deg);
  }
  70% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  80% {
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);
  }
  90% {
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

	/* Chrome only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .the-post .hentry .entry-content > p:first-of-type::first-letter {
    line-height: inherit;
  }
}

.wp-block-gallery {
  margin-left: 0;
  margin-right: 0;
}

.footer-social span i {
  font-size: 18px;
}

#footer-nav {
  margin-left: 0;
  font-size: 0.875em;
}
.es_caption, .es_subscription_message {
  line-height: 1.3;
}
input.es_submit_button {
  padding: 16px 18px;
}




/* #ŁL Cookie-fix */
#cookie-notice:not(.cookie-notice-visible){
	display:none;
}