/*
Theme Name: ZSBI 
Author: P&J;
Descriprion: Szablon dla ZSBI Żory
Version: 0.8
*/


/* reset */

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;
}

/* zmienne */ 

 body {
 font-family: 'Open Sans';
 font-weight: 300;
 font-size: 11pt;
 color: #5e5e5e;
 background: #f6f6f6;
 }

p {
	font-size: 10.5pt;
}

 header {

 }

 img {
	max-width: 100%;
	 height: auto;
}

a {
	text-decoration: none;
	color: #C81010;
}

a:hover {
	color: #404248;
}

p.clear {
  clear: both;
}

/* header */

.header-logo {
	height: 80px;
	display: none;
	margin: 0 auto;
	text-align: center;
	padding: 1rem;
}

.mobile-logo {
	height: 80px;
	display: block;
	margin: 0 auto;
	text-align: center;
	padding: 1rem;

}

.header-logo img, 
.mobile-logo img {
	height: 80px;
}


.header-menu-top {
	background-color: #fff;
	text-transform: uppercase;
	font-size: 0.8rem;
	margin: 0;
	padding: 0;
	text-align: center;
}


.header-menu-top ul li {
	display: inline-block;
	width: 5.6rem;
	height: 5.6rem;
	margin: 0.5rem;
	list-style: none;
}

.header-menu-top a, .header-menu-top a:visited {
	text-decoration: none;
	color: #404248;
	display: block;
	text-align: center;
	font-size: 0.8rem;
	padding: 0.8rem 0;
}

.header-menu-top a:hover {
	text-decoration: none;
	color: #404248;
	display: block;
	text-align: center;
	background: #ededed;
	transition: 0.8s;

}

.menu-button {
	display: block;
	width: 100%;
	padding: 1rem 0;
	text-align: center;
	color: #fff;
	background: #C81010;
	text-decoration: none;
	border: none;
}

.menu-button:hover {
	background: rgba(160,26,26);
	transition: 0.8s;
}



.fa-bars {
	padding-right: 0.5rem;
}

.icon {
	font-size: 1.5rem;
	display: block;
	padding-bottom: 0.8rem; 
}


.download:before {
	position: relative;
	content: "\f19d";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	top: 2rem;
}


.rekrutacja:before {
	content: "\f19d";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	color: #049ce1;
}

.dziennik:before {
	content: "\f518";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	color: #f44336;
}

.plan:before {
	content: "\f073";
	font-family: 'Font Awesome\ 5 Free';
	color: #4caf50;
}

.zastepstwa:before {
	content: "\f0c0";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	color: #ff8a00;
}

.ogloszenia:before {
	content: "\f0f3";
	font-family: 'Font Awesome\ 5 Free';
	color: #9526a9;
}

.facebook:before {
	content: "\f39e";
	font-family: 'Font Awesome 5 Brands';
	font-weight: 300;
	color: #3b5998;
}

.youtube:before {
	content: "\f167";
	font-family: 'Font Awesome 5 Brands';
	font-weight: 900;
	color: #cc181e;
}


.header-menu {
	background: #C81010; 	
	text-transform: uppercase;
	color: #404248;
	display: none;
}

.header-menu a, .header-menua:visited {
	text-decoration: none;
	padding: 1rem;
	display: block;
	color: #fff;

}

.header-menu a:hover {
	color: #fff;
	text-decoration: underline;

}

.header-menu ul li ul li {
	padding-left: 1.5rem; 
	text-transform: none;
	list-style: none;
}


