/* 
    Created on : Sep 27, 2016, 4:21:43 PM
    Author     : Danilo Marcus
*/

html {overflow-y: scroll;}

/*  botao de subir para o topo da pagina */
body{
    font-family: "SulSans", Helvetica, sans-serif;
    /*scroll-behavior: auto;*/
    /*-webkit-overflow-scrolling: touch !important;*/
}
a{ text-decoration: none !important; }

/* PAINEL */
#form-select-qty #qtde-tela-modal{
    width: 100px !important;
}
#cesta-floating, #menu-floating {
    display: none !important;
    -webkit-transform: translate3d(0,0,0);
    -webkit-overflow-scrolling: touch !important;
}

button.bootbox-close-button.close{
    font-size: 3.0rem;
}

#local_pages{
    padding: 0;
}
#montagem-cart{
    margin-bottom:100px; 
    margin-top:10px;
    padding: 0;
}

/* botao de add produto  */
.padding-base{ padding: 5px;}
.class-group-selected{
    color: #FF0000;
}
.fecha-pedido-style{
    background-color:  #FF0000;
    color: #fff !important;
    padding: 10px;
    border-radius: 4px;
}

#back-top {
    position: fixed;
    bottom: -20px;
    margin-left: 85%;
    opacity: .75;
}

#back-top a {
    width: 50px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;

    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    color: #000;
}
/* container dos produtos - ajuste de espaco por conta do botao de add produto */
#page-wrapper{
    padding: 0 30px 60px 30px;
}

/* arrow icon (span tag) */
#back-top span {
    width: 60px;
    height: 60px;
    display: block;
    margin-bottom: 7px;
    background: #006dcc url('../img/up-arrow2.png') no-repeat center center;
    /* rounded corners */
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;

    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover span {
    background-color: #006dcc;
}
/* .end botao de subir para o topo da pagina */


/* cursor */
.pointer{
    cursor: pointer;
}

/* campo de valor pago */ 
#valor_pago{
    text-align: right;
}

.borda_grupo{
    border: 1px solid #e3e3e3;
    padding:10px;
}

/*  AREA DE ENVIO DE PEDIDO */
.list-item-cart{

}

/*    DIV DO CARRINHO **/
#divProdCart{
    border: 1px solid red;
    white-space: nowrap;
}
.rowProdCart{
    margin:0;
    padding: 0;
    padding-bottom: 5px;
    padding-top:10px;
}
.noMarginNoPadd{
    margin: 0;
    padding: 0;
}
.obsItemProdCart{
    list-style: none;
    margin:0;
    padding:0;
    padding-left: 20px;
}
.precoProdCart{
    text-align: right;
}
#caixa_outro_ingrediente{
    z-index: 30000;
    -webkit-transform: translate3d(0,0,0);
    -webkit-overflow-scrolling: touch !important;
}

#div-tela-form-modal{
    -webkit-transform: translate3d(0,0,0);
    -webkit-overflow-scrolling: touch !important;
}

#div-tela-form-modal::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
}

#div-tela-form-modal::-webkit-scrollbar:vertical {
    width: 8px;
}

#div-tela-form-modal::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#div-tela-form-modal::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
}

#caixa_de_observacoes{
    z-index: 30001;
    -webkit-transform: translate3d(0,0,0);
    -webkit-overflow-scrolling: touch !important;
}

.espaco_top{
    margin: 100px; 
}
#GoCarrinho{
    cursor: pointer;
}

/* MENU FLOATING */
.menu-floating-container{
    padding: 2px;
    margin: 0 auto 0 35px; 
    max-width: 100%;
    font-size: 1.4rem;
}
.menu-floating-home{
    flex: 1;
}
.menu-floating-cart{
    flex: 1;
}
.menu-floating-follow{
    flex: 1;
}
.menu-floating-search{
    flex: 1;
}

/* PANEL FIXED FLOATING VER CESTA */
.cesta-floating-container{
    padding: 8px;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    color: #ffffff;
}
.cesta-floating-text{
    flex: 1;
    font-size: 1.5rem;
}
.cesta-floating-total{
    flex: 1;
    font-size: 1.5rem;
}
.cesta-floating-cart{
    flex: 1;
}

/*******/
/* GRUPOS DE CARDAPIO */
/*******/

