/***********************************
             START OF General
    ***********************************/

.failed-txt {
    color: rgb(218, 50, 50);
}

.success-txt {
    color: rgb(8, 167, 8);
}

.chekingloader {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #eca726;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

    .chekingloader::after {
        content: "";
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        border-left: 4px solid #c55f00;
        border-bottom: 4px solid transparent;
        animation: rotation 0.5s linear infinite reverse;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@font-face {
    font-family: IRANSans;
    src: url("../font/IRANSans.ttf");
}

@font-face {
    font-family: IRANSans;
    src: url("../font/IRANSansBold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: IRANSans;
    src: url("../font/IRANSansLight.ttf");
    font-weight: 300;
}

.success {
    background-color: #d7ffcd83;
}

.failed {
    background-color: #ffcbcb65;
}

.checking {
    background-color: #dddddd5e;
}

a,
a:link,
a:hover {
    text-decoration: none !important;
    color: inherit;
}

*,
body,
p,
a,
span {
    font-family: IRANSans;
}

body {
    background-color: #f6f6f6 !important;
}

.red {
    background-color: #9d0000;
}

.green {
    background-color: #10bd10;
}

body .loader {
    background: url(../img/LoadingImg.jpg) center no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 11111;
}

.nav-items {
    border-right: 1px solid #f2c785;
    border-left: 1px solid #f2c785;
}

.topnavbar {
    background: #b7b2d1;
    margin-bottom: 25px;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
    height: 55px;
}

    .topnavbar .top-section {
        align-items: center;
        margin-top: 5px;
        color: #fff;
        justify-content: left;
    }

        .topnavbar .top-section .state {
            margin-left: 15px;
        }

        .topnavbar .top-section .nav-items {
            margin-left: 15px;
            padding-left: 7px;
            padding-right: 7px;
        }

            .topnavbar .top-section .nav-items img {
                padding-left: 8px;
                padding-right: 8px;
            }

        .topnavbar .top-section .state .close-open {
            font-weight: 700;
        }

        .topnavbar .top-section .state .marketClose {
            margin-left: 15px;
            display: inline-block;
            z-index: 111;
            position: relative;
        }

            .topnavbar .top-section .state .marketClose::before {
                z-index: 111;
                content: "";
                background-color: #6e0000;
                height: 7px;
                width: 7px;
                position: absolute;
                top: -5px;
                border-radius: 20px;
                left: 2px;
            }

            .topnavbar .top-section .state .marketClose::after {
                content: "";
                width: 2px;
                height: 2px;
                background: #9d0000;
                position: absolute;
                top: -3px;
                transform-origin: 50% 50%;
                animation: led 2.2s ease-in 0s 5 alternate both;
                animation-iteration-count: infinite;
                border-radius: 20px;
                left: 4px;
                z-index: 11;
                transition: all 0.3s;
            }

        .topnavbar .top-section .state .marketOpen {
            margin-left: 15px;
            display: inline-block;
            z-index: 111;
            position: relative;
        }

            .topnavbar .top-section .state .marketOpen::before {
                z-index: 111;
                content: "";
                background-color: lightgreen;
                height: 7px;
                width: 7px;
                position: absolute;
                top: -5px;
                border-radius: 20px;
                left: 2px;
            }

            .topnavbar .top-section .state .marketOpen::after {
                content: "";
                width: 2px;
                height: 2px;
                background: #46ca69;
                position: absolute;
                top: -3px;
                transform-origin: 50% 50%;
                animation: led 2.2s ease-in 0s 5 alternate both;
                animation-iteration-count: infinite;
                border-radius: 20px;
                left: 4px;
                z-index: 11;
                transition: all 0.3s;
            }


@keyframes led {
    0% {
        transform: scale(00, 00);
    }

    55% {
        transform: scale(18, 18);
    }

    100% {
        transform: scale(00, 00);
    }
}

.sidebar {
    margin-right: 0;
    margin-bottom: 25px;
    padding-right: 0 !important;
}

    .sidebar > div {
        min-height: 790px;
        margin-bottom: 25px;
        border-radius: 5px 0px 0px 5px;
        background: url(../img/BottomBubble.png) left bottom no-repeat, url(../img/TopBubble.png) top right no-repeat, #fff;
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
        padding-top: 15px;
    }

    .sidebar ul {
        list-style: none;
        line-height: 2.5;
        margin-top: 10px;
    }

        .sidebar ul a {
            padding: 5px 0 5px;
        }

        .sidebar ul img {
            margin-left: 15px;
        }

    .sidebar .img-div {
        padding-bottom: 15px;
        border-bottom: 1px solid #f9f2e8;
        text-align: center;
    }

        .sidebar .img-div img {
            width: 70%;
        }

footer {
    background-color: #fff;
    height: 48px;
    box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.25);
}

    footer p {
        color: #787878;
        padding-top: 15px;
        font-size: 13px;
        font-weight: 400;
    }

input {
    height: 45px !important;
    border-radius: 5px !important;
    border: 1px solid #e8e8e8;
    background: #fff !important;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25) !important;
}

    input:focus {
        border: 1px solid #d36803 !important;
    }

.menu-icon .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .menu-icon .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #eef3f7;
    }

    .menu-icon .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .menu-icon .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .menu-icon .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

.menu-icon .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.menu-icon input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}

