html, body {
	height: 100%;
}

body {
	margin: 0;
	background-color: #f0f4f7;
	font-family: Helvetica,Arial,sans-serif;
	color: #444;
	font-size: 15px;
}

p, h1, h2, h3, h4, h5, ul, ol, li {
	margin: 0;
	padding: 0;
}

h1 {
	text-align: center;
	font-weight: lighter;
	font-size: 40px;
	padding: 30px 0 20px;
}

h1 span {
	font-size: 20px;
	color: #888;
}

#viewAllFiles {
	display: inline-block;
}

ul, li {
	list-style: none;
}

.clear {
	clear: both;
}

#mainWrap {
	margin: 20px;
	background-color: #fff;
	background-image: url(../img/bgBorde.jpg);
	background-repeat: repeat-y;
	background-position: 250px 0;
	padding-bottom: 50px;
	display: none;
}

#spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
}

#formZip {
	display: none;
}

/*//////////////////////////////////////////////////////
//
//		HEADER
//
//////////////////////////////////////////////////////*/

#header {
	height: 145px;
	background-color: #fff;
	border-bottom: 1px solid #8a8a8a;
	position: relative;
	/*display: none;*/
}

#header img:nth-child(1){
	position: absolute;
	left: 145px;
	top: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
}

#header img:nth-child(2){
	position: absolute;
	right: 50px;
	top: 50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
}

#header .menuTop {
	position: absolute;
	left: 290px;
	top: 50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
}

#header .menuTop a {
	text-decoration: none;
	color: #444;
	display: block;
	margin-bottom: 7px;
	font-weight: bold;
	text-transform: uppercase;
}

#header .menuTop a:hover {
	color: #aaa;
}

#header .menuTop a:last-child {
	margin: 0;
}

/*//////////////////////////////////////////////////////
//
//		LEFT
//
//////////////////////////////////////////////////////*/

#leftColumn {
	float: left;
	width: 250px;
	background-color: #fff;
}

.categoriaTag {
	position: relative;
	margin: 15px;
}

.categoriaTag h3 {
	color: #444;
	font-size: 18px;
	padding-left: 20px;
	cursor: pointer;
	background-image: url(../img/flecha.png);
	background-repeat: no-repeat;
	background-position: 5px 6px;
	font-weight: normal;
}
.categoriaTag.selected h3 {
	background-image: url(../img/flechaAbierto.png);
	background-position: 2px 9px;
}

.categoriaTag ul {
	margin: 0;
	display: none;
	overflow: hidden;
}

/*.categoriaTag.selected ul {
	display: block;
}*/

.categoriaTag li {
	padding: 5px;
	font-size: 13px;
	cursor: pointer;
	margin-bottom: 2px;
	margin-left: 20px;
	padding-left: 25px;
	background-image: url(../img/checkboxOff.jpg);
	background-repeat: no-repeat;
	background-position: 5px center;
}

.categoriaTag li span {
/*	display: inline-block;
	width: 100px;
	text-overflow: ellipsis;
	overflow:hidden;
	white-space:nowrap;*/
}

.categoriaTag li:first-child {
	margin-top: 10px;
}

.categoriaTag li:last-child {
	margin-bottom: 15px;
}

.categoriaTag li:hover {
	background-color: #f0f0f0;
}

.categoriaTag li.selected {
	background-image: url(../img/checkboxOn.jpg);
	background-color: #f0f0f0;
}

/*//////////////////////////////////////////////////////
//
//		GRID
//
//////////////////////////////////////////////////////*/

#gridContainer {
	text-align: center;
	margin-left: 270px;
	/*background-color: #fff;*/
	/*border-left: 20px solid #f0f4f7;*/
}

#optionsGrid {
	text-align: center;
}

#optionsGrid > div {
	display: inline-block;
	padding: 7px 15px;
	/*background-color: #f0f0f0;*/
	border-right: 1px solid #888888;
	cursor: pointer;
}

/*#optionsGrid > div:last-child {
	border: none;
}*/

