@import url('https://fonts.googleapis.com/css?family=Noto+Sans');

body{
	margin:0;
	padding:0;
	background:#fff;
	color:#515151;
	/*font-family: "Lucida Sans Unicode", "Lucida Sans", "Lucida Grande", Arial, sans-serif;*/
	font-family: Noto Sans;
	min-height:100%;
	height:100%;
	height:100vh;
	display:flex; 
	flex-direction:column; 
}

header {
	width:100%;
	height: 113px;
	display: block;
	/*min-height:50px;*/
}

.logo {
	width:319px;
	height:73px;
	float:left;
	margin:28px 0 0 0;
	position:relative;
}

.logo a {
	text-indent: -99999px;
	display: block;
	float:left;
	background-color: transparent;
	width:319px;
	height:73px;
	background-image:url(/images/logo.png);
	background-repeat: no-repeat;
	outline:none;
}	

.wrapper {
	width: 1170px;
	padding: 0 15px;
	margin: 0 auto;
}

h1 {
	font-size: 1.5em;
	/*font-weight: normal;*/
	/*margin: 20px 10px 40px;*/
	/*margin-left: 10px;*/
}

h2 {
	margin-top: 0;
	font-size: 1.3em;
}

h3 {
	margin-top: 0;
	font-size: 1.2em;
}

.bread {
	display: block;
	/*background: #8bb698;*/
	background: #6b9578;
	/*background: #3b5543;*/
	color: #fff;
	text-shadow: 0px 1px 3px rgba(34, 60, 80, 0.5);
	padding: 20px 0;
}

.bread a {
	color: #fff;
	text-decoration: none;
	text-shadow: 0px 1px 3px rgba(34, 60, 80, 0.5);
}

.bread a:hover {
	text-decoration: underline;
}

.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
	margin: 20px -20px;
}

.categories_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border: 1px solid #eaeaea;
    transition: .2s ease-in-out;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #fff;
}

.categories_item:hover {
    border: 1px solid #aeaeae;
    box-shadow: 0 4px 20px rgba(107, 149, 120, .2);
}

