/*global*/
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900|Lora:400,700&subset=latin-ext');

* {
	box-sizing: border-box;
}

body {
	position: relative;
	margin: 0;
	padding: 0;
	line-height: 1.6;
	font-family: Lato, sans-serif;
	color: #231f20;
	font-size: 16px;
}

img {
	max-width: 100%;
}

a {
	color: #231f20;
	text-decoration: none;
}

h3 {
	font-family: serif;
	font-size: 26px;
	font-weight: normal;
	line-height: 1.3;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

ul.social-media {
	padding: 0;
	list-style-type: none;
	float: left;
}

ul.social-media li{
	display: inline-block;
	margin: 0 15px;
}

ul.social-media li img {
	margin-left: 0 !important;
}

/*lewa kolumna - logo */
#left-col {
	position: fixed;
	top: 62px;
	left: 0;
	height: Calc(100% - 62px);
	width: 320px; /*17%;*/
	background: #ccc;
}

#left-col .logo {
	padding: 20px;
}

#burger {
	display: none;
}

#left-col .menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#left-col .menu ul li {
	display: block;
	margin: 0;
	padding: 0;
}
#left-col .menu li > div {
	margin: 15px 0;
	padding: 0 30px 0 35px;
	line-height: 1.2;
	text-align: left;
	transition: all .3s;
}
#left-col .menu > ul > li > ul > li > div {
	padding: 0 30px 0 45px;
}
#left-col .menu > ul > li > ul > li > ul > li > div {
	padding: 0 30px 0 55px;
}

#left-col .menu li.active > div {
	background: rgba(255,0,0,0.5); /*red;*/
}

#left-col .menu li:not(.active):hover > div {
	box-shadow: inset 50px 0 0 rgba(255,0,0,0.5), inset  -100px 0 0 rgba(255,0,0,0.5);
	transition: all .5s;
}

#left-col .menu li a {
	display: inline-block;
	color: #231f20;
	font-size: 18px;
	font-weight: normal; /*900;*/
	background: #ccc;
	padding: 6px 15px;
	position: relative;
}

#left-col .menu li.active a:before {
	content: url(/_img/_templates10/menu_on_lewa.png);
	display: block;
	position: absolute;
	left: -15px;
	top: 4px;
}

#left-col .menu li.active a:after {
	content: url(/_img/_templates10/menu_on_prawe.png);
	display: block;
	position: absolute;
	right: -15px;
	top: 4px;
}

/*gÄ‚Â…Ã¢Â€ÂšÄ‚ÂƒÃ‚Å‚wna kolumna */

#main-col {
	width: Calc(100% - 320px); /*83%;*/
	left: 320px; /*17%;*/
	position: relative;
}

#nav-bar {
	background: #fff;
	color: #231f20;
	padding: 1px 10px;
	text-align: right;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}
#nav-bar.shadow {
	-webkit-box-shadow: 0px 2px 5px 0px rgba(68,68,68,0.5);
	-moz-box-shadow: 0px 2px 5px 0px rgba(68,68,68,0.5);
	box-shadow: 0px 2px 5px 0px rgba(68,68,68,0.5);
}

#nav-bar ul, #nav-bar ul li {
	display: inline-block;
}

#main-col ul.social-media {
	float: left;
}

#nav-bar ul li {
	margin: 0 15px;
}

#nav-bar ul li img {
	margin-left: 10px;
	position: relative;
	top: 5px;
}

#nav-bar a {
	color: #231f20;
	text-transform: lowercase;
	font-size: 14px;
}

#main-col header {
	height: Calc(60vh - 62px); /*Calc(100vh - 62px);*/
	position: relative;
	top: 62px;	
}

#main-col .swiper-slide {
	position: relative;
}

#main-col .swiper-slide img {
	object-fit: cover;
	min-width: 100%;
	min-height: 100%;
}

#main-col .swiper-slide .slide-desc {
	position: absolute;
	color: transparent;
	bottom: 0;
	right: 100px;
	font-size: 48px;
	padding: 15px  40px;
	max-width: 58%;
	width: 58%;
	line-height: 1.3;
	font-family: Lora;
	z-index: 9;
}

.swiper-background {
	position: absolute;
	bottom: 0;
	right: 100px;
	background: rgba(255,255,255,0.65);
	width: 58%;
	z-index: 1;
	color: #231f20;
	font-size: 48px;
	padding: 15px  40px;
	line-height: 1.3;
	font-family: Lora;
}

.swiper-background span {
	display: block;
}
.swiper-background span > a {
	color: #231f20;
}

