﻿@import url('animate.css');

@font-face {
    font-family: 'BESFEHANBOLD';
    src: url('../fonts/BESFEHANBOLD.TTF') format('truetype');
}

@font-face {
    font-family: 'BBADR_0';
    src: url('../fonts/BBADR_0.TTF') format('truetype');
}

@font-face {
    font-family: 'BFANTEZY';
    src: url('../fonts/BFANTEZY.TTF') format('truetype');
}

@font-face {
    font-family: 'BTITRBOLD';
    src: url('../fonts/BTITRBOLD.TTF') format('truetype');
}

@font-face {
    font-family: 'BNAZANIN';
    src: url('../fonts/BNAZANIN.TTF') format('truetype');
}

@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel.woff') format('woff');
}

body {
    padding: 0;
    font-family: Sahel;
    direction: rtl;
    margin: 0;
    display: none;
    overflow-x: hidden;
    background: #dcdcdc;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.upgrade {
    font-family: Sahel;
    text-align: center;
    margin: 20% auto;
    color: #fff;
    padding: 5px;
    background: #396788;
    border-radius: 10px;
}

    .upgrade > h2 {
        font-family: Sahel;
        text-align: center;
        color: #fff;
    }

.up-msg {
    position: fixed;
    top: 10%;
    z-index: 100;
    display: none;
    text-align: center;
    width: 100%;
}

    .up-msg > div {
        background: #e7c20d;
        z-index: 100;
        display: inline-block;
        padding: 13px;
        border-radius: 20px;
        animation: bounceInDown 1s forwards;
        text-align: center;
    }

    .up-msg .des p:first-of-type {
        color: #f00;
        font-size: 18px;
    }

    .up-msg .des p:last-of-type {
        font-size: 15px;
        color: #383838;
    }

    .up-msg .load span {
        font-size: 25px;
        color: #fff;
    }

    .up-msg .load p {
        font-size: 12px;
        display: inline;
    }

.nav {
    background: #3987fd;
    width: 100%;
    height: 60px;
    padding-right: 20px;
    display: flex;
    position: relative;
}

    .nav::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 6px;
        right: 0;
        bottom: -2px;
        animation-name: nav-ani;
        animation-duration: 2s;
    }

@keyframes nav-ani {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}



.logo {
    position: relative;
    cursor: pointer;
}

    .logo > img {
        height: 90%;
        position: relative;
        bottom: 0;
        transition: 0.5s;
        animation: logo-ani forwards 7s;
    }

.txt-logo {
    position: relative;
    top: 8px;
    right: 8px;
}

    .txt-logo > a {
        font-size: 20px;
        font-family: BTITRBOLD;
        color: #fff;
        text-decoration: none;
    }

