/*body.is-smartphone{
    padding-top: 54px;
}*/

#smartphone-busca-referencia{
    top: 2%!important;
}

.is-smartphone .sku-div{
    display: none!important;
}

.show-smartphone{
    display: none!important;
}

.smartphone-navbar-overlay{
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    display: none;
}

.smartphone-navbar .page-title{
    font-weight: bold;
    /* font-size: 26px; */
    color: #fff;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
    text-transform: uppercase;
    /* overflow: auto; */
    position: relative;
    font-weight: 300;
    letter-spacing: 3px;
}

.smartphone-navbar .marca-btn{
    display: inline-block;
    float: right;
    margin-bottom: -15px;
    max-width: 19%;
}

.smartphone-navbar .marca-btn img{
    height: 38px;
}

.smartphone-toggle{
    left: 13px;
    font-size: 26px;
    position: absolute;
    margin-left: 0;
    -webkit-transition: margin-left 800ms;
    transition: margin-left 800ms;
}

.smartphone-sidebar-active .smartphone-toggle{
    margin-left: -20px;
    padding-right: 30px;
}

.smartphone-navbar{
    display: none;
    position: fixed;
    border-top: 50px solid #809cab;
    border-left: 50px transparent solid;
    border-right: 50px transparent solid;
    width: 100%;
    top: 0;
    left: 0;
    font-size: 22px;
    z-index: 110;
    text-align: center;
    align-content: center;
    justify-content: center;
}

.container-cabecalho {
    top: 0;
    position: fixed;
    width: calc(100% - 100px);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}


[page=link_criacao] .smartphone-navbar{
    padding: 4px 15px;
}

/*.smartphone-aside{
    display: none;
    transform: translateX(-500px);
    position: fixed;
    background: #3f7357;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100%;
    padding: 50px 33px 0;
    color: white;
    font-size: 21px;
    -webkit-transition: transform 800ms;
    transition: transform 800ms;
}*/

.smartphone-aside p[onclick]{
    font-size: .85em;
    margin: 7px 0px;
    padding: 6px 8px;
    line-height: 1;
    background: #0d6957;
}

.aside-yellow{
    color: yellow;
}

.smartphone-aside{
    display: none;
    transform: translateX(-500px);
    position: fixed;
    text-align: right;
    background: #0e9872;
    top: 0;
    left: 0;
    z-index: 102;
    max-width: 42%;
    color: white;
    font-size: 1.8em;
    -webkit-transition: transform 800ms;
    transition: transform 800ms;
    height: 100%;
    padding-right: 27px;
    padding-top: 65px;
}

.footer-aside{
    position: fixed;
    bottom: 40px;
}

.footer-aside button{
    background: #0d6957;
    font-size: 24px;
    border: 0;
    margin: 12px 27px 12px 0px;
    text-align: right;
}

.smartphone-sidebar-right-active .smartphone-navbar-overlay, .smartphone-sidebar-active .smartphone-navbar-overlay{
    display: block;
}

.smartphone-sidebar-active .smartphone-aside{
    transform: translateX(0);
}

.smartphone-aside-right{
    display: none;
    transform: translateX(500px);
    position: fixed;
    background: #3f7357;
    top: 0;
    right: 0;
    z-index: 100;
    height: 100%;
    padding: 85px 33px 0;
    color: white;
    font-size: 21px;
    -webkit-transition: transform 800ms;
    transition: transform 800ms;
}

.shopping-smartphone{
    display: none;
}

.smartphone-sidebar-right-active .smartphone-aside-right{
    transform: translateX(0);
}

/*[page="login"] .smartphone-navbar,  [page="login"] .smartphone-aside{
    display: none !important;
}*/

.header-detalhes{
    background: #bdbdbd;
    color: #000;
}

.modal-img .img-modal-smartphone, .big-modal-img .img-modal-smartphone{
    display: block;
}

.big-modal-img .img-modal-smartphone.width img{
    width: 150% !important;
}

.big-modal-img .img-modal-smartphone.height img{
    height: 150% !important;
}

.img-modal-smartphone{
    position: fixed;
    display: none;
    top: 0;
    z-index: 120;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 29px;
    background: white;
}

.img-modal-smartphone img{
    /*width: 100%;*/
    /*margin: 100px;*/
}

