/*
		StudioFabryka.pl
*/




body {
    font-family: 'latoregular';
    font-size: 18px;
    color: #666;
    background: #f9f9f9;
}

.sub {padding-top: 115px;}

.main img.pull-right {margin-left: 15px;}
.main img.pull-left {margin-right: 15px;}

.navbar {
    border:0;
    height: 115px;
    background: rgba(255,255,255,.7);
    transition: all .2s;
}

.navbar-brand img {
    transition: all .2s;
    width: 275px;
}

#navbar {transition: all .2s;}

.sub .navbar {
    background: white;
    height: 115px;
}

.navbar-brand {padding-top: 5px;}

.sub .navbar-brand img {width: 275px;}


.affix {background: rgba(255,255,255,1); height: 63px !important;}

.affix .navbar-brand img {width: 150px;}

.affix #navbar {margin-top: 7px;}



header .container {
    position: relative;
}

header h1 {
    position: absolute;
    top:45vh; left:15px;
    z-index: 100;
    color: white;
}

.sub header h1 {
    top:150px;
}

.home header {height: 71vh;}

.cycle-slideshow {
    width: 100%;
    height: 71vh;
    overflow: hidden;
    z-index: 10;
}

.cycle-slideshow img {
    /*min-height: 71vh;*/
    width: 100%;
}

.sub .cycle-slideshow {
    width: 100%;
    height: 300px;
    overflow: hidden;
    z-index: 10;
}

header h1 strong {
    background: #1878b2;
    font-size: 50px;
    font-weight: normal;
}
header h1 span {
    background: #08a4ff;
    font-size: 50px;
    font-weight: normal;
}

header h1 strong,
header h1 span {
    float: left;
    clear: left;
    padding: 3px 15px;
    margin-bottom: 5px;
}

#navbar {
    margin-top: 30px;
}

#navbar .nav > li > a {
    color:  #333;
    transition: all .2s;
    margin-left:3px;
}


#navbar .nav > li > a:hover,
#navbar .nav > li > a:focus,
#navbar .nav > li.active > a:hover,
#navbar .nav > li.active > a:focus,
#navbar .nav > li.open > a:hover,
#navbar .nav > li.open > a:focus,
#navbar .nav > li.active > a,
#navbar .nav > li.open > a {
    background: #1878b2;
    color: white;
    text-shadow: none;
}

header {
    position: relative;
    z-index: 100;
    overflow: hidden;
    width: 100%;
}

article, footer {
    position: relative;
    z-index: 300;
    width: 100%;
    overflow: hidden;
}

footer {z-index: 200;}

.boxes {height: 30vh;}

.boxes .col-md-4 {padding:0; height: 30vh;}

.box {
    float: left;
    width: 100%;
    height: 30vh;
    text-align: center;
    color: white;
    font-size: 30px;
    font-weight: normal;
    text-transform: uppercase;
    transition: all .3s;
    position: relative;
    z-index: 10;
    background-size: cover !important;
}

.box span {
    transition: all .3s;
    float: left;
    width: 100%;
    height: 30vh;
}

.box:hover > span {
    transform: scale(1.08);
    z-index: 100;
    filter:drop-shadow(0 15px 5px rgba(0,0,0,0.2));
    -o-filter:drop-shadow(0 15px 5px rgba(0,0,0,0.2));
    -ms-filter:drop-shadow(0 15px 5px rgba(0,0,0,0.2));
    -moz-filter:drop-shadow(0 15px 5px rgba(0,0,0,0.2));
    -webkit-filter:drop-shadow(0 15px 5px rgba(0,0,0,0.2));
}

.box strong {
    font-weight: normal;
    color: white !important;
}

.box .ico {
    display: inline-block;
    margin: 60px 0 15px;
}

.box1 {background: url(../img/box1.jpg) 0 0 no-repeat;}
.box2 {background: url(../img/box2.jpg) 0 0 no-repeat;}
.box3 {background: url(../img/box3.jpg) 0 0 no-repeat;}


.sub .main h2,
.sub .main h3,
.sub .main h4,
.sub .main h5,
.sub .main h6 {
    font-weight: normal;
    font-family: 'latobold';
    color: #333;
    margin: 30px 0 15px;
}

.sub .main h2 {font-size: 24px;}
.sub .main h3 {font-size: 21px;}
.sub .main h4 {font-size: 18px;}
.sub .main h5 {font-size: 15px;}
.sub .main h6 {font-size: 12px;}

