@import url(foo_catalog.elements.css);
@import url(foo_catalog.admin.css);
@import url(foo_catalog.products.css);
@import url(foo_catalog.families.css);
@import url(foo_catalog.users.css);
@import url(foo_catalog.galleries.css);
@import url(foo_catalog.events.css);
@import url(foo_catalog.pages.css);
@import url(foo_catalog.controllers.css);

/*
 * Section layout
 */
#container {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid #BBB;
	background-color: white;
	font-size: .9em;
	background-image: url(../img/search_bg.jpg);
	background-repeat:no-repeat;
}

#header {
	width:900px;
	height: 105px;
	color:black;
	background-image: url(../img/header_bg.jpg);
	margin-top: 8px;
}
#header h1
{
	display: block;
}
#slogan
{
	float: right;
	text-align: left;
	width: 630px;
	margin-top: 75px;
	color: #141154;
	font-weight: bold;
	font-style: italic;
	font-size: 1.2em;
}
#logo
{
	margin: 57px 0 0 5px;
}

#sidebar {
	float: right;
	width: 212px;
	background-color: #FFDC7D;
	margin: 3px 0 0 0;
}

#main {
	padding: 5px;
	min-height: 500px;
}

#footer {
	/*border-top: 1px solid #bbb;*/
	margin-top: 30px;
	line-height:2em;
	vertical-align:middle;
	margin-bottom:0;
	background-color:#DEDEDE;
	font-size:.7em;
	text-align:center;
}

#footer a{
	color:#000000;
}


/*
 * HTML overload style
 */
body {
	color: #141154;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #CCCCCC;
	background-image: url(../img/body_bg.png);
	margin: 0;
	padding: 0;
}

h1 {
	margin-top: 50px;
	color: black;
}

a {
	text-decoration: none;
	color: #141154;
	font-weight: bold;
	font-size: 100%;
}

a:hover,a:hover em {
	text-decoration: underline;
}

img {
	border: 0;
}

span.table_actions {
	margin-left: 25px;
	padding: 3px;
}

ul.categories li {
	line-height: 25px;
	vertical-align: middle;
}
/* todos los inputs y textareas */
input {
	/*border-style: inset;*/
	height: 1em;
	font-size: .8em;
	padding: 3px;
	border: 1px solid #ddd;
}

textarea, select {
	border: 1px solid #ddd;
}

/*
 * Custom classes
 */
.center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.black{
	color:black;
}

.grey-border{
	margin-left:10px;
	height:1px;
	background-color:#878585;
}

.corner-left-bottom {
	background: #FFDC7D url(../img/bottom-left.png) 0 0 no-repeat;
	height: 18px;
	margin: 0;
}

.error_message {
	/*background: #FFCCCC url(../img/gui/exclamation.png) 2% 50% no-repeat;
	display: block;*/
	background: url(../img/gui/exclamation.png) 0 0 no-repeat;
	text-align:center;
	/*padding-left: 10px;
	margin-left: 45px;
	border: 1px solid red;*/
	color:#dd0000;
	font-size:0.8em;
	font-weight:bold;
	width:auto;
	margin-top: 70px;	
}

.message {
	color: black;
	background: #CAB1F1;
	border: 1px solid #141154;
	display: block;
	text-align: left;
	font-weight: bolder;
	padding: 10px;
	margin-bottom: 10px;
	margin-left: 7px;
	font-size: .8em;
	margin-top: 70px;
}

