/* ==========================================================================
   Parafia Rzymskokatolicka pw. św Jana Apostoła i Ewangelisty w Knyszynie
   08.14.2014
   N4K.EU
   #002635 #791532 #D3DADC
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Lato:400,300,700,400italic&subset=latin,latin-ext);

body {
  	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-weight: 400;
	background-color: #fff;
  	font-size: 16px;
  	line-height: 1.428571429;
  	color: #100101;
}


#preloader{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #f0f0f1;
	z-index: 99;
}
#preloader p{
	text-align: center;
	margin-top: 15%;
}
#preloader span{
	padding: 5px;
	display: block;
}
.loading *{-webkit-animation:none!important;-moz-animation:none!important;-ms-animation:none!important;-o-animation:none!important;}


:focus,
:focus::-moz-focus-inner {
   outline: none;
   border: none;
}

a:hover{
	text-decoration: none;
}

.chromeframe{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #FFF;
	background-color: #C00;
	text-align: center;
	border: 0px;
	margin: 0px;
}

.chromeframe a{
	color: #FF0;
}

.chromeframe a:hover{
	color: #FFF;
	border-bottom: 1px dotted #FFF;
}


#header:before,
#header:after,
#main:before,
#main:after

 {
  content: " ";
  display: table;
}

h1, h2, h3, h4, h5, h6{
	font-family: 'Lato', Arial, Helvetica, sans-serif;
	font-weight: 400;
}






/* HEADER
-------------------------------------------------- */

#header{
	background-color: #791532;
	background-image: url(../img/bg-header.png);
	background-repeat: no-repeat;
	background-position: 72% center;
	overflow: hidden;
	font-weight: 300;
}

#header figure {
	position: relative;
	height: 380px;
	display: block;
	float: left;
	width: 45%;
	overflow: hidden;
}

#header figure::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 5px;
	display: block;
	background-image: url(../img/hr_dot.png);
	background-repeat: repeat-y;
	background-position: right top;
	z-index: 10;
	top: 0px;
	right: 0px;
}

#header figure img {
	position: absolute;
	left: 50%;
	margin-left: -460px;
}



#header #logo{
	position: relative;
	height: 220px;
	display: block;
	float: right;
	width: 55%;
	text-align: left;
}


#header #logo h1{
	font-size: 30px;
	color: #fff;
	font-weight: 300;
	text-align: left;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-ms-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
	line-height: 24px;
	padding-left: 40px;
	padding-top: 20px;
}

#header #logo h1 small{
	font-size: 18px;
	display: block;
	color: #FFF;
	font-weight: 300;
}

#header #logo h1 strong{
	font-size: 30px;
	display: block;
	font-weight: 700;
	margin: 10px 0;
}

/*BOX-INFO*/

#box-info {
	position: relative;
	display: block;
	float: right;
	width: 55%;
	text-align: left;
	color: #E4E4E4;
}



#box-info a {
	color: #E4E4E4;
}

#box-info a:hover {
	color: #E4E4E4;
	border-bottom: 1px dotted #E4E4E4;
}

#box-info .info-adres{
	padding-left: 40px;
	position: relative;
}

#box-info .info-adres address{
	padding-left: 25px;
	float: left;
	width: 190px;
	margin-bottom: 0px;
}


#box-info .info-adres:before{
	content: "";
	display: inline-block;
	font-family: "Glyphicons Halflings";
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	position: absolute;
	left: 40px;
	top: 5px;
	}

#box-info .info-adres abbr{
	text-decoration: none;
	margin-right: 10px;
	border: none;
}

#box-info .info-msze{
	padding-left: 40px;
	position: relative;
	clear: both;
	float: none;
	margin-top: 30px;
}
#box-info .info-msze small{
	font-size: 0.8em;
}

#box-info .info-msze::after {
	content: '';
	background-color: #9f4f66;
	display: block;
	height: 1px;
	width: 600px;
	position: absolute;
	left: 40px;
	top: -15px;
}

/*MENU*/


#header #menu{
	position: relative;
	clear: both;
	float: none;
	background-color: #002635;
}

#header #menu:before,
#header #menu:after {
  content: " ";
  display: table;
}


#header #menu:after {
  clear: both;
}


#header #menu > ul{
    clear: left;
    float: left;
    left: 50%;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
}


