

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

body {
    font-size: 1.5em;
    /*font-family: "Times New Roman", Times, serif;*/
    font-family: "Ubuntu",sans-serif;
}

*:focus {
    border-color: rgba(82,168,236,.8);
    outline: 0;
    outline: thin dotted \9;
    -moz-box-shadow: 0 0 7px rgba(82,168,236,.6);
    box-shadow: 0 0 7px rgba(82,168,236,.6) !important;
}


a {
    color: #333;
}
a:hover, a:focus {
    color: #002c51;
}
h2 a {
    color: #002c51;
}
.tresc h2 a {
    color: #fff;
}
.tresc h2 a:hover,  .tresc h2 a:focus{
    color: #fff;
}
h1 {
    position: absolute; 
    top: -100; 
    z-index: -100; 
    text-indent: -20000px;
    margin: 0;
}

.container {
    /*margin-bottom: 50px;*/
}
ul li {
    list-style: outside none none;
}

.navbar-inverse {
    background-image: none;
    background-color: #fff;
    border-width: 0px
}
.navbar-toggle .icon-bar {
    background-color: #999;
}

ul#toolsmenu {
    float: right;
    list-style: outside none none;
    margin: 0px 0px 0px 0px;
    padding: 0;
}
ul#toolsmenu li {
    list-style: outside none none;
    display: block;
    float: left;
    margin-top: 11px;
    overflow: hidden;
    padding-right: 10px;

}
ul#ico {
    /*float: right;*/
    list-style: outside none none;
    margin: 0px 0px 0px 0px;
    padding: 0;
    clear: right;
    vertical-align: top;
}
ul#ico li {
    list-style: outside none none;
    display: block;
    float: right;
    margin-top: 11px;
    overflow: hidden;
    padding-left: 10px;
}
ul#ico img {
    vertical-align: top;
}
#navbar #search {
    clear:right;
    display: block;
    font-size: 0.9em;
    /*float: right;*/
}
.contrast-text span{
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    /*display: inline-block;*/
    padding: 1px 4px;
}

#bypass{
    /*    margin: 0;
        padding: 0;
        position: absolute;
        top: 0;*/
    visibility: hidden;
}

.first .navbar-header { 
    min-height: 115px;
}
.first .navbar-header .col-xs-6 {
/*min-height:50px;
margin-top:10px*/
}
.navbar .nav > li > a {

}
.navbar .btn-navbar{

}

.navbar.second {
    margin-bottom: 0px;
    min-height: 10px;
}

#search .btn-mkidn {
    /*background-image: url("../img/search.png");*/
    background-repeat: no-repeat;
    border:1px solid #000;
    width: 29px;
    height: 30px;
    /*color: transparent;*/
    background-color: #000;
    color: #fff;
    padding: 0px;
    border-radius: 0px;
    margin-left: -4px;
    margin-bottom: 2px
}
#search input[type="text"]{
    padding:5px 10px;
    margin: 0px;
    border:1px solid #e1e1e1;
    border-radius: 0px;
    height: 30px;
    width:230px;
    
}

.nav-main {
    background-color: #002c51;
}

.mainmenu {
    
/*    margin-top: 20px;
    margin-bottom: 20px;*/
    /*padding: 5px 15px 5px 15px;*/
}
.mainmenu nav {
/*    border-top:1px solid #000;
    border-bottom: 1px solid #000;*/
    /*padding:10px 0px 10px 0px;*/
}

.mainmenu  ul  li a {
    /*border-left:1px solid #000;*/
    /*border-radius: 0;*/
}

.mainmenu  ul  li.first a, .mainmenu  ul  li.menu-first a {
    /*border-left:0px solid #000;*/
}
.nav-pills > li > a {
    border-radius: 0px;
}

.mainmenu  ul  li  a {
    font-size:1.2em;
    color:#fff;
    background: #002c51 none repeat scroll 0 0;
    display: block;
    margin: 0;
    padding: 15px 10px;
    text-decoration: none;
}
.nav > li > a:hover,
.nav > li > a:focus {
  background-color: #7f081c;
}




/*slider*/
.carousel-inner > .item {
    
    -webkit-transition: 0.8s ease-in-out left;
    -moz-transition: 0.8s ease-in-out left;
    -o-transition: 0.8s ease-in-out left;
    transition: 0.8s ease-in-out left;
    /*height: 450px;*/
}

