/*
 Theme Name:   Katarzyna Kmita // Twenty Sixteen Child
 Theme URI:    ///
 Description:  Twenty Sisteen Child Theme
 Author:       Bartek Felczak
 Author URI:   http://www.popfabryka.com
 Template:     twentysixteen
 Version:      1.0.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
 Text Domain: twentysixteen-child
*/

@import url("../twentysixteen/style.css");

* {
	outline: none;
}

*, div, span, p, td, h1, h2, h3, h4, h5, h6 {
	font-family: 'Lato', sans-serif !important;
}

body {
	background: #fff;
}

body:before {
	background-color: transparent !important;
}

.site {
	border: 0 !important;
	width: 960px;
	margin: 0 auto;
}

.site-content {
	width: 960px;
	margin: 0 auto;
}

.site-header {
	//height: 70px;
	padding: 30px 0 0 0;
	//margin-bottom: 40px;
}

.site-header .home-link {
	min-height: 0;
	//padding: 20px 0 0 0;
}

.site-branding {
	display: block;
	margin: 30px 0 60px 0;
	width: 100%;
}

.site-branding img {
	height: 150px;
	width: 150px;
	//display: inline;
	margin-right: -10px;
}

.custom-logo-link {
	display: inline;
	float: left;
}

.site-title {
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem;
	text-transform: uppercase;
	//letter-spacing: 0.4em;
	//display: inline;
	height: 150px;
	vertical-align: bottom;
	padding-top: 125px;
	margin-left: -40px;
}

p.site-title {
	padding-top: 150px;
	//border: 1px solid #ccc;
}

.site-title a:hover {
	color: #ccc;
}

#flags_language_selector {
	text-align: right;
	width: 100%;
}

#flags_language_selector img {
	margin-left: 2px;
}

.site-footer {
	padding: 0;
	margin-top: 50px;
	margin-bottom: 20px;
}

.site-footer .site-info {
	display: block;
	width: 100%;
}

.site-footer .site-title {
	font-size: .5em;
	letter-spacing: 0.1em;
}

.site-footer .site-title a {
	text-decoration: none !important;
	font-weight: 300;
}

.site-footer .site-title:after {
	content: "";
}



.primary-menu .menu-item {
	font-weight: 300;
	font-size: 11px;
	font-size: .7rem;
	text-transform: uppercase;
}

.site-content {
	padding: 0;
}

.site-header-menu {
	margin-top: 0;
	margin-bottom: 0;
}

.main-navigation {
	margin: 0;
}

.main-navigation a {
	padding-left: 0;
	padding-right: 2em;
}

.site-footer .main-navigation {
	display: block;
	width: 100%;
}

.mainpage-lead-ORYG {
	font-weight: 300;
	font-size: 1rem;
	color: #8a8a8a;
	
	margin-bottom: 50px;
	padding-bottom:50px;

	border-style: none none solid none;
	border-bottom-width: 1px;
	border-bottom-color: #ccc;
}




.mainpage-lead {

	//background-color: #000;

	font-weight: 300;
	font-size: .9rem;
	line-height: 1.5rem;
	color: #fff;
	letter-spacing: .05em;
	
	margin-bottom: 100px;
	margin-left: 100px;
	//padding: 15px 30px;

	border:0;
}


.mainpage-lead h1 {
	font-weight: 300;
	font-size: 1rem;
}

.lead,
    .lead:after{
        background-color:#000;
    }
.lead {
    position:relative;
    line-height:1;
    color:#fff;
    display:inline;
    white-space:pre-wrap;
    border:0 solid #000;
    border-width:0.25em 0; /* 0.25em is roughly equal to one space character. */
}
    .lead:after{
        content:"";
        position:absolute;
        top:-0.25em;
        //left: -1em;
        right:100%;
        bottom:-0.25em;
        width:0.25em;
    }
    .lead > span{
        position:relative;
        z-index:1;
        //padding: 0 10px;
    }



.mainpage-lead a {
	color: #fff;
}

.content-area {
	float: none;
	margin-right: 0;
	width: 100%;
}

.archive-header, .entry-header, .page-header {
	padding-top: 0;
	padding-bottom: 30px;
	border:1px solid #ccc;
	border-style: none none solid none;
	margin-bottom: 50px;
}

