@import "reset.css";

/*** base styles ***/

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #e5e5e5; 
}

hr { display: none; }
.clear { clear: both; }
.hidden { text-indent: -9999px; font-size: 1px; }


/* frontend homepage */

#frontend #wrapper {
	border: 10px solid #333;
	background-color: #666;
	color: #fff;
	width: 600px;
	margin: 60px 0 0 0;
	margin-left: auto;
	margin-right: auto;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-align: center;
}

#frontend #wrapper h1 {
padding: 60px 0 20px 0;
font-size: 3em;
}

#frontend #wrapper h1 em {
padding: 10px 0 0 0;
font-size: 0.5em;
display: block;
}

#frontend #wrapper p {
	font-family: Arial, Helvetica, sans-serif;
	padding: 10px 0 0 0;
}

#frontend #wrapper form {
	font-size: 1.5em;
	padding-bottom: 60px;
}

#frontend #wrapper form input {
	font-size: 1em;
}

#frontend #footer {
	text-align: center;
	font-family: Arial;
	color: #999;
	padding: 20px;
	font-size: 0.8em;
}

#frontend #adminlogin {
	position: absolute;
	top: 0;
	right: 0;
	font-family: Arial;
	color: #999;
	padding: 5px;
	font-size: 0.8em;
}

/*** loginpage setup ***/

#loginpage h1 {
	padding: 60px 0 20px 0;
	text-align: center;
	font-size: 3em;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#loginform {
	width: 600px;
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	border: 10px solid #333;
	background-color: #666;
	color: #fff;
}

#loginform fieldset {
	margin: 20px;
}

#loginform legend {
	text-align: right;
	color: #e7ffaa;
	padding-bottom: 20px;
	font-size: 1.2em;
}

#loginform label {
  		float: left;
  		width: 8em;
  		clear: both;
  	  	margin: 5px 0 5px 0;
  	}
  
#loginform input {
  		float: left;
  		margin: 5px 0 5px 0;
  	}  


.admininput {
	width: 300px;
}

#homelink {
	position: absolute;
	top: 0;
	right: 0;
	font-family: Arial;
	color: #999;
	padding: 5px;
	font-size: 0.8em;
}

/*** header setup ***/

#header {
	background-color: #333;
	position: relative;
	height: 90px;
}
	
#header a:link, #header a:visited {
	color: #fff;
	text-decoration: underline;
}	
	
/*** header styles ***/
	
#logo {
	float: left;
	padding: 15px 0 0 20px;
	color: #fff;
	font-size: 2em;
}

#logo strong {
	font-weight: bold;
}

#status {
	float: right;
	padding: 10px 20px 0 0;
	color: #fff;
	text-align: right;
	font-size: 0.9em;
}

#status em {
	font-style: italic;
}

#navmain, #navaccount {
	margin: 16px 0 0 0;
	font-size: 1.1em;
}

#navmain {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 0 0 20px;
}

#navaccount {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 0 20px 0 0;
	/*text-align: right;*/
}

#navmain ul li, #navaccount ul li {
	float: left;
	display: inline;
 	margin: 0 1px 0 1px;
}

#navmain ul li strong, #navaccount ul li strong {
 	background-color: #e5e5e5;
 	padding: 0.3em 0.5em 0.3em 0.5em;
 	font-weight: bold;
}

#header #navmain ul li a:link, #header #navmain ul li a:visited, 
#header #navaccount ul li a:link, #header #navaccount ul li a:visited {
 	background-color: #666;
 	padding: 0.3em 0.5em 4px 0.5em;
 	text-decoration: none;
 	line-height: 1.6em;
}

#header #navmain ul li a:hover, #header #navaccount ul li a:hover {
	background-color: #000;
}

#header #navmain ul li strong a:link, #header #navmain ul li strong a:visited, 
#header #navaccount ul li strong a:link, #header #navaccount ul li strong a:visited {
 	background-color: #e5e5e5;
 	padding: 0;
 	color: #000;
}

#header #navmain ul li strong a:hover, #header #navaccount ul li strong a:hover {
 	text-decoration: underline;
}

