

/* Start:/bitrix/templates/gvozdevsoft_gsremont_s1/components/bitrix/news.list/portfolio/style.css?17695071912548*/
/* Обновленные стили для изображений */
.news-list_portfolio .news-item > a:first-child {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* создаем квадрат 1:1 */
}

.news-list_portfolio .news-item .preview_picture {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* обрезает изображение по квадрату */
  object-position: center; /* центрируем изображение */
  float: none !important;
  margin: 0 !important;
}

/* Остальные стили остаются прежними или с небольшими изменениями */
.news-list_portfolio {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.news-list_portfolio .news-item {
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-list_portfolio .news-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-list_portfolio .news-item .news-date-time {
  display: block;
  padding: 15px 15px 8px;
  color: #666;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.news-list_portfolio .news-item > a:nth-of-type(2) {
  display: block;
  padding: 0 15px 15px;
  text-decoration: none;
  color: #333;
  font-family: Arial, sans-serif;
  line-height: 1.4;
}

.news-list_portfolio .news-item > a:nth-of-type(2) b {
  font-weight: 600;
  font-size: 16px;
}

.news-list_portfolio .news-item > a:nth-of-type(2):hover {
  color: #007bff;
}

.news-list_portfolio .news-item > div[style*="clear:both"] {
  display: none;
}

.news-list_nav{
	display:flex;
	justify-content: center;
}
 a.btn_all {
  display: flex;
  max-width: fit-content;
  padding: 11px 13px 12px 13px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9em;
  color: #fff;
  border-right: 1px solid #eee;
  background-color: #444;
}

/* Адаптивность */
@media (max-width: 992px) {
  .news-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .news-list_portfolio {
    gap: 20px;
  }
  
  .news-list_portfolio .news-item {
    flex: 0 0 100%;
  }
  
  /* На мобильных можно сделать прямоугольник 4:3 */
  .news-list_portfolio .news-item > a:first-child {
    padding-bottom: 75%; /* 4:3 соотношение */
  }
}
/* End */


/* Start:/local/components/kontur/calculator/templates/.default/style.css?17919475374589*/
#content #tabs>ul.tabs_calc{
	margin-bottom: 10px;
}

#content #tabs>ul.tabs_calc>li {
	font-size: 1.1em;
	margin-left: 2%;
	padding: 7px 3%;
	text-transform: none;
}

#content #tabs>ul.tabs_calc>li.active, #content #tabs>ul.tabs_calc>li.active:hover,
#content #tabs>ul.tabs_calc>li:hover {
	color: #000;
}

#tabs span.tabs_100 {
	display: block;
	font-size: 0.7em;
	color: #999;
}

#tabs .tabs_100 .procent {
	font-size: 1.3em;
	color: #000;
}

#content .calc {
	padding: 40px 5%;
	margin-bottom: 30px;
	background: #f7f7f7;
    border-radius: 4px;
	border: 5px solid #ccc;
}

#content .calc h3 {
	width: 200px;
	font-size: 1em;
	font-weight: 600;
	text-align: center;
	padding: 10px;
	background: #777;
	color: #fff;
	text-transform: uppercase;
	border-radius: 0 7px 0 7px;
	margin-bottom: 20px;
}

#content .calc ul {
	list-style-type: none;
	margin: 0;
}

#content .calc hr {
	border: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	margin: 25px 0;
}

#content .calc p {
	font-weight: 600;
	width: 140px;
	margin: 0;
}

#content .calc ul li {
	margin: 0 0 0 40px;
	display: inline-block;
}

#content .calc ul li:first-child{
	margin-left: 0;
}

#content .calc input[type="number"] {
	padding: 10px;
	width: 100px;
	font-size: 1.5em;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#content .calc select {
	padding: 7px;
	width: 350px;
	font-size: 1em;
	border: 2px solid #fdb418;
	border-radius: 4px;
	background: #fff;
}

#content .calc .razdelitel {
	margin-left: 20px;
}

#content .calc ul li.otstup_abh {
	margin-left: 16px;
}

#content .calc .calc_rezultat {
	margin: 70px 0 0 0;
	padding: 20px;
	background: #eaeaea;
	border-radius: 4px;
}

#content .calc .calc_rezultat p {
	width: 100%;
	padding: 10px 0;
	margin: 0;
	font-size: 1em;
	color: #717171;
	text-transform: uppercase;
	border-bottom: 1px dashed #ccc;
}

#content .calc_rez,
#content .calc .rub {
	font-size: 1.5em;
	color: #5aba2b;
}

#content .calc .rub {
	margin-left: 5px;
	text-transform: lowercase;
}

#content .calc input[type=checkbox] {
	vertical-align: top;
	margin: 0 3px 0 0;
	width: 17px;
	height: 17px;
}

#content .calc input[type=checkbox] ~ label {
	cursor: pointer;
}