.swiper-button {
	background-image: none;
	width: 100px;
	background: rgba(255,255,255,0.65);
	text-align: center;
	position: absolute;
	bottom: 0;
	top: auto;
	margin: 0;
	left: auto;
	transition: all .1s;
}

.swiper-button:hover {
	background: #242021;
	transition: all .3s;
}

.swiper-button img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#main-col .swiper-container .swiper-button-prev {
	right: Calc(58% + 100px);
}

#main-col .swiper-container .swiper-button-next {
	right: 0;
}

/*posty pod naglowkiem*/

.content-wrapper, .content-wrapper-bcg {
	background-color: #fff;
	padding-right: 40px;;
}

.content-wrapper-bcg {
	background-image: url(/_img/_templates10/wzorek.jpg);
}

#posts {
	padding: 60px 0 20px 0;/*100px 0;*/
}

#posts .post {
	width: 30%;
	margin: 20px 1.5%;
	float: left;
	padding: 10px;
	/*min-height: 310px;*/
}

#posts .post .thumbnail {
	/*min-height: 233px;*/
}

#posts .post-date {
	color: #999999;
	font-family: Lato;
	font-size: 16px;
}

#posts h3 {
	/*min-height: 156px;*/
	height: 67px;
	overflow: hidden;
	margin-bottom: 5px;
	font-family: Lora;
	font-size: 24px;
	color: #231f20;
	margin-top: 5px;
}
#posts h3 a {
	color: #231f20;
}

/* grid z postami */

#categorized {
	padding: 50px 0 50px 50px;
}

#categorized .column {
	width: 25%;
	float: left;
	margin: 0 auto;
}

#categorized .column .column-header {
    color: #fff;
    font-size: 20px;
    padding: 15px;
    font-family: Lora;
    line-height: 1.3;
    min-height: 100px;
    text-align:center;
    display: flex;
    justify-content: center;
    align-items: center;	
}

#categorized .col1 .column-header {
	background: #FCB203;
}

#categorized .col2 .column-header {
	background: #FDCC33;
}

#categorized .col3 .column-header {
	background: #8FD43D;
}

#categorized .col4 .column-header {
	background: #348fd5;
}

#categorized .col-post {
	background: #fff;
	margin: 20px 10px;
	padding: 28px;
	color: #231f20;
}

#categorized .column .col-post:last-child {
	margin-bottom: 10px;
}

#categorized .col-post .col-date {
	color: #999999;
	font-size: 12px;
	font-family: Lato;
	margin: 5px 0;
}

#categorized .col-post h4 {
	font-family: Lora;
	font-weight: normal;
	line-height: 1.2;
	font-size: 15px;
	margin: 0;
	min-height: 36px;
}

#categorized .col-post h4 a {
	color: #000000;
}

#categorized .col-thumbnail {
	width: 100%;
	position: relative;
	max-width: 100%;
	margin-bottom: 10px;
}

#categorized .col-thumbnail > a {
	display: block;
}

#categorized .col-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* najnowsze wydania */

#released {
	padding: 60px 0 60px 45px;
	text-align: center;
}

#released h2 {
	font-size: 30px;
	font-weight: normal;
	font-family: Lora;
	position: relative;
	padding: 0 15px;
	color: #231f20;
	text-align: left;
}

#released h2:before {
	content: url(/_img/_templates10/kwartalnik_naglowek_lewa.png);
	display: inline-block;
	position: relative;
	top: 14px;
}

#released h2:after {
	content: url(/_img/_templates10/kwartalnik_naglowek_prawa.png);
	position: relative;
	display: inline-block;
	margin-left: 8px;
	top: 15px;
}

#released .magazine {
	border: 1px solid #aaa;
	float: left;
	vertical-align: top;
	margin: 20px 1%;
	width: 278px;
	height: 359px;
	display: inline-block;
}

#released .magazine img {
	object-fit: cover;
	margin: 0;
	display: block;
}

#released .magazine.subscription {
	padding: 40px;
	word-break: break-word;
	hyphens: auto;
	position: relative;
}

#released .magazine.subscription .vertical-align {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	left: 0;
	padding: 0 35px;
}

#released .magazine.subscription h3{
	margin: 0;
	font-size: 24px;
	color: #231f20;
	font-family: Lora;
	margin-bottom: 30%;
}

#released .magazine.subscription .btn {
	display: block;
	background: red;
	padding: 10px;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	top: 30%;
	position: relative;
	font-family: Lato;
	margin-top: 30%;
}

#released .magazine .my_title {
	color: #000000;
	font-family: Lora;
	font-weight: normal;
	line-height: 1.2;
	font-size: 15px;
	margin: 10px 5px;
}

