/*
  Theme Name: Photo Perfect
  Theme URI: www.wpcity.ir
  Author: wpcity
  Author URI: www.wpcity
  */
@font-face {
	font-family: 'WYekan';
	src: url('fonts/WebYekan.eot');
	src: url('fonts/WebYekan.eot?#iefix') format('embedded-opentype'), url('fonts/WebYekan.woff') format('woff'), url('fonts/WebYekan.ttf') format('truetype'), url('fonts/WebYekan.svg#WebYekan') format('svg');
	font-weight: normal;
	font-style: normal;
 unicode-range: U+0600–06FF;
}
@font-face {
	font-family: 'BTabassom';
	src: url('fonts/BTabassom.eot');
	src: url('fonts/BTabassom.eot?#iefix') format('embedded-opentype'), url('fonts/BTabassom.woff') format('woff'), url('fonts/BTabassom.ttf') format('truetype');
}
h1, h2, h3, h4, h5, h6 {
	font-family: BTabassom !important;
}
h3 {
	font-size: 28px;
}
html, body, div, input, textarea {
	font-family: WYekan !important;
	font-weight: normal;
}
p {
	font-family: WYekan !important;
	font-size: 16px;
}
a.tag-link-8 {
	font-size: 14px !important;
}
ul, ol {
	margin: 0 15px 15px 0;
}
.photo_perfect_widget_social ul {
	margin-right: 0;
	margin-left: auto;
}
.site-title > a {
	font-family: BTabassom !important;
}
.footer-widget-area {
	float: right;
}
.header-navigation li a {
	padding: 10px 15px 10px 45px;
	text-align: right;
}
#main-nav, #category-menu {
	border-right: none;
	border-left: 1px solid #ffffff;
	right: 50px;
	left: auto;
}
#category-menu {
	border-right: 1px solid #ffffff;
	left: 50px;
	border-left: 0;
	right: inherit;
}
.header-navigation .fa.fa-list {
	margin-right: 0;
	margin-left: 10px;
}
.header-navigation .fa {
	font-size: 20px;
}
.menu-toggle, .nav-list-btn {
	font-size: 23px;
}
.header-navigation .fa.fa-align-justify {
	margin-left: 0;
	margin-right: 10px;
}
.search-form input[type="submit"] {
	left: -2px;
	right: auto;
	top: 1px;
}
.error-404 h2 {
	font-size: 100px;
}
.entry-meta > span:before, .entry-footer > span:before, .single-post-meta > span:before {
	margin-left: 8px;
	margin-right: auto;
}
.search .entry-footer {
	text-align: right;
}
.footer-right, .footer-left {
	float: right;
	text-align: right;
}
.footer-right {
	text-align: left;
}
.comment-author img.photo {
	right: -15px;
	left: auto;
}
.comment .comment-body {
	float: right;
	padding: 14px 34px 15px 15px;
}
.photo_perfect_widget_social li a {
	margin-left: 5px;
	margin-right: auto;
}
.dropdown-toggle, .dropdown-toggle-cat {
    left: 0;
    right: auto;
	}
.site-info {
    margin-left: 10px;
}	
	/*media*/

@media only screen and (max-width:1169px) {
#page, .container {
	width: 97%;
}
}    /* Smaller than standard 1024 (devices and browsers) */

@media only screen and (max-width:1024px) {
.post-content {
	top: 21%;
}
.post-content i {
	margin: 0 5px 5px;
}
#site-identity {
	margin-top: 50px;
}
}  /* Smaller than standard 1024 (devices and browsers) */

@media only screen and (max-width:1023px) {
#page {
	padding: 0 15px;
	width: 97%;
}
#site-identity {
	margin-top: 80px;
	padding: 5px 15px;
}
.global-layout-left-sidebar .post-content i, .global-layout-right-sidebar .post-content i {
	font-size: 13px;
	margin: 0;
}
.widget_calendar td, .widget_calendar th {
	font-size: 9.6px;
	padding: 2.5px;
	text-align: center;
}
.widget_calendar caption {
	font-size: 12px;
	padding: 3px;
}
.widget-area .widget-title {
	font-size: 15px;
}
.cat-title {
	margin-bottom: 0;
}
.area-wrapper {
	padding: 15px;
}
#primary {
	padding-left: 15px;
	padding-right: 15px;
}
.search-form {
	overflow: visible;
}
.search-form input[type="submit"] {
	position: inherit;
	left: 0;
	right: auto;
	width: 100%;
}
.post-content {
	background-color: #1f1f29;
	padding: 15px;
	position: inherit;
	top: inherit;
	visibility: visible;
	margin-top: 2px;
	margin-bottom: 5px;
}
.post-content > h2 {
	margin: 0;
}
}  /* All Mobile Sizes (devices and browser) */

