.portfolio_item, .portfolio_item_coauthor, .portfolio_company_item{
	height: 352px;
	max-width: 390px;
}
@media handheld, only screen and (max-width: 767px) {
	.portfolio_item, .portfolio_item_coauthor, .portfolio_company_item {
		height: auto;
	}
}
.portfolio_item a, .portfolio_item_coauthor a, .portfolio_company_item a{
	margin-bottom:16px;
}
.custom_container a.link-detail-portfolio {
    text-decoration: none;
}
.custom_container a.link-detail-portfolio:hover {
    text-decoration: underline;
}
.one_section_block
{
	position: relative;
	overflow:hidden;
}
.one_section_block .close_section, .one_section_block .youtube_video, .one_section_block .panorama
{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: 52px;
    height: 45px;
    margin-top: -22px;
    margin-left: -26px;
    background: 0% 0% no-repeat url('images/lock.png');
}
.one_section_block .youtube_video{
    background: 0% 0% no-repeat url('/bitrix/templates/archiprofi_v2015/images/files/youtube.png');	
	width: 41px;
    height: 41px;
    margin-left: -19px;	
	/*opacity: 0.5;*/
}
.one_section_block .panorama
{
    background: 0% 0% no-repeat url('/bitrix/templates/archiprofi_v2015/images/files/panorama_icon.png');
    width: 90px;
    height: 90px;
    margin-top: -40px;
    margin-left: -43px;
    /*opacity: 0.6;*/	
}
.one_section_block .show_more_works
{
    display: none;
    position: absolute;
    z-index: 10;
	width: 100%;
	height: 100%;
	background:  rgba(0, 0, 0, 0.5);
	margin-top: -10px;
}
.one_section_block .show_more_works .works_logo{
    background: 0% 0% no-repeat url('/images/photo.png');	
    width: 55px;
    height: 50px;
	display:block;	
	margin: -35px 0 0 -27px;	
	position:absolute;
	top:50%;
	left:50%;
}
.one_section_block .show_more_works .works_num{
	color:#FFF;
	width: 100px;
	display: block;
	margin: 20px 0 0 -40px;
	font-size: 15px;
	top:50%;
	left:50%;
	position:absolute;
}
.portfolio_item .author{
	padding: 0 12px;
	margin-top: 10px;
	margin-bottom: 5px;
}
.portfolio_item .text.has_author{
	margin-top: 5px !important;
}
@media (max-width: 1024px){
	.grid.item_list_block{
		display:inline-block;
		text-align:center;
	}
	.grid.item_list_block .item_list{
		display:inline-block;
	}
	.grid.item_list_block .item_list .portfolio_item .text{
		text-align:left;
	}
	.specialist_portfolio .item_list .col-1-3 .text{
		height: auto !important;
	}
}

.user_company_select{
	position: absolute;
	z-index: 9999 !important;
	top: 10px;
	left: 30px;
}
.user_company_select select{
	width:auto;
	max-width: 50%;
}

a.ap-work-item__video-link {
	display: block;
	margin: 0;
	padding-bottom: 76%;
	position: relative;
}

.portfolio_item_coauthor_img_link,
.portfolio_item_img_link {
	padding-bottom: 76%;
	position: relative;
}
.portfolio_item_coauthor_img_link img,
.portfolio_item_img_link img {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	object-fit: cover;
}