*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body{
	font-family: 'Exo 2', sans-serif;
}
/* MENU */
header{
	background-color: /*#ffcc00*/  /*#c9c6b6*/ #e3e1dd /*#ffbe00*/;
	z-index: 100;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%
}

header .row{
	margin-bottom: 0px;
}
header #nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header #nav-menu a {
  display: block;
  text-decoration: none;
  outline: none;
  transition: .4s ease-in-out;
}
header .topmenu {
  backface-visibility: hidden;
  background-color: /*#eceae9*//* #ed8d02 */ /*#ffcc00*/ #e3e1dd /*#c9c6b6*/ /*#ffbe00*/;
  text-align: center;
}
header .topmenu > li {
  display: inline-block;
  position: relative;
}

.topmenu > li:hover {
	background-color: #ffbe00;
	color: #fff;
}
header .topmenu > li > a {
  font-family: 'Exo 2', sans-serif;
  height: 70px;
  line-height: 70px;
  padding: 0 5px;
  font-weight: 500;
  font-size: 16px;
  color: /*#482e24*/ #000;
  text-transform: uppercase;
}

header .topmenu li a:hover { color: #fff; }

.submenu li a:hover { color: #ffbe00 !important; }

header .submenu {
  background: white;
  border: 2px solid #482e24;
  position: absolute;
  left: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 5;
  width: 285px;
  transform: perspective(600px) rotateX(-90deg);
  transform-origin: 0% 0%;
  transition: .6s ease-in-out;
  text-align:left;
}

header .topmenu > li:hover .submenu{
  visibility: visible;
  opacity: 1;
  transform: perspective(600px) rotateX(0deg);
}

header .submenu li a {
	color: #7f7f7f;
	font-size: 16px;
	line-height: 28px;
	padding: 0 10px;
}

.topmenu li a.active{
	color: #f0b006;
}
 
.submenu li > ul{
	display:none; top: 0px;
	left:100%; 
	background: white;
	border: 2px solid #482e24;
	position: absolute;
	z-index: 5;
	width: 285px;
	/*transform: perspective(600px) rotateX(-90deg);*/
	/*transform-origin: 0% 0%;*/
  	transition: .6s ease-in-out;
  	visibility: hidden;
  	opacity: 0;
}

.submenu li:hover > ul{
	display: block; 
	visibility: visible;
  	opacity: 1;
	/*transform: perspective(600px) rotateX(0deg);*/
} 

header .phones{
	margin-top: 10px;
	text-align: center;
}
header .phones a{
	text-align: center;
	font-family: 'Exo 2', sans-serif;
	  font-weight: 500;
	  color: #482e24;
	  font-size: 16px;
	  transition: .4s ease-in-out;
}
header .phones a:hover{
	color: #f0b006; 
}


.mobile-menu {
	display: none;
}

.modal {
	width: 33% !important;
}

.modal .btn {
	background-color: #ffcc00;
	color: #000 !important;
	display: block;
	margin: 0 auto;
	margin-top: 30px;
}
/* END MENU */

/* SLIDER */
#slider{
	/*padding-top: 30px;*/
	margin-bottom: -5px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
} 

.slick-next::before, .slick-prev::before {
    color: #000;
}

.slider img {
	width: 100%;
	height: auto;
}

#top-text{
	padding: 40px 0;
	background-image: url("../img/fon4.jpg");
}

#top-text h3{
	font-size: 36px;
	font-weight: 500;
	margin: 0;
}

#top-text p{
	font-size: 20px;
	margin-bottom: 0px;
}

/* END SLIDER */

#common-blocks{
	background: url(../img/fon3.jpg) fixed;
	background-size: cover;
	height: auto;
	padding-top: 60px;
	padding-bottom: 60px;
}

#common-blocks .m0{
	margin: 0;
}


#common-blocks .icon {
	font-size: 150px;
	color: #fff;
	margin: 0 auto;
}

#common-blocks .h285{
	height: auto;
	margin-top: 4%;
}

#common-blocks h5 {
	text-align: center;
	margin: 0;
	margin-bottom: 10px;
	font-family: 'Exo 2';
}

#common-blocks p {
	font-family: 'Exo 2';
}

