/* 
Theme Name: Zephyr Child 
Template: Zephyr 
Version: 1.0 
Author: UpSolution 
Theme URI: http://zephyr.us-themes.com/ 
Author URI: http://us-themes.com/ 
*/

/*font start*/
 @font-face{
     font-display: swap;
     font-family:iranyekanBakh;
     font-weight:400;
     src:url(fonts/eot/Yekan-Bakh-FaNum-04-Regular.eot);
     src:url(fonts/eot/Yekan-Bakh-FaNum-04-Regular.eot?#iefix) format("embedded-opentype"),url(fonts/woff/Yekan-Bakh-FaNum-04-Regular.woff) format("woff"),url(fonts/ttf/Yekan-Bakh-FaNum-04-Regular.ttf) format("truetype") 
}
 @font-face{
     font-display: swap;
     font-family:iranyekanBakh;
     font-weight:500;
     src:url(fonts/eot/Yekan-Bakh-FaNum-05-Medium.eot);
     src:url(fonts/eot/Yekan-Bakh-FaNum-05-Medium.eot?#iefix) format("embedded-opentype"),url(fonts/woff/Yekan-Bakh-FaNum-05-Medium.woff) format("woff"),url(fonts/ttf/Yekan-Bakh-FaNum-05-Medium.ttf) format("truetype") 
}
 @font-face{
     font-display: swap;
     font-family:iranyekanBakh;
     font-weight:600;
     src:url(fonts/eot/Yekan-Bakh-FaNum-06-Bold.eot);
     src:url(fonts/eot/Yekan-Bakh-FaNum-06-Bold.eot?#iefix) format("embedded-opentype"),url(fonts/woff/Yekan-Bakh-FaNum-06-Bold.woff) format("woff"),url(fonts/ttf/Yekan-Bakh-FaNum-06-Bold.ttf) format("truetype") 
}
 @font-face{
     font-display: swap;
     font-family:iranyekanBakh;
     font-weight:700;
     src:url(fonts/eot/Yekan-Bakh-FaNum-07-Heavy.eot);
     src:url(fonts/eot/Yekan-Bakh-FaNum-07-Heavy.eot?#iefix) format("embedded-opentype"),url(fonts/woff/Yekan-Bakh-FaNum-07-Heavy.woff) format("woff"),url(fonts/ttf/Yekan-Bakh-FaNum-07-Heavy.ttf) format("truetype") 
}
 @font-face{
     font-display: swap;
     font-family:iranyekanBakh;
     font-weight:800;
     src:url(fonts/eot/Yekan-Bakh-FaNum-08-Fat.eot);
     src:url(fonts/eot/Yekan-Bakh-FaNum-08-Fat.eot?#iefix) format("embedded-opentype"),url(fonts/woff/Yekan-Bakh-FaNum-08-Fat.woff) format("woff"),url(fonts/ttf/Yekan-Bakh-FaNum-08-Fat.ttf) format("truetype") 
}
 .fa {
     font-family: 'Font Awesome 5 Brands';
}
 body , h1, h2, h3, h4, h5, h6 , p , ul , li , div {
     font-family:iranyekanBakh;
     font-weight:300;
}
 #wpadminbar .quicklinks .ab-empty-item, #wpadminbar .quicklinks a, #wpadminbar .shortlink-input , #wp-admin-bar-my-account , .display-name {
     font-family: 'iranyekanBakh' !important;
}
 b, strong , .bold{
     font-weight: 600;
}
 h1 {
     font-size: 25px;
     font-weight: 700;
}
/*font end*/
 .teacher-label , .teacher-submit {
     margin-top: 14px;
     display: block;
     font-weight: 500;
}
 .w-comments-title , .w-comments .comment-reply-title, .w-comments .comment-notes{
     font-size: 17px;
     padding-top: 15px;
}
 .logged-in-as {
     display: none;
}
 .form-submit {
     margin-top: 20px;
}
 .layout_72 .w-grid-item-h {
     margin: 0;
     list-style: none;
     border-radius: 10px;
     border: 1px solid #ddd;
     margin-top: 10px;
     padding: 20px;
     height:auto 
}
 .w-comments-item {
     padding: 1em 0;
     margin: 0;
     list-style: none;
     border-radius: 10px;
     border: 1px solid #ddd;
     margin-top: 10px;
     padding: 20px;
}
/*contact us*/
 .w-image.style-pic.align_none {
     border-radius: 20px;
}
 .ginput_container.ginput_container_text input {
     border-radius: 50px;
}
 textarea#input_1_3 {
     border-radius: 40px;
}
 .ginput_container.ginput_container_email input {
     border-radius: 50px;
}
 .gf_browser_chrome {
     background: #96bfe945;
     padding: 15px;
     border-radius: 20px;
}
 input#gform_submit_button_1 {
     border-radius: 20px;
     width: 100px;
     background: #171c80;
}
/*blog*/
 ul.w-comments-list li {
     background: rgb(240, 240, 240);
     padding: 15px;
     border-radius: 15px;
     margin: 5px;
}
 img.attachment-full.size-full.wp-post-image {
     border-radius: 15px;
}
 .custom-blog-box {
     border-radius: 12px;
     overflow: hidden;
     background: #fff;
     margin: 20px 0;
     text-align: center;
}
 .custom-thumbnail {
     width: 100%;
     height: auto;
     display: block;
}
 .custom-content {
     padding: 15px;
}
 .custom-content h3 {
     margin: 10px 0;
     font-size: 18px;
     height: 45px;
     overflow: hidden;
     margin-bottom: 10px !important;
}
 .custom-content p {
     font-size: 14px;
     color: #666;
     text-align: justify;
     height: 65px;
     overflow: hidden;
     min-height: 100px;
     margin: 0;
}
 .custom-meta {
     display: flex;
     font-size: 12px;
     color: #1a67c7 !important;
     margin-top: 10px;
     flex-direction: row;
     align-items: center;
     justify-content: center;
     gap: 5px;
}
 .custom-categories {
     margin-top: 10px;
}
 .custom-category {
     display: inline-block;
     background: #eee;
     color: #333;
     padding: 5px 10px;
     border-radius: 20px;
     font-size: 12px;
     margin: 2px;
}
/* اشتراک گذاری*/
/* اشتراک گذاری*/
 .sticky-share {
     position: relative;
    /* فیکس داخل ردیف */
     padding: 10px;
}
 .sticky-share ul {
     list-style: none;
     padding: 0;
}
 .sticky-share ul li {
     margin-bottom: 10px;
}
 .sticky-share ul li a {
     display: block;
     width: 40px;
     padding: 3px;
     height: 40px;
     line-height: 40px;
     text-align: center;
     font-size: 20px;
     color: white;
     text-decoration: none;
     border-radius: 5px;
}
/* آیکون‌ها */
 .sticky-share ul li .twitter {
     background: #1DA1F2;
}
 .sticky-share ul li .whatsapp {
     background: #25D366;
}
 .sticky-share ul li .telegram {
     background: #0088cc;
}
 .sticky-share ul li .email {
     background: #D44638;
}
 .sticky-share ul li .instagram {
     background: #C13584;
}
 h2.widgettitle {
     font-weight: 600;
}
 .aboutus-img img {
     border-radius: 15px;
}
 .stars {
     display: flex;
     direction: rtl;
    /* برای تغییر جهت به راست به چپ */
}
 .star {
     font-size: 30px;
     color: #ccc;
    /* رنگ پیش‌فرض برای ستاره‌های خالی */
     cursor: pointer;
}
 input[type="radio"]:checked ~ label.star, input[type="radio"]:checked ~ label.star ~ label.star {
     color: #ffcc00;
    /* رنگ زرد برای ستاره‌های پر */
}
/*آمارها*/
 .site-stats {
     padding: 30px 20px;
     text-align: center;
}
 .stats-grid {
     display: flex;
     justify-content: center;
     gap: 20px;
     flex-wrap: wrap;
}
 .stat-item {
     background: #fff;
     padding: 30px 25px;
     border-radius: 16px;
     box-shadow: 0 8px 30px rgba(0,0,0,0.05);
     width: 200px;
}
 .stat-icon {
     font-size: 40px;
     width: 40px;
     height: 40px;
     margin: auto;
     padding-bottom: 10px;
     display: flex;
     justify-content: center;
     align-items: center;
}
 .stat-icon img {
     width: 40px;
     height: 40px;
     object-fit: contain;
     display: block;
}
 .stat-number {
     font-size: 32px;
     color: #007BFF;
     font-weight: bold;
     margin-bottom: 5px;
}
 .stat-label {
     font-size: 16px;
     color: #444;
}
 .bypostauthor>.w-comments-item-meta .w-comments-item-author span {
     background: unset !important;
     color: #35415b;
}
/*end amar*/
/*box ostad*/
 .ostad-name {
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     width: 50%;
}
 .img-ostad img{
    border-radius:15px !important
}
/*end box ostad*/
 .fake-link {
     background:#007bff;
     color: #fff;
     border-radius:6px;
     padding:3px 10px;
     font-weight: 600;
     cursor:pointer;
}
 .user-dashboard .rating-summary {
     display: grid;
     grid-template-columns: repeat(7, 1fr);
     gap:5px;
}
 .user-dashboard .rating-item {
     background:#fff;
     border-radius:6px;
     padding:0px 5px;
     box-shadow: inset 0 0 5px rgb(0 0 0 / 0.03);
     font-size: 12px;
}
 .user_header_dropdown .user-dropdown-avatar {
     cursor: pointer;
}
 .user-dropdown-avatar {
     width: 40px;
     height: 40px;
}
 .user-profile-menu {
     display: flex;
     align-items: center;
     justify-content: center;
}
 .user-profile-menu img {
     width: 50px;
     height: 40px;
     border-radius: 50%;
     border: 1px solid #ddd;
}
 .user-profile-menu i {
     padding-right: 9px;
     color: #b3b3b3;
}
 .user_header_dropdown-content.show {
     display: block;
}
 .user_header_dropdown-content {
     display: none;
     direction: rtl;
     position: absolute;
     min-width: 240px;
     z-index: 1;
     padding: 15px;
     left: 0;
     top: auto;
     background: rgb(255 255 255) !important;
     box-shadow: 0 0px 25px 0px rgba(0, 0, 0, .07);
     border-radius: 15px;
     margin-top: 14px;
}
 .user_header_dropdown-content .user-dropdown-row {
     padding: 10px 0;
}
 .user-dropdown-row {
     display: flex;
     align-items: center;
}
 .avatar {
     border-radius: 100%;
}
 .user-panel-info {
     padding-right: 10px;
}
 .user-info-display_name {
     font-weight: 600;
}
 .user-info-user_phone {
     font-size: 13px;
}
 .user-menu-header {
     padding: 10px 0;
     text-decoration: none;
     display: flex;
     align-items: center;
     font-size: 13px;
     font-weight: 600;
}
 .user-menu-header i {
     padding-left: 8px;
     font-size: 16px;
}
 .teacher-grid-wrapper {
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     justify-content: center;
}
 .teacher-card {
     width: calc(25% - 20px);
     background: #fff;
     border-radius: 12px;
     padding: 15px;
     text-align: center;
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
     transition: transform 0.2s ease;
}
 .teacher-avatar img {
     margin: 0 !important;
     border-radius: 50%;
     margin-bottom: 10px;
}
 .teacher-university {
     font-size: 12px;
}
 .teacher-name {
     margin-top: 0 !important;
     font-size: 16px;
     margin-bottom: 0px !important;
     font-size: 16px;
     font-weight: 600;
     color: #333;
}
 .teacher-meta {
     display: grid;
     grid-template-columns: repeat(3, auto);
     justify-content: space-around;
     gap: 6px;
     font-size: 13px;
     margin-top: 15px;
     color: #666;
     font-weight: 700;
     text-align: right;
}
 @media (max-width: 768px) {
     .teacher-card {
         width: calc(100% - 20px);
    }
     .rating-section {
         flex: 1 1 100%;
    }
     .teacher-card {
         width: calc(100%) !important;
    }
     .rating-field {
         display: block;
         width: 100% !important;
    }
}
 .dashboard-container {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
    /* ۴ کارت در یک ردیف */
     gap: 30px;
     padding: 20px;
     width: 100%;
}
 .info-card {
     background-color: #ffffff;
     border-radius: 15px;
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
     padding: 30px;
     text-align: center;
     border-left: 5px solid #4A90E2;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .info-card h3 {
     color: #4A90E2;
     font-size: 16px;
     margin-bottom: 15px;
     font-weight: 600;
}
 .info-card p {
     font-size: 14px;
     color: #555;
     line-height: 1.5;
}
 .info-card .emoji {
     font-size: 13px;
     margin-left: 10px;
}
/* در موبایل هر کارت در یک ردیف نمایش داده می‌شود */
 @media (max-width: 600px) {
     .dashboard-container {
         grid-template-columns: 1fr;
        /* ۱ کارت در هر ردیف */
    }
}
 .author h1 {
     font-weight:600 !important;
}
 .rating-summary {
     display: flex;
     flex-direction: column;
     gap: 1rem;
}
 .rating-pairs {
     display: flex;
     flex-direction: column;
}
 .rating-row {
     display: flex;
     flex-wrap: wrap;
     gap: 1rem;
}
 .rating-section {
     flex: 1 1 calc(50% - 0.5rem);
    /* دوتا کنار هم */
     background: #fff;
     padding: 12px;
     border-radius: 10px;
     box-shadow: 0 2px 5px rgba(0,0,0,0.05);
     box-sizing: border-box;
}
 .rating-section-title {
     font-weight: bold;
     margin-bottom: 0.5rem;
}
 .rating-items {
     display: flex;
     flex-direction: column;
     gap: 4px;
}
 .rating-item {
     display: flex;
     justify-content: space-between;
     background: #fff;
     padding: 6px 10px;
     border-radius: 6px;
     border: 1px solid #ddd;
     font-size: 0.9rem;
}
/*****************/
 .rating-fields-grid {
     display: flex;
     flex-direction: column;
     gap: 0px;
}
 .rating-title {
     font-size: 18px;
     font-weight: 600;
     margin-bottom: 10px;
}
 .rating-row {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
}
 .rating-field {
     background: #fff;
     flex: 1 1 30%;
     min-width: 250px;
     padding: 15px 20px;
     border-radius: 12px;
     border: 1px solid #ddd;
     font-size: 14px;
     color: #333;
}
 .rating-field > label {
     display: block;
     margin-bottom: 0px;
     font-weight: 600;
}
 .star-rating {
     display: flex;
     flex-direction: row-reverse;
     justify-content: flex-end;
     gap: 6px;
}
 .star-rating label {
     font-size: 22px;
     color: #ccc;
     cursor: pointer;
     transition: color 0.3s ease;
}
 .star-rating input[type="radio"]:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label {
     color: #f5b301;
}
 .radio-group {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
}
 .radio-group label {
     background: #eee;
     padding: 0px 5px;
     border-radius: 8px;
     cursor: pointer;
     font-size: 13px;
     transition: background-color 0.3s ease;
     user-select: none;
}
 .radio-group input[type="radio"]:checked + label {
     background-color: #4caf50;
     color: white;
     font-weight: 700;
}
 .rating-fields-extra {
     margin-top: 30px;
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
}
/* ری‌سپانسیو */
 @media screen and (max-width: 900px) {
     .rating-row {
         flex-direction: column;
    }
     .rating-field {
         flex: 1 1 100%;
         min-width: auto;
    }
     .rating-fields-extra {
         flex-direction: column;
    }
}
/**********************/
 .custom-comment-wrapper {
     border: 1px solid #ddd;
     padding: 12px;
     margin-bottom: 15px;
     border-radius: 8px;
     background: #fff;
     box-shadow: 0 2px 6px rgb(0 0 0 / 0.05);
}
 .comment-header {
     display: flex;
     align-items: center;
     margin-bottom: 12px;
}
 .author-avatar {
     margin-right: 12px;
     border-radius: 50%;
     overflow: hidden;
     width: 60px;
     height: 60px;
}
 .author-details {
     display: flex;
     flex-direction: column;
     font-size: 14px;
     color: #444;
}
 .author-name {
     font-weight: 600;
     margin-bottom: 4px;
}
 .comment-date {
     font-size: 12px;
     color: #888;
}
 .comment-body {
     font-size: 14px;
     color: #333;
}
 .ratings-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
    /* دقیقا سه ستون */
     gap: 5px;
}
 .rating-item {
     background: #fff;
     border-radius: 6px;
     padding: 8px 10px;
     box-shadow: inset 0 0 5px rgb(0 0 0 / 0.03);
}
 .rating-item strong {
     display: block;
     margin-bottom: 4px;
     color: #222;
}
 .stars {
     color: #f5a623;
     font-size: 16px;
     user-select: none;
}
 .text-value {
     font-weight: 500;
     color: #555;
}
 .comment-actions {
     margin-top: 10px;
     text-align: right;
}
 .report-button {
     background: #e74c3c;
     color: white;
     padding: 6px 14px;
     border-radius: 5px;
     text-decoration: none;
     font-weight: 600;
     font-size: 13px;
     transition: background-color 0.3s ease;
}
 .report-button:hover {
     background: #c0392b;
}
 .teacher-grid-wrapper {
     justify-content: flex-start !important;
     display: flex;
     flex-wrap: wrap;
     gap: 15px;
}
 .info-user .teacher-card {
     width: calc(34% - 19px) ;
}
 .teacher-grid-row {
     font-size: 18px;
     font-weight: 600;
     margin-bottom: 10px;
}
 #teacher-search-container {
     position: relative;
     margin: 20px auto;
     direction: rtl;
}
 #teacher-search {
     width: 100%;
     padding: 10px 12px;
     border: 2px solid #ddd;
     border-radius: 8px;
     font-size: 1rem;
}
 #teacher-results {
     position: absolute;
     width: 100%;
     background: white;
     border: 1px solid #ddd;
     border-top: none;
     z-index: 1000;
     max-height: 300px;
     overflow-y: auto;
     border-radius: 0 0 8px 8px;
}
 .teacher-result-item {
     padding: 8px 10px;
     display: flex;
     align-items: center;
     gap: 10px;
     border-bottom: 1px solid #eee;
}
 .teacher-info {
     flex: 1;
}
 .teacher-name {
     font-size: 1rem;
     font-weight: bold;
     color: #333;
     margin-bottom: 6px;
}
 .teacher-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 5px 10px;
     font-size: 14px;
     color: #666;
     font-weight: 700;
     justify-content: flex-start;
}
 .meta-item {
     margin-bottom: 4px;
}
 .meta-item strong {
     font-weight: bold;
}
 .teacher-result-item img {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     object-fit: cover;
}
 .teacher-result-item a {
     display: flex;
     align-items: center;
     text-decoration: none;
     color: #333;
     width: 100%;
}
 .no-results {
     padding: 10px;
     color: #999;
     text-align: center;
}
 .author-share-box {
     margin-bottom: 10px;
     font-family: inherit;
     max-width: 100%;
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
     background: #fff;
     padding: 12px;
     border-radius: 10px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
     box-sizing: border-box;
}
 .share-title {
     font-size: 18px;
     font-weight: 600;
}
 .author-share-links {
     display: flex;
     gap: 12px;
     flex-wrap: wrap;
}
 .author-share-links a {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     border-radius: 8px;
     background-color: #ffffff;
     box-shadow: 0 2px 4px rgba(0,0,0,0.05);
     text-decoration: none;
     font-size: 18px;
     transition: all 0.2s ease;
}
 .author-share-links a:hover {
     background-color: #f0f0f0;
     transform: translateY(-2px);
}
 .author-share-links i {
     color: #f79a12;
}
 .user-dashboard .row {
     display: flex;
     gap: 15px;
     margin-bottom: 15px;
}
 .user-dashboard .col {
     flex: 1;
}

.w-post-elm.post_title {
    margin: 0 !important;
}