#header #menu > ul > li{
    display: block;
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: relative;
    right: 50%;
}

#header #menu > ul > li > a{
	font-size: 20px;
	font-weight: 300;
	color: #ccc;
	line-height: 60px;
	text-transform: uppercase;
	display: block;
	-webkit-transition: all 1s ease-out;
	-moz-transition: all 1s ease-out;
	-ms-transition: all 1s ease-out;
	-o-transition: all 1s ease-out;
	transition: all 1s ease-out;
	outline: none;
	text-align: center;
	margin: 0px 15px;
	
}

#header #menu > ul > li > a:hover{
	color: #fff;
}

#header #menu > ul > li.active > a{
	color: #fff;
	font-weight: 700;
}


#header #menu > ul > li > a::before,
#header #menu > ul > li > a::after {
	display: inline-block;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
	-moz-transition: -moz-transform 0.3s, opacity 0.2s;
	transition: transform 0.3s, opacity 0.2s;
}

#header #menu > ul > li > a::before {
	margin-right: 10px;
	content: '[';
	-webkit-transform: translateX(20px);
	-moz-transform: translateX(20px);
	transform: translateX(20px);
}

#header #menu > ul > li > a::after {
	margin-left: 10px;
	content: ']';
	-webkit-transform: translateX(-20px);
	-moz-transform: translateX(-20px);
	transform: translateX(-20px);
}

#header #menu > ul > li > a:hover::before,
#header #menu > ul > li > a:hover::after,
#header #menu > ul > li > a:focus::before,
#header #menu > ul > li > a:focus::after {
	opacity: 1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	transform: translateX(0px);
}




#main{
	margin-top: 40px;
}
#main.index{
	margin-top: 0px;
}


/* INTRODUCTION
-------------------------------------------------- */

#introduction{
	background-color: #f4f4f4;
	text-align: justify;
	margin-bottom: 40px;
}

#introduction figure{
	float: left;	
}
#introduction figure img{
	margin: 40px 40px 40px 0;		
}

#introduction figure figcaption{
	display: none;		
}

#introduction h3{
	margin-top: 80px;
	margin-bottom: 20px;
	font-size: 26px;
	color: #791532;
	line-height: 30px;
}


.special_box{
	margin-bottom: 40px;
}


/* FOOTER
-------------------------------------------------- */

#footer{
	margin-top: 60px;
	display: block;
	clear: both;
	float: none;
}


#footer #copyright{
	text-align: center;
	text-transform: uppercase;
	color: #8A9CA2;
	padding: 40px;
	font-size: 14px;
	background-color: #ebeeef;
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: #d3dadc;
	font-weight: 400;
}

#footer #created{
	text-align: center;
	color: #8A9CA2;
	padding: 15px;
	font-size: 12px;
	background-color: #ebeeef;
	font-weight: 400;
}
#footer #created a{
	color: #8A9CA2;
}

#footer #created a:hover{
	color: #791532;
}


/* SIDEBAR
-------------------------------------------------- */


