/* Netfontes - menu lateral.
 * Este arquivo e o unico responsavel pelos estilos do sidebar.
 */

#boxleft .cc {
    width: 252px;
    margin: 0 auto;
    padding-bottom: 15px;
    display: grid;
    grid-template-columns: repeat(9, 28px);
    grid-auto-rows: 28px;
    grid-auto-flow: row;
    gap: 0;
    justify-content: center;
    align-content: start;
    font-size: 0;
}

#boxleft .cc a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    outline: 2px solid #000;
    outline-offset: -1px;
    background: #fff9b5;
    color: #000;
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

#boxleft .cc a:hover {
    background: #ffeb3b;
    color: #c00;
}

#boxleft .cc a.cc-accent {
    grid-column: 4 / span 3;
    width: auto;
    min-width: 84px;
}

#boxleft .cc2 {
    width: 260px;
    margin: 0 auto;
    padding-bottom: 15px;
}

#boxleft .cc2 a {
    display: inline-block;
    width: 100%;
    margin: 0 -2px -2px 0;
    border: 2px solid #000;
    background: #fff9b5;
    color: #000;
    line-height: 26px;
    font-weight: bold;
    box-sizing: border-box;
}

#boxleft .cc2 a:hover {
    background: #ffeb3b;
    color: #c00;
}

#boxleft .cc2_old {
    background: #ff0;
}

#boxleft .search {
    margin: 20px auto;
}

#boxleft .search label {
    font-weight: bold;
}

#boxleft .search input.txtSearch {
    width: 130px;
    height: 34px;
    margin: 5px auto !important;
    padding-left: 30px;
    box-sizing: border-box;
    background: #fff url('/gifs/si.png') no-repeat 5px center;
}

#boxleft .sbutton {
    display: inline-block;
    width: 80px;
    height: 28px;
    margin: 0 10px;
    border: 0;
    border-radius: 6px;
    background: #4caf50;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

@media only screen and (max-width: 640px) {
    #boxleft .cc {
        display: none;
    }

    #boxleft .cc2 {
        width: calc(100% - 20px);
    }

    #boxleft .search {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 10px;
    }

    #boxleft .search input.txtSearch {
        width: min(65vw, 260px);
        margin: 5px 0 !important;
    }

    #boxleft .sbutton {
        margin: 0;
        flex: 0 0 auto;
    }
}