.menu-icon input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
}

.menu-icon input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

.menu-icon input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}

.menu-icon input[type="checkbox"]:checked ~ .logo {
    display: none;
}

.menu-icon {
    display: none;
}

.fixed {
    overflow: hidden;
    height: 100%;
}
/***********************************
          END OF  General
***********************************/

/***********************************
          START OF LOGIN
***********************************/
body.login {
    /*background: url(../img/BgImg.jpg);*/
    background-size: cover;
}

    body.login .logo {
        width: 176px;
        flex-shrink: 0;
    }

    body.login p {
        color: #2b2b2b;
        margin-top: 22px;
        margin-bottom: 46px;
        text-align: right;
        font-size: 13px;
        font-weight: 400;
    }

    body.login .login-div {
        margin-top: 73px;
        padding: 22px 58px 39px;
        border-radius: 10px;
        background: #fcfcfc;
        box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
        --smooth-corners: 10;
    }

        body.login .login-div input[type="submit"] {
            background: #d6a252 !important;
            border: none;
            font-size: 13px;
            width: 100%;
            margin-top: 30px;
            height: 35px;
            border-radius: 5px;
        }
/***********************************
          END OF LOGIN
***********************************/

/***********************************
      START OF Dashboard-List
***********************************/
.message {
    position: relative;
    border-radius: 5px;
    border: 1px solid #ffbdbd;
    background: #f2fff6;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 25px;
    font-size: 13px;
    color: #000;
}

.txt-not-active{
    opacity:60%
}

.message-txt {
    margin-right: 50px;
    margin-left: 50px;
    line-height: 2;
    /*padding-top: 15px;*/
    text-align: justify;
    padding-bottom: 15px;
}

.message .message-icon,
.message .close-btn {
    position: absolute;
}

/*.message .message-icon {
    top: 30px;
    right: 7px;
}*/

.message .close-btn {
    cursor: pointer;
    left: 7px;
    top: 7px;
}

.panel.products a {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
}

.panel.products table th:first-child,
.panel.products table td:first-child {
    text-align: right;
}

.panel.products td {
    line-height: 1.5;
}

.panel table.table th {
    font-size: 12px;
    color: #333 !important;
    font-weight: 600;
    text-align: center;
    border-bottom-color: #9f6100 !important;
}

.panel table.table tr {
    line-height: 3;
    border-bottom-color: #f5ecda;
}

    .panel table.table tr:last-child,
    .panel table.table tr:last-child td {
        border: 0 !important;
    }