/*header media */
@media only screen and (min-width: 1000px) {
	
	body {
		 font-size: 11pt;
	}

.header-logo {
	margin: 0;
	padding: 1rem;
	text-align: left;
	float: left;
	display: block;
}
	
	.mobile-logo {
		display: none;
	}

.menu-top {
	float: right;
}


.header-menu-top ul li {
	display: inline-block;
	width: 5.6rem;
	height: 5.6rem;
	margin: 0.5rem;
	list-style: none;
	float: left;
}

.menu-button {
	display: none;
}

.header-menu {
	display: flex !important;
	padding: 0px;
	margin: 0px;
	justify-content: flex-end;
	width: 100%;
	background: #C81010; 	
	text-transform: uppercase;
	color: #fff;
	visibility: visible;
}
	
.header-menu ul li ul li {
	padding-left: 0rem; }
	
.nav {
  width: 100%;
	z-index: 9999 !important;
}
.navigation-main {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: center;
z-index: 99999 !important;
 position: relative !important;
}
	
	.navigation-main a {
  color: #fff;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  padding: 1rem 2rem;
transition: background 0.4s;
		
}
.navigation-main a:hover, .navigation-main li:hover > a  {
  background: firebrick;
	transition: background 0.4s;
}
	
	
.navigation-main ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: -999em;
	background: #C81010;
}
.navigation-main li {
  display: inline-block;
  position: relative;
  text-align: left;
	color: #fff;
}
.navigation-main li:hover > ul {
  left: auto;
}
.navigation-main li li {
  display: block;
	 border-bottom: 1px solid firebrick;
    border-left: 1px solid firebrick;

}
.navigation-main li li:hover > ul {
  left: 100%;
  top: 0;
}
	
.menu-item-has-children > a::before {
  content: "\f0d7";
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
	font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
	margin-right: 1rem;
}
	
.sub-menu .menu-item-has-children > a::before {
  content: "\f0da";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
	font-family: 'Font Awesome\ 5 Free';
    font-weight: 900;
}
	
	
ul .menu-item-has-children > a::before {
  right: 2px;
  border-top-color: transparent;
  border-left-color: #fff;
}



.header-menu-full{
	display: flex !important;
	padding: 0px;
	margin: 0px;
	justify-content: flex-end;
	width: 100%;
	background: #C81010; 	
	text-transform: uppercase;
	color: #404248;
	visibility: visible;
}
	
.search-btn {
    text-decoration: none;
    padding: 1.1rem;
    display: block;
    color: #fff;
	background:#C81010;
	border: 0px;
	margin-right: 1rem;
	}
	
	.search-btn:hover {
		background: firebrick;
		cursor: pointer;
	}
}



/*pagination */
.page-numbers, .nav-next, .nav-previous  {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}
.page-numbers.current,
a.page-numbers:hover {
	background: #C81010;
	color: #fff;
}

/* INDEX */

.normal-text ul {
	list-style:square;
	padding-left: 1.5rem;
	text-align: left;
}

.normal-text ul li:before {

	
	}
.sidebar {
	margin: 0 auto;
}

.calendar {
	text-align: center;
}

.em-calendar {
	margin: 0 auto;
}

.textwidget {
	margin: 0 auto;
	text-align: center;
	width: 80%;
	font-size: 0.8rem;
    line-height: 1.4rem;
}

.sidebar li {
	list-style: none;
 }

.news-info-max {
		padding: 1rem;
	}

.index-slider {
	width: 100%;
	height: 30vh !important;
	box-sizing: border-box;
}

