.image-gallery-portlet .gallery .photos {
    margin-left: 6px;
    margin-right: -6px;
}
.image-gallery-portlet .gallery .photos .image{
    float: left;
    margin: 0 0.5em 0.5em 0;
    background: url("images/boxshadow-bg.png") no-repeat scroll right bottom transparent;
}
.image-gallery-portlet .gallery .photos .image a{
    display: block;
    padding: 0.2em;
    border: 1px solid #DEDEDE;
    cursor: pointer;
    position: relative;
    top: -6px;
    left: -6px;
}
.image-gallery-portlet .gallery .photos .image a:hover{
    opacity: 0.8;
}


.image-gallery-portlet .gallery .photos .image a .innerimage{
    background: #000;
    display: table-cell;
    vertical-align:middle;  
    text-align: center;
    overflow: hidden;
}

.image-gallery-portlet .gallery .photos .image a .innerimage.no-crop{
	background-image: none !important;
}

.image-gallery-portlet .gallery .photos .image a .innerimage.crop{
	background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-attachment: scroll;
    display: block;
    overflow: hidden;
}

.image-gallery-portlet .gallery .photos .image a .innerimage.crop img{
	visibility: hidden;
}

.ie6 .image-gallery-portlet .gallery .photos .image a .innerimage,
.ie7 .image-gallery-portlet .gallery .photos .image a .innerimage{
	display: block;		
}

.image-gallery-portlet .gallery .photos .image a .innerimage .before {
    content: '.';
    width: 0;
    overflow: hidden;
    height: 120px;
    vertical-align: middle;
    display: inline-block;
}

.image-gallery-portlet .gallery .photos .image a .innerimage .after{
    content: '.';
    width: 0;
    overflow: hidden;
    height: 120px;
    vertical-align: middle;
    display: inline-block;
}
.image-gallery-portlet .gallery .photos .image a .innerimage img{
    vertical-align: middle;
    cursor: url(images/zoomin.cur), pointer !important;
    position: relative;
    top: 5px;
}


/*
.image-gallery-portlet .gallery .photos .image a .innerimage{
    background: #000;
    display: inline-block;
    height: 120px;
    text-align: center;
    width: 150px;
    line-height: 120px;
}


.image-gallery-portlet .gallery .photos .image a .innerimage img{    
    cursor: url(images/zoomin.cur), pointer !important;   
    vertical-align: middle;
}
*/

.image-gallery-portlet .gallery .infoImage{
    color: #999999;
    display: inline-block;
    font-size: 0.85em;
    height: 40px;
    padding: 5px;
    width: 140px;
    text-align: center;
}
.image-gallery-portlet .gallery .infoImage .titleImage{
    display: block;
}
.image-gallery-portlet .gallery .infoImage .caracteristicsImage{
}



/** Folders **/

.image-gallery-portlet .gallery .folders{
    background-color: #FAFAFA;
    border-color: #CACACA;
    border-style: solid;
    border-width: 1px;
    margin: 1em 1em 1em 0;
    padding: 0.8em 1em;
    box-shadow: 4px 4px 13px #CACACA;
}
.image-gallery-portlet .gallery .folders .text{
    color: #999999;
    display: inline;
    font-size: 0.85em;
    font-style: italic;
    margin-right: 1em;
}
.image-gallery-portlet .gallery .folders .entries{
    margin: 0;
    padding: 0;
    display: inline;
}
.image-gallery-portlet .gallery .folders .folder{
    display: inline;
    list-style: none outside none;
    margin: 0 0.8em 0.4em 0;
}
.image-gallery-portlet .gallery .folders .folder a{
    color: #333333;
    font-size: 0.85em;
    text-transform: capitalize;
    font-weight: normal;
}
.image-gallery-portlet .gallery .folders .folder a:hover{
    color: #000;
}
.image-gallery-portlet .gallery .folders .selected a{
    font-weight: bold;
}
.image-gallery-portlet .taglib-page-iterator .search-pages{
	margin: 0 1em 0 0;
}
.image-gallery-portlet .taglib-page-iterator .search-pages .page-links a.previous,
.image-gallery-portlet .taglib-page-iterator .search-pages .page-links a.next{
	background: #FAFAFA;
	padding: 1em;
	border: 1px solid #cacaca;
	color: #999999;
}
.image-gallery-portlet .taglib-page-iterator .search-results{
	padding: 0.5em 0;
}
.image-gallery-portlet .taglib-page-iterator .search-results strong,
.image-gallery-portlet .taglib-page-iterator .search-results a{
	background: #FAFAFA;
	padding: 1px 5px;
	border: 1px solid #cacaca;
	color: #999999;
}
.image-gallery-portlet .taglib-page-iterator .search-results strong{
	color: #000;
}

.image-gallery-portlet .disabled{
	display: none !important;
}


/*Commons image sizes*/
.image-gallery-portlet .w100{width: 100px; height: 100px;}
.image-gallery-portlet .w120{width: 120px; height: 120px;}
.image-gallery-portlet .w150{width: 150px; height: 150px;}
.image-gallery-portlet .w160{width: 160px; height: 160px;}
.image-gallery-portlet .w170{width: 170px; height: 170px;}
.image-gallery-portlet .w110-h80{width: 110px; height: 80px;}
.image-gallery-portlet .w80-h110{width: 80px; height: 110px;}
.image-gallery-portlet .w200{width: 200px; height: 200px;}
.image-gallery-portlet .w250{width: 250px; height: 250px;}
.image-gallery-portlet .w300{width: 300px; height: 300px;}
.image-gallery-portlet .w350{width: 350px; height: 350px;}
.image-gallery-portlet .w400{width: 400px; height: 400px;}
.image-gallery-portlet .w450{width: 450px; height: 450px;}
.image-gallery-portlet .w470-h245{width: 470px; height: 245px;}
.image-gallery-portlet .w245-h470{width: 245px; height: 470px;}
.image-gallery-portlet .w500{width: 500px; height: 500px;}
.image-gallery-portlet .w180-h540{width: 180px; height: 540px;}
.image-gallery-portlet .w540-h180{width: 540px; height: 180px;}				
.image-gallery-portlet .w600{width: 600px; height: 600px;}
.image-gallery-portlet .w800{width: 800px; height: 800px;}
.image-gallery-portlet .w800-h315{width: 800px; height: 315px;}
.image-gallery-portlet .w315-h800{width: 315px; height: 800px;}

.image-gallery-portlet .lfr-pagination{
	display: none;	
}

/* Style combo*/
.image-gallery-portlet .filter-select{
	text-align: right;
}

/* Config */
.config-form #folders-list{
	list-style: none;
	margin: 0;
	padding: 0;
}
.config-form #folders-list li{
	padding: 0.2em 0.5em;
	border: 1px solid #cacaca;
	margin-bottom: 0.2em;
}
.config-form #folders-list li:nth-child(odd) {background: #fafafa;}
.config-form #folders-list li:nth-child(even) {background: #fff;}