@use "sass:map";
@use "helpers";

.conteudo-conta{
    .p-titulo{
        display: block;
        margin: 0px;
        color: map.get(helpers.$palletMinhaConta, textMedium);
        font: normal 15px helpers.$fontMedium;
        text-align: center;
    }

    .p-text{
        display: block;
        margin: 0px;
        color: map.get(helpers.$palletMinhaConta, textDark);
        font: normal 15px helpers.$fontRegular;
        text-align: center;
    }

    .box-informacoes{
        display: block;
        width: 100%;
        padding: 30px 15px;
        margin-bottom: 30px;
        border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
        border: solid 1px map.get(helpers.$palletMinhaConta, borders);
        background-color: map.get(helpers.$palletMinhaConta, medium);

        .p-pedido{
            display: block;
            width: 100%;
            margin-bottom: 15px;

            .p-titulo{
                font-size: 18px;
            }
            .p-text{
                font-size: 22px;
                font-family: helpers.$fontMedium;
            }
        }

        .p-dados{
            display: flex;
            width: 100%;
            margin-bottom: 30px;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;

            @media(max-width:575px){
                flex-direction: column;
            }

            .p-info{
                display: flex;
                margin-right: 20px;
                align-items: center;
                justify-content: center;

                @media(max-width:575px){
                    flex-direction: column;
                    margin-right: 0px;
                    margin-bottom: 20px;
                }

                .p-titulo{
                    margin-right: 10px;

                    @media(max-width:575px){
                        margin-right: 0px;
                    }
                }

                &:last-of-type{
                    margin-right: 0px;

                    @media(max-width:575px){
                        margin-bottom: 0px;
                    }
                }
            }
        }

        .p-opcoes{
            display: flex;
            width: 100%;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;

            .btn-mc{
                margin-right: 20px;
                margin-bottom: 30px;

                &:last-of-type{
                    margin-right: 0px;
                }
            }
        }

        .p-status{
            display: block;
            width: 100%;
            margin-bottom: 30px;

            .s-icon{
                display: block;
                width: 106px;
                height: 106px;
                margin: 0 auto;
                margin-bottom: 10px;
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;

                &.s-success{
                    background-image: url(../img/minha-conta/icon15.svg);
                }
                &.s-error{
                    background-image: url(../img/minha-conta/icon16.svg);
                }
                &.s-default{
                    background-image: url(../img/minha-conta/icon17.svg);
                }
            }

            .s-text{
                display: block;
                margin: 0px;
                color: map.get(helpers.$palletMinhaConta, textMedium);
                font: normal 18px helpers.$fontRegular;
                text-align: center;

                &.s-success{
                    color: map.get(helpers.$palletMinhaConta, success);
                }
                &.s-error{
                    color: map.get(helpers.$palletMinhaConta, error);
                }
                &.s-default{
                    color: map.get(helpers.$palletMinhaConta, textMedium);
                }
            }
        }

        .p-total{
            display: block;
            width: 100%;
            margin-bottom: 30px;

            &:before{
                display: block;
                content: "";
                width: 195px;
                height: 1px;
                margin: 0 auto;
                margin-bottom: 30px;
                background-color: map.get(helpers.$palletMinhaConta, borders);
            }

            .p-titulo{
                font-size: 18px;
            }

            .p-valor{
                display: block;
                margin: 0px;
                color: map.get(helpers.$palletMinhaConta, textDark);
                font: normal 22px helpers.$fontMedium;
                text-align: center;
            }
        }
    }

    .p-endereco{
        display: block;
        width: 100%;

        .f-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: map.get(helpers.$palletMinhaConta, textMedium);
            font: normal 18px helpers.$fontMedium;
            text-align: center;
        }

        .f-box{
            display: block;
            width: 100%;
            padding: 15px;
            margin-bottom: 15px;
            border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
            border: solid 1px map.get(helpers.$palletMinhaConta, borders);
            background-color: map.get(helpers.$palletMinhaConta, medium);

            .f-item{
                display: flex;
                width: 100%;
                padding: 5px;
                align-items: center;
                justify-content: center;

                @media(max-width:575px){
                    flex-direction: column;
                }

                p{
                    display: block;
                    margin: 0px;
                    width: 50%;
                    padding-right: 5px;
                    text-align: right;
                    color: map.get(helpers.$palletMinhaConta, textMedium);
                    font: normal 13px helpers.$fontSemibold;

                    @media(max-width:575px){
                        width: 100%;
                        padding-right: 0px;
                        text-align: center;
                    }

                    &:last-of-type{
                        padding-left: 5px;
                        text-align: left;
                        color: map.get(helpers.$palletMinhaConta, textDark);
                        font: normal 15px helpers.$fontRegular;
                        text-decoration: underline;

                        @media(max-width:575px){
                            width: 100%;
                            padding-left: 0px;
                            text-align: center;
                        }
                    }
                }
            }
        }

        .p-frete{
            display: block;
            width: 100%;
            margin-bottom: 30px;

            .f-entrega{
                display: flex;
                width: 100%;
                margin-bottom: 20px;
                align-items: stretch;
                justify-content: space-between;

                @media(max-width:575px){
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                }

                .e-box{
                    position: relative;
                    display: block;
                    width: calc(50% - 7px);
                    padding: 15px;
                    border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
                    border: solid 1px map.get(helpers.$palletMinhaConta, borders);
                    background-color: map.get(helpers.$palletMinhaConta, medium);

                    @media(max-width:575px){
                        width: 100%;
                    }

                    .e-titulo{
                        display: block;
                        margin: 0px;
                        margin-bottom: 10px;
                        color: map.get(helpers.$palletMinhaConta, textDark);
                        font: normal 14px helpers.$fontRegular;
                    }

                    .e-item{
                        display: flex;
                        width: 100%;
                        margin-bottom: 10px;
                        padding-bottom: 10px;
                        border-bottom: solid 1px map.get(helpers.$palletMinhaConta, borders);
                        align-items: center;
                        justify-content: space-between;

                        p{
                            display: block;
                            margin: 0px;
                            color: map.get(helpers.$palletMinhaConta, textMedium);
                            font: normal 13px helpers.$fontSemibold;

                            &:last-of-type{
                                color: map.get(helpers.$palletMinhaConta, textDark);
                                font: normal 15px helpers.$fontRegular;
                                text-align: right;
                            }
                        }

                        &:last-of-type{
                            border-bottom-width: 0px;
                            margin-bottom: 0px;
                            padding-bottom: 0px;
                        }
                    }

                    .e-list{
                        display: block;
                        width: 100%;
                    }

                    .loading {
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        top: 0;
                        left: 0;
                        overflow: hidden;
                        display: none;
                        background-color: rgba(255,255,255, 0.8);
                        background-image: url("../img/loading.gif");
                        background-repeat: no-repeat;
                        background-position: center;
                    }
                }

                &:last-of-type{
                    margin-bottom: 0px;
                }
            }
        }
    }

    .p-produtos{
        display: block;
        width: 100%;
        margin-bottom: 50px;

        .p-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: map.get(helpers.$palletMinhaConta, textMedium);
            font: normal 18px helpers.$fontMedium;
            text-align: center;
        }

        .p-box{
            display: block;
            width: 100%;

            .p-item{
                display: flex;
                width: 100%;
                padding-bottom: 15px;
                margin-bottom: 15px;
                align-items: center;
                justify-content: flex-start;
                border-bottom: solid 1px map.get(helpers.$palletMinhaConta, borders);

                @media(max-width:575px){
                    flex-direction: column;
                    justify-content: center;
                }

                .i-dados{
                    display: flex;
                    width: calc(100% - 145px);
                    align-items: center;
                    justify-content: center;

                    @media(max-width:575px){
                        width: 100%;
                        flex-direction: column;
                    }

                    .i-imagem{
                        display: block;
                        width: 100%;
                        max-width: 62px;

                        @media(max-width:575px){
                            margin: 0 auto;
                            margin-bottom: 10px;
                        }
                    }

                    .i-informacoes{
                        display: block;
                        width: calc(100% - 62px);
                        padding-left: 20px;

                        @media(max-width:575px){
                            width: 100%;
                            padding-left: 0px;
                        }

                        .i-nome{
                            display: block;
                            margin: 0px;
                            margin-bottom: 10px;
                            color: map.get(helpers.$palletMinhaConta, textDark);
                            font: normal 15px helpers.$fontRegular;

                            @media(max-width:575px){
                                text-align: center;
                            }
                        }

                        .i-info{
                            display: flex;
                            width: 100%;
                            flex-wrap: wrap;
                            align-items: center;
                            justify-content: flex-start;

                            @media(max-width:575px){
                                flex-direction: column;
                            }

                            .i-item{
                                display: flex;
                                margin-right: 15px;
                                margin-bottom: 5px;
                                align-items: center;
                                justify-content: flex-start;

                                p{
                                    display: block;
                                    margin: 0px;
                                    color: map.get(helpers.$palletMinhaConta, textDark);
                                    font: normal 12px helpers.$fontRegular;

                                    &:first-of-type{
                                        color: map.get(helpers.$palletMinhaConta, textMedium);
                                        margin-right: 10px;
                                    }
                                }
                            }
                        }
                    }
                }

                .i-acoes{
                    display: block;
                    width: 100%;
                    max-width: 145px;
                }

                &:last-of-type{
                    margin-bottom: 0px;
                    padding-bottom: 0px;
                    border-bottom-width: 0px;
                }
            }
        }
    }

    .p-trocas{
        display: block;
        width: 100%;

        .t-trocas{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: map.get(helpers.$palletMinhaConta, textMedium);
            font: normal 18px helpers.$fontMedium;
            text-align: center;
        }

        .trocas{
            display: block;
            width: 100%;

            .t-troca{
                display: block;
                width: 100%;
                padding: 10px;
                margin-bottom: 20px;
                border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
                border: solid 1px map.get(helpers.$palletMinhaConta, borders);

                .t-header{
                    display: flex;
                    width: 100%;
                    margin-bottom: 10px;
                    align-items: stretch;
                    justify-content: space-between;

                    @media(max-width:575px){
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                    }

                    .t-box{
                        display: block;
                        width: calc(50% - 7px);
                        padding: 15px;
                        border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
                        border: solid 1px map.get(helpers.$palletMinhaConta, borders);

                        @media(max-width:575px){
                            width: 100%;
                            padding: 10px;
                        }

                        .b-item{
                            display: flex;
                            width: 100%;
                            padding-bottom: 5px;
                            margin-bottom: 5px;
                            align-items: center;
                            justify-content: space-between;
                            border-bottom: solid 1px map.get(helpers.$palletMinhaConta, borders);

                            @media(max-width:575px){
                                flex-direction: column;
                                justify-content: center;
                            }

                            p{
                                display: block;
                                margin: 0px;
                                color: map.get(helpers.$palletMinhaConta, textDark);
                                font: normal 15px helpers.$fontRegular;

                                @media(max-width:575px){
                                    text-align: center;
                                }

                                &:first-of-type{
                                    margin-right: 10px;
                                    color: map.get(helpers.$palletMinhaConta, textMedium);
                                    font-family: helpers.$fontMedium;

                                    @media(max-width:575px){
                                        margin-right: 0px;
                                        margin-top: 5px;
                                    }
                                }
                            }

                            &:last-of-type{
                                padding-bottom: 0px;
                                margin-bottom: 0px;
                                border-width: 0px;
                            }
                        }

                        &:first-of-type{
                            @media(max-width:575px){
                                margin-bottom: 10px;
                            }
                        }
                    }
                }

                .t-comment{
                    display: block;
                    width: 100%;
                    padding: 15px;
                    margin-bottom: 10px;
                    color: map.get(helpers.$palletMinhaConta, textDark);
                    font: normal 15px helpers.$fontRegular;
                    border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
                    border: solid 1px map.get(helpers.$palletMinhaConta, borders);

                    @media(max-width:575px){
                        padding: 10px;
                    }

                    strong{
                        font-weight: normal;
                        font-family: helpers.$fontMedium;
                    }
                }

                .t-content{
                    display: block;
                    width: 100%;

                    .t-item{
                        display: block;
                        width: 100%;
                        margin-bottom: 10px;
                        border-radius: map.get(helpers.$palletMinhaConta, borderRadius);
                        border: solid 1px map.get(helpers.$palletMinhaConta, borders);

                        .i-item{
                            display: flex;
                            width: 100%;
                            padding: 15px;
                            align-items: center;
                            justify-content: flex-start;
                            border-bottom: solid 1px map.get(helpers.$palletMinhaConta, borders);

                            @media(max-width:575px){
                                flex-direction: column;
                                padding: 10px;
                                justify-content: center;
                            }

                            .i-imagem{
                                display: block;
                                width: 100%;
                                max-width: 100px;

                                @media(max-width:575px){
                                    margin-bottom: 15px;
                                }
                            }

                            .i-informacoes{
                                display: block;
                                width: calc(100% - 100px);
                                padding-left: 15px;

                                @media(max-width:575px){
                                    width: 100%;
                                    padding-left: 0px;
                                }

                                .i-box{
                                    display: flex;
                                    width: 100%;
                                    padding-bottom: 10px;
                                    margin-bottom: 10px;
                                    flex-wrap: wrap;
                                    align-items: center;
                                    justify-content: flex-start;
                                    border-bottom: solid 1px map.get(helpers.$palletMinhaConta, borders);

                                    @media(max-width:575px){
                                        justify-content: center;
                                    }

                                    .b-item{
                                        display: block;
                                        margin-right: 30px;
                                        margin-bottom: 5px;

                                        p{
                                            display: block;
                                            margin: 0px;
                                            color: map.get(helpers.$palletMinhaConta, textDark);
                                            font: normal 15px helpers.$fontRegular;

                                            &:first-of-type{
                                                color: map.get(helpers.$palletMinhaConta, textMedium);
                                                font: normal 14px helpers.$fontMedium;
                                            }
                                        }

                                        @media(max-width:1300px){
                                            margin-right: 15px;
                                        }
                                    }

                                    .b-text{
                                        width: 50%;
                                        margin: 0px;
                                        padding-right: 10px;

                                        @media(max-width:575px){
                                            width: 100%;
                                            padding-right: 0px;
                                        }
                                    }

                                    &:last-of-type{
                                        padding-bottom: 0px;
                                        margin-bottom: 0px;
                                        border-width: 0px;
                                    }
                                }
                            }

                            &:last-of-type{
                                border-bottom-width: 0px;
                            }
                        }

                        &:last-of-type{
                            margin-bottom: 0px;
                        }
                    }
                }

                &:nth-child(2n+2){
                    background-color: map.get(helpers.$palletMinhaConta, medium);
                }

                &:last-of-type{
                    margin-bottom: 0px;
                }
            }
        }
    }
}

