.grid-padding {
    margin-bottom: 15px;
}
.grid-margin-btm {
    margin-bottom: 3px;
}
.grid-margin-btm-md {
    margin-bottom: 5px;
}
.grid-margin-btm-lg {
    margin-bottom: 10px;
}
.grid-margin-top-sm {
    margin-top: 3px;
}
.grid-margin-top-md {
    margin-top: 5px;
}
.grid-margin-top-lg {
    margin-top: 10px;
}
.grid-margin-top-xs {
    margin-top: 15px;
}
.sm-padding {
    padding: 3px 5px;
}
.md-padding {
    padding: 7px;
}
.lg-padding {
    padding: 10px;
}
.row.header {
    margin-top: 10px;
}
.nav-margin-top {
    margin-top: 50px;
}
.brand-logo {
    padding: 2px 0 0 15px;
}
.capchabox {
    /* margin-left: -330px; */
}
.capchabox2 {
    /* margin-left: -250px; */
}
.buy-now-feat {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 2px;
}
.no-buy-now-feat {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 2px;
}
.outbid {
    background-color: #ffff00;
    border-color: #ebccd1;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 10px;
}
.section-header {
    color: #337ab7;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.section-header h2 {
    font-size: 20px;
    font-weight: 700;
}
.browse-header {
    color: #337ab7;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding: 0 0 0 5px;
}
.browse-header h2 {
    font-size: 20px;
    font-weight: 700;
}
/* adjust forms in register, front page login */
.register-date select {
    width: 49%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 2px;
}
.timezone select,
.auctiontype select,
.duration select,
.catsearch select,
.locationsearch select,
.relist select {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
}
.register-date select.missing {
    border-color: #a94442;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
}
.or {
    background: #fe980f none repeat scroll 0% 0%;
    border-radius: 40px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    margin-top: 75px;
    text-align: center;
    width: 50px;
}
.item-ads-grid {
    padding: 10px;
/*     background-color: #fff; */
    overflow: hidden !important;
    position: relative;
}
.item-img-grid img {
    height: 150px;
    text-align: center;
}
.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}
.block-title {
    display: block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    color: #999;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}
.featured-item {
    min-height: 230px;
    border: 1px solid transparent;
    border-color: #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}
.feat-title {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
}
.item-meta {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.bid-price {
    color: #337ab7;
}
.item-title {
    padding: 5px;
    font-size: 24px;
    font-weight: 500;
}
.drop-width {
    width: 100%;
}
.main-gallery .img-responsive {
    margin-bottom: 10px;
}
#gallery .img-responsive {
    margin-bottom: 5px;
	width: 112px;
	height: 75px;
	object-fit: cover;
}
img.search-res {
    width: 180px;
}
.copyright {
    text-align: center;
    margin: -15px 0 5px 0;
}
/* Media Queries */
/* Extra small devices (phones, less than 768px) */
@media (max-width: 768px) {
    img.search-res {
        width: 80px;
        height: 70px;
    }
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    img.search-res {
        width: 120px;
        height: 108px;
    }
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    img.search-res {
        width: 160px;
        height: 140px;
    }
}
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .img-center {
        width: 240px;
        height: 160px;
        object-fit: cover;

    }
    .featured-item {
        height: 352px;
    }
    .feat-title {
        height: 5em;
    }
    #gallery {
        width: 440px;
    }
}
@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

.readmore {
  position: relative;
  max-height: 700px;
  overflow: hidden;

  transition:max-height 0.15s ease-out;

}

.readmore.expand{
  max-height: 5000px !important;
  transition:max-height 0.35s ease-in-out;
}

.readmore-link{
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  width:100%;
  height: 60px;
  text-align: center;
  color: black;
/*   font-weight:bold; */
  font-size:16px;
  padding-top:40px;
  padding-bottom:20px;
  background-image: linear-gradient(to bottom, transparent, white);
  cursor: pointer;
}

.readmore-link.expand {
  position: relative;
  background-image: none;
  padding-top:10px;
  height:20px;
}

.readmore-link:after {
  content:"Leer más \2304";
}

.readmore-link.expand:after{
  content:"Ver menos \2303";
}

/*.table td {
    white-space: nowrap;
}*/
.table img {
    object-fit: cover;
}
/*body {
    background: url(../1-1Fondo.jpg);
    background-attachment: fixed;
}
.container {
    background-color: #220909d4;
}*/
hr {
    margin-top: 5px;
    margin-bottom: 5px;
}
#gallery {
    height: 158px;
    overflow-y: auto;
}

/*.table.table-bordered.table-condensed.table-striped tr td {
    white-space: nowrap;
}*/
.navbar-collapse {
    padding-right: 10px;
    padding-left: 10px;
}

.cr {
  width: 170px;
  position: absolute;
  text-align: center;
  color: white;
}

/* Positions */

.cr-top    { top: 25px; }
.cr-bottom { bottom: 25px; }
.cr-left   { left: -50px; }
.cr-right  { right: -50px; }

/* Rotations */

.cr-top.cr-left,
.cr-bottom.cr-right {
  transform: rotate(-45deg);
}

.cr-top.cr-right,
.cr-bottom.cr-left {
  transform: rotate(45deg);
}

/* Colors */

.cr-green     { background-color: green; color: white; }
.cr-red       { background-color: red; color: white; }
.cr-yellow    { background-color: yellow; color: black; }
