/*
Theme Name: PerfectDesign
Theme URI: https://www.light-web.ir/projects/sample2
Author: Kamyar Sadatmand
Description: perfect design
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face { src:url(Samim.woff) format('woff'); font-family: 'Samim'; }
* { margin:0; padding:0; direction:rtl; font-family: 'Samim';  }
body { background:#e0fdff; box-sizing:border-box; }
a { text-decoration:none; }
.logo { margin-right:40px; }
.wrapper {margin-top:10px; margin-right:100px; margin-left:100px; width:70%; min-height:100vh;  }
.nav { margin-bottom:40px; width:100%; height:50px; background:#FFFFFF; box-shadow:1px 1px 5px #d3e0e0; border-radius:15px; }
.nav li { padding:10px 20px; display:inline-block; list-style-type:none; }
.nav a { color:#000; }
.search { margin:5px 10px; float:left;  } 
.search input { height:40px; border:0; border-radius:15px; box-shadow:1px 1px 5px #d3e0e0; }
.search input::placeholder { margin:2px 4px; background:url(images/search.png); width:32px; height:32px; float:left; }
.header { margin-bottom:40px; width:100%; height:200px; background:url(images/header.png); background-size:100%; box-shadow:1px 1px 5px #d3e0e0; border-radius:15px; transition:background 0.5s ease-out 0.5s; }
.header h1 { color:#FFFFFF; text-shadow:1px 1px 5px #d3e0e0; margin-top:20px; line-height:2; text-align:center; }
.container { width:100%; min-height:100vh; }
.sid { margin-bottom:40px; padding:2px 20px; width:200px; min-height:100vh; float:right; background:#FFFFFF; box-shadow:1px 1px 5px #d3e0e0; border-radius:15px; }
.sid li { margin-right:35px; list-style-image:url('images/blank.png'); }
.post { margin-bottom:40px; padding-top:10px; width:670px; min-height:100vh; float:left; background:#FFFFFF; box-shadow:1px 1px 5px #d3e0e0; border-radius:15px; }
.post h1 , .post h2 , .post h3 { padding:5px 10px; }
.post p { padding:3px 14px; }
.clear { clear:both; }
.footer { width:100%; height:50px; background:#FFFFFF; box-shadow:1px 1px 5px #d3e0e0; border-radius:15px; }
.footer p:nth-child(1) { padding:15px; float:right; }
.footer p:nth-child(2) { padding:15px; float:left; }
.nexandprev { margin-top:10px; margin-bottom:10px; width:230px; background:#FFFFFF; box-shadow:1px 1px 5px #d3e0e0; border-radius:15px; }
.nexandprev a , .nexandprev p { color:#000000; font-size:15pt; font-weight:bold; }
.comments { width:300px; }
.comments input,textarea { background:#DFDFDF; box-shadow:1px 1px 5px #d3e0e0; border:none; border-radius:15px; }
.related-post { padding-right:10px; }
@media screen and (max-width:850px)
{
	* { overflow-x:hidden; }
	.logo { margin-right:0; }
	.wrapper { width:100%; margin:0; }
	.header { background-size:cover;}
	.nav li { padding:10px; }
	.sid { margin-bottom:40px; padding:0; width:100%; float:none; text-align:center; }
	.sid li { margin:0; list-style-type:none; }
	.post { margin-bottom:40px; width:100%; float:none; }
}