/* add the classes for image and caption alignment */
.peg-album.alignleft, .peg-photo.alignleft, .wp-caption.alignleft {
    float: left;
    margin: 0px;
}

.peg-album.alignright, .peg-photo.alignright, .wp-caption.alignright {
    float: right;
    margin: 0px;
}

.peg-album.aligncenter, .peg-photo.aligncenter, .wp-caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* correct the image spacing when captions are on */
div.wp-caption {
    padding: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.peg-album div.wp-caption {
    padding: 1px;
    margin-right: 1px;
    margin-bottom: 1px;
}

/* add the border and spacing for our images */
img.peg-photo:hover, .peg-album img:hover {
    border-color: red;
}

img.peg-photo {
    border: 1px solid #e6e6e6;
    padding: 1px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.peg-album img {
    border: 1px solid #e6e6e6;
    padding: 0px;
    margin-right: 1px;
    margin-bottom: 1px;
}

.peg-album {
    padding-bottom: 20px;
}

/* add the classes for the phototile album */
.peg-phototile.alignleft img {
    float: left;
}

.peg-album.peg-phototile img {
    padding-left: auto;
    padding-right: auto;
}

/* add the clear class for the P tag inserted after batches */
p.clear {
    clear: both;
}

/* play overlay stuff */
div.play_overlay_wrapper {
    position: relative;
    display: block;
}

span.play_overlay {
    float: left;
    width: 0px;
    height: 0px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA8xJREFUWMO9mMtLG1EUhx2b%2BIy12tJ1H6no2hduXLhz5R%2Fgum5EdONCaKFCNzVYSKtEIj5aEUWNibbFSgtNG10VFy1RF1IolCiStJqX5jWTnhvuleP1TmZixAs%2FJhmGnG%2FOPa8bqeD8kjS%2BpwsuLtG9nJak8yoyqnbNC0JNhRxANl0KRmRQJN4TikAioJwhiLEbKsIg2LBMlcoHRgRgAB