.carousel-caption {
    padding:15px 5px;
    bottom: 0px;
    width:100%;
    left: 0;
    right: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5)
}
.carousel-caption a h2{
    margin:0px;
    color: #fff;
    text-shadow: 0;
    font-size: 1.7em;
    
}/*

.carousel-caption p {
}
.carousel-caption .data {
    float: right;
    width:14%;
}
.carousel-caption .data .day {
    font-size: 2em;
    line-height: 1;
    width:51%;
    float: left;
    text-align: right;
    padding-right: 5px;
}
.carousel-caption > .data > .mon, .carousel-caption > .data > .year {
    width:40%;
    margin-left: 58%;
    font-size: 1.2em;
}
.carousel-caption .tresc {
    float: left;
    width:80%;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
}
.carousel-caption > .data > .more {
    width:100%;
    white-space: nowrap;
    margin-top: 5px;
}


#carouselButtons {
    margin-left: 100px;
    position: absolute;
    bottom: 0px;
    z-index: 100;
}

carousel-inner {
    background-color: #000;
    
}

.carousel-inner > .item {
    vertical-align: middle;
    background-color: #000;
}*/

/*.carousel-inner > .item > img {
    position: relative;
    margin: auto auto auto auto;
    top: auto;
    left: auto;
    min-width: 100%;
    height: 450px;
    max-width: none;
    width: auto;
}*/





/*.carousel-inner > .item > img {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
      height: 450px;
    }*/
.carousel-control.left, .carousel-control.right{
        background-image: none;
}
.carousel-control {
    width:20px;
    color: #002c51;
    opacity: 1;
    text-shadow: 0px 0px 0px rgba(152, 16, 36,0.7)
}
#carouselButtons .carousel-buttons, #carouselButtons2 .carousel-buttons{
/*    margin-left: 30px;
    margin-right: 30px;*/
    color: #002c51;
    /*opacity: 0.5;*/
    text-align: center;
    /*text-shadow: 0px 1px 0px rgba(152, 16, 36, 0.6);*/
     font-size: 30px;
    height: 30px;
    margin-top: 0px;
    width: 30px;
    border: 0;
    background-color: transparent;
    padding-left: 0px;
}
#carouselButtons .carousel-buttons:hover, #carouselButtons2 .carousel-buttons:hover {
    color:#fff;
    text-shadow: 0px 0px 0px rgba(152, 16, 36,0.7)
}
#carouselButtons #playButton,#carouselButtons2 #playButton2 {
    /*margin-left: 50px;*/
}
.carousel-indicators {
    top: 0;
    /*text-shadow: 0 1px 2px rgba(152, 16, 36, 0.6);*/
    font-size: 30px;
    height: 30px;
}


/*nr2*/

.masterhead {
position: relative;
/*margin-bottom: 54px;*/
}
.carousel {
    	position: relative;
    	/*height: 150px;*/
}

.carousel-inner {
/*    	position: relative;
    	width: 100%;
    	overflow: hidden;*/
}

.carousel-inner > .item {
    	position: relative;
    	display: none;
    	/*height: 150px;*/
    	background-color: #000;
  	-webkit-transition: .6s ease-in-out left;
	-o-transition: .6s ease-in-out left;
	transition: .6s ease-in-out left;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
/*  	line-height: 1;
   	position: absolute;
   	top: 0;
   	left: 0;
   	min-width: 100%;*/
   	/*height: 150px;*/
}

.carousel-inner > .item > img {
    /*position: relative;*/
    margin: auto auto auto auto;
/*    top: auto;
    left: auto;*/
    /*min-width: 100%;*/
    /*height: 450px;*/
/*    max-width: none;*/
    width: auto;
}

.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  	display: block;
}

.carousel-inner > .active {
  	left: 0;
}

.carousel-inner > .next,
.carousel-inner > .prev {
  	position: absolute;
  	top: 0;
  	width: 100%;
}

.carousel-inner > .next {
  	left: 100%;
}

.carousel-inner > .prev {
  	left: -100%;
}

.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  	left: 0;
}

.carousel-inner > .active.left {
  left: -100%;
}

.carousel-inner > .active.right {
  	left: 100%;
}

.controlsBlock {
   	position: relative;
   	bottom: 0;
   	left: 0;
   	top: 10px;
   	display: block;
   	width: 177px;
   	margin: 0 auto;
   	z-index: 1;
   	height: 24px;
   	text-align: center;
}

