﻿/* Photo frames */

.photo-frame .topx-- {
	background-image: url(Images/GalleryFrames/frame-topx--.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	width: auto;
	height: 4px;
	vertical-align: top;
}
.photo-frame .top-x- {
	background-image: url(Images/GalleryFrames/frame-top-x-.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	width: auto;
	height: 4px;
}
.photo-frame .top--x {
	background-image: url(Images/GalleryFrames/frame-top--x.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	width: auto;
	height: 4px;
	vertical-align: top;
}

.photo-frame .midx-- {
	background-image: url(Images/GalleryFrames/frame-midx--.gif);
	background-repeat: repeat-y;
	width: 4px;
	height: auto;
}
.photo-frame .mid--x {
	background-image: url(Images/GalleryFrames/frame-mid--x.gif);
	background-repeat: repeat-y;
	width: 4px;
	height: auto;
}

.photo-frame .botx-- {
	background-image: url(Images/GalleryFrames/frame-botx--.gif);
	background-repeat: no-repeat;
	background-position: top;
	width: 4px;
	height: 4px;
	vertical-align: top;
}
.photo-frame .bot-x- {
	background-image: url(Images/GalleryFrames/frame-bot-x-.gif);
	background-repeat: repeat-x;
	background-position: top;
	width: auto;
	height: 4px;
}
.photo-frame .bot--x {
	background-image: url(Images/GalleryFrames/frame-bot--x.gif);
	background-repeat: no-repeat;
	background-position: top;
	width: 4px;
	height: 4px;
	vertical-align: bottom;
}

/* Album frames */

.album-frame .topx----,
.album-frame .top----x
{
	height: 14px;
	width: 14px;
	vertical-align: bottom;    
}
.album-frame .botx----,
.album-frame .bot----x {
	height: 14px;
	width: 14px;
	vertical-align: top;
}

.album-frame .top-x--- {
	background-image: url(Images/GalleryFrames/album-tstretch.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	vertical-align: bottom;
	text-align: left;
	height: 14px;
	width: auto;
}
.album-frame .top--x-- {
	background-image: url(Images/GalleryFrames/album-tstretch.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	vertical-align: bottom;
	height: 14px;
	width: auto;
}
.album-frame .top---x- {
	background-image: url(Images/GalleryFrames/album-tstretch.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	vertical-align: bottom;
	text-align: right;
	height: 14px;
	width: auto;
}

.album-frame .mtpx---- {
	background-image: url(Images/GalleryFrames/album-lstretch.gif);
	background-repeat: repeat-y;
	vertical-align: top;
	height: auto;
	width: 14px;
}
.album-frame .mtp----x {
	background-image: url(Images/GalleryFrames/album-rstretch.gif);
	background-repeat: repeat-y;
	vertical-align: top;
	height: auto;
	width: 14px;
}

.album-frame .midx---- {
	background-image: url(Images/GalleryFrames/album-lstretch.gif);
	background-repeat: repeat-y;
	height: auto;
	width: 14px;
}
.album-frame .mid----x {
	background-image: url(Images/GalleryFrames/album-rstretch.gif);
	background-repeat: repeat-y;
	height: auto;
	width: 14px;
}

.album-frame .mbtx---- {
	background-image: url(Images/GalleryFrames/album-lstretch.gif);
	background-repeat: repeat-y;
	vertical-align: bottom;
	height: auto;
	width: 14px;
}
.album-frame .mbt----x {
	background-image: url(Images/GalleryFrames/album-rstretch.gif);
	background-repeat: repeat-y;
	vertical-align: bottom;
	height: auto;
	width: 14px;
}

.album-frame .bot-x--- {
	background-image: url(Images/GalleryFrames/album-bstretch.gif);
	background-repeat: repeat-x;
	background-position: top;
	vertical-align: top;
	text-align: left;
	height: 14px;
	width: auto;
}
.album-frame .bot--x-- {
	background-image: url(Images/GalleryFrames/album-bstretch.gif);
	background-repeat: repeat-x;
	background-position: top;
	vertical-align: top;
	height: 14px;
	width: auto;
}
.album-frame .bot---x- {
	background-image: url(Images/GalleryFrames/album-bstretch.gif);
	background-repeat: repeat-x;
	background-position: top;
	vertical-align: top;
	text-align: right;
	height: 14px;
	width: auto;
}