.title h1, .title h2, aside h2 {
    font-size: 24px;
    font-weight: normal;
    font-family: 'latobold';
    text-transform: uppercase;
    color: #333;
    margin: 30px 0 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.home .title {text-align: center;}


.bg-info {
    padding: 15px;
    color: #333;
}


aside h2 {border:0; padding-bottom: 0;}

aside .thumb {
    margin-top: 75px;
}

.main ul {
    margin:0 0 0 20px;
    padding:0;
}

.main li {
    list-style-image: url(../img/ok.png);
    line-height: 1.5em;
    margin: 10px 0;
}


footer {
    margin-top: 30px;
    background: #151515;
    color: white;
}

footer p {
    font-size: 13px;
    padding: 30px 0;
    margin:0;
}

.madeby {
    float: right;
    margin: 30px 0;
    line-height: 1em;
}

.madeby small {
    color: white;
    font-size: 10px;
    float: left;
    margin: 1px 3px 0 0;
}


aside h2 {margin-top: 30px;}

.nav-stacked a {
    background: #e6e6e6;
    color: #666;
    transition: all .2s;
}

.nav-stacked a:hover,
.nav-stacked a:focus,
.nav-stacked .active a:hover,
.nav-stacked .active a:focus,
.nav-stacked .active a {
    background: #1a79b1 !important;
    color: white;
}


.table-striped>tbody>tr:nth-child(odd) {
    background-color: #f2f2f2;
}







/* 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 {margin: 0 0 15px}

.jPaginate{
    height:34px;
    position:relative;
    color:#a5a5a5;
    font-size:small;
	width:100%;
}
.jPaginate a {
    line-height:30px;
    height:30px;
    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:30px;
    height:30px;
    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:14px;
    width:15px;
    text-align:right;
}
span.jPag-snext,
span.jPag-snext-img{
    margin:2px 2px 2px 0px;
    font-size:14px;
    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;
            }

.jPag-last,
.jPag-first {
    line-height: 30px !important;
    font-size: 14px;
}











/* Facebook slider - right */

.fb_slider_right {
	position: fixed;
	top: 140px;
	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;
}










/* RWD */


/* height: 1050px */
@media screen and (max-width: 1680px) {
    .sub header h1 {top: 110px;}
    .sub .cycle-slideshow {height: 263px;}
}




/* height: 864px */
@media screen and (max-width: 1536px) {
    .sub header h1 {top: 100px;}
    .sub .cycle-slideshow {height: 240px;}
}



/* height: 900px */
@media screen and (max-width: 1440px) {
    .sub header h1 {top: 85px;}
    .sub .cycle-slideshow {height: 220px;}
}




/* height: 768px */
@media screen and (max-width: 1366px) {
    .box .ico {margin-top: 35px;}

    .sub header h1 {top: 75px;}
    .sub .cycle-slideshow {height: 210px;}
}



/* height: 1024 & 720px */
@media screen and (max-width: 1280px) {
    .box .ico {margin-top: 30px;}

    .sub header h1 {top: 60px;}
    .sub .cycle-slideshow {height: 200px;}
}



/* height: 768px, 600px */
@media screen and (max-width: 1200px) {

    .navbar {height: 95px;}
    .sub .navbar {height: 95px;}
    .sub {padding-top: 95px;}
    .affix {height: 63px;}

    .navbar-brand > img {width: 250px;}

    #navbar .nav > li > a {
        margin-left: 1px;
        padding: 10px;
    }

    .home header,
    .home header .cycle-slideshow {
        height: 85vh;
    }

    .sub header h1 {top: 50px;}
    .sub .cycle-slideshow {height: 160px;}

    .sub header h1 strong {font-size: 30px;}
    .sub header h1 span {font-size: 20px;}

    .boxes, .box, .box span, .boxes .col-md-4 {
        height: 15vh;
    }

    .box br {display: none;}

    .box .ico {height: 60px; float: left; margin: 15px;}
    .box strong {
        float: left;
        font-size: 18px;
        text-align: left;
        margin-top: 30px;
    }
}


@media screen and (max-width: 991px) {
    .navbar-brand > img {
        width: 210px;
        margin-top: 8px;
    }

    #navbar .nav > li > a {
        margin-left: 0;
        padding: 10px 7px;
        font-size: 14px;
    }

    header h1 {top: 300px;}
}



