/*
		StudioFabryka.pl
        MC.H, 7 gru 2015
*/





body {
    font-family: 'latoregular';
    padding-top: 130px;

    font-size:14px;
    line-height: 1.4em;
    color: #444;
    position: relative;
}

.navbar {
    height: 130px;
    background: white;
    transition: all .2s;
}

.navbar-brand {
    padding-top: 22px;
    transition: all .3s;
}

.navbar-brand img {
    transition: all .2s;
    height: 82px;
}

.navbar-brand:hover {
    opacity: .8;
}

.navbar .nav {margin-top: 40px; transition: all .2s;}

.navbar .nav > li > a {
    color: #d01e00;
    font-size: 20px;
    font-family: 'latobold';
    margin-left: 3px;
    padding: 10px 25px;
    transition: all .3s;
    border-radius: 25px;
    float: left;
}

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


.navbar .nav > li > a:hover {
    transform: scale(1.03);
    margin: -3px 0 3px 3px;
    opacity: .95;
    box-shadow: 0 20px 12px -15px rgba(0,0,0,.2);
}

.navbar .nav > li .dropdown-menu {
	padding: 5px;
	border-radius: 4px;
}

.navbar .nav > li .dropdown-menu a {
	color: #d01e00;
    font-size: 16px;
    font-family: 'latoregular';
	margin-top: 2px;
	border-radius: 4px;
}

.navbar .nav > li .dropdown-menu a:hover,
.navbar .nav > li .dropdown-menu a:focus,
.navbar .nav > li .dropdown-menu .active a:hover,
.navbar .nav > li .dropdown-menu .active a:focus,
.navbar .nav > li .dropdown-menu .active a {
	background: #d01e00 !important;
    color: white;
}


nav.affix {
    height: 60px;
    box-shadow: 0 15px 15px -10px rgba(0,0,0,.1)
}

nav.affix .nav {margin-top: 10px;}

nav.affix .navbar-brand {padding-top: 5px}
nav.affix .navbar-brand img {height: 50px;}


header, article, footer {
    float: left;
    width: 100%;
    overflow: hidden;
}

.home header {height: 450px; overflow: hidden;}
.sub header {height: 250px; overflow: hidden;}


.home h2 {
    font-family: 'latobold';
    color: #d01e00;
    margin: 1em 0;
    font-size: 40px;
}

.media {
    margin-bottom: 2em;
    float: left;
    width: 100%;

    transition: all .3s;
}

.media:hover {
    transform: scale(1.03);
    opacity: .9;
    cursor: pointer;
}

.media-left img {
    margin-right: 15px;
    border-radius: 10px;
}

.media small {
    font-size: 12px;
    color: #444;
}

.media-body {vertical-align: middle;}
.media-body p {margin:0;}

.media-heading a {
    color: #d01e00;
    font-size: 18px;
    font-family: 'latobold';
    float: left;
    width: 100%;
}

.media-heading {margin: 0 !important; line-height: 1.3em;}



.home .gallery .col-md-3 {
    padding-right: 0 !important;
}

.main .thumbnail,
.gallery .thumbnail {
    padding:0;
    border:0;
    float: left;
    transition: all .3s;
}

.main .thumbnail,
.gallery .thumbnail img {
    border-radius: 10px !important;
}

.gallery .thumbnail:hover {
    transform: scale(1.03);
    opacity: .9;
}


.home .main {
    background: url(../img/bottom.jpg) bottom no-repeat;
    min-height: 488px;
}

.home .main h1 {
    font-family: 'latobold';
    color: #d01e00;
    margin: 2em 0 .8em;
    font-size: 40px;
    line-height: .8em !important;
}

.home .main h1 small {
    color: #d01e00;
    line-height: 1em;
    font-family: 'latoregular';
	font-weight: normal
}

.home .main h2 {
    font-size: 28px;
    font-family: 'latoregular';
    font-weight: normal;
    margin-top: 2em;
}

.home .main h2 strong {
    text-transform: uppercase;
    font-family: 'latobold';
}

.home .main p {
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 1.5em;
}




