/*
theme name: Montakhab Theme
version: 1.0
Author: 2sweb
Author URI: http://2sweb.ir
Desctiption:
*/
body {
	background: #fff url(images/pattern_body.png);
	font-family: 'byekan',tahoma;
    color:#333;
}
:focus {
    outline: 0;
}
a {
    color: #333;
    transition: all .2s;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
}
a:hover {
    text-decoration: none;
}
a:active,a:visited,a:focus{
    outline: 0;
    text-decoration: none;
}
img {
	max-width: 100%;
}
@media (min-width: 1200px) {  
.container {
    width: 1200px;
}
}
/*
=masthead
-----------------------------------*/
.masthead {
	padding-top: 5px;
}
.title_site,.social_icons{
	margin-top: 35px;
}
.masthead .title_site h1 {
color: #fff;
    font-size: 22px;
    text-align: center;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
    padding: 10px 5px;
    line-height: 30px;
    margin-bottom: 5px;
}
.masthead .title_site h2 {
	font-size: 18px;
	color: #eee;
	text-align: center;
	position: relative;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}

.masthead .social_icons ul {
	display: table;
	float: left;
}
.masthead .social_icons ul li {
	float: left;
	margin: 3px;
}
.masthead .social_icons ul li a {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 50px;
        background-color:#444;
	border-radius: 2px;
	text-align: center;
}
.masthead .social_icons ul li a i {
	font-size: 23px;
	color: #ddd;
	text-align: center;
	font-weight: normal;
}
.masthead .social_icons ul li.facebook_icon a:hover {
	background-color: #4E71A8;
}
.masthead .social_icons ul li.twitter_icon a:hover {
	background-color:#1CB7EB;
}
.masthead .social_icons ul li.google_icon a:hover {
	background-color:#E3411F;
}
.masthead .social_icons ul li.linkdin_icon a:hover {
	background-color:#1ECE9F;
}
.masthead .social_icons ul li.instagram_icon a:hover {
		background-color: #EA4C89;
}
.masthead .social_icons ul li.telegram_icon a:hover {
	background-color:#3FA1DA;
}
/*
=main_slider
------------------------------------*/
#main_slider {
	width: 100%;
	position: relative;
	margin-bottom: 20px;
}
/*
=index-feature
------------------------------------*/
#index-feature .feature_box {
	padding: 0 10px;
}
.caption-wrap {
    position: relative;
    overflow: hidden;
	border: 2px solid #fff;
    -webkit-transform: translateZ(0);
     transform: translateZ(0);
	 height:auto;
}

.caption-wrap::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.caption-wrap:hover::before {
    background: rgba(0, 0, 0, .7);
}
.caption-wrap img {
	width: 250px;
	height: 175px;
	max-width: 100%;
}
.caption_media {
    display: block;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}
.caption_overlay {
    position: absolute;
    top:20%;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: white;
    -webkit-transform: translateY(100%);
     transform: translateY(100%);

    transition: -webkit-transform .35s ease-out;
    transition: transform .35s ease-out;
}
.caption_overlay a {
	color:#eee;
	font-size:16px;
	font-weight:normal;
}
.caption-wrap:hover .caption_overlay_title a {
	color:#FF6;
}
.caption_overlay_content {
line-height:20px;
 }