.nav_sidebar{
	margin-top: 20px;
}
.nav_sidebar li{
	list-style-type: none;
}
.nav_sidebar li a{
	text-transform: uppercase;
	font-weight: 400;
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
	display: block;
	position: relative;
	text-decoration: none;
}
.nav_sidebar li.active a
{
	color: #791532;
	font-weight: 700;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.nav_sidebar li a::after{
	content: '';
	display: inline-block;
	font-family: "Glyphicons Halflings";
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	position: absolute;
	top: 24px;
	right: 0px;
	color: #CCC;
	}


.nav_sidebar li.active a::after{

	color: #791532;
}


.nav_sidebar li a:hover{
	color: #791532;
	text-decoration: none;
}



.nav_sidebar li a:focus {
	outline: none;
	text-decoration: none;
}









.main_header {
	font-size: 24px;
	line-height: 38px;
	color: #002635;
	text-transform: uppercase;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #ebeeef;
	margin: 0px 0 15px 0;
	padding: 0;
}


.main_header a{
	color: #002635;
	text-decoration: none;
	display: block;
	text-transform: uppercase;
	text-align: left;	
}




/* OWL
-------------------------------------------------- */
.caruselNav {
    margin: 0;
    padding: 0;
    position: absolute;
    right: 15px;
    top: 5px;
}
.caruselNav a {
	cursor: pointer;
	display: inline-block;
	height: 26px;
	transition: all 0.3s ease-in-out 0s;
	width: 26px;
	font-size: 24px;
	color: #EBEEEF;
}

.caruselNav a:hover {
	color: #002635;	
}


/* BOX NEWS
-------------------------------------------------- */

.box_news{
	margin-bottom: 30px;	
}

.box_news a{
	display: block;
	text-align: center;
	color: #100101;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	margin: 0 5px 0 5px;
	position: relative;
	overflow: hidden;
}


.box_news a:hover{
	background-color: #990000;
	color: #fff;
}

.box_news a figure{
	overflow: hidden;
	position: relative;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}


.box_news a figure img{
	-webkit-transition: all 2.4s ease-in-out;
	-moz-transition: all 2.4s ease-in-out;
	-ms-transition: all 2.4s ease-in-out;
	-o-transition: all 2.4s ease-in-out;
	transition: all 2.4s ease-in-out;
}
.box_news a:hover figure img{
    transform: rotate(4deg) scale(1.209) ;
    -webkit-transform: rotate(4deg) scale(1.209));
    -moz-transform: rotate(4deg) scale(1.209);
    -o-transform: rotate(4deg) scale(1.209);
    -ms-transform: rotate(4deg) scale(1.209);

}

.box_news a header{
	position: relative;
}


.box_news a header h3{
	font-size: 18px;
	text-transform: uppercase;
	color: #002635;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	background-color: #f1f1f1;
	margin: 0px;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	height: 120px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #D3DADC;
	z-index: 2;
	position: relative;
	width: 600px;
	padding-top: 0;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 50px;
}

.box_news a:hover header h3{
	color: #fff;
	background-color: #791532;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #002635;
}



.box_news a header:before{
	content: '';
	background-color: #EBEEEF;
	display: block;
	height: 30px;
	width: 30px;
	position: absolute;
	right: 15px;
	top: -15px;
	z-index: 2;
	-ms-transform: rotate(45deg); /* IE 9 */
	-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
	transform: rotate(45deg);
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	
}

.box_news a:hover header:before{
	background-color: #791532;
}



.box_news a header time{
	text-transform: uppercase;
	color: #fff;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	position: absolute;
	top: 0;
	left: 0px;
	text-align: center;
	z-index: 3;
	font-weight: 700;
	background-color: #791532;
	height: 120px;
	width: 40px;
	padding-top: 40px;
}


.box_news a:hover header time{
	background-color: #002635;
}



.box_news a header time span.dzien{
	font-size: 22px;
	display: block;
	line-height: 22px;
}
.box_news a header time span.miesiac{
	font-size: 13px;
	display: block;
	line-height: 13px;
}

.box_news a .wstep{
	background-color: #002635;
	background-color: rgba(0, 38, 53, 0.7);
	padding: 20px;
	height: 100%;
	position: absolute;
	z-index: 1;
	left: 0px;
	top: 500px;
	color: #FFF;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	width: 100%;
}
.box_news a:hover .wstep{
	top: 0px;
}







/* BOX GRUPY
-------------------------------------------------- */

#owl-grupy .item{
	margin-right: 5px;
	margin-bottom: 40px;
}

.list_group .item a figure{
	border: 2px solid #EBEEEF;
	padding: 36px 0;
	overflow: hidden;
	position: relative;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.list_group .item a:hover figure{
	border: 2px solid #791532;
}

.list_group .item a figure:before{
	content: '';
	background-color: #EBEEEF;
	display: block;
	height: 30px;
	width: 30px;
	position: absolute;
	right: 15px;
	bottom: -15px;
	-ms-transform: rotate(45deg); /* IE 9 */
	-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
	transform: rotate(45deg);
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.list_group .item a:hover figure:before{
	background-color: #791532;
}



.list_group .item a figure img{
  display: block;
  height: auto;
  max-width: 100%;
}

.list_group .item a h3{
	font-size: 14px;
	text-transform: uppercase;
	color: #002635;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	height: 105px;
	width: 480px;
	padding: 10px;
	background-color: #ebeeef;
	position: relative;
	z-index: 3;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #D3DADC;
}


.list_group .item a:hover h3{
	background-color: #791532;
	color: #FFF;
	border-bottom-color: #002635;
}

/* BOX POLECAMY
-------------------------------------------------- */


#owl-recommend{
	padding: 0px 0px 20px 0px;
}


#owl-recommend .item{
    margin: 3px;
}