.android .login-circular-button-app.show-smartphone, .ios .login-circular-button-app.show-smartphone{
    display: none!important;
}

.is-smartphone .info-fixed-pedido-table{
    display: none;
}

.is-smartphone .hide-on-big-alert{
    display: none !important;
}

[page="pagamento"].is-smartphone #all{
    display: none;
}

.change-orientation{
    display: none;
    text-align: center;
    margin-top: 15%;
}

[page="pagamento"].is-smartphone .change-orientation{
    display: block;
}

.is-smartphone .hide-portrait{
    display: none;
}

.smartphone-sidebar{
    display: none;
    position: fixed;
    top: 0;
    left: -28%;
    z-index: 9999;
    height: 100%;
    width: 28%;
    background: #fff;
    border: 5px solid #1ebb90;
    -webkit-transition: all .25s linear;
       -moz-transition: all .25s linear;
        -ms-transition: all .25s linear;
         -o-transition: all .25s linear;
            transition: all .25s linear;
}

.alternative-screen .smartphone-sidebar{ border-color: #809cab; }

.smartphone-sidebar.active{
    left: 0%;
}

.smartphone-sidebar-toggle{
    position: absolute;
    font-size: 2em;
    display: table;
    left: -webkit-calc(100% + 5px);
    height: 35px;
    top: 70%;
    width: 35px;
    background: #fff;
    border: 3px solid #1ebb90;
    border-left: 0px;
    text-align: center;
    border-radius: 0 10px 10px 0;
}

.link-buy .smartphone-sidebar-toggle,
.app-blocked .smartphone-sidebar-toggle{
    display: none;
}

.alternative-screen .smartphone-sidebar-toggle{ border-color: #809cab; }

.smartphone-sidebar p {
    text-align: center;
    font-size: 1.3em;
    line-height: 1;
    margin: 26px 0px;
}

.smartphone-sidebar-disp-table{
    display: table;
    height: 100%;
}

.smartphone-sidebar-disp-cell{
    display: table-cell;
    vertical-align: middle;
}

[page=login] .smartphone-sidebar, [page=cadastro] .smartphone-sidebar {
    display: none;
}

/* MENU LATERAL DE CATEGORIAS PARA A TELA DE PRODUTOS */

[page=Produtos_mobile_footer] .smartphone-sidebar-disp-table{
    display: none;
}

[page=Produtos_mobile_footer] .smartphone-sidebar-categories{
    display: flex;
}

.smartphone-sidebar-categories{
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 3px;
    font-size: 1.2em;
}

.smartphone-sidebar-categories .filters{
    margin-bottom: 6px;
}

.filters select{
    border: 2px solid #1fbb90;
}

.smartphone-sidebar-categories .categories{
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.smartphone-sidebar-categories .categories button{
    border: none;
    background-color: #1fbb90;
    color: #fff;
    overflow-wrap: break-word;
}

.smartphone-sidebar-categories .categories button.selected{
    background-color: #f23636;
}

.smartphone-sidebar-categories .filters select,
.smartphone-sidebar-categories .categories button{
    width: 100%;
    margin-bottom: 3px;
    border-radius: 3px;
    padding: 8px 3px;
    min-height: 3rem;
}

.filters select:last-child,
.categories button:last-child{
    margin-bottom: 0;
}

/* MENU LATERAL DO LINK 

[page=link_criacao] .smartphone-sidebar-disp-table{
    display: none;
}
*/
@media only screen and (max-width: 450px) {

    .smartphone-sidebar {
        display: block;
    }

    .smartphone-navbar:not([page=login]){
        display: flex;
    }
    
    .smartphone-sidebar {
        display: block;
    }
    
    .tabela-desconto-select {
        font-size: 1em;
    }

    .tabela-desconto-select.tabela-desconto-primeira p{
        padding: 5px;
        margin: 0px;
    }

    .tabela-desconto p {
        padding: 12px;
        margin: 0px;
    }

    [page="pagamento"].is-smartphone #all{
        display: block;
    }

    [page="pagamento"].is-smartphone .change-orientation{
        display: none;
    }

    .android .login-circular-button-app.show-smartphone, .ios .login-circular-button-app.show-smartphone{
        display: inline-block!important;
    }

    .red{
        background-color: red!important;
    }

    /* .alternative-screen .red{
        background-color: #b8b8b8 !important;
    } */

    .container .row{
        margin-left: initial!important;
        margin-right: initial!important;
    }

    #all{
        width: 100vw;
    }

    #desconto-sku{
        width: 80% !important;
    }

    #categorias{
        display: none;
    }

    #calculadora{
        height: 100% !important;
    }

    #calculadora .group-buttons{
        height: 18.35% !important;
    }

    .modo-simples #calc-right-col{
        display: block;
    }

    .shopping-smartphone button{
        width: 40px;
    }

    .shopping-smartphone button i{
        font-size: 1.5em!important;
    }

    .shopping-smartphone{
        display: block;
        position: fixed;
        left: 50%;
        bottom: 5px;
        margin-left: -20px;
        z-index: 999;
    }

    .modo-simples .shopping-smartphone{
        display: none;
    }

    #calc-right-col{
        display: none;
        height: 35%;
        position: fixed;
        width: 40%;
        right: 0;
        bottom: 0;
    }

    .selecione-txt {
        font-size: 0.8em;
        font-weight: 300;
        color: #819ca9;
    }

    #modal-prazos, #modal-datas, #modal-representante, #modal-preco{
        width: 70% !important;
    }

    .s6-on-smartphone{
        width: 50% !important;
    }

    .s12-on-smartphone{
        width: 100% !important;
    }

    .exibicao-calculadora{
        height: 100%;

    }

    .f1_1-on-smartphone{
        font-size: 1.1em!important;
    }

    .w100-on-smartphone{
        width: 100% !important;
    }

    .w64-on-smartphone{
        width: 64% !important;
    }

    .w60-on-smartphone{
        width: 60% !important;
    }

    .w49-on-smartphone{
        width: 49% !important;
    }

    .w40-on-smartphone{
        width: 40% !important;
    }

    .w36-on-smartphone{
        width: 36% !important;
    }

    .w24-on-smartphone{
        width: 24% !important;
    }

    .pre-on-smartphone{
        white-space: pre;
    }

    .centered-on-smartphone{
        text-align: center!important;
    }

    .clients-header{
        /*position: relative;*/
    }
    
    .order-header{
        width: 100%;
        height: 18%;
        display: flex;
        justify-content: flex-end;
    }

    .order-brand{
        height: 100%;
        width: 18%;
        margin-right: 7px;
        padding: 2px;
    }

    .order-brand img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .order-company{
        height: 100%;
        width: 25%;
        margin-right: 7px;
    }

    .order-company img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .img-div-a{
        text-align: center;
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-information{
        width: 100%;
        height: 80%;
    }

    .header-information table{
        width: 100%;
        height: 100%;
        table-layout: fixed;
    }

    .header-information table td{
        font-size: 1.3em;
        border: 1px solid #000;
        padding: 0 5px;
        word-break: break-word;
        line-height: 1.2;
    }

    .header-information table td:first-child {
        width: 106px;
    }

    .header-information table td:nth-child(2) {
        width: 8px;
        border: none;
        padding: 0;
    }

    #img_variante_principal{
        /*pointer-events: none;*/
        height: 100%;
        width: initial !important; 
        margin: 0 auto;
        border: 1px solid #000;
        display: block !important; 
        max-width: 100% !important; 
        height: auto !important; 
        max-height: 100% !important;
        /* transform: scale(2.3); */
        /*position: absolute;*/
        /*left: 50%;*/
        /*margin: 0 -25%;*/
        top: 0;
        z-index: 100;
        /*transition: transform 200ms;*/
        /*transform-origin: top;*/
    }

    .desc-unit{
        font-size: 2em;
        top: 11px;
    }

    .outer-border{
        border: none !important;
    }

    .template{
        border: none !important;
    }

    .sku-div.left{
        display: none;
    }

    .row.lista-cliente{
        width: 97%;
        display: flex;
        height: 124px;
        flex-direction: column;
        background: #f5f5f5 !important;
        justify-content: start;
        border-radius: 10px;
        align-items: center;
        box-shadow: 0px 6px 16px -10px #000;
        font-weight: 350;
        flex-shrink: 0;
    }

    .cnpj-cliente-holder{
        font-size: 0.72em;
        text-align: right;
    }

    .monospace{
        font-family: monospace;
    }

    .filtros-cliente{
        width: 96%;
        margin-left: 3% !important;
    }

    .hide-smartphone{
        display: none;
    }
    
    .show-smartphone{
        display: inherit!important;
    }

    .show-smartphone.table-cell{
        display: table-cell!important;
    }

    .show-smartphone.block{
        display: block!important;
    }
    .show-smartphone.flex{
        display: flex!important;
    }
    .show-smartphone.inline-block{
        display: inline-block!important;
    }

    .smartphone-navbar, .smartphone-aside, .smartphone-aside-right{
        display: block;
    }

    [page=login] .smartphone-navbar{
        display: none;
    }

    .calc-produto{
        width: 47%;
    }

    .calc-produto.vert{
        height: 49.5%;
    }

    .prd-div{
        text-align: center;
    }

    #info-pedidos .col.s4{
        padding: 0px!important;
    }

    .header-detalhes{
        /*background: #1ebb90;
        color: #fff;*/
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
        line-height: 1;
        height: 19px!important;
        font-size: 14px!important;
        border: solid #000;
        border-width: 0px 1px;
    }

    .ped-smartphone{
        font-size: 1em!important;
        width: 100%!important;
        height: 100%!important;
    }

    #end-entrega .ped-smartphone{
        font-size: .8em!important;
        line-height: 1.08!important;
    }

    .info-border{
        height: 30px!important;
        font-size: 13px!important;
        line-height: 1;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    .info-border.large-2{
        height: 79px!important;
        font-size: .7em;
        overflow: auto;
    }

    .info-pedido-table{
        width: 100%;
        margin: 0 auto;
    }

    .info-pedido-table span.show-smartphone{
        display: initial!important
    }

    .show-smartphone.total{
        width: 100%;
        display: flex!important;
        background: #1ebb90;
        margin: 0 auto;
        /* text-align: right; */
        color: #fff;
        padding: 5px;
    }

    .link-buy #big-alert-modal .show-smartphone.total{
        width: 65%;
        margin: 0;
    }

    .alternative-screen .show-smartphone.total{ background: #809cab; }

    .show-smartphone.total .pagination{
        font-size: 1.5em;
        width: auto;
    }

    .show-smartphone.total .pagination button{
        margin: 0 !important;
        background-color: #f23636;
        border: 1px solid #000;
        border-radius: 3px;
        padding: 5px 10px;
    }

    .show-smartphone.total .pagination .pages{
        margin: 0 10px;
    }

    .content-footer .modal-close{
        display: none;
        padding: 0;
        width: 30%;
    }

    .link-buy #big-alert-modal .content-footer{
        display: flex;
        justify-content: space-between;
    }

    .link-buy #big-alert-modal .content-footer .modal-close{
        display: initial;
    }

    .detalhes-smartphone{
        font-size: .7em;
        width: 18%;
        padding:  0px;
        height: 27px;
        float:  left;
        margin-left:  5px;
    }

    .info-pedido-table .table-info-head td{
        padding: 3px 0px;
        line-height: 1;
        text-align: center;
        top: 0;
        position: sticky;
        background: #1fbb90;
    }

    .info-cell{
        padding: 0px 7px;
    }

    .info-cell img {
        object-fit: contain;
        width: 43px;
        height: 100%;
        vertical-align: middle;
    }

    .info-pedido-table td .break-text{
        word-break: break-all;
        white-space: break-spaces;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        width: 57px;
    }

    .calc-produto-ref{

        padding-right: 3px;
        justify-content: space-between!important;

    }

    .calc-produto-ref .val{
        font-size: .7em!important;
    }

    .categoria{
        height: 78px;
        font-size: 1.7em;
        display: flex;
        justify-content: space-around;
        align-content: center;
        align-items: center;
        margin-top: 5px;
    }

    .categoria .categ-img{
        height: 70px;
        width: 70px;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        float: left;
    }

    .categoria .categ-name{
        height: 100%;
        width: calc(100% - 70px);
    }

    .calc-funcoes{
        display: none;
    }

    .modo-simples .calc-funcoes{
        display: block;
        position: fixed;
        bottom: 11px;
        width: 60%!important;
        left: 4px!important;
        height: 33%;
    }

    .detalhe-btn{
        height: 18.35%;
        overflow: hidden;
        border: 1px solid #000;
        padding: 0px;
        width: 22.1%;
        margin: 0px;
        vertical-align: top;
    }

    .hide-when-logging{
        height: 100%!important;
    }

    .login-main{
        margin-top: 30px!important;
    }

    .login-image{
        /*max-height: 120px!important;*/
        height: 120px;
    }

    .login-inputs{
        padding: 3px 24px!important;
        height: 60%!important;
    }

    .login-input{
        text-align: center;
        margin-bottom: 6px!important;
        height: 23%!important;
        font-size: 1.2em!important;
    }

    .status{
        font-size: 1.15em;
    }

    [for="remember_me_s"]{
        white-space: nowrap;
        font-size: .98em!important;
        padding-left: 25px!important;
    }

    #logar .card-action{
        padding: 9px 24px !important;
        height: 20%!important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #modal-prd-info{
        max-height: 85%!important;
        height: 85%!important;
        width: 95%!important;
    }
    #modal-prd-info .modal-header{
        font-size: 1em!important;
        text-align: center!important;
    }

    #modal-prd-info .modal-content{
        font-size: 0.60em!important;
        text-align: center!important;
    }

    #calculadora_btn_OK{
        font-size: .8em;
    }
    
    /**
     * QUEM BOTOU ESSA MERDA AQUI? FUI EU?
     */
    #alert-modal{
        /*max-height: 80%!important;*/
    }

    #alert-modal.modal-transp-chooser{
        max-height: 80%!important;
    }

    .modal{
        max-height: initial!important;
        width: 80% !important;
    }

    /*////////////*/
    
    .circular-smartphone{
        height: 22px;
        width: 22px;
        color: #fff;
        background: #f00;
        border-radius: 100%;
        font-size: 1.2em;
        display: flex!important;
        justify-content: center;
        align-items: center;
        margin: 3px 0px 0px 3px;
        float: left;
        position: relative;
        z-index: 3;
    }
    
    .smartphone-qtdfixa{
        font-size: 1.4em;
    }

    .qtd-smartphone{
        float: right;
        margin: 3px 3px 0px 0px;
        position: relative;
        z-index: 3;
    }

    .smartphone-inside{
        width: 48%;
        height: 100%;
        display: inline-block;
        vertical-align: top;
    }

    .smartphone-calc-table{
        height: 100%;
    }

    .sku-val{
        font-size: 1.3em!important;
        font-weight: bold;
    }

    .infos-smartphone td{
        color: #000;
        padding: 0px 3px!important;
        width: 30%!important;
        font-size: .8em;
        text-align: center;
    }

    .smartphone-skus-table{
        margin-bottom: -1px;
    }

    .smartphone-skus-table .sku-name{
        background: #1ebb90;
        color: #fff;
        font-size: 1.8em;
        font-weight: bold;
    }

    .smartphone-skus-table td{
        border: 1px solid #000;
        border-top: 0px;
    }

    .infos-smartphone tr.green-bg td{
        color: #fff!important;
    }

    #alert-modal h4{
        font-size: 1.5em;
    }

    #calculadora .hide-smartphone{
        display: none!important;
    }

    #calculadora .fa-arrow-left{
        font-size: 1em;
    }

    #calculadora .fa-arrow-right{
        font-size: 1em;
    }

    #table-pagamento td{
        height: 4.5vh!important;
        max-height: 5.4vh!important;
        line-height: 1;
    }
    .row-pagamento{
        margin: 0px!important;
    }

    .pgmento-row1{
        /* height: initial!important; */
        max-height: 100%!important;
        margin-bottom: 0px!important;
        height: 90%!important;
        overflow: auto;
    }

    .pagamento-buttons{
        margin-top: 5px;
        height: 11%;
        text-align: center;
    }

    .pagamento-button{
        padding: 0px;
        width: 32%;
        height: 100%;
    }

    .sku-val.smartphone-selected{
        background: #ff1;
    }

    .sku-val .fa.fa-ban{
        font-size: 2em!important;
        color: #1ebb90;
    }

    .entrega-button{
        padding: 0px;
        width: 50%;
        margin: 5px auto!important;
    }

    .tipo-entrega-form{
        text-align: center;
    }

    .tipo-entrega-form p.center{
        font-size: 1.4em!important;
        line-height: 1;
        margin-bottom: 5px;
    }

    [page="clientes"] .picker__year{
        font-size: .7em!important;
    }
    [page="clientes"] .picker__weekday-display, [page="clientes"] .picker__month-display, [page="clientes"] .picker__day-display{
        font-size: 1.4em!important;
    }
    [page="clientes"] .picker__date-display{
        padding: 5px!important;
    }
    [page="clientes"] .picker__header, [page="clientes"] .picker__table{
        font-size: .8em!important;
    }
    [page="clientes"] .picker__weekday{
        padding: 3px;
    }
    [page="clientes"] .picker__frame{
        top: initial;
        bottom: 1%;
    }

    .funcoes-itens .col{
        height: 24%!important;
    }

    .smartphone-circular-login{
        height: 100px!important;
        width: 100px!important;
    }

    .span-title{
        font-size: 1.7em;
        display: block;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }

    td[data-prop]{
        font-size: 1.2em;
    }

    .atualizar-estoque{
        padding: 3px 5px!important;
        margin: 0px 0px 0px 26px!important;
    }

    .suporte-div{
        text-align: left;
        width: 100%;
    }

    .mobile-footer .suporte-div{
        margin: 10px auto 50px auto;
    }

    .suporte-div p{
        margin: 0px!important;
        line-height: 1.1;
    }
    .suporte-options{
        height: 80px!important;
        font-size: .8em!important;
    }

    .client-mail-row table td{
        padding: 0px 5px!important;
    }
    .exclude-btn{
        width: 100%!important;
        height: 100%!important;
    }

    table[data-cliente-id] tbody{
        width: 100%;
    }
    tr.mail-row {
        display: block;
        width: 100%;
    }
    .mail-row td {
        display: inline-block;
        width: 50%;
        margin: 0px;
    }

    .backup .col{
        text-align: center;
    }

    .backup .box{
        margin-top: 15%!important;
    }

    .backup svg{
        height: 60px;
    }

    .backup .backup-online{
        position: relative!important;
        text-align: center;
        padding: 5px!important;
        left: initial!important;
        bottom: initial!important;
        margin: 0px!important;
        margin-top: 20%!important;
        font-size: 1em!important;
        width: 50%;
        height: 20%;
    }

    body[page="backup"] #alert-modal{
        max-height: 85%!important;
        max-width: 95%!important;
        min-width: initial!important;
    }

    .backup-item{
        margin: 10px 0px!important;
        font-size: 1em;
        padding: initial;
        width: 100%;
    }

    .backup-item .n.hide-smartphone{
        display: none;
    }

    .backup-item button{
        padding: 0px;
        width: 35%;
        height: 25px;
        font-size: .7em;
        margin: 5px;
    }

    .backup-item .company-name{
        white-space: initial;
    }

    .backup-modal .modal-content{
        padding: 8px !important;
        margin: 0 !important;
    }

    .backup-modal .inner-backup-div{
        padding: 25px 5px;
        width: 100%;
    }

    .agenda .cidades-holder{
        width: 100%;
        margin: 0px;
        height: initial;
        white-space: nowrap;
    }
    .agenda .button-busca{
        width: 30%;
        font-size: 1.2em;
        display: inline-block;
        margin: 0px;
    }

    .agenda .cidades{
        margin: 0px auto;
        background: silver;
        width: 70%;
        height: 11%;
        overflow: auto;
        display: inline-block;
        white-space: nowrap;
        vertical-align: top;
    }
    .agenda .cidades p{
        padding: 12px;
        margin: 0;
        border: 1px #000 solid;
        color: #fff;
        background: #1ebb90;
        text-align: center;
        font-size: 1.2rem;
        display: inline-block;
        white-space: nowrap;
        width: auto;
        min-width: 30%;
    }

    .agenda .clientes{
        width: 100%;
    }

    .agenda .clientes .fixed-holder{
        width: 30%;
    }

    .agenda .clientes .lista-clientes-holder{
        width: 68%;
        overflow: auto;
        display: inline-block;
        vertical-align: top;
        border: 1px solid #000;
        border-top: 0;
        border-bottom: 0;
    }

    .agenda .fixed td{
        padding: 9px 0px!important;
    }
    .agenda .lista-clientes td{
        padding: 9px 5px!important;
    }

    .agenda h5.show-smartphone{
        margin: 0px!important;
    }

    .agenda .agendamentos-holder{
        height: 70px!important;
    }

    .pedidos-lista-col{
        padding: 0px!important;
        margin-bottom: 56px;
    }

    .pedidos-lista{
        margin-top: 5px;
    }

    .pedidos-lista thead td{
        line-height: 1;
        padding: 3px;
    }

    .lista-barcode .item{
        width: 48%!important;
        margin: 1%!important;
    }

    .lista-barcode .item.search-bc{
        margin-right: 0!important;
    }

    .lista-barcode .item.search-bc .barcode-src-images{
        height: 37%;
    }
    .lista-barcode .item.search-bc .barcode-src-images p{
        display: block;
        height: 100%;
    }
    .lista-barcode .item.search-bc .barcode-src-images p img{
        height: 100%;
        max-height: 100%;
    }

    .lista-referencias .controles{
        width: 32%!important;
        height: calc(61% - 8px);
    }

    .lista-referencias .controles button{
        padding: 0px!important;
        width: 80%!important;
        height: 15%;
    }

    .lista-referencias .controles p, .lista-referencias .controles h5{
        font-size: 1em!important;
        margin: 9px!important;
        line-height: 1; 
    }

    .lista-referencias .item{
        margin: 0.25% .5%!important;
        width: 32%!important;
        font-size: 18px!important;
        height: 9.8%!important;
    }

    .lista-referencias .lst-ref-cat{
        font-size: 16px!important;
    }

    #modal-prd-info2{
        width: 90%!important;
    }
    .show-info-produtos #modal-prd-info2 {
        width: 90%!important;
    }
    #modal-prd-info2 h3.center{
        font-size: 1.3em!important;
        margin: 3% 5%!important;
    }

    #modal-prd-info2 .lst-info-button{
        margin: 0.4%!important;
    }

    .show-info-produtos #modal-prd-info2 .righty{
        margin-left: 10%;
        margin-top: -160%;
        width: 80%;
        padding: 5px;
        height: 65%;
        z-index: 230;
    }

    .show-info-produtos #modal-prd-info2 .lefty {
        width: 100%!important;
    }

    #tutorial1{
        height: 98%!important;
        width: 98%!important;
        max-width: 98%!important;
        top: 1%!important;
    }
    #tutorial1 .modal-header{
        height: 6%!important;
    }
    #tutorial1 #tutorial-content{
        height: 92%!important;
    }
    #video-tag{
        height: 100%;
        width: 100%;
    }
    .close-container{
        width: 10%;
    }
    .smaller-p{
        font-size: .9em!important;
    }

    #modal-client-tabs{
        max-height: 70%!important;
    }
    #modal-client-tabs .div3{
        width: 100%;
    }
    .pre-ref-button{
        font-size:  .7em;
        width: 23px;
        display: inline;
        padding: 5px;
        background: yellow;
        color:  #000;
        height:  90%;
        vertical-align: middle;
    }
    .subcateg{
        font-size: 1.5em;
        width: 91%;
        margin-left: 10%;
        height: 60px;
    }
    .subcateg .categ-img{
        max-height: 60px;
    }

    .novo_produto > div{
        display: inline-block;
    }

    .novo_produto input{
        margin-bottom: 10px!important;
    }

    .novo_produto select{
        background: #ccc;
        box-shadow: 0px 4px 9px -4px;
        -webkit-box-shadow: 0px 4px 9px -4px;
        border: 0px;
        font-weight: bold;
    }

    .novo-produto-tabela .header{
        background: #ddd;
    }

    .novo-produto-tabela td{
        border: 1px solid #ccc;
        padding: 5px;
        text-align: center;
    }

    .novo-produto-tabela button{
        height: 25px;
        padding: 0px!important;
        font-size: .8em;
        width: 100%;
    }

    .img-div.valign-wrapper{
        /*width: 94% !important;*/
        width: 84% !important;
        height: 60% !important;
        border: 1px solid #000;
        margin: 0 auto;
        margin-top: 6px;
        /*margin-left: 3%;*/
    }

    .img-div-side{
        height: 60%;
        width: 15%;
        margin-top: 6px;
        padding-left: 5px;
    }

    .img-div-side .desc-unit{
        position: initial!important;
        font-size: 1.5em;
        margin-bottom: 5px;
        text-align: center;
    }

    .img-div-side .circular-smartphone{
        margin-bottom: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.6em;
        position: initial;
    }

    .detalhe-btn.show-smartphone{
        width: 100%!important;
        height: 16%!important;
        margin-top: 7px;
    }

    .infos-smartphone{
        width: 100%;
        height: 100%;
        /*display: table!important;*/
        /*max-height: 80%;*/
        font-size: .8em;
        margin-top: 2px;
    }

    .smartphone-skus{
        height: 59%;
        overflow-y: auto;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }

    .smartphone-inside button{
        padding: 5px;
        width: 48%;
        text-align: center;
        margin-bottom: 5px;
    }

    .smartphone-total-sku-table{
        height: 23%;
        border: 1px solid #000;
    }

    .one-size .sku-name{
        font-size: 1.4em!important;
        vertical-align: middle;
        line-height: 1;
    }

    .one-size .sku-val{
        font-size: 2em!important;
        vertical-align: middle;
    }

    [data-prop="calculadora_total_pcs"]{
        background: red!important;
        color: #fff!important;
    }

    [data-prop="calculadora_total_pcs_ped"]{
        background: red!important;
        color: #fff!important;
    }

    [data-prop="calculadora_total_ped"]{
        background: red!important;
        color: #fff!important;
    }

    .smartphone-inside .fa-shopping-cart{
        font-size: 2em;
        margin-top: 6px;
    }

    .smartphone-inside .zebrado tr:nth-child(odd) td{
        background: red;
        color: #fff!important;
    }
    .smartphone-inside .zebrado tr:nth-child(odd) td.full-border{
        background: #eaeaea;
        color: #000!important;
    }

    .back-btn{
        margin-top: 5px;
    }

    .info-cliente-div{
        position: absolute;
    }

    .tabela-desconto-select.tabela-desconto-primeira {
        height: 100px;
    }

    #modal-prazos{
        max-height: 80%!important;
    }

    #alert-modal.limited-height{
        max-height: 80%!important;
    }

    .tabela-desconto-select{
        margin: 2%;
        width: 42%;
    }

    .aux-st-modal{
        min-width: 90%!important;
    }

    #search-ref{
        height: 15%!important;
    }
    
    #ordem_geral{
        margin-right: 50px;
    }

    .controles label[for=ordem_geral]{
        color: #fff;
        padding-left: 40px;
        margin-right: 17px;
    }

    .controles label[for=ordem_categ]{
        color: #fff;
        padding-left: 30px;
    }

    .controles>*{
        margin-bottom: 4%!important;
    }

    .calc-produto-ref{
        height: 15%;
    }
    .calc-produto-img{
        height: 85%;
    }

    .calc-btn-volta i{
        font-size: 2em!important;
        vertical-align: top;
    }

    [page=detalhes] button{
        margin: 5px!important;
    }
}

