/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: gray;
}

html {
    font-size: 13px;
    line-height: 1.4;
   
   
   
   
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */




/* koniec fontow */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */



/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#bg{
	 background-image:url('../img/bg_normal2.jpg');
   	
    background-position:top center;
    background-repeat:no-repeat;
    position:absolute;
    width: 100%;
    height:100%;
    background-color:white;
}
#bg_index2{
	background-image:url('../img/bg_gory.jpg');
    background-position:top center;
    background-repeat:no-repeat;
    position:fixed;
    top:0px;
    width: 100%;
    height:100%;
    z-index: -1;
    
    
}
.navi{
	font-size:12px;
	text-transform:uppercase;
}

.wrapper{
	position:relative;
	width:900px;
	height:auto;
	min-height:500px;
	margin-left:auto;
	margin-right:auto;
	font-family: 'Open Sans', sans-serif;
	color:#575757;
	margin-bottom:10px;
	
	
}

#plen{
	position:absolute;
	right: 0px;
	top:88px;
	z-index: 9999;
}
#plen_index{
	position:absolute;
	left: 850px;
	top:88px;
	z-index: 9999;
}

.szary_pas{
	width:655px;
	margin:right:30px;
	height:90px;
	background:#eaeaea;
	margin-top:7px;
}
.forma{
	border: none;
	margin-top:5px;
	height:20px;
	width:160px;
}
.guzik{
	margin-top:5px;
	background:red;
	color:white;
	border:none;
	height:20px;
}
.guzik:hover{
	margin-top:5px;
	background:#b9261c;
	color:white;
	border:none;
	height:20px;
}
#newsletter{
	background:red;
	width:205px;
	height:75px;
	padding:10px 0 5px 10px;
	color:white;
	font-size:14px;
	margin-top:7px;
	
}

.tytul{
	font-size:26px;
	font-weight:300;
	color:red;
	line-height:30px;
}
#lewa{
	width:655px;
	padding-right:30px;
	text-align:justify;
}
.reklama_pion{
	text-align:center;
	width:100%;
}
.line_doted{
	margin-top:18px;
	margin-bottom:18px;
	width:100%;
	height:1px;
	border-top:1px dotted #989898;
}
hr {
	display: block;
    height: 2px;
    border: 0;
    border-top: 2px solid #818181;
    margin: 1em 0;
    padding: 0;
	margin-top:18px;
	margin-bottom:18px;
	width:655px;
	
	
}
.line{
	display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #eaeaea;
    margin: 1em 0;
    padding: 0;
	margin-top:18px;
	margin-bottom:18px;
	width:655px;
}

.linka:link{
	text-decoration:none;
	position:absolute;
}
.linka_sub:link, .linka_sub:visited, .linka_sub:active{
	text-decoration:none;
	color:black;
	
}
.linka_sub:hover{
	text-decoration:none;
	color:red;
}
a:link, a:visited, .lina:link, .lina:active, .lina:visited, .lina_czarna:hover {
	text-decoration:none;
	color:red;
}
.lina_czarna:link, .lina_czarna:visited, .lina_czarna:active, .lina:hover, a:hover{
	text-decoration:none;
	color:black;
} 
.menu_active, .menu_active:link, .menu_active:active, .menu_active:visited{
	width:100px;
	padding-top:2px;
	height:24px;
	position:relative;
	font-family: 'Open Sans', sans-serif;
	font-size:13px;
	display:table-cell;
	text-align:left;
	vertical-align:middle;
	line-height: 26px;
	color:red;
	z-index: 900;
	
	
}

.menu_inactive{
	padding-top:2px;
	height:24px;
	position:relative;
	font-family: 'Open Sans', sans-serif;
	font-size:13px;
	display:table-cell;
	text-align:left;
	vertical-align:middle;
	line-height: 26px;
	color:black;
	z-index: 900;
}
.menu_inactive:hover{
	width:167px;
	padding-top:2px;
	height:24px;
	position:relative;
	font-family: 'Open Sans', sans-serif;
	font-size:13px;
	display:table-cell;
	text-align:left;
	vertical-align:middle;
	line-height: 26px;
	color:red;
	z-index: 900;

}


#menu, #menu_en{
    width:1024px;
    list-style: none;
    padding:12px 0 0 0;
    margin:0px;
    z-index: 9990;
    position: relative;
    height:26px;
}

