/*
Theme Name: Info
Theme URI: #
Author: maleki
Author URI: http://raysaweb.ir/
Description: Info Theme v1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: elc
Text Domain: Info
*/
@import "assets/css/bootstrap.min.css";
@import "assets/css/bootstrap-rtl.min.css";
@font-face {
 font-family: iranyekan;
 src: url('assets/fonts/IRANYekanFaNum.eot');
 src: url('assets/fonts/IRANYekanFaNum.eot?#iefix') format("eot"),
 url('assets/fonts/IRANYekanFaNum.woff2') format("woff2"),
 url('assets/fonts/IRANYekanFaNum.woff') format("woff"),
 url('assets/fonts/IRANYekanFaNum.ttf') format("truetype")
}
body {
    font-family: iranyekan, sans-serif;
    background-color: #eef2f7;
    color: #333;
    margin: 0;
    padding: 0;
}
.h1, h1 {
    font-size: 21px;
    font-weight: bold;
}
.h2, h2 {
    font-size: 19px;
    font-weight: bold;
}
.h3, h3 {
    font-size: 18px;
    font-weight: bold;
}
.h4, h4 {
    font-size: 17px;
    font-weight: bold;
}
.h5, h5 {
    font-size: 16px;
    font-weight: bold;
}
.h6, h6 {
    font-size: 15px;
    font-weight: bold;
}
a {
    color: #0a3e76;
}
a:hover {
    color: #007bff;
}
.top_nav_toggle,div#mobile_menu {
    display: none;
}
header {
    color: #323131;
    border-bottom: 2px dashed #0056b3;
    background: #fff;
}
section.page_header {
    margin-top: 15px;
}
.navbar_box ul {    padding: 0;
    list-style: none;    margin: 0;
}
.navbar_box ul li a{
line-height: 45px;
}
.navbar_box ul li {
    display: inline-block;
    padding: 5px 10px;
}
.category-box { background: #f8f9fa; padding: 20px; text-align: center; border-radius: 8px; margin-top: 10px; }
.category-box h2 { color: #333; margin-bottom: 10px; }
.category-box ul { list-style: none; padding: 0; }
.category-box ul li { display: inline-block; background: #007bff; padding: 8px 12px; border-radius: 5px; margin: 5px; }
.category-box ul li a { color: white; text-decoration: none; }
/*********************home**********************/
.home.post_content {
    text-align: center;
    background: #0056b3;
    color: #fff;
    padding: 25px;
    margin: 25px auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    max-width: 850px;
    font-size: 16px;
    line-height: 35px;
}

.homeview .container-fluid {
    padding: 30px;
}
.homeview {
    text-align: center;
}
.post-item {
    background: linear-gradient(135deg, #ffffff, #f8f9fc);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    min-height:274px;
}

.post-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.post-item h2 a {
    color: #0056b3;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.post-item:hover  h2 a,.post:hover  h2 a{
    color: #ff6600;
}
.post-item.category-box:hover,.post:hover {
    background: #fff;
}
.post-meta {
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.post-excerpt {
    margin-top: 12px;
    font-size: 1em;
    color: #444;
    line-height: 1.6;
}

.pagination {
    text-align: center;
    margin-top: 25px;
}

.pagination a {
    display: inline-block;
    padding: 12px 18px;
    margin: 6px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.pagination a:hover {
    background: linear-gradient(135deg, #ff6600, #ff4500);
    transform: scale(1.05);
}
/****************end home*******************/
/****************category*******************/
#cat_view {
    padding: 40px 0;
}

#cat_view .container-fluid {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page_header {
    text-align: center;
    margin-bottom: 30px;
}

.page_header h2 {
    font-size: 2em;
    color: #0056b3;
    font-weight: bold;
}

.category_header {
    margin-top: 30px;
    padding: 15px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

.post {
    background: linear-gradient(135deg, #ffffff, #f8f9fc);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.post h2 a {
    color: #0056b3;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.post h2 a:hover {
    color: #ff6600;
}

.post p {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/****************end category*******************/
/****************single*******************/
#single_view {
    padding: 50px 0;
}

#single_view .container-fluid {
    max-width: 1024px;
    margin: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.single-post {
    text-align: right;
}

.single-post h1 {
    font-size: 2.2em;
    color: #0056b3;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.post-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 20px;
    }
    .single-post h1 {
        font-size: 1.8em;
    }
    .post-content {
        font-size: 1em;
    }
}

/****************end single*******************/
/****************login*******************/
.aligncenter {
    max-width: 100% !important;
}
form#loginform label {
    min-width: 173px;
}
input#wp-submit {
    background-color: #6aa6a2 !important;
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 16px;
    border: none;
    padding: 7px 25px;
    border-radius: 5px;
    color: #fff;
}
form#loginform {
    border: 1px solid #b5abab;
    border-radius: 10px;
    padding: 30px;
    width: 50%;
    margin: 30px;
    display: inline-block;
    text-align: right;
    background: #fff;
    color: #333;
}
.login-page .post_content {
    text-align: center;
}
/****************end login*******************/
/****************footer*******************/
footer {
    background: #f5f5f5;
    color: #333;
    padding: 20px 0;
    text-align: center;
}
p.copyright {
    margin: 0;
}
/****************end footer*******************/
@media only screen and (max-width: 600px) {
    form#loginform {
        width: 100%;
    }
  }