/**
Theme Name: Iamsarvis
Theme URI: http://iamsarvis.ir/sarvis-theme
Author: Sobhan Askari
Author URI: http://iamsarvis.ir
Description: پوسته سارویس یک پوسته اختصاصی و کاملا شخصی می باشد و هرگونه کپی برداری از آن پیگرد قانونی دارد.
Version: 1.0.0
Text Domain: sarvis
*/
@font-face {
    font-family: "Vazir";
    src: url(assets/fonts/Vazir-Regular.woff);
}
@font-face {
    font-family: "Vazir-bold";
    src: url(assets/fonts/Vazir-Bold.woff);
    font-weight: bold;
}
body{
    padding: 0;
    margin: 0;
    background-color: #fff;
    font-family: "Vazir", serif;
    direction: rtl;
    font-size: 16px;
}
a{text-decoration: none;color:#107abe;}
ul{margin: 0;padding: 0}
img{width: 100%;height:auto;}
section.top-menu{
    background-color: #107abe;
    font-size: .8em;
    color: #fff;
}
section.top-menu ul li.top-menu-li {
    list-style: none;
    display: inline-block;
    padding: 5px 10px;
}
section.top-menu ul li.top-menu-li a{
    color: #fff;
}
.date{
    text-align: left;
    padding-top: 5px;
}
.user{
    padding-top: 20px;
}
.login, .sign-up{
    display: inline-block;
    float: right;
}
.login{
    padding: 10px 25px;
    margin-left: 5px;
}
.login a{color: #13990f;}
.sign-up{margin: 10px;}
.sign-up a, .contact-form .wpcf7-submit{
    background-color: #13990f;
    color: #fff;
    padding: 3px 25px;
    border-radius: 4px;
	border: 0;
}
.sign-up a:hover{
    background-color: #fff;
    color: #13990f;
    border: 1px #13990f solid;
}
.logo{
    text-align: center;
    padding: 10px;
}
.logo h1{
	font-size: 2.5rem;
	font-weight:400;
	margin:0;
}
#search-form{
    text-align: left;
    margin: 30px 0;
}
.search-field{
    font-family: "Vazir", serif;
    font-size: 15px;
    width: 220px;
    height: 25px;
    padding: 15px 5px;
    border: #e5e5e5 1px solid;
}

/*********** main ***********/
.main{
    width: 100%;
    background-color: #f9f9f9;
}
/******** Newsletter ********/
.newsletter{
    background-color: #bfe8ff;
    padding: 10px 20px 0 20px;
    margin: 40px 0;
    border-radius: 5px;
}
.newsletter-welcome{
    font-size: 1.7em;
    color: #323232;
}
.newsletter-text{
    line-height: 2;
    color: #323232;
}
.newsletter-img{
    margin-bottom: -25px;
}
.newsletter-subscription{
    padding-top: 10px;
}
.newsletter-subscription .newsletter-name, .newsletter-subscription .newsletter-email, .newsletter-subscription .newsletter-submit{
    font-family: "Vazir", serif;
    font-size: 15px;
    padding: 5px;
    border: 0;
}
.newsletter-subscription .newsletter-name, .newsletter-subscription .newsletter-email{
    width: 35%;
}
.newsletter-subscription .newsletter-submit{
    width: 18%;
    background-color: #13990f;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    margin-right: 2%;
}
/******** Articles ********/
.articles{
    background: #ffffff;
    padding: 20px 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow:0 0 5px 2px #ededed;
}
.articles .category-image, .related-post .related-post-category-image,.article .category-image, .related-post .related-post-category-image{
    float: right;
}
.articles .post-details, .related-post .related-post-details, .article .post-details, .related-post .related-post-details{
    float: right;
    margin-top: 10px;
    padding-right: 10px;
}
.articles .cat-img, .related-post .related-post-category-image .cat-img, .article .cat-img, .related-post .related-post-category-image .cat-img{
    width: 70px;
    height: 70px;
}
.articles .cat-img img, .related-post .related-post-category-image .cat-img img, .article .cat-img img, .related-post .related-post-category-image .cat-img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.articles .post-categories a, .related-post .related-post-details .related-post-categories a, .article .post-categories a, .related-post .related-post-details .related-post-categories a{
    color: #5b5b5b;
    font-size: 15px;
}
.articles .post-date, .related-post .related-post-details .related-post-date, .article .post-date, .related-post .related-post-details .related-post-date{
    color: #9f9f9f;
    font-size: 14px;
}
.articles h2, .article h2{
    display: inline-block;
    width: 100%;
    color: #363636;
    font-family: "Vazir-bold", serif;
}
article.articles span{
    color: #858585;
}
.articles p, .article p{
    margin: 0 0 .8em 0;
}
.articles .post-thumbnail img, .article .post-thumbnail img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.articles ul li{
	margin-bottom:10px;
}
/****** pagination *****/
ul.navigation{
    display: block;
    margin-bottom: 20px;
    text-align: center;
}
ul.navigation li{
    display: inline;
    list-style: none;
}
ul.navigation li a{
    color: #107abe;
    background-color: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    border: 1px #d0d0d0 dashed;
}
/******** Single *******/
.non > .article .post-thumbnail img{
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}
.non > .article{
    box-shadow: unset;
}
.article span{
	color: #2d2d2d;
	line-height: 1.9;
	font-size: 1.1em;
}
.article ul{
    margin: 0.8em 1.5em 0.8em 0;
}
.article ::marker{
    color: #107abe;
}
.non > .article > .tags{
    padding: 20px;
}
.non > .article > .tags a{
    padding: 5px 10px;
    margin-left: 10px;
    background-color: #f2f2f2;
    color: #626262;
    font-size: .8em;
}
.related-posts{
    width: 100%;
    background-color: #f9f9f9;
}
.related-posts .related-posts-title{
    font-size: 1.3em;
    font-family: "Vazir-bold", serif;
    color: #474747;
    padding: 10px 0;
    margin: 30px 0;
}
    /*** related posts ***/
.related-posts .related-post{
    background-color: #fff;
    padding: 20px 10px;
    margin-bottom: 40px;
}
.related-posts .related-post a.related-post-title{
    font-size: 1.3em;
    font-family: "Vazir-bold", serif;
    color: #474747;
    margin-bottom: 40px;
    width: 100%;
    float: right;
    padding: 0 10px;
}
    /****** Comments ******/
.ql-editor.ql-blank::before{
    font-style: normal;
}
input, select, textarea, .ql-container, #wpdcom .wpd-second-button, #wpdcom .wpd-prim-button, #wpdcom .wpd-thread-filter .wpdf-sorting{
    font-family: "Vazir", serif;
}
	/****** tables ********/
