/*
Theme Name: rkitekts
*/
body{
	font-size:14px;
	line-height:20px;
	font-family:arial,sans-serif;
}
*{
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
	position:relative;
}
header.selects {
	margin-bottom:20px;
}
header.selects select{
	width:150px;
	max-width:100%;
	
}
body,html{
	overflow-x:hidden;
	overflow-y:auto;
}
body.home .project .content{
	width:550px;
	max-width:100%;
}
.home #office .project > .team:last-child:after{
	display:none!important;
}
.fancy-logos img{
	height:36px;
	width:auto;
}
.fancy-logos{
	margin:15px 0 20px 0;
}
.home .main-col:not(.current):hover{
	background-color:rgba(200,226,256,.5);
	cursor:pointer;
}

#news .project{
	margin-bottom:15px;
}
.row > .main-col:first-child:before{
	display:none!important;
}
body{
	margin:0;
}
p{
	margin:3px 0;
}
.gallery{
	margin:5px 0;
	width:500px;
	max-width:100%;
}
#news .project > div >strong{
	text-decoration:underline;
}
.main-col:before{
	content:"";
	position:absolute;
	top:0;
	left:5px;
	height:100%;
	width:2px;
	background-color:#000;
	display:block;
}
.home .main-col:hover:not(.current) .fancy-logos > img:nth-child(1){
	opacity:0;
}

.home .main-col:hover:not(.current) .fancy-logos > img:nth-child(2){
	display:block;
}
.home .main-col .fancy-logos > img:nth-child(2){
	display:none;
	position:absolute;
	top:0;
}
.home #office .project > .team:after{
	display:block;
	content:"--";
	margin:10px 0;
}
.row{
	display:flex;
	flex-wrap:wrap;
}

.row > *{
	padding:15px;
}
#works:not(.current) .project .invisible{
	display:none!important;
	visibility:hidden;
}
#works:not(.current) .project .visible{
	display:block!important;
	visibility:visible;
}
#all-projects{
	display:none;
}

body[data-category=""][data-year=""][data-id=""] #all-projects {
	display:block!important;
}
body[data-category=""][data-year=""][data-id=""] #works .projects .project {
	display:none!important;
}
#works:not(.current) .project{
	display:block!important;
	visibility:visible;
	
}
.home-page body, .home-page body .main-col{
	-webkit-transition:all .5s ease;
}
@media screen and (min-width:992px){
	body.has-current #main > .row{
		flex-wrap:nowrap!important;
	}
	.home #main > .row > .col{
		flex:0 0 33%;
	}
	.home .row,.home .row .main-col{
		overflow-x:hidden;
		overflow-y:auto;
	}
	body,html{
		overflow:hidden;
	}
	.main-col.current {
		overflow-x:hidden;
		overflow-y:auto;
		height:100%;
	}
}
@media screen and (max-width:991px){
	.home #main > .row > .col{
		flex:0 0 100%;
		width:100%;
	}	
}

@media screen and (min-width:992px){
	body.home.has-current #main > .row  .col.current{
		flex:0 0 70%!important;
	}
	body.home.has-current #main > .row > .col:not(.current){
		flex:0 0 15%!important;
	}
}
.home #main > .row > *:nth-child(2),.home #main > .row > *:nth-child(3){
	border-left:1px #CCC solid;
}
.hide{
	display:none!important;
	visibility:hidden;
}
body[data-category=""][data-year=""][data-id=""] #works .hide{
	display:block!important;
	visibility:visible!important;
}
.project.show .visible{
	display:none;
}
.project:not(.show) .invisible{
	display:none;
}

img{
	max-width:100%;
	height:auto;
}

.col:not(.current) .show .invisible{
	display:none!important;
}

/*.project .gallery > a img{
	width:100%;
	height:auto;
}
.project .gallery > a{
	display:block;
	flex: 0 0 calc(100% / 6);
}
.project .gallery {
	display:flex;
	flex-wrap:wrap;
	column-gap:10px;
}
*/

body[data-year=""][data-category=""][data-id=""] #works .project-content{
	display:none;
}
body[data-id=""] #works .project-content{
	display:none;
}

#jig1{
	width:100%!important;
}
#news:not(.current) .masonry-item img{
	width:auto!important;
	height:95px!important;
}
body:has(#office.current) #works .masonry-grid .masonry-item img:not(.zoomed),body:has(#news.current) #works .masonry-grid .masonry-item img:not(.zoomed){
	width:auto!important;
	height:36px!important;
}
body:has(#works.current) #office .gallery img,body:has(#works.current) #office .imageWall img,body:has(#works.current) #news .gallery img,body:has(#office.current) #news .gallery img,body:has(#news.current) #office .imageWall img{
	width:auto!important;
	height:36px!important;
}

.current .masonry-grid .masonry-item img:not(.zoomed),body[data-category=""][data-year=""][data-id=""] #all-projects .masonry-item img:not(.zoomed){
	width:auto!important;
	height:95px!important;
}
.masonry-grid .masonry-item{
	float:left;
	display:inline-block;
	margin:0 5px 5px 0;
}
.clear{
	clear:both;
}
@media screen and (min-width:768px){
	.current #officeDynamicCont{
		width:40%;
	}
}

#news:not(.current) .full-content{
	display:none;
}
#news.current .excerpt{
	display:none;
}
.jigErrorMessage{
	display:none!important;
}
body[data-id=""] #all-projects{
	display:block!important;
}
body[data-id=""] #works .project{
	display:none!important;
}
.project.show .masonry-item{
	display:block!important;
	visibility:visible!important;
}
