/********** caption image ************/
.caption-image-widget{
    display:inline-block;
    position:relative;
    height: auto;
    border: 1px solid #aaa;        
    border-radius: 2px;
    background-color: #f8f7f3;
    padding: 7px !important;
    margin-bottom: 20px;
    margin: 10px 10px;
}

.caption-image-widget img{
    width:100%;    
    height: auto;
    padding-bottom: 3px;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #99988d;
}

.caption-image-widget p{
    margin:0px;
}
.caption-image-widget .img-tools{
    float: right;
    background-color: #f0eee6;
    padding: 3px 5px;
    margin-left: 7px;
    border-left: 1px solid #99988d;
    border-right: 1px solid #99988d;
    border-bottom: 1px solid #99988d;
    -webkit-border-radius: 0 0 0 8px;
    -moz-border-radius: 0 0 0 8px;
    -o-border-radius: 0 0 0 8px;
    border-radius: 0 0 0 8px;
}
.caption-image-widget .img-tools a{
    text-indent: -9999px;
    display: inline-block;
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: all ease 0.3s;
}
.caption-image-widget .img-tools a:hover{
    opacity: 1;
    
}
.caption-image-widget .img-tools a.enlarge {
    background: url(../img/photo-zoom-icon.png) no-repeat center center;
}

.caption-image-widget .img-tools a.pdf-version {
    background: url(../img/photo-pdf-icon.png) no-repeat center center;
}

.caption-image-widget .img-tools a.download-photo {
    background: url(../img/photo-download-icon.png) no-repeat center center;
}
/********** end caption image ************/