﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
@import url("/css/tema.css");
@import url("/css/ficheiros.css"); /* Ficheiros */

.site-color {
    color: #337ab7;
}

.color-cinza {
    color: #a0a0a0;
}

.glyphicon.glyphicon-one-fine-dot:before {
    content: "\25cf";
    font-size: 1em;
}

.glyphicon-refresh-animate {
    -animation: spin .9s infinite linear;
    -webkit-animation: spin2 .9s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.move {
    cursor: move;
}

::-webkit-scrollbar {
    width: 1em;
    height: 0.5em;
}

::-webkit-scrollbar-thumb {
    background: slategray;
}

::-webkit-scrollbar-track {
    background: #b8c0c8;
}

body {
    scrollbar-face-color: slategray;
    scrollbar-track-color: #b8c0c8;
}

body {
    padding-top: 60px;
    background-color: #cbcbcb;
}

footer.panel-footer {
    padding-bottom: 60px;
    margin-bottom: 60px;
    background-color: #cbcbcb !important;
}

/*.painel_rodape {
    position:fixed;
    bottom: 0px;
    background-color: #222;
    color: #9d9d9d;
    border:0;
    padding:1em;
}*/

#espera {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('/images/loading.gif') 50% 50% no-repeat;
}

#loading {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 ) url('/images/loading.gif') 50% 50% no-repeat;
}

body.espera {
    overflow: hidden;
}

    body.espera #espera {
        display: block;
    }


.cke_dialog {
    z-index: 10055 !important;
}



#conteudo {
    background-color: #eee;
}

.ui-state-highlight {
    height: 6em;
    line-height: 6em;
    background-color: #428bca;
}

.icon-large {
    font-size: 1.5em;
}

/*tabs*/

.nav-tabs.branco li.active a {
    background-color: white !important;
}

.tab-content {
    background-color: #ffffff !important;
}
/*Table*/

table.table thead tr {
    background-color: #337ab7;
    color: #FFFFFF;
    text-transform: uppercase;
}

    table.table thead tr th {
        text-align: center;
        padding: 10px;
    }

        table.table thead tr th a {
            color: #FFFFFF;
        }

table.cinza thead tr {
    background-color: #808080;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 5px;
    text-align: center;
}

table.table thead.cinza {
    background-color: #808080;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 10px;
    text-align: center;
}


/*Modals*/
.modal-content {
    background-color: #337ab7;
}

.modal-header {
    color: #FFFFFF;
}

.modal-body {
    background-color: #FFFFFF;
}

.modal-footer {
    background-color: #f5f5f5;
}

/*Menu*/
@media (min-width:767px) {
    li.dropdown:hover ul.dropdown-menu, li.dropdown-toggle ul.dropdown-menu {
        display: block;
        filter: none;
        opacity: 1;
    }
}

#submenu {
    position: fixed;
    top: 50px;
    background-color: #eee;
    padding: 5px;
    z-index: 20;
    border-bottom: 1px solid #428bca;
}

    #submenu .btn.btn-default i {
        color: #428bca;
    }

    #submenu .btn.btn-primary i {
        color: #FFFFFF;
    }



.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

    .nav-sidebar > li > a {
        padding-right: 20px;
        padding-left: 20px;
    }

    .nav-sidebar > .active > a,
    .nav-sidebar > .active > a:hover,
    .nav-sidebar > .active > a:focus {
        color: #fff;
        background-color: #428bca;
    }


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}


/*Menu lateral*/
#menu_lateral {
    position: fixed;
    width: 200px;
    top: 0px;
    left: -199px;
    bottom: 0px;
    background-color: #337ab7;
    -webkit-transition: .2s ease-in-out left;
    -o-transition: .2s ease-in-out left;
    transition: .2s ease-in-out left;
    padding-top: 60px;
    color: #FFFFFF;
    overflow-y: scroll;
}

    #menu_lateral:hover {
        left: 0px;
    }



/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

    .placeholders h4 {
        margin-bottom: 0;
    }

.placeholder {
    margin-bottom: 20px;
}

    .placeholder img {
        display: inline-block;
        border-radius: 50%;
    }


/*Float right*/

.fr {
    float: right;
}


#conteudo {
    min-height: 400px;
    padding-bottom: 40px;
}


.lista_pastas {
    min-height: 300px;
}

/*PRODUTOS*/




/*Encomendas*/
@media (min-width: 768px) {
    #lista_de_encomendas, .lista_scroll {
        display: inline-block;
        width: 100% !important;
        height: 65vh;
        overflow-y: auto;
        overflow-x: hidden;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
}