.controls {
   	position: relative;
   	display: block;
}

.carousel-control {
/*  	position: absolute;
  	top: 25.5px;
  	bottom: 0;
  	left: 0;
  	background: #000000;
  	font-size: 5px;
  	background: none !important;
  	color: #000 !important;
  	text-align: center;*/
}

.carousel-control i {
    	/*font-size: 20px;*/
}

.carousel-control.left {
  	left: 0;
}

.carousel-control.right {
  	right: 0;
  	
}

.carousel-control:hover,
.carousel-control:focus {
  	/*color: #000;*/
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  	position: absolute;
  	z-index: 5;
  	display: inline-block;
}

.carousel-control .glyphicon-chevron-left {
  	left: 0;
}

.carousel-control .glyphicon-chevron-right {
  	right: 0;
}

.carousel-indicators {
  	position: relative;
  	bottom: 0;
  	left: 50%;
  	z-index: 15;
  	width: 60%;
  	top: -10px;
  	padding-left: 0;
  	margin-left: -30%;
  	text-align: center;
  	list-style: none;
}


.carousel-indicators li {
  	display: inline-block;
   	zoom: 1;
   	width: 10px;
   	height: 10px;
   	margin: -10px 2px 0px 2px;
   	background: transparent;
   	-webkit-border-radius: 0%;
   	-moz-border-radius: 0%;
   	border-radius: 0%;
   	border: 1px solid #002c51;
   	-webkit-box-shadow: rgba(0,0,0,0.5) 0 0 0px;
   	-moz-box-shadow: rgba(0,0,0,0.5) 0 0 0px;
   	box-shadow: rgba(0,0,0,0.5) 0 0 0px;
   	cursor: pointer;
}

.carousel-indicators .active {
  	width: 10px;
  	height: 10px;
  	margin: 0;
  	background-color: #002c51;
}

.carousel-caption {
  	/*position: absolute;*/

/*  	z-index: 10;
  	padding-top: 20px;
  	padding-bottom: 20px;
  	color: #fff;
  	text-align: center;
  	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);*/
}

/*.carousel-caption .btn {
  	text-shadow: none;
}*/

@media screen and (min-width: 268px) {
	.carousel {
		/*height: 450px;*/
	}

	.carousel-inner > .item {
		/*height: 450px;*/
	}

	.carousel-inner > .item > img,
	.carousel-inner > .item > a > img {
		/*height: 450px;*/
	}

  	.carousel-control .glyphicon-chevron-left,
  	.carousel-control .glyphicon-chevron-right,
  	.carousel-control .icon-prev,
  	.carousel-control .icon-next {
    		
    		/*font-size: 15px;*/
  	}

/*  	.carousel-caption {
    		right: 20%;
    		left: 20%;
    		padding-bottom: 30px;
  	}*/

  	.carousel-indicators {
    		bottom: .0;
  	}
}


/*slider*/



.jumbotron {
    background-color: #fff;
    padding: 0px;
}
.jumbotron p {
    font-size: 1.3em;
}
.jumbotron.logosy {
    /*background-color: #efefef;*/
    border-top: 5px solid #d8d8d8;
    margin-bottom: 0px;
    
}
 

.marquee {
	width: 100%;
	height: 60px;
	margin: 25px auto;
	overflow: hidden;
	position: relative;
}
.instytucje .marquee {
	width: 100%;
	height: 100px;
}
.instytucje .marquee .img-responsive {
    display: inline;
}

.marquee div {
	position: absolute;
        margin-left:-1200px;
	/*margin: 0;*/
	height: 60px;
 
    -webkit-animation: mymove 50s 0s infinite; /* Chrome, Safari, Opera */
    animation: mymove 50s 0s infinite;
-webkit-animation-timing-function: linear;
animation-timing-function: linear;
-webkit-animation-play-state:running;
animation-play-state:running;
}
.marquee div:hover{
    -webkit-animation-play-state:paused;
animation-play-state:paused;
}

/*@-webkit-keyframes mymove {
    from {left: 0px;}
    to {left: 1300px;}
}

@keyframes mymove {
    from {left: 0px;}
    to {left: 1300px;}
}*/
@-webkit-keyframes mymove {
	0% {margin-left: 1200px;}
	100% {margin-left: -1200px;}
}
@-moz-keyframes mymove {
	0% {margin-left: 1200px;}
	100% {margin-left: -1200px;}
}
@-o-keyframes mymove {
	0% {margin-left: 1200px;}
	100% {margin-left: -1200px;}
}