/*.pedido {
    display: block;
    width: 100%;
    height: auto;
    padding: 0px;
    background-color: $light;
    border: none;

    @media(min-with:600px){
        padding: 10px;
        border: solid 1px $borders;
    }

    .pedido-informacoes{
        display: block;
        padding: 15px 10px;
        margin-bottom: 10px;
        border: solid 1px $borders;
        background-color: $light;

        @media(min-width:600px){
            padding: 15px 10%;
        }

        .info{
            display: block;
            margin-bottom: 10px;
            font-size: 0px;
            text-align: center;

            p{
                display: inline-block;
                width: 50%;
                margin: 0px;
                color: $textoDark;
                font-size: 13px;
                font-family: $fontRegular;
                vertical-align: middle;
                text-align: left;

                &:first-of-type{
                    width: 45%;
                    text-transform: uppercase;
                }
                &:last-of-type{
                    width: 55%;
                    color: $textoMedium;
                    font-size: 14px;
                }
            }
        }

        .controle-termos{
            display: block;
            outline: 0px;
            margin: 10px 0px;
            margin-top: 15px;
            color: $textoDark;
            font: normal 15px $fontRegular;
            text-align:center;
            text-decoration: underline;
        }
    }

    .pedido-status{
        position: relative;
        display: block;
        padding: 15px 10px;
        margin-bottom: 10px;
        border: solid 1px $borders;
        background-color: $light;

        .status-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: $textoDark;
            font-size: 13px;
            font-family: $fontRegular;
            text-align: center;
            text-transform: uppercase;
        }

        .status{
            position: relative;
            z-index: 5;
            display: block;
            width: 100%;
            height: auto;
            list-style: none;
            text-align: center;

            &:before{
                position: absolute;
                z-index: 1;
                display: none;
                content: "";
                width: calc(100% - 40px);
                height: 1px;
                top: 42%;
                left: 20px;
                border: dashed 1px $borders;

                @media(min-width:1520px){
                    display: block;
                }
            }

            .item{
                position: relative;
                z-index: 5;
                display: inline-block;
                width: 100%;
                height: auto;
                max-width: 100%;
                padding: 10px;
                vertical-align: middle;

                @media(min-width:1520px){
                    max-width: 140px;
                }

                p{
                    display: block;
                    margin: 0px;
                    font-family: $fontRegular;
                    font-size: 14px;

                    &.item-titulo{
                        color: $textoDark;
                    }

                    &.item-data{
                        color: $textoMedium;
                    }
                }

                .item-icone{
                    @include sprite();
                    display: block;
                    width: 35px;
                    height: 35px;
                    margin: 10px auto;
                    background-position: -74px -398px;
                }

                &.entregue{
                    .item-icone{
                        width: 50px;
                        height: 50px;
                        margin: 3px auto;
                        background-position: -10px -387px;
                    }
                }

                &.cancelado{
                    .item-icone{
                        background-position: -329px -401px;
                    }
                }
            }
        }

        .status-navegacao{
            @include sprite();
            cursor: pointer;
            position: absolute;
            display:block;
            width: 11px;
            height: 20px;
            top: calc(50% - 10px);

            &.nav-prev{
                left: 10px;
                background-position: -435px -10px;
            }
            &.nav-next{
                right: 10px;
                background-position: -456px -10px;
            }
        }
    }

    .pedido-entrega{
        position: relative;
        display: block;
        padding: 15px 10px;
        margin-bottom: 10px;
        border: solid 1px $borders;
        background-color: $light;

        .entrega-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: $textoDark;
            font-size: 13px;
            font-family: $fontRegular;
            text-align: center;
            text-transform: uppercase;
        }

        .entrega-subtitulo{
            display: block;
            margin: 0px;
            color: $textoDark;
            font-size: 12px;
            font-family: $fontRegular;
            text-align: center;
        }

        .entrega-dados{
            display: block;
            width: 100%;
            height: auto;
            max-width: 280px;
            margin: 0 auto;
            margin-bottom: 30px;

            .item{
                display: block;
                margin-bottom: 10px;
                font-size: 0px;
                text-align: center;

                p{
                    display: inline-block;
                    width: 50%;
                    color: $textoDark;
                    font-size: 13px;
                    font-family: $fontRegular;
                    vertical-align: middle;
                    text-align: left;

                    &:first-of-type{
                        text-transform: uppercase;
                    }
                    &:last-of-type{
                        color: $textoMedium;
                        font-size: 14px;
                    }
                }
            }
        }

        .historico{
            display: block;
            width: 100%;
            height: auto;
            margin-bottom: 30px;

            .item{
                display: block;
                font-size: 0px;
                text-align: center;

                p{
                    position: relative;
                    display: inline-block;
                    padding: 10px 0px;
                    width: 50%;
                    color: $textoDark;
                    font-size: 13px;
                    font-family: $fontRegular;
                    vertical-align: middle;
                    text-align: left;

                    &:first-of-type{
                        z-index: 5;
                        padding-right: 10px;
                        text-align: right;

                        &:after{
                            position: absolute;
                            display: block;
                            content: "";
                            width: 10px;
                            height: 10px;
                            top: calc(50% - 5px);
                            right: -6px;
                            border-radius: 100%;
                            background-color: $dark;
                        }
                    }
                    &:last-of-type{
                        z-index: 1;
                        padding-left: 10px;
                        color: $textoMedium;
                        text-transform: uppercase;
                        border-left: dashed 1px $borders;
                    }
                }

                &.entregue{
                    p{
                        &:first-of-type{
                            padding-right: 20px;
                            &:after{
                                width: 20px;
                                height: 20px;
                                top: calc(50% - 10px);
                                right: -10px;
                            }
                        }
                        &:last-of-type{
                            padding-left: 20px;
                        }
                    }
                }
            }
        }

        .btn-atualizar{
            display: block;
            width: 100%;
            height: auto;
            max-width: 190px;
            padding: 10px;
            margin: 0 auto;
            color: $textoLight;
            font-size: 12px;
            font-family: $fontRegular;
            text-align: center;
            text-transform: uppercase;
            background-color: $highlight;

            &:before{
                @include sprite();
                display: inline-block;
                content: "";
                width: 12px;
                height: 12px;
                margin-top: -5px;
                margin-right: 5px;
                background-position: -318px -16px;
                vertical-align: middle;
            }
        }

        .loading {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            overflow: hidden;
            display: none;
            background-color: rgba(255,255,255, 0.8);
            background-image: url("../img/loading.gif");
            background-repeat: no-repeat;
            background-position: center;
        }
    }

    .pedido-produtos{
        position: relative;
        display: block;
        padding: 15px 10px;
        margin-bottom: 10px;
        border: solid 1px $borders;
        background-color: $light;

        .produtos-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: $textoDark;
            font-size: 13px;
            font-family: $fontRegular;
            text-align: center;
            text-transform: uppercase;
        }

        .produtos{
            margin-bottom: 10px;

            .produtos-todos{
                display: none;
            }

            .item{
                display: block;
                width: 100%;
                height: auto;
                min-height: 400px;
                margin-bottom: 10px;

                .item-imagem{
                    display: block;
                    width: 100%;
                    height: auto;
                    max-width: 150px;
                    margin: 0 auto;
                    margin-bottom: 10px;
                }

                .item-informacoes{
                    display: block;
                    width: 100%;
                    height: auto;
                    max-width: 160px;
                    margin: 0 auto;
                    color: $textoMedium;
                    font-size: 12px;
                    font-family: $fontRegular;

                    .item-nome{
                        display: block;
                        margin: 0px;
                        font-size: 10px;
                        text-align: center;
                    }

                    .item-referencia{
                        display: block;
                        margin: 0px;
                        margin-bottom: 10px;
                        text-align: center;
                    }

                    .item-col{
                        display: block;
                        width: 100%;
                        height: auto;
                        font-size: 0px;
                        text-align: center;

                        p{
                            display: inline-block;
                            margin: 0px;
                            width: 50%;
                            vertical-align: middle;
                            text-align: left;
                            font-size: 9px;

                            &:last-of-type{
                                color: $textoMedium;
                                font-size: 13px;
                                font-weight: normal;
                                text-align: right;
                                font-family: $fontMedium;
                            }
                        }
                    }
                }
            }
        }

        .btn-todos{
            display: block;
            width: 100%;
            height: auto;
            max-width: 190px;
            padding: 10px;
            margin: 0 auto;
            color: $textoLight;
            font-size: 12px;
            font-family: $fontRegular;
            text-align: center;
            text-transform: uppercase;
            background-color: $highlight;

            &:before{
                @include sprite();
                display: inline-block;
                content: "";
                width: 12px;
                height: 12px;
                margin-top: -3px;
                margin-right: 5px;
                background-position: -125px -409px;
                vertical-align: middle;
            }
        }
    }

    .pedido-trocas{
        position: relative;
        display: block;
        padding: 15px 10px;
        padding-top: 15px;
        margin-bottom: 10px;
        border: solid 1px $borders;
        background-color: $light;

        .trocas-titulo{
            display: block;
            margin: 0px;
            margin-bottom: 15px;
            color: $textoDark;
            font-size: 13px;
            font-family: $fontRegular;
            text-align: center;
            text-transform: uppercase;
        }
        .trocas{
            margin-bottom: 10px;

            .troca{
                padding: 0 8px;

                &:last-of-type{
                    > hr{
                        display: none;
                    }
                }

                > .row{
                    display: flex;
                    align-items: stretch;

                    .col-original{
                        flex-grow: 1;
                    }
                }
            }
        }
    }

    .pedido-resumo{
        position: relative;
        display: block;
        padding: 15px 10px;
        margin-bottom: 10px;

        .resumo{
            min-height: auto;
            padding: 35px 15px;
            margin-bottom: 10px;
            color: $textoMedium;
            font-size: 12px;
            font-family: $fontRegular;
            border: solid 1px $borders;
            background-color: $medium;
            text-align: center;

            @media(min-width:990px){
                min-height: 200px;
            }

            .resumo-titulo{
                display: block;
                margin: 0px;
                margin-bottom: 15px;
                color: $textoDark;
                font-size: 13px;
                text-align: center;
                text-transform: uppercase;
            }

            .informacoes{
                display: block;
                width: 100%;
                height: auto;
                max-width: 215px;
                margin: 0 auto;
                list-style: none;

                .item{
                    display: block;
                    font-size: 0px;
                    margin-bottom: 10px;

                    p{
                        display: inline-block;
                        width: 50%;
                        color: $textoDark;
                        font-size: 13px;
                        font-family: $fontRegular;
                        vertical-align: middle;
                        text-align: left;

                        &:first-of-type{
                            text-transform: uppercase;
                        }
                        &:last-of-type{
                            color: $textoMedium;
                            font-size: 13px;
                        }
                        &.total{
                            font-size: 20px;
                        }
                    }
                }
            }
        }
    }
}

.row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.row-xs-padding > [class*="col-"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

#pedido-trocas{
    margin-top: -160px;
    position: absolute;
    pointer-events: none;
}

.troca-pedido{
    border: solid 1px $borders;
    padding: 8px;
    color: $textoDark;
    font-family: $fontRegular;
    font-size: 13px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 2px;
    position: relative;
    background-color: $medium;

    strong{
        text-transform: uppercase;
        margin-bottom: 3px;
        display: inline-block;
    }

    &:nth-of-type(1){
        margin-top: 0;
    }

    blockquote{
        margin-left: 6px;
        border-left: solid 2px $borders;
        padding-left: 6px;
    }

    .btn-finish{
        font-size: 10px;
    }
}

.list-item-group{
    position: relative;
}

.list-item{
    color: $textoDark;
    font-family: $fontRegular;
    font-size: 13px;
    position: relative;
    text-align: left;
    width: 100%;

    .content-header{
        display: flex;
        justify-content: space-between;
        background-color: $medium;
        padding: 10px;
        border-top: solid 1px $borders;
        border-bottom: solid 1px $borders;
        flex-wrap: wrap;

        span{
            white-space: nowrap;

            @media(max-width: 600px){
                width: 100%;
            }
        }
    }

    .content-body{
        align-content: stretch;
        display: flex;
        flex-wrap: wrap;

        .content-1, .content-2{
            display: flex;
            flex-grow: 1;
            flex-wrap: wrap;

            &~.col-observacao{
                @media(max-width:600px){
                    min-width: 50%;
                }
            }
        }

        .content-2{
            &~.col-observacao{
                min-width: 50%;
            }
        }

        .col-observacao{
            border: solid 1px $borders;
            flex-grow: 1;
            padding: 10px;
        }

        hr{
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }
    .content-foto{
        border-right: none;
        border: solid 1px $borders;
        max-width: 100px;
        min-height: 162px;
        min-width: 100px;
        padding: 8px;
        position: relative;

        @media(max-width: 600px){
            width: 100%;
            max-width: none;
        }

        .image{
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
            bottom: 8px;
            left: 8px;
            position: absolute;
            right: 8px;
            top: 8px;
        }

        .content-foto .status{
            bottom: 1px;
            left: 50%;
            position: absolute;
            transform: translateX(-50%);
        }
    }

    .content-info{
        align-items: stretch;
        border: solid 1px $borders;
        flex-grow: 1;
        padding: 10px;

        @media(max-width: 600px){
            max-width: none;
            width: 100%;
        }

        div:nth-child(1){
            flex-grow: 1;
        }
        div:nth-child(2){
            max-height: 145px;
            overflow: auto;
        }
        strong{
            text-transform: uppercase;
            margin-bottom: 3px;
            display: inline-block;
        }
        .col-observacao{
            border-left: solid 1px $borders;
        }
    }
}

.conteudo{
    .alert{
        padding: 8px;
        margin: 10px 0;
        color: $textoDark;

        a{
            text-decoration: underline;
        }
    }
}*/