#lista_de_encomendas div {
    color: black;
    padding: 1em;
    margin-bottom: 2px;
}

    #lista_de_encomendas div.encomenda_x {
        padding: 8px 10px 2px 10px;
        font-size: 12px;
        background-color: #eee;
    }

        #lista_de_encomendas div.encomenda_x p {
            margin-bottom: 0px;
        }

    #lista_de_encomendas div.aguarda {
        background-color: #99FF66;
    }

    #lista_de_encomendas div.validacao {
        background-color: #CCFF99;
    }

    #lista_de_encomendas div.pgtoefetuado {
        background-color: #FFCC66;
    }

    #lista_de_encomendas div.preparacao {
        background-color: #FF9900;
    }

    #lista_de_encomendas div.entregaemcurso {
        background-color: #FF66FF;
    }
    #lista_de_encomendas div.aguardarstock {
        background-color: #8da3a3;
        color: #CCCCCC;
    }

    #lista_de_encomendas div.erroentrega {
        background-color: #FF0000;
        color: #FFFF00;
    }

    #lista_de_encomendas div.reagendamento {
        background-color: #669999;
    }


    #lista_de_encomendas div.entregaconcluida {
        background-color: #00CC66;
    }


    #lista_de_encomendas div.final {
        background-color: #336600;
        color: #CCCCCC;
    }

        #lista_de_encomendas div.final .col_enc {
            color: #f5f5f5;
        }


    #lista_de_encomendas div.cancelada {
        background-color: #701012;
    }

        #lista_de_encomendas div.cancelada .col_enc {
            color: #f5f5f5;
        }



#lista_de_encomendas .col_enc {
    margin: 0;
    padding: 0;
}

#lista_de_encomendas div.encomenda_x:hover {
    -webkit-box-shadow: inset 0px 14px 135px -14px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0px 14px 135px -14px rgba(0,0,0,0.5);
    box-shadow: inset 0px 14px 135px -14px rgba(0,0,0,0.5);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}



#lista_de_encomendas a:hover {
    text-decoration: none;
}



/*Detalhes encomendas*/
/*campos*/

.max50 {
    max-width: 50px;
}

.max80 {
    max-width: 80px;
}

.max100 {
    max-width: 100px;
}

.modal-body {
    /* Increase the max height of the modal body to try & avoid both it,
     * and the modal container having scroll bars which results in odd behavior */
    max-height: 2400px;
}

/*detalhes_encomenda*/

input.form-control {
    margin-bottom: 3px;
}



/*UPLOAD*/

#box {
    width: 100%;
    min-height: 100px;
    background-color: #CCFF99;
}



/*LOJA*/

/** titulos/legenda dos campos******/
.titulo {
    font-weight: bold;
}

.input-group-addon.t40 {
    width: 40px;
}



/*Produtos*/

.price {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.old-price {
    color: #666666;
    font-size: 14px;
    font-weight: normal;
    text-decoration: line-through;
}

.new-product, .fab {
    color: #337ab7;
}

.ref {
    color: #000000;
    font-weight: bold;
}

#produto_preview_data .modal-product-thumb img {
    display: inline-block;
}


span.rating, span.rating span {
    display: inline-block;
    background: url(/images/stars.png) 0 -16px repeat-x;
    width: 80px;height: 16px;
} 
span.rating span {background-position: 0 0;}



input[type="text"].datetimepicker {
    background: white url(/images/loja/calendar.png) right no-repeat;
    padding-right: 17px;
    width: 130px;
}


#alertas {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 200px;
    z-index: 5000;

}

#alertas .alerta .close {
     z-index: 5001;
}

#alertas .conteudo-alertas {
    position: absolute;
    bottom: 0;
    left: 0;
}
#alertas .alerta {
    position:relative;
    width: 200px;
}

#alertas .alerta .well {
    background-color: #337ab7;
    color: #eee;
    margin-bottom: 5px !important;
    cursor:pointer;
}

#alertas .alerta .paga {
    background-color: #FFCC66 !important;
    color: #000000;
}

.alerta-encomenda {
    font-weight:bold;
}

.alerta-valor {
    float:right;
    font-weight:bold;
}

.text-white {
    color:white !important;
}

    .text-white:hover {
        color: black !important;
    }

.pt-1 {
    padding-top: 0.5em;
}

.p1 {
    padding: 0.5em !important;
}