

#product_page{
    background-color: #f5f5f5;
    box-shadow: 0 0 10px 0 rgb(1 1 1 / 10%);
    z-index: 1;
}

#product_page .cover_page{
    overflow: hidden;
    height: 600px;
    clip-path: inset(0);

}
#product_page .cover_page img{
    object-fit: cover;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#product_page .content  .page_container {
    padding: 0;
    top:-50px ;
}
#product_page .content {
    background-color: #fff;

}
#product_page .info_box {
    background: var(--primary-color);
    color: #efefef;
    width: 50%;
    right: 0;
    padding:30px;
    margin-bottom: 20px;
}
#product_page .info_box h1{
    margin: 0 ;
}
#product_page .info_box .details{
    display: flex;
}
#product_page .info_box .details .items{
    min-width: 33.33%;
    margin-top: 10px;
}
.lang_fa #product_page .info_box .details .items{
    padding-left:20px;
}

#product_page .info_box .details .items span{
    color: #ccc;
}
#product_page .desc {
    width: 70%;
}
#product_page .images {
    -moz-column-gap: 5em;
    -webkit-column-gap: 5em;
    column-gap: 5em;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    padding: 50px;
}
#product_page .images.count2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#product_page .images .item{
    font-size: 0;
    display: inline-block;
    width: 100%;
    margin-bottom: 80px;
}
#product_page .images.count2 .item{
    width: 44%;
}

#product_page .images .item  img {
    width: 100%;
}







@media only screen  and (max-width: 1420px) {
  
    #product_page {
        box-shadow: none;
        border-bottom: 1px solid rgb(1 1 1 / 10%);
    }
    #product_page .info_box {
        right: 5%;
    }
    #product_page .desc{
        padding-right:5%;
    }
    #product_page .page_navbar {
        padding-right:5%;
    }
    #product_page .cover_page {
        height: 400px;
    }
}
 
@media only screen  and (max-width: 1024px) {

    #product_page .info_box {
        width: 70%;
    }
    #product_page .desc{
        width: 90%;
    }
 


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

 
}
@media only screen and (max-width: 768px) {
 
    #product_page .info_box {
        width: 90%;
    }
    #product_page .images {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        padding: 50px;
    }
    #product_page .images .item{
        margin-bottom: 40px;
    }
    #product_page .images.count2 .item {
        width: 100%;
    }
}
@media only screen and (max-width: 540px) {


    #product_page .info_box .details{
        flex-wrap: wrap;
    }
    #product_page .info_box {
        width: 70%;
    }
    #product_page .info_box .details .items{
        width: 50%;
    }
     #product_page .cover_page {
        height: 400px;
    }
    #product_page .cover_page img{
        height: 70%;
    }
 
 }


















/*---- blog_page ----*/

#blog_page .white_box{
    box-shadow: none;
    border-radius: 0;
    background-color: #222;

}
#blog_page .comments_container{
	width: 80%;
    padding-left: 30px;
}
#blog_page .comments{
    margin-top: 50px;
}

#blog_page .pro_content > .related{
	width: 25%;
    padding-right: 30px;
}
#blog_page .pro_content .related .blog_box .info {
    min-height: 70px;
}
#blog_page .pro_content .related .light_box > .title a{
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}
#blog_page .pro_content .related .light_box .info{
    padding: 10px;
}
#blog_page .pro_content .related .light_box .info .title {
    font-size: 1em;
    font-weight: bold;
    color: var(--primary-color);
}



#blog_page .pro_content .related .blog_box {
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
    width: 100%;
    border-bottom: 2px solid #ddd;
}
#blog_page .pro_content .related .blog_box:last-child{
    border-bottom: none;
}

#blog_page .slider_container .lSAction{
	position: absolute;
	top: 40%;
	width: 100%;
}
#blog_page .slider_container .lSAction > a{
	width: 60px;
    height: 60px;
    background-size: 30px;
    background-repeat: no-repeat;
	background-position: center;
}
#blog_page .slider_container .lSAction > .lSPrev{
    background-image: url(../uploads/slider_prev_red.png);
	left: 0;
}
#blog_page .slider_container .lSAction > .lSNext{
    background-image: url(../uploads/slider_next_red.png);
	right: 0;
}
#blog_page .pro_content > .info{
	width: 75%;
    padding-right: 30px;
    z-index: 1;
}
#blog_page .pro_content > .info .title{
    font-size: 1.7em;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: var(--primary-color);
}
#blog_page .pro_content > .info .white_box .flex{
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#blog_page .pro_content .info .info_box{
	display: flex;
	flex-wrap: wrap;
}
#blog_page .pro_content .info .info_box .items{
	width: 33%;
	font-size: 1.1em;
	color: #aaa;
}
#blog_page .pro_content .info .info_box .items:nth-child(1),
#blog_page .pro_content .info .info_box .items:nth-child(2),
#blog_page .pro_content .info .info_box .items:nth-child(3){
	margin-bottom:10px;
}
#blog_page .pro_content .info > .white_box:first-child{
    padding: 20px 40px;
}
#blog_page .pro_content .table_content .toc_items .toc{
    padding-right: 25px;
}
#blog_page .pro_content .table_content .toc_items ul{
    margin: 0;
    list-style: none;
}
#blog_page .pro_content .table_content .toc_items .toc ol {
    padding:0;
}
#blog_page .pro_content .table_content .toc_items ul li {
    padding: 7px 0 7px 10px;
    font-size: .9em;
    line-height: 1.4em;
}
#blog_page .pro_content .table_content .toc_items ul ol ul{
    padding-right: 20px;
}
#blog_page .pro_content .table_content .toc_items ul ol ul li{
    padding: 5px 0 5px 10px;
}
#blog_page .pro_content .table_content .toc_items .toc li:before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    border-radius: 50px;
    top: 50%;
    transform: translateY(-50%);
}
.lang_en #blog_page .pro_content .table_content .toc_items .toc li:before {
    left: -15px;
}
.lang_fa #blog_page .pro_content .table_content .toc_items .toc li:before {
    right: -15px;
}
 
