﻿@import url('commen/commen.css');
@import url('commen/header.css');
@import url('commen/path.css');
@import url('commen/pagination.css');
@import url('commen/footer.css');
@import url('commen/popup.css');


/*custom*/
body {
    height: auto;
    background:rgba(250,250,250,1);
    overflow-x:hidden;
    overflow-y:auto;
}

header {
    grid-auto-rows: 60px;
      padding: 10px 20px;
}

main {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    background: rgba(255,255,255,1);
}

nav > a:before {
    color: var(--primary);
}

nav > a > span {
    color: var(--primary);
}

.content {
    display: table;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 800px;
    padding: 20px 20px;
}

section {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: max-content;
    justify-content: start;
    align-items: start;
    grid-gap: 15px;
    position: relative;
    width: 75%;
    margin: 0px auto;
    direction: rtl;
}

    section > .filter {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        grid-gap: 15px;
        position: relative;
        width: 100%;
    }

        section > .filter > i {
            display: none;
        }

        section > .filter > div {
            display: flex;
            flex-flow: column wrap;
            justify-content: flex-start;
            align-items: center;
            grid-gap:10px;
            position: relative;
            width: 100%;
            height: auto;
            min-height: 50px;
            padding: 10px 20px 20px 20px;
            border-radius: 5px;
            background: rgba(255,255,255,1);
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }

            section > .filter > div > p {
                display: flex;
                flex-flow: row nowrap;
                justify-content: flex-start;
                align-items: center;
                grid-gap:10px;
                position: relative;
                width:100%;
                font-size: clamp(16px, 2vw,18px);
                color: var(--primary);
                padding: 0px 0px 10px 0px;
                border-bottom: solid 1px var(--border);
            }

                section > .filter > div > p:before {
                    position:relative;
                    top:4px;
                    font: clamp(16px, 2vw,18px) "uifont";
                }

            section > .filter > div > .search {
                display: block;
                position: relative;
                width: 100%;
                height: 40px;
                border-radius: 20px;
                background: rgba(245,245,245,1);
                -webkit-transition: all 0.2s ease-in-out;
                transition: all 0.2s ease-in-out;
                overflow: hidden;
                cursor: pointer;
            }

                section > .filter > div > .search:hover {
                    background: rgba(230,230,230,1);
                }

                section > .filter > div > .search > input {
                    position: relative;
                    width: 100%;
                    height: 100%;
                    font-size: clamp(14px, 2vw, 16px);
                    color: var(--secondary);
                    padding: 0px 15px 2px 45px;
                    background: var(--transparent);
                }

                    section > .filter > div > .search > input::-webkit-input-placeholder {
                        font-size: clamp(13px, 2vw, 15px);
                    }

                section > .filter > div > .search > button {
                    display: flex;
                    flex-flow: row nowrap;
                    justify-content: center;
                    align-items: center;
                    position: absolute;
                    top:10px;
                    left:15px;
                    background: var(--transparent);
                    border-radius: 5px 0px 0px 5px;
                    -webkit-transition: all 0.2s linear;
                    transition: all 0.2s linear;
                }

                    section > .filter > div > .search > button:before {
                        font-size: 18px;
                        color: var(--secondary);
                    }

                    section > .filter > div > .search > button:hover:before {
                        font-size: 18px;
                        color: var(--primary);
                    }

            section > .filter > div > .select {
                position: relative;
                width: 100%;
                height: 40px;
                border-radius: 20px;
                background: rgba(245,245,245,1);
                -webkit-transition: all 0.2s ease-in-out;
                transition: all 0.2s ease-in-out;
                cursor: pointer;
                z-index: 4;
            }

                section > .filter > div > .select:hover {
                    background: rgba(230,230,230,1);
                }

                section > .filter > div > .select:before {
                    position: absolute;
                    top: 15px;
                    left: 15px;
                    font-size: 18px;
                    color: var(--gray);
                }

                section > .filter > div > .select > .selectOption {
                    display: block;
                    position: relative;
                    width: 100%;
                    height: 100%;
                    font-size: clamp(14px, 2vw, 16px);
                    color: var(--secondary);
                    padding: 0px 15px 0px 35px;
                    border: none;
                    outline: none;
                    border-radius: 20px;
                    background: var(--transparent);
                    cursor: pointer;
                    -webkit-appearance: none;
                    appearance: none;
                }

            section > .filter > div > ul {
                display: flex;
                flex-flow: column wrap;
                justify-content: center;
                align-items: center;
                grid-gap:5px;
                position: relative;
                width: 100%;
            }

                section > .filter > div > ul > li {
                    display: flex;
                    flex-flow: row nowrap;
                    justify-content: flex-start;
                    align-items: center;
                    grid-gap: 5px;
                    position: relative;
                    width: 100%;
                }

                section > .filter > div > ul > li:before {
                    position:relative;
                    font-size: clamp(12px, 2vw, 14px);
                    color: var(--gray);
                }

                    section > .filter > div > ul > li > a {
                        position: relative;
                        font-size: clamp(14px, 2vw, 16px);
                        color: var(--primary);
                        -webkit-transition: all 0.2s ease-in-out;
                        transition: all 0.2s ease-in-out;
                    }

                    section > .filter > div > ul > li > a.active {
                        color: var(--secondary);
                    }

                    section > .filter > div > ul > li > a:hover {
                        color: var(--secondary);
                    }

                    section > .filter > div > ul > li > span {
                        display: flex;
                        flex-flow: row nowrap;
                        justify-content: center;
                        align-items: center;
                        grid-gap:4px;
                        position: relative;
                        top: 1px;
                        font-size: clamp(10px, 2vw, 12px);
                        color: var(--red);
                    }

                        section > .filter > div > ul > li > span:before {
                            content: "\e008";
                            position: relative;
                            top:2px;
                            font: clamp(10px, 2vw, 12px) "uicons";
                            color: var(--gray);
                        }

                        section > .filter > div > ul > li > span:after {
                            content: "\e007";
                            position: relative;
                            top:2px;
                            font: clamp(10px, 2vw, 12px) "uicons";
                            color: var(--gray);
                        }

            section > .filter > div > .contact {
                display: flex;
                flex-flow: row nowrap;
                justify-content: flex-start;
                align-items: center;
                grid-gap: 20px;
                position: relative;
            }

                section > .filter > div > .contact > a {
                    display: flex;
                    flex-flow: row nowrap;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    width: 45px;
                    height: 45px !important;
                    padding: 0;
                    border-radius: 100%;
                    background: var(--primary);
                    -webkit-transition: all 0.2s linear;
                    transition: all 0.2s linear;
                }

                    section > .filter > div > .contact > a:hover {
                        background: var(--balck);
                        -webkit-transition: all 0.20s linear;
                        transition: all 0.20s linear;
                    }

                    section > .filter > div > .contact > a:before {
                        font-size: 20px;
                        color: var(--white);
                    }

            section > .filter > div > .list {
                display: flex;
                flex-flow: column nowrap;
                justify-content: flex-start;
                align-items: flex-start;
                grid-gap: 5px;
                position: relative;
                width: 100%;
            }


                section > .filter > div > .list > span {
                    display: flex;
                    flex-flow: row nowrap;
                    justify-content: flex-start;
                    align-items: flex-start;
                    position: relative;
                    width: 100%;
                    grid-gap: 5px;
                    font-size: clamp(12px, 2vw, 14px);
                    color: var(--balck);
                    -webkit-transition: all 0.2s linear;
                    transition: all 0.2s linear;
                }

                    section > .filter > div > .list > span:before {
                        font: clamp(12px, 2vw, 14px) "uicons";
                        color: var(--gray);
                    }


    section > .data {
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(300px, 1fr));
        grid-template-rows: max-content;
        justify-content:flex-start;
        align-items:center;
        grid-gap:15px;
        position:relative;
        width:100%;
    }

        section > .data > div {
            display: flex;
            flex-flow: column wrap;
            align-content: flex-start;
            align-items: center;
            grid-gap: 12px;
            position: relative;
            width: 100%;
            padding: 15px;
            border-radius: 5px;
            border: solid 1px rgba(230,230,230,1);
            background: var(--white);
            -webkit-transition: all 0.2s linear;
            transition: all 0.2s linear;
            overflow:hidden;
            cursor: pointer;
        }

    section > .data > div > img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 3px;
    }

            section > .data > div > p:nth-child(2) {
                align-self: flex-start;
                position: relative;
                font: clamp(16px, 2vw, 20px) "jfm";
                color: rgba(36,59,103,1);
            }

            section > .data > div > p:nth-child(3) {
                align-self: flex-start;
                position: relative;
                height: 60px;
                font-size: clamp(14px, 2vw, 16px);
                text-align: right;
                color: rgba(100,100,100,1);
                overflow: hidden;
            }

    section > .data > div > p:nth-child(4) {
        display: flex;
        flex-flow: row wrap;
        justify-content: flex-start;
        align-items: center;
        grid-gap: 3px;
        position: relative;
        width:100%;
        font: 20px "jfm";
        text-align: right;
        color: rgba(52, 135, 180,1);
    }

        section > .data > div > p:nth-child(4) span {
            position: relative;
            font-size: 14px;
            text-align: right;
            color: rgba(0,0,0,0.5);
        }

        section > .data > div > p:nth-child(4) > i {
            display: flex;
            flex-flow: row wrap;
            grid-gap: 4px;
            font-size: clamp(12px, 2vw, 14px);
            font-style: unset;
            border-radius: 3px;
            margin-right: auto;
        }

            section > .data > div > p:nth-child(4) > i:before {
                position: relative;
                top: 3px;
                font: clamp(12px, 2vw, 14px) "uicons";
            }

            section > .data > div > p:nth-child(4) > i.orange {
                color: rgba(246,133,31,1);
            }

            section > .data > div > p:nth-child(4) > i.red {
                color: rgb(225,0,0,1);
            }

            section > .data > div > button {
                display: flex;
                flex-flow: row nowrap;
                justify-content: center;
                align-items: center;
                position: relative;
                width: 100%;
                height: 40px;
                font-size: clamp(14px, 2vw, 16px);
                color: var(--white);
                border-radius:3px;
                background: var(--primary);
                -webkit-transition: all 0.2s linear;
                transition: all 0.2s linear;
            }

            section > .data > div > button:hover {
                background:var(--secondary);
            }



