/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

img#maquete{
    position: absolute;
    /* opacity: 0.5; */
    margin-left: -10px;
    /* z-index: 2; */
    display: none;
}



html{

    -ms-overflow-y: scroll;  overflow-y: scroll;  height: 100%;  margin: 0;  padding: 0;
}

body{
    min-width: 960px;
    color: #494947;
    background-color: #FBFBFB;
    height: 100%;  -ms-overflow-y: visible;  overflow-y: visible;  margin: 0;  padding: 0;  ;
}

a{
    text-decoration: none;
    color: #4393AC;
}

a:hover{
    text-decoration: underline;
}

div.wrapper{
    width: 960px;
    margin:0 auto;
}

div#container{
    /* opacity: 0.5; */
    position: relative;
    z-index: 1;
    width: 100%;  min-height: 100%;  position: relative;  
}

div#main{
    padding: 46px 0 390px;

}

header{
    height: 107px;
    position: relative;
}

div#header-top{
    padding-top: 20px;
    position: relative;
    height: 57px;
}

div#header-bottom{
    position: relative;
    height: 20px;
    z-index: 1;
}

a#logo{
    height: 40px;
    display: block;
}

div#header-date{
    position: absolute;
    right: 0;
    bottom:0;
    color: #9C9C9E;
    /* font-weight: bold; */
    font-size: 11px;
    line-height: 25px;
    margin-right: 5px;
}

nav#menu{
    height: 40px;

}

nav#menu ul{
    padding: 0;
    
    margin: 0;
}

nav#menu ul li{
    float: left;
    
    width: 14.285714%;
    height: 40px;
    text-align: center;
    line-height: 12px;
}


/*serve tambem para o menu incial*/
nav#menu ul li.selected,
nav#menu ul li:hover{
    background-color: #2185B9; 
}

nav#menu ul li#menu-legislacao.selected,
nav#menu ul li#menu-legislacao:hover{
    background-color: #266719;
}
nav#menu ul li#menu-jurisprudencia.selected,
nav#menu ul li#menu-jurisprudencia:hover{
    background-color: #78191b;
}
nav#menu ul li#menu-circulares.selected,
nav#menu ul li#menu-circulares:hover{
    background-color: #b09d34;
}
nav#menu ul li#menu-regulamentos.selected,
nav#menu ul li#menu-regulamentos:hover{
    background-color: #4e417e;
}
nav#menu ul li#menu-doutrina.selected,
nav#menu ul li#menu-doutrina:hover{
    background-color: #b90711;
}

nav#menu ul li#menu-cust.selected,
nav#menu ul li#menu-cust:hover{
    background-color: #CC7A00;
}

nav#menu ul li#menu-poa.selected,
nav#menu ul li#menu-poa:hover{
    background-color: #A86A6F;
}

nav#menu ul li#menu-da.selected,
nav#menu ul li#menu-da:hover{
    background-color: #CD5360;
}

nav#menu ul li a{
    color: #fff;
    
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    display: inline;
    display: block;
    line-height: 40px;
}

nav#menu ul li a.multi-line{
    line-height: 15px;
    padding: 5px;
}



div.gray-stripe{
    height: 40px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 77px;
    background-color: #494947;
}

div.font-zoom,
div.end-search-info{
    text-align: right;
    line-height: 12px;
    margin: 7px 0 1px;
}

div.end-search-info{
    margin: 0;
    line-height: 20px;
    position: relative;
}

div.end-search-info div#ajuda{
    float: left;
    height: 20px;
    width: 20px;
    background-image: url(/imagesdataj/img/int_blue.png);
    background-repeat:no-repeat;
    position: relative;
    z-index: 15;
}

div#ajuda div.content{
    position: absolute;
    width: 960px; 
    text-align: left;
    font-size: 12px;
    top: -22px;
    box-shadow: 2px 1px 5px 1px rgba(213, 208, 208, 0.47);
    border: 1px solid #DDDDDD;
    border-radius: 0 0 5px 5px;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fff;
    display: none;
}

div#ajuda div.content ul{
    margin-bottom: 0;   
}

div#ajuda:hover div.content{
    display: block;
}

div.font-zoom a{
    color: #2185B9;
    text-decoration: none;
    font-weight: bold;
    font-size: 10px;
    margin-top: 8px;
    margin-right: 3px;
}

div.end-search-info a{
    /* float: right; */

    /* clear: both; */
    color: #494947;
    font-size: 11px;
    line-height: 22px;
    text-decoration: none;
    vertical-align: top;
    display: inline-block;
}

a.end-search-info:hover{
    text-decoration:underline;
}

form#consulta div.wrapper{
    width: auto;
}

form label{
    font-weight: bold;
    font-size: 14px;
}

