/* Gallery Module Style Sheet */
.clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;} .clearfix{display:inline-block;} html[xmlns] .clearfix{display:block;} * html .clearfix{height:1%;}

img {border:none;}
/* Gallery-Upload-Form (The form id = "gallery-upload-form" */
#gallery-upload #gallery-upload-form{}
#gallery-upload #gallery-upload-form .upload-wrapper {
clear: both;
display: block;
float: right;
margin: 5px 0;
padding: 5px;
border-top: 1px solid #ddd;
text-align: right;
width: auto !important;
width: 470px; /*hack for ie grr */
}
#gallery-upload #gallery-upload-form .upload-wrapper .upload-line {
clear: both;
margin-top: 5px;
padding: 5px;
}
#gallery-upload #gallery-upload-form p {
clear: both;
text-align: left;
display: inline;
font-weight:bold;
color: #999;
font-size: 14px;
padding: 5px;
vertical-align: top;
}
#gallery-upload #gallery-upload-form .upload-wrapper .upload-line input {
border: 2px solid #009;
padding: 3px;
font-size: 100%;
width: 350px;
}
#gallery-upload #gallery-upload-form input.submit {
clear: both;
display: block;
padding: 4px;
font-size:14px;
margin-top: 15px;
}
/*input[type="button"],
input[type="submit"] {
    font-size: 14px !important;
    font-family: 'Lucida Grande' !important;
    background: #eee !important;
    -moz-border-radius: 18px !important;
    padding: 1px 6px !important;
    border: 1px solid #ccc !important;
    border-bottom: 2px solid #999 !important;
}
input[type="file"] {
font-size: 100%;
}*/

/* GALLERY DISPLAY THUMBS */
#g-wrapper, #service-photos {
clear: both;
margin: 0 auto;
width: auto;
padding: 5px;
}
/*Holly Hack to prevent IE pixel shift on hover*/
* html #g-wrapper {
height: 1%;
}
.g-photo-td 
{ 
margin:0;
padding:10px 3px;
text-align:center;
vertical-align:middle;
width:150px;
}
#g-wrapper .g-photo-td a {
color:#3B5998;
cursor:pointer;
outline-style:none;
text-decoration:none;

}
#g-wrapper .g-photo-td img:hover {
border: 1px solid #009;
}
.g-photo-td a img 
{ 
background:white none repeat scroll 0 0;
padding:5px;
vertical-align:middle;
border:1px solid #CCC;
}
/* GALLERY IMAGE DISPLAY */
#gallery-image {
margin-top: 5px;
width: 100%;
}
#gallery-image img {
border:none;
}
#gallery-image p {
text-align: center;
padding-bottom: 15px;
}

/*GALLERY NAVIGATION */
#g-nav {
clear: both;
margin: 0 auto;
margin-left: -15px;
padding-top: 10px;
padding-bottom: 0;
text-align: center;
width: 100%;
}
#g-nav a {
display: inline;
padding: 10px;
text-decoration: none; 
border:none;
}
#g-nav a.nav {
padding: 0; border:none; color:#333;
}
#g-nav a:hover {
text-decoration: underline; color:#666;
}

/*ADMIN GALLERY HEADER*/
#g-header {
float: right;
text-align: right;
margin-top: -20px !important;
margin-top: 0;
border: 1px solid #CCC;
border-right: 10px solid #CCC;
padding: 3px;
}
/*Holly Hack to prevent IE pixel shift on hover*/
* html #gallery-header {
height: 1%;
}
#g-header a {
display: inline;
padding: 5px;
color: #F00;
font-weight: bold;
}
#g-header a:hover {
text-decoration: none;
}
#g-header p {
display: inline;
}
#g-header p:hover {
cursor: pointer;
}
#g-header p.a {
text-decoration: underline;
color:#06C;
font-weight: bold;
}
#g-header p.a:hover {
text-decoration: none;
}
#g-header #wrongpw {
color: #FF0000;
font-weight: bold;
}

/* MANAGE PHOTOS */
#g-manage {
clear: both;
}
* html #g-manage .image-wrapper{
height: 1%;
}
#g-manage .image-wrapper {
float: left;
clear: both;
display: inline;
border: 1px solid #ccc;
margin-top: 6px;
padding: 5px;
}
#g-manage .image-caption {
float: left;
display: block;
}
#g-manage .image-box {
float: right;
display: block;
padding: 2px;
margin: 0;
}
#g-manage .image-box img{
margin-left: 14px !important;
margin-left: 9px;
}
#g-manage label {
display: block;
}
#g-manage label.inline {
margin-top: 8px;
}
#g-manage .image-options-wrapper {
border: 1px solid #ddd;
padding: 3px;
}
#g-manage .image-options-wrapper .pic-order {
display: inline;
margin-top: 4px !important;
margin-top: 1px;
}
#g-manage .image-options-wrapper .category {
margin-top: 3px;
padding-top: 3px;
text-align: center;
}
.g-nav-a { /* On gallery-choice.php the links for the gallery or before after */
font-size: 18px;
line-height: 26px;
padding: 4px;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

/* BEFORE AND AFTER */
#g-ba {
width: 100%;
clear: both;
display: block;
}
#g-ba #ba-form .step-h3 {
font-size: 16px;
font-weight: bolder;
font-family:Arial, Helvetica, sans-serif;
color: #CCC;
clear: both;
}
#g-ba #ba-form #step1, #g-ba #ba-form #step2, #g-ba #ba-form #step3 {
padding-top: 15px;
}
#g-ba #ba-form #before-container {}
#g-ba #ba-form #after-container {}
#g-ba #ba-form #ba-comments {
clear: both;
display: block;
margin: 0 auto;
}
#g-ba #status_message {
padding: 15px 5px;
border: 1px solid #666;
background-color: #ddd;
font-size: 14px;
font-weight: bold;
}
#ba-table {
margin-top: 25px !important;
margin-top: 50px;
margin: 0;
width: 100%;
}
#ba-table tr td {
padding: 3px;
padding-bottom: 10px;
text-align: left;
font-size: 11px;
}

/* LOGIN BOX */

#login-box { /* MIDDLE */
	width: 170px;
	float: left;
	display: inline;
	margin: 0;
	background: #D4D9DD url(images/box-login-middle.jpg) repeat-y;
	margin-top: 25px;
}

#login-box .top { /* TOP */
	height: 20px;
	background: url(images/box-login-top.jpg) no-repeat;
}

#login-box .bottom { /* BOTTOM */
	height: 20px;
	background: url(images/box-login-bottom.jpg) no-repeat left bottom;
}

#login-box .content {
	padding: 5px 20px 5px 12px;
}