.sombraMouseOver:hover{
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
.bordaMouseOver div:hover{
    border: 2px solid #D1ECF7;
}
.title_grupo_cardapio{
    text-align: center;
}
.title_grupo_cardapio_no_img{    
    font-size: 2.5rem;
    margin: auto;
}
.group-img-thumb{
    opacity: 1;
    display: block;
    transition: .5s ease;
    backface-visibility: hidden;
    height: 160px !important;
}
.panel-obs-modal{
    height: 100%;
}

/*******/
/* CARDAPIO */
/*******/
.quedaLinhaOK{
    line-break: auto;
}
.btnShowProdDesc{
    z-index: 2000;
}
#foto-prato{
    z-index: 1000 !important;
}
.description-cardapio{
 font-weight: 600 !important;
}
.hideElem{
    display: none;
}
.toggleDescription{
    display: none;
}
.btnToggleDescription{
    margin-bottom: 5px;
}

/*******/
/* CORES */
.verde1{color:darkolivegreen !important;}
.amarelo{color:#B2B200 !important;}
.verde{color:green !important;}
.vermelho{color:red !important;}
.branco{color:white !important;}

/* test styles */
.backRed{ background-color: red !important;}
.backGreen{background-color: green !important;}


/*******/
/* BACKGROUND COLORS */
.backOrange1{background-color: #FF9400;}
.backOrange2{background-color: #FFAE40;}
.backTitle1{background-color: #FFDC73;}
.backTitle2{background-color: #FFC773;}
.backTitle3{background-color: #FFE8C6;}
.backFundoCCflag{background-color: #FCEB77;}

/*******/
/* FONTES SIZES */
.textoSize10{font-size: 10px;}
.textoSize12{font-size: 12px;}
.textoSize14{font-size: 14px;}
.textoSize16{font-size: 16px;}
.textoSize18{font-size: 18px;}
.textoSize20{font-size: 20px;}
.textoSize22{font-size: 22px;}
.textoSize24{font-size: 24px;}
.textoSize26{font-size: 26px;}
.textoSize28{font-size: 28px;}
.textoSize30{font-size: 30px;}
.semNegrito{ font-weight: normal;}
.text-red {
    color: red;
}
.hidedom{ display:none;}

.input-group .form-control.numberspin {
    width: 60px !important; /* caixa de qtde para observacao */
}
.div-title-pedido-aprovado{
    color: #fff !important;
    border: 1px solid #cccccc;
    background-color: red;
    padding: 5px;
}
.div-title-pedido-aprovado *{
    color: #fff !important;
}
.div-title-pedido-recebido{
    color: #fff !important;
    border: 1px solid #cccccc;
    background-color: purple;
    padding: 5px;
}
.div-title-pedido-recebido *{
    color: #fff !important;
}
.div-title-pedido-processando{
    color: #fff !important;
    border: 1px solid #cccccc;
    background-color: gold;
    padding: 5px;
}
.div-title-pedido-processando *{
    color: #000 !important;
}
.div-title-pedido-anterior{
    color: #fff !important;
    border: 1px solid #cccccc;
    background-color: #D1ECF7;
    padding: 5px;
}
.div-title-pedido-anterior *{
    color: #000 !important;
}

.alerta-entrega{
    border: 1px solid #cccccc;
    background-color: #FFAE40;
    padding: 5px;
}
.modal-img-cardapio{
    /*width: 140px !important;*/
    height: 75px !important;
    padding: 2px !important;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
}
/* *********************************    
******    AREA DE CARDAPIO  ********
********************************* */
.div-groups-cardapio{
    overflow: hidden !important;
    -webkit-transform: translate3d(0,0,0);
    -webkit-overflow-scrolling: touch !important;
}
.container-cardapio-div{
    margin: 5px; 
    padding: 5px;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-wrap: wrap;
}
.div-cardapio{
    width: 494px;
    height: 150px;
    padding: 5px;
    border: 1px solid #e3e3e3;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    display: flex;
    margin: 0 0 10px 10px;
}
.div_cardapio_left{
    flex: 3;
    padding: 0 10px;
    margin-right: 10px;
    position: relative;
}
.div_cardapio_right{
    flex: 1;
    display: flex;
}
.title-cardapio{
    font-size: 1.9rem;
    padding-bottom: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
	color: #000000;
}
.description-cardapio{ 
    font-size: 1.5rem;
    line-height: 1.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
	color: #000000;
}
.img-cardapio{
    right: 4px;
    width: 140px !important;
    height: 135px !important;
    padding: 1px !important;
    margin: auto;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
.info-price-cardapio{
    font-weight: bold;
    position: absolute;
    bottom: 0;
}
.div-cardapio:hover{
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}
.row_busca_produto{
    position: relative;
    width: auto;
}

/* botoes de - e + para qtde de pizzas */
/* CSS FOR INPUT AND BUTTON ALIGNMENT */
.btn-base, .form-control-base {
    /* reset user agent stylesheet */
    background-color: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: inherit;
    appearance: none;

    /* make sure properties affecting height have same value */
    font-size: 1.2em;
    /*line-height: 0.8;*/
    /*padding: 0.3em var(--padding-x);*/
    border-width: 1px;
    border-style: solid;
    width: 40px;
    text-align: center;
}

/* button */
.btn-base {
    background-color: #f0ad4e;
    display: inline-flex;
    justify-content: center; /* center the content horizontally */
    align-items: center; /* center the content vertically */
    --padding-x: 0.5em;
    border-color: #0c5460; /* hide button border */
    cursor: pointer;
}
.btn-base:hover{
    background-color: #0A246A;
    color: #FFFFFF;
}

/* input */
.form-control-base {
    --padding-x: 0.5em;
    background-color: white;
}
.div-btn-minus-plus-price{
    /*display: inline-flex;*/
}

.btn-disabled{
    background-color: #cccccc;
}

#form_gp_especial{
    width: 100%;
}

/* div flutuante de botao de add produto  */
#btn-float-add-prod{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 105;
    left: 0;
    background-color: #ffbb0d;
    padding: 15px 0;
    text-align: center;
    font-size: 1.2em;
    color: #FFFFFF;
    font-weight: bold;
}

/* AREA DE LISTAGEM DE GRUPOS */
.div-groups-float-scrollbox{
    position: relative;
    width: 100%;
    overflow: hidden;    
}
.div-groups-float-wrapper{
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: scroll;
    padding-bottom: 7px;
    box-sizing: content-box;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    border-bottom: 1px solid #006dcc;
}
.div-groups-float-container{
    height: 100%;
    border-radius: 5px;
    position: relative;
    display: inline-flex;
    /*display: flex;*/
    /*justify-content: space-between;    */
}
.div-groups-float-item{
    padding: 10px;
    /*box-sizing: border-box;*/
    /*flex-basis: 30%;*/
}

/* AREA MODAL DE PRECOS E OBSERVACOES */
.obs-modal-container{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.obs-modal-name{
    flex: 3;
}
.obs-modal-price{
    flex: 1;
}
.obs-modal-qty{
    flex: 1;
}
.obs-label-modal{
    text-transform: capitalize;
}

#div-list-groups-panel{   
    display: none;
}
.formDoGrupo, .formDoGrupoPanel{
    line-height: 1.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    max-height: 247px;
}
#caixa_outro_ingrediente, #div-tela-form-modal{
    height: 100%;
}
.box-list-item-qty-view{
}
.box-item-qty-view{
    display: inline-block;
    padding: 2px 10px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: ghostwhite;
    border: 1px solid transparent;
    border-radius: 4px;
}
.box-item-price-view{
    display: inline-block;
    font-weight: bold;
    padding: 2px 10px;
    font-size: 14px;
    line-height: 1.42857143;
}

/* tela de envio de pedido */
.table-large-screen{
    width: auto;
}

.btn-pgtos{
    background-color: #ff9999;
    color: #ffffff;
}
/* parte de  envio de pgto online */
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover{
    background-color: red;
    color: #ffffff;
}

/* parte de pagtos online */
.payment-container{
    padding-left: 20% !important;
}

/* *********************************    
******  CONFIG. SMALL SCREEN *******
********************************* */
@media only screen and (max-width: 800px) {
    .login-panel.panel.panel-default{ 
        margin-top: 5px !important;        
    }
    .navbar { margin-bottom: 0 !important;}
    #form-search-finish-order,#GoCarrinho{ display: none !important;}
    #div-form-search-div{margin: 0; }
    #div-form-search{display: none; }
    .modal-dialog{

    }
    .table-large-screen{
        width: 100% !important;
    }
    #caixa_outro_ingrediente{
        height: 250px !important;
    }
    #div-tela-form-modal{
        height: 300px !important;
    }

    /* GROUPS PANEL */
    #div-list-groups-panel{   
    }
    .row_busca_produto{

    }

    /* touchspin */    
    div .input-group.bootstrap-touchspin{
        width: 40px !important;
    }

    /* CESTA FLOATING */
    #cesta-floating{
        /*display: block !important;*/
        position: fixed;
        bottom: 55px;
        padding-top: 5px;
        background-color: #FF0000;
        width: 100%;
        z-index: 100;
    }

    /* MENU FLOATING */
    #menu-floating{
        display: block !important;
        position: fixed;
        bottom: 0;
        padding: 5px 0;
        background-color: #f8f8f8;
        border-top: 1px solid #cccccc;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
        width: 100%;
        z-index: 99;
    }
    .menu-floating-container{
        margin-left: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    /* btn add product floating bottom */
    #btn-float-add-prod{
        bottom: 103px;
    }

    /* caixa de qtde para observacao */
    .input-group .form-control.numberspin {
        width: 40px !important;        
    }
    #form-select-qty #qtde-tela-modal{
        width: 100% !important;
    }
    .container-cardapio-div{
        width: auto;
        margin: 0;
        padding: 0;
        align-items: stretch;
    }
    .div-cardapio{
        margin-bottom: 10px;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }
    .div_cardapio_left{
        padding: 0;
    }
    .div_cardapio_right{

    }
    .title-cardapio{
        font-size: 1.7rem;
    }
    .description-cardapio{
        text-align: left; 
        font-size: 1.3rem;
        line-height: 1.4rem;
        font-weight: lighter;
    }
    .img-cardapio{
        box-shadow: none;
        transform: scale(0.9, 0.9);
        -ms-transform: scale(0.9, 0.9);
        -webkit-transform: scale(0.9, 0.9);
    }
    /* pgto online celular / tablet */
    .payment-container{
        padding-left: 0 !important;
    }
    .payment-container li a{
        padding: 10px 5px;
    }

}