span.icon-calendario{
    font-size: 0;
    color: transparent;
    background-image: url(/imagesdataj/img/calendario.png);
    background-repeat:no-repeat;
    width: 22px;
    height: 25px;
    padding: 4px;
    display: inline-block;
    vertical-align: top;
    background-position: center;
    cursor: pointer;
}


div#search-query{
    display: inline-block;
    position: relative;
    margin-right: 15px;
}

div#search-query div.suggestion{
    width: 445px; 
    position: absolute;
    left: 12px;
    color: #A5A5A5;
    height: 22px;
    font-weight: normal;
    line-height: 20px;
    top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-align: left
}

div.search-group{
    margin-bottom: 35px;
    position: relative;
}

div#pesquisa-data.search-group{
    height: 30px;
}

div#pesquisa-data div#selected-type{  
    height: 25px;
    position: relative;
    line-height: 15px;
    font-size: 11px;
    left: 75px;
    width: 288px;
    margin-top: 5px;
    display: none;
}

div#pesquisa-data div#selected-type.loading{
    background-image: url(/imagesdataj/img/loader.gif);
    background-repeat: no-repeat;
    background-position: 240px 6px;
} 

div#pesquisa-data div#selected-type label{
    display: inline-block;
    font-size: 11px;
    margin-left: 10px;
}

div#pesquisa-data div#selected-type label input{
    height: 12px;
    margin-top: 0px;
    margin-left: 10px;
    width: 70px;
    text-align: center;
    border: 1px solid #DFDFDF;    
    height: 23px;  
    line-height: 25px;  padding: 2px 15px;  box-shadow: 1px 0px 5px 0px #DFDFDF inset;  border-radius: 3px;
    font-size: 12px;
    display: inline-block;
}

div#pesquisa-data div#selected-type div{
    display: inline-block;
}

div#data-input{
    font-weight: bold;
    font-size: 14px;
    float: right;
    vertical-align: top;
}

div#data-input span.ate{
    font-weight: normal;
    
    font-size: 12px;
}

div.bases-dados.search-group{
    display: none;
}

div.bases-dados.search-group label.title span.todos{
    display: inline-block;
    font-weight: normal;
    font-size: 11px;
    margin-left: 10px;
    font-style: italic;
    margin-right: 5px;
}

div.bases-dados.search-group label.title input{
    margin-right: 6px;

    vertical-align: -3px;
}


div.bases-dados.search-group table.jornais{
    font-size: 13px;
    background-color: #fff;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    padding: 0;
    margin: 15px 0 45px;
    box-shadow: 2px 1px 5px 1px rgba(213, 208, 208, 0.47);
    width: 100%;
    z-index: 1;
    overflow: auto;
    -webkit-trandition:0.3s;


}

div.bases-dados.search-group table.jornais.disabled,
ul.suggestions.disabled{
    background-color: #EEE;
    color: #C7C7C7;
}


div.bases-dados.search-group table td{
    
    background-repeat: no-repeat;
    background-position: left;
    padding: 5px 15px;
    border-right: 1px solid #F5F5F5;
    cursor: pointer;
}

div.bases-dados.search-group table tr td:first-child{

}

div.bases-dados.search-group table tr td:last-child{
    border:0;
}

div.bases-dados.search-group table td:first-child label{
    font-weight: bold;
}

div.bases-dados.search-group table tr{

    border-bottom: 1px solid #E7E7E7;
}

div.bases-dados.search-group table tr:last-child{
    border-bottom: 0 ;
}

div.bases-dados.search-group table td label{
    
    background-repeat: no-repeat;
    background-position: left;
    padding: 0px 15px;
    font-weight: normal;
    font-size: 13px;
    display: block;
    cursor: pointer;
}





div.bases-dados.search-group table td.selected label{
    background-image: url(/imagesdataj/img/visto.png);
}


div.bases-dados.search-group table.disabled td.selected label{
    background-image: none;
}

div#search-query div.suggestion span.transparent{
    color: transparent;
    color: #fff;
}

div#search-query div.suggestion span.visible{
    white-space: nowrap;
    display: inline;
}

input#consulta-pesquisa{
    width: 445px; 
    position: relative;
    background-color: transparent;
}



label.data-calendario input{
    width: 90px;
    cursor: pointer;
}

#ui-datepicker-div { 
    font-size: 14px;
    width:auto;
    margin-top: 5px;
}


input[type='text']{
    border: 1px solid #DFDFDF;
    height: 22px;
    line-height: 20px;
    padding: 0 10px;
    box-shadow: 1px 0px 5px 0px #DFDFDF inset;
    border-radius: 3px;
    vertical-align: 0px;
}

input[type='password']{
    border: 1px solid #DFDFDF;
    height: 22px;
    line-height: 20px;
    padding: 0 10px;
    box-shadow: 1px 0px 5px 0px #DFDFDF inset;
    border-radius: 3px;
    vertical-align: 0px;
    
}

label[for=consulta-pesquisa]{
    line-height: 35px
}


