

.btnLogin {
    -moz-box-shadow: 0px 1px 0px 0px #d3d3d3;
    -webkit-box-shadow: 0px 1px 0px 0px #d3d3d3;
    box-shadow: 0px 1px 0px 0px #d3d3d3;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2b2b2b), color-stop(1, #555555));
    background: -moz-linear-gradient(top, #2b2b2b 5%, #555555 100%);
    background: -webkit-linear-gradient(top, #2b2b2b 5%, #555555 100%);
    background: -o-linear-gradient(top, #2b2b2b 5%, #555555 100%);
    background: -ms-linear-gradient(top, #2b2b2b 5%, #555555 100%);
    background: linear-gradient(to bottom, #2b2b2b 5%, #555555 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b2b2b', endColorstr='#555555',GradientType=0);
    background-color: #444444;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #1a1a1a;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Segoe UI Semibold;
    font-size: 17px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px -1px 0px #000000;
}

    .btnLogin:hover {
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #555555), color-stop(1, #2b2b2b));
        background: -moz-linear-gradient(top, #555555 5%, #2b2b2b 100%);
        background: -webkit-linear-gradient(top, #555555 5%, #2b2b2b 100%);
        background: -o-linear-gradient(top, #555555 5%, #2b2b2b 100%);
        background: -ms-linear-gradient(top, #555555 5%, #2b2b2b 100%);
        background: linear-gradient(to bottom, #555555 5%, #2b2b2b 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#2b2b2b',GradientType=0);
        background-color: #333333;
    }


.RB_FixText {
    height: 15px !important;
    font-size: 13px !important;
    font-family: Segoe UI Semibold !important;
    line-height: 2px !important;
    vertical-align: middle !important;
    text-indent: -1px !important;
}

.corFundoCorLetra {
    color: white;
    background: Black;
    border: 1px solid #003399;
}


body {
    font-family: Verdana, "DejaVu Sans", "Bitstream Vera Sans", "Lucida Sans", Arial, Helvetica, sans-serif;
    font-size: 90%;
    color: black;
    /*background: #F0F0F0;*/
    margin: 0;
    padding: 0;
    border: none;
}

.hidden {
    display: none !important;
}

.label1 {
    display: table-cell !important;
    vertical-align: middle !important;
}

a:link {
    text-decoration: none;
}

p {
    margin: 1em 0;
    padding: 0;
}


dt {
    font: inherit;
    margin: 1em 0 0.25em 0;
    padding: 0;
}

dd {
    margin: 0 0 1em 2.5em;
    padding: 0;
}

form {
    margin-bottom: 1em;
    padding: 0;
    border: none;
}

/*#main2 {
    text-align: justify;
    line-height: 1.5;
    color: black;
    background: white;
    margin: 0 0 0 0.0em;
    padding: 0.25em 1.5em 0.5em 1em;
    border-left: 1px solid #999999;
    width: 100%;
    box-sizing: border-box;
}*/

.main2-runtime {
    /*background: #EAEAEA;*/
    background: white;
    text-align: justify;
    line-height: 1.5;
    color: black;
    margin: 0 0 0 0.0em;
    padding: 0.25em 1.5em 0.5em 1em;
    border-left: 1px solid #999999;
    width: 100%;
    box-sizing: border-box;
}


#endmain {
    visibility: hidden;
    clear: both;
}

#header {
    background: linear-gradient(black, #E5E5E5, black 50%);
    z-index: 3100;
    position: relative;
    /*background: black;*/
}

    #header div.left {
        float: left;
        clear: left;
        margin: 0 0 0 0.25em;
        padding: 0;
        width: 270px;
    }


#footer {
    font-size: 90%;
    text-align: left;
    color: white;
    background: Black;
    border: 1px solid #003399;
    margin: 0;
    padding: 0.5em 1.67em 0.5em 15.25em;
    clear: both;
}

    #footer hr {
        display: none !important;
    }


#mainContent {
    /*margin-left: 220px;*/
    transition: margin-left 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}



/*#layoutWrapper.sidebar-hidden #sidebar {
    transform: translateX(-250px);
}*/

#layoutWrapper.sidebar-visivel #sidebar {
    transform: translateX(0);
}



/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    /*width: 250px;*/
    width: 0px;
    height: 100%;
    background-color: black;
    color: white;
    z-index: 3000;
    padding-top: 60px;
    overflow-x: hidden;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 8px rgba(0,0,0,0.3);
    transform: translateX(-250px); /* <- escondida por defeito */
}


/* Botão de toggle */
#toggleBtn {
    display: block;
    position: fixed;
    top: 50px;
    left: 10px;
    z-index: 3101;
    width: 40px;
    height: 40px;
    background-color: black;
    color: white;
    font-size: 20px;
    cursor: pointer;
}



fieldset {
    border-color: black;
    border-radius: 10px;
}

.fieldset-separador {
    border-color: black;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    border-radius: 0px;
}

legend {
    background-color: black;
    color: white;
    font-size: 18px !important;
    border-radius: 5px;
    height: 26px;
}

.fundo {
    background: linear-gradient(black 40%,white);
}


.RadPanelBar_Glow .customExpandedRed {
    background: #B30000 !important;
    color: #ffffff !important;
    font-weight: bold;
}


.div_estatisticas {
    display: inline-block;
    background-color: #F0F0F0;
    color: black;
    padding: 8px 16px;
    font-size: 14px;
    font-family: sans-serif;
    border: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    user-select: none;
    vertical-align: middle;
    text-align: center;
}

/* Já está bem assim – controla só a largura, não a altura */
.galleryClamp {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* impede esticar para os lados */
    position: relative;
}

/* A galeria pode crescer em altura à vontade */
.RadImageGallery_Silk.catalogoGallery {
    height: auto !important;
    overflow: visible !important;
}

/* Largura controlada, sem rebentar a tabela de 1200px */
.catalogoGallery,
.catalogoGallery .rigWrap,
.catalogoGallery .rigImageArea,
.catalogoGallery .rigThumbnailsBox {
    width: 100% !important;
    box-sizing: border-box;
}

    /* Thumbnails: área cresce em ALTURA, sem scroll interno */
    .catalogoGallery .rigThumbnailsBox {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding-top: 6px;
    }

    /* UL não tem largura gigante; deixa os floats fazerem as filas */
    .catalogoGallery .rigThumbnailsList {
        width: auto !important;
        max-width: 100% !important;
        overflow-x: hidden; /* nada de overflow lateral */
        overflow-y: visible;
    }

        /* Cada LI é um bloco flutuado (várias filas) */
        .catalogoGallery .rigThumbnailsList li {
            float: left !important; /* volta ao comportamento “grelha” */
            display: block;
            width: 100px; /* = ThumbnailWidth */
            height: 70px; /* = ThumbnailHeight */
            margin-right: 2px;
            margin-top: 2px;
        }

        /* Imagem dentro da miniatura */
        .catalogoGallery .rigThumbnailsList img {
            width: 100%;
            height: 100%;
            /*object-fit: cover;*/ /* usa contain se quiseres ver tudo */
        }

/* Fundo claro e sem barras de título/estado – podes manter estas */
.RadImageGallery_Silk.catalogoGallery .rigImageArea,
.RadImageGallery_Silk.catalogoGallery .rigLargeImage {
    background: #fff !important;
}

/*.RadImageGallery_Silk.catalogoGallery .rigTitleBar,*/
.RadImageGallery_Silk.catalogoGallery .rigStatusBar
/*.RadImageGallery_Silk.catalogoGallery .rigDescriptionBox*/ {
    display: none !important;
}
