﻿.galeria ul
{
    margin: 0 !important;
}
.galeria ul > li:first-child
{
  margin-left: 0;
}
.galeria ul > li
{
  margin: 0 0 40px 0;
  float: left;
}
.galeria ul > li > a
{
  display:block;
  text-decoration:none;
}
  .galeria ul.galeria_grande > li > a {
    width: 250px;
    margin: 0 auto;
  }
.galeria ul > li > a .hold_image
{
  display: block;
  position: relative;
  margin-bottom: 10px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: 0 1px 2px 1px #C0C0C0 !important;
  height: 153px;
  overflow: hidden;
}
  .galeria ul.galeria_grande > li > a > span > img {
    border: 2px solid #FFFFFF !important;
    box-shadow: 0 1px 2px 1px #C0C0C0 !important;
    height: 199px;
    margin-bottom: 10px;
    width: 280px;
    margin-left: -20px;
    margin-top: -25px;
  }
  .galeria ul > li > a:hover span.image {
    background-color: #000000;
    cursor: pointer;
    display: block;
    height: 100%;
    opacity: 0.6;
    filter: alpha(opacity=60);
    position: absolute;
    top: -1px;
    left: 0px;
    width: 100%;
  }
.galeria ul > li > a > span.title
{
  color: #E01F2C;
  cursor: pointer;
  display: block;
  font-family: Segoe UI;
  font-size: 14px;
  max-height: 41px;
  overflow: hidden;
}
.galeria ul > li > a:hover > span.title
{
  color: #a11620;
}
.galeria ul > li > a > span.data{
  display: block;
  color: #999999;
  font-size: 10.5px;
  font-family: Segoe UI;
  margin-bottom: 5px;
}
.galeria ul > li > a > span.parag{
  color: #666666;
  cursor: pointer;
  display: block;
  font-family: Segoe UI;
  font-size: 13px;
  line-height: 15px;
  margin-bottom: 5px;
  max-height: 93px;
  overflow: hidden;
  text-decoration: none;
}
.galeria ul li .fotos
{
  font-size: 12.5px;
  color: #333333;
  font-family: Segoe UI;
  display: block
}
.galeria ul.galeria_detalhe > li
{
  margin-right: 21px;
  margin-bottom: 30px !important;
  width: 215px;
  float: left;
}
.galeria ul.galeria_detalhe > li > a > span >  img
{
  width: 215px;
}
.galeria ul.galeria_detalhe > li > a:hover span.image
{
  height: 153px;
  cursor: pointer;
}

.galeria ul.galeria_detalhe > li > a > span.parag {
  margin-top: 5px;
  max-height: 120px;
}
#controls
{
  text-align: center;
  position: relative;
}
.pagination a, 
.pagination .active
{
  color: #e01f2c;
}
.pagination a:hover, 
.pagination .active
{
  background-color: #f5f5f5;
  color: #a11620;
}
.pagination .atual,
.pagination .atual:hover
{
  color: #333333;
  background-color: #f5f5f5;
}
span.fotos
{
  display: block;
}

.buscargaleria fieldset legend
{
    display:none;
}
.buscargaleria
{
    margin:0 0 28px;
    border:1px solid #dadbd9;
    box-shadow:0 0 5px 2px #F3F3F3;
    background: #f6f6f6; /* Old browsers */
    background-image: -moz-linear-gradient(top,  #f6f6f6 0%, #e3e3e3 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#e3e3e3)); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top,  #f6f6f6 0%,#e3e3e3 100%); /* Chrome10+,Safari5.1+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#e3e3e3',GradientType=0 ); /* IE6-9 */
    background-image: -ms-linear-gradient(top,  #f6f6f6 0%,#e3e3e3 100%); /* IE10+ */
    background-image: linear-gradient(to bottom,  #f6f6f6 0%,#e3e3e3 100%); /* W3C */
}
.buscargaleria fieldset
{
    border:1px solid #fafafa;
    padding:7px 0 2px;
    background: url("../layout/nlupa.png") no-repeat scroll right 0 transparent !important;   
}
.buscargaleria fieldset label span
{
    color: #333333;
    font-size: 12px;
    line-height: 28px;
}
.buscargaleria fieldset  input[type="submit"]{
    margin: -10px 0 0 15px !important;
}
.inputAno
{
  width: 90px !important;
  max-height: 5px;
  margin: -3px 0 0 0 !important;
}

.box-galeria {
    width: 100% !important;
}