div#thumbnailSize, div#sortBy {
	padding-right: 40px;
	background-image: url(../img/flechaAbierto.png);
	background-position: right 18px center;
	background-repeat: no-repeat;
}

div#slideShowButton {
	padding-left: 50px;
	background-image: url(../img/slideshow.jpg);
	background-position: 18px center;
	background-repeat: no-repeat;
}

div#downloadButton {
	padding-left: 50px;
	background-image: url(../img/download.jpg);
	background-position: 18px center;
	background-repeat: no-repeat;
	opacity: .25;
	border: none;
}

div#removeFiles {
	border: none;
	padding: 7px 30px 7px 15px;
	background-color: #f0f0f0;
	background-image: url(../img/remove.png);
	background-position: right 10px center;
	background-repeat: no-repeat;
	visibility: hidden;
	font-size: 12px;
}

#filters {
	margin: 20px 0;
	text-align: center;
}

#filters > div {
	display: inline-block;
	padding: 7px 25px 7px 10px;
	background-color: #f0f0f0;
	font-size: 13px;
	margin: 0 5px 5px 0;
	background-image: url(../img/remove.png);
	background-position: right 10px center;
	background-repeat: no-repeat;
	cursor: pointer;
}

#files {
	text-align: left;
	margin-left: 20px;
}

.file {
	/*float: left;*/
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 40px;
}

.file .thumb {
	width: 200px;
	height: 150px;
	background-color: #d5d5d5;
	background-repeat: no-repeat;
	/*background-size: contain;*/
	background-position: center;
	margin-bottom: 10px;
	background-image: url(../img/spinnerFile.gif);
	cursor: pointer;
	position: relative;
}

.file h4 {
	font-size: 12px;
	font-weight: normal;
	margin-bottom: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.file .addFile {
	font-size: 13px;
	cursor: pointer;
}

.file .removeFile {
	font-size: 13px;
	display: none;
	cursor: pointer;
}

.file .addFile strong, .file .removeFile strong {
	font-size: 18px;
}

.file .added {
	position: absolute;
	z-index: 10;
	width: 200px;
	height: 150px;
	background-color: rgba(0,0,0,.6);
	visibility: hidden;
	background-image: url(../img/added.png);
	background-position: center;
	background-repeat: no-repeat;
}

.file .thumb .extension {
	position: absolute;
	width: 100%;
	height: 30px;
	bottom: 0;
	background-color: #666;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	line-height: 30px;
}

/*//////////////////////////////////////////////////////
//
//		SLIDESHOW
//
//////////////////////////////////////////////////////*/

#slideShow {
	background-color: rgba(0,0,0,.9);
	position: fixed;
	z-index: 100;
	cursor: pointer;
	top: 0;
	right:0;
	bottom:0;
	left:0;
	visibility: hidden;
	background-image: url(../img/cerrar.png);
	background-repeat: no-repeat;
	background-position: right 30px top 80px;
}

#slideShow .header {
	background-color: #000;
	height: 50px;
	position: absolute;
	top: 0;
	width: 100%;
	text-align: center;
	cursor: default;
	color: #fff;
}

#slideShow .header h4 {
	display: inline-block;
	line-height: 50px;
	color: #fff;
	font-size: 18px;
	font-weight: lighter;
}

#slideShow .header div {
	display: inline-block;
	color: #fff;
	cursor: pointer;
	margin-left: 7px;
	background-color: #282828;
	padding: 10px 20px 10px 30px;
	background-image: url(/img/download.png);
	background-repeat: no-repeat;
	background-position: 10px center;
}

#slideShow .photo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
	cursor: default;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
/*	-webkit-box-shadow: 0px 0px 32px 10px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 32px 10px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 32px 10px rgba(0,0,0,0.75);*/
}

#slideShow .loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
	color: #888;
	font-size: 30px;
	font-weight: lighter;
}

#slideShow #prev {
	position: absolute;
	top: 50%;
	left: 20px;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	cursor: pointer;
}

