﻿:root {
    --content : #373737;
}

ol, ul {
    list-style: none;
}

.search {
    min-height: 465px;
    position: relative;
    margin: 0px 20px;
}
    .search .topText {
        max-width: 288px;
        margin-bottom: 32px;
        text-align: justify;
        font-size: 14px;
        line-height: 24px;
        color: var(--content);
        direction: rtl;
    }

    .search .form {
        display: flex;
        flex-direction: column;
        max-width: 220px;
        margin: 0px auto;
    }
        .search .form .comboTitle {
            margin-left: auto;
            font-size: 14px;
            line-height: 24px;
            color: var(--content);
        }
        .search .form .nationality {
            width: 100%;
            height: 40px;
            margin-bottom: 32px;
            border-radius: 8px;
            direction: rtl;
        }

        .search .form .parts {
            display: flex;
            justify-content: space-between;
            align-items: center;
            direction: ltr;
        }

            .search .form .parts * {
                overflow: auto;
                font-size: 14px;
            }

            .search .form .parts input {
                display: inline-block;
                height: 40px;
                text-align: center;
                line-height: 24px;
                border: 1px solid #E1E1E1;
                box-shadow: 0px 0px 1px 0px #BABABA4D, 0px 2px 2px 0px #BABABA14;
                font-family: Tahoma;
                direction: ltr;
            }
        .search .form .title {
            padding-bottom: 4px;
        }
        .search .form > div {
            text-align: right;
            zzzzzmargin-bottom: 108px;
        }

        .search .form .iranEntezami {
            display: none;
        }
            .search .form .iranTransit .parts .part1, .search .form .iranEntezami .parts .part1 {
                width: 45px;
                margin-right: 6px;
            }
            .search .form .iranTransit .parts .part2, .search .form .iranEntezami .parts .part2 {
                width: 45px;
                margin-right: 6px;
                font-family: Vazirmatn FD;
            }
            .search .form .iranTransit .parts .part3, .search .form .iranEntezami .parts .part3 {
                width: 56px;
                margin-right: 5px;
            }
            .search .form .iranTransit .parts .dash, .search .form .iranEntezami .parts .dash {
                display: inline-block;
                width: 7px;
                height: 2px;
                margin-right: 5px;
                background-color: #E1E1E1;
            }
            .search .form .iranTransit .parts .part4, .search .form .iranEntezami .parts .part4 {
                width: 45px;
            }

        .search .form .afghanestan {
            display: none;
        }
            .search .form .afghanestan .parts .part1 {
                width: 44px;
                margin-right: 8px;
            }
            .search .form .afghanestan .parts .part2 {
                width: 80px;
                margin-right: 8px;
                font-family: Vazirmatn FD;
                direction: rtl;
            }
            .search .form .afghanestan .parts .part3 {
                width: 80px;
            }

        .search .form .other {
            display: none;
        }
            .search .form .other .parts .part1 {
                display: unset;
                width: 100%;
            }

    .search .notFound {
        display: none;
        margin-top: 32px;
        text-align: justify;
        line-height: 22px;
        direction: rtl;
    }
        .search .notFound .top {
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            font-weight: 400;
            line-height: 28px;
            color: #BD0006;
        }
        .search .notFound .part1, .search .notFound .part2 {
            font-size: 14px;
            font-weight: 400;
            line-height: 24px;
            text-align: justify;
        }
        .search .notFound .part1 {
            margin: 32px 0px 32px 0px;
        }
        .search .notFound .part2 {
            margin-bottom: 40px;
        }

        .search .notFound .telephone {
            display: inline-block;
            direction: ltr;
        }
    .search .buttonsArea {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 40px;
        margin-bottom: 60px;
        text-align: center;
    }
        .search .buttonsArea .btnSearch {
            align-self: center;
        }
        .search .buttonsArea img {
            align-self:center;
        }