/* end of header styles */


/*** content styles ***/

#content div.error {
	color: #fdfff5;
	border: 1px solid #7e0005;
	background-color: #ff0900;
	padding: 10px;
	margin: 20px 60px 0 60px;
}

#content div.error ul { padding: 0; margin: 0; }

#content div.alert {
	color: black;
	border: 1px solid #be8300;
	background-color: #ffc801;
	padding: 10px;
	margin: 20px 60px 0 60px;
}

/*** content styles ***/

#content {
	position: relative;
	padding: 0;
}

#content p {
	line-height: 1.3em; 
}

/*** sidebar styles ***/

#sidebar {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 230px;
}

p.alert {
	border: 1px solid #fff000;
	background-color: #fffdde;
	padding: 15px;
}

p.alert a:link, p.alert a:visited {
	padding: 1px;
	color: blue;
}

p.alert a:hover {
	background-color: blue;
	text-decoration: none;
	color: #fff;
}

/*** sidebar create styles ***/

p.gobutton {
	margin: 10px 0;
}

p.gobutton a:link, p.gobutton a:visited {
	display: block;
	text-indent: -9999px;
	height: 36px;
	background-position: 0 0;
	background-repeat: no-repeat;
}

p.gobutton a:hover {
	background-position: 0 -36px;
}

p.gobutton a:active {
	border-left: 1px solid #e5e5e5;
	border-top: 1px solid #e5e5e5;
}

p.new-gallery a:link, p.new-gallery a:visited {
	width: 189px;
	background-image: url(/images/create-new-gallery.gif);
}

p.new-pricelist a:link, p.new-pricelist a:visited {
	width: 198px;
	background-image: url(/images/create-new-pricelist.gif);
}

p.upload-images a:link, p.upload-images a:visited {
	width: 162px;
	background-image: url(/images/upload-images.gif);
}

/*** workarea styles ***/

#workarea {
	width: 720px;
	background-color: #fff;
	position: absolute;
	top: 20px;
	left: 270px;
	padding-bottom: 20px;
}

#workarea h1 {
	padding: 20px;
	background-color: #edf3fe;
	font-weight: bold;
	font-size: 1.2em;
}

#workarea.settings_page h2 {
	padding: 20px 0 0 20px;
	font-weight: bold;
	font-size: 1.1em;
}

#workarea.settings_page h3 {
	padding: 20px 0 0 20px;
	font-weight: bold;
	font-size: 0.9em;
}

#workarea p, #workarea ul {
	padding: 20px 20px 0 20px;
}

#workarea.settings_page p {
	padding: 10px 20px 0 20px;
}

#workarea.settings_page hr {
	margin: 20px 0 0 0;
	display: block;
}

/*** workarea styles for list style pages *****************************/

#workarea ul.simple-list li {
	padding: 10px 0 10px 0;
	border-bottom: 1px solid #ccc;
}

#workarea ul.simple-list li h2 {
	font-size: 1.2em;
	line-height: 1.3em;
}

#workarea ul.simple-list em {
	padding-left: 1px;
}

#workarea ul.simple-list li.first {
	padding: 0 0 10px 0;
}

#workarea ul.simple-list li.last {
	padding: 10px 0 0 0;
	border-bottom: none;
}

#workarea ul.simple-list a:link, #workarea ul.simple-list a:visited {
	padding: 1px;
	color: blue;
}

#workarea ul.simple-list a:hover {
	background-color: blue;
	text-decoration: none;
	color: #fff;
}

/*** workarea styles for gallery style pages **************************/

#gallery #workarea h1 {
	font-size: 2em;
}

#gallery #workarea h1 em {
	display: block;
	font-size: 0.4em;
	padding-top: 0.3em;
}

#gallery #workarea div.attention {
	margin: 25px;
	background-color: #e5e5e5;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

#gallery #workarea div.attention p {
	padding: 20px 20px 0 20px;
	text-align: center;
}

#gallery #workarea div.attention p.nowbutton {
	margin-left: 115px;
	padding-bottom: 20px;
}

/* RESULTS NAVIGATION ----------------------------------------------- */