#slideShow #next {
	position: absolute;
	top: 50%;
	right: 20px;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	cursor: pointer;
}

#slideShow .visorPano {
	position: absolute;
	top: 50%;
	left: 50%;
	transform:translate(-50%,-50%);
	-webkit-transform:translate(-50%,-50%);
}

#slideShow .visorPano h4 {
	text-align: center;
	color: #fff;
	margin-top: 30px;
	font-size: 15px;
	font-weight: normal;
}

/*//////////////////////////////////////////////////////
//
//		FILTERS
//
//////////////////////////////////////////////////////*/

#thumbnailSizes, #sortFilters {
	position: absolute;
/*	background-color: rgba(0,0,0,0);
	padding: 20px;*/
	visibility: hidden;
	z-index: 100;
}

#thumbnailSizes > div, #sortFilters > div {
	background-color: #444;
	color: #fff;
}

#thumbnailSizes h3, #sortFilters h3 {
	font-size: 15px;
	color: #fff;
	font-weight: normal;
	padding: 10px 40px 10px 20px;
}

#thumbnailSizes > div > div, #sortFilters > div > div {
	padding: 5px 40px 5px 40px;
	cursor: pointer;
	text-align: left;
	font-size: 13px
}

#thumbnailSizes > div > div:hover, #sortFilters > div > div:hover {
	background-color: #666;
}

#thumbnailSizes > div > div:first-child, #sortFilters > div > div:first-child {
	padding-top: 10px;
}

#thumbnailSizes > div > div:last-child, #sortFilters > div > div:last-child {
	padding-bottom: 10px;
}

#thumbnailSizes > div > div.selected, #sortFilters > div > div.selected {
	background-image: url(../img/chckFilters.png);
	background-position: 20px center;
	background-repeat: no-repeat;
}

/*//////////////////////////////////////////////////////
//
//		TYPEHEAD
//
//////////////////////////////////////////////////////*/

#search {
	margin: 53px 15px;
	border: 1px solid #8a8a8a;
	background-image: url(../img/lupa.png);
	background-repeat: no-repeat;
	background-position: 13px center;
	padding: 5px 0;
}

#search input {
	/*display: block;*/
	font-size: 15px;
	border: none;
	padding: 5px;
	color: #444;
	margin-left: 30px;
	width: 150px;
}

input:focus{
    outline: 0;
}

.tt-hint {
    /*color: #666*/
}

.tt-dropdown-menu {
	margin-top: 10px;
    width: 250px;
    max-height: 250px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
}

.tt-suggestion {
    padding: 5px 20px;
    font-size: 15px;
    line-height: 24px;
}

.tt-suggestion:first-child {
	/*background-color: #f0f4f7;*/
	/*display: none;*/
}

.tt-suggestion.tt-cursor{
	cursor: pointer;
	background-color: #f0f4f7;
	/*color: #444;*/
}

.tt-suggestion p {
    margin: 0;
}

/*//////////////////////////////////////////////////////
//
//		EMAIL FORM
//
//////////////////////////////////////////////////////*/

#formularioZipEmail {
	position: absolute;
	top: 300px;
	left:1000px;
	z-index: 1000;
	background-color: #fff;
	padding: 20px;
	width: 250px;
	border: 1px solid #999;
	visibility: hidden;
}

#formularioZipEmail input {
	font-size: 15px;
	padding: 5px;
	color: #444;
	width: 200px;
	margin: 20px 0;
}

#formularioZipEmail input.disabled {
	color: #aaa;
}

#formularioZipEmail .submit {
	display: inline-block;
	background-color: #444;
	padding: 10px 20px;
	color: #fff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	opacity:.25;
}

#formularioZipEmail .submit.enabled {
	opacity:1;
}

#formularioZipEmail .spinnerEmail {
	display: inline-block;
	position: relative;
	top:10px;
	left: 10px;
	display: none;
}

#formularioZipEmail .ok {
	display: inline-block;
	position: relative;
	left: 15px;
	display: none;
}