#common-blocks .card-panel {
	padding: 10px;
	border-radius: 10px;
	text-align: justify;
}

#articles ol li{
	color: #482e24;
	font-size: 18px;
}

#articles ol li a{
	color: #482e24;
	font-size: 18px;
}

#articles ol li a:hover{
	color: #f0b006;
}

/*.article-card  {
	min-height: 370px !important;
	/*width: 100% !important;
}*/
*/
#news-page .card-content p {
	font-family: 'Exo 2';
	font-size: 20px !important;
}

#news-in-page .description {
	font-size: 20px;
}

#news-page iframe{
	max-width: 100%;
	max-height: 100%;
	height: 320px !important;
	width: 100% !important;
}

#news-page .card .card-content {
    min-height: 150px;
}

#news{
	background:url("../img/fon4.jpg") repeat;
	-webkit-background-size: cover;
	background-size: cover;
	padding-bottom: 20px;
}

#news h3{
	font-size: 28px;
	font-weight: 500;
	padding-top: 20px;
	color: #482e24;
	margin: 0;
	margin-bottom: 20px;
	font-family: 'Exo 2';
}

#news .row{
	margin-bottom: 0px;
}

#news .card-content p {
	font-family: 'Exo 2';
	font-size: 16px !important;
}

#news .card .card-image .card-title {
    color: #482e24;
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: bold;
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 0px;
    background-color: rgba(255,255,255,0.3);
}
 
.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    color: #482e24;
}

.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating):hover {
    color: #f0b006;
}

#about-us{
	padding-bottom: 20px;
	/*border-top: 1px solid #482e24;*/
	/*background-color: #e3e1dd;*/
	background-image:  url("../img/fon4.jpg");
}

/*#about-us .main-categories  {
	height: auto;
}

#about-us .card .card-content {
    padding: 24px;
    height: auto;
}
*/
#about-us i.right, .video-ico  {
    float: right;
}

#about-us h3{
	font-size: 28px;
	font-weight: 500;
	margin-top: 20px;
	color: #482e24;
	font-family: 'Exo 2';
	/*font-family: 'M PLUS 1p', sans-serif;*/
}

#about-us p{
	text-align: justify;
	font-family: 'Exo 2';
}

#about-us .card-content span {
	font-size: 16px;
}

#about-us .card img {
	padding: 10px;
}

.category-cards .card .card-content {
    padding: 24px;
    height: auto;
}

.category-cards .card .card-content p {
    font-size: 16px;
    word-wrap: break-word;
}

footer{
	background-color: /*#e3e1dd*/  #e3e1dd ;
	padding-top: 20px;
	padding-bottom: 20px;
}

footer .logo-footer{
	text-align: center;
	display: block;
	position: relative;
	vertical-align: middle;
	margin: 0 auto;
	
}

footer .mb{
	margin-bottom: 0px;
}

footer .pdt20{
	padding-top: 20px;
}

/*.bt{
	border-top:1px solid #482e24;
*/}

 	
footer .social{
	/*text-align: center;*/
}
footer i{
	color:#482e24;
	font-size: 36px;
}
footer i:hover{
	color: #ffbe00;
}
footer p{
	color:#000;
}
footer a{
	color:#482e24;
}

footer a:hover{
	color: #ffbe00;
}


#news-page h4{
	color:#482e24;
}

#news-in-page{
	padding-bottom: 20px;
}

#news-in-page h1{
	margin-top: 5px;
}


/*CATEGORY PAGE*/
.category-field {
	background-color: #9e9e9e;
	/*margin-top: 30px;*/
}

.category-name{
	color: #fff;
	margin: 20px 0px;
	margin-bottom: 25px;
	font-size: 32px;
	line-height: inherit;
}

.category-cards .card-title {
	background-color: #ffcc00;
	font-size: 10px;
}

.category-cards .card-action a {
	text-align: center;
	margin-right: 0 !important;
}

.category-cards .description {
	text-align: center;
}

/*END CATEGORY PAGE*/


/*CONTACTS*/
.contacts-field {
  background-color: #9e9e9e;
  /*margin-top: 30px;*/
}

.contacts {
  color: #fff;
  padding-bottom: 10px;
}