.category-bar {
	font-size: .7rem;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: .2em;
	margin-bottom: 40px;
}

.category-bar a {
	color: #fff;
	background-color: #3a3a3a;
	background-color: #ccc;
	padding: 6px 10px;
}


.archive-title, .entry-title, .page-title {
	padding:40px 0 0 0;
	margin:0;
	font-style:normal;
	text-transform: uppercase;
	font-size: 1.6em;
	font-weight:  300;
	letter-spacing: .5em;
	color: #3a3a3a;
	color: #707071;
}

.entry-content p {
	font-size: 1.1em;
	line-height: 1.6em;
	color: #707071;
}

.project-description {
	float: right;
	width: 30%;
	padding-left: 50px;
	//border-left-color: #ccc;
	//border-left-style: solid;
	//border-left-width: 1px;
	margin-left: 50px;
	display: inline-table;
	height: 100%;
	font-weight: 300;
	font-size: .6em;
	text-transform: uppercase;
}

.project-desc-item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom-color: #ccc;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

#gallery-1 {
	//float: right;
	//width: 30%;
	
	margin-top: 30px;
}

#gallery-1:before {
	content: "";
	margin-bottom: 35px;
	margin-left: 5px;
	display: block;
	font-weight: 300;
	font-size: .8em;
	border-bottom-color: #ccc;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.gallery-columns-4 .gallery-item {
    max-width: 24%;
}

.portfolio .entry-content {
	float: none !important;
	width: 65% !important;
}


.potfolio-mainpage:after {
	display: block;
	width: 100%;
	clear: both;
	float: none;
	content: "";
}

.portfolio-mainpage-item {
	width: 20%;
	height: 192px;
	//margin-right: 5%;
	//margin-bottom: 5%;
	
	float: left;
	
	opacity: 0.6;
	-moz-opacity: 0.6; 
	-khtml-opacity: 0.6;
	filter: alpha(opacity=60);
	
	background-size:cover;
}


.portfolio-mainpage-item:hover {
	opacity: 1;
	-moz-opacity: 1; 
	-khtml-opacity: 1;
	filter: alpha(opacity=100);
}


.category-list-tabs {
	margin-bottom: 40px;
}

.category-list-tabs li {
	display: inline;
	//background-color: #ccc;
	padding: 4px 16px 7px 0;
	//background-color: #707071;
	color: #fff;
	margin-right: 32px;
	min-width: 239px;
}

.category-list-tabs li:last-child {
	padding: 4px 0 7px 0;
	margin-right: 0 !important;
}

.category-list-tabs ul {
	margin: 0 !important;
}

.category-list-tabs li a {
	//color: #fff;
	color: #707071;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 300;
	font-size: .6em;
}