/*stopka*/

footer {
	background: #231f20;
	font-size: 13px;
	padding: 50px;
	font-size: 14px;
	color: #ccc;
	font-family: Lato;
}

.footer-col {
	width: 20%;
	float: left;
	padding: 10px;
}

.footer-col:nth-child(1) {
	width: 15%;
}

.footer-col:nth-child(2) {
	width: 36%;
}

.footer-col:nth-child(3) {
	width: 20%;
} 
.footer-col:nth-child(4) {
	width: 165px;
}
.footer-col:nth-child(5) {
	width: 110px;
}
/*
@media(max-width: 1410px) {
	footer .footer-col {
		width: 80% !important;
		float: none;
		clear: both;
	}
}
*/
/* media queries */
@media(min-width: 1151px) {
	
	@media(max-width: 1300px) {
		#left-col .menu li {
			padding: 0 25px 0 20px;
		}
		
		#released .magazine.subscription {
			padding: 25px;
		}
	}

	@media(max-width: 1330px) {
		#released .magazine {
			margin: 20px 5px;
			width: 170px;
    		height: 219px;
		}
	}
}

@media(min-width: 1300px) {
	
}

@media(min-width: 1330px) {
	#released .magazine {
		width: 200px;
    	height: 259px;
	}
}

@media(min-width: 1450px) {
	#categorized .column .column-header {
		font-size: 24px;
		text-align:center;
	}
}

@media(min-width: 1600px) {
	#posts .post .thumbnail {
		min-height: 233px;
	}
}

@media(min-width: 1850px) {
	#released .magazine {
		width: 278px;
    	height: 359px;
	}
}

@media(max-width: 1280px) {
	#categorized .column {
		width: 50%;
	}

	#categorized .column .column-header {
		font-size: 24px;
	}
	
	footer .footer-col {
		width: 50% !important;
		
	}
}

@media(max-width: 1150px) {
	
	
	#left-col {
		position: relative;
		width: 100%;
		height: auto;
		transition: all .3s;
		overflow: hidden;
		padding-bottom: 15px;
		top: 0;
	}
	
	#nav-bar {
		position: relative;
	}
	
	#left-col  .logo {
		max-height: 100px;
		display: inline-block
	}
	
	#left-col .logo img {
		max-height: 100px;
	}
	
	#burger {
		display: block;
		width: 30px;
		float: right;
		right: 20px;
		position: relative;
		top: 60px;
		text-align: right;
		cursor: pointer;
	}
	
	#burger span {
		height: 3px;
		background: #222;
		display: block;
		margin: 5px 0;
		position: relative;
		transition: all .3s;
		top: 0;
	}
	
	#burger span:nth-child(2) {
		width: 15px;
		left: 15px;
	}
	
	#burger span:nth-child(3) {
		width: 25px;	
		left: 5px;
	}
	
	#burger.active span:nth-child(1) {
		transform: rotateZ(45deg);
		top: 8px;
		transition: all .3s;
	}
	
	#burger.active span:nth-child(2) {
		opacity: 0;
		transition: all .3s;
	}
	
	#burger.active span:nth-child(3) {
		transform: rotateZ(-45deg);
		top: -8px;
		width: 30px;
		left: auto;
		transition: all .3s;
	}
	
	#left-col .menu {
		display: none;
	}
	
	#main-col {
		width: 100%;
		left: 0;
	}
	
	#main-col header {
		top: 0;
	}

	.content-wrapper, .content-wrapper-bcg {
		padding-right: 0%;
	}
	
	#categorized {
		padding: 30px 30px;
	}
	
	#categorized .column .col-post {
		min-height: 310px;
	}
	
	#released {
		padding: 60px 20px;
	}
	
	#released .magazine {
		width: 200px;
		height: 258px;
	}

	
}

@media(max-width: 992px) {
	
	
	#categorized .column .column-header {
		font-size: 24px;
	}
	
	#main-col .swiper-slide .slide-desc, .swiper-background {
		font-size: 30px;
	}
	
	#categorized .column .col-post {
		min-height: 390px;
	}
	
	#categorized .column .col-thumbnail {
		height: auto;
	}
	
	#categorized .column .col-thumbnail img {
		position: relative;
		transform: none;
	}

	.slide-desc > a {
		color: transparent !important;
	}

}

