﻿img:not(.video-icon):not(.image-item-img) { border: 1px solid #CCCCCC  !important; }

.block-content .block-item { /*width: 248px;*/ }

.block-content .block-item:nth-child(2n) { background-color: #EFEFEF !important; }

.block-content .block-item:nth-child(2n + 1) { background-color: white !important; }

.block-twoline .block-item {  width: 120px !important; }

.block-twoline .block-item:nth-child(4n + 1), .block-twoline .block-item:nth-child(4n + 2) { background-color: white !important; }

.block-twoline .block-item:nth-child(4n), .block-twoline .block-item:nth-child(4n - 1) { background-color: #EFEFEF !important; }


.image-item {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: #fff;
    border: 1px solid #AFAFAF;
    border-radius: 3px;
    cursor: pointer;
    float: left;
    height: 66px !important;
    margin: 6px;
    padding: 2px;
    position: relative;
}

.image-item img {
    height: 99% !important;
    margin: 1px;
    width: 99% !important;
}

.image-main { width: 98px; }

.image-small { width: 98px; }