.caption-wrap:hover .caption_overlay_content a {color:#fff }

.caption-wrap:hover .caption_overlay {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.caption_overlay_title {
	font-size: 16px;
	font-weight: normal;
	line-height: 20px;
    -webkit-transform: translateY( -webkit-calc(-100% - 10px) );
     transform: translateY( calc(-100% - 10px) );
    transition: -webkit-transform .35s ease-out;
    transition: transform .35s ease-out;
	padding-bottom:4px;
}

.caption-wrap:hover .caption_overlay_title {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}
.caption_overlay_content a {
	font-size: 14px;
	font-weight: normal;
	color: #ddd;
	line-height: 19px;
}
/*
=text_content
---------------------------------*/
.text_content {
	width: 100%;
	border: 2px solid #fff;
	margin-top: 15px;
	padding: 10px;
	background-color: #34495E;
	margin-bottom: 15px;
}
.text_content .text_pic {
	display: block;
	float: right;
	margin-left: 10px;
}
.text_content .wrapper_text h4 {
	color: #fff;
	font-size: 18px;
}
.text_content .wrapper_text h4 i {
	padding-left: 4px;
}
.text_content .wrapper_text p {
	color: #eee;
	font-size: 16px;
}
.text_content .more_link {
	display: block;
	float: left;
	color: #fff;
	margin: 5px 0 0 20px;
}
.text_content .more_link i {
	vertical-align: middle;
	padding-right: 3px;
}
/*
=index-posts
----------------------------------*/
.index-posts {
	margin-bottom: 15px;
}
.index-posts .item-post {
	float: right;
	width: 100%;
	margin-bottom: 10px;
	background: rgba(255,255,255,.2);
	padding: 10px;

}
.index-posts .item-post .thumb_post {
	display: block;
	float: right;
	margin-left: 6px;
}
.index-posts .item-post .thumb_post img {
	width: 150px;
	height: 120px;
	border: 2px solid #fff;
	border-radius: 2px;
}
.index-posts .item-post .content_post h4 {
	line-height: 25px;
}
.index-posts .item-post .content_post h4 a {
	display: block;
	font-size: 20px;
	color: #fff;
        padding-bottom:7px;
}
.index-posts .item-post .content_post h4 a:hover,.index-posts .archive_link:hover,.index-posts .more_post:hover,
.text_content .more_link:hover{
	color: #ddd;
}
.index-posts .item-post .content_post p {
	font-size: 16px;
	color: #ddd;
	line-height: 23px;
}
.index-posts .more_post {
	display: block;
	float: left;
	margin: 5px 0 0 10px;
	color: #fff;
}

.index-posts .more_post i {
	vertical-align: middle;
	padding-right: 3px;
}
.index-posts .archive_link {
	display: block;
	color: #fff;
	text-align: center;
	padding: 3px;
	background-color: rgba(255,255,255,.3);
	clear: both;
}
/*
=sidebar_panel
----------------------------------*/
.widget,.sidebox {
	float: right;
	width: 100%;
	margin-bottom: 15px;
	background-color: #30a3b3;
}
.widget .widg-title,.sidebox .widg-title {
	position: relative;
	background-color: #238f9e;
	padding: 9px 15px 9px 5px;
	color: #fff;
	font-size: 18px;	
}
.widget .widg-title:before,.sidebox .widg-title:before {
		content: "";
		position: absolute;
		right: 0;
		top: 0;
}
.sidebox .widg-title {
	padding-right: 60px;
}
.sidebox .widg-title:before {
    width: 60px;
    height: 100%;
    background: url(images/title_ls.png) no-repeat center;
    top: 0px;
    right: 0;
}
.widget .widg-content,.sidebox .widg-content{
	padding: 10px;
}
.sidebox .widg-content ul li {
	float: right;
	width: 100%;
	clear: both;
	margin-bottom: 12px;
}
.sidebox .thumb_list {
	display: block;
	float: left;
	width: 100px;
	height: 80px;
	margin-right: 5px;
}
.sidebox .thumb_list img {
	width: 100px;
	height: 80px;
	border: 2px solid #fff;
}
.sidebox .widg-content .title_list {
	line-height: 20px;
	margin-top: 10px;
}
.sidebox .widg-content .title_list a {
	display: block;
	position: relative;
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
	color: #fff;
	padding-right: 14px;
}
.sidebox .widg-content .title_list a:before {
	content: "";
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	top: 8px;
	right: 0;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
}
.sidebox .widg-content .title_list a:hover {
	color: #ddd;
}
.sidebox .widg-content .title_list a:hover:before {
	background: yellow;

}
.widget .widg-content ul li a {
	display: inline-block;
	position: relative;
	color: #fff;
	font-size: 15px;
	line-height: 25px;
	padding: 5px 28px 5px 4px;
}
.widget .widg-content ul li a:hover {
	opacity: .8;
}
.widget .widg-content ul li a:before {
	content: "";
	position: absolute;
	right: 0;
	top: 7px;
	width: 24px;
	height: 24px;
	background: url(images/icon-list.png) no-repeat;
}
.widget .widg-title i {
	vertical-align: middle;
	padding-left: 6px;
	font-size: 25px;
}
.widget .wpcf7-form input[type="text"],.widget .wpcf7-form input[type="email"],
.widget .wpcf7-form input[type="tel"]
{
	width: 80%;
	margin-bottom: 5px;
	padding: 0 5px;
}
.widget .wpcf7-form input[type="email"],.wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.widget .wpcf7-form input[type="tel"] {
text-align:right;
 }
.widget .wpcf7-form input[type="email"]:focus,.wpcf7 input[type="email"]:focus, .wpcf7 input[type="tel"]:focus,
.widget .wpcf7-form input[type="tel"]:focus { text-align:left}
.widget .wpcf7-form textarea {
	width: 100%;
	padding: 5px;
	height: 150px;
}
.widget .wpcf7-form input[type="submit"] {
	float: right;
	clear: both;
	margin: 5px 10px 15px;
	border: 0;
	padding: 2px 15px;
	color: #444;
	border-radius: 2px;
	background-color: #fff;
	font-size: 16px;
}
.tagcloud a {
	display: inline-block;
	background-color: #fff;
	padding: 5px 10px;
	border-radius: 2px;
	color: #444;
	margin: 4px;
}
.tagcloud a:hover {
	color: #E74C3C;
}
div.textwidget {
	color: #fff;
	font-size: 15px;
	line-height: 25px;
}
/*** serchform ***/
#searchform {
    display: table;
    padding: 8px;
    width: 232px;
    margin: 10px auto;
    max-width: 100%;
}
#searchform label {
    display: none;
}
#searchform input[type="text"] {
    float: right;
    border: 0;
    border: 1px solid #ddd;
    border-radius: 1px;
    padding: 3px 4px;
	width: 176px;
    height: 30px;
    color: #555;
    font-size: 12px;
	border-left: 0;
	max-width: 100%;
}
#searchform input[type="text"]:focus {
    border-color: #3498DB;
}
#searchform input[type="submit"] {
    border: 0;
    border-radius: 1px;
    padding: 4px 10px;;
    background: #2980B9 url(images/search_icon2.png) no-repeat center;
    color: #fff;
    font-size: 12px;
    width: 40px;
    height: 30px;
    line-height: 20px;
	text-indent: -9999px;
}
/*
=calendar_wrap
--------------------------------------*/
#wp-calendar {
	width:100%;
	line-height:24px;
	color: #fff;
}