.categories_image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.categories_image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.categories_link {
    width: 100%;
    padding: 10px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories_link a {
    text-decoration: none;
    font-size: 1em;
    color: darkslategray;
}


.proekty {
	width: 100%;
	position: relative;
	display: block;
	margin: 30px -10px;
}

.proekty_item {
	display: inline-block;
	width: 530px;
	height: 460px;
	vertical-align: top;
	text-align: center;
	padding: 10px;
	margin: 10px;
	border: 1px solid #eaeaea;
	transition: .2s ease-in-out;
	border-radius: 5px;
}

.proekty_item:hover {
	/*
	border: 1px solid #fff;
	box-shadow: 0px 2px 4px rgba(34, 60, 80, 0.5);
	*/
	border: 1px solid #aeaeae;
	box-shadow: 0 4px 20px rgba(107,149,120,.2);
}

.proekty_image {
	display: inline-block;
	width: 530px;
	height: 400px;
}

.proekty_image img {
	width: 530px;
	position: relative;
	/*top: 50%;*/
	/*transform: translateY(-50%);*/
}

.proekty_link {
	display: block;
}

.proekty_link a {
	text-decoration: none;
	font-size: 1em;
	color: darkslategray;
}

.page {
	width: 100%;
	position: relative;
	display: block;
	margin: 30px 0;
}

.content {
	padding-bottom: 10px;
}
	
.col {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: 10px;
margin-left: 10px;
}

.col-2 {
-webkit-box-flex: 0;
-ms-flex: 0 0 45%;
flex: 0 0 45%;
max-width: 45%;
}

.item {
	margin-bottom: 20px;
}

.label {
  display: block;
  font-size: 0.9em;
  line-height: 1em;
  margin-bottom: 10px;
}

.value, .item a {
  font-size: 1.1em;
  line-height: 1.3em;
  color: #000000;
  margin: 0;
  text-decoration: none;
}

.row {
  width: initial !important;
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.col-md {
-webkit-box-flex: 0;
-ms-flex: 0 0 45%;
flex: 0 0 45%;
max-width: 45%;
position: relative;
width: 100%;
min-height: 1px;
padding-right: 10px;
padding-left: 10px;
}

.input-label,
.textarea-label {
  display: block;
  margin: 10px 0;
  width: 100%;
}
.input-label span,
.textarea-label span {
  display: block;
  margin-bottom: 5px;
  font-size: 1em;
  line-height: 1em;
}
.input-label span sup,
.textarea-label span sup {
  display: inline-block;
  margin-left: 2px;
  color: red;
}
.input-label input,
.textarea-label textarea {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  font-size: 1.2em;
  line-height: 1em;
  padding: 8px 10px;
  resize: none;
  transition: .2s ease-in-out;
  border: 1px solid #eee;
}
.textarea-label textarea {
  line-height: 1.3em;
  min-height: 110px;
}
.input-label input:focus,
.textarea-label textarea:focus {
  border: 1px solid rgba(107,149,120,1);
  -webkit-box-shadow: 0 4px 20px rgba(107,149,120,.2);
  box-shadow: 0 4px 20px rgba(107,149,120,.2);
}

.input-label span sup, .textarea-label span sup {
  display: inline-block;
  margin-left: 2px;
  color: red;
}
sup {
  top: -.5em;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.btn {
  font-family: Noto Sans;
  display: inline-block;
  margin: 15px 0;
  padding: 12px 30px 12px;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  outline: none;
  background: rgba(211,211,211,1);
  color: #6b9578;
  font-size: 1em;
  font-weight: 800;
  line-height: 1em;
  -webkit-box-shadow: 0 4px 20px rgba(211,211,211,.2);
  box-shadow: 0 4px 20px rgba(211,211,211,.2);
  transition: .2s ease-in-out;
  cursor: pointer;
  border-radius: 5px;
}
.btn:hover {
  color: #6b9578;
  background: rgba(190,190,190,1);
  -webkit-box-shadow: 0 4px 20px rgba(190,190,190,.2);
  box-shadow: 0 4px 20px rgba(190,190,190,.2);
}
.btn.btn-primary {
  color: white;
  background: rgba(134,180,144,1);
  -webkit-box-shadow: 0 4px 20px rgba(107,149,120,.2);
  box-shadow: 0 4px 20px rgba(107,149,120,.2);
  text-shadow: 0px 1px 3px rgba(34, 60, 80, 0.5);
}
.btn.btn-primary:hover {
  color: white;
  background: rgba(62,94,66,.6);
  -webkit-box-shadow: 0 4px 20px rgba(127,215,247,.2);
  box-shadow: 0 4px 20px rgba(127,215,247,.2);
}

main {
	width: 100%;
}

footer {
	margin-top:auto;
/*min-height:50px;*/
display: block;
	/*background: #8bb698;*/
	background: #6b9578;
	color: #fff;
	text-shadow: 0px 1px 3px rgba(34, 60, 80, 0.5);
	width: 100%;
}

footer .left, footer .right {
	display: inline-block;
	padding: 40px 80px 40px 0;
	vertical-align: top;
}

footer .footer-link {
	color: #fff;
	text-decoration: underline;
	font-size: 13px;
	display: inline-block;
	margin-top: 10px;
	opacity: 0.8;
}

footer .footer-link:hover {
	opacity: 1;
	text-decoration: none;
}


	
	/*.page img {
		width: 1150px;
		height: auto;
	}
	*/
	
        .table-container {
            width: 100%;
            display: flex;
            justify-content: center;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
        }
        th, td {
            border: 1px solid #515151;
            padding: 10px;
            text-align: center;
            /*word-wrap: break-word;*/
            /*overflow-wrap: break-word;*/
            font-size: 14px;
            white-space: normal;
            hyphens: none;
        }
        th {
            background-color: #bddbbf;
        }
        tr:nth-child(even) {
            background-color: #eff3ed;
        }
        @media (max-width: 768px) {
            th, td {
                font-size: 10px;
                padding: 5px;
            }
        }
        .wide-first-column colgroup col:first-child {
            width: 50%;
        }
        .wide-first-column colgroup col:nth-child(2),
        .wide-first-column colgroup col:nth-child(3) {
            width: 25%;
        }

		
        .image-container {
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
        }
        .image-container a {
            width: 50%;
            border: 1px solid #515151;
            box-sizing: border-box;
            display: flex;
        }
        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        @media (max-width: 768px) {
            .image-container a {
                width: 100%;
            }
        }
		
		
.image-one {
    display: flex;
    align-items: stretch;
    gap: 10px; /* ровный отступ между изображениями */
    justify-content: center;
}

.image-one a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* отступ от изображения до рамки */
    box-sizing: border-box;
    flex: 0 1 auto;
    background: #fff;
    border: 1px solid #515151; /* рамка у блока */
}

.image-one img {
    height: 548px; /* фиксированная одинаковая высота */
    width: auto;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .image-one {
        flex-direction: column;
    }

    .image-one a {
        width: 100%;
    }

    .image-one img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
}




.inline-gallery-container {
  width: 100%;
  height: 700px;
  position: relative;
  border: 1px solid #515151;
}
		
		/**/
		
		#main-menu {
			z-index:3!important;
		}
		.lg-backdrop {
			background-color: #bddbbf!important;
		}
		.lg-outer .lg-thumb-outer {
			background-color: #bddbbf!important;
		}
		.lg-counter {
			color: #515151!important;
		}
		.lg-toolbar .lg-icon {
			color: #515151!important;
		}
		.lg-prev, .lg-next {
			color: #515151!important;
			background-color: rgba(135, 170, 122, 0.45) !important;
			border-radius: 4px!important;
		}
		.lg-toolbar .lg-icon:hover {
			color: #fff!important;
		}
		.lg-prev:hover, .lg-next:hover {
			color: #fff!important;
		}
		.lg-progress-bar .lg-progress {
			background-color: #6b9578!important;
		}
		.lg-progress-bar {
			background-color: #515151!important;
		}
		.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
			border-color: #6b9578!important;
		}
		.lg-sub-html {
			color: #515151!important;
		}
		/**/