#menu > li, #menu_en > li{
    vertical-align: top;
    display:inline-block;
    margin-left:-4px;
    padding:0px;
    margin:0px;
    width: 100px;
    padding-right:20px;
    height:42px;
}

.sub_menu_inactive{
    position:absolute;
    top:53px;
    margin-left:2px;
    font-size:23px;
    width:236px;
    list-style: none;
    padding:0;
    margin:0px;
    z-index: 9990;
    
    
    display:none;
}

#menu > li:hover .sub_menu_inactive, #menu_en > li:hover .sub_menu_inactive{
    display:block;
}

.sub_menu_inactive > li{
    width:216px;
    position:relative;
    font-family: 'Open Sans', sans-serif;
    font-size:11px;
    text-transform:uppercase;
    display:block;
    text-align:left;
    vertical-align:middle;
    line-height: 30px;
    color:black;
    height:28px;
    font-weight:200;
    background: none;
    padding: 0px 0 2px 20px ;
    background:url('../img/sub_bg.png') no-repeat;
    z-index: 1000;
    
   
}

.sub_menu_inactive > li:hover{
    color:black;
    
}

.sub_menu_inactive > li > a{
    padding-top:2px;
    line-height: 28px;
    display: block;
    text-align: left;
}
.kostak_podpis {
	position:absolute;
	bottom:16px;
	left:16px;
	text-align:left;
	font-weight:600;
	color:#575757;
	
}

.kostka{
	position:relative;
	width:184px;
	height:140px;
	background:white;
	margin:4px;
	color:black;
	padding-top:80px;
	padding-left:16px;
	padding-right:16px;
	font-size:16px;
}
.kostka_tytul{
	position:absolute;
	top:0;
	left:0;
	width:200px;
	height:60px;
	padding: 10px 0 0 16px;
	color:white;
	background:#dc1010;
	font-size:20px;
	font-weight: 300;
}
#kafle{
	margin-top:359px;
}
.reklama{
	width:113px;
	height:106px;
	background:url('../img/reklama.png') no-repeat;
	position:relative;
	margin-right:5px;
	margin-left:5px;
	text-align:center;
	vertical-align: center;
	
	padding-top:10px;
	line-height: 106px;
}

#reklama_bar{
	position:relative;
	margin-top:98px;
	
}
#stopka{
	background:url('../img/blenda.png');
	width:100%;
	height:23px;
	position:relative;
	padding-top:7px;
	color:white;
	bottom:5px;
	font-size:12px;
	z-index: 9000;
}
.input{
	width:400px;
	font-size:16px;
	padding:3px 10px 3px 10px;
	border: 2px solid #e30614;
	-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin-bottom: 5px;
margin-top:5px;
	
}
.przycisk{
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background:#e30614;
		color:white;
		border: 2px solid white;
		padding:3px 10px 3px 10px;
		margin:5px;
		font-size:14px;
}
.przycisk_small{
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		background:#e30614;
		color:white;
		border: 1px solid white;
		padding:2px 4px 2px 4px;
		margin:5px;
		font-size:12px;
}
.przycisk_czerwony_small{
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		background:red;
		color:white;
		border: 1px solid white;
		padding:2px 4px 2px 4px;
		margin:5px;
		font-size:12px;
}
.przycisk_small:hover, .przycisk_czerwony_small:hover {
	background:#1e2128;
		color:white;
}
.przycisk:hover{
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background:#1e2128;
		color:white;
		border: 2px solid white;
		padding:3px 10px 3px 10px;
		margin:5px;
}
.przycisk_czerwony{
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background:red;
		color:white;
		border: 2px solid white;
		padding:3px 10px 3px 10px;
		margin:5px;
		font-size:14px;
}
.przycisk_czerwony:hover{
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		background:#1e2128;
		color:white;
		border: 2px solid white;
		padding:3px 10px 3px 10px;
		margin:5px;
}
.srodek{
	margin-left:auto;
	margin-right:auto;
	width: 900px;
}
#tresc{
	padding:10px 0px 30px 0px;
	width:900px;
	height:auto;
	min-height:581px;
	background:white;
	margin-top:245px;
}
h3 {
	
	font-weight:300;
	color:red;
	font-size:26px;
	line-height:30px;
	padding:0;
	margin:0;
}
h1{
	font-weight:300;
	color:red;
	font-size:18px;
	line-height:20px;
	padding:0;
	margin:0;
}
h5{
	font-weight:400;
	color:red;
	font-size:15px;
	line-height:20px;
	padding:10px;
	margin:10px;
	text-align:center;
}
h4{
	font-weight:400;
	color:red;
	font-size:17px;
	line-height:20px;
	
	
	text-align:left;
}
.like_h4{
	font-weight:400;
	color:red;
	font-size:17px;
	line-height:20px;
	padding-top:0;
	margin-bottom:5px;
}
.black_h4{
	font-weight:400;
	color:#575757;
	font-size:18px;
	line-height:20px;
	padding-top:0;
	margin-bottom:10px;
	text-transform:uppercase;
}
.bulletin_info_cells_right_top, .bulletin_info_cells_left_top{
	font-weight:600;
}
.main_links{
	font-weight:600;
}
.content_lists{
	padding-top:0;
	margin-top:0;
	padding-left:13px;;
	margin-left:0;
	list-style-type:disc;
}
.content_lists li{
	list-style-type:disc;
}

