@font-face {
    font-family: 'iransans';
    src: url("../font/IranSans/iran-sans-400.eot");
    src: url("../font/IranSans/iran-sans-400.woff") format("woff"),
    url("../font/IranSans/iran-sans-400.woff2") format("woff2"),
    url("../font/IranSans/iran-sans-400.ttf") format("opentype");
            
}
*{
    font-family: iransans;
    text-align: right;
    direction: rtl;
}
a{
    color: #333;
}
.top-header{
    margin-top: 20px;
}

.instagram-icon img{
    float: left;
    margin-right: 9px;
    margin-top: -31px;
}
.dropdown-menu{
    background-color: #333;
    width: 140px;
    border: none;
    border-bottom: 4px solid #007bff;
    border-radius: 0 0 8px 8px;
    margin-top: -15px;
    
}
.dropdownmenusingelpage{
    background-color: #fff;
    width: 140px;
    border: 1px solid #007bff;
    border-radius: 10px;
    margin-top: -1px;
    
}
.dropmenu{
    color: #fff;
    display: block;
    padding-right: 30px;
    padding-top: 15px;
}

a:hover{
    color: #2980b9 !important;
    transition: 0.2s;
    text-decoration: none;
}
#image-count{
    background: linear-gradient(135deg,#1abc9c 20%,#2980b9 80%);
    height: 560px;
    margin-top: -12px;
}
#image-count h2 , h3{
    text-align: center;
    color: #fff;   
}
.nav-item{
    padding-top: 5px;
    padding-bottom: 5px;
}
.input-group{
    width: 700px;
    margin-right: 150px;
    margin-top: -40px;
}
.caption-site{
    max-width: 530px;
    color: #fff;
    padding-top: 150px;
    
    
}
.caption-back{
    width: 540px;
    opacity: 0.08;
    margin-top: -250px;
}
.caption-back2{
    margin-right: 700px;
    margin-top: -390px;
    margin-left: -80px;
}
.image-item{
    overflow: hidden;
    border-radius: 15px;

}
.image-item img{
    
    height: 180px;
    object-fit: cover;
    transition: all ease-in-out .25s;
}
.image-item img:hover{
    transform: scale(1.07);
    transition: all ease-in-out .25s;
}
.caption-item{
    height: 200px;
    background-color: #fff;
    border-radius: 15px;
    margin-top: -25px;
    position: relative;
}
.title-item{
    font-size: 18px;
    padding: 14px 15px;
}
.title-item a span:hover{
    color: #007bff;
    transition: 0.4s;
}
.cap-item p{
    font-size: 13px;
    opacity: 0.7;
    padding: 15px;
    padding-top: 0;
}
.like-item svg{
    cursor: pointer;

}
.like-item2{
    padding-right: 17px;
    font-size: 15.5px;
}
.time-item{
    font-size: 15.5px;
}
.like-item2 svg:hover{
    color: red;
}
.shop-item{
    font-size: 14px;
    color: red;
    float: left;
    padding-left: 10px;
}
.post-item{
    margin-top: 20px;
}
.top-post-website p{
    font-size: 17px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 5px;
    width: 110px;
    margin-right: 20px;
}
.hero-header{
    padding-right: 2px;
    margin-top: 16px;
    border-bottom: 3px solid #007bff;
    font-size: 17px;
    width: 130px;
    padding-bottom: 5px;
}


.moredore:hover{
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #333;
}


.info-text{
    border: 1px solid #efefef;
    background-color: #333;
    color: #fff;
    margin-top: 6px;
    padding: 8px 2px;
    border-radius: 5px;
    font-size: 15px;
    text-align: justify;
    height: 90px;
    padding: 10px;
}
#info-section{
    position: relative;
    border-radius: 4px;
  }

