/*
		StudioFabryka.pl
*/


body {
	padding-top: 85px;
	font-family: 'source_sans_proregular';
	font-size: 16px;
	line-height: 1.5em;
	color: #444;
}

.sub .main img {max-width: 100%; height: auto;}

article .main a {
	transition: all .3s;
	color: #609700
}

article .main a:hover {
	text-decoration:none;
	color: black;
}

.navbar {
	height: 85px;
	background: #609700;
	border:0 !important;
}

.navbar-brand {
	padding:0;
	margin-top: 7px;
}

#navbar .nav > li > a {
	text-shadow: none;
	color: white;
	font-size: 18px;
	padding: 32.5px 15px;
	transition: all .3s;
}

#navbar .nav > .active > a,
#navbar .nav > .open > a,
#navbar .nav > .active > a:hover,
#navbar .nav > .active > a:focus,
#navbar .nav > .open > a:hover,
#navbar .nav > .open > a:focus,
#navbar .nav > li > a:hover,
#navbar .nav > li > a:focus {
	background: white;
	color: #609700;
}



header .container {
	position: relative;
}

header .container .title {
	position: absolute;
	top: 170px;
	left:15px;
	z-index: 150;
	color: #609700;
	text-transform: uppercase;
	font-family: 'source_sans_prolight';
	font-size: 60px;
	text-shadow: 3px 3px 5px rgba(0,0,0,.1)
}

.jumbotron {
	padding:0;
	margin:0;
	background: white;
}

.cycle-slideshow img {width: 100%;}

.cycle-slideshow .container {
	position: relative;
	z-index: 500;
}

.slide .text {
	position: absolute;
	top: 160px;
	left:0;
	z-index: 500;
}

.text h2 {
	color: #609700;
	font-family: 'source_sans_prolight';
	font-size: 80px;
}

.text a {
	color: #444;
	font-family: 'source_sans_prolight';
	font-size: 32px;
	margin-top: 1em;
	float: left;

	transition: all .2s;
}