@keyframes logo-ani {
    from {
        opacity: 0;
        transform: scale(0.2);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.call-us {
    position: absolute;
    align-content: initial;
    display: grid;
    padding-left: 20px;
    margin-top: 5px;
    left: 20px;
    cursor: pointer;
    animation: call_us forwards 5s;
}

@keyframes call_us {
    from {
        transform: translateX(-80px);
    }

    to {
        transform: translateX(0);
    }
}

.call-us > svg {
    color: #f3f3f3;
    transition: 0.5s;
    font-size: 33px;
}

    .call-us > svg:hover {
        color: #99beff;
        transition: 0.5s;
    }

.call-us > i {
    color: #f3f3f3;
    font-size: 10px;
}

.drop-callus {
    position: absolute;
    left: 30px;
    top: 70px;
    border-radius: 5px;
    border-top: solid 2px #001e68;
    background: #ffffff;
    z-index: 20;
    opacity: 0.95;
    display: none;
    animation: slideInLeft forwards 1s;
}

    .drop-callus > div {
        width: 300px;
        height: 350px;
        text-align: start;
        padding: 30px 20px;
        direction: rtl;
    }

        .drop-callus > div > p {
        }

        .drop-callus > div > svg {
            color: #f74b4b;
            position: absolute;
            top: 8px;
            right: 10px;
            font-size: 23px;
            cursor: pointer;
        }

        .drop-callus > div > span {
            display: block;
            padding: 10px;
            background: #3885f9;
            margin: 5px;
            color: #eee;
            border-radius: 10px;
        }

            .drop-callus > div > span > svg {
                font-size: 25px;
                padding: 4px;
                color: #3894e8;
            }

            .drop-callus > div > span > i {
                font-size: 16px;
                padding: 4px;
                color: #1a1a1a;
                font-family: 'BTITRBOLD';
                display: inline-flex;
            }


.menu {
    width: 500px;
    margin: 50px auto;
    padding: 50px;
    text-align: center;
    background: #1e1e1e;
    border-radius: 20px;
    box-shadow: #111 5px 5px 15px;
    transform: scale(0.5);
    animation: pay-menu forwards 4s;
    position: relative;
}

    .menu > a {
        color: #2d9d04;
        font-size: 15px;
        transition: 0.7s;
    }

        .menu > a:hover {
            transition: 0.7s;
            color: #3ad700;
        }

    .menu > p {
        color: #dbdbdb;
        font-size: 13px;
    }

    .menu > h4 {
        color: #dbdbdb;
    }


.loading {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    border-radius: 20px;
    overflow: hidden;
}

    .loading > div {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: linear-gradient( 90deg,transparent, rgb(255 255 255 / 0.26), transparent);
        animation: loading 2s infinite;
    }


@keyframes loading {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

.img-preview {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000a8;
    overflow: scroll;
    top: 0;
    right: 0;
}

    .img-preview > div {
        background: #fff;
        margin: 5%;
        padding: 1%;
        position: relative;
    }

        .img-preview > div > img {
            width: 100%;
        }

    .img-preview > span > svg {
        font-size: 5vh;
        color: #f44;
        position: fixed;
        z-index: 5;
        top: 3%;
        right: 3%;
        cursor: pointer;
    }


.back-arrow {
    position: absolute;
    left: 20px;
    z-index: 20;
    width: 100px;
    top: 20px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    transition: 0.5s;
    display: none;
}

    .back-arrow:hover {
        transition: 0.5s;
        left: 12px;
    }

    .back-arrow > svg {
        display: inline-block;
        color: #d5d5d5;
        position: relative;
        font-size: 20px;
        top: 5px;
    }

    .back-arrow::before {
        content: "بازگشت";
        font-size: 10px;
        display: inline-block;
        color: #dbd9d9;
    }


.select-menu {
    animation: zoomIn forwards 2s;
}

    .select-menu > h4 {
        color: #e5d300;
        margin: 10px auto;
        width: 40%;
        border-bottom: solid 2px #2a2a2a;
        padding: 5px;
    }

    .select-menu > div {
        display: inline;
        padding: 10px;
        margin: 4px;
        text-align: center;
        transition: 0.7s;
        display: inline-block;
        cursor: pointer;
    }

        .select-menu > div:hover {
            transition: 0.7s;
            box-shadow: #3b3501 0 0 7px;
            border-radius: 10px;
        }

            .select-menu > div:hover img {
                transform: scale(1.1);
                transition: 0.7s;
            }

        .select-menu > div > img {
            height: 200px;
            transition: 0.7s;
        }

        .select-menu > div > span {
            display: block;
            color: #d5b504;
            font-size: 15px;
            position: relative;
            box-shadow: 0 0 5px #121212;
            border-radius: 5px;
            padding: 5px;
        }

@keyframes pay-menu {
    from {
        transform: scale(0.5);
    }

    to {
        transform: scale(1);
    }
}

.pay-bill {
    width: 100%;
    display: none;
    animation: zoomIn forwards 2s;
}


    .pay-bill > form {
        text-align: center;
        display: block;
        width: 100%;
        position: relative;
        padding: 20px 0;
    }

        .pay-bill > form > input {
            display: block;
            text-align: center;
            margin: 3px auto;
            width: 60%;
            height: 30px;
            border-radius: 6px;
            border: none;
            background: #014525;
            transition: 0.5s;
            font-family: 'Sahel';
            color: #fdfdfd;
            font-size: 14px;
        }

            .pay-bill > form > input:focus {
                transition: 0.5s;
                transform: scale(1.1);
                border: solid 1px #f6f7f6;
            }

            .pay-bill > form > input[name="btn"] {
                background: #e7edec;
                color: #696969;
                font-size: 17px;
                height: 35px;
                cursor: pointer;
                border: solid 2px #868684;
            }

                .pay-bill > form > input[name="btn"]:hover {
                    transition: 0.5s;
                    color: #e8e8e8;
                    background: #3b3b3b;
                }

        .pay-bill > form > label {
            position: relative;
            font-size: 12px;
            text-align: center;
            bottom: 10px;
            color: #f8f8f5;
        }

.pay-billno {
    animation: zoomIn forwards 2s;
    display: none;
}

.bill-detail {
    padding: 15px 0;
    font-family: 'B Homa';
    animation: zoomIn forwards 2s;
    display: none;
}

    .bill-detail > p > svg {
        font-size: 28px;
        padding: 10px;
        color: #0b66a7;
        transition: 0.5s;
        box-shadow: 0 0 9px #000;
        cursor: pointer;
    }

        .bill-detail > p > svg:hover {
            transform: scale(1.1);
            transition: 0.5s;
        }


.pay-btn {
    background: #11732d;
    padding: 10px;
    width: 40%;
    border: none;
    font-family: b homa;
    color: #dbdbdb;
    font-size: 18px;
    transition: 0.7s;
    border-radius: 5px;
    display: none;
    cursor: pointer;
    margin: 10px 0;
}

    .pay-btn:hover {
        background: #0a461b;
        transition: 0.7s;
    }

.omrani-msg , .aab-msg {
    color: #ffe835;
    font-size: 14px;
    margin: 0 20%;
    display: none;
}

.detail-btn {
    background: transparent;
    border: none;
    font-family: b homa;
    color: #dbdbdb;
    font-size: 15px;
    transition: 0.7s;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px auto;
    display: block;
}

    .detail-btn > svg {
        color: #e5d300;
        margin: 0 5px;
    }

    .detail-btn:hover {
        color: #f7f854;
        transition: 0.7s;
    }

.bill-detail > img {
    display: none;
    margin: 0 auto;
}

.bill-detail > h5 {
    color: #2d9d04;
    display: none;
}
.bill-detail > h3 {
    color: #fff;
    border-bottom: solid 1px #515151;
}
.bill-detail > span {
    display: inline-block;
    width: 45%;
    padding: 5px 0;
    text-align: center;
    background: #076516;
    border-radius: 10px;
}

    .bill-detail > span > i {
        color: #dddddd;
        font-size: 15px;
        display: block;
    }

.bill-detail div {
    display: block;
    padding: 5px 0;
    border-bottom: solid 1px#2b2b2b;
}

#detail-close {
    display: none;
}

.sty-unitno {
    box-shadow: 0 0 5px #ffffff;
    margin: 10px 0;
}

.bill-msg {
    background: #00518b !important;
}

    .bill-msg > span {
        width: 100% !important;
        text-align: center !important;
    }

        .bill-msg > span:first-of-type {
            font-size: 18px !important;
        }

.bill-des {
    background: #1e1e1e;
    border-bottom: none !important;
}

    .bill-des > span {
        text-align: center !important;
        font-size: 16px;
        transition: 0.7s;
        color: #c9c9c9;
        padding: 5px;
        border-bottom: solid 1px #aaa;
        cursor: pointer;
    }

        .bill-des > span:hover {
            transition: 0.7s;
            color: #ffffff;
            font-size: 16.3px;
        }

.bill-detail div > span {
    display: inline-block;
    width: 45%;
    color: #969696;
    text-align: start;
    font-size: 14px;
}

    .bill-detail div > span:last-of-type {
        text-align: end;
    }

.detail-list {
    border-bottom: none !important;
    padding: 0 !important;
    overflow: hidden;
    background: #161616;
}


.titel-bill {
    background: #2a2a2a;
}

.des-bill {
    text-align: center !important;
}

.msg {
    color: #c30000;
    font-size: 14px;
    display: none;
    animation: zoomIn forwards 1s;
}

.description {
    text-align: center;
    position: relative;
    margin: 30px;
    bottom: 30px;
}

    .description > h3 {
        font-size: 18px;
        color: #393939;
        margin: 0;
    }

        .description > h3 > a {
            color: #393939;
            text-decoration: none;
        }

    .description > p {
        font-size: 15px;
        color: #303030;
    }

.footer {
    width: 100%;
    height: 50px;
    background: #353535;
    border-top: solid 1px #5ff909;
    display: block;
    margin-top: 40px;
    position: fixed;
    bottom: 0;
}
/* typical phone screen resolution-------------- */
@media only screen and (max-width : 700px) {
    .nav {
        padding-right: 3px;
        position: fixed;
        z-index: 30;
        top: 0;
        right: 0;
    }

    .up-msg {
        top: 0;
    }

        .up-msg > div {
            width: 100%;
            border-radius: 0;
            padding: 0;
        }

    .txt-logo {
        font-size: 17px;
        right: 5px;
        bottom: 10px;
        top: 13px;
    }

    .logo > img {
        height: 70%;
        bottom: 0;
        right: 3px;
        top: 2px;
    }

    .call-us {
        padding: 0;
        left: 12px;
        margin-top: 11px;
    }

        .call-us > i:first-of-type {
            font-size: 28px;
        }

        .call-us > i:last-of-type {
            font-size: 7px;
        }

    .drop-callus {
        position: fixed;
        left: 0;
        width: 60%;
        top: 0;
        bottom: 0;
        border-radius: 0;
    }

        .drop-callus > div {
            width: auto;
        }

    .menu {
        width: 95%;
        padding: 10px;
        margin: 30% auto;
    }


    @keyframes backarrow {
        from {
            opacity: 0;
            transform: scale(0);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }


    .back-arrow {
        border-radius: 50%;
        opacity: 0;
        bottom: -70px;
        left: 42%;
        background: #1b1b1b;
        position: absolute;
        border: solid 2px #008337;
        top: auto;
        padding: 15px 5px;
        height: auto;
        width: auto;
        animation: backarrow forwards 1.5s 0.5s;
    }

        .back-arrow:hover {
            left: 42%;
        }

        .back-arrow::before {
            font-size: 10px;
            position: relative;
            left: 0;
        }

        .back-arrow > i {
            font-size: 15px;
            top: 2px;
        }

    .pay-bill > form {
        padding: 20px 0;
    }

        .pay-bill > form > input {
            width: 90%;
        }

        .pay-bill > form > label {
            font-size: 10px;
        }

    .select-menu {
        display: flex;
        padding: 5px;
    }

        .select-menu > h4 {
            color: #efca39;
            position: absolute;
            width: 40%;
            text-align: center;
            font-size: 11px;
            top: -10px;
            right: 30%;
            padding: 2px;
        }

        .select-menu > div > img {
            height: 120px;
        }

        .select-menu > div {
            padding: 5px;
            width: 50%;
        }

            .select-menu > div > span {
                font-size: 10px;
                display: inline-block;
                text-align: center;
                width: 100%;
            }

    .description {
        bottom: 10px;
    }

        .description > h3 {
            font-size: 12px;
        }

        .description > p {
            font-size: 10px;
        }

    .img-preview {
        z-index: 100;
    }

        .img-preview > div {
            top: 10%;
        }

    .footer {
        position: fixed;
        bottom: 0;
        right: 0;
    }
}
