

/* Start:/bitrix/templates/.default/components/bitrix/catalog.section.list/fotodefense_list_main_sections/style.css?16764011911994*/
.main_list_sections{
	padding-top:31px;
}

.list_sections .item_section{
    position:relative;
	width: calc((100% - 1px) / 2);
    height: 450px;
    margin: 0 0px 30px 0;
    border: none;
    overflow: hidden;
}

.list_sections .name_section {
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 400;
    text-transform: uppercase;
    font-weight:bold;
    padding: 0 15px;
    text-align: center;
    font-size: 36px;
    line-height: 130%;
}

.list_sections .icon_section {
    width: 120px;
    height: 120px;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom:5px;
    -webkit-background-size:auto 100%;
    -moz-background-size:auto 100%;
    background-size:auto 100%;
}

.list_sections .item_section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background:rgba(0,39,82,0.3);
    -webkit-transition: all .35s linear 0s;
    -moz-transition: all .35s linear 0s;
    -o-transition: all .35s linear 0s;
    transition: all .35s linear 0s;
}

.list_sections .item_section:hover:before {
    background: rgba(0,39,82,0.7);
}

.list_sections .item_section img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


@media only screen and (max-width: 1170px) {
	.main_list_sections{
		padding-top:12px;
	}
	
	.list_sections .item_section{
		position:relative;
		width: calc((100% - 1px) / 2);
		height:300px;
		margin-bottom:15px;
	}
	
	.list_sections .icon_section {
		width:80px;
		height:80px;
		margin-bottom: 5px;
	}
	
	
	.list_sections .name_section{
		font-size: 25px;
	}
}

@media only screen and (max-width: 600px){
	.list_sections .item_section{
		width:100%;
		height:250px;
		margin:0 0 15px 0;
	}
	
	/*.list_sections .item_section img{
        display: block;
        width:auto;
        height:100%;
    }*/

}

/* End */


/* Start:/bitrix/templates/.default/components/bitrix/news.line/fotodefense_portfolio_elements/style.css?16764011916648*/
.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows:minmax(270px, 270px) minmax(270px, 270px) minmax(270px, 270px);
	grid-column-gap:1px;
	grid-row-gap:1px;
	grid-template-areas: "element_0 element_0 element_1 element_2" "element_3 element_4 element_4 element_2" "element_3 element_5 element_6 element_6";
	padding-bottom:75px;
}


.element_0 { grid-area: element_0; }
.element_1 { grid-area: element_1; }
.element_2 { grid-area: element_2; }
.element_3 { grid-area: element_3; }
.element_4 { grid-area: element_4; }
.element_5 { grid-area: element_5; }
.element_6 { grid-area: element_6; }


.portfolio_elements a{
	overflow:hidden;
	position:relative;
}

.portfolio_elements .portfolio_element img{
	height: 100%;
	width:100%;
	-webkit-transition: all 1.08s linear 0s;
    -moz-transition: all 1.08s linear 0s;
    -o-transition: all 1.08s linear 0s;
    transition: all 1.08s linear 0s;
	/* display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
	height:150%; */
}

.portfolio_element:hover img{
	
}

.portfolio_elements .portfolio_element.element_4 img,
.portfolio_elements .portfolio_element.element_0 img,
.portfolio_elements .portfolio_element.element_6 img{
	width: 100%;
    height: auto;
}

.portfolio_elements .portfolio_element.element_2 img,
.portfolio_elements .portfolio_element.element_3 img{
	height: 100%;
    width: auto;
    position: absolute;
}



/*
.element_2 img,
.element_3 img{
	height: 100%;
    width: auto;
} */


.portfolio_elements a:before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	opacity:0;
	background: rgba(0, 39, 82, 0.7);
	-webkit-transition: all .35s linear 0s;
	-moz-transition: all .35s linear 0s;
	-o-transition: all .35s linear 0s;
	transition: all .35s linear 0s;
}

.grid-container a.element_4 .block_info_portfolio,
.portfolio_elements a.element_4:before,
.grid-container a:hover .block_info_portfolio,
.portfolio_elements a:hover:before{
	opacity:1;
}

.grid-container .block_info_portfolio{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 600;
	padding:25px;
	opacity:0;
	-webkit-transition: all .35s linear 0s;
	-moz-transition: all .35s linear 0s;
	-o-transition: all .35s linear 0s;
	transition: all .35s linear 0s;
} 