/*.marquee img:nth-child(2) {
	animation: left-two 20s ease infinite;
	-moz-animation: left-two 20s ease infinite;
	-webkit-animation: left-two 20s ease infinite;
}
.marquee.down img {
	transform:translateY(-100%);
	-moz-transform:translateY(-100%);
	-webkit-transform:translateY(-100%);
}
.marquee.down img:nth-child(1) {
	animation: down-one 20s ease infinite;
	-moz-animation: down-one 20s ease infinite;
	-webkit-animation: down-one 20s ease infinite;
}
.marquee.down img:nth-child(2) {
	animation: down-two 20s ease infinite;
	-moz-animation: down-two 20s ease infinite;
	-webkit-animation: down-two 20s ease infinite;
}
.marquee.up img {	
	transform:translateY(100%);
	-moz-transform:translateY(100%);
	-webkit-transform:translateY(100%);
}
.marquee.up img:nth-child(1) {
	animation: up-one 20s ease infinite;
	-moz-animation: up-one 20s ease infinite;
	-webkit-animation: up-one 20s ease infinite;
}
.marquee.up img:nth-child(2) {
	animation: up-two 20s ease infinite;
	-moz-animation: up-two 20s ease infinite;
	-webkit-animation: up-two 20s ease infinite;
}*/

/*================================
	Move the Marquee to the Left
==================================*/

/** Mozilla Firefox Keyframes **/
/*@-moz-keyframes left-one {
	0%	{
		-moz-transform:translateX(100%);
	}
	10% {
		-moz-transform:translateX(100%);
	}
	40% {
		-moz-transform:translateX(100%);
	}
	50% {
		-moz-transform:translateX(-100%);
	}
	100%{
		-moz-transform:translateX(-100%);
	}
}

* Webkit Keyframes *
@-webkit-keyframes left-one {
	0% {
		-webkit-transform:translateX(100%);
	}
	10% {
		-webkit-transform:translateX(100%);
	}
	40% {
		-webkit-transform:translateX(100%);
	}
	50% {
		-webkit-transform:translateX(-100%);
	}
	100%{
		-webkit-transform:translateX(-100%);
	}
}*/




 /* Carousel base class */
/*    .carousel {
      margin-bottom: 60px;
    }

    .carousel .container {
      position: relative;
      z-index: 9;
    }

    .carousel-control {
      height: 80px;
      margin-top: 0;
      font-size: 120px;
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
      background-color: transparent;
      border: 0;
      z-index: 10;
    }

    .carousel .item {
      height: 500px;
    }
    .carousel img {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
      height: 500px;
    }

    .carousel-caption {
      background-color: transparent;
      position: static;
      max-width: 550px;
      padding: 0 20px;
      margin-top: 200px;
    }
    .carousel-caption h1,
    .carousel-caption .lead {
      margin: 0;
      line-height: 1.25;
      color: #fff;
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
    }
    .carousel-caption .btn {
      margin-top: 10px;
    }
    
    */

    
    .gray {
        background: #e1e1e1 none repeat scroll 0 0;    
    height: 70px;
    text-align: center;
    margin-top: -70px;
    padding: 10px 0px
    }
    .gray .controlsBlock {
        margin-top: 0px
    }
    

.block-nav {
    border-top: 6px solid #002c51;
    margin: 0 auto;
    padding-bottom: 45px;
    width: 60%;
}    
    
.col-md-2.dol {
    width:20%;
}


a.more {
/*    background-color: #DF241B;
    color: #fff;*/
    background-color: #e5e5e5;
    background-position: right top;
    color: #060606;
    padding:5px;
    display: block;
    width: 30%;
    text-align: center;
}

a.more:hover, a.more:focus {
    background-color: #002c51;
    color: #fff;
}

.col-md-12 h2 {
    /*display:block;*/
/*    padding:3px 0px 3px 0px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    */
    color: #002c51;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 40px;
    margin-bottom: 30px;
    padding: 10px 0 25px;
    text-align: center;
    
}
.col-md-12 h2.tagi{
    border:0px;
    text-align: center;
    font-size: 3em;
    background: #fff url("../img/kropka.png") repeat-x center;
}
.col-md-12 h2.tagi span {
    background-color: #fff;
    padding: 0 10px 0 10px;
}