.cat-item-5w { background-color: #9cbccc !important; }
.cat-item-4w { background-color: #919191 !important; }
.cat-item-3w { background-color: #74717e !important; }
.cat-item-2w { background-color: #efb159 !important; }

.single-category-header {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom-color: #ccc;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	font-size: .7em;
	font-weight: 300;
	text-transform: uppercase;
	clear: both;
	width: 100%;
	display: block;
}






.hentry {
	padding: 0;
}








ul.nav-menu, div.nav-menu > ul {
	padding-right: 0;
	padding-top: 15px;
}

.nav-menu li a {
	padding: 0;
	margin-left: 15px;
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus {
	background-color: #fff;
	
}

.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus, .newClass {
	border: 1px dashed #ccc;
	border-style: none none dashed none;
	border: 2px solid #000;
	border-style: none none solid none;
	padding-bottom: 10px !important;
	color: #525252 !important;
	//font-weight: 500 !important;
}




.entry-header, .entry-content {
	max-width: 100%;
}

.entry-content {
	font-weight: 300;
	font-size: 13px;
	line-height: 1.5em;
}

.entry-content .category-list {
	margin-bottom: 40px;
}

.entry-content .category-list a {
	color: #000 !important;
	font-size: 12px;
	text-transform: uppercase;
}





.archive-header, .archive-meta {
	padding:0;
	background-color: transparent;
	height:auto;
}

.archive-meta a, .archive-meta a:hover {
	color: #000;
	text-decoration: none;
}





.kategoria .entry-header, .kategoria .entry-content {
	margin:0;
}



.single-cat-header, .archive-title a, .textlink {
	margin: 30px 0 -40px 0 !important;
	padding-top: 0;
	color: #000 !important;
	text-transform: uppercase;
	font-size: 14px;
	font-weight:  300;
}

.mb50 {
	margin-bottom: 50px;
	//display: block;
	//clear: both;
	width: 100%;
}

.single-cat-header a { 
	color: #000;
	}


.entry-thumbnail img {
	margin:0;
	width: 100%;
}


.category-listing {
	float:left; width:20%; margin-right:3%;
}

.category-listing-item {
	height: 360px;
}

.category-listing-item a, .jea a, .cat-icon a {
	color: #000;
}

.category-listing-item p, .cat-icon a {
	font-weight:300;
	font-size: 12px;
	margin-bottom:15px;
	color: #000;
}

.category-listing img {
	width:100%;
}

.entry-content blockquote {
	font-size: 16px;
	line-height: 1.4em;
}



.site-footer {
	background-color: #fff;
}

.closeit {
	width: 100%;
	display: block;
	clear: both;
}







@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}





@media (max-width: 999px) {

		.site {
			padding-left: 20px;
			padding-right: 20px;
		}
	
		.box-width, .site, .site-content {
			width: auto;
		}
	
		.category-list-tabs li, .category-list-tabs li:last-child {
			display: block;
			line-height: .9em;
			padding: 0;
		}
	
		.site-title {
			font-size: .7em;
		}
		
		.archive-title, .entry-title, .page-title {
			letter-spacing: normal;
		}
		
		.entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
		  margin-right: 0;
		  margin-left: 0;
		}
		
		.archive-header, .entry-header, .page-header {
		    padding-top: 0;
		    padding-bottom: 15px;
		    margin-bottom: 20px;
		}
		
		.page-header {
			margin-left: 0;
		}
		
		.category-bar {
		    margin-bottom: 20px;
		}
		
		.portfolio-mainpage-item {
			height: 180px;
		}
		
		.portfolio .entry-content {
		    width: auto !important;
		}
		

		
		.project-description {
		  float: none;
		  width: 100%;
		  padding-left: 0;
		  margin-left: 0;
		  display: block;
		  height: 100%;
		  margin-bottom: 30px;
		}
		
		.project-desc-item {
			float: left;
			width: 50%;
		}
		
		.wp-image-602e {
			display: block;
			float: none;
			clear: both;
			width: 100%;
		}
		
		#colophon {
			display: none;
		}
		
		.menu-toggle {
			position: absolute;
			top: 40px;
			right: 20px;
		}

}

@media (max-width: 850px) {

	.portfolio-mainpage-item {
		width: 33%;
		height: 240px;
	}

}

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

	.site {
		padding-left: 20px;
		padding-right: 20px;
	}

	.box-width, .site, .site-content {
		width: auto;
	}

	.category-list-tabs li, .category-list-tabs li:last-child {
		display: block;
		line-height: .9em;
		padding: 0;
	}

	.site-title {
		font-size: .7em;
	}
	
	.archive-title, .entry-title, .page-title {
		letter-spacing: normal;
	}
	
	.entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
	  margin-right: 0;
	  margin-left: 0;
	}
	
	.archive-header, .entry-header, .page-header {
	    padding-top: 0;
	    padding-bottom: 15px;
	    margin-bottom: 20px;
	}
	
	.category-bar {
	    margin-bottom: 20px;
	}
	
	.portfolio-mainpage-item {
		width: 33%;
		height: 192px;
	}
	
	.portfolio .entry-content {
	    width: auto !important;
	}
	
	.project-description {
	  float: none;
	  width: 100%;
	  padding-left: 0;
	  margin-left: 0;
	  display: block;
	  height: 100%;
	  margin-bottom: 30px;
	}
	
	.project-desc-item {
		float: left;
		width: 50%;
	}
	
	.wp-image-602 {
		display: block;
		float: none;
		clear: both;
		width: 100%;
	}
	
	#colophon {
		display: none;
	}
	
	.menu-toggle {
		position: absolute;
		top: 40px;
		right: 20px;
	}

}


@media (max-width: 550px) { 

	.portfolio-mainpage-item {
		width: 33%;
		height: 130px;
	}

}



@media (max-width: 400px) {



}
