/*---------------------------------------------
Style header i footer w osobnych plikach.
Kolorystyka:
Rozowy: #d71635
Rozowy ciemny: #ca1d7e
Czarny: #404041
-------------------------------------------*/

* {
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	font-family:'Open Sans', sans-serif;
}
html {
	/* Klasyczny sticky footer */
    min-height:100%;
    position:relative;    
}
body {
	min-width:900px;
		
	margin:0;	
	padding:0;
	font-size:13px;
		
	/* Klasyczny sticky footer */
	margin-bottom:90px;
	background:#f2f2f2;
}
/* SEKCJA WSPOLNA
-------------------------------------*/
button {
	outline:none;
}
a {
	color:#d71635;
	text-decoration:none;
	outline:none;
}
a:hover {
	color:#404041;
}
a img {
	border:0;
}
section {	
	display:block;
	overflow:hidden;
	padding-top:20px;
	min-height:60px;
}
section .headline {
	margin:0;
	margin-bottom:15px;	
	font-weight:bold;
	font-size:24px;
	line-height:29px;
	position:relative;
	padding:3px 0 0 86px;
}
section .backlink {
	display:inline-block;
	background:#d71635;
	color:#fff;
	padding:2px 10px;
	text-decoration:none;
	font-size:14px;
	border-top-right-radius:6px;
	border-bottom-right-radius:6px;
	line-height:29px;	
	margin:0;
	margin-right:10px;
	vertical-align:middle;
	position:absolute;
	top:0;
	left:0;
}
section .backlink:hover {
	background:#d71635;
}
section .backlink:active {
	background-color:#404041;
}
section .desc {
	margin:5px 15px 10px;
	font-size:16px;
	font-weight:normal;
}
section .details {
	display: inline-block;
	background-color: #e8e8e8;
    border-radius: 4px;
    color: #444;    
    font-size: 13px;
    font-weight: normal;
    margin: 0 15px 15px;
    padding: 2px 8px;
}

/* STRONA GLOWNA
-------------------------------------*/
section .album, 
section .album_active {
	position:relative; /*Na potrzeby .album_live*/
	margin-left:15px;
	margin-bottom:15px;
	height:288px;
	padding:10px;/*9px;*//*10-1px na border*/
	float:left;	
	overflow:hidden;
	border-radius:8px;
	
	border-bottom:2px solid #d71635;
}
section .album_active {
	background:#d71635;
	background-repeat:repeat-x;
	color:#fff;
	width:auto;
}
section .album_active .album_live {
	display:none;
}
section .album {
	/* display:none; na potrzeby fadeIn */
	background-color:#eee;
	background-image:url(img/gradient_lightgray.png);
	background-repeat:repeat-x;
	color:#000;	
	width:240px;	
}
section .album_image {
	width:220px;
	height:200px;	
	background-position:center center;
	background-repeat:no-repeat;
	margin-bottom:2px;
}
section .album_image img {
	width:100%;
	height:100%;
}
section .album_title { /*aktywne i nieaktywne*/
	font-size:13px;
	font-weight:bold;	
}
section .album .album_title { /*tylko nieaktywne*/
	text-align:center;
}
section .album_active .album_title {
	white-space:nowrap;
}
section .album_desc {
	font-size:12px;
}
section .album_details {  /*aktywne i nieaktywne*/
	font-family:Verdana;
	font-size:11px;	
	margin-botton:3px;
}
section .album .album_details { /*tylko nieaktywne*/
	color:#d71635;	
	text-align:center;	
}
/* STRONA ALBUMU
-------------------------------------*/
section .thumb {
	background-color:#eee;
	background-image:url(img/gradient_lightgray.png);
	background-repeat:repeat-x;
	float:left;
	margin-left:15px;
	margin-bottom:15px;
	min-height:256px;/*height:256px; test admin */
	padding:10px;	
	overflow:hidden;
	border-radius:6px;	
	color:#000;	
	width:240px;	
}
section .thumb_image {
	width:220px;
	height:200px;	
	background-position:center center;
	background-repeat:no-repeat;
	margin-bottom:4px;
}
section .thumb_author {
	height:11px;
	text-align:center;
	font:9px/11px Verdana;		
	color:#888;	
	margin-bottom:3px;
}
section .thumb_date {
	text-align:center;
	font:9px/11px Verdana;		
	color:#888;	
}
section .thumb_date span {
	color:#d71635;
}
/*section .thumb_filename {*/
	/*text-align:center;*/
	/*vertical-align:middle;*/
	/*height:24px;*/
	/*line-height:24px;	*/
	/*background-color:#ddd;*/
	/*margin-top:6px;*/
