﻿body {
    direction: rtl;
    margin: auto;
    background-color: #526566;
    font-family: 'AP Yekan',Tahoma;
}


/*panels for show products on indext page*/

.panel {
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 3px 3px rgba(4,40,92,.05);    
    box-shadow: 0 3px 3px rgba(4,40,92,.05);
}

.panel-body {
    border-color: #eee;
    padding: 15px 30px !important;
    background-color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px 0 rgba(4,40,92,.4);
    margin-bottom: 30px !important;
}

.panel-title {
    font-size: 28px;
    font-family: Tahoma;
}

    .panel-title:hover {
        color: #1882a1;
        font-size: 28px;
    }



.fa {
    margin-left: 10px;
}

#header {
    overflow: hidden;
    height: auto;
    width: 100%;
}

/*Menu color*/

#navbar {
    overflow: hidden;
    background-color: #3f4e4f;
}
    #navbar button {
        background-color: #3f4e4f;
    }

    #navbar button:hover {
        background: #DCD7C9;
        color: black;
        transition: 0.3s;
    }

    #navbar img {
        background-color: #3f4e4f;
    }

    #navbar a {
        float: right;
        display: block;
        color: white;
        text-align: center;
        padding: 16px 16px;
        text-decoration: none;
        font-size: 17px;
        transition: 0.3s;
    }

        #navbar a:hover {
            background: #DCD7C9;
            color: black;
        }



.content {
    padding: 16px;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

    .sticky + .content {
        padding-top: 60px;
    }

/*
    //////////////////
    Mobile Menu:
    //////////////////
*/

.MobileNavbar {
    overflow: hidden;
    margin: auto;
    background: rgb(40,49,52);
    background: linear-gradient(180deg, rgba(40,49,52,1) 0%, rgba(82,101,102,1) 100%);
    float: none;
    border: none;
}

    .MobileNavbar button {
        border-radius: 0;
        border: none;
        display: block;
        background: #3f4e4f;
        background-color: #3f4e4f;
        margin: auto;
        color: white;
        text-align: center;
        font-size: 17px;
    }

        .MobileNavbar button:hover {
            background-color: #DCD7C9;
            color: black;
        }

    .MobileNavbar a {
        display: block;
        background: #3f4e4f;
        color: white;
        float: none;
        text-align: center;
        text-decoration: none;
        font-size: 17px;
    }

        .MobileNavbar a:hover {
            background-color: #DCD7C9;
            color: black;
        }


/*
    //////////////////
    Brand Slider Start
    //////////////////
*/
ul {
    padding: 0;
    list-style: none;
}

.slider {
    /*padding-top: 50px;*/
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
    position: relative;
    height: 200px;
}

.small2 {
    font-size: 14px;
    margin-top: 50px;
    width: 100%;
    height:180px;
    overflow: hidden;
    position: relative;
}

    .small2 .small-ul {
        display: flex;
        position: absolute;
        top: 0;
    }

        .small2 .small-ul li {
            margin-left: 5px;
            transition: width 1s ease-in-out;
            margin-left: -4px;
        }

    .small2 .small-span {
        position: absolute;
        /*top: calc(50%-20px);*/
        opacity: 0.1;
        cursor: pointer;
        color: #fff;
        text-shadow: 1px 2px 10px rgba(0, 0, 0, 1);
    }

        .small2 .small-span:hover {
            opacity: 0.5;
        }


        .small2 .small-span:first-of-type {
            right: 10px;
        }

        .small2 .small-span:last-of-type {
            left: 10px;
        }


/*
    //////////////////
    Brand Slider Finished
    //////////////////
*/



/*
    //////////////////
    بخش نمایش دسته بندی
    //////////////////
*/

/* The dropdown container */
.subnav {
    float: right;
    overflow: hidden;
}

    /* Subnav button */
    .subnav .subnavbtn {
        font-size: 16px;
        border: none;
        outline: none;
        color: white;
        padding: 16px 16px;
        background: #3f4e4f;
        background-color: #3f4e4f !important;
        margin: 0;
    }

    /* Add a red background color to navigation links on hover */
    .navbar a:hover, .subnav:hover .subnavbtn {
        background-color: #DCD7C9;
    }
/*رنگ ساب منو دسته بندی ها*/
/* Style the subnav content - positioned absolute */
.subnav-content {
    display: none;
    position: absolute;
    right: 0;
    background: #C5CAE9;
    background-color: #C5CAE9;
    padding-right: 50px;
    width: 100%;
    z-index: 1;
}

    /* Style the subnav links */
    .subnav-content a {
        float: right;
        color: white;
        text-decoration: none;
    }

        /* Add a grey background color on hover */
        .subnav-content a:hover {
            background: #DCD7C9;
            color: black;
            transition: 0.3s;
        }

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
    display: block;
}