.panel {
    padding-left: 25px;
    padding-right: 25px;
    margin-bottom: 25px;
    border-radius: 5px;
   /* background: url(../img/LogoWatermark.png) center no-repeat, url(../img/BottomBubble.png) left bottom no-repeat, url(../img/TopBubble.png) top right no-repeat, #fff;*/
    background: url(../img/BottomBubble.png) left bottom no-repeat, url(../img/TopBubble.png) top right no-repeat, #fff;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}

    .panel h2 {
        font-size: 14px;
        font-weight: 700;
        padding-top: 19px;
        padding-bottom: 15px;
    }

        .panel h2 img {
            width: 32px;
            height: 32px;
            margin-left: 10px;
        }

    .panel table tr {
        font-size: 17px;
        font-weight: 600;
        text-align: center;
    }

        .panel table th:first-child,
        .panel table tr td:first-child {
            text-align: right !important;
        }

.transaction-history th,
.transaction-history td {
    text-wrap: nowrap;
    padding-left: 20px;
    padding-right: 20px;
}
/***********************************
      END OF Dashboard-List
***********************************/

/***********************************
      START OF Tranaction Page
***********************************/
.transaction-div .alert {
    font-size: 14px;
    color: #242424;
    border-radius: 4px;
    margin-top: 16px;
}

    .transaction-div .alert.buy {
        background-color: #afff9b;
    }

    .transaction-div .alert.sell {
        background-color: #ffa4a4;
    }

.type.buy {
    color: #00600f;
}

.type.sell {
    color: #be0000;
}

.transaction-div .alert .product {
    font-weight: bold;
    color: #000;
}

.numb-input {
    text-align: right;
}

.transaction-div {
    margin-bottom: 50px;
    border-radius: 5px;
    background: url(../img/transaction-bg.png) no-repeat center, #fff;
    padding: 15px 15px 31px 15px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}

    .transaction-div .select {
        font-size: 12px;
        height: 45px;
        color: #4f4f4f;
        border-radius: 5px !important;
        border: 1px solid #e8e8e8;
        box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.25);
    }

    .transaction-div label {
        color: #4e4e4e;
        font-size: 12px;
    }

    .transaction-div span {
        color: #505050;
        font-size: 14px;
    }

.transaction-detail div {
    margin-bottom: 12px;
}

    .transaction-detail div.total {
        margin-top: 12px;
    }

.transaction-detail hr {
    background-color: #ccc;
    margin-top: 3px;
    margin-bottom: 2px;
}

.transaction-div .submit-transaction {
    margin-top: 24px;
    width: 100%;
    display: block;
    color: #fff !important;
    border-radius: 5px;
    height: 45px;
    line-height: 3;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.transaction-div .buy-btn {
    background: #339f00;
}

.transaction-div .sell-btn {
    background: #b43c3c;
}

label.explain {
    position: absolute;
    left: 20px;
    top: 30px;
    padding-right: 10px;
    border-right: 1px solid #e8e8e8;
    height: 43px;
    padding-top: 11px;
    margin-top: 0px;
    color: #828282;
    width: 50px;
    text-align: center;
}

.sell-tab-btn {
    color: #930000 !important;
    font-size: 12px;
    font-weight: 500;
}

.buy-tab-btn {
    color: #339f00 !important;
    font-size: 12px;
    font-weight: 500;
}

ul#tabs-nav {
    text-align: center;
    list-style: none;
    margin: 0;
    line-height: 2.5;
    padding: 5px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #d1d1d1;
    background: #f3f3f3;
    margin-bottom: 22px;
    height: 50px;
}

    ul#tabs-nav li {
        cursor: pointer;
        display: inline-block;
        text-align: center;
        width: 49%;
        height: 36px;
        margin: auto;
    }

        ul#tabs-nav li:hover,
        ul#tabs-nav li.active {
            border-radius: 5px;
            background: #fff;
            box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
        }

.center-div {
    justify-content: center;
}

#datePart {
    direction: ltr;
    overflow-wrap: break-word;
    inline-size: 180px;
    text-align: end;
}
/***********************************
      END OF  Tranaction Page
***********************************/
@media (max-width: 576px) {
/*    .panel {
        background: url(../img/transaction-bg.png) center no-repeat, url(../img/BottomBubble.png) left bottom no-repeat, url(../img/TopBubble.png) top right no-repeat, #fff;
    }*/

    #datePart {
        padding-left:25px;
        inline-size: 100px;
        text-align: end;
    }

    .topnavbar .top-section {
        align-items: center;
        justify-content: center;
    }

    .topnavbar .state span:nth-child(2) {
        display: none;
    }

    .topnavbar .nav-items {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .sidebar {
        position: absolute;
        right: -20%;
        right: -110%;
        width: 90%;
        z-index: 11;
        top: 55px;
        transition: all 0.5s;
    }

        .sidebar.open {
            transition: all 0.9s;
            right: 0;
        }

    .overlay {
        background: #3d372ed6;
        width: 100%;
        position: absolute;
        left: 0;
        right: -100%;
        display: block;
        z-index: 1;
        height: 100%;
        transition: all 0.6s;
        top: 55px;
    }

        .overlay.show {
            transition: all 0.7s;
            right: 0;
        }
}