.danger:hover {
	background-color: red;
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

.red {
	color: red;
}

/**
 * Forms 
 */
form div {
	clear: left;
	display: block;
	width: 370px;
	height: auto;
	margin: 5px 0 0 0;
	padding: 1px 3px;
}

form div.optional label,label.optional {
	font-weight: normal;
}

form div.required label,label.required {
	font-weight: bold;
}

form div.wide, form div.wider {
	clear: left;
	display: block;
	width: 470px;
	height: auto;
	margin: 5px 0 0 0;
	padding: 1px 3px;
}

form div label {
	display: block;
	float: left;
	width: 130px;
	padding: 3px 5px;
	margin: 0 0 5px 0;
	text-align: right;
	font-size: .8em;
}

form div input {
	width: 200px;
	padding: 1px 3px;
	margin: 0;
	height: 1.2em;
}

form div textarea {
	width: 200px;
	padding: 1px 3px;
	margin: 0;
	height: 10em;
	overflow:scroll;
}

form div input.currency {
	text-align: right;
}

form div input.inputFile {
  width: 211px;
  height: 1.6em;
}

form div.compact input {
	width: 90px;
	padding: 1px 3px;
	margin: 0;
}

form div.compact label {
	display: block;
	float: left;
	width: 80px;
	padding: 3px 5px;
	margin: 0 0 5px 0;
	text-align: right;
}

form div .compact {
	width: 80px;
}

form div.wide textarea {
	width: 320px;
	padding: 1px 3px;
	margin: 0;
	height: 11em;
	overflow: auto;
}

form div.wider textarea {
	width: 450px;
	padding: 1px 3px;
	margin: 0;
	height: 11em;
	overflow: auto;
}

form div.submit {
	padding: 0 0 0 0px;
	margin-left:auto;
	/*padding-left:auto;*/
}

form div.submit div {
	display: inline;
	float: left;
	text-align: left;
	width: auto;
	padding: 0;
	margin: 0;
}

form div input.inputSubmit,form div input.inputButton,input.inputSubmit,input.inputButton {
	background: #CAB1F1;
	border: 1px solid #141154;
	color: #000000;
	width: auto;
	height: 2em;
	border-style: outset;
	padding: 0 6px;
	margin: 5px 0;
	font-weight:bold;
	cursor:pointer;
}

form div.submit div input.inputSubmit,form div.submit div input.inputButton {
	float: right;
	height: 2em;
	border-style: outset;
	margin: 0 0 0 5px;
}

#searchBox
{
	margin: 0;
	text-align: right;
	font-size:0.9em;
	height: 20px;
}

#searchBox input.inputSubmit
{
	width: 30px;
}

form div label.labelCheckbox, form div label.labelRadio {
  float: none;
  display: block;
  width: 350px;
  padding: 0;
  margin: 0 0 5px 0px;
  text-align: left;
}

form div fieldset label.labelCheckbox, form div fieldset label.labelRadio {
  margin: 0 0 5px 0;
  width: 170px;
}

form div input.inputCheckbox, form div input.inputRadio, input.inputCheckbox, input.inputRadio {
  display: inline;
  height: 14px;
  width: 14px;
  background-color: transparent;
  border-width: 0;
  padding: 0;
  margin: 0 0 0 140px;
}

form div small {
  display: block;
  margin: 0 0 5px 100px;
  padding: 1px 3px;
  width: 260px;
  font-size: .7em;
}

form div label small {
  display: block;
  margin: 0 0 5px 100px;
  padding: 1px 3px;
  font-size: .8em;
}

form div.notes, div.notes {
  float: right;
  width: 150px;
  height: auto;
  margin: 0 20px 10px 10px;
  padding: 5px;
  border: 1px solid #666666;
  background-color: #ffffe1;
  color: #666666;
  font-size: .7em;
}

form div.notes h4, div.notes h4 {
  background: url(../img/gui/icon_info.gif) top left no-repeat;
  padding: 3px 0 3px 27px;
  margin:0;
  border-width: 0 0 1px 0;
  border-style: solid;
  border-color: #666666;
  color: #666666;
  font-size: 1.1em;
}

form div.notes p, div.notes p {
  margin: 0em 0em 1.2em 0em;
  color: #666666;
}

form div.notes p.last, div.notes p.last {
  margin: 0;
}

/*************/



/*************/

#lightbox {
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height:0px;
}

#lightbox a img { 
	border: none; 
}

#outerImageContainer {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

#imageContainer {
	padding: 10px;
}

#loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0px;
}

#hoverNav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}

#imageContainer>#hoverNav { left: 0;}
#hoverNav a { outline: none;}

#prevLink, #nextLink {
	width: 49%;
	height: 100%;
	background: transparent url(../img/gui/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { 
	background: url(../img/gui/prevlabel.gif) 0% 15% no-repeat;
	background: url(../img/gui/prevlabel.gif) 0% 15% no-repeat;
}
#nextLink:hover, #nextLink:visited:hover { 
	background: url(../img/gui/nextlabel.gif) 100% 15% no-repeat; 
}


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails { width: 95%; float: left; text-align: left; }	
#imageData #caption { font-weight: bold;	}
#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose { width: 66px; float:right; margin-top:-15px; margin-right:-25px; padding-bottom:5px;}	
		
#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	/*filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;*/
}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

body .clearfix {
	display: block;
	width: 100%;
}


/*************/

.clear {
	clear: both;
	height: 0;
}
.rclear {
	clear: right;
	height: 0;
}
.lclear {
	clear: left;
	height: 0;
}

/**
 * Pagination
 */
p.pagination {
	margin-top: -21px;
	text-align: right;
	padding-right: 10px;
}

.maxWidth {
	width:98%;
}