/*
    //////////////////
    پایان بخش نمایش دسته بندی
    //////////////////
*/
/*
    //////////////////
    Products Show in Index
    //////////////////
*/

.container-img {
    margin-top: 30px;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.imageDiscount {
    display: block;
    width: 98%;
    height: auto;
}

.overlay {
    position: relative;
    bottom: 0;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.5);
    width: 100%;
    transition: 0.5s ease;
    opacity: 0;
    color: white;
    font-size: 18px;
    text-align: center;
}

.container-img:hover .overlay {
    opacity: 1;
}


/*
    //////////////////
    Discount Products Show in Index
    //////////////////
*/

.container-imgdes {
    margin-top: 30px;
}

.imagedes {
    display: block;
    width: 100%;
    height: auto;
}

.overlaydes {
    position: relative;
    bottom: 0;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.5);
    width: 100%;
    display: block;
    text-decoration: none;
    transition: 0.5s ease;
    opacity: 1;
    color: white;
    font-size: 18px;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*.container-imgdes:hover .overlaydes {
    opacity: 1;
}*/


/*
    //////////////////
    Random Products Show
    //////////////////
*/


/*
    //////////////////
    Random Products Show
    //////////////////
*/

.RandomProductBox {
    background: rgb(101,157,189);
    background: linear-gradient(180deg, rgba(101,157,189,1) 0%, rgba(255,255,255,1) 19%, rgba(255,255,255,1) 87%, rgba(101,157,189,1) 100%);
    display: block;
    border-radius: 10px;
    margin: auto;
    text-align: center;
    padding: 0 20px 50px 20px;
    border: solid #659dbd 1px;
}

    .RandomProductBox h2 {
        text-align: center;
        color: black;
        text-decoration: none;
        font-size: 28px;
    }

        .RandomProductBox h2:hover {
            color: #1882a1;
            text-decoration: none;
            font-size: 28px;
        }


.containerR-img {
    margin-top: 10px;
}

    .containerR-img .image {
        display: block;
        width: 67%;
        height: auto;
    }

    .containerR-img .overlay {
        position: absolute;
        bottom: 0;
        background: rgb(0,0,0);
        background: rgba(0,0,0,0.5);
        width: 60%;
        transition: 0.5s ease;
        opacity: 0;
        color: white;
        font-size: 18px;
        text-align: center;
    }

    .containerR-img:hover .overlay {
        opacity: 1;
    }


/*
    //////////////////
    Products Page CSS|
    //////////////////
*/

.title-color {
    color: #007acc;
}

.red-text-color {
    color: tomato;
}

.price-color {
    color: darkgray;
}

.mg-top-40 {
    margin-top: 40px;
}

/*
    //////////////////
    Products Gallery Slider Css
    //////////////////
*/

img {
    vertical-align: middle;
}

.container {
    position: relative;
}

.mySlides {
    display: none;
}

.curser {
    cursor: pointer;
}

.column {
    float: left;
    width: 16.66%;
}

.demo {
    opacity: 0.6;
}

    .active, .demo:hover {
        opacity: 1;
    }


/*
    //////////////////
    بخش پکیج ها
    //////////////////
*/

/*
    //////////////////
    پایان بخش پکیج ها
    //////////////////
*/



/*
    //////////////////
    Footer 
    //////////////////
*/

.footer {
    font-family: 'AP Yekan',Tahoma;
    background-color: #283134;
    margin: 0;
    padding: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}