.card-panel{
	padding: 24px;
	padding-bottom: 10px;
}

.contact-cards a{
	color:#482e24;
}

.contact-cards a:hover{
	color: #f0b006;
}

.contact-cards .mt20{
	margin-top: 45px;
}

.contact-cards i {
  font-size: 16px;
  padding-right: 5px;
  vertical-align: -2px;
  color: #c2833c;
}
/*END CONTACTS*/

.sidenav-overlay{
	left: 300px !important;
}


@media screen and (max-width: 1921px){
	.bottom-footer{
		position: absolute;
		bottom: 0;
		width: 100%;
	}
}


@media screen and (max-width: 1368px){
	#news-page .card .card-content {
		min-height: 110px;
	}
	.card .card-content{
		padding: 18px;
	}
	.card .card-content .card-title{
		line-height: 24px !important;
		margin-bottom: 0px;
	}
	.card .card-title{
		font-size: 20px;
	}
.bottom-footer{
		position: relative;
	}
.category-cards .card .card-content p {
    font-size: 12px;
}
}

@media screen and (max-width: 1281px){
	.category-cards .card .card-content p {
    font-size: 11px;
	}
	header .topmenu > li > a{
	padding: 0 4px;
	font-size: 13px;
	}
		.bottom-footer{
		position: relative;
	}
}

@media screen and (max-width: 1025px){
	header .topmenu > li > a{
		padding: 0 3px;
		font-size: 10px;
	}
	.category-cards .card .card-content p {
   		font-size: 7px;
	}
	.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large):not(.btn-floating) {
    	font-size: 10px;
	}
	.logo{
		width: 120px;
	}
	#about-us .card-content span {

    font-size: 10px;

}
}

@media screen and (max-width:500px){ 
	.card .card-action {
		text-align: center;
	}
	
	#news-page h4{
		font-size: 24px;
		text-align: center;
	}

	.dropdown-content li > a {
	    font-size: 13px;
	    height: 48px;
	    line-height: normal;
	    padding-top: 15px;
	}
	#top-text p {
    	font-size: 18px;
	}
	.slider{
		display: none;
	}
	.parallax-container {
    	height: 1900px;
	}
	.modal {
		width: 100% !important;
	}

	.desktop-menu {
		display: none;
	}

	header .phones a{
		font-size: 14px;
	}
	.open-mob-menu{
		position: absolute;
		top:20px;
		left:10px;
		color:#f0b006;
	}
	.open-mob-menu .material-icons{
		font-size: 30px;
	}

	.open-mob-menu a{
		color: #f0b006;
	}

	.mobile-menu {
		display: block;
		padding-bottom: 10px;
	}

}
}

@media screen and (min-width:320px){ 
	#about-us .main-categories  {
	min-height: 360px;
}
}

.slider{
	height: 100%;
}

/* CATEGORY CARDS — одинаковая высота и аккуратные изображения */
.category-cards .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-cards .card-image {
  height: 180px;                /* фиксированная высота блока под фото */
  overflow: hidden;
  background: #f6f6f6;          /* нейтральный фон, когда у фото другие пропорции */
}

.category-cards .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;           /* фото целиком, без обрезки; поставить cover — если нужен кадр с обрезкой */
  object-position: center;
  display: block;
}

.category-cards .card-content {
  flex: 1 1 auto;                /* растягиваем контент, чтобы action ушёл вниз */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;              /* подравниваем высоту блока заголовка */
}

.category-cards .card-content p {
    margin: 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ограничение в 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-cards .card:hover .card-content p {
    -webkit-line-clamp: unset; /* убираем ограничение */
    display: block;            /* возвращаем обычный блок */
    white-space: normal;       /* перенос слов как обычно */
    overflow: visible;         /* показываем весь текст */
}

.category-cards .card-action {
  margin-top: auto;              /* прижимаем кнопку вниз, всё ровно по высоте */
  text-align: center;
}

/* Адаптивная корректировка высоты изображения */
@media (max-width: 1024px) {
  .category-cards .card-image { height: 150px; }
}
@media (max-width: 600px) {
  .category-cards .card-image { height: 180px; } /* на телефоне можно оставить повыше */
}