#blog_page .pro_content .table_content .toc_items{
    position: -webkit-sticky;
    position: sticky;
    top: 75px;
    z-index: 1;
    padding: 20px 0;
}

#blog_page .pro_content > .info .desc{
	font-size: 1.1em;
	line-height: 40px;
    /* border-bottom: 3px solid #fff;
    padding-bottom: 30px;
	margin-bottom: 30px; */
}
#blog_page .pro_content > .info .desc ul{
    padding-right:20px;
}
#blog_page .pro_content .info .desc img{
    border-radius: 5px;
    max-width: 600px;
}
#blog_page .pro_content .info .desc a{
    color: var(--custom3-color);
    font-weight: bold;
}
#blog_page .pro_content .images .item img{
    width: 90%;
    margin: 40px auto;
    display: block;
}
#blog_page .pro_content .images .item{
	background-color: #fff;
	border-radius: 10px;
	box-shadow: inset 0 0 5px 4px #e6e6e6;
	padding: 10px;
}
#blog_page .pro_content .info .desc h3 a,
#blog_page .pro_content .info .desc h2 a,
#blog_page .pro_content .info .desc h1 a,
#blog_page .pro_content .table_content .toc_items ul li a{
    color: var(--primary-color);
}

#blog_page .pro_content .info .desc h3 a:focus,
#blog_page .pro_content .info .desc h2 a:focus,
#blog_page .pro_content .table_content .toc_items ul li a:focus{
    font-weight: bold;
}





#blogs_page .empty{
    width: 100%;
    text-align: center;
    display: block;
}
#blogs_page article{
    width: 100%;
    min-height: 500px;
}
#blogs_page .side_option{
    width: 20%;
}

#blogs_page .side_option .item.lvl_1 {
    border-top: 1px solid #ddd;
    padding-top: 5px;
}
#blogs_page .side_option .item.lvl_2 {
    font-size: .9em;
}
#blogs_page .side_option .item:not(:first-child){
    margin-top: 5px;
}

#blogs_page .side_option .item a{
    font-weight: 500;
    border-radius: 5px;
    display: block;
    color: var(--primary-color);
    font-size: .9em;
}
#blogs_page .side_option .item a span {
    float: left;
}
#blogs_page .side_option .item a:hover,
#blogs_page .side_option .item.active a{
    color: var(--secondary-color);
    font-weight: 600;

}
#blogs_page .side_option .serach_box{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#blogs_page .side_option .serach_box input{
	border: none;
	width: 100%;
    background-color: transparent;
}
#blogs_page .side_option .serach_box .serach_btn{
    width: 25px;
    height: 25px;
    background-image: url('../../uploads/icon/serach_red.png');
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}
#blogs_page .side_option .box:not(:last-child){
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.lang_fa #blogs_page .side_option .box:not(:last-child){
    direction: rtl;
}
.lang_en #blogs_page .side_option .box:not(:last-child){
    direction: ltr;
}


#blogs_page .side_option .box .title{
	font-weight: bold;
	font-size: 1.1em;
    color: var(--primary-color);
}
#blogs_page article > .flex{
    flex-wrap: wrap;
    justify-content: flex-start;
}

#blogs_page .blog_box{
    width: 30.3333%;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #eee;
    border-radius: var(--radius);
    background-color: var(--light-color);
}
.lang_fa #blogs_page .blog_box{
    margin-right: 3%;
}
.lang_en #blogs_page .blog_box{
    margin-left: 3%;
}
#blog_page .blog_box:not(:last-child){
    margin-bottom: 40px;
}



#blogs_page .breadcrumb{
    background-color: var(--light-color);
    border-radius: 10px;
    margin: 0 3% 20px 0;
    padding: 0 20px;
    border: 1px solid #eee;
    width: 97%;
}

#blog_page .breadcrumb {
    background-color: var(--light-color);
    border-radius: 10px;
    margin: 20px 0;
    padding: 0 20px;
    border: 1px solid #eee;
    width: 100%;

}