.beforeBank {
    display: none;
    position: relative;
    zzxheight: 100%;
    margin: 0px 20px;
    color: var(--content);
}
    .beforeBank .truckInfo {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 16px;
        margin-bottom: 32px;
        text-align: center;
    }
        .beforeBank .truckInfo .plateIran {
            display: flex;
            justify-content: center;
            font-size: 27px;
            font-weight: 700;
            line-height: 44px;
        }

        .beforeBank .truckInfo .truckTirNo {
            font-size: 27px;
            font-weight: 700;
            line-height: 44px;
            font-family: Tahoma;
        }
        .beforeBank .truckInfo .chassisNo, .beforeBank .truckInfo .creditEndDate {
            font-size: 14px;
            font-weight: 700;
            line-height: 24px;
        }

        .beforeBank .truckInfo .edit {
            margin-top: 8px;
            width: 32px;
            height: 32px;
            cursor: pointer;
        }

    .beforeBank .message {
        display: none;
        margin-bottom: 32px;
        color: #BD0006;
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
        text-align: center;
        direction: rtl;
    }
    .beforeBank .serviceInfo {
        max-width: 220px;
        margin: 0px auto 32px auto;
        font-family: Vazirmatn FD;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        text-align: right;
        direction: rtl;
    }
        .beforeBank .serviceInfo select {
            max-width: 296px;
            width: 100%;
            height: 40px;
            border: 1px solid #000000;
            margin: 4px 0px 32px 0px;
        }

        .beforeBank .serviceInfo .price {
            font-size: 27px;
            font-weight: 700;
            line-height: 44px;
            text-align: center;
        }

    .beforeBank .mobileInfo {
        text-align: center;
        margin-bottom: 32px;
    }
        .beforeBank .mobileInfo div {
            margin-bottom: 4px;
            font-size: 14px;
            font-weight: 400;
            line-height: 24px;
            text-align: right;
            direction: rtl;
        }
        .beforeBank .mobileInfo .mobileNo {
            width: 100%;
            height: 40px;
            line-height: 24px;
            font-size: 14px;
            font-family: Tahoma;
            text-align: center;
            padding: 0px 8px 0px 8px;
            border-radius: 8px;
            box-shadow: 0px 2px 2px 0px #BABABA14, 0px 0px 1px 0px #BABABA4D;
        }
            .beforeBank .mobileInfo .mobileNo::-webkit-input-placeholder {
                font-family: Tahoma;
            }
            .beforeBank .mobileInfo .mobileNo:-ms-input-placeholder {
                font-family: Tahoma;
            }
            .beforeBank .mobileInfo .mobileNo::-moz-placeholder {
                font-family: Tahoma;
            }
            .beforeBank .mobileInfo .mobileNo:-moz-placeholder {
                font-family: Tahoma;
            }

        .beforeBank .banksArea {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
            direction: rtl;
        }
            .beforeBank .banksArea div {
                display: flex;
                width: 70px;
                height: 50px;
                border-radius: 10px;
                border: 1px solid #F1F1F1;
                cursor: pointer;
            }

            .beforeBank .banksArea .pasargad {
                display: none;
                background: url('../Images/Payment/Banks/Pasargad.png') no-repeat center center;
            }

            .beforeBank .banksArea .enBank {
                display: none;
                background: url('../Images/Payment/Banks/EnBank.png') no-repeat center center;
            }

            .beforeBank .banksArea div.selected {
                border: 1px solid #3E53A4;
            }

    .beforeBank .buttonsArea {
        display: none;
        width: 100%;
        margin-bottom: 60px;
        text-align: center;
    }

.loading {
    display: none;
}


.search .form .nationalitySelectWrapper {
    position: relative;
    margin-bottom: 32px;
}

    .search .form select.nationality, .search .form .nationalitySelectWrapper button {
        max-width: 220px;
        width: 100%;
        height: 40px;
        padding-right: 8px;
        border: 1px solid #D3D3D3;
        outline: 0px;
        border-radius: 8px;
        direction: rtl;
        background-color: white;
        appearance: none;
        box-shadow: 0px 2px 2px 0px #BABABA14, 0px 0px 1px 0px #BABABA4D;
    }

    .search .form .nationalitySelectWrapper button {
        text-align: right
    }
        .search .form .nationalitySelectWrapper button.oppened {
            border-radius: 8px 8px 0px 0px;
            border-bottom: 1px solid transparent;
            height: 40px;
        }

    .search .form .nationalitySelectWrapper select option {
        direction: rtl;
    }

    .search .form .nationalitySelectWrapper .arrow {
        background-image: url('../Images/Public/DownArrow.png');
        width: 15px;
        height: 8px;
        position: absolute;
        top: 16px;
        left: 8px;
        background-position: center center;
        background-repeat: no-repeat;
        transition: all .2s ease;
        pointer-events: none;
    }

        .search .form .nationalitySelectWrapper .arrow.oppened {
            transform: rotate(180deg);
        }

    .search .form .nationalitySelectWrapper .listWrapper {
        display: none;
        overflow: hidden;
        position: absolute;
        top: 37px;
        left: 0px;
        width: 100%;
        max-height: 0px;
        margin-top: 2px;
        border-radius: 0px 0px 8px 8px;
        border: 1px solid #D3D3D3;
        border-top: 0px;
        background-color: white;
        transition: max-height .2s ease;
        z-index: 1;
    }

    .search .form .nationalitySelectWrapper ul {
        overflow: auto;
        width: 100%;
        min-height: 48px;
        max-height: 196px;
        direction: rtl;
        margin-left: auto;
    }

        .search .form .nationalitySelectWrapper ul li {

        }

            .search .form .nationalitySelectWrapper ul li:last-child {
                border-bottom: 0px;
            }

            .search .form .nationalitySelectWrapper ul li a {
                display: flex;
                align-items: center;
                min-height: 48px;
                padding: 0px 24px;
                text-align: right;
                color: black;
            }

                .search .form .nationalitySelectWrapper ul li a:focus {
                    border-top: 1px solid #AAA;
                    border-bottom: 1px solid #AAA;
                }

                .search .form .nationalitySelectWrapper ul li a:hover {
                    background-color: #ECEEF6;
                }

                .search .form .nationalitySelectWrapper ul li a.selected {
                    background-color: #ECEEF6;
                }

        .search .form .nationalitySelectWrapper ul::-webkit-scrollbar {
            width: 7px;
        }

        .search .form .nationalitySelectWrapper ul::-webkit-scrollbar-track {
        }

        .search .form .nationalitySelectWrapper ul::-webkit-scrollbar-thumb {
            background: #E3E3E3;
            border-radius: 5px;
        }

            .search .form .nationalitySelectWrapper ul::-webkit-scrollbar-thumb:hover {
                background: #D3D3D3;
            }

        .search .form .nationalitySelectWrapper ul::-webkit-scrollbar-button {
            /* dont delete!! This is for hide arrows at top and bottom */
        }


        /*      ------      */