.btn-primary {
    background: #d01e00;
    border:0;
    padding: 10px 30px;
    transition: all .2s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus:hover {
	background: #ac2009;
}



footer {
    background: #d01e00;
    padding: 1em 0;
}

footer p {
    color: white;
    float: left;
    margin:0;
}

.madeby {
    float: right;
    color: white;
    transition: all .2s
}

.madeby:hover {
    color: white;
    opacity: .7;
    text-decoration: none;
}

.sub footer {margin-top: 1.5em;}



.sub .main h1 {
    font-family: 'latobold';
    color: #d01e00;
    margin: .8em 0 .5em;
    font-size: 60px;
    line-height: .8em !important;
}

.sub section h2,
.sub section h3,
.sub section h4,
.sub section h5,
.sub section h6 {
    font-family: 'latobold';
    color: #d01e00;
    margin: .8em 0 .5em;
    line-height: 1em;
}

.sub section h2 {font-size: 40px;}
.sub section h3 {font-size: 35px;}
.sub section h4 {font-size: 30px;}
.sub section h5 {font-size: 25px;}
.sub section h6 {font-size: 20px;}


thead th {
    background: #d01e00;
    color: white;
    text-shadow: none !important;
    font-weight: normal;
    font-family: 'latobold';
}


.main strong {
    font-family: 'latobold';
    font-weight: normal;
}






/* list of files to download */

.download {
    float: left;
	}

	.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;
    }

    .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;
            }






#asidenav {
    position: relative;
}

#asidenav .nav {
    margin: 20px 0;
}

#asidenav .affix {
    top: 70px !important;
    width: 255px;
}


#asidenav .nav > li {
    width: 100%;
    border-top: 1px dashed #ddd;
}

#asidenav .nav > li:first-child {border:0;}

#asidenav .nav > li > a {
    width: 100%;
    margin: 3px 0;
    font-family: 'museo500';
    font-size: 15px;
    transition: all .3s;
}


.listastron > div {
    border-top: 1px dashed #ddd;
    margin-top: 2.5em;
    padding-top: 1em;
    float: left;
    width: 100%;
}

.listastron > div:first-of-type {border-top: 0; margin-top: 0; padding-top: 0;}

.listastron > div h1 {
    float: left;
    width: 100%;
}

.listastron > div h1 img {
    float: left;
    margin: -10px 15px 0 0;
}



/* Facebook slider - right */

.fb_slider_right {
	position: fixed;
	top: 160px;
	right:-320px;
	z-index: 1000;
	width: 348px;
	height: 100px;
	overflow: hidden;

	transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

.fb_slider_right .sliderbody {
	float: left;
	width: 320px;
}

.fb_slider_right:hover {
	right:0;
	height: 100%;
}

.fb_slider_right .button,
.fb_slider_right iframe {
	float: left;
	background: white;
}




.thumbnail.pull-left {margin-right: 1.5em;}
.thumbnail.pull-right {margin-left: 1.5em;}



/* RWD */

@media screen and (max-width: 1199px) {
    .cycle-slideshow img {width: 100%;}
    .home header {height: 240px;}

    .sub header {height: 133px;}

	.navbar .nav > li > a {
	    font-size: 17px;
	    margin-left: 1px;
	    padding: 10px 15px;
	}
}



@media screen and (max-width: 1023px) {
    .cycle-slideshow img {width: 100%;}
    header {height: auto !important;}

    .navbar-toggle {border-color: #d01e00; margin-top: 45px;}

    .affix .navbar-toggle {margin-top: 10px;}

    .icon-bar {background: #84C126}

    #navbar {
        background: white;
        margin:0;
    }
    #navbar .nav > li {
        width: 100%;
        float: left;
    }
    #navbar .nav > li > a {
        width: 100%;
        float: left;
        margin:0;
        border-top: 1px solid #ddd;
        border-radius: 0;
    }

    .gallery .thumbnail,
    .gallery .thumbnail img {width: 100%}

    .sub .main h1 {font-size: 40px; line-height: 1em;}

    #asidenav {display: none;}
}









@media screen and (max-width: 640px) {
    .home .gallery .col-md-3 {padding-right: 15px !important;}
    .home .main {background: white;}
}




@media screen and (max-width: 480px) {
    .media-left img {max-width: 150px}
    .madeby small {display: none}

    .fb_slider_right {display: none;}

	.navbar-brand img {
	    transition: all .2s;
	    height: 48px;
	    margin-top: 15px;
	}
}



@media screen and (max-width: 375px) {
    .media-left {width: 100%; float: left; padding:0; margin: 0 0 1em 0;}
    .media-left img {max-width: 100%; width: 100%}
    .madeby small {display: none}
    .madeby {margin-top: .5em;}

	.navbar-brand img {
	    transition: all .2s;
	    height: 40px;
	    margin-top: 22px;
	}
}


@media screen and (max-width: 320px) {
    .cycle-slideshow {display: none;}
}
