body { 
    padding: 0; 
    margin: 0; 
    background: #ffffff; 
    font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif; 
    color: #444340; 
}
h1 { 
    font-size: 1.3em; 
    padding: 15px 10px; 
    margin: 0; 
}
img { border: none; }
a { color: #444340; }
#header { 
    background: #1d1d1d; 
    border-color: #1b1b1b; 
    text-shadow: 0 1px 0 #111;
    font-weight: 700;
    border-width: 1px;
    border-style: solid;
    position: relative;
    font-size: 1em;
    line-height: 1.3;
    font-family: sans-serif;
    color: #da251d;
}
#header img { 
    display: block; 
    margin: 0 auto 0; 
}
#ui-content {
    background: #333333;
    padding-bottom: 30px; 
}
#footer {
    background-color: #1d1d1d;
    border-color: #514f4f;
    color: #fff;
    text-shadow: 0 1px 0 #111;
    font-weight: 700;
    bottom: -1px;
    padding-bottom: 1px;
    text-align: center;
    left: 0;
    right: 0;
    width: 100%;
    position: fixed;
    z-index: 1000;
}
.uti-das-ideias, .ui-title > .ui-link {
    color: #fff; 
    font-size: 0.7em;
}
.ui-page-theme-b a:visited, 
html .ui-bar-b a:visited, 
html .ui-body-b a:visited, 
html body .ui-group-theme-b a:visited {    
    color: #fff; 
    font-size: 0.7em;
}

div.gallery-row:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
div.gallery-item { float: left; width: 33.33333333%; }
div.gallery-item a { display: block; margin: 5px; border: 1px solid #3c3c3c; }
div.gallery-item img { display: block; width: 100%; height: auto; }

.btn-voltar-galeria {
    background-color: #333333;
    border-color: #1f1f1f;
    color: #da251d;
    text-shadow: 0 1px 0 #111;
    margin: 0;
    font-size: 12.5px;
    display: inline-block;
    vertical-align: middle;
    -webkit-border-radius: .3125em;
    border-radius: .3125em;
    text-decoration: none!important;
    font-weight: 700;
    left: .4em;
    position: absolute;
    top: .24em;
    padding: .7em 1em;
}
.btn-voltar-galeria:hover {
    background-color: #3b3a3a;
    border-color: #514f4f;
}
#header h1 {
    font-size: 1em;
    min-height: 1.1em;
    text-align: center;
    display: block;
    margin: 0 30%;
    padding: .7em 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    outline: 0!important;
}