/* Vatiables */
/* :root{
    --txt1: #2f3d51;
    --txt2: #fffafa;
    --txt3: #294750;
    --bg01: #ffffff;
    --bg02: #fffafa;
    --bg03: #014aad;
    --bg04: #00132d;
    --bg05: #294750;
    --bord: #dddddd;
    --brd2: #eb7d00;
    --brd3: #f8b467;
    --brd4: #eeeeee;
    --brd5: #ffd8ac;
    --shad: #eeeeee;
    --shd2: #c4c4c4;
    --shd3: #b1ff58;
    --shadow: 4px 4px 8px var(--shad);
    --eror: #c20000;
    --aten: #dda003;
    --succ: #009200;
    --over: rgba(0, 0, 0, 0);
    --brdr: 8px;
    --width-rbar: 300px;
    --width-asd: 180px;

    --btna: #014aad;
    --hov1: #7eaafcb0;
    --btnb: #0489b3;
    --btnh: #006788;
    --grdl: #1584f8;
    --grdd: #014aad;
    --grad: radial-gradient(#0c65c4, #023884);
    --resname: #eeff00;
    --box01: #e7f8ff;
    --box01-1: #def6ff;
    --box02: #efffee;
    --box03: #fdfbea;
    --box04: #fff0ff;
    --box05: #ececec;
    --box06: #fff1f1;
    --box07: #efefff;
    --hr01: #ffe1c0;
    --thed: #fdfc9d;

} */
/* Reset style block */
*,
*::before,
*::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    background: none;
}
/* Global elements style */
body{
    position: relative;
    width: 100%;
    height: auto;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
    background: var(--bg02);
    color: var(--txt3);
    .asideOverlay{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(9, 29, 92, 0.3);
        z-index: 99;
    }
}

a{
    display: block;
    margin: 10px 0;
    color: var(--txt1);
    text-decoration: none;
    font-size: 16px;
    font-style: italic;
    &:hover{
        text-decoration: underline;
        text-underline-offset: 3px;
        color: var(--btnh);
    }
}
h1{
    font-size: 1.6rem;
    font-weight: 900;
}
h2{
    font-size: 1.4rem;
}
.mrgn10-0{
    margin: 10px 0;
}
.mrgn20-0{
    margin: 20px 0;
}
h3{
    margin: 20px 0;
    font-size: 1.2rem;
}
h4{
    font-size: 1rem;
    font-weight: 600;
    margin: 10px 0;
}
h5{
    font-size: .9rem;
    font-weight: 700;
}
h6{
    font-size: .8rem;
    font-weight: 600;
}
hr{
    height: 1px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--hr01);
}
input[type='range']{
    width: 100%;
    height: 4px;
    color: var(--brd2);
}
.flex-wrap-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

}
p{
    padding: 10px 0;
}
table{
    /* display: table; */
    width: 100%;
    height: auto;
    border: 1px solid var(--bord);
    border-collapse: collapse;
    text-align: center;
    margin: 10px 0;
    word-break: break-all;
    thead{
        height: 40px;
        background-color: var(--thed);
        tr th{
            border: 1px solid var(--bord);
        }
    }
    tbody tr{
        &:nth-child(odd){
            background-color: var(--box01-1);
        }
    }
    tbody tr th{
        border: 1px solid var(--bord);
        padding: 5px 0;
        background-color: var(--thed);
    }
    tbody tr td{
        border: 1px solid var(--bord);
        padding: 5px 3px;
        /* &:nth-child(1){
            width: 40px;
        }
        &:nth-child(4){
            width: 270px;
        } */
    }
}
.invoices-table{
    width: 100%;
    height: auto;
    word-break: break-all;
    tr td{
        text-align: left;
        padding-left: 5px;
    }
}
.esimsTables{
    margin-bottom: 10px;
    tr td{
        padding: 5px;
        text-align: left;
    }
}
.reslist{
    width: 100%;
    tbody tr th{
        width: 20%;
    }
    tbody tr td{
        width: 20%;
        button{
            width: 100%;
        }
    }
    tbody tr td:nth-child(1){
        text-align: left;
        padding-left: 5px;
    }
}
.tableOneRes{
    width: 100%;
    word-break: break-all;
    thead tr th{
        width: 20%;
    }
    tbody tr td{
        width: 20%;
    }
}
.btn{
    padding: 8px 10px;
    margin: 5px 0;
    height: 33px;
    min-width: 150px;
    background: var(--btnb);
    color: var(--bg02);
    border: 1px solid var(--btnb);
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    &:hover{
        background: var(--bg02);
        color: var(--btnb);
        border: 1px solid var(--btnb);
        transition: all .2s;
    }
}
.topBtn{
    padding: 8px 10px;
    margin: 5px 0;
    height: 33px;
    background: var(--btnb);
    color: var(--bg02);
    border: 1px solid var(--btnb);
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    &:hover{
        background: var(--bg02);
        color: var(--btnb);
        border: 1px solid var(--btnb);
        transition: all .2s;
    }
}
select{
    width: 200px;
    height: 30px;
    border: 1px solid var(--bord);
    border-radius: 4px;
    text-transform: uppercase;
    margin: 5px 0;
    padding-left: 5px;
    background: var(--bg01);
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none;  
    cursor: pointer;
    background: var(--bg02);
    color: var(--txt3);
}