@media only screen and (max-width: 320px) {

    .smartphone-navbar .page-title{
        font-size: 20px;
    }

    .smartphone-aside{
        font-size: 1.6em;
    }

    .atualizar-estoque{
        font-size: 13px;
    }

    .filtros-cliente{
        /*margin-top: 0;*/
    }

    .mensal.entrega .meses button{
        padding: 6px !important;
    }

    .pagamento-button{
        max-height: 50px;
        margin-top: 6px;
    }

    #cl-cnpj {
        font-size: 10px !important;
    }

    .smartphone-circular-login {
        height: 80px !important;
        width: 80px !important;
        font-size: 15px !important;
        margin-top: 4px !important;
    }

    .info-tam-col{
        font-size: 11px !important;
    }

    [data-tamanho-id] {
        font-size: 11px;
    }

    .info-ref-col.info-cell {
        font-size: 11px;
    }

    /*#all > .row{
        display: none;
    }*/

}

.lista-cliente{
    position: relative;
}

.lista-cliente.selected .remove-client{
    width: 18%;
    padding: 16px;
}

.remove-client{
    position: absolute;
    height: 100%;
    top: 0;
    left: 100%;
    width: 0;
    padding: 0;
    background: red;
    color: white;
}

.mensal.entrega .meses button{
    margin: 1% !important;
    padding: 10px;
    width: 48%;
    border: 0;
    background: #00ad7b !important;
}

.hide-cor .info-cor-col.show-smartphone.table-cell{
    display: none!important;
}