@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.partners.css);
@import url(foo_catalog.users.css);
@import url(foo_catalog.orders.css);
@import url(foo_catalog.galleries.css);
@import url(foo_catalog.events.css);
@import url(foo_catalog.articles.css);
@import url(foo_catalog.stats.css);
@import url(foo_catalog.controllers.css);

/*
 * Section layout
 */
#container {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid black;
	border-top: 0;
	background-color: white;
	font-size: .9em;
}

#header {
	height: 90px;
}

#logo {
	margin-left: 20px;
}

#sidebar {
	float: right;
	width: 212px;
	background-color: #FFDC7D;
	margin: 3px 0 0 0;
}

#main {
	padding: 5px 230px 5px 15px;
	border-right: 1px solid #BDBDBD;
}

#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: #555;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #EBEBEB;
	margin: 0;
	padding: 0;
}

h1 {
	margin-top: 0px;
	color: black;
}

a {
	text-decoration: none;
	color: #74573A;
	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, .bottom-grey-border{
	margin-left:10px;
	height:1px;
	background-color:#878585;
}

.transition {
	background: url(../img/transition.gif) 0 0 no-repeat;
	height: 16px;
	width: 212px;
	margin: 0;
}

.corner-left-bottom {
	background: #FFDC7D url(../img/bottom-left.gif) 0 0 no-repeat;
	height: 18px;
	margin: 0;
}

.error_message {
	/*background: #FFCCCC url(../img/gui/exclamation.gif) 2% 50% no-repeat;
	display: block;*/
	background: url(../img/gui/exclamation.gif) 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;
}

.message {
	color: black;
	background: #ffffe1 url(../img/gui/icon_info.gif) 2% 50% no-repeat;
	border: 1px solid #FFDC7D;
	display: block;
	text-align: left;
	font-weight: bolder;
	padding: 10px;
	padding-left: 45px;
	margin-bottom: 10px;
	margin-left: 7px;
	font-size: .8em;
}

.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, span.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, form span.compact input {
	width: 90px;
	padding: 1px 3px;
	margin: 0;
}

form div.compact label, form span.compact label {
	display: block;
	float: left;
	width: 80px;
	padding: 3px 5px;
	margin: 0 0 5px 0;
	text-align: right;
}

form div .compact, form span .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 {
	border:1px solid black;
	background-color:#FFDC7D;
	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;
}

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: 70%; 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;  padding-bottom: 0.7em;	}	
		
#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;
}

* html>body .clearfix {
	display: inline-block;
	width: 100%;
}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
}


/*************/

.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;
}