@media(max-width: 768px) {
	#nav-bar ul.options {
		padding-left: 0px;
	}
	#main-col .swiper-slide .slide-desc, .swiper-background {
		bottom: auto;
		top: 50%;
		transform: translate(-50%,-50%);
		max-width: 75%;
		width: 75%;
		right: auto;
		left: 50%;
	}
	
	.swiper-background {
		min-height: 50px;
		transition: all .1s;
	}
	
	.swiper-button {
		height: 50px !important;
		bottom: auto;
		top: 50%;
		width: 50px;
		transform: translateY(-50%);
	}
	
	#main-col .swiper-container .swiper-button-prev {
		right: auto;
		left: 0;
	}
	
	#posts .post {
		clear: both;
		float: none;
		width: 80%;
		margin: 0 auto;
		border-bottom: 1px solid #ccc;
	}
	
	#posts .post h3 {
		height: auto;
		min-height: auto;
		margin-bottom: 20px;
	}
	
	#categorized .column {
		width: 90%;
		float: none;
		clear: both;
	}
	
	#categorized .column .col-post {
		min-height: auto;
	}
	
	#released h2 {
		padding: 0;
	}
	
	#released .magazine {
		margin: 10px 20px;
		float: none;
		clear: both;
		display: inline-block;
	}

	footer .footer-col {
		width: 80% !important;
		float: none;
		clear: both;
	}
	
}

@media(max-width: 605px) {
	.options span {
		display: none;
	}
}


/* NOWE */

#main-col .swiper-slide .slide-desc > a {
	color: #ccc;
	/* font-size: 48px; */
	/* line-height: 1.3; */
	font-family: Lora;
}

/* podstrona */
.page_container {
	margin: 0 15px 40px 15px;
}
h1.page_title {
	line-height: 1.2em;
	font-size: 32px;
	font-family: Lora;
}

.page_container h1.longtitle{
	
		font-size: 24px;
}


.page_header_block {
    padding: 0;
    text-align: center;
    position: relative;
    background-color: #fff;
    min-height: 100px;
    max-height: 400px;
    overflow: hidden;
}
.page_header_hr {
    padding: 0;
    background-color: #ccc;
    height: 1px;
}
@media(min-width: 1150px) {
	.page_container {
		margin: 0px 0 40px 30px;
	}
	body.tpl_29 #main-col {
		padding-top: 62px;
	}
}


.hr_dots {
	height: 1px;
	border-bottom: 1px dotted #ededed;
	margin: 10px 0;
	clear: both;
}

.pagination_menu {
	text-align: center;
}

.pagination_menu span,
.pagination_menu a {
	display: inline-block;
	padding: 3px;
	/*border: 1px solid #c8c8c8;*/
	margin: 3px;
}
.pagination_menu a.active {
	text-decoration: underline !important;
}

.art_title {
    /*font-family: 'Times New Roman';*/
    /*font-size: 15px;*/
    font-weight: bold;
}
.art_date {
    color: #666666;
    font-style: italic;
}

#breadcrumbs {
	margin: 10px 15px;
	color: #868686;
}
#breadcrumbs .my_sign {
	font-weight: bold;
	color: red;
	padding: 0 4px;
}
#breadcrumbs a {
	color: #231f20;
}
@media(min-width: 1150px) {
	#breadcrumbs {
		margin: 10px 30px;
	}
}

/* scrollbar */

.mCSB_1_scrollbar .mCSB_dragger .mCSB_dragger_bar { 
	width: 7px; 
}

/* page */
.page_content {
	/*font-family: Arial;*/
	line-height: 1.3em;
}

.thumbnail {
    position: relative;
}

.full-text {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255,0,0,.5);
    font-size: 12px;
    color:#ffffff;
    text-transform: uppercase;
    padding: 5px;
    z-index: 99;
    display: inline-block;
}

.thumbnail a > img {
    width: 100%;
}

/* nowy slider */

#main-col .header_2021 {
	height: 200px; 
}

@media(min-width: 700px)
{
	#main-col .header_2021 {
		height: auto;
	}
}

.swiper-button {
	display: none;
}

#main-col .swiper-slide .slide-desc, .swiper-background {
	font-size: 16px;
}

@media(min-width: 480px) {
	#main-col .swiper-slide .slide-desc, .swiper-background {
		font-size: 18px;
	}
	.swiper-button {
		display: block;
	}
}
@media(min-width: 768px) {
	#main-col .swiper-slide .slide-desc, .swiper-background {
		font-size: 26px;
	}
}
@media(min-width: 992px) {
	#main-col .swiper-slide .slide-desc, .swiper-background {
		font-size: 32px;
	}
}
@media(min-width: 1200px) {
	#main-col .swiper-slide .slide-desc, .swiper-background {
		font-size: 40px;
	}
}
@media(min-width: 1500px) {
	#main-col .swiper-slide .slide-desc, .swiper-background {
		font-size: 48px;
	}
}