@media screen and (max-width: 980px) {
    .navbar-toggle {
        border-color: #1878B2;
        margin-top: 27px;
    }

    .icon-bar {background: #1878B2}

    #navbar {
        background: white;
        margin-top: 24px;
        z-index: 5000;
        position: relative;
    }

    #navbar .navbar-nav {margin: 0 -15px;}

    #navbar .navbar-nav li {
        float: left;
        width: 100%;
    }

    #navbar .navbar-nav li > a {
        border-top: 1px solid #e2e2e2;
    }

    #navbar .navbar-nav .dropdown-menu {
        background: #f5f5f5;
        margin:0;
        padding:0;
        float: left;
        width: 100%;
    }

    .cycle-slideshow img {height: 85vh; width: auto; margin-left:-10%;}

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

    .sub .navbar {height: 95px;}
    .sub {padding-top: 95px;}
    .sub .cycle-slideshow {height: 153px;}
    .sub .cycle-slideshow img {width: 100%; height: auto; margin-left:0;}
    .sub header h1 {top:60px;}
    .sub header h1 strong {font-size: 22px;}
    .sub header h1 span {font-size: 14px;}
    .sub .main img {max-width: 100%; height: auto;}

    .sub form {margin-top: 30px;}

    .box strong {
        font-size: 14px;
        margin-top: 35px;
    }
}




@media screen and (max-width: 800px) {

    .box .ico {height: 40px; margin-top: 30px;}
    .box strong {
        font-size: 14px;
        margin-top: 39px;
    }

    .cycle-slideshow img {height: 85vh; width: auto; margin-left:-20%;}


    .sub .cycle-slideshow {height: 126px;}
    .sub header h1 {top:40px;}
}


@media screen and (max-width: 768px) {
    .sub .cycle-slideshow {height: 120px;}
    .sub header h1 {top:30px;}
}



@media screen and (max-width: 640px) {

    .boxes {height: auto}
    .box .ico {height: 40px; margin-top: 30px;}
    .box strong {
        font-size: 18px;
        margin-top: 39px;
    }

    .cycle-slideshow img {height: auto; width: 100%; margin-left: 0;}

    .home header, .home header .cycle-slideshow {height: 300px;}
    header h1 {top:200px;}
    header h1 strong {font-size: 28px;}
    header h1 span {font-size: 18px;}

    .sub .cycle-slideshow {height: 100px;}
    .sub header h1 {top:15px;}
    .sub header h1 strong {font-size: 18px;}
    .sub header h1 span {font-size: 12px;}
}




@media screen and (max-width: 600px) {

    .home header {margin-top:95px;}

    .home header, .home header .cycle-slideshow {height: 280px;}
    header h1 {top:170px;}

    .sub .cycle-slideshow {height: 95px;}
    .sub header h1 {top:15px;}
    .sub header h1 strong {font-size: 18px;}
    .sub header h1 span {font-size: 12px;}
}




@media screen and (max-width: 480px) {
    .home header, .home header .cycle-slideshow {height: 220px;}
    header h1 {top:125px;}

    .sub .cycle-slideshow {height: 75px;}
    .sub header h1 {top:20px;}
    .sub header h1 strong {font-size: 14px;}
    .sub header h1 span {display: none;}

    .dropdown-menu>li>a {white-space: normal}
}



@media screen and (max-width: 375px) {
    .navbar-brand img {width: 135px !important;}
    .affix .navbar-brand img {width: 150px !important;}
    .navbar-toggle {margin-top: 15px;}
    .navbar {height: 70px !important;}

    .home header, .home header .cycle-slideshow {height: 176px;}
    .home header {margin-top: 70px;}
    header h1 strong {font-size: 18px;}
    header h1 span {font-size: 13px;}
    header h1 {top:100px;}

    .sub {padding-top: 70px;}
    .sub .cycle-slideshow {height: 60px;}
    .sub header h1 {top:10px;}
}



@media screen and (max-width: 360px) {
    .home header, .home header .cycle-slideshow {height: 169px;}
    header h1 strong {font-size: 16px;}
    header h1 span {font-size: 12px;}
    header h1 {top:90px;}

    .sub .cycle-slideshow {height: 50px;}
    .sub header h1 {display: none}
}




@media screen and (max-width: 320px) {
    .home header, .home header .cycle-slideshow {height: 150px;}
    header h1 strong {font-size: 16px;}
    header h1 span {font-size: 12px;}
    header h1 {top:70px;}

    .sub .cycle-slideshow {height: 45px;}
}


.wizyta_widget {
	position: fixed;
	top: 250px;
	right: 0;
	display: block;
	z-index: 888;
	transition: opacity .2s;
}

.wizyta_widget img {display: block;}

.wizyta_widget:hover {
	opacity: .8;
}