/*---------------------blogrec---------------------------*/
.blogrec {position: relative; margin: auto;  margin-bottom: 35px; padding-bottom: 140px;}


.blogrec .caption-outter { position: absolute; bottom:70px; left:50%; transform: translateX(-50%); margin: auto; width: 84%; height: 150px; background-color: #faf6f1; }
.blogrec .caption {position: relative; padding: 1px 10px 20px 5px; margin: auto;  width: 100%; height: 100%;}

.blogrec .h2-outter { width: 100%; height: 76%;
display: flex; align-items: center; 
}
.blogrec h2 {font-family: 'Noto Sans', sans-serif; color:#1f657d; font-size: 18px; font-weight: 400; line-height: 1.3; padding-left:20px; padding-right: 20px; 
 text-decoration:none; text-align: center;  margin: auto;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;    
}
.blogrec h2 a {color: #1f657d;text-decoration:none;}
.blogrec h2 a:hover {color: #1f657d;text-decoration:none;}

.blogrec div.blogcategory {position: relative; font-size: 12px; line-height: 1.2; color:#030a0c; text-align: left; width: 100%; display: inline-block; padding: 4px 0px 0px 8px; margin: 0; white-space: nowrap;  overflow: hidden; text-overflow: ellipsis;} 
.blogrec div.blogcategory::after {position: absolute; top:11px; content: '\00a0'; width: 100%; display: inline-block; height: 1px; border-left: 3px #fff solid; border-bottom: 1px #bec9cd solid; }


.blogrec p.date {position: relative;  line-height: 1; width: 100%; display: inline-block; color: #030a0c; font-size: 12px; padding: 4px 0; margin: 0; text-align: right;}
.blogrec p.date::before {position: absolute; top:9px; left: 8px; content: '\00a0'; width: 83%; display: inline-block; height: 1px; border-left: 3px #fff solid; border-bottom: 1px #bec9cd solid; z-index: -1;}

.blogrec .photo {overflow: hidden;	width:100%; height:430px;
    cursor: pointer; cursor: hand;	padding:0;	margin:0;
    display: flex; align-items: center;  justify-content: center;
}
.blogrec .photo img {min-width:100%; min-height:430px;
	cursor: pointer; cursor: hand;	margin: auto; padding: 0; border:0; z-index: 100;  object-fit: cover;}


.blogrec .caption p.descr, .blogrec .caption a.readmore {display: none;}

.blogrec .photo img{ -moz-transition:all 0.5s;-webkit-transition:all 0.5s;transition:all 0.5s;}
.blogrec .photo:hover img{-moz-transform:scale(1.08);-webkit-transform:scale(1.08);transform:scale(1.08);}
.blogrec:hover .photo img{-moz-transform:scale(1.08);-webkit-transform:scale(1.08);transform:scale(1.08);}

/*---------------------blogrec white---------------------------*/
.blogrec-type2 {margin-bottom: 5px;}
.blogrec-type2 .caption-outter {background-color: #fff; }


.blogrec-type2L {padding-bottom: 0;  margin-bottom: 70px; max-width: 1670px;}
.blogrec-type2L .caption-outterL {width:98%;}
.blogrec-type2L .captionL {position: relative; padding: 1px 10px 20px 5px; margin: auto;  width: 100%; height: 100%;}
.blogrec-type2L h2 {font-family: 'Noto Serif', serif; font-size: 25px; font-weight: 500; text-align: left; margin: 0; padding:0; margin-bottom: 22px;}
.blogrec-type2L div.blogcategory {padding:0;}
.blogrec-type2L div.blogcategory::after {content: ''; border-bottom:0;}

.blogrec-type2L .photo {height:550px;}
.blogrec-type2L .photo img {min-height:550px;}

.blogrec-type2L p.descr {color:#030a0c; line-height: 1.3;font-size: 15px;padding:0;margin:0;margin-bottom: 50px; max-width: 550px;}

.blogrec-type2L a.readmore  {padding: 12px 30px; color:#030a0c; text-decoration: none; border: 1px #1f657d solid; line-height: 1.2;}
.blogrec-type2L a.readmore:hover, .blogrec-type2L a.readmore:focus, .blogrec-type2L a.readmore:active  {color:#fff; text-decoration: none; border: 1px #1f657d solid; background-color: #1f657d;}





/*-------------------------media--------------------------*/
@media (min-width:1200px) and  (max-width:1660px)
{
.blogrec .photo {height:360px;}
.blogrec .photo img {min-height:360px;}    
.blogrec-type2L .photo {height:440px;}
.blogrec-type2L .photo img {min-height:440px;}
}

@media (min-width:992px) and (max-width:1199px)
{

.blogrec .photo {height:250px;}
.blogrec .photo img {min-height:250px;}   
    
.blogrec-type2L .photo {height:300px;}
.blogrec-type2L .photo img {min-height:300px;}       
}

@media (max-width:991px)
{
.blogrec .photo {max-width: 500px;}
.blogrec-type2L .caption-outterL {max-width: 500px;}
    
.blogrec-type2L .photo {height:400px;}
.blogrec-type2L .photo img {min-height:500px;}      
}




@media (max-width:390px)
{
.blogrec .photo {height:250px;}
.blogrec .photo img {min-height:250px;}
    
.blogrec-type2L .photo {height:300px;}
.blogrec-type2L .photo img {min-height:300px;}      
}