@media only screen and (max-width:767px) {
#primary, #sidebar-primary, #sidebar-secondary {
	width: 100%;
	clear: both;
}
.global-layout-three-columns #primary, .global-layout-three-columns #sidebar-primary, .global-layout-three-columns #sidebar-secondary {
	display: inline-block;
	float: none;
	width: 100%;
}
.footer-widget-area {
	float: right;
	padding: 0 15px;
	width: 50%;
}
.masonry-entry {
	width: 50%;
}
#main-nav {
	right: 10px;
	left: auto;
}
#category-menu {
	left: 10px;
	right: auto;
}
#main-nav, #category-menu {
	min-width: 140px;
}
.menu-toggle, .nav-list-btn {
	font-size: 17px;
}
#site-identity {
	margin-top: 15px;
}
.site-content {
	padding-bottom: 20px;
	padding-top: 20px;
}
.title-tag {
	display: block;
	margin-bottom: 15px;
	text-align: center;
}
.header-navigation li a {
	padding: 8px 15px 8px 50px;
	position: relative;
	text-align: right;
	z-index: 99;
}
.dropdown-toggle, .dropdown-toggle-cat {
	height: 40px;
	padding: 0;
	left: 0;
	right: auto;
	top: 0;
	width: 40px;
}
.footer-right, .footer-left {
	text-align: center;
	width: 100%;
}
.site-title {
	font-size: 30px;
	margin-bottom: 0;
}
.site-description {
	font-size: 13px;
	margin-bottom: 0;
}
#site-identity {
	margin-top: 10px;
	padding: 5px;
}
#site-logo {
	margin: 0 auto;
	max-width: 170px;
}
.site-header {
	padding: 10px 0;
}
#main-nav, #category-menu {
	top: 15px;
}
.dropdown-toggle:after, .dropdown-toggle-cat:after {
	content: "+";
	font-size: 24px;
	right: 1px;
	left: auto;
	line-height: 1.5;
}
.global-layout-left-sidebar #sidebar-primary {
	padding: 0 15px;
}
#primary, #sidebar-primary, #sidebar-secondary {
	clear: both;
	margin-bottom: 15px;
	padding: 0 15px;
	width: 100%;
}
.thumb-archive {
	margin-right: auto;
	margin-left: 0;
	width: 100%;
}
.archive-layout-excerpt .has-post-thumbnail .archive-content {
	margin-top: 0;
}
.has-post-thumbnail .archive-content {
	width: 100%;
}
.archive-post-even .thumb-archive {
	margin-right: 0;
	margin-left: auto;
}
.widget_calendar td, .widget_calendar th {
	font-size: 15px;
	padding: 5px;
}
#main-nav, #category-menu {
	z-index: 999;
}
}  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width:479px) {
.header-navigation .fa.fa-align-justify {
    margin-left: 0;
    margin-right: 0;
}
.header-navigation .fa.fa-list {
    margin-right: 0;
    margin-left: 0;
}
.header-navigation span {
	display: none;
}
.menu-toggle {
	width: auto;
	float: right;
}
.nav-list-btn {
	width: auto;
	float: left;
}
.header-navigation .fa {
	font-size: 23px;
	margin: 0;
}
.site-header {
	background: #e8e8e8 none repeat scroll 0 0;
	position: inherit;
	z-index: 99;
}
#main-nav .wrap-menu-content, #category-menu .category-list-wrapper {
	background-image: url("images/texture.jpg");
	clear: both;
	min-width: 150px;
}
#main-nav, #category-menu {
	background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
	border: medium none;
	min-width: inherit;
}
.post-content i {
	border: 1px solid;
	border-radius: 100%;
	color: #ffffff;
	font-size: 22px;
	margin: 10px 5px 0;
	padding: 7px;
}
.header-navigation .fa {
	font-size: 30px;
	margin: 0;
}
.menu-toggle, .nav-list-btn {
	padding: 5px 10px;
}
#site-logo {
	margin: 0 auto;
	position: relative;
	z-index: 99;
}
.dropdown-toggle, .dropdown-toggle-cat {
	height: 41px;
	width: 43px;
}
.site-branding {
	display: inline-block;
}
#site-identity {
	margin-top: 10px;
	padding: 20px;
}
.post-content h2 {
	font-size: 15px;
}
.footer-widget-area {
	width: 100%;
}
}  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */

@media only screen and (max-width:319px) {
.container {
	width: 300px!important; /*The container should be fixed below the widght 320px because below that the design may break*/
}
}