#content .calc input[type=checkbox]:not(checked) {
	position: absolute;
	opacity: 0;
}

#content .calc input[type=checkbox]:not(checked) ~ label {
	position: relative;
	padding: 0 0 0 60px;
}

#content .calc input[type=checkbox]:not(checked) ~ label:before {
	content: '';
	position: absolute;
	top: -4px;
	left: 0;
	width: 50px;
	height: 26px;
	border-radius: 13px;
	background: #CDD1DA;
	box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}

#content .calc input[type=checkbox]:not(checked) ~ label:after {
	content: '';
	position: absolute;
	top: -2px;
	left: 2px;
	width: 22px;
	height: 22px;
	border-radius: 10px;
	background: #FFF;
	box-shadow: 0 2px 5px rgba(0,0,0,.3);
	transition: all .2s; /* Р°РЅРёРјР°С†РёСЏ, С‡С‚РѕР±С‹ С‡РµРєР±РѕРєСЃ РїРµСЂРµРєР»СЋС‡Р°Р»СЃСЏ РїР»Р°РІРЅРѕ */
}

#content .calc input [type=radio]{
    vertical-align: top;
    width: 17px;
    height: 17px;
    margin: 0 3px 0 0;
}
#content .calc input [type=radio]+ label {
    cursor: pointer;
}
#content .calc input[type=radio]:not(checked) {
    position: absolute;
    opacity: 0;
}
#content .calc input[type=radio]:not(checked) ~ label {
    position: relative;
    padding: 0 0 0 35px;
}
#content .calc input[type=radio]:not(checked) ~ label:before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #CDD1DA;
    border-radius: 50%;
    background: #FFF;
}
#content .calc input[type=radio]:not(checked) ~ label:after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fdb418;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
    opacity: 0;
    transition: all .2s;
}
#content .calc input[type=radio]:checked ~ label:after {
    opacity: 1;
}
#content .calc input[type=radio]:focus ~ label:before {
    box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

#content .calc input[type=checkbox]:checked ~ label:before {
	background: #9FD468;
}

#content .calc input[type=checkbox]:checked ~ label:after {
	left: 26px;
}

#content .calc input[type=checkbox]:focus ~ label:before {
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

/* SEO: заголовок калькулятора как бывший h1 */
#content h2.calc-title {
	font-size: 1.9em;
	margin: 0 0 22px 0;
}

/* End */


/* Start:/bitrix/templates/gvozdevsoft_gsremont_s1/components/bitrix/news.list/uslugi/style.css?17695071912403*/
/* Обновленные стили для изображений */
.news-list_uslugi .news-item > a:first-child {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.news-list_uslugi .news-item .preview_picture {
  width: 100%;
  height: 100%;
  object-fit: cover; /* обрезает изображение по квадрату */
  object-position: center; /* центрируем изображение */
  float: none !important;
  margin: 0 !important;
}

/* Остальные стили остаются прежними или с небольшими изменениями */
.news-list_uslugi {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.news-list_uslugi .news-item {
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-list_uslugi .news-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-list_uslugi .news-item .news-date-time {
  display: block;
  padding: 15px 15px 8px;
  color: #666;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.news-list_uslugi .news-item > a:nth-of-type(2) {
  display: block;
  padding: 0 15px 15px;
  text-decoration: none;
  color: #333;
  font-family: Arial, sans-serif;
  line-height: 1.4;
}

.news-list_uslugi .news-item > a:nth-of-type(2) b {
  font-weight: 600;
  font-size: 16px;
}

.news-list_uslugi .news-item > a:nth-of-type(2):hover {
  color: #007bff;
}

.news-list_uslugi .news-item > div[style*="clear:both"] {
  display: none;
}

.news-list_nav{
	display:flex;
	justify-content: center;
}
 a.btn_all {
  display: flex;
  max-width: fit-content;
  padding: 11px 13px 12px 13px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9em;
  color: #fff;
  border-right: 1px solid #eee;
  background-color: #444;
}

/* Адаптивность */
@media (max-width: 992px) {
 .news-list_uslugi .news-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .news-list_uslugi {
    gap: 20px;
  }
  
  .news-list_uslugi .news-item {
    flex: 0 0 100%;
  }
  
  /* На мобильных можно сделать прямоугольник 4:3 */
  .news-list_uslugi .news-item > a:first-child {
    padding-bottom: 75%; /* 4:3 соотношение */
  }
}
/* End */
/* /bitrix/templates/gvozdevsoft_gsremont_s1/components/bitrix/news.list/portfolio/style.css?17695071912548 */
/* /local/components/kontur/calculator/templates/.default/style.css?17919475374589 */
/* /bitrix/templates/gvozdevsoft_gsremont_s1/components/bitrix/news.list/uslugi/style.css?17695071912403 */