#owl-recommend .item img{
    display: block;
    width: 100%;
    height: auto;
}


/* LIST EVENT
-------------------------------------------------- */

.list_event{
	margin: 0 0 40px 0;
	padding: 0px;
}
.list_event li{
	margin: 0px;
	list-style-type: none;
	position: relative;
	background-color: #EBEEEF;
}

.list_event li .czas{
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	height: 80px;
	width: 200px;
	background-color: #002635;
	float: left;
	color: #FFF;
	padding-top: 28px;
	position: relative;
}

.list_event li .dwiedaty{
	padding-top: 17px;
}


.list_event li .czas:before {
  background-color: #002635;
  content: "";
  display: block;
  height: 30px;
  position: absolute;
  right: -15px;
  top: 25px;
 	-ms-transform: rotate(45deg); /* IE 9 */
	-webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
	transform: rotate(45deg);
  transition: all 0.4s ease-in-out 0s;
  width: 30px;
  z-index: 2;
}

.list_event li .opis{
	text-align: left;
	vertical-align: middle;
	display: table-cell;
	padding: 20px 20px 20px 40px;
	height: 80px;
}

/* BOX GALLERY
-------------------------------------------------- */



.gallery_box a{
	text-decoration: none;
	display: block;
	position: relative;
	margin-bottom: 40px;
	overflow: hidden;
}

.gallery_box a::before {
	content: "";
	margin-left: -50px;
	margin-top: -70px;
	position: absolute;
	left: 50%;
	top: -300%;
	display: block;
	font-family: "Glyphicons Halflings";
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	font-size: 100px;
	color: rgba(15, 27, 23, 0.5);
	z-index: 10;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}


.gallery_box:hover a::before {
	left: 50%;
	top: 50%;
}


.gallery_box a figure img{
    display: block;
    width: 100%;
    height: auto;
}



.gallery_box a figure figcaption{
	font-size: 14px;
	text-transform: uppercase;
	color: #FFFFFF;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	min-height: 80px;
	width: 100%;
	padding: 20px;
	background-color: #002635;
	background-color: rgba(15, 27, 23, 0.5);
	position: absolute;
	z-index: 3;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #791532;
	left: 0px;
	bottom: 0px;
	margin: 0px;
}


.gallery_box a:hover figure figcaption{
	background-color: #791532;
	color: #FFF;
	border-bottom-color: #002635;
}


/* GALLERY
-------------------------------------------------- */


#box_news.box_gallery article a {
  height: auto;
}
#box_news.box_gallery article  header {
	height: 150px;
}

#box_news.box_gallery article  header h1 {
	height: 150px;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	width: 480px;
}

#box_news.box_gallery article a:hover header h1{
	color: #fff;
}


#box_news.box_gallery article a header time{
	position: absolute;
	top: -55px;
	right: 5px;
}

#box_news.box_gallery  article a:hover header time{
	position: absolute;
	top: -65px;
	right: 4px;
}