/*-- media query --*/
@media only screen and (max-width : 1200px) {

    section {
        width: 100%;
    }

}


@media only screen and (max-width : 1024px) {


    section {
        grid-template-columns: 1fr;
    }

        section > .filter {
            position: absolute;
            width: 300px;
            top: 0;
            right: -100%;
            background: var(--white);
            box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
            -webkit-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
            z-index: -1;
        }

            section > .filter.show {
                right: 0;
                z-index: 20;
            }

            section > .filter > div {
                padding: 10px 20px 20px 20px;
                border-radius: unset;
                background: unset;
                box-shadow: unset;
            }

            section > .filter > i {
                display: flex;
                flex-flow: row nowrap;
                justify-content: center;
                align-items: center;
                position: absolute;
                width: 30px;
                height: 30px;
                top: -13px;
                left: -13px;
          
                background: var(--red);
                border-radius: 100%;
                -webkit-transition: all 0.2s ease-in-out;
                transition: all 0.2s ease-in-out;
                cursor:pointer;
            }

            section > .filter > i:hover {
                background: var(--balck);
 
            }

                section > .filter > i:before {
                    font: clamp(8px, 2vw, 10px) "uicons";
                    color: var(--white);
                    padding: 0px 1px 2px 0px;
                }



}

@media only screen and (max-width: 768px) {

    section > .filter.show {
        right: 0px;
        z-index: 20;
    }

    section > .filter {
        position: fixed;
        justify-content: flex-start;
        width: 250px;
        height: 100%;
        overflow-y: auto;
 
    }

        section > .filter > i {
            width: 40px;
            height: 40px;
            top: unset;
            right: 0px;
            bottom:20px;
            left: 0px;
            margin: auto;

        }

            section > .filter > i:before {
                font: clamp(12px, 2vw, 14px) "uicons";
                padding: 0px 1px 2px 0px;
            }

}

@media only screen and (max-width: 600px) {


}

@media only screen and (max-width: 414px) {

    section > .data {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 380px) {

}