p.results-nav {
	text-align: center;
	font-size: 1.4em;
	color: gray;
}

p.results-nav a:link, p.results-nav a:visited {
	text-decoration: underline;
	color: blue;
}

p.results-nav a:hover {
	text-decoration: none;
	color: green;	
}

/* THUMBNAILS ------------------------------------------------------- */

#gallery #workarea ul {
	padding: 0 0 0 20px;
}

#gallery #workarea ul.thumbs li {
	float: left;
	/*display: inline;*/
	margin: 0 10px 10px 0;
	padding: 0;
	text-align: center;
}

#gallery #workarea ul.thumbs li a:link, #gallery #workarea ul.thumbs li a:visited {
	display: block;
	width: 125px;
	height: 125px;	
	border: 1px solid #ccc;
}

#gallery #workarea ul.thumbs li a:hover {
	border-color: red;	
}

/* GALLERY LARGE PREVIEWS ----------------------------------------------------- */


#gallery #workarea #largepreview {
	border: 1px solid #ccc;
	width: 400px;
	height: 400px;
	margin: 20px;
	padding: 0;
	text-align: center; 
}

#gallery #workarea #previewcontrols {
	position: absolute;
	margin-top: 2px;
	top: 90px;
	right: 20px;
	background-color: #ccc;
	width: 220px;
	padding: 20px; 
}

#gallery #workarea #previewcontrols p {
	margin: 0;
	padding: 0;
}

/* BUTTONS ---------------------------------------------------------- */

p.nowbutton a:link, p.nowbutton a:visited {
	display: block;
	text-indent: -9999px;
	height: 63px;
	background-position: 0 0;
	background-repeat: no-repeat;
}

p.nowbutton a:hover {
	background-position: 0 -63px;
}

p.nowbutton a:active {
	border-left: 1px solid #e5e5e5;
	border-top: 1px solid #e5e5e5;
}

p.upload-images-now a:link, p.upload-images-now a:visited {
	width: 347px;
	background-image: url(/images/upload-images-now.gif);
}

/*** workarea styles for create style pages ***/

#create #workarea h1 {
	font-size: 2em;
}

#create #workarea fieldset {
	border-bottom: 1px dashed #ccc;	
	padding: 0 0 50px 0;
}

#create #workarea label {
	padding: 30px 0 5px 60px;
	display: block;
	font-size: 1.2em;
}

#create #workarea label strong {
	font-weight: bold;
}

#create #workarea input.textinput {
	/*width: 400px;*/
	border: 2px solid #ccc;
	font-size: 1.2em;
	margin-left: 60px;
}

#create #workarea fieldset p {
	padding: 2px 0 0 60px;
	color: #999;
}

#create #workarea fieldset p em {
	font-style: italic;
}

#create #workarea input.button {
	font-size: 1em;
}

#create #workarea p.action {
	margin: 10px 0 10px 40px;
	font-size: 1.3em;
}

#create #workarea p.action a:link, #create #workarea p.action a:visited {
	text-decoration: underline;
	color: red;
	padding: 1px;
}

#create #workarea p.action a:hover {
	text-decoration: none;
	background-color: red;
	color: #fff;
}

#create #workarea select {
	margin: 0 0 0 60px;
}

#create #workarea table {
	margin: 20px 0 0 30px;
	line-height: 2em;
}

#create #workarea table th {
	font-size: 1.2em;
	font-weight: bold;
}

#create #workarea table .description {
padding: 0 15px;
}


#create #workarea input.textinputmed, #create #workarea input.textinputsmall {
	border: 2px solid #ccc;
	font-size: 1.2em;
}

#create #workarea p a:link, #create #workarea p a:visited {
	padding: 1px;
	color: blue;
}

#create #workarea p a:hover {
	background-color: blue;
	text-decoration: none;
	color: #fff;
}

/*** footer styles ***/

#footer {
	clear: both;
	width: 600px;
	margin: 20px auto 20px auto;
}

#footer p {
	padding: 20px;
	font-size: 0.9em;
	color: #999;
	text-align: center;
}
