body {
    background-color : #F5F5F5;
}


/** index **/
.select-activity label {
    font-family  : VazirMed;
    font-size    : 1.2rem;
    color        : #717171;
    padding-left : 2rem;
}

.select-activity .select2-container--default .select2-selection--single {
    padding          : 5px 1rem;
    height           : 38px;
    background-color : #2E7D32;
    color            : #ffffff;
    border           : none;
    border-radius    : 5px;
    cursor           : pointer;
    font-family      : VazirMed;
    font-size        : .8rem;
    box-shadow       : 0 3px 6px rgba(46, 125, 50, 0.3);
    text-align       : right;
}

.select-activity .select2-selection__rendered {
    text-align : right;
    color      : #ffffff !important;
}

.select-activity .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color : #ffffff transparent transparent transparent;
}

.select2-selection__arrow {
    padding-top : 10px;
}

.select-activity {
    text-align : center;
}

/** table **/
table {
    text-align  : center;
    font-family : VazirMed;
    font-size   : .9rem;
    width       : 100%;
    margin-top  : 2rem;
}

table th,
table td {
    padding : 20px 5px;
    border  : 1px solid rgba(112, 112, 112, 0.1);
}

table th {
    color : #343434;
}

table td {
    color : #747474;
}

table tr:nth-child(even) {
    background-color : rgba(46, 125, 50, 0.07);
}

.select-option {
    background-color : #ffff;
    font-family      : VazirMed;
    font-size        : .9rem;
    border           : 1px solid #717171;
    box-shadow       : 0 3px 6px rgba(112, 112, 112, .06);
    border-radius    : 5px;
    color            : #717171;
    padding          : 5px 10px;
    cursor           : pointer;
}

.submitTable {
    background-color : #2E7D32;
    color            : #ffffff;
    font-size        : 1rem;
    border           : none;
    border-radius    : 5px;
    box-shadow       : 0 3px 6px rgba(46, 125, 50, 0.3);
    padding          : 5px 20px;
}


@media screen and (max-width : 900px) {
    .select-option {
        padding : 5px;
    }

    .submitTable {
        padding : 5px 10px;
    }
}

@media screen and (max-width : 768px) {
    .table-div-last-order {
        font-size : 1.2rem;
    }

    .select-activity {
        text-align : right;
    }

    .group-activity__item,
    .activity__item {
        display         : flex;
        flex-direction  : row;
        justify-content : space-around;
        margin          : 1rem 0;
    }


    table, thead, tbody, th, td, tr {
        display : block;
    }

    thead tr {
        position : absolute;
        top      : -9999px;
        left     : -9999px;
    }

    tr {
        padding          : 0;
        position         : relative;
        margin-bottom    : 1rem;
        overflow         : hidden;
        background-color : #ffffff !important;
        border-radius    : 1rem;
    }

    tr.mode1 {
        border : 1px solid #F06292;
    }

    tr.mode1 td:nth-child(2) {
        background-color : #F06292;
        color            : #ffffff;
    }

    tr.mode2 {
        border : 1px solid #7986CB;
    }

    tr.mode2 td:nth-child(2) {
        background-color : #7986CB;
        color            : #ffffff;
    }

    tr.mode3 {
        border : 1px solid #4DB6AC;
    }

    tr.mode3 td:nth-child(2) {
        background-color : #4DB6AC;
        color            : #ffffff;
    }

    tbody {
        background-color : #ffffff;
    }

    td {
        border           : none;
        border-bottom    : 1px solid rgba(112, 112, 112, .1);
        position         : relative;
        background-color : transparent;
        padding          : 20px 15px !important;
    }

    tr td:last-child {
        position : absolute;
        border   : none;
        left     : 0;
        bottom   : 3px;
    }

    tr td:last-child button {
        padding : 5px 20px;
    }

    td:before {
        /* Now like a table header */
        position      : absolute;
        /* Top/left values mimic padding */
        top           : 1.2rem;
        right         : 0;
        padding-right : 10px;
        white-space   : nowrap;
        text-align    : right;
        color         : #343434;
    }

    td:nth-of-type(8) {
        text-align : right;
    }

    td:nth-of-type(8) select {
        margin-right : 3rem;
        width        : calc(100% - 150px);
        margin-top   : -5px;
    }

    td {
        width      : unset;
        height     : unset;
        padding    : 2rem 1rem;
        text-align : left;
    }

    td:first-child,
    th:first-child {
        display : none;
    }

    td:nth-of-type(2)::before {
        content : "مالک حساب";
        color   : #ffffff;
    }

    td:nth-of-type(3)::before {
        content : "شماره حساب";
    }

    td:nth-of-type(4)::before {
        content : "موجودی";
    }

    td:nth-of-type(5)::before {
        content : "مبلغ مسدود";
    }

    td:nth-of-type(6)::before {
        content : "قابل برداشت";
    }

    td:nth-of-type(7)::before {
        content : "نوع حساب";
    }

    td:nth-of-type(8)::before {
        content : "عملیات";
    }
}

@media screen and (max-width : 400px) {
    .select-activity label {
        padding-left : 10px;
    }
}