.main_header_text_smaller{
	border-bottom:1px solid #eaeaea;
	width:655px;
	color:red;
	
	
}
.podpunky{
	border-bottom:1px solid #eaeaea;
	width:640px;
	padding-left:13px;
	margin-bottom:5px;
	font-size:20px;
	color:#575757;
	margin-top:25px;
}
	
.personel_title_cells{
	width:550px;
	padding-top:10px;
	padding-bottom:10px;
	
	border-bottom:1px solid #eaeaea;
	text-align:center;
	
}
.personel_image_cells{
	width:120px;
	padding-top:0px;
	padding-bottom:15px;
	vertical-align:top;
	
}
.personel_data_cells{
	width:350px;
	text-align:left;
	padding-right:10px;
	font-size:15px;
	vertical-align:top;
	padding-top:5px;
	font-weight:300;
	text-transform:uppercase;
}
.personel_name_divs{
	text-transform:none;
	color:red;
	font-weight:400;
}
.personel_company_name_divs{
	text-transform:none;
	font-size:12px;
	padding-top:20px;
	color:#575757;
}
.personel_company_name_divs2{
	text-transform:none;
	font-size:12px;
	padding-top:0px;
	color:#575757;
}
.logos_float_right{
	margin-top:13px;
	width:100px;
}
.personel_tables{
	width:655px;
}
.inline_header_span{
	font-weight:300;
	font-size:12px;
	color:#575757;
}
.logo_news{
	position:absolute;
	top:0px;
	right:0px;
	margin-bottom:5px;
	max-width:100px;
	max-height:80px;
	
}

.szary:link, .szary:visited, .szary:active {
	text-decoration:underline;
	color:#575757;
}
.szary:hover{
	text-decoration:underline;
	color:red;
}
#calendar {
		width: 815px;
		margin: 40px auto;
	}
.button_links{
	background:red;
	padding:4px 10px 4px 10px;
	text-decoration:none;
	color: white;
	
}
.button_links:hover{
	background:red;
	padding:4px 10px 4px 10px;
	text-decoration:none;
	color: #575757;
	
}
#powrot{
	position:absolute;
	top:525px;
	right:250px;
}
.special_red_text{
	color:red;
	font-weight:600;
}
 .inline_header_span_event_type{
	color:red;
}
.discount_page_logo_divs{
	width:655px;
	text-align:right;
}
.discount_page_company_headers{
	font-weight:500;
	font-size:24px;
	display:list-item;
	margin-left:20px;
	
}
.zdjecie_aktual{
	padding-top:10px;
	
	max-width:205px;
	max-height:200px;
	padding-right:10px;
}
#lightbox {
    position:fixed; /* keeps the lightbox window in the current viewport */
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:black;
    text-align:center;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
}

#lightbox > #lightbox_content{
    position            :relative;
    
    width               : 600px;
    
    background-color    : white;
    margin-left         : auto;
    margin-right        : auto;
    margin-top          : 20%;
    padding 			:5px;
    
    height:auto;
    text-align:left;
}
#frame {
	position:relative;
	width:auto;
	height:100%;
	border: 1px solid #ddd;
	padding:30px 30px 10px 30px;
}

