
.main-body{
    flex-grow: 1;
    overflow-y:auto;
    overflow-x:hidden;
}


* {
  --mdc-theme-primary: #e62a38;
  --mdc-theme-secondary: black;
}

body {
    /* background: whitesmoke; */
    display:flex;
    flex-direction:column;
    height:100%;
    width:100%;
    overflow:hidden;
    position:fixed;
    top:0;
    left:0;
}


.bar {
    min-height: 56px;
    max-height: 56px;
    display:flex;
    align-items:center;
    box-shadow: 0 0rem .25rem rgba(0,0,0,.25) !important;
    background:#fcfcfc;
    z-index: 4;
    font-size:14px;
}



.bar button {
    background:transparent;
}


.bottom-bar {
    display:flex;
    justify-content:space-evenly;
    /* border-top:1px solid #f4f4f4; */
}

.nav-button {
    display:flex;
    flex-direction:column;
    align-items:center;
}

.bar button {
    align-self:center;
}

.user-view {
    display:none;
}

#categories{
    top:0;
}


.product-search-list, .store-search-list {
    overflow-x: auto;
    display:flex;
    padding: 8px;
    padding-right:16px;
    width:100vw;
}

.store-search-list{
    padding-bottom:0;
}

.store-card , .sector-card{
    /* min-height: 200px; */
    /* max-height: 200px; */
    /* min-width: 200px; */
    /* max-width: 200px;*/
    margin-top:8px;
    margin-left:16px;
    margin-right:16px;
    cursor:pointer;
    border-radius:30px;
    position:relative;
    /* background:white; */
    /* overflow:hidden; */
}


.product-card {
    width: 180px;
    max-width: 180px;
    min-width: 180px;
    margin-left:8px;
    margin-right:8px;
    line-height: 1.2;
}


.product-card-title{
    font-size:14px;
    color:#444
}

.product-card-store-box{
    display:flex;
    align-items:center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin:8px;
    font-size:13px;
}

.store-card-info, .product-card-info {
    padding:8px;
    position:relative;
    /* line-height: 1; */
    max-width: 180px;
}

.store-card-info{
    padding-bottom:0;
}

.product-card-info {
   height: 80px;
}

 .product-card-info {
    max-height:56px;
    min-height:56px;
    padding-top:8px;
 }


.store-card-img  {
    border-radius: 30px;
    overflow:hidden;
    box-shadow: 0 .125rem 8px rgba(0,0,0,.1) !important;
    height: 150px;
    width: 180px;
    object-fit:cover;
}


.store-card-img img {
    height: 100%;
}


.store-card-logo {
    height: 50px;
    width: 50px;
    object-fit:cover;
    position:absolute;
    top: -45px;
    left: -5px;
    border-radius:30px;
    overflow:hidden;
}

.store-card-logo img{
    height:100%;
}

.store-card-title {
    /* margin-left: 50px; */
    /* max-width: 100%; */
    line-height: 1;
    font-size: 18px;
    height: 36px;
    text-overflow: ellipsis;
}

.store-card-description{
    /* margin-left:15px; */
    color:gray;
    margin-top: 3px;
    line-height: 1;
    height: 30px;
    overflow: hidden;
    /* max-width: 130px; */
    text-overflow: ellipsis;
    font-size: 14px;
    word-break: break-all;
}

.store-card-distance{
    /* position:absolute; */
    /* left: 10px; */
    /* bottom:10px; */
}


.meus-pedidos-body{
    padding:16px;
    background: rgb(246, 247, 249);
}

.meus-pedidos-title {
    margin-bottom:15px;
}


.sectors {
    padding:8px;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    padding-top:0;
    height:95vw;
}

.sector-card{
    margin: 8px;
    /* display:flex; */
    /* align-items:center; */
    flex-direction:column;
    border-radius:0;
    position: relative;
}


.sector-img {
    border-radius:16px;
    object-fit:cover;
    height:calc(100% - 30px);
    width:100%;
    box-shadow: 0 0rem .25rem rgba(0,0,0,.3) !important;
}

.sector-card-img {
    height: calc(33.33vw - 30px);
    width: calc(33.33vw - 30px);
}

