/*--------------------- search-result -------------- */

@media only screen and (max-width: 1200px) {

    .saba {font-weight: bold; font-size: 0.6rem;}

}
#bmg{
    text-decoration: none;
}

a {
    text-decoration: none !important;
    /*color: #212529 !important;*/

}
a:hover{
    /*color: #212529 !important;*/
}


/*--------------------- search-result -------------- */

.filterheader{
    background-color:#d4dade ;
    color:#322B4A !important;
}

/*.filterheader a{*/
/*    background-color: white;*/
/*    color: white; !important;*/
/*}*/
.filbtn{
    background-color: #b7c1c8;
    border: 1px solid #6f8390;

    transition: 0.3s;
}
.filbtn:hover{
    background-color: #f1f3f4;
    border: 1px solid #b7c1c8;
}

.pagedirection{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    direction: rtl;
}

.imgcard{
    width: 100%;
    height: 248px;
    border-radius: 8px 8px 0 0;
}
.imgcard img{
    position: relative;
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: 100%;
}


.textonimgcard {
    position: absolute;
    top:0px;
    right:0px;
    width: 25px;
    height: 20px;
}
.textonimgcard a{
    color:#000000;
    visibility: hidden;
    transition: .3s;
}
.textonimgcard .fa-cart-arrow-down{
    font-size:24px;
    color:#322b4ade;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.925);
    padding: 15% 15%;
    border-radius: 0 8px 0 50%;
}
.cardshadow:hover{
    box-shadow: 2px 2px 5px 1px#a3a3a3;
}
.cardshadow .textonimgcard a{
    transition: 0.2s
}
.cardshadow:hover .textonimgcard a{
    visibility: visible;
}

.mycard{
    width: 23%;
    height: auto;
    min-width: 22%;
    border: 1px solid lightgrey;
    background-color: white;
    transition: 0.3s;
    margin: 1%;
    position: relative;
}

.detailbtn{
    width: fit-content;
    padding: 2% 4%;
    margin: 0!important;
    border-width: 1px 1px 1px 0px;
    border-radius: 0px 4px 4px 0;
    border-style: solid;
    border-color: lightgrey;
    text-decoration: none;
    text-align: center;
    color: #322B4A;
    transition: 0.3s;
}

.dakkehNamebtn{
    padding: 2% 4%;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: lightgrey;
    border-radius: 4px 0 0 4px;
}

.showdakkeh{
    display: inline;
    padding: 2% 8%;
    margin: 0;
    border-width: 1px;
    border-radius: 4px;
    border-style: solid;
    border-color: lightgrey;
    text-decoration: none;
    text-align: center;
    color: #322B4A;
    transition: 0.3s;
}