a.lightbox img {
    height: 150px;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    margin: 94px 20px 20px 20px;
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
    position: fixed;
    top: -100%;
    width: 100%;
    background: rgba(0,0,0,.7);
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
    overflow: hidden;
    z-index: 10;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img {
    margin: auto;
    position: absolute;
    top: 0;
    left:0;
    right:0;
    bottom: 0;
    max-height: 0;
    max-width: 0;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,.3);
    box-sizing: border-box;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

/* Styles the close link, adds the slide down transition */

a.lightbox-close {
    display: block;
    width:50px;
    height:50px;
    box-sizing: border-box;
    background: white;
    color: black;
    text-decoration: none;
    position: absolute;
    top: -80px;
    right: 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
    content: "";
    display: block;
    height: 30px;
    width: 1px;
    background: black;
    position: absolute;
    left: 26px;
    top:10px;
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    -o-transform:rotate(45deg);
    transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
    content: "";
    display: block;
    height: 30px;
    width: 1px;
    background: black;
    position: absolute;
    left: 26px;
    top:10px;
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
    opacity: 1;
    top: 0;
    bottom: 0;
}

.lightbox-target:target img {
    max-height: 100%;
    max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
    top: 0;
}

/* tela ate 380 px */
@media only screen and (max-width: 380px){
    #page-wrapper {
        padding: 0 5px 60px 5px;
    }
}

/* tela ate 600 px */
@media only screen and (max-width: 600px){
    .div-cardapio{
        width: 100%;
        margin: 0 0 10px 0;
    }
}

/* tela ate 350 px */
@media only screen and (max-width: 350px){
    .title-cardapio{
        font-size: 1.9rem;
        padding-bottom: 1px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 1;
    }
    .description-cardapio{ 
        font-size: 1.5rem;
        line-height: 1.4rem;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 1;
    }
    #caixa_outro_ingrediente{
        max-height: 150px !important;
    }
}

.description-cardapio {
    font-weight: 600 !important;
}

.d-none {
    display: none;
}