.beforeBank .serviceInfo .serviceSelectWrapper {
    position: relative;
    margin-bottom: 32px;
    margin: 0px auto;
}

    .beforeBank .serviceInfo select.service, .beforeBank .serviceInfo .serviceSelectWrapper button {
        max-width: 220px;
        width: 100%;
        height: 40px;
        padding-right: 8px;
        border: 1px solid #D3D3D3;
        outline: 0px;
        border-radius: 8px;
        direction: rtl;
        background-color: white;
        appearance: none;
        box-shadow: 0px 2px 2px 0px #BABABA14, 0px 0px 1px 0px #BABABA4D;
    }

    .beforeBank .serviceInfo .serviceSelectWrapper button {
        text-align: right
    }

        .beforeBank .serviceInfo .serviceSelectWrapper button.oppened {
            border-radius: 8px 8px 0px 0px;
            border-bottom: 1px solid transparent;
            height: 40px;
        }

    .beforeBank .serviceInfo .serviceSelectWrapper select option {
        direction: rtl;
    }

    .beforeBank .serviceInfo .serviceSelectWrapper .arrow {
        background-image: url('../Images/Public/DownArrow.png');
        width: 15px;
        height: 8px;
        position: absolute;
        top: 16px;
        left: 8px;
        background-position: center center;
        background-repeat: no-repeat;
        transition: all .2s ease;
    }

        .beforeBank .serviceInfo .serviceSelectWrapper .arrow.oppened {
            transform: rotate(180deg);
        }

    .beforeBank .serviceInfo .serviceSelectWrapper .listWrapper {
        display: none;
        overflow: hidden;
        position: absolute;
        top: 37px;
        left: 0px;
        width: 100%;
        max-height: 0px;
        margin-top: 2px;
        border-radius: 0px 0px 8px 8px;
        border: 1px solid #D3D3D3;
        border-top: 0px;
        background-color: white;
        transition: max-height .2s ease;
        z-index: 1;
    }

    .beforeBank .serviceInfo .serviceSelectWrapper ul {
        overflow: auto;
        width: 100%;
        min-height: 48px;
        max-height: 196px;
        direction: rtl;
        margin-left: auto;
    }

        .beforeBank .serviceInfo .serviceSelectWrapper ul li {
        }

            .beforeBank .serviceInfo .serviceSelectWrapper ul li:last-child {
                border-bottom: 0px;
            }

            .beforeBank .serviceInfo .serviceSelectWrapper ul li a {
                display: flex;
                align-items: center;
                min-height: 48px;
                padding: 0px 24px;
                text-align: right;
                color: black;
            }

                .beforeBank .serviceInfo .serviceSelectWrapper ul li a:focus {
                    border-top: 1px solid #AAA;
                    border-bottom: 1px solid #AAA;
                }

                .beforeBank .serviceInfo .serviceSelectWrapper ul li a:hover {
                    background-color: #ECEEF6;
                }

                .beforeBank .serviceInfo .serviceSelectWrapper ul li a.selected {
                    background-color: #ECEEF6;
                }

        .beforeBank .serviceInfo .serviceSelectWrapper ul::-webkit-scrollbar {
            width: 7px;
        }

        .beforeBank .serviceInfo .serviceSelectWrapper ul::-webkit-scrollbar-track {
        }

        .beforeBank .serviceInfo .serviceSelectWrapper ul::-webkit-scrollbar-thumb {
            background: #E3E3E3;
            border-radius: 5px;
        }

            .beforeBank .serviceInfo .serviceSelectWrapper ul::-webkit-scrollbar-thumb:hover {
                background: #D3D3D3;
            }

        .beforeBank .serviceInfo .serviceSelectWrapper ul::-webkit-scrollbar-button {
            /* dont delete!! This is for hide arrows at top and bottom */
        }