label.data-calendario{
    margin: 0 5px;
}


ul.suggestions{
    background-color: #fff;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    padding: 0;
    margin: 15px 0 45px;
    box-shadow: 2px 1px 5px 1px  rgba(213, 208, 208, 0.47);
    position: absolute;
    width: 100%;
    z-index: 1;
    max-height: 330px;
    overflow: auto;
    text-align: left;
}

ul.suggestions.tribunais{
    max-height: 260px;
}

ul.suggestions.tribunais li.principal{

    cursor: default;
    position: relative;
    cursor: pointer;
}

ul.suggestions.tribunais li span.triangle{

    position: absolute;
    

    top: 7px;

    right: 4px;
    

    width: 12px;
    

    height: 12px;
    
    background-image: url(/imagesdataj/img/triangle.gif);
    background-repeat: no-repeat;
    -webkit-transition:0.3s;
    transition:0.3s;

}

ul.suggestions.tribunais li.expanded span.triangle{
    -webkit-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    transform:rotate(90deg);
}

ul.suggestions.tribunais li.especifico{
    font-weight: normal;
    padding-left: 35px;
}

ul.suggestions.tribunais.tree li.especifico{
    display: none;
}


ul.suggestions.relative{
    position: relative;
}

ul.suggestions li{
    list-style:none; 
    height: 25px;
    padding: 0 10px;
    border-bottom: 1px solid #F5F5F5;
    font-size: 13px;
    line-height: 25px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 15px center;
}

ul.suggestions.disabled li{
    cursor: default;
}

ul.suggestions.bold li{
    font-weight: bold;
}

ul.suggestions li span.multiple,
ul.suggestions li span.chosen{
    font-weight: normal;
}


ul.suggestions li.selected,
table.jornais td:hover{
    background-color: #DAF1FF;

}

div.bases-dados ul.suggestions li.selected{
    background-image: url(/imagesdataj/img/visto.png); 
}

ul.suggestions li div{
    display: inline-block;
}

ul.suggestions div.right{
    float: right;
}

ul.suggestions div.right span.type{
    min-width: 75px;
    display: inline-block;
}

div.right.assu span.title{
    color: #266719
}

div.right.dipl span.title{
    color: #78191b
}

div.right.desi span.title{
    color: #b09d34
}







ul.suggestions li:hover div.right{
    display: inline-block;
}


div#fontes ul{
    padding: 0;

    margin: 30px 0 40px;
    height: 70px;
}

div#fontes ul li{
    list-style: none;
    
    float: left;
    width: 25%;
    text-align: left;
    font-size: 13px;
    -webkit-transition: 0.5s;
}

div#fontes ul li.disabled{
    color: #ccc;
}

div#fontes ul li input{
    display: block;
    margin: 0 auto;
    -webkit-transform: scale(1.5);
    margin-bottom: 15px;
}

div#fontes ul li label{
    
}

div#fontes ul li label div{
    font-weight: normal;

}

div#fontes ul li a.filter{
    display: none;
    font-size: 10px;
}

div#fontes ul li.disabled a.filter{
    display: none;
}



div#fontes ul li label div input{
    display: inline-block;
    margin: 0 7px 15px;
}

div#fontes ul li label div span.quantidade{
    font-size: 11px;
    
    vertical-align: 3px;
}

div#fontes ul li a{
    
}

input.form-button,
div#popup button{
    background-color: #2185B9;
    margin-right: 10px;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 12px;
    padding: 15px 30px;
    font-weight: bold;
}

div#popup-curtain{
    position: fixed;
    background-color: rgba(0,0,0,0.3);
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 999;
}

div#popup{
    width: 300px;
    min-height: 100px;
    border-radius: 5px;
    box-shadow: 2px 1px 5px 1px rgba(213, 208, 208, 0.47);
    border: 1px solid #ADADAD;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -150px;
    margin-top: -70px;
    background-color: #fff;
}


ul.suggestions-options{
    text-align: left; 
    font-size: 14px;
    margin: 0;
    padding: 0;
    margin-top: 32px;
}

ul.suggestions-options li{
    list-style: none;   
    line-height: 10px;
    margin-bottom: 8px;
    height: 10px;
}

ul.suggestions-options li input{
    vertical-align: -1px;
}

div#popup button{
    margin: 10px 110px;
    padding: 5px 30px;
}


footer{
    background-color: #F6F6F6;
    font-size: 12px;
    height: 200px;
    position: absolute;
    width: 100%;
    margin: auto auto 0 auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 50px 0;
    box-shadow: 1px 1px 8px 0px #C4C4C4;
}

h4{
    font-size: 12px;

}

div.footer-section{
    display: inline-block;
    width: 300px;
    margin-right: 20px;
    vertical-align: top;
}

footer ul{
    padding-bottom: 10px;

}

footer ul.no-dots{
    list-style: none;
    padding: 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