.text a:hover {color: #609700; text-decoration: none}


article {
	overflow: hidden;
	padding-bottom: 2em;
}

.boxes .col {
	padding:0;
}

.boxes .box {
	border: 2px solid white;
	float: left;
	width: 100%;
	overflow: hidden;
	transition: all .3s;
}

.boxes .box img {
	width: 100%;
	height: auto;
	transition: all .3s;
}

.box:hover img {
	position: relative;
	transform: scale(1.05);
}

.box:hover strong {color: #609700;}

.box strong {
	position: absolute;
	bottom: 15px;
	left:0;
	z-index: 20;

	width: 100%;
	text-align: center;
	color: #444;
	font-size: 32px;
	font-family: 'source_sans_prolight';
	font-weight: normal;
	transition: all .2s;
}


footer {padding-bottom: 1em;}


footer p {
	font-size: 18px;
	line-height: 1.7em;
	color: #ababab;
}

footer .col > small {
	display: block;
	width: 80%;
	float: left;
	font-size: 12px;
	line-height: 1.2em;
	color: #ababab;
}

.madeby {
	float: right;
}

.madeby small {
	color: #333;
	font-size: 11px;
	margin:3px 3px 0 0;
	float: left;
}



.main h1,
.main h2,
.main h3,
.main h4,
.main h5,
.main h6 {
	color: #609700;
	margin: 1em 0 .5em;
	font-family: 'source_sans_prolight';
}

.main h1 {font-size: 40px;}
.main h2 {font-size: 34px;}
.main h3 {font-size: 30px;}
.main h4 {font-size: 25px;}
.main h5 {font-size: 19px;}
.main h6 {font-size: 15px;}







.back span {font-size: 10px;}


.gi .thumbnail {
	float: left;
	width: 100%;
	transition: all .2s;
}

.gi .thumbnail:hover {
	transform: scale(1.03);
	border-color: #609700
}

.gi img,
.gi .caption {
	float: left;
	width: 100%;
	text-align: center
}

.gi .caption {
	color: #609700;
	text-transform: uppercase;
}










/* list of files to download */

.download {
    float: left;
	width: 100%;
	}

	.download ul {margin:0; padding: 0;}

    .download .plik{
		display:none;
		color: #fff;
	}



    .download a:hover {text-decoration: none;}


.type_text .plik {display: inline;}

.type_icons li {
    	list-style: none !important;
		border-top: 1px solid #ddd;
		padding: 8px 0;
    }

    .type_icons a {
		text-decoration: none !important;
		padding:1px 0 2px 27px;
		background: url(../img/modules/download/page_white.png) 0 0 no-repeat;
		background-position: 0 3px !important;
    }

    .type_icons .pdf {background: url(../img/modules/download/acrobat.png) 0 0 no-repeat;}
    .type_icons .swf {background: url(../img/modules/download/flash.png) 0 0 no-repeat;}
    .type_icons .txt, .rtf {background: url(../img/modules/download/text.png) 0 0 no-repeat;}
    .type_icons .doc,
    .type_icons .docx,
    .type_icons .odf,
    .type_icons .ott,
    .type_icons .sxw,
    .type_icons .stw {background: url(../img/modules/download/word.png) 0 0 no-repeat;}
    .type_icons .jpg,
    .type_icons .jpe,
    .type_icons .jfif,
    .type_icons .png,
    .type_icons .jpeg,
    .type_icons .gif,
    .type_icons .tif,
    .type_icons .tiff,
    .type_icons .ico,
    .type_icons .bmp,
    .type_icons .raw,
    .type_icons .dcs {background: url(../img/modules/download/picture.png) 0 0 no-repeat;}
    .type_icons .flv,
    .type_icons .mov,
    .type_icons .mpeg,
    .type_icons .avi,
    .type_icons .divx {background: url(../img/modules/download/movie.png) 0 0 no-repeat;}
    .type_icons .ods,
    .type_icons .sxc,
    .type_icons .xls,
    .type_icons .xlt {background: url(../img/modules/download/excel.png) 0 0 no-repeat;}
    .type_icons .odg,
    .type_icons .sxd,
    .type_icons .psd {background: url(../img/modules/download/paint.png) 0 0 no-repeat;}
    .type_icons .cdr,
    .type_icons .ai {background: url(../img/modules/download/vector.png) 0 0 no-repeat;}
    .type_icons .php,
    .type_icons .html,
    .type_icons .css,
    .type_icons .js,
    .type_icons .less,
    .type_icons .asp,
    .type_icons .c {background: url(../img/modules/download/code.png) 0 0 no-repeat;}
    .type_icons .sql,
    .type_icons .db,
    .type_icons .dbf,
    .type_icons .dbk {background: url(../img/modules/download/database.png) 0 0 no-repeat;}
    .type_icons .zip,
    .type_icons .tar,
    .type_icons .gz,
    .type_icons .gzip,
    .type_icons .rar {background: url(../img/modules/download/zip.png) 0 0 no-repeat;}
    .type_icons .rb {background: url(../img/modules/download/ruby.png) 0 0 no-repeat;}
    .type_icons .as {background: url(../img/modules/download/actionscript.png) 0 0 no-repeat;}
    .type_icons .cf {background: url(../img/modules/download/coldfusion.png) 0 0 no-repeat;}
    .type_icons .odp,
    .type_icons .sxi,
    .type_icons .ppt {background: url(../img/modules/download/powerpoint.png) 0 0 no-repeat;}
    .type_icons .iso,
    .type_icons .nrg {background: url(../img/modules/download/dvd.png) 0 0 no-repeat;}






form .alert {
	display: none;
	font-size: 13px;
	line-height: 1.2em;
	margin-bottom:0;
}

form * {border-radius: 0 !important;}

.map iframe {
	width: 100%;
}

form label {
	font-weight: normal;
}

.form {margin-bottom: 1.5em;}

.forform {margin-top:1em;}





/* paginator */

#pages-container {
	float: right;
	width: 350px;
	background: white;
	box-shadow: 0 1px 0 rgba(0,0,0,.1);
}

.jPaginate{
    height:34px;
    position:relative;
    color:#a5a5a5;
    font-size:small;
	width:100%;
}
.jPaginate a {
    line-height:34px;
    height:34px;
    cursor:pointer;
    padding: 0 10px !important;
    margin:0 2px;
    float:left;
	text-decoration: none !important;
}
.jPag-control-back {
	position:absolute;
	left:0px;
}
.jPag-control-front{
	position:absolute;
	top:0px;
}
.jPaginate span {
    cursor:pointer;
}
ul.jPag-pages{
    float:left;
    list-style-type:none;
    margin:0px 0px 0px 0px;
    padding:0px;
}
ul.jPag-pages li{
    display:inline;
    float:left;
    padding:0px;
    margin:0px;
}
ul.jPag-pages li a {
    float:left;
    padding:2px 5px;
}
span.jPag-current {
    cursor:default;
    font-weight:normal;
    line-height:34px;
    height:34px;
    padding: 0 10px;
    margin:0 2px;
    float:left;
}
ul.jPag-pages li span.jPag-previous,
ul.jPag-pages li span.jPag-next,
span.jPag-sprevious,
span.jPag-snext,
ul.jPag-pages li span.jPag-previous-img,
ul.jPag-pages li span.jPag-next-img,
span.jPag-sprevious-img,
span.jPag-snext-img{
    height:34px;
    margin:0 2px;
    float:left;
    line-height:26px;
}

ul.jPag-pages li span.jPag-previous,
ul.jPag-pages li span.jPag-previous-img{
    margin:2px 0px 2px 2px;
    font-size:12px;
    font-weight:bold;
    width:10px;

}
ul.jPag-pages li span.jPag-next,
ul.jPag-pages li span.jPag-next-img{
    margin:2px 2px 2px 0px;
    font-size:12px;
    font-weight:bold;
    width:10px;
}
span.jPag-sprevious,
span.jPag-sprevious-img{
    margin:2px 0px 2px 2px;
    font-size:18px;
    width:15px;
    text-align:right;
}
span.jPag-snext,
span.jPag-snext-img{
    margin:2px 2px 2px 0px;
    font-size:18px;
    width:15px;
     text-align:right;
}
ul.jPag-pages li span.jPag-previous-img{
    background:transparent url(../images/previous.png) no-repeat center right;
            }
ul.jPag-pages li span.jPag-next-img{
    background:transparent url(../images/next.png) no-repeat center left;
            }
span.jPag-sprevious-img{
    background:transparent url(../images/sprevious.png) no-repeat center right;
            }
span.jPag-snext-img{
    background:transparent url(../images/snext.png) no-repeat center left;
            }









.szukaj {
	margin: 37px 0 15px;
	float: left;
	width: 100%;
}

.szukaj input {
	width: 100%;
	padding: 8px 10px;
	border:1px solid #609700;
	outline: none !important;
	background: url(../img/szukaj.png) 95% center no-repeat;
}

aside .nav {
	float: left;
	width: 100%;
}


aside .nav > li {
	margin:0;
	padding: 0;
}

aside .nav > li > a {
	color: #333;
	border-bottom: 1px solid #ddd;
	transition: all .2s;
	line-height: 1.1em;
}

aside .nav > li > a:hover,
aside .nav > li > a:focus,
aside .nav > .active > a:hover,
aside .nav > .active > a:focus,
aside .nav > .active > a {
	background: #609700;
	color: white;
}


.media {
	float: left;
	width: 100%;
	margin-top: 30px;
	margin-bottom: 0;
}

.main > .media:first-of-type {
	margin-top: 30px;
}

.media-top h2 {
	margin:0;
	font-size: 28px;
}

.media-top img {
	margin: 15px 0;
	max-width: 100%;
	transition: all .3s;
}
.media-top img a:hover {
	position: relative;
	transform: scale(1.05);
}
.btn-primary {
	background: #609700;
	border-radius: 0;
	border:0;
	color: white !important;
	text-shadow: none;
	font-size: 16px;
	padding: 8px 30px;
	transition: all .2s;
}

.btn-primary:hover,
.btn-primary:focus:hover,
.btn-primary:focus {
	outline: none;
	background: #517a08;
}





/*  RWD */


@media screen and (max-width:1600px) {
	.slide .text {top: 95px;}
}


@media screen and (max-width:1280px) {
	.slide .text {top: 45px;}
}


@media screen and (max-width:1199px) {
	.slide .text {top: 25px;}
	.text h2 {font-size: 60px;}
	#navbar .nav > li > a {padding: 32.5px 9px;}
}


@media screen and (max-width: 980px) {
	.navbar-toggle {
		border-color: white;
		margin-top:25px;
	}

	.icon-bar {background: white;}

	#navbar {
		background: white;
	}

	#navbar .nav {margin-top:0;}

	#navbar .nav > li > a {
		padding: 10px 15px;
		border-top:1px solid #ddd;
		color: #609700;
	}

	#navbar .nav > li:first-child > a {border-top:0;}

	#navbar .nav > .active > a,
	#navbar .nav > .open > a,
	#navbar .nav > .active > a:hover,
	#navbar .nav > .active > a:focus,
	#navbar .nav > .open > a:hover,
	#navbar .nav > .open > a:focus,
	#navbar .nav > li > a:hover,
	#navbar .nav > li > a:focus {
		background: #609700;
		color: white;
	}

	footer .col > small {
		text-align: center;
		width: 100% !important;
		margin-bottom: 1em;
	}
}




@media screen and (max-width:800px) {
	.slide .text {top: 5px;}
	.text a {margin-top: .5em;}
	.box strong {font-size: 24px;}
}


@media screen and (max-width:768px) {
	.slide .text {top: 25px; left:15px;}
	.text a {margin-top: .5em; font-size: 18px;}
	.text h2 {font-size: 30px;}
	.box strong {font-size: 22px; text-shadow: 0 -1px 2px white, 0 1px 2px white, -1px -1px 2px white, 1px 1px 2px white;}

	.navbar-brand {margin-left:15px;}
}



@media screen and (max-width:480px) {
	.slide .text {top: 0;}
	.box strong {font-size: 22px; bottom: 15px;}
}



@media screen and (max-width:360px) {
	.slide .text {top: 0;}
	.slide .text h2 {font-size: 18px;}
	.text a {margin-top: .3em; font-size: 15px;}
	.box strong {font-size: 18px; bottom:5px;}
}


@media screen and (max-width:320px) {
	.slide .text {top: -5px;}
	.slide .text h2 {font-size: 18px;}
	.text a {margin-top: .1em; font-size: 14px;}
	.box strong {font-size: 16px; bottom: 5px;}

	footer p {font-size: 16px;}
}