/*
#list_gallery > article > a {
	display: block;
	position: relative;
	margin-bottom: 30px;
}



#list_gallery > article > a > figure  {
	overflow: hidden;
	position: relative;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}


#list_gallery > article > a:hover > figure{
}

#list_gallery > article > a > figure img{
	-webkit-transition: all 2.4s ease-in-out;
	-moz-transition: all 2.4s ease-in-out;
	-ms-transition: all 2.4s ease-in-out;
	-o-transition: all 2.4s ease-in-out;
	transition: all 2.4s ease-in-out;
}

#list_gallery > article > a:hover > figure img{
    transform: rotate(4deg) scale(1.209) ;
    -webkit-transform: rotate(4deg) scale(1.209));
    -moz-transform: rotate(4deg) scale(1.209);
    -o-transform: rotate(4deg) scale(1.209);
    -ms-transform: rotate(4deg) scale(1.209);

}


#list_gallery > article > a > figure > figcaption {
	font-family: 'Marcellus SC', Arial, Helvetica, sans-serif;
	background-color: rgba(0,0,0,0.7);
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	margin: 10px;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	font-size: 18px;
	font-style: normal;
	width: 70%;
	
}



#list_gallery > article > a > time{
	font-family: 'Marcellus SC', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #fff;
	padding: 5px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	background-color: #900;
	height: 45px;
	width: 45px;
	position: absolute;
	bottom: 20px;
	right: 20px;
	-webkit-border-radius: 6px;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius: 6px;
	-moz-border-radius-bottomright: 0;
	border-radius: 6px;
	border-bottom-right-radius: 0;
	text-align: center;
}

#list_gallery > article > a:hover > time{
	padding: 10px;
	height: 55px;
	width: 55px;
	position: absolute;
	bottom: 30px;
	right: 20px;
}


#list_gallery > article > a > time span.dzien{
	font-size: 22px;
	display: block;
	line-height: 22px;
}
#list_gallery > article > a > span.miesiac{
	font-size: 13px;
	display: block;
	line-height: 13px;
}



*/












.list_foto{
	padding: 0px;
	margin-top: 40px;
	margin-bottom: 20px;
}

.list_foto li{
	list-style-type: none;
	margin-bottom: 20px;
}

.list_foto li a{
	border: 10px solid #F0F0F0;
	display: block;
}



/* NEWS
-------------------------------------------------- */


.news {
	position: relative;
}

.news header{
	text-align: center;
	background-color: #002635;
	background-color: rgba(0, 38, 53, 0.8);
	position: absolute;
	top: 10px;
	left: 0;
	width: 100%;
}

.news header .news_title{
	font-size: 26px;
	color: #FFF;
	padding: 15px;
	margin: 0 15px;
}


small.ad{
	color: #666;
	display: block;
	margin-top: 0px;
	padding-top: 5px;
}

.meta-info{
	font-size: 12px;
	color: #999;
}


.news figure{
	/*margin-top: 20px;*/
}



.news figure figcaption{
	font-size: 14px;
	font-style: italic;
	color: #999;
	text-align: right;
	display: block;
}

.articleBody{
	clear: both;
	float: none;
	margin-bottom: 60px;
	padding-top: 20px;	
	text-align: justify;
}
.articleBody img{
	border: 10px solid #f0f0f0;
}

.tx ol li{
	margin-bottom: 5px;
}

.tx ul li{
	margin-bottom: 5px;
}





/* PAGES
-------------------------------------------------- */

/*
.pages > article > header,
.pages > section > header
 {
	margin: 0 0 5px 0;
	padding-bottom: 0px;
	font-size: 36px;
	text-transform: uppercase;
	border-bottom: 4px solid #350404;
	text-align: right;
	display: block;
	color: #069;
	position: relative;
	z-index: 2;	  /*margin-left: 15px;
	  margin-right: 15px;

}

.pages > article > header > h1,
.pages > section > header > h1 {
	margin: 0 0 5px 0;
	line-height: 46px;
	z-index: 2;
	background: url("../img/bg.png") repeat scroll center center #350404;
	color: #fff;
	font-size: 22px;
	text-align: center;
 
}	
*/		
	
}


*/
/*
.pages article header:after

 {
	font-family: 'Marcellus SC', Arial, Helvetica, sans-serif;
	font-weight: 400;
	content: " W IMIĘ OJCA\A I SYTNA\A I DUCHA\A ŚWIĘTEGO";
	font-size: 66px;
	white-space: pre;
	color: #CCC;
	width:600px;
	position: absolute;
	z-index: 0;
	top: 0px;
	right: 0px;
	height: 300px;
	line-height: 66px;
	text-align: right;
}

*/



.lead {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4em;
	margin-bottom: 20px;
}

.foto{
	border: 5px solid #EEE;
}



.tags{
	font-size: 12px;
	color: #999;
	margin-top: 20px;
}

/* list_group
-------------------------------------------------- */

.list_group a {
	margin-bottom: 30px;
	display: block;
}

.list_group a figure{
	border: 10px solid #F0F0F0;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.list_group a:hover figure{
	border: 10px solid #900;
}

