/*
UploadiFive
Copyright (c) 2012 Reactive Apps, Ronnie Garcia
*

.uploadifive-button {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 10px/100% Arial, Helvetica, sans-serif;
	padding: .5em 1em .55em;
	text-shadow: 0 1px 1px #FFFFFF;
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	text-transform: uppercase;
	width: 100%;
	color: #4D4E4E;
	border: solid 1px #BABABA;
	background: #FFFFFF;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CCCCCC));
	background: -moz-linear-gradient(top,  #FFFFFF,  #CCCCCC);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#CCCCCC');
}
.uploadifive-button:hover {
	background: #CCC;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#A7A9AC));
	background: -moz-linear-gradient(top,  #FFFFFF,  #A7A9AC);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#A7A9AC');
	text-decoration: none;
}
.uploadifive-queue-item {
	background-color: #F5F5F5;
	border-bottom: 1px dotted #D5D5D5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font: 12px Arial, Helvetica, Sans-serif;
	margin-top: 3px;
	padding: 15px;
	
}
.uploadifive-queue-item .close {
	background: url('img/uploadifive-cancel.png') 0 0 no-repeat;
	display: block;
	float: right;
	height: 16px;
	text-indent: -9999px;
	width: 16px;
}
.uploadifive-queue-item .progress {
	border: 1px solid #D0D0D0;
	height: 3px;
	margin-top: 5px;
	width: 100%;
}
.uploadifive-queue-item .progress-bar {
	background-color: #0072BC;
	height: 3px;
	width: 0;
}
.uploadifive-button {
	float: left;
	margin-right: 10px;
}
#queue {
	/*height: 177px;
	overflow: auto;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 0 3px 3px;
	width: 245px;*
	 background-color: #FFF;
     border: 2px dotted rgba(0, 0, 0, 0.5);
    border-radius: 3px;
  /*  height: 178px;*
	min-height: 200px;
	max-height: 250px;
    margin-bottom: 5px;
    overflow: auto;
    padding: 3px;
    width: 100% !important; 
	
}

#uploadifive-file_upload
{
	margin-left: 20px;
	margin-bottom: 10px;	
}


.boxgrid{  
    width: 160px;  
    height: 160px;  
    margin:10px;  
    float:left;  
    background:#ECECEC;  
    border: solid 1px #8399AF;  
    overflow: hidden;  
    position: relative;  
    display: table-cell;
    text-align: center;
	 vertical-align: middle;
}  
 
.boxcaption{  
    float: left;  
    position: absolute;  
    background: #000;  
    height: 100px;  
    width: 100%;  
    opacity: .8;  
    /* For IE 5-7 *
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);  
    /* For IE 8 *
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";  
    }  
.captionfull .boxcaption {  
    top: 260;  
    left: 0;  
}  
.caption .boxcaption {  
    top: 220;  
    left: 0;  
}  

div.cover{
	top: 160px;
}

div.cover a{
	color:#C8DCE5;
}

.i2m_img_toolIMGS{
	padding: 5px;
	width: 100% !important;
	height: 100% !important;
	position: relative;
}

.i2m_spam_img{
	font-size: 11px;
	color: #369016;
	width: 100% !important;
	display: block;
	text-align: left;
}
.i2m_documents {
    padding: 20px;
}

.i2m_document {
    float: left;
    width: calc(33% - 20px);
    max-width: 240px;
    margin: 0px 10px 20px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #dce2e9;
}

.i2m_document .document-body {
    height: 130px;
    text-align: center;
    border-radius: 3px 3px 0 0;
    background-color: #fdfdfe;
}

.i2m_document.success .document-footer {
    background-color: #0ec8a2;
}
.i2m_document .document-footer {
    border-top: 1px solid #ebf1f5;
    height: 46px;
    padding: 5px 12px;
    border-radius: 0 0 2px 2px;
}

.i2m_document .document-body i {
    font-size: 45px;
    line-height: 120px;
}

.i2m_document .document-footer .document-name {
    display: block;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    line-height: normal;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.i2m_document .document-footer .document-description {
    display: block;
    margin-top: -1px;
    font-size: 11px;
    font-weight: 600;
    color: #8998a6;
    width: 100%;
    line-height: normal;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.text-success {
    color: #3c763d;
}*/
/*
UploadiFive
Copyright (c) 2012 Reactive Apps, Ronnie Garcia
*/
.uploadifive-button {
  display: inline-block;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  width: 100%;
  color: #4D4E4E;
  border: solid 1px #BABABA;
  background: #FFFFFF;
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CCCCCC));
  background: -moz-linear-gradient(top, #FFFFFF, #CCCCCC);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#CCCCCC');
}
.uploadifive-button:hover {
  background: #CCC;
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#A7A9AC));
  background: -moz-linear-gradient(top, #FFFFFF, #A7A9AC);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#A7A9AC');
  text-decoration: none;
}
.uploadifive-queue-item {
  background-color: #F5F5F5;
  border-bottom: 1px dotted #D5D5D5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font: 12px Arial, Helvetica, Sans-serif;
  margin-top: 3px;
  padding: 15px;
}
.uploadifive-queue-item .close {
  background: url('img/uploadifive-cancel.png') 0 0 no-repeat;
  display: block;
  float: right;
  height: 16px;
  text-indent: -9999px;
  width: 16px;
}
.uploadifive-queue-item .progress {
  border: 1px solid #D0D0D0;
  height: 3px;
  margin-top: 5px;
  width: 100%;
}
.uploadifive-queue-item .progress-bar {
  background-color: #0072BC;
  height: 3px;
  width: 0;
}
.uploadifive-button {
  float: left;
}
#queue {
  /*height: 177px;
	overflow: auto;
	margin-bottom: 10px;
	margin-top: 10px;
	padding: 0 3px 3px;
	width: 245px;*/
  background-color: #FFF;
  border: 2px dotted rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  /*  height: 178px;*/
  min-height: 200px;
  max-height: 250px;
  margin-bottom: 5px;
  overflow: auto;
  padding: 3px;
  width: 100% !important;
}
#uploadifive-file_upload {
  margin-left: 20px;
  margin-bottom: 10px;
}
.boxgrid {
  width: 160px;
  height: 160px;
  margin: 10px;
  float: left;
  background: #ECECEC;
  border: solid 1px #8399AF;
  overflow: hidden;
  position: relative;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
.boxcaption {
  float: left;
  position: absolute;
  background: #000;
  height: 100px;
  width: 100%;
  opacity: .8;
  /* For IE 5-7 */
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  /* For IE 8 */
  -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
.captionfull .boxcaption {
  top: 260;
  left: 0;
}
.caption .boxcaption {
  top: 220;
  left: 0;
}
div.cover {
  top: 160px;
}
div.cover a {
  color: #C8DCE5;
}
.i2m_img_toolIMGS {
  padding: 5px;
  width: 100% !important;
  /*height: 100% !important;*/
  position: relative;
}
.i2m_spam_img {
  font-size: 11px;
  color: #369016;
  width: 100% !important;
  display: block;
  text-align: left;
}
.i2m_documents {
  padding: 20px;
}
.i2m_document {
  float: left;
  width: calc(33% - 20px);
  max-width: 240px;
  margin: 0px 10px 20px;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #dce2e9;
}
.i2m_document .document-body {
  height: 130px;
  text-align: center;
  border-radius: 3px 3px 0 0;
  background-color: #fdfdfe;
}
.i2m_document.success .document-footer {
  background-color: #0ec8a2;
}
.i2m_document .document-footer {
  border-top: 1px solid #ebf1f5;
  height: 46px;
  padding: 5px 12px;
  border-radius: 0 0 2px 2px;
}
.i2m_document .document-body i {
  font-size: 45px;
  line-height: 120px;
}
.i2m_document .document-footer .document-name {
  display: block;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  line-height: normal;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.i2m_document .document-footer .document-description {
  display: block;
  margin-top: -1px;
  font-size: 11px;
  font-weight: 600;
  color: #8998a6;
  width: 100%;
  line-height: normal;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.text-success {
  color: #3c763d;
}
/* Estilos para la grilla de imágenes */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  height: 400px;
}
.image-grid img {
  max-width: 100%;
  border-radius: 8px;
}
/* Masonry grid */
.masonry {
  transition: all .5s ease-in-out;
  column-gap: 30px;
  column-fill: initial;
}
/* Masonry item */
.masonry .brick {
  margin-bottom: 30px;
  display: inline-block; /* Fix the misalignment of items */
  vertical-align: top; /* Keep the item on the very top */
}
/* Masonry image effects */
.masonry .brick img {
  transition: all .5s ease-in-out;
  backface-visibility: hidden; /* Remove Image flickering on hover */
}
.masonry .brick:hover img {
  opacity: .75;
}
/* Bordered masonry */
.masonry.bordered {
  column-rule: 1px solid #eee;
  column-gap: 50px;
}
.masonry.bordered .brick {
  padding-bottom: 25px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}
/* Gutterless masonry */
.masonry.gutterless {
  column-gap: 0;
}
.masonry.gutterless .brick {
  margin-bottom: 0;
}
/* Masonry on tablets */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .masonry {
    column-count: 2;
  }
}
/* Masonry on big screens */
@media only screen and (min-width: 1024px) {
  .desc {
    font-size: 1.25em;
  }
  .intro {
    letter-spacing: 1px;
  }
  .masonry {
    column-count: 3;
  }
}
.photo-grid {
  display: flex;
  flex-wrap: wrap;
}

.photo {
  background-size: cover;
  background-position: center;
  flex: 1;
  /*min-width: calc(33% - 10px);*/
  height: 250px !important;
  margin: 5px;
}
.grid {
  background: #EEE;
  max-width: 1200px;
}
/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
/* ---- grid-item ---- */
.grid-sizer, .grid-item {
  width: 20%;
}
.grid-item {
  height: 120px;
  float: left;
  background: #D26;
  border: 2px solid #333;
  border-color: hsla(0, 0%, 0%, 0.5);
  border-radius: 5px;
}
.grid-item--width2 {
  width: 40%;
}
.grid-item--width3 {
  width: 60%;
}
.grid-item--height2 {
  height: 200px;
}
.grid-item--height3 {
  height: 260px;
}
.grid-item--height4 {
  height: 360px;
}