#blogs_page .blog_box .details {
    padding: 20px;
}

#blogs_page .blog_box .date {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 1em;
    margin-bottom: 10px;

}

#blogs_page .blog_box .date:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    width: 20px;
    height: 20px;
    background: url('../../uploads/icon/calendar.svg') center no-repeat;
    background-size: contain;
}

#blogs_page .blog_box .title {
    color: var(--title-color);
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: bold;
}


#blogs_page .blog_box .cover {
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    width: 100%;
    overflow: hidden;
    font-size: 0;
    /*background-color: #f5efde;*/
}

#blogs_page .blog_box .cover:hover {
    -webkit-transform: scale(1.05) rotate(2deg);
    transform: scale(1.05) rotate(2deg);
    opacity: .8;
}


#blogs_page .blog_box .desc {
    color: var(--gray-color);
    font-size: 1em;
    margin-bottom: 20px;
}

#blogs_page .blog_box .link {
    font-size: 1em;
    font-weight: 500;

}


#blogs_page .blog_box a {
    color: var(--title-color);
    transition: var(--transition);
    align-content: center;
}


#blogs_page .blog_box .link a .arrow {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    transition: 0.5s;
    background-image: url(../../uploads/icon/arrow-narrow-left-yellow.svg);
    background-image: url(../../uploads/icon/arrow-narrow-left-green.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#blogs_page .blog_box .link:hover a .arrow {
    background-image: url(../../uploads/icon/arrow-narrow-left-yellow.svg);
}

#blogs_page .blog_box .link:hover a {
    color: var(--secondary-color);
}





@media only screen  and (max-width: 1024px) {
    #blogs_page .page_container{
        padding: 30px 0;
    }

    #blogs_page .blog_box:nth-child(3n-2){
        margin-right: 0;
    }
    #blogs_page .side_option{
        position: fixed;
        background-color: #fff;
        padding: 180px 40px 40px 10px;
        top: 0;
        width: 20%;
        z-index: 4;
        height: 100%;
        overflow-y: auto;
        direction: ltr;
        text-align: right;
        box-shadow: -3px 0 6px rgb(0 0 0 / 30%);
        right: -110%;
        border-radius: 0;
        transition: right 0.3s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    #blogs_page .side_option.show{
        right: 0;
    }
    #blogs_page .side_option .white_box{
        box-shadow: none;
    }
    #blogs_page .filter_btn {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 25px;
        background-image: url(../../uploads/icon/filter_w.png);
        background-color: var(--primary-color);
        z-index: 20;
        right: 40px;
        top: 15px;
    }
    #blog_page .pro_content{
        flex-wrap: wrap;
    }
    #blog_page .pro_content .table_content{
        width: 30%;
    }
    #blog_page .pro_content > .info {
        width: 70%;
    }
    #blog_page .pro_content .related{
        width: 100%;
        margin-top: 20px;
    }
    #blog_page .comments_container {
        width: 100%;
        padding-left: 0;
    }
    #blog_page .pro_content .table_content .related_items .blogs_box{
        display: flex;
        flex-wrap: wrap;
    }
    #blog_page .pro_content .related .blog_box{
        width: 22%;
    }



}
@media only screen and (max-width: 900px) {
    #blog_page .pro_content .info .desc img{
        max-width: 100%;
        height: auto;
    }
    #blogs_page .side_option{
        width: 45%;
    }
    #blogs_page .blog_box{
        width: 46%;
    }
    .lang_fa #blogs_page .blog_box{
        margin-right: 0;
    }
    #blogs_page .blog_box:nth-child(2n-2){
        margin-right: 8%;
    }

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





    .page_container{
        padding: 40px  20px;
    }

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


    #blogs_page .blog_box{
        width: 100%;
    }
    #blogs_page .blog_box:nth-child(2n-2){
        margin-right: 0;
    }

    #blog_page .pro_content .table_content:first-child {
        width: 100%;
        margin-bottom: 0;
    }
    #blog_page .pro_content .table_content .toc_items:after{
        width: 100%;
        height: 20px;
        top: auto;
        bottom: -10px;
        z-index: 1;
        left: 0;
    }
    #blog_page .pro_content .info > .white_box:first-child {
           position: initial;
    }
    #blog_page .pro_content .table_content .toc_items{
        margin-bottom: 20px;
    }
    #blog_page .pro_content > .info{
        width: 100%;
        position: initial;
        padding-right: 0;
    }
    #blog_page .pro_content .related .blog_box {
        width: 47%;
    }
    #blog_page .pro_content .related .blog_box:nth-child(2n) {
        margin-left: 0;
    }
    #blog_page .pro_content .info > .white_box:first-child > .flex{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1;
        padding: 20px;
    }
}
@media only screen and (max-width: 414px) {
    .lang_fa #blogs_page .blog_box,
    .lang_en #blogs_page .blog_box,
    #blogs_page .blog_box{
        width: 100%;
        margin-right: auto!important;
        margin-left: auto!important;
        max-width: 300px;
    }

}