#wp-calendar caption {
	text-align: center;
	font-size:18;
	font-weight:normal;
	margin-bottom:5px;
	color:#fff;
}
#wp-calendar thead th {
	background:#2980B9;
	width: 24px;
	color: #fff;
	text-align: center;
    padding-bottom: 5px;
}
#wp-calendar tbody td {
	color: #fff;
	border: 1px solid #ededed;
	text-align: center;
}
#wp-calendar tbody td a {
	color: red;
}
#wp-calendar tfoot td a {
	color: yellow;
}

/*
=footer
---------------------------------*/
#footer {
	width: 100%;
	padding: 10px 0;
	background-color: #238F9E;
}
#footer .ftbox_title {
	color: #fff;
	font-size: 18px;
	margin-bottom: 5px;
}
#footer .ft_box ul li {
	color: #eee;
	font-size: 14px;
	line-height: 25px;
}
#footer .ft_box ul li a {
	display: block;
	color: #eee;
	padding: 2px 10px 2px 2px;
	line-height: 25px;
	position: relative;
}
#footer .ft_box ul li a:hover {
	color: #ddd;
}
#footer .ft_box ul li a:before {
		content: "\f0d9";
		font-family: FontAwesome;
		position: absolute;
		right: 0;
		top: 4px;
		font-size: 14px;
		color: #fff;
}
#footer .ft_box ul.contact_ft li {
	font-size: 16px;
	font-weight: normal;
}
#footer .ft_box p {
	color: #f5f5f5;
}
#copyright  {
	text-align: center;
	padding-top: 5px;
	margin-top: 5px;
	border-top: 1px solid #30a3b3;
}
#copyright a {color:yellow }
#copyright p {
	color: #ddd;
}
#copyright a:hover {opacity:.7 }
#toosweb {
text-align:center;
color:#fff;
 }