#scrollTopDiv{
    height  : 124px;
    width   : 64px;
    position: fixed;
    bottom  : 200px;
    right   : -209px;
    background-image: url('../img/top_button.png');
    cursor: pointer;
}
.login_panel{
	border:1px solid red;
	width:200px
	padding:2px 10px 2px 10px;
	margin-bottom:10px;
}
.bold {font-weight:600;
color:black}

p {display: inline;}
.logo, .logo_sponsor{
	max-width:120px;
	max-height:100px;
	margin-right:10px;
}
.logo_wydarzenia{
	max-width:120px;
	max-height:100px;
	margin-right:10px;
	padding-left:400px;
	
}

.logout{
    position:absolute;
    top:20px;
    right:0px;
}
/* cookie */
#cookie-bar {
	border-top:5px solid #fa2805;
	background:white; height:auto; line-height:24px; color:black; text-align:center; padding:3px 0;;
-webkit-box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.64);
-moz-box-shadow:    0px 0px 9px 0px rgba(50, 50, 50, 0.64);
box-shadow:         0px 0px 9px 0px rgba(50, 50, 50, 0.64);
z-index: 9999;
}
#cookie-bar.fixed {position:fixed; bottom:0; left:0; width:100%;z-index: 9999;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a {color:#ffffff; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:black;color:white;border:1px solid black;}
#cookie-bar .cb-enable:hover {background:#ff4200;color:white; border:1px solid white}
#cookie-bar .cb-disable {background:#990000;}
#cookie-bar .cb-disable:hover {background:#bb0000;}
#cookie-bar .cb-policy {background:#0033bb;}
#cookie-bar .cb-policy:hover {background:#0055dd;}




.quote_attribution_text{
	width:650px;
	text-align:right;
	font-weight:600;
}
.styled_quote_text{
	font-weight:600;
	font-style:italic;
}
.galeria_opis{
	float:left;
	margin:20px;
	width:285px;
	height:240px;
	font-size:14px;
	position:relative;
}
.galeria{
	
	width: 285px; height: 210px; 
	overflow: hidden;
	border: 2px solid red;
	
}
.galeria img{
	width: 100%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9990px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}
#members_search_dropdown{}

select {
    padding:5px 0 5px 10px;
    margin: 0;
    
    background: #eaeaea;
    color:black;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    appearance:none;
    cursor:pointer;
    width:auto;
    -webkit-border-radius:0px;
    -moz-border-radius:0px;
    border-radius:0px;
}

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding. */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    select {padding-right:18px}
}

label {position:relative;}
label:after {
    content:'>';
    font:20px "Consolas", monospace;
    color:white;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    transform:rotate(90deg);
    right:6px; 
    top:-5px;
    padding:3px 3px 3px 3px;
   
    position:absolute;
    pointer-events:none;
    
 
}
label:before {
    content:'';
    right:0px; top:-5px;
    width:30px; height:25px;
    background:red;
    position:absolute;
    pointer-events:none;
    display:block;
}

.personel_photos{
	width:125px;
	filter: url("data:image/svg+xml;utf8,<svg%20xmlns='http://www.w3.org/2000/svg'><filter%20id='grayscale'><feColorMatrix%20type='matrix'%20values='0.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200%200%200%201%200'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
filter: grayscale(100%); /* Current draft standard */
-webkit-filter: grayscale(100%); /* New WebKit */
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%); 
-o-filter: grayscale(100%);
filter: gray; /* IE6+ */
}
.staff_photos{
	
	filter: url("data:image/svg+xml;utf8,<svg%20xmlns='http://www.w3.org/2000/svg'><filter%20id='grayscale'><feColorMatrix%20type='matrix'%20values='0.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200.3333%200.3333%200.3333%200%200%200%200%200%201%200'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
filter: grayscale(100%); /* Current draft standard */
-webkit-filter: grayscale(100%); /* New WebKit */
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%); 
-o-filter: grayscale(100%);
filter: gray; /* IE6+ */
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
#brochures_ul li{
	background-image: url('../img/misc/pdf_icon.gif'); 
	background-repeat: no-repeat;
	background-position: left 0px;
	margin-bottom:2px;
	list-style-type: none;
	padding: 0 0 15px 25px;

}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
b{
	font-weight:400;
}
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
        border:none;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    
}
