﻿/* Random Content Widget ===================================================== */

.links .loading {
    display: -moz-inline-box;
    display: inline-block;
    margin-left: 15px;
    height: 16px;
    vertical-align: middle;
    background: url("../images/loader_w16.gif") no-repeat left top;
    zoom: 1;
    //display: inline;
}

.widget_content_random {
    height: 100%;
}

.widget_content_random ul.column{  
    width: 100%;  
    padding: 0;  
    margin: 0;  
    list-style: none;  
	background: #fff none repeat scroll 0 0;
}  
.widget_content_random ul.column li { 
    display: inline-block; 
    vertical-align: top;
    max-width: 132px; /* ширина колонки по умолчанию */  
    padding: 0;   
    text-align: left;  
}

.widget_content_random ul.column li:last-child {   
    margin-bottom: 0;  
}

.rnd_item { 
overflow: hidden;
padding: 30px 0px;
 }

.rnd_item .loading {
    padding: 0 0 10px 25px;
    background: url("../images/loader16.gif") no-repeat left top;
}

.rnd_image {
    height: 230px;
	max-height: 230px;
    overflow: hidden;
}

.rnd_image > a { display: block; height: 230px; overflow: hidden; }

.rnd_image > a > img {
max-height: 200px;
  transition: all 0.3s ease 0s;
  background-size: cover;
  width: 100%;
  border-radius: 18px;
min-height: 200px;
    height: 100vh;
  object-fit: cover;
}

.rnd_image:hover {
    opacity: 0.8;
	transition: all 0.3s ease 0s;
}

.rnd_image2 {
    height: 280px;
	max-height: 280px;
    overflow: hidden;
}

.rnd_image2 > a { display: block; height: 240px; overflow: hidden; }

.rnd_image2 > a > img {
    width: 100%;
	transition: all 0.3s ease 0s;
}

.rnd_image2 > a > img:hover {
    opacity: 0.8;
	transition: all 0.3s ease 0s;
}

.rnd_item .title { font-size: 16px;}

.rnd_item .rnd_teaser { font-size: 16px; margin-top: 5px; }

.rnd_item .details { font-size:11px; color:#999; margin-top: 10px; }
.rnd_item .details a { color:#BDC3C7; }
.rnd_item .details a:hover { color:#d35400; }

.rnd_item .details span {padding-right: 5px;}
.rnd_item .details span.comments {
    padding-left: 20px;
    background: url("../images/icons/comment-small.png") no-repeat left center;
}

.widget_content_random .clear-fix::after {
    content: '';
    display: block;
    clear: both;
    height: 0px;
    visibility: hidden;
    //display: table;
    //clear: both;
}