.list_group a h3{
	background-color: #F0F0F0;
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	height: 200px;
	width: 480px;
	padding: 15px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.list_group a:hover h3{
	background-color: #900;
	color: #FFF;
}


/* priests_box
-------------------------------------------------- */
.priests_box{
	clear: both;
	float: none;
	margin-bottom:30px;
}
.priests_box figure{
	float: left;
	margin-right: 20px;
	margin-top: 20px;
}

.priests_box .infos{
	display: block;
	float: left;
}




/* list_sacraments
-------------------------------------------------- */
.list_sacraments  {
	margin: 5px 0 0 0;
	padding: 0px;	
}


.list_sacraments li {
	list-style-type: none;
	margin-bottom: 5px;
}

.list_sacraments li a{
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.list_sacraments li a .glyphicon{
	margin-right: 5px;
}



.list_sacraments li a:hover{
	color: #002635;

}






/*breadcrumb*/


.breadcrumb {
	background-color: #FFFFFF;
	border-radius: 4px;
	list-style: none outside none;
	margin-bottom: 0px;
	padding: 0;
	font-size: 12px;
	color: #002635;
	position: relative;
	top: -10px;
}

.breadcrumb a {
	color: #002635;
}
.breadcrumb a:hover {
	color: #791532;
	text-decoration: none;
}

.breadcrumb > .active {
	color: #999;
}

.breadcrumb > li + li:before {
	color: #999;
	content: "/ ";
	padding: 0 5px;
}



 /* PAGINATION */

.stronicowanie {
	display: block;
	clear: both;
	float: none;
	margin-top: 10px;
	padding: 0 15px;
}
 
 /*pagination js*/
  .holder {
	margin: 15px 0 40px 0;
	text-align: center;
  }

  .holder a {
	font-size: 14px;
	cursor: pointer;
	color: #002635;
	border: 1px solid #CCC;
	padding: 5px 10px;
	margin: 0 2px 0 5px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }

  .holder a:hover {
	background-color: #002635;
	color: #fff;
	text-decoration: none;
  }



  .holder a.jp-current, a.jp-current:hover {
	background-color: #791532 !important;
	color: #fff;
  }

  .holder a.jp-disabled, a.jp-disabled:hover {
	color: #002635;
  }

  .holder a.jp-current, a.jp-current:hover,
  .holder a.jp-disabled, a.jp-disabled:hover {
    cursor: default;
    background: none;
  }

  .holder span { margin: 0 5px; }




/*group_item*/

.group_item header{
	margin-bottom: 40px;	
}

.group_item figure img{
	border: 5px solid #F0F0F0;
}
/*

.group_item{
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
}

.group_contact {
	display: inline-block;
	margin: 0 10px 0 5px;
}

.group_contact .glyphicon {
	color: #666;
}


*/



#map-canvas, #map_canvas {
	width: 100%;
	height: 335px;
	margin-top: 20px;
	margin-bottom: 40px;
	border: 10px solid #F3F3F3;
}

address p {
	text-indent: 0!important;
	text-align: left!important;
}

#form {
	color: #333;
	text-decoration: none;
}


/* FORM */

label.req:after {
    color: #C00;
    content: "*";
    margin-left: 2px;
}

label.error {
	font-weight: normal;
	color: #B5204D;
	font-size: 12px;
	text-align: center;
	display: block;
}

input.error,
textarea.error
 {
	border-color: #BC1010 !important;
	background-color: rgba(204,0,0,0.02);
}


input.error:focus,
textarea.error:focus
 {
  border-color: #BC1010 ;
  border: 1px solid #BC1010!important;
/*  
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392 !important;
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392 !important;
*/	
  
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
	
	  
}
.form-control:focus {
	border-color: #666666;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(153, 153, 153, 0.6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(153, 153, 153, 0.6);
}




.alerty_noscript{}



/*nav_group*/
.nav_group{
	margin: 40px 0 0 0;
	padding: 0px;
}

.nav_group li{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
}