/*}*/
section .thumb_filename .dl_option {
	display:inline-block;
	background-color:#d71635;
	color:#fff;
	font-size:10px;
	padding:0 4px;
	float:left;
	margin-right:1px;
}
section .thumb_filename .dl_option:hover {
	background-color:#000;
}
section .thumb_filename .dl_option:active {
	background-color:#404041;
}
section .thumb_filename .bt-cart-add,
section .thumb_filename .bt-cart-delete {
	display:inline-block;	
	color:#fff;
	font-size:10px;
	padding:0 3px;
	float:right;
	cursor:pointer;
	
	width:30px;
	height:100%;	
	background-position:center center;
	background-repeat:no-repeat;
	background-size:16px auto;
}
section .thumb_filename .bt-cart-add {
	background-color:#d71635;
	background-image:url(img/ic_shopping_cart_white_24dp_1x.png);	
}
section .thumb_filename .bt-cart-delete {
	background-color:#888;
	background-image:url(img/ic_remove_shopping_cart_white_24dp_1x.png);
}
section .thumb_filename .bt-cart-add:hover {
	background-color:#000;
}
section .thumb_filename .bt-cart-delete:hover {
	background-color:#666;	
}
section .thumb_filename .bt-cart-add:active,
section .thumb_filename .bt-cart-delete:active {
	background-color:#404041;
}
/* PRZYCISKI ADMINA
-------------------------------------*/
.adminMenu {
	text-align:center;
	background-color:#ddd;
	margin-top:10px;
	padding:2px 0;
	font-size:0;
}
.adminMenu img {
	width:24px;
	height:24px;
	margin:0 6px;	
	opacity:0.5;
	cursor:pointer;
}
.adminMenu img:hover {	
	opacity:1.0;	
}
.adminMenu img:active {
	width:20px;
	height:20px;
	margin:2px 8px;
}
.adminButton {
	display:inline-block;
	width:24px;	
	height:24px;
	margin:0 6px;
	cursor:pointer;
	background-position:0 0;
	background-repeat:no-repaet;
}
.adminButton:hover {
	background-position:0 -24px;	
}
.adminMenu #waitForAction {
    display: inline-block;
    color: #333;
    font-size: 14px;
    height: 24px;
    line-height: 24px;
    margin: 0 6px;
    overflow: hidden;
}

/* PREVKA
-------------------------------------*/
#prev {
	display:none;
	position:absolute;
	z-index:50;
	border:3px solid #fff;
	box-shadow:0 0 10px #222;	
	border-radius:7px;
}
/* POLITYKA COOKIES
----------------------------------------------*/
#cookie_policy {
	font-size:14px;
	line-height:24px;
	padding-left:20px;
	padding-right:20px;
	margin-top:30px;	
}
#cookie_policy ol {	 
	 margin:0;
	text-align: left;
}
#cookie_policy ul {
	list-style:disc;
	padding-left:20px;	
}
/* KONTAKT
----------------------------------------------*/
#contact_page .info_header {		
	font-weight:bold;
	font-size:20px;
	line-height:20px;
	margin-left:20px;
}
#contact_page .info_section {
	font-size:14px;
	line-height:24px;
	margin:20px;	
}
#contact_page .info_section_pink {
	/*background-color:#d71635;*/
	line-height:0;
	padding:0px;
	margin-top:10px;
	width:auto;
}
#contact_page .info_section_pink img {	
	margin-right:10px;
}
#contact_page .info_table_left {
	float:left;
	width:auto;
}
#contact_page .info_table_left .info_section {
	margin-top:0;
}
#contact_page .info_table_right {
	float:left;
	width:auto;
}
#contact_page .info_table_left:after {
	content:'';
	clear:both;
}
#contact_page .info_person_title {
	color:#777;
	margin-bottom:15px;
}


section{
	display: flex;
	flex-wrap: wrap;
}

section .album_image{
	background-repeat: no-repeat;
	height: 400px;
	background-size: cover;
	width: 100%;
}
section .album{
	flex: 1 1 100%;
	height: auto;
}
section .album_active{
	height: auto;
	flex: 1;
}
@media (min-width: 576px) {

}


@media (min-width: 768px) {
	section .album{
		flex: 0 0 48%;
	}
}


@media (min-width: 992px) {
	section .album{
		flex: 1 1 24%;
	}
	section .album_image {
		height: 350px;
	}
}


@media (min-width: 1200px) {
	section .album_image {
		height: 350px;
	}
}