.grid-container .block_info_portfolio .name_block{
	color: #fff;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    line-height: 140%;
    margin-bottom: 35px;
	width: 100%;
}

.grid-container .block_info_portfolio .btn_block{
	border:1px solid #fff;
	color:#fff;
	text-transform:uppercase;
	font-size: 14px;
	padding: 7px 35px;
}
 
@media only screen and (max-width: 1170px){
	
	.grid-container {
		padding-bottom:15px;
		grid-template-rows:minmax(200px, 200px) minmax(200px, 200px) minmax(200px, 200px);
	}
	
	.grid-container .block_info_portfolio .name_block {
		font-size: 18px;
		width:100%;
	}
}
  
 @media only screen and (max-width: 800px){
	.grid-container {
		grid-template-rows:minmax(150px, 150px) minmax(150px, 150px) minmax(150px, 150px);
	}
} 

 
@media only screen and (max-width: 650px){
	.grid-container .block_info_portfolio .name_block {
		font-size: 14px;
		margin-bottom:20px;
	}
	
	.grid-container .block_info_portfolio .btn_block {
		padding: 7px 15px;
	}
}
 
 @media only screen and (max-width: 600px){
	.grid-container {
		display:block;
		padding-bottom:14px;
	}
	
	.portfolio_elements a{
		height: 150px;
		overflow: hidden;
		display: block;
		margin-bottom: 1px;
	}
	.portfolio_elements .portfolio_element img,
	.portfolio_elements .portfolio_element.element_2 img, 
	.portfolio_elements .portfolio_element.element_3 img,
	.portfolio_elements a img{
		display:block;
		position:relative;
		height:auto;
		width:100%;
	}
	
	.grid-container .block_info_portfolio,
	.portfolio_elements a:before{
		opacity:1;
	}
} 

@media all and (-ms-high-contrast:none) {
  
  .grid-container {
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    -ms-grid-rows: 1fr 1fr 1fr;
  }

  .element_0 {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
  }

  .element_1 {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
  }

  .element_2 {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 4;
    -ms-grid-column-span: 1;
  }

  .element_3 {
    -ms-grid-row: 2;
    -ms-grid-row-span: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
  }

  .element_4 {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
  }

  .element_5 {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
  }

  .element_6 {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 3;
    -ms-grid-column-span: 2;
  }

}

@supports not (display: grid){

	.portfolio_elements{
		background:#fff;
	}

	.grid-container{
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-justify-content: space-between;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-align-content: space-between;
		-ms-flex-line-pack: justify;
		align-content: space-between;
		-webkit-align-items: flex-start;
		-ms-flex-align: start;
		align-items: flex-start;
		padding-bottom:75px;
	}
	
	
	.portfolio_elements a{
		width:calc((100% - 3px) / 4);
		height:270px;
		margin-bottom:1px;
	}

	.portfolio_elements a:last-child{
		width: calc(((100% - 1px) / 4) * 2);
	}
	
	@media only screen and (max-width: 1000px){
	
		.grid-container{
			padding-bottom:29px;
		}
	 
		.portfolio_elements a{
			height:200px;
		}

		.grid-container .block_info_portfolio{
			padding:10px;
		}
		
		.grid-container .block_info_portfolio .btn_block{
			display:none;
		}
		
		.grid-container .block_info_portfolio .name_block{
			margin-bottom:0;
			font-size: 16px;
		}

	}
	
	@media only screen and (max-width: 600px){
	
		.portfolio_elements a{
			width:calc((100% - 2px) / 3);
			height:200px;
			margin-bottom:1px;
		}

		.portfolio_elements a:last-child{
			width:100%;
		}

		.portfolio_elements a img{
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: center center;
		} 
	}  
  
	@media only screen and (max-width: 500px){
		
		.portfolio_elements a{
			width:calc((100% - 1px) / 2);
			height:150px;
		}	
		
	}

}































/* End */
/* /bitrix/templates/.default/components/bitrix/catalog.section.list/fotodefense_list_main_sections/style.css?16764011911994 */
/* /bitrix/templates/.default/components/bitrix/news.line/fotodefense_portfolio_elements/style.css?16764011916648 */