div.tagi p {
        width: 80%;
        text-align: center;
        margin: 0 10% 30px 10%;
    }

.floatright {
    float: right;
}
.floatleft{
    float: left;
}

.AktPolecane {
    border: 3px solid #ededed;
}
.AktPolecane h2 {
    padding-left: 15px;
}
.AktPolecane ul {
    margin: 0;
    padding: 0;
}

.kalendarium p small {
    display: block;
}
.col-md-4 h3 {
    /*margin-top: 0;*/
}
.col-md-4 p {
    /*margin-bottom: 40px;*/
}

.col-md-2 img{
    margin: 0 auto;
}

.news {
    clear: both;
    display: block;
    list-style: outside none none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
.news li {
    display: inline-block;
    list-style: outside none none;
    /*margin: 1%;*/
    vertical-align: top;
}




footer {
    background-color: #211f20;
    padding: 10px 0px 10px 0px;
    font-size: 0.9em;
    font-weight: 300;
    color: #cecdcd;
}
footer a,footer a:hover,footer a:focus{
    color: #cecdcd;
}
footer li.first{
    font-weight: 500;
    margin-bottom: 10px;
}
footer li.first a{
    font-weight: 700;
}
footer ul {
    list-style: outside none none;
    margin: 0px 0px 0px 0px;
    padding: 0;
}
footer ul li {
    list-style: outside none none;
    display: block;
    /*margin-top: 11px;*/
    overflow: hidden;
    /*padding-right: 10px;*/
}
footer div.nav {
    border-top: 1px solid #484848;
    margin: 20px 0px;
}

footer .kontakt {
    margin-top: 10px;
}

#ikonki {
    width: 100%;
    background: transparent url("../img/kropka-b.png") repeat-x center;
    text-align: center
    
}
ul#ico2 {
    list-style: outside none none;
    margin: 20px auto 20px auto;
    padding: 0;
    background-color: #211f20;
    width:180px;
}
ul#ico2 li {
    list-style: outside none none;
    display: block;
    overflow: hidden;
}




@media (max-width: 970px) {
    .col-md-4 {
        /*min-height: 450px;*/
    }
    .col-md-4 a.more {
        position:relative;
    }
	.first .navbar-header .col-xs-6 {
min-height:30px;
margin-top:10px;
}


}
@media (max-width: 768px) { 
    .carousel-caption .data {
    float: none;
    width:100%;
}
.carousel-caption .data .day {
/*    font-size: 2em;
    line-height: 1;
    width:51%;*/
    float: none;
    text-align: left;
    padding-right: 0px;
}
.carousel-caption > .data > .mon, .carousel-caption > .data > .year {
    /*width:40%;*/
    margin-left: 0;
    font-size: 1.2em;
}
.carousel-caption .tresc {
    float: none;
    /*width:80%;*/
}
.carousel-caption > .data > .more {
    width:100%;
    white-space: nowrap;
    margin-top: 5px;
}
 .navbar-brand{
        margin-top: -30px;
    }
}


@media (min-width: 1200px) {
    .col-md-4, .col-md-6 {
        /*min-height: 400px;*/
    }
    .col-md-4 a.more, .col-md-6 a.more {
        display:block;
        position:absolute;
        bottom:2px;
        margin: 5px 0px 5px 0px;
    }
    .spacer {
        margin-bottom: 40px; 
    }
    
    .carousel-control .glyphicon-chevron-left {
    /*margin-left: -80px;*/
}
.carousel-control .glyphicon-chevron-right {
    /*margin-right: -80px;*/
}

.carousel-caption .data {
    float: right;
    width:14%;
}
.carousel-caption .data .day {
    font-size: 6em;
    line-height: 1;
    width:51%;
    float: left;
    text-align: right;
    padding-right: 5px;
}
.carousel-caption > .data > .mon, .carousel-caption > .data > .year {
    width:40%;
    margin-left: 58%;
    font-size: 2em;
}
#masterhead {
	  /*padding-top: 20px;*/
/*	  padding-bottom: 124px;
  	margin-bottom: -52px;*/
}

 .news {
        list-style: outside none none;
        margin: 0px;
        padding: 0px;
        width: 100%;
        clear: both;
        display: block;
        overflow: hidden;
    }
 .news li {
        list-style: outside none none;
        display: inline-block;
        /*width: 23%;*/
        width: 31%;
        vertical-align: top;
        margin: 1%;
    }

    
}