/* GRID Container style */
.grid-container{
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--width-asd) 1fr var(--width-rbar);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header header header"
                         "aside main rbar"
                         "footer footer footer";
    gap: 5px;   
}
.gcw1150{
    max-width: 1150px;
    transition: all .3s;
}
.gcw1200{
    max-width: 1200px;
    transition: all .3s;
}
.gcw1300{
    max-width: 1300px;
    transition: all .3s;
}
.gcw1400{
    max-width: 1400px;
    transition: all .3s;
}
.gcw1500{
    max-width: 1500px;
    transition: all .3s;
}
@media (min-width: 320px){
    .grid-container{
        grid-template-columns: 1fr;
        grid-template-areas: "header header header"
                             "main main main"
                             "footer footer footer";
    }
}
@media (min-width: 576px){
    .grid-container{
        grid-template-columns: var(--width-asd) 1fr;
        grid-template-areas: "header header header"
                             "aside main main"
                             "footer footer footer";
    }
}
@media (min-width: 768px){
    .grid-container{
        grid-template-columns: var(--width-asd) 1fr;
        grid-template-areas: "header header header"
                             "aside main main"
                             "footer footer footer";
    }
}
@media (min-width: 992px){
    .grid-container{
        grid-template-columns: var(--width-asd) 1fr;
        grid-template-areas: "header header header"
                             "aside main main"
                             "footer footer footer";
    }
}
@media (min-width: 1200px){
    .grid-container{
        grid-template-columns: var(--width-asd) 1fr var(--width-rbar);
        grid-template-areas: "header header header"
                             "aside main rbar"
                             "footer footer footer";
    }
}
/* Header elements and navigation style */
header{
    position: relative;
    grid-area: header;
    margin: 4px 0;
    padding: 4px 5px;
    border-bottom: 1px solid var(--bord);
    .menu{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        .menu-blocks{
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            .logo{
                width: 45px;
                height: 40px;
                margin-right: 130px;
                .logoBtn{
                    position: relative;
                    cursor: pointer;
                    img{
                    width: 40px;
                    height: 40px;
                    object-fit: contain;
                    object-position: center;
                    }
                }
                .logoBtn::after{
                    content: 'market';
                    position: absolute;
                    top: 27px;
                    left: 43px;
                    color: var(--btnh);
                }
            }
            .reselect{
                display: block;
                width: 200px;
                select{
                    width: 200px;
                    height: 30px;
                    border: 1px solid var(--bord);
                    border-radius: 4px;
                    text-transform: uppercase;
                    padding-left: 5px;
                }
            }
            .balance{
                display: block;
                font-size: 14px;
                text-align: center;
                margin: 0 20px;
                span{
                    color: var(--brd2);
                    font-weight: 900;
                }
            }
            .topups{
                display: block;
                margin: 0 62px 0 20px;
            }
            .navbtn{
                display: block;
                margin: 0 20px;
                font-size: 24px;
                text-align: center;
                color: var(--btnb);
                cursor: pointer;
                transition: all .2s;
                &:hover{
                    text-shadow: 2px 2px 6px var(--brd5),
                                 -2px -2px 6px var(--brd5),
                                 2px -2px 6px var(--brd5),
                                 -2px 2px 6px var(--brd5);
                    transition: all .2s;

                }
            }
            .colapse-menu{
                display: none;
                margin: 0 20px;
                .colapse-btn{
                    width: 36px;
                    height: 36px;
                    padding: 2px;
                    border: 1px solid var(--btnb);
                    border-radius: 50%;
                    img{
                        width: 30px;
                        height: 30px;
                        object-fit: contain;
                        object-position: center;
                        border-radius: 50%;
                        rotate: 45deg;
                    }
                }
            }
        }
    }
    .account-box, .help-box, .message-box, .support-box{
        position: absolute;
        top: 68px;
        right: 6px;
        width: 340px;
        height: 300px;
        border: 1px solid var(--bord);
        border-radius: 8px;
        background: var(--bg01);
        padding: 20px;
        box-shadow: 3px 3px 6px var(--shad);
        z-index: 102;
        .flex-wrap{
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: left;
            .flex-wrap-item{
                width: 100%;
                .btnClose{
                    width: 100%;
                }
            }
        }
    }
}
@media (min-width: 320px){
    header .menu .menu-blocks .reselect{
        display: none;
    }
    header .menu .menu-blocks .balance{
        display: none;
    }
    header .menu .menu-blocks .topups{
        display: none;
    }
    header .menu .menu-blocks .navbtn{
        display: none;
    }
    header .menu .menu-blocks .colapse-menu{
        display: block;
    }
}
@media (min-width: 576px){
    header .menu .menu-blocks .reselect{
        display: none;
    }
    header .menu .menu-blocks .balance{
        display: none;
    }
    header .menu .menu-blocks .topups{
        display: none;
    }
    header .menu .menu-blocks .navbtn{
        display: block;
    }
    header .menu .menu-blocks .colapse-menu{
        display: none;
    }
}
@media (min-width: 768px){
    header .menu .menu-blocks .reselect{
        display: none;
    }
    header .menu .menu-blocks .balance{
        display: none;
    }
    header .menu .menu-blocks .topups{
        display: block;
    }
    header .menu .menu-blocks .navbtn{
        display: block;
    }
    header .menu .menu-blocks .colapse-menu{
        display: none;
    }
}
@media (min-width: 992px){
    header .menu .menu-blocks .reselect{
        display: block;
    }
    header .menu .menu-blocks .balance{
        display: block;
    }
    header .menu .menu-blocks .topups{
        display: block;
    }
    header .menu .menu-blocks .navbtn{
        display: block;
    }
    header .menu .menu-blocks .colapse-menu{
        display: none;
    }
}
@media (min-width: 1200px){
    header .menu .menu-blocks .reselect{
        display: block;
    }
    header .menu .menu-blocks .balance{
        display: block;
    }
    header .menu .menu-blocks .topups{
        display: block;
    }
    header .menu .menu-blocks .navbtn{
        display: block;
    }
    header .menu .menu-blocks .colapse-menu{
        display: none;
    }
}
/* Aside elements style */
aside{
    position: relative;
    display: block;
    grid-area: aside;
    height: 100%;
    padding: 10px;
    border-right: 1px solid var(--bord);
    .aside_title{
        text-decoration: underline;
        text-underline-offset: 3px;
        color: var(--btnb);
    }
    ul{
        list-style: circle;
        margin: 8px 0 8px 0;
        li{
            line-height: 20px;
            margin-left: 20px;
            cursor: pointer;
            transition: all .2s;
            &:hover{
                font-weight: 400;
                scale: 1.06;
                color: var(--btnh);
                background: var(--box02);
                transition: all .2s;
            }
        }
    }
}
@media (min-width: 320px){
    aside{
        display: none;
    }
}
@media (min-width: 576px){
    aside{
        display: block;
    }
}
@media (min-width: 768px){
    aside{
        display: block;
    }
}
@media (min-width: 992px){
    aside{
        display: block;
    }
}
.openMobileMenu{
    display: block;
    position: absolute;
    top: 8px;
    left: 8px;
    width: 200px;
    height: auto;
    
    background: url(../img/logo.svg);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 40px;
    background-position-x: 144px;
    background-position-y: 10px;
    background-color: var(--bg02);
    border: 1px solid var(--bord);
    border-radius: 8px;
    box-shadow: 1px 1px 5px -1px var(--txt1);
    animation: mobile .5s;
    z-index: 102;
    ul{
        li{
            line-height: 24px;
            font-size: 18px;
        }
    }
}
@keyframes mobile {
    from{
        left: -210px;
    }
    to{
        left: 8px;
    }
}
.aside-links{
    border: 0;
    width: 100px;
    height: auto;
    background: none;
    color: var(--txt1);
}
/* Main elements style */
main{
    grid-area: main;
    max-height: calc(100vh - 87px);
    padding: 5px 10px;
    /* overflow: hidden; */
    overflow-y: scroll;
    .box1x1{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 10px 0;
        width: 100%;
        height: auto;
        .box{
            /* width: 93%; */
            width: calc(93% + 3px);
            min-width: 300px;
            height: auto;
            min-height: 170px;
            margin: 0px auto;
            padding: 20px;
            border-radius: 8px;
            .jm-cert{
                padding: 20px 0;
                width: 100%;
                max-width: 800px;
                min-width: 300px;
            }
            span{
                font-weight: 600;
            }
            .chart-container{
                background-color: var(--bg01);
                margin: 20px 0;
                border-radius: 6px;
            }
            .transactionTable{
                /* display: table; */
                width: 100%;
                height: auto;
                border: 1px solid var(--bord);
                border-collapse: collapse;
                /* table-layout: fixed; */
                text-align: center;
                word-break: break-all;
                thead{
                    height: 40px;
                    background-color: var(--thed);
                    tr th{
                        border: 1px solid var(--bord);
                    }
                }
                tbody tr{
                    &:nth-child(odd){
                        background-color: var(--box01-1);
                    }
                }
                tbody tr td{
                    border: 1px solid var(--bord);
                    padding: 5px 0;
                    &:nth-child(1){
                        width: 40px;
                    }
                    &:nth-child(4){
                        width: 270px;
                    }
                }
            }
        }
    }
    .box1x2{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 10px;
        margin: 10px 0;
        width: 100%;
        height: auto;
        .box{
            width: 46%;
            min-width: 300px;
            height: auto;
            min-height: 170px;
            margin: 0px;
            padding: 20px;
            border-radius: 8px;
            span{
                font-weight: 600;
            }
        }
    }
}
@media (min-width: 320px){
    main .box1x1 .box{
        width: 100%;
    }
    main .box1x2 .box{
        width: 100%;
    }
}
@media (min-width: 576px){
    main .box1x1 .box{
        width: 100%;
    }
    main .box1x2 .box{
        width: 100%;
    }
}
@media (min-width: 768px){
    main .box1x1 .box{
        width: 100%;
    }
    main .box1x2 .box{
        width: 100%;
    }
}
@media (min-width: 992px){
    main .box1x1 .box{
        width: calc(93% + 3px);
    }
    main .box1x2 .box{
        width: 46%;
    }
}
@media (min-width: 1200px){
    main .box1x1 .box{
        width: calc(93% + 3px);
    }
    main .box1x2 .box{
        width: 46%;
    }
}
main::-webkit-scrollbar{
    width: 6px;
}
main::-webkit-scrollbar-thumb{
    background: var(--brd2);
    border-radius: 3px;
}
main::-webkit-scrollbar-track{
    background: var(--brd4);
    border: 1px solid var(--bord);
    border-radius: 3px;
}
/* main::-webkit-scrollbar-button{
    background: var(--brd2);
    border-radius: 4px;
} */
.payment-option{
    position: relative;
    margin: 28px 0 0 0;
    padding: 20px 20px 10px 10px;
    border: 1px solid var(--bord);
    border-radius: 8px;
    img{
        position: absolute;
        top: 14px;
        width: 50px;
        height: 50px;
    }
    .std-text{
        margin: 20px 0 20px 0;
        text-align: justify;
        span{
            color: var(--brd2);
        }
    }
    input[type="radio"]{
        padding-bottom: 5px;
        margin-left: 60px;
    }
}
.settingsWrap{
    margin: 20px 0 0 0;
    padding: 10px;
    border: 1px solid var(--bord);
    border-radius: 6px;
}
.lt, .dk{
    width: 100px;
    height: 30px;
    border: 1px solid var(--txt1);
    border-radius: 6px;
    margin: 10px 0 0 0;
    text-transform: uppercase;
}
.lt{
    background: #fffafa;
    color: #222222;
}
.dk{
    background: #222222;
    color: #fffafa;
}
/* Right bar elements style */
rbar{
    display: block;
    grid-area: rbar;
    padding: 10px;
    /* border-left: 1px solid var(--bord); */
    .rbar_box{
        position: relative;
        width: 100%;
        height: auto;
        margin: 0 0 14px 0;
        padding: 10px;
        border: 1px solid var(--bord);
        border-radius: 8px;
        .date{
            position: absolute;
            background: var(--bg02);
            color: var(--hov1);
            padding: 0 5px;
            font-size: 12px;
            top: -7px;
            left: 10px;
        }
        .title{
            margin-bottom: 10px;
            color: var(--btnb);
        }
        .text{
            font-size: 14px;
        }
    }
}
@media (min-width: 320px){
    rbar{
        display: none;
    }
}
@media (min-width: 576px){
    rbar{
        display: none;
    }
}
@media (min-width: 768px){
    rbar{
        display: none;
    }
}
@media (min-width: 992px){
    rbar{
        display: none;
    }
}
@media (min-width: 1200px){
    rbar{
        display: block;
    }
}
/* Forms and Inputs */
form{
    width: 100%;
    max-width: 300px;
    label{
        display: block;
        width: 100%;
        font-size: 16px;
        margin: 5px 0;
    }
    input{
        width: 100%;
        height: 30px;
        margin: 5px 0;
        padding: 0 0 0 5px;
        background: var(--bg01);
        color: var(--txt1);
        border: 1px solid var(--bord);
        border-radius: 4px;
        font-family: 'Roboto';
        font-size: 16px;
        &[type=submit]{
            width: 100%;
            max-width: 150px;
            min-width: 100px;
            padding: 0;
            height: 33px;
            background: var(--btnb);
            color: var(--txt2);
            font-size: 14px;
            text-transform: uppercase;
            text-align: center;
            border: 1px solid var(--btnb);
            cursor: pointer;
            transition: all .3s;
            &:hover{
                background: var(--bg02);
                color: var(--btnb);
                border: 1px solid var(--btnb);
                transition: all .3s;
            }
        }
        &[type=checkbox]{
            text-align: left;
            width: 20px;
            height: 20px;
        }
    }
}
.boxCheckBox{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    margin: 10px 0;
    label{
        width: 110px;
    }
    input{
        width: 40px;
    }
}
/* Footer elements style */
footer{
    grid-area: footer;
    width: 100%;
    height: auto;
    padding: 2px;
    .footer-item{
        padding: 8px 0;
        background-color: var(--bg05);
        color: var(--bg02);
        font-size: .8rem;
        text-align: center;
        border-radius: 6px;
    }
}
/* Other elements style */