.wp-block-uagb-table-of-contents ul.uagb-toc__list{
	margin-left: unset !important;
	margin-right: 2em;
}
.wp-block-uagb-table-of-contents ol.uagb-toc__list li{
	margin-bottom:6px !important;
}
.wp-block-table td{
	padding:10px 5px;
	border:1px #b7b7b7 solid;
}
.wp-block-table th{
	padding:10px 5px;
}
	/***** code style ******/
.wp-block-code{
	direction:ltr;
	text-align:left;
	background: #2C3338;
	color: #eee;
	padding: 10px;
}
	/***** Table of content ******/
/* Style for Table of Contents */
.wp-block-rank-math-toc-block {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  position: relative;
}
.wp-block-rank-math-toc-block h2 {
  font-size: 18px;
  margin-top: 0;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wp-block-rank-math-toc-block .toggle-button {
  cursor: pointer;
  color: #0073aa;
  text-decoration: underline;
  margin-left: 10px;
  font-size: 16px;
}
/*** note : add nav style in single page ***/
.wp-block-rank-math-toc-block li {
  margin: 5px 0;
}
.wp-block-rank-math-toc-block li a {
  text-decoration: none;
  color: #0073aa;
}
.wp-block-rank-math-toc-block li a:hover {
  text-decoration: underline;
}
/******** sidebar *******/
aside.sidebar{
    margin: 15px 0 30px 0;
    padding: 5px;
}
aside.sidebar .welcome .welcome-title, aside.sidebar .title-categories{
    font-size: 1.2em;
    font-family: "Vazir-bold", serif;
    color: #363636;
}
aside.sidebar .welcome p{
    line-height: 1.8;
    margin-top: 8px;
    font-size: 1.1em;
    color: #858585;
}
aside.sidebar .welcome .welcome-btn{
    background-color: #13990f;
    padding: 8px 10px;
    width: 250px;
    text-align: center;
    border-radius: 20px;
    color: #ffffff;
}
aside.sidebar .list-categories{
    margin-top: 40px;
}
aside.sidebar .list-categories > li.cat-item{
    list-style: none;
    font-size: 1em;
}
aside.sidebar li.cat-item > a{
    color: #323232;
}
aside.sidebar .list-categories > li.cat-item{
    margin-top: 15px;
}
aside.sidebar .cat-item ul.children{
    margin-right: 20px;
    margin-top: 3px;
}
aside.sidebar .cat-item ul.children li{
    list-style: circle;
}
aside.sidebar .cat-item ul.children li a{
    color: #5f5f5f;
    font-size: .9em;
    margin-right: 5px;
}
aside.sidebar ul.children > li.cat-item::marker{
    content: 'o';
     margin-top: 20px;
     color: #107abe;
 }
/********* Footer *********/
footer.footer{
    border-top: 2px #107abe solid;
    padding: 10px;
}
footer.footer .social-media{
    margin-top: 40px;
    text-align: center;
}
footer.footer .social-media p.social-media-title{
    color: #4b4b4b;
    font-size: 1em;
    font-family: "Vazir-bold", serif;
}
footer.footer .social-media ul.social-media-menu a.social-media-link{
    color: #808080;
    font-size: .9em;
}
footer.footer .social-media ul.social-media-menu a.social-media-link li.social-media-item{
    display: inline-block;
    padding: 0 10px;
}
footer.footer .copyright{
    text-align: center;
    margin: 40px 0 20px 0;
}
footer.footer .copyright span{
    font-size: .9em;
    color: #696969;
}
/************** pages ***************/
.page-title h1{
    font-weight: normal;
    color: #2b2b2b;
    margin:15px 0;
}
.page-content{
    margin:20px 0 50px 0;
}
.page-content p{
    line-height: 2;
    font-size: 1.2em;
    color: #4a4a4a;
}
.page-content h2, .page-content h3{
    font-weight: normal;
    color: #363636;
}
.page-content h3{
    font-size: 1.4em;
}
/************** 404 page ************/
.not-found-page{
    background-color: #f5f5f5;
}
.not-found{
    text-align: center;
}
.not-found > .title{
    font-size: 1.8em;
    margin-top: 50px;
}
.not-found > .sub-title{
    font-size: 1.4em;
    margin-top: 5px;
}
.not-found > .help-text{
    font-size: 1.1em;
    margin-top: 20px;
}
.not-found > .search-form > #search-form{
    text-align: center;
}
.not-found > ul.not-found-menu{
    margin-bottom: 100px;
}
.not-found > ul.not-found-menu li{
    list-style: none;
    display: inline;
    text-align: center;
    padding: 10px;
}
.not-found > ul.not-found-menu li a{
    color: #107abe;
}
/*********** Contact Form ***********/
.contact-form{}

/*********** TOC : RANK MATH SEO *********/
div#rank-math-toc > div {
    font-size: 22px;
    font-weight: 700;
}
div#rank-math-toc nav ol {margin: 5px 5px 20px 5px;}
/************ Responsive ************/
@media screen and (max-width: 992px) {
    .newsletter-subscription{
        margin-bottom: 20px;
    }
    .newsletter-subscription .newsletter-name, .newsletter-subscription .newsletter-email{
        width: 35%;
    }
    .newsletter-subscription .newsletter-submit{
        width: 25%;
    }
}
@media screen and (max-width: 576px) {
    .article{
        padding: 15px 15px;
    }
    .search-field{
        width: 60%;
        float: left;
    }
    /*** search box in not found page ***/
    .not-found > ul.not-found-menu{
        margin-bottom: 50px;
    }
    .not-found > .search-form .search-field{
        float: unset;
    }
	.articles .post-thumbnail img{
    	height: unset;
	}
}