﻿/* Photo Border for All Pages Except the Albums Page */

.PhotoFrame .TopX-- {
	background-image: url(Images/PhotoFrames/frame-TopX--.gif);
	background-repeat: no-repeat;
	width: auto;
	height: 4px;
	vertical-align: top;
}
.PhotoFrame .Top-X- {
	background-image: url(Images/PhotoFrames/frame-Top-X-.gif);
	background-repeat: repeat-x;
	width: auto;
	height: 4px;
}
.PhotoFrame .Top--X {
	background-image: url(Images/PhotoFrames/frame-Top--X.gif);
	background-repeat: no-repeat;
	width: auto;
	height: 4px;
	vertical-align: top;
}

.PhotoFrame .MidX-- {
	background-image: url(Images/PhotoFrames/frame-MidX--.gif);
	background-repeat: repeat-y;
	width: 4px;
	height: auto;
}
.PhotoFrame .Mid--X {
	background-image: url(Images/PhotoFrames/frame-Mid--X.gif);
	background-repeat: repeat-y;
	width: 4px;
	height: auto;
}

.PhotoFrame .BotX-- {
	background-image: url(Images/PhotoFrames/frame-BotX--.gif);
	background-repeat: no-repeat;
	width: 4px;
	height: 4px;
	vertical-align: top;
}
.PhotoFrame .Bot-X- {
	background-image: url(Images/PhotoFrames/frame-Bot-X-.gif);
	background-repeat: repeat-x;
	width: auto;
	height: 4px;
}
.PhotoFrame .Bot--X {
	background-image: url(Images/PhotoFrames/frame-Bot--X.gif);
	background-repeat: no-repeat;
	width: 4px;
	height: 4px;
	vertical-align: bottom;
}

/* Photo Border for the Album Page */

.AlbumFrame .TopX----,
.AlbumFrame .Top----X,
.AlbumFrame .BotX----,
.AlbumFrame .Bot----X {
	height: 14px;
	width: 14px;
}

.AlbumFrame .Top-X--- {
	background-image: url(images/PhotoFrames/album-tstretch.gif);
	background-repeat: repeat-x;
	text-align: left;
	height: 14px;
	width: auto;
}
.AlbumFrame .Top--X-- {
	background-image: url(images/PhotoFrames/album-tstretch.gif);
	background-repeat: repeat-x;
	height: 14px;
	width: auto;
}
.AlbumFrame .Top---X- {
	background-image: url(images/PhotoFrames/album-tstretch.gif);
	background-repeat: repeat-x;
	text-align: right;
	height: 14px;
	width: auto;
}

.AlbumFrame .MtpX---- {
	background-image: url(images/PhotoFrames/album-lstretch.gif);
	background-repeat: repeat-y;
	vertical-align: top;
	height: auto;
	width: 14px;
}
.AlbumFrame .Mtp----X {
	background-image: url(images/PhotoFrames/album-rstretch.gif);
	background-repeat: repeat-y;
	vertical-align: top;
	height: auto;
	width: 14px;
}

.AlbumFrame .MidX---- {
	background-image: url(images/PhotoFrames/album-lstretch.gif);
	background-repeat: repeat-y;
	height: auto;
	width: 14px;
}
.AlbumFrame .Mid----X {
	background-image: url(images/PhotoFrames/album-rstretch.gif);
	background-repeat: repeat-y;
	height: auto;
	width: 14px;
}

.AlbumFrame .MbtX---- {
	background-image: url(images/PhotoFrames/album-lstretch.gif);
	background-repeat: repeat-y;
	vertical-align: bottom;
	height: auto;
	width: 14px;
}
.AlbumFrame .Mbt----X {
	background-image: url(images/PhotoFrames/album-rstretch.gif);
	background-repeat: repeat-y;
	vertical-align: bottom;
	height: auto;
	width: 14px;
}

.AlbumFrame .Bot-X--- {
	background-image: url(images/PhotoFrames/album-bstretch.gif);
	background-repeat: repeat-x;
	text-align: center;
	height: 14px;
	width: auto;
}
.AlbumFrame .Bot--X-- {
	background-image: url(images/PhotoFrames/album-bstretch.gif);
	background-repeat: repeat-x;
	height: 14px;
	width: auto;
}
.AlbumFrame .Bot---X- {
	background-image: url(images/PhotoFrames/album-bstretch.gif);
	background-repeat: repeat-x;
	text-align: center;
	height: 14px;
	width: auto;
}

img.PhotoFrame
{
    border: 4px solid white;
}