.dak{
    background: var(--box01);
    border: 1px solid color-mix(in srgb, var(--box01), #313131 5%);
}
.grn{
    background: var(--box02);
    border: 1px solid color-mix(in srgb, var(--box02), #313131 5%);
}
.yel{
    background: var(--box03);
    border: 1px solid color-mix(in srgb, var(--box03), #313131 5%);
}
.vio{
    background: var(--box04);
    border: 1px solid color-mix(in srgb, var(--box04), #313131 5%);
}
.gra{
    background: var(--box05);
    border: 1px solid color-mix(in srgb, var(--box05), #313131 5%);
}
.rdd{
    background: var(--box06);
    border: 1px solid color-mix(in srgb, var(--box06), #313131 5%);
}
.blu{
    background: var(--box07);
    border: 1px solid color-mix(in srgb, var(--box07), #313131 5%);
}
/* Spans and messages select */
.pagination{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    .flexWrap-form{
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
        .jtopups-form{
            width: 130px;
        }
        .jesimlists-form{
            width: 130px;
        }
        .jmsisdnlists-form{
            width: 130px;
        }
    }
}
.span-success{
    color: var(--succ);
}
.span-atent{
    color: var(--brd2);
    font-size: 16px;
    font-weight: 600;
}
.span-error{
    color: var(--eror);
}
.span-blue{
    color: var(--btna);
}
.hidden{
    display: none;
}
.w100i{
    width: 100%;
    max-width: 100%!important;
}
/* Temps selector */
.long-picture{
    width: 100%;
    img{
        object-fit: contain;
        object-position: center;
        width: 100%;
    }
}
.aside-links{
    border: 0!important;
    width: 100px!important;
    height: auto!important;
    background: none!important;
    color: var(--txt1)!important;
}