.sector-title{
    margin-top:5px;
    font-size: 16px;
    /* position: absolute; */
    /* bottom: 0; */
    /* color: white; */
    left: 0;
    /* background: linear-gradient(0deg, black, transparent); */
    padding-top: 8px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    padding-bottom: 8px;
}

.title{
    font-size: 20px;
    font-weight: bold;
    padding-left:16px;
}



.address-page {
    padding:16px;
}


textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
  box-shadow: inset 0 0px 0 #ddd;
}

.tela-login{
    padding:16px;

}



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

    .stores a:nth-child(1) .store-horizontal-card {
        transform:translate3d(10%,0,0); opacity:0;
        animation: SlideFromRight 200ms ease forwards;
    }

    .stores a:nth-child(2) .store-horizontal-card{
        transform:translate3d(10%,0,0); opacity:0;
        animation: SlideFromRight 200ms ease forwards;
        animation-delay: 50ms;
        -webkit-animation-delay: 50ms;
    }

    .stores a:nth-child(3) .store-horizontal-card {
        transform:translate3d(10%,0,0); opacity:0;
        animation: SlideFromRight 200ms ease forwards;
        animation-delay:100ms;
        -webkit-animation-delay: 100ms;
    }

}

.store-horizontal-card{
    /* min-height: 200px; */
    /* max-height: 200px; */
    /* min-width: 200px; */
    /* max-width: 200px; */
    margin: 12px;
    margin-left:16px;
    margin-right:16px;
    cursor:pointer;
    width: calc(100% - 30px);
    /* background:white; */
    /* border: 1px solid whitesmoke;
    border-radius: 16px;*/
    position:relative;
    /* overflow:hidden; */
    /* padding: 16px; */
}

.store-horizontal-card-distance {
    padding-left:8px;
}


.store-horizontal-card-info{
    padding: 8px;
    display:flex;
    position:relative;
    /* line-height: 1; */
    /* height: 80px; */
    /* max-width: 160px; */
}



.store-horizontal-card-img {
    border-radius: 5px;
    overflow:hidden;
    /* box-shadow: 0 .125rem 16px rgba(0,0,0,.1) !important; */
}

.store-horizontal-card-img {
    height: 150px;
    width: 100%;
}


.store-horizontal-card-img img {
    width: 100%;
    /* display: none; */
    box-shadow: none;
}


.store-horizontal-card-logo {
    height: 50px;
    width: 50px;
    /* position:absolute; */
    /* top: -50px; */
    /* left: -5px; */
    border-radius:30px;
    overflow:hidden;
    display: none;
}

.store-horizontal-card-logo img{
    height:100%;
}

.dot{
    height:4px;
    width:4px;
    min-width:4px;
    border-radius:2px;
    margin-left:8px;
    margin-right:8px;
    background:#444;
}

.store-horizontal-card-title {
    /* margin-left: 50px; */
    /* max-width: 100%; */
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    display:flex;
    align-items:baseline;
    overflow:hidden;
    justify-content:space-between;
    padding-left:8px;
    /* display: inline-block; */
    text-overflow: ellipsis;
}

.store-horizontal-card-description{
    /* margin-left:15px; */
    color:gray;
    margin-top: 3px;
    line-height: 1;
    height: 30px;
    overflow: hidden;
    /* max-width: 130px; */
    text-overflow: ellipsis;
    font-size: 14px;
    word-break: break-all;
}



.address-dialog{
    position:absolute;
    bottom:56px;
    width:100vw;
    background:white;
    overflow-y:auto;
    max-height:calc(100vh - 128px)
}


.address-dialog h5{
    margin-left:16px;
}

.map-marker{
    position:absolute;
    bottom:50%;
    left:calc(50% - 16px);

}


gmap{
    display:block;
}


.new-address-button, .address {
    padding:5px;
    cursor:pointer;
}



.address-dialog {
    animation:SlideFromBottom 200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes SlideFromTop {
    0%{transform:translate3d(0,-100%,0);}
    100%{transform:translate3d(0,0,0);}
}


@keyframes SlideFromBottom {
    0%{transform:translate3d(0,100%,0);}
    100%{transform:translate3d(0,0,0);}
}

a:hover{
    text-decoration:none;
}

.category-section , #categories .mdc-tab__text-label , .store-time-info, .delivery-fee-box{
    animation:FadeIn 400ms ease forwards;;
}