.nav_group li a{
	padding: 5px  10px;
	display: block;
	font-size: 18px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.nav_group li a:hover{
	color: #FFF;
	background-color: #791532;
}

.nav_group li.active a{
	color: #FFF;
	background-color: #002635;
}




/* Large devices */
@media (min-width: 1200px) { 
.priests_box .infos{width: 600px;}
/*	
	#box_news .news_box_smail a{
		margin-bottom: 20px;
		min-height: 150px;
	}
	#header #menu > ul{
		display: block !important;
	}*/

}

/* Medium devices */
@media (min-width: 992px) and (max-width: 1199px) {
	
	#header{background-position: 95% center;}
	#box-info .info-msze::after {width: 480px;}
	#header #menu > ul > li > a{margin: 0px;}
	#owl-grupy {width: 620px;}
	#owl-grupy .item a figure {padding: 19px 0;}
	.priests_box .infos{width: 370px;}		
}



/* Small devices */
@media (min-width: 767px) and (max-width: 991px) { 
	#header #menu > ul > li > a{font-size: 16px; margin: 0px;}
	#header #menu > ul > li > a:after {margin-left: 8px;}
	#header #menu > ul > li > a::before {margin-right: 8px;}
	#introduction h3 {font-size: 22px; line-height: 26px; margin-bottom: 20px; margin-top: 40px;}
	.priests_box figure img{width: 120px;}
	.priests_box .infos{width: 300px;}

	
	
}



@media (max-width: 991px) {
	#header{background-position: 95% 10px;  background-size:300px}
	#box-info, #box-info:before, #header figure, #header figure:before {display: none;}
	#header #logo {float: none; height: 150px; text-align: center; width: 100%;}

}

/* Extra small devices */
@media (max-width: 767px) {
	
#header{
	margin-bottom: 40px;
}
#showmenu{
	position: absolute;
	top: -150px;
	right: 30px;
	font-size: 30px;
	color: #FFF;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	outline:none;
}

#showmenu:hover{
	color: #fff;
}	
	



#header #menu{
	position: relative;
	z-index: 2;
	background: none;
	height: auto;
	margin: 0;
	top: 0px;
}


#header #menu:before{
	display: none;
}

#header #menu > ul{
	float: none;
	display: none;
}

#header #menu > ul{
	clear: both;
	float: none;
	left: 0;
	list-style: none outside none;
	margin: 0;
	padding: 20px 0;
	position: relative;
	text-align: center;
	background: #002635;
}


#header #menu > ul > li{
    display: block;
    float: none;
    list-style: none outside none;
    margin: 0;
    padding: 0;
    position: relative;
    right: 0;
}

#header #menu > ul > li > a{
	font-size: 20px;
	line-height: 36px;
	margin: 0px;
}


#header #menu > ul > li.active > a:after
{
	display: none;
}


#header #menu > ul > li > a:hover
{
	color: #fff;
	background-color: rgba(255, 255, 255, 0.5);
	background-color: rgba(255, 255, 255, 0.5);
}


#introduction, #gallery_module{
	display: none;
}


.news header{
	text-align: left;
	background-color: #fff;
	position: relative;
	top: 0px;
	left: 0;
	width: 100%;
}

.news header .news_title{
	color: #002635;
	padding: 0;
	margin: 20px 0 10px 0;
}


.articleBody img{
	border: none;
	display: block;
  width: 100% \9;
  max-width: 100%;
  height: auto;
}


}
@media (max-width: 599px) {
	
	.box_news, .gallery_box  {
		clear: both;
		float: none;
		width: 100%;
	}
}

@media (max-width: 479px) {
	
#header #logo h1{
	font-size: 28px;
	line-height: 24px;
	padding-left: 20px;

}

#header #logo h1 small{
	font-size: 18px;
	display: block;
	color: #FFF;
	font-weight: 300;
}

#header #logo h1 strong{
	font-size: 28px;
	line-height: 28px;
	display: block;
	font-weight: 700;
	margin: 10px 0;
}

#showmenu{
	position: absolute;
	top: -160px;
	right: 20px;
	font-size: 30px;
	color: #FFF;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	outline:none;
}


.box_news {
	clear: both;
	float: none;
	width: 100%;
}




/*

.pages > article > header,
.pages > section > header {
	margin-bottom: 20px;
}

.pages > article > header > h1,
.pages > section > header > h1 {
	line-height: 22px;
	font-size: 22px;
}

.pages h2 {
	line-height: 24px;
	font-size: 22px;
}

.breadcrumb{
	display: none;
}

.tx{
	text-align: left;
}
.group_item figure {display: none;}

.jp-first, .jp-previous, .jp-next, .jp-last {display: none;}
*/
}