.info-date{
    float: left;
    font-size: 15px;
    color: #ffffffea;
    padding: 7px;
}
.info-date svg{
    vertical-align: -1.5px;
    margin-right: 3px;
}
.slide-img{
    border-radius: 20px;
}
.item-view{
    margin-right: 5px;
}
.footer-back{
    background-color: #333;
    color: #fff;
}
.caption-footer{
    text-align: justify;
    margin-right: 10px;
    margin-left: 10px;
}
.header-caption-footer{
    background-color: #fff;
}
.footer2{
   background-color: #1abc9c;
    color: #fff; 
    padding-top: 25px;
    padding-bottom: 15px;
}
.paddingright18{
    padding-right: 18px;
    margin-top: -3px;
}
p.font18pixel{
    font-size: 18px;
    padding-top: 10px;
}
.caption-ostad-more svg{
    opacity: 0.35;
    margin-bottom: 4px;
    margin-left: 6px;
    font-size: 17px;
}
.caption-ostad-more span{
    font-size: 15.5px;
}
.caption-ostad-more a{
    font-size: 15.5px;
    color: #6fc341;
    padding-right: 2px;
}
.caption-ostad-more a:hover{
    color: #6fc341 !important;
}
.login-in-dore{
    background-color: #6fc341;
    width: 100%;
    text-align: center;
    padding: 10px;
    border: none;
    margin-bottom: 20px;
}
.login-in-dore:hover{
    background-color: #447e24;
    border: none;
}
.login-in-dore a{
    color: #fff;
}
.login-in-dore a:hover{
    color: #fff !important;
}
.category-tags{
    font-size: 12px;
    background-color: #dce4e9;
    border: 1px solid #dce4e9;
    border-radius: 4px;
    padding: 6px 15px;
}
.category-tags-2{
    background-color: #fff;
    border: 1px solid #fff;
}
.category-tags:hover{
    color: #333 !important;
    background-color: #fff;
    border: 1px solid #dce4e9;
}
.category-tags-2:hover{
    color: #333 !important;
    background-color: #dce4e9;
    border: 1px solid #dce4e9;
    transition: 0ms;
}
.category-tags-div{
    margin-top: 18px;
    display: inline-block;
}
.image-course img{
    padding: 15px;
}
.content-course p{
    margin: 20px;
    text-align: justify;
    line-height: 30px;
}
.content-course h5{
    padding: 25px;
}
.alert-success{
    color: #54aa24;
    background-color: #f3fbee;
    border: 1px solid #d5edc6;
    margin: 25px;
    line-height: 30px;
}
.video-item video{
    padding: 25px;
}
.alert-info{
    color: #00b3e9;
    background-color: #effafd;
    border: 1px solid #a3def2;
}
.alert-info a{
    color: #00b3e9;
}
.item-download{
    border: 1px dashed #d7e0e9;
    position: relative;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 5px;
}
.title-item-download{
    padding-left: 15px;
    border-left: 1px solid #edf1f4;
    margin-right: 20px;
}
.time-item-download{
    color: #8f9ca7;
    padding-right: 13px;
    padding-left: 13px;
    border-left: 1px solid #edf1f4;
}
.status-item-download{
    color: #6fc341;
    padding-right: 13px;
}
.number-item{
    margin-right: -41px;
    background: #fff;
    border: 1.5px solid #d7e0e9;
    position: absolute;
    width: 30px;
    text-align: center;
    border-radius: 50%;
    line-height: 28px;
    height: 30px;
}
.green-logo{
    cursor: pointer;
    margin-right: 10px;
    margin-top: -5px;
    float: left;
    border: 1px solid #b6e49c;
    color: #6fc341;
    font-size: 18px;
    padding: 9px;
    border-radius: 50%;
}
.blue-logo{
    cursor: pointer;
    margin-right: 10px;
    margin-top: -5px;
    float: left;
    border: 1px solid #bbeafa;
    color: #77c3e2;
    font-size: 22px;
    padding: 7px;
    border-radius: 50%;
}
.light-logo{
    cursor: pointer;
    float: left;
    margin-top: -5px;
    border: 1px solid #e7eaee;
    color: #b0b9be;
    font-size: 22px;
    padding: 7px;
    border-radius: 50%;

}
.myaccont-dropdown{
    font-size: 13px;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    border-radius: 5px;
    border: 1px solid #eaeff2;
    box-shadow: 5px 5px 5px rgba(237,241,244,0.7);
}
.myaccont-dropdown a{
    color: #333 !important;
    margin-right: -10px;
}
.searchbox-mobile{
    margin-top: 10px; 
    border-radius: 10px; 
    height: 45px; 
    width: 160%; 
    font-size: 13px; 
    padding-right: 15px;
    border: 1px solid #3334;
}
.register-item{
    width: 47%;
    margin-right: 279px;
    height: 800px;
    box-shadow: 0 0 15px #d7dee9;
    background-color: #fff;
    border-radius: 20px;
}
.header-register h4{
    text-align: center;
    margin-top: 40px;
}
.header-register p{
    text-align: center;
    font-size: 13.5px;
    margin-top: 15px;
    opacity: 0.7;
}
.input-register{
    margin-right: 64px;
}