mdc-list-item{
    line-height:1.2;
}



.meu-pedido-collapsed .meu-pedido-box{
    margin-top:0px;
}


.meu-pedido{
}

.order-items {
    height:auto;
}


.tela-login mdc-text-field, .sign-up-content mdc-text-field {
    margin-top:8px;
    width:100%;
}

.order-card {
    animation: SlideFromRight 200ms ease forwards;
}

.menu {
    height: calc(100vh - 56px);
}

.selected-nav-button{
    color:var(--mdc-theme-primary);
}

.bottom-bar{
    overflow:hidden;
}

button {
    border:none;
    outline:none;
}

button:focus{
    outline:none;
}

.nav-button{
    position:relative;
    width:100px;
    line-height:1;
    font-size:13px;
}

.mdc-tab {
    height:50px !important;
}


.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color:var(--mdc-theme-primary) !important;
}


#autocomplete-map-text-field{
    width: calc(100vw - 64px);
    font-family: Roboto, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 1rem;
    line-height: 1.75rem;
    font-weight: 400;
    letter-spacing: .009375em;
    text-decoration: inherit;
    text-transform: inherit;
    align-self: flex-end;
    box-sizing: border-box;
    /* width: 100%; */
    height: 44px;
    align-self: center;
    padding: 16px 16px 16px;
    transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
    /* border: none; */
    border: 1px solid #999;
    border-radius: 4px;
    background: none;
}


.pac-container {
    width: 100vw !important;
    left:0 !important;
    padding-bottom:8px;
}


.pac-item{
    padding:4px;
    padding-left:12px;
    height:56px;
    position:relative;
}


.pac-item span:nth-child(3){
    position:absolute;
    left: 36px;
    bottom:4px;
}

.pac-icon{
    margin-top:14px;
    margin-right:9px;

}



@media only screen and (min-width: 600px) {

      .bar:not(.bottom-bar){
      }


    .address-dialog{
        position:initial;
        width: 400px;
        border-radius: 16px;
    }

    .sectors {
        /* margin-left:auto; */
        /* margin-right:auto; */
        /* width:700px; */
        height:500px;
        grid-template-columns: 33% 33% 33%;
    }


    .store-horizontal-card, order-card{
        /* width:400px; */
    }

    .stores{
        display:grid;
        grid-template-columns: 50% 50%;
        margin-left:auto;
        width:100%;
        margin-right:auto;
    }

    .top-bar{
        z-index:1;
    }

    .bottom-bar{
        flex-direction: column;
        /* padding-top: 300px; */
        align-items:flex-end;
        padding-right:32px;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        max-height: 100vh;
        width: 30vw;
        justify-content: flex-start;
        margin-top: 56px;
        z-index: 1;
        padding-top: 112px;
        box-shadow:none !important;
        background:white;
        border-right:1px solid #e4e4e4;
    }

    .bottom-bar button {
        flex-direction:row;
        font-size:16px;
        overflow:hidden;
        height:56px;
        padding:16px;
        border-radius:1000px;
        width:132px;

    }

    .back-img{
        display:none;
    }

    .bottom-bar button span{
        margin-left:8px;
    }

    .bottom-bar a{
    }

    .main-body {
        margin-left:64px;
    }

    #categories{
        padding-left: 10vw;
        padding-right: 10vw;
    }


    .main-body, .category-section, .header,   #categories, #cover-img {
        margin-left:30vw;
        width: calc(100vw - 30vw);
        padding-right: 10vw;
        padding-left:56px;
    }
     #categories {
        padding-right: 0;
     }

}

.floating-button {
    position:absolute;
    bottom:16px;
    left:calc(50vw - 84px);
}


@media only screen and (min-width: 1400px) {


    .main-body, .category-section, .header, #categories , #cover-img{
        width: calc(100vw - 30vw);
        padding-right: 20vw;
    }
    #categories {
            padding-right: 0;
         }


    .pedido-button {
        left: calc(30vw + 25vw - 113px + 16px);
    }

}


.mdc-snackbar {
    bottom: 56px;
}



.loading{
    opacity:0;
    transition:opacity 500ms;
}

.loaded {
    opacity:1;
}


.logged-out-page .product-choice {
    position: unset;
}