#modal-termos{
    position: fixed;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 15px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;

    .box-overlay{
        position: absolute;
        z-index: 1;
        cursor: pointer;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: helpers.$backgroundModal;
    }

    .conteudo{
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        height: 90vh;
        max-width: 1145px;

        .box-close{
            display: flex;
            width: 100%;
            padding: 10px;
            align-items: center;
            justify-content: flex-end;
            padding-right: 0;

            .btn-close{
                display: block;
                outline: 0px;
                width: 100%;
                max-width: 140px;
                padding: 10px;
                color: helpers.$textoLight;
                font: normal 15px helpers.$fontMedium;
                text-align: center;
                border: solid 1px helpers.$dark;
                background-color: helpers.$dark;
                @include helpers.transicao(0.4s ease-in-out);

                &:hover,&:focus{
                    color: helpers.$textoLight;
                    background-color: helpers.$success;
                    border: solid 1px helpers.$success;
                }
            }
        }

        .pedido-termo-aceite{
            position: relative;
            overflow-y: auto;
            display: block;
            width: 100%;
            height: calc(100% - 60px);
            padding: 15px;
            border: solid 1px helpers.$borders;
            background-color: helpers.$light;

            .termo-titulo{
                display: block;
                margin: 0px;
                margin-bottom: 30px;
                color: helpers.$textoDark;
                font: normal 20px helpers.$fontBold;
                text-align: center;
            }

            .termo-texto{
                display: block;
                width: 100%;
                margin-bottom: 50px;
                white-space: pre-line;
                color: helpers.$textoDark;
                font: normal 15px helpers.$fontRegular;
                text-align: justify;

                .left{
                    display: block;
                    width: 100%;
                }

                p{
                    display: block;
                    margin: 0px;
                    margin-bottom: 20px;
                }

                strong{
                    color: helpers.$textoDark !important;
                    font: normal 15px helpers.$fontBold !important;
                }

                span{
                    color: helpers.$textoDark !important;
                    font: normal 15px helpers.$fontRegular !important;

                    strong{
                        color: helpers.$textoDark !important;
                        font: normal 15px helpers.$fontBold !important;
                    }
                }

                a{
                    outline: 0px;
                    text-decoration: underline;
                }
            }
        }
    }

    &.ativo{ 
        visibility: visible;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
}