.input-register input{
    line-height: 45px;
    height: 45px;
    padding: 0 45px 0 28px;
    font-size: 13px;
    color: #1e2f38;
    border: 1px solid #edf1f4;
    background-color: #fff;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    margin-top: 15px;
}
.footer-register{
    margin-right: 70px;
    margin-top: 30px;
}
.footer-register a.btn-reg{
    width: 100%;
    display: block;
    font-size: 13px;
    line-height: 25px;
    color: #00b3e9;
    margin-bottom: 5px;
    margin-top: 10px;
}
.btn-info{
    background-color: #00bffe;
}
.submit-reg:hover{
    color: #fff !important;
    background-color: #00bffe;
}
.submit-reg{
    border: 0px solid;
    float: left;
    margin-left: 30px;
    background-color: #00bffe !important;
    color: #fff !important;
}
/* Responsive for mobile */
@media (max-width: 768px) {

    .register-item{
        width: 95%;
        margin: 20px auto;
        height: auto;
        border-radius: 15px;
    }

    .header-register img{
        width: 220px;
        margin: 20px auto;
        display: block;
    }

    .input-register{
        margin-right: 0;
        padding: 0 15px;
    }

    .input-register input{
        width: 100% !important;
        box-sizing: border-box;
    }

    .footer-register{
        margin-right: 0;
        text-align: center;
        padding: 0 15px 20px;
    }

    .submit-reg{
        float: none;
        margin: 0 auto;
        display: block;
        width: 100%;
    }

    .footer-register a.btn-reg{
        text-align: center;
    }
}


/* new update */
.comment-box{
    margin-bottom: 20px;
}

.comment-box .image-comment-box{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #ccc;
}

.comment-box .image-comment-box img{
    max-width: 100%;
    max-height: 100%;
}
.comment-body{
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 100px;
    margin-top: -70px;
}

.comment-text{
    margin: 20px;
    opacity: 0.9;
    text-align: justify;
    font-size: 14px;
}

.page-item{
    width: 40px !important;
    height: 40px !important;
    margin-left: 10px;
    border-radius: 50%;
}
.pagination-box{
    margin: 0 auto;
}
.nav-pills .nav-link {
    background: #f8f9fa;
    color: #333;
    border-radius: 6px;
    padding: 12px;
}

.nav-pills .nav-link.active {
    background-color: #007bff;
    color: #fff;
}

.discount-box {
    max-width: 420px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.discount-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.discount-form {
    display: flex;
    gap: 8px;
}

.discount-form input {
    flex: 1;
}

.discount-form button {
    white-space: nowrap;
}
/* ====== SEARCH BOX PRO ====== */
.search-wrapper {
    display: flex;
    align-items: center;
}

.search-form {
    position: relative;
    width: 360px;
}

.search-input {
    width: 150%;
    height: 44px;
    padding: 0 18px 0 50px;
    border-radius: 30px;
    border: 1px solid #e1e1e1;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.search-input:focus {
    outline: none;
    background: #fff;
    border-color: #00bfa6;
    box-shadow: 0 0 0 4px rgba(0,191,166,0.12);
}

.search-btn {
    position: absolute;
    /* left: -176px; */
    right: 500px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #00bfa6, #007bff);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
/* ===== SEARCH FIX ===== */
.top-header .input-group {
    width: 360px !important;
    margin: 0 !important;
    direction: rtl;
}

.top-header .form-control {
    text-align: right;
}

/* جلوگیری از پرش */
.top-header {
    display: flex;
    align-items: center;
}

/* حذف اثر float روی هدر */
.instagram-icon img {
    float: none !important;
    margin: 0 !important;
}
.navbar{
    position: inherit;
}