.index-slider .sow-slider-base {
	height: 30vh;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.index-slider h1 {
	font-size: 2.5rem;
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
}

.index-slider h1:after {
	content: '';
height: 0px;}

.sub-page-img {
	width: 100%;
	height: 20vh;
	background-color: rgba(255, 255, 255, 0.6) !important;
	background-blend-mode: color;
	background-image: url(img/5918.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover; 
	display: table;
}

.sub-page-img h3 {
	font-size: 1rem;
	text-transform: uppercase;
 	font-weight: 700;
 	padding: 0rem 2rem;
 	color: #404248;
	text-align: center;
}


.samorzad-img {
	width: 100%;
	height: 40vh;
	background-color: rgba(255, 255, 255, 0.6) !important;
	background-blend-mode: color;
	background-image: url(img/5918.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover; 
	display: table;
}

.samorzad-img h3 {
	font-size: 0.9rem;
	text-transform: uppercase;
 	font-weight: 700;
 	padding: 1rem 1rem 0 1rem;
 	color: #404248;
	text-align: center;
}

.samorzad-img h4 {
	font-size: 0.8rem;
	text-transform: uppercase;
 	font-weight: 300;
 	padding: 0rem 1rem;
 	color: #404248;
	text-align: center;
}

.middle-align {
	display: table-cell;
	vertical-align: middle;
}

.middle-bottom {
	display: table-cell;
	vertical-align: top;
}

main h2, h1 {
 	font-size: 1rem;
 	color: #404248;
 	text-align: center;
 	text-transform: uppercase;
 	font-weight: 700;
 	padding: 8px 0 16px 0;
 	display: block;
 	position: relative;
 }

main h2:after, h1:after {
 	content: '';
    position: absolute;
    left: 25%;
    width: 50%;
    height: 1px;
    background-color: #C81010;
    bottom: 10px;
 }

h4 {
	font-weight: bold;
	padding: 1rem 0;
}

.area {
	padding: 2rem 0;
	font-size: 0.9rem;
	line-height: 1.5rem;
}

#map {
	width: 100%;
	height: 30vh;
	margin: 2rem 0;
}

.news {
	padding-top: 0.5rem;
	text-align: center;
}

.box, .news-box {
	margin: 0 auto;
	background: #fff;
	width: 80%;
	margin-bottom: 2rem;
	overflow: hidden;
	border-bottom: 2px solid #C81010;
}

.news-box-full {
	margin: 0 auto;
	background: #fff;
	width: 100%;
	margin-bottom: 2rem;
	overflow: hidden;
	border-bottom: 2px solid #C81010;
	margin-top: 1rem;
}

.box img {
	width: 100%;
	height: auto;
}

.box h3, .news-box h3, .news-box-full h3, .max h3 {
	font-size: 1rem;
 	color: #C81010;
 	padding: 0.6rem;
 	font-weight: 500;
 	text-transform: uppercase;
 }


.normal-text {
	font-size: 1rem;
	padding: 0.3rem 0.6rem;
	line-height: 1.4rem;
	text-align: justify;
}

.more-link {
	font-size: 0.8rem;
	color: #C81010;
	padding: 0.6rem;
}

.more-link:hover {
	color: #404248;
}

.more-link:after {
	content: "\f061";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	padding-left: 1rem;
}


.caption {
	padding: 1rem 0.6rem 0.6rem 0.6rem;
	font-size: 0.7rem;
	font-style: italic;
 	position: relative;
 	line-height: 2rem;
 	margin-top: 1rem;

}

.caption:before {
 	content: '';
    width: 30%;
    height: 1px;
    background-color: #ccc;
    position: absolute;
}

.right {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	padding: 1rem 0rem 0rem 0rem;
}

.btn-small {
	font-size: 0.7rem;
	font-weight: 500;
	color: #404248;
	width: 25%;
	min-width: 70px;
	padding:10px 14px;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none;
	margin: 0rem 0rem;
	transition: all .3s ease;
	border: 1px solid #404248;
}

.btn-medium {
	font-size: 0.7rem;
	font-weight: 500;
	color: #404248;
	width: 140px;
	padding:10px 14px;
	cursor: pointer;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none;
	margin: 2rem auto;
	transition: all .3s ease;
	border: 1px solid #404248;
	display: block;
}
/*
.btn-small:after {
	content: "\f101";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	padding-left: 0.2rem;

}
*/

.btn-small:hover, .btn-medium:hover {
	transition: all .3s ease;
	border: 1px solid #C81010;
	color: #C81010;
}

.center {
	margin: 0 auto;
	display: block;
	width: 50%;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.partners {
	display: table;
	width: 80%;
	margin: 0 auto;
	height:auto;
}

.partners-slider {
	display: table-cell;
	vertical-align: middle;
	padding-bottom: 2rem;
}

.partners-slider > .sow-slider-image {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain; 
}

.info_left {
	font-size: 1.2rem;
	color: #C81010;
	
}

.text_left {
	font-size: 0.8rem;
	color: #404248;
}

.info_right {
	font-size: 1.2rem;
	color: #C81010;

}

.text_right {
	font-size: 0.8rem;
	color: #404248;
}


/*kalendarz */ 

/* calendar widget */
.widget_calendar {float: left;}
#wp-calendar {width: 80%; }

#wp-calendar caption {
  color: #C81010;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
	padding: 0.7rem;
  text-align: left;
	background: #fff;
}

#wp-calendar thead { font-size: 0.6rem; background-color: #C81010; }
#wp-calendar thead th { padding: 0.5rem; font-size: 0.6rem; color: #FFF;  }
#wp-calendar tbody { color: lightblue; }
#wp-calendar tbody td { background: #eee; text-align: center; padding: 8px;   font-size: 0.6rem;
  color: #888;}
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none;}
#wp-calendar tbody td a {background-color: #C81010; color: #fff; display: block; font-weight: bold;}

#wp-calendar tfoot #next { font-size: 10px; text-transform: uppercase; text-align: right; color: #C81010;}
#wp-calendar tfoot #prev { font-size: 10px; text-transform: uppercase; padding-top: 10px; color: #C81010; }

#wp-calendar #today {font-weight: bold;
color: #C81010;
}