.returnbtn{
    display: inline;
    padding: 1% 5%;
    margin: 0;
    background-color: #322B4A;
    color: rgb(255, 255, 255);
    border-style: solid;
    border-color: #322B4A;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}
.returnbtn:hover{
    background-color: rgb(255, 255, 255);
    color: #322B4A;
    border-style: solid;
    border-color: #322B4A;

}
.detailbtn:hover{
    background-color: #322B4A;
    color: rgb(255, 255, 255);
    border-style: solid;
    border-color: #322B4A;
}
.dakkehNamebtn:hover{
    background-color: #322B4A;
    color: rgb(255, 255, 255);
    border-style: solid;
    border-color: #322B4A;
}
.showdakkeh:hover{
    background-color: #322B4A;
    color: rgb(255, 255, 255);
    border-style: solid;
    border-color: #322B4A;
}


.detailbtn span{
    color: #322B4A;
    text-decoration: none;
}
.dakkehNamebtn span{
    color: #322B4A;
    text-decoration: none;
}

.dakkehNamebtn:hover .dakkehNamebtnTXT{
    color: rgb(255, 255, 255) !important;
}
.detailbtn:hover .detailbtnTXT{
    color: rgb(255, 255, 255) !important;
}
.showdakkeh:hover .showdakkehTXT{
    color: rgb(255, 255, 255) !important;
}

.dakkehNamebtn a:hover{
    color: #f1f1f1;
}
.dakkehNamebtn:hover a{
    color: #f1f1f1;
}

.cardTitle{
    margin-bottom: 10px;
    font-weight: bold;
}
.cardBody{
    width: 100%;
    padding: 2%;
}

.offcard{
    background-color: #322b4ade;
    color: white;
    padding: 2% 3%;
    border-radius: 8px 0 50%;
    position: absolute;
    left: 0;
    top: 0;
}

.cardBtn{
    text-align: center;
    margin: 3% auto !important;
}

/*********************************media*************************************/


@media (max-width: 499px){
    .mycard{
        width: 100%;
        height: auto;
        margin: 2% auto;
        display: flex !important;
    }
    .imgcard{
        width: 45%;
        margin-left: 2%;
        height: 150px;
        border-radius: 0 8px 8px 0;
    }
    .imgcard img{
        width: 100%;
        height: 100%;
        border-radius: 0 8px 8px 0;
    }

    .cardBody{
        width: 53%;
        padding: 2%;
        border-radius: 8px 0 0 8px;
    }

    .detailbtn{
        width: fit-content;
        width: -webkit-fill-available;
        padding: 2% 4%;
        font-size: small;
        margin: 0!important;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 4px 4px 0;
        border-style: solid;
        border-color: lightgrey;
        text-decoration: none;
        text-align: center;
        color: #322B4A;
        transition: 0.3s;
    }
    .dakkehNamebtn{
        width: fit-content;
        width: -webkit-fill-available;
        padding: 2% 4%;
        border-width: 1px 1px 1px 1px;
        border-style: solid;
        border-color: lightgrey;
        border-radius: 4px 0 0 4px;
        font-size: small;
    }
    .textonimgcard a{
        visibility: visible;
    }
    .dakkehNamebtnTXT .detailbtnTXT{
        font-size: x-small;
    }
    .cardBtn{
        text-align: center;
        margin: 2% 0 !important;
    }

}
@media (min-width: 500px) and (max-width: 767px) {
    .mycard{
        width: 98%;
        height: auto;
        margin: 2% 0;
        display: flex !important;
    }
    .imgcard{
        width: 45%;
        margin-left: 2%;
        height: 190px;
        border-radius: 0 8px 8px 0;
    }
    .imgcard img{
        width: 100%;
        height: 100%;
        border-radius: 0 8px 8px 0;
    }

    .cardBody{
        width: 53%;
        padding: 2%;
        border-radius: 8px 0 0 8px;
    }

    .detailbtn{
        width: fit-content;
        padding: 2% 4%;
        font-size: small;
        margin: 0!important;
        border-width: 1px 1px 1px 0px;
        border-radius: 0px 4px 4px 0;
        border-style: solid;
        border-color: lightgrey;
        text-decoration: none;
        text-align: center;
        color: #322B4A;
        transition: 0.3s;
    }
    .dakkehNamebtn{
        padding: 2% 4%;
        border-width: 1px 1px 1px 1px;
        border-style: solid;
        border-color: lightgrey;
        border-radius: 4px 0 0 4px;
        font-size: small;
    }
    .textonimgcard a{
        visibility: visible;
    }
    .dakkehNamebtnTXT .detailbtnTXT{
        font-size: x-small;
    }
    .cardBtn{
        text-align: center;
        margin: 3% 0 !important;
    }
}

@media (min-width: 769px) and (max-width: 1154px) {
    .dakkehNamebtn, .detailbtn{
        padding: 5px;
    }
    .dakkehNamebtnTXT, .detailbtnTXT{
        font-size: 12px;
    }
}

@media (min-width: 769px) and (max-width: 1148px){
    .filbtn, .filterheader, .placeholdersize{
        font-size: x-small;
    }


}
@media (min-width: 769px) and (max-width: 950px){
    .mycard{
        width: 29%;
        height: 345px;
    }
    .imgcard{
        width: 100%;
        height: 200px;
    }
    .imgcard img{
        width: 100%;
        height: 100% !important;
    }


}