/* Убедитесь, что кнопка закрытия всегда видна */
.lg-close {
  display: block !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: transparent !important;
  border: none !important;
  font-size: 30px !important;
  color: white !important;
  z-index: 9999 !important;
}

		
		
a.breadcrumb:not(:first-child)::before,
.breadcrumb-current::before {
    content: ">";
    margin: 0 10px;
    font-size: 16px;
    top: 1px;
    position: relative;
    display: inline-block;
}



@media (max-width: 1024px) {
	.wrapper {
		width: 974px;
		padding: 0 25px;
		margin: 0 auto;
	}
	
	.page img {
		max-width: 100%!important;
		height: auto;
	}
}

@media (max-width: 768px) {
	header {
		height: auto;
	}
	.wrapper {
		width: 100%;
		padding: 0;
		margin: 0;
	}
	.bread {
		padding: 20px;
	}
	.logo {
		display: none;
	}
    .categories {
        grid-template-columns: repeat(2, 1fr);
		margin: 10px 0;
    }
	.page {
		margin: 20px 0 40px;
		width: calc(100% - 40px);
		padding: 0 20px;
	}
	.proekty {
		margin: 20px 0;
	}
	.proekty_item {
		max-width: calc(100% - 60px);
		margin: 20px;
		height: auto;
		
	}
	.proekty_image {
		max-width: 100%;
		height: auto;
	}

	.proekty_image img {
		max-width: 100%;
	}
	
	/*
	.content img {
		max-width: 100%;
		height: auto;
	}
	*/
	.col-2 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		margin: 0 0 20px;
	}
	
	.col-md {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 95%;
		flex: 0 0 95%;
		max-width: 95%;
	}
	
	footer .left, footer .right {
		padding: 20px;
	}
	
}


@media (max-width: 425px) {
    /*
	.categories {
        grid-template-columns: 1fr;
    }
	*/
}