.em-calendar caption {
  color: #C81010;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
	padding: 0.7rem;
  text-align: left;
	background: #fff;
}
table.em-calendar td {padding: 8px !important;}
.em-calendar thead { font-size: 0.6rem; background-color: #C81010; }
.em-calendar thead th { padding: 0.5rem; font-size: 0.6rem; color: #FFF;  }
.em-calendar tbody { color: #C81010; }
.em-calendar tbody td { background: #eee; text-align: center; padding: 8px;   font-size: 0.6rem;
  color: #888;}
.em-calendar tbody td:hover { background: #fff; }
.em-calendar tbody .pad { background: none;}
.em-calendar tbody td a {background-color: #C81010; color: #fff; display: block; font-weight: bold;}

.em-calendar thead td { font-size: 10px; text-transform: uppercase; text-align: right; color: #C81010; background: #fff; }
.em-calnav-next { font-size: 10px; text-transform: uppercase; text-align: right; color: #C81010;}
.em-calnav-prev { font-size: 10px; text-transform: uppercase; padding-top: 10px; color: #C81010; }

.eventless-today {font-weight: bold;
color: #C81010 !important;
}

.em-calendar tbody tr:first-child td {background: firebrick !important; color: #fff; text-transform: capitalize;}
.em-calendar tbody {background: #eee;}
.month_name {
	  color: #C81010;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
	padding: 0.7rem;
  text-align: left;
	background: #fff;
}

td.eventful, td.eventful-post{
	background: #C81010 !important;
}

table.em-calendar td.eventful a  {color: #fff !important;}

table.em-calendar td.eventful-today a {
	color: #fff !important;
	background: #C81010 !important;
}
.event-name {
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
}

.event-date {
	font-size: 0.7rem;
	 font-style: italic;
	font-weight: 300;
	padding-bottom: 0.5rem;
}

.calendar {
	width: 300px;
	margin: 0 auto;
	padding-bottom: 1rem;
}


.main-area {
	width: 100%;
	margin-bottom: 1rem;
}

.boxes-list {
width: 100%;
margin: 2rem 0;
}

.boxes-list ul {
display: flex;
list-style: none;
flex-wrap: wrap;
justify-content: center;
align-items: space-around;
margin: 2rem 0;
}

.boxes-list ul li {
background: #fff;
width: 200px;
height: 200px;
margin: 2rem;
text-align: center;
display: table;
}

.box-link a:before {
	display: block;
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
	color: #C81010;
	font-size: 3rem;
	position: relative;
	bottom: 1rem;
}

.box-link a {
	font-size: 0.85rem;
	line-height: 1.4rem;
	width: 100%;
	height: 100%;
	display:table-cell;
    vertical-align:middle;
    padding: 0.5rem;
    color: #404248;
    text-transform: uppercase;
}


.box-link a:hover:before {
	color: #464646;
}


.box-link a:hover {
	background: rgba(49,59,72, 0.1);
	color: #464646;
	transition: 0.8s;
}

.pdf-icon a:before {
	content:"\f1c1";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 300;
}

.word-icon a:before {
	content:"\f1c2";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 300;
}

.book-icon a:before {
	content:"\f02d";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
}

.exam-icon a:before {
	content:"\f044";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
}

.users-icon a:before {
	content:"\f0c0";
	font-family: 'Font Awesome\ 5 Free';
	font-weight: 900;
}

.single-news {
	display: block;
	margin: 0 auto;
	padding: 1rem 0;
}

.single-news p {
	padding: 1rem 0;
}

.single-news a {
	text-decoration: underline;
	color: #C81010;
}

.single-news a:hover {
	text-decoration: underline;
	color: #404248;
}

.single-news .caption {
	padding-top: 0.3rem;
	margin-top: 0.3rem;
}

.single-news h3 {
	color: #C81010;
	font-weight: 900;
}

strong {
	font-weight: 900;
}


.info-block {
	width: 100%;
	background-color: #f6f6f6;
	padding: 0.5rem;
	display: block;
}

.info-block-white {
	width: 100%;
	background-color: #fff;
	padding: 0.5rem;
	display: block;
}


.info-block h4 {
	text-transform: uppercase;
	color: #C81010;
	text-align: center;
	font-size: 0.8rem;
	padding: 0.5rem 0;
}

.info-block h5 {
	text-transform: uppercase;
	color: #404248;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 500;
}

.img-boxes  {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	width: 100%;
	flex-wrap: wrap;
}

.img-box {
	display: block;
	width: 220px;
	height: auto;
	padding: 1rem;
	font-size: 1rem;
	color: #fff;
	margin: 0.8rem 0;
}


.img-box img {
	width: 100%;
	height: 220px;
}

.img-box-text {
	display: flex;
	justify-content: center;
	background: #fff;
	padding: 1rem;
	flex-direction: column;
}

.img-box-header {
	background: #C81010;
	display: flex;
	padding: 0.3rem;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	height: 2.5rem;
	text-align: center;
}

.title,
.boxes-list h3 {
	text-align: center;
	font-size: 1rem;
	color: #404248;
	font-weight: 900;
	text-transform: uppercase;
	padding: 0.5rem 0;
	z-index: 2;
}


.team-boxes {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	align-content: flex-start;
	width: 100%;
	flex-wrap: wrap;
}

.team-box {
	display: block;
	width: 180px;
	height: auto;
	background: #f6f6f6;
	font-size: 1rem;
	color: #404248;
	margin: 0.8rem 0;
}

.team-box-white {
	display: block;
	width: 180px;
	height: auto;
	background: #fff;
	font-size: 1rem;
	color: #404248;
	margin: 0.8rem 0;

}

.team-box-header {
	background: #C81010;
	display: flex;
	padding: 0.5rem;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	height: 2.5rem;
	text-align: center;
	line-height: 18px;
}


.team-box-list {
	padding: 0.3rem;
	text-align: center;
	font-size: 0.9rem;
}

.team-box-list ul li {
	list-style: none;
	line-height: 1.5rem;
}


ol {
  display: block;
  list-style-type: decimal;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 3rem;
  line-height: 2rem;
}


ol li ul {
	list-style: none;
	padding-left: 2rem; 
}

.news-wrapper > p,
.box-left > p,
.box-right > p
{
	line-height: 2rem;
	padding-top: 1rem;
}

.box-2-col {
	display: block;
	padding: 2rem 0;
}

.shadow-1,
.shadow-2, 
.shadow-3 {
padding: 0;
    position: absolute;
	}

.why-text {
position: relative;
	color: #5e5e5e;

}

.red {
	position: relative;
	color: #C81010;
}

.why-boxes {
	display: block;
	width: 100%;
	
	}

.why-box {
	display: block;
    width: 80%;
    height: auto;
    padding: 1rem;
    font-size: 0.8rem;
    margin: 0.8rem 0;
    line-height: 1.6rem;
    text-align: center;
    background: #FFF;
    border-bottom: 2px solid #C81010;
	margin: 0 auto;
	margin-bottom: 2rem;
}

.shadow-3:after {

	content: "03";
	font-weight: 500;
	font-size: 8rem;
	padding: 0.5rem;
	color: rgba(232, 232, 232, 0.4);
	position: absolute;
	}

.shadow-2:after {

	content: "02";
	font-weight: 500;
	font-size: 8rem;
	padding: 0.5rem;
	color: rgba(232, 232, 232, 0.4);
	position: absolute;
	}

.shadow-1:after {
	content: "01";
	font-weight: 500;
	font-size: 8rem;
	padding: 0.5rem;
	color: rgba(232, 232, 232, 0.4);
	position: absolute;
	}

.news-list .max {
		display: block;
    width: 80%;
      justify-content: center;
    align-items: center;
			background: #fff;
			border-bottom: 2px solid #C81010;
	margin: 1rem auto;
	
	}

.wrapper {
 	margin: 0 auto;
 	width: 90%;
}

/*index media */
@media only screen and (min-width: 1000px) {
	
	.sub-page-img h3 {
	font-size: 1.5rem;
	text-transform: uppercase;
 	font-weight: 700;
 	padding: 0rem 2rem;
 	color: #404248;
	text-align:left;
}
	
	.em-calendar {width: 80%;
margin: 0;}
	
	
	.calendar {text-align: left}
	
	.why-box {
	display: block;
    width: 28%;
    text-align: justify;

}
	
	.why-boxes{
		display: flex;
	justify-content: space-around;
	align-items: flex-start;
	align-content: flex-start;
	width: 100%;
	flex-wrap: wrap;
	}
	
	
	.shadow-1:after,
	.shadow-2:after,
	.shadow-3:after {
	font-size: 10rem;
	}
	
	.box-2-col {
	display: flex;
	padding: 2rem 0;
}

.wrapper {
 	margin: 0 auto;
 	width: 90%;
 	display: flex;
}

  .news-wrapper {
 	margin: 0 auto;
 	width: 800px;
	  text-align: justify;
	  line-height: 2rem;
 }
	
	  .news-wrapper-1000 {
 	margin: 0 auto;
 	width: 1000px;
	  text-align: justify;
	  line-height: 2rem;
 }

 .sidebar {
 	min-width: 300px;
 	margin-right: 1rem;
 	order: 1;
 }
	

.index-slider {
	height: 50vh !important;
	display: block;
}
	
	
.index-slider .sow-slider-base {
	height: 50vh;
}

.main-area {
	width: 100%;
	order: 2;

}

.standard-text {
	padding-left: 2rem; 
}

h5 {
	font-size: 5rem;
	text-align: center;
	font-weight: 900;
	display: block;
	margin: 0 auto;
padding: 1rem 0;

}
/*
.main-area h2 {
	text-align: center;
	display: block;
	margin: 0 auto;

}
*/
.main-area h2:after {

	width: 10rem;
	}


main h2 {
 	text-align: left;
 }

main h2:after {
 	left: 0;
    width: 80%;
 }

.sidebar .box {
	margin: 1rem 0;
	width: 80%;
}

.main-area .box {
	margin: 1rem;
	max-width: 400px;
}

.main-area .box:first-child  {
	margin-left: 0;
}

.main-area .box:last-child  {
	margin-right: 0;
}
	
.main-area .img-box:last-child  {
	margin-right: 0;
}

.news {
	display: flex;
	justify-content: space-between;
	align-content: center;
	text-align: left;
}
	
	
.news-contact {
	justify-content: space-between;
	align-content: center;
	text-align: left;
	padding-top: 1rem;
}

main .box h3 {
	font-size: 1rem;
}
main .normal-text {
	font-size: 0.9rem;
	line-height: 1.4rem;
}

main .box {
	max-width: 300px;
}

.area {
	height: 20vh;
	justify-content: flex-start;
}

.main-caption {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.main-caption:after {

}

.info_left {
	width: 70%;
	text-align: left;
	float: left;
}

.info_right {
	width: 30%;
	text-align: right;
	float: left;
	}

h1 {
	text-align: left;
	padding-top: 1rem;
}

h1:after {
	content: '';
    position: absolute;
    left: 0;
    width: 25%;
    height: 0.05rem;
    background-color: #C81010;
    bottom: 1rem;
    margin: 1rem 0;
    top: 2rem;
}

h4 {
	font-size: 1rem;
}

.text_left, .text_right {
	font-size: 1rem;
	padding-bottom: 1rem;
}
.map {
	display:block;
}

.box-item {
	width: 10rem;
	height: 10rem;
	background: #fff;
	margin: 1rem;
	display: inline-block;
	vertical-align: middle;
}

.news-list, .single-news {
	display: block;
	margin: 0 auto;
	padding: 1rem 0;
}
		.news-list .max {
		display: flex;
    width: 1000px;
      justify-content: left;
    align-items: center;
    height: 330px;
			background: #fff;
			border-bottom: 2px solid #C81010;
	}


.news-list .news-box {
	display: flex;
	max-width: 800px;
	width: 100%;
	justify-content: center;
	align-items: center;
	height: 330px;
}
	


.news-list .news-box img,
.news-list .max img {
	width: 440px;
	height: 330px;

}
	

.news-info {
	padding: 1rem;
	max-height: 400px;
}


.info-block {
text-align: left;
padding: 1rem;
}

.img-boxes {
display: flex;
justify-content: space-between;
}

.img-box {
	padding: 1rem 0;
}

.title, 
.boxes-list h3 {
	text-align: left;
}

.team-boxes {
	justify-content: space-between;
}

.partners {
	display: table;
	width: 80%;
	margin: 0.5rem 0;
}

	.textwidget {
		text-align: left;
		width: 100%; 
	}
	





}



/* FOOTER */

footer {
	color: #ccc;
	text-align: center;
	font-size: 0.8rem;

}

.index-footer-logo {
	text-align: center;
	
}

.index-footer-logo img {
	width: auto;
	height: 50px;
	margin: 0 1rem;
}

.footer-address {
	background: #fffefe;
	color: #404248;
	padding: 1rem;
	
}

.footer-copyright {
	background: #404248;
	padding: 1rem;
}


/*footer media */
@media only screen and (min-width: 1000px) {
	footer {
		text-align: center;
	}

.footer-address,
.footer-copyright {
	padding: 1.5rem 1rem;
}
}

table.year-plan {
  border-spacing: 1;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
}
table.year-plan * {
  position: relative;
	vertical-align: middle;
}
table.year-plan td, table.year-plan th {
  padding-left: 8px;
	
}
table.year-plan thead tr {
  height: 60px;
  background: #C81010;
  color:#FFF;
  font-size: 1rem;
	font-weight: 500;
}

table.year-plan thead tr th:first-child {
  width: 70%;
}

table.year-plan tbody tr {
  height: 48px;
  border-bottom: 1px solid #eee;
}

table.year-plan tbody tr:last-child {
  border: 0;
}
table.year-plan td, table.year-plan th {
  text-align: left;
	padding-left: 1rem
}
table.year-plan td.l, table.year-plan th.l {
  text-align: right;
}
table.year-plan td.c, table.year-plan th.c {
  text-align: center;
}
table.year-plan td.r, table.year-plan th.r {
  text-align: center;
}

@media screen and (max-width: 35.5em) {
  table.year-plan {
    display: block;
  }
  table.year-plan > *, table.year-plan tr, table.year-plan td, table.year-plan th {
    display: block;
  }
  table.year-plan thead {
    display: none;
  }
  table.year-plan tbody tr {
    height: auto;
    padding: 8px 0;
  }
  table.year-plan tbody tr td {
    padding-left: 45%;
    margin-bottom: 12px;
  }
  table.year-plan tbody tr td:last-child {
    margin-bottom: 0;
  }
  table.year-plan tbody tr td:before {
    position: absolute;
    font-weight: 700;
    width: 40%;
    left: 10px;
    top: 0;
  }
  table.year-plan tbody tr td:nth-child(1):before {
    content: "Wydarzenie:";
    text-align: right;
  }
  table.year-plan tbody tr td:nth-child(2):before {
    content: "Termin:";
    text-align: right;
  }
}


.openBtn {
  background: #c81010;
  border: none;
  padding: 1rem;
  cursor: pointer;
  color: #fff;
}

.openBtn:hover {
  background: firebrick;
}

.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 999999 !important;;
  top: 0;
  left: 0;
  background-color: rgb(160,26,26);
  background-color: rgba(160,26,26, 0.9);
}

.overlay-content {
  position: relative;
  top: 46%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
  color: white;
}

.overlay .closebtn:hover {
  color: firebrick;
}

.overlay input[type=text] {
  padding: 1rem;
	border: none;
  float: left;
  width: 80%;
  background: white;
}

.overlay input[type=text]:hover {
  background: #f1f1f1;
}

.overlay button {
  float: left;
  width: 50px;
  padding: 1rem;
  background: #ddd;
  border: none;
  cursor: pointer;
}

.overlay button:hover {
  background: #ccc;
}


.box-left,
.box-right {
	flex: 50%;
	padding: 1rem 0;
}

form {
	padding: 1rem 0;
	line-height: 1.5rem;
}

.news-wrapper input[name=post_password] {
  padding: 1rem;
  background: white;
	border: 1px solid #eee;
}

.news-wrapper input[type=submit] {
  padding: 1rem;
  background: white;
	border: 1px solid #eee;
}