/*
=inner-page
------------------------------------*/
.inner-page .main-content,.related_posts,#commentbox {
	width: 100%;
	background-color: #fff;
	padding: 10px 15px;
	border-radius: 2px;
	margin-bottom: 15px;
}
.inner-page .main-content .header_post {
	margin-bottom: 10px;
}
.inner-page .main-content .header_post .title_page {
	padding-bottom: 5px;
	margin-bottom: 5px;
	border-bottom: 1px solid #eee;
}
.inner-page .main-content .header_post .meta_post li {
	float: right;
	margin: 5px 0 5px 15px;
}
.inner-page .main-content .header_post .meta_post li i {
	color: #555;
	padding-left: 2px;
	vertical-align: middle;
}
.inner-page .main-content .header_post .meta_post li a {
	color: #3498DB;
}
.inner-page .main-content .header_post .meta_post li a:hover {
	color: #000;
}
.entry_content img {
	padding: 4px;
	border: 1px solid #d5d5d5;
	border-radius: 1px;
}
.entry_content p {
	font-size: 16px;
	color: #444;
}
.meta_post_footer .social_page {
	width: 100%;
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid #e5e5e5;
}
.meta_post_footer .social_page li {
	float: right;
	margin: 5px;
}
.meta_post_footer .social_page li .title_socialpage {
	display: inline-block;
	padding-left: 6px;
	font-size: 16px;
	color: #555;
}
.meta_post_footer .social_page li a {
	font-size: 18px;
	color: #444;
}
.meta_post_footer .social_page li a:hover {
	color: #999;
}
/*
=related_item
------------------------------*/
.related_item .related_thumb,#commentbox {
   display: block;
	float: right;
	margin-left: 10px;
}
.related_item {
	float: right;
	width: 100%;
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ddd;
}
.related_item .related_thumb img {
	width: 100px;
	height: 80px;
	padding: 4px;
	border: 1px solid #d5d5d5;
	border-radius: 2px;
}
.related_item .related_titem a {
    font-size: 17px;
    padding-top: 15px;
    color: #2980B9;
}
.related_item .related_titem a:hover {
	color: #000;
}
.related_item  .related_date {
	display: block;
    color: #555;
}
.title_section {
	padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
	text-align: center;
	background-color: #fcfcfc;
}
.title_section i {
	padding-left: 3px;
}
/*** pagenavi ***/

#pagnavi {
    display: table;
    margin: auto;
}
.wp-pagenavi {
    margin: 15px;
}

.wp-pagenavi a.page,
.wp-pagenavi a.larger {
    display: inline-block;
    color: #333;
    width: 34px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    background: #fff;
    margin: 8px 2px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.wp-pagenavi a.page:hover,
.wp-pagenavi a.larger:hover {
    background: #238f9e;
    color: #fff;
}

.wp-pagenavi span.pages {
    background: #238f9e;
    color: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    font-size: 16px;
}

.wp-pagenavi span.current {
    display: inline-block;
    color: #fff;
    width: 34px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #238f9e;
    font-size: 16px;
    border-radius: 3px;
	margin: 2px;
}

@media screen and (max-width:992px) {
	.masthead .social_icons ul {
		float: none;
		margin: 0 auto 10px;
	}
}
@media screen and (max-width:768px) {
	.logo_site img {
		margin: 5px auto;
	}
	.feature_box {
		margin-bottom: 15px;
	}
}
@media screen and (max-width:480px) {
	.related_item .related_thumb {
		float: none;
		margin: 10px auto;
	}
	.related_item img {
		margin: auto;
	}
	.feature_box {
		width: 100%;
	}
	.text_content .text_pic {
		float: none;
		margin: 5px auto 10px;
	}
	.index-posts .item-post .thumb_post {
		float: none;
		margin: 5px auto;
	}
	.index-posts .item-post .thumb_post img {
		margin: auto;
	}
}
.widget .wpcf7-form p {
margin-bottom:2px;
 }
.entry_content li {
font-size:16px;
line-height:28px;
 }
.entry_content ol,.entry_content ul {
padding-right:15px;
 }

#go-top {
	position: fixed;
	right: 15px;
	bottom: 15px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	background-color: #30a3b3;
	border-radius: 2px;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
	display: none;
	
}
#go-top:hover {
	opacity:.7;
}
#go-top i {
	position: absolute;
	right: 0;
	left: 0;
	font-size: 25px;
	text-align: center;
	color: #fff;
	margin: auto;
	cursor: pointer;
	top: 6px;
}

