/*
 *
 * CSS com estilo específico do tema
 *
 * @Autores
 *
 * - Danilo Sartorelli Barbato
 * - Djeison Possamai
 * - Thiago Garcia Tamosauskas
 *
 * @Referencias
 *
 * Lista de padrões, convenções e boas praticas CSS que devem ser seguidas.
 * https: //github.com/necolas/idiomatic-css/tree/master/translations/pt-BR
 *
 * Plugins para ordenar os atributos de CSS.
 * http://csscomb.com/
 *
 * Validador de CSS do W3C.
 * http://jigsaw.w3.org/css-validator/
 * Vermelho    - #b92022
 * Azul        - #1c3759 
 * Cinza       - 7287a2
 * Bege claro  - #fcf8ed
 */

/* ==========================================================================
   Grid Basico
   ========================================================================== */

/* Column size */
#main,
#main-content,
#column-one,
#column-two
{
    display: block;

    width: 100%;
    padding: 0;

    vertical-align: top;
}
#main-content
{
    padding: 0;
}

#content
{
   margin-top:20px !important;
}   
div#content
{
    margin: 0;
}
.wrapper
{
    margin: 0 auto;
    padding: 0 15px;
}
#portal-breadcrumbs
{
    display: none;
}
/* Grid Bootstrap para Cover */
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12
{
    position: relative;
    min-height: 1px;
    padding-right: 3%;
    padding-left: 3%;
}

/* Menu responsivo */
#btnav
{
    position: absolute;
    top: 33px;
}
#btnav ul
{
    z-index: 10;
    display: none;
}
#btnav i {
    top: -36px;
    color: #545e67;
    height:35px;
    font-size: 2em;
    position: absolute;
    right: 12px;
}

ul.submenu
{
    display: none;
}
nav li
{
    display: block;
    width: 100%;
    height: auto;
    padding: 5px 0;
}


nav li.selected a {
color:#fff;
}

#btnav::before {
    color: #545e67;
    content: "MENU";
    font-size: 1.6em;
    font-weight: bold;
    position: absolute;
    right: 45px;
    top: -37px;
}

div:hover#btnav ul
{
    position: relative;
    top: 5px;

    display: block;

    margin: 0;
    padding: 2px 0 0 0;

}

div:hover#btnav ul li a {
    padding: 2px 10px;
    text-transform: initial;
}
div:hover#btnav ul li span
{
    padding: 10px;
}

/* ==========================================================================
   Geral
   ========================================================================== */

.visualClear,
.clear
{
    clear: both;
}

iframe
{
    max-width: 100%;
}

html body
{
    font-family: Helvetica,Tahoma,sans-serif;
    font-size: 100%;

    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    vertical-align: baseline;

    border: 0 none;
}

a
{
    text-decoration: none;
}


/* ==========================================================================
   Cabeçalho do Portal
   ========================================================================== */

#portal-searchbox
{
    display: none;
}

/* ==========================================================================
   Estilos do page template de error 404
   ========================================================================== */

/* ==========================================================================
   Rodape do Portal
   ========================================================================== */
footer
{
    clear: both;
}
/* ==========================================================================
   Portlets
   ========================================================================== */
.portletStaticText img
{
    margin-bottom: 20px;
}

dl.portlet dt {
    background: transparent;
}

/* ==========================================================================
   Adaptações responsivas - Media Queries
   ========================================================================== */

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px)
{
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px)
{
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px)
{
    .wrapper
    {
    width: 95%;
    padding: 0;
    }
    #portal-breadcrumbs
    {
        display: block;
    }
    .section-home #portal-breadcrumbs
    {
        display: none;
    }
    /* Menu responsivo */
    #btnav
    {
        position: relative;
        top: 0;
    }
    #btnav .fa
    {
        display: none;
    }
    #btnav ul
    {
        display: block;

        padding-top: 2px;
    }
    #btnav i
    {
        display: inline-table;

        padding-top: 0;
    }
    ul.submenu
    {
        display: inline-table;
    }
    nav li
    {
        display: inline-table;
        width: auto;
         padding: 0 15px;
    }
    #main-navigation ul li:last-child
    {
        border-right: none;
    }
    div:hover#btnav ul
    {
        display: block;
    }
    div:hover#btnav ul li a
    {
        padding: 0 !important;
    }
    div:hover#btnav ul li span
    {
        padding: 0 !important;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px)
{
    .wrapper
    {
        width: 970px;
    }
    /* Header */
    #portal-searchbox
    {
        display: block;
    }
    #portal-searchbox input#searchGadget,
    #portal-searchbox input#nolivesearchGadget
    {
        font-size: 1.2em;

        border: none;
        background: none;
    }
    #portal-searchbox #searchGadget,
    #portal-searchbox #nolivesearchGadget
    {

    }
    #portal-searchbox .LSBox
    {
        position: relative;
    }
    #portal-searchbox div#LSResult
    {
        display: none !important;
    }
    #portal-searchbox label.hiddenStructure:before
    {
        font: normal normal normal 14px/1 FontAwesome;
        font-size: 1.4em;
        top: 3px;
        position: absolute;
        z-index: 1;
        right: 8px;
        display: block;
        width: 10px;
        height: 10px;
        content: '\f002';
        color: #FFFFFF;
        -webkit-font-smoothing: antialiased;
    }
    #portal-searchbox input.searchButton
    {
        position: relative;
        z-index: 10;

        width: 20px;
        height: 15px;

        text-indent: -400%;

        border: none;
        background: none;
    }

    /* Grid Bootstrap para Cover */
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-11,
    .col-md-12
    {
        float: left;

        padding-right: 0;
    }
    .col-md-12
    {
        width: 100%;
        padding-left: 0;
    }
    .col-md-11
    {
        width: 91.4166666666667%;
    }
    .col-md-10
    {
        width: 82.8333333333333%;
    }
    .col-md-9
    {
        width: 74.25%;
    }
    .col-md-8
    {
        width: 65.6666666666667%;
    }
    .col-md-7
    {
        width: 57.0833333333333%;
    }
    .col-md-6
    {
        width: 48.5%;
    }
    .col-md-5
    {
        width: 39.9166666666667%;
    }
    .col-md-4
    {
        width: 31.3333333333333%;
    }
    .col-md-3
    {
        width: 22.75%;
    }
    .col-md-2
    {
        width: 14.1666666666667%;
    }
    .col-md-1
    {
        width: 5.58333333333333%;
    }
    .column:nth-of-type(1)
    {
        padding: 0;
    }

    /* Grid */
    #main .wrapper
    {
        display: table;
    }
    #main
    {
        display: table;
    }
    #main-content
    {
        width: auto;
    }
    #column-one
    {
        width: 16%;
    }
    #column-two
    {
        width: 24.5%;
    }
    #main-content,
    #column-one,
    #column-two
    {
        display: table-cell;
    }
    #column-one
    {
        padding-right: 2%;
    }
    #column-two
    {
        padding-left: 2%;
    }
    #portal-column-content
    {

        width: 100%;
        margin-left: -100%;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px)
{
    .wrapper
    {
        width: 1170px;
    }
}
