/*
 *
 * CSS com estilo base de grid
 *
 * @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/
 */


div#controlsite
{
    overflow: hidden;

    height: 1px;
}
#portal-personaltools
{
    display: none;
}
/* ==========================================================================
   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
{
    position: relative;
    top: 25px;

    margin-top: 20px !important;
}
div#content
{
    margin: 0;
}

#column-one
{
    padding: 10px;
}
.wrapper
{
    margin: 0 auto;
    padding: 0 10px;
}
header#main-header .wrapper,
footer .wrapper,
#mainMenu .wrapper
{
    padding: 0;
}
#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 i
{
    font-size: 2.5em;

    padding: 5px 0 10px 25px;

    color: #fff;
}

#btnav ul
{
    z-index: 10;

    display: NONE;
}

nav li
{
    font-size: .8em;

    display: block;

    width: 100%;
    height: auto;
    padding: 5px 0 5px 10px;
}

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

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

    display: block;

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

div#btnav ul li a
{
    padding: 2px 10px;

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

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

.visualClear,
.clear
{
    clear: both;
}

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

a
{
    text-decoration: none;
}

/* ==========================================================================
   Cabeçalho do Portal
   ========================================================================== */
#portal-searchbox
{
    display: none;
}

#portal-searchbox input.searchButton
{
    position: absolute;
    z-index: 10;
    right: 0;

    width: 60px;
    height: 30px;

    text-indent: -400%;

    border: none;
    background-color: rgba(0, 0, 0, 0);
    background-image: none;
    background-repeat: repeat;
    background-position: 0 0;
    background-clip: border-box;
    background-origin: padding-box;
    background-size: auto auto;
}

#portal-searchbox label.hiddenStructure::after
{
    font-family: FontAwesome;
    font-size: 1.4em;
    line-height: 1;

    position: absolute;
    z-index: 1;
    top: 5px;
    right: 8%;

    display: block;

    width: 1px;
    height: 10px;

    content: '';

    color: #fff !important;
}

#portal-searchbox label.hiddenStructure
{
    display: none;
}

#portal-searchbox #searchGadget:focus,
#portal-searchbox #searchGadget
{
    /*position: relative;
    top: 2px;
    right: 0;
    width: 84%;
    padding: 10px 0 10px 15px;*/
    display: none;
}
.searchField
{
    color: #fff;
    background: transparent !important;
}
/* ==========================================================================
   Estilos do page template de error 404
   ========================================================================== */

/* ==========================================================================
   Rodape do Portal
   ========================================================================== */
footer
{
    clear: both;

    color: #fff;
    background: #00529b;
}
footer a
{
    color: #fff !important;
}

footer a:hover
{
    text-decoration: underline;

    color: #49545f;
}

/* ==========================================================================
   Portlets
   ========================================================================== */
.portletStaticText img
{
    margin-bottom: 20px;

    border-right: 1px solid #98a3bf;
}

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)
{
    #portal-personaltools
    {
        display: none;
    }
    nav
    {
        background: transparent !important;
    }
    #main-navigation li a
    {
        font-size: 1em !important;

        color: #fff !important;
    }
    #main-navigation li a:hover
    {
        color: #feda00 !important;
    }
    /**** GRID ****/
    /* Very very simple, semantic and human friendly columns */
    /* Column size */
    /* 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 !important;
        padding-right: 0;
    }
    footer#footerRightslocal
    {
        margin-top: 20px;
    }
    div.position-0
    {
        margin-left: -100%;
    }
    .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: 47%;
    float:  left;
    }
    .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%;
    }
   #main-content
    {
        width: auto;
    }
    #column-one
    {
        width: 20%;
    }
    #column-two
    {
        width: 20%;
    }
    /* old fashion table layout */
    #main
    {
        display: table;

        width: 100%;
    }
    #main-content,
    #column-one,
    #column-two
    {
        display: table-cell;

        vertical-align: top;
    }
    /* margin columns */
    #column-one
    {
        padding: 0 2% 2%;
    }
    #column-two
    {
        padding-left: 2%;
    }
    #portal-column-content
    {
        width: 100%;
        margin-left: -100%;
    }
    .wrapper
    {
        position: relative;

        width: 750px;
        padding: 0;
    }
    #portal-breadcrumbs
    {
        display: none;
    }
    /* Menu responsivo */
    #btnav .fa
    {
        display: none;
    }
    #btnav ul
    {
        display: block;

        background: #41acfb;
    }
    nav li
    {
        display: inline-block;

        width: auto;
        padding: 10px 30px;
    }
    div#btnav ul li a
    {
        padding: 10px 2px !important;

        text-transform: none;
    }
    div#btnav ul li span
    {
        padding: 10px !important;
    }

    div#btnav #sub-menu li a
    {
        padding: 0 !important;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px)
{
    #video iframe
    {
        height: 305px;
    }
    .wrapper
    {
        width: 970px;
    }
}

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

@media only screen and (max-width : 767px)
{
    /* grid portal antigo */
    div.cell
    {
        display: block;
        float: none;

        width: 100%;
        margin-bottom: 4%;
        margin-left: -100%;
    }
    .row
    {
        clear: both;
    }
}
