
@media (min-width: 1380px){
	#rsHead {
		padding-bottom: 45px;
	}
}
@media (min-width: 1024px){
	.responsivemainmenu {
		position: absolute;
		background-color: #4a970b;
		display: inline-block;
		width: 100%;
		min-height: 45px;
		bottom: 0;
	}
}
@media (max-width: 1024px) and (min-width: 980px){
	#rsSec3 {
	    margin-right: 0;
	    width: 11%;
	}
}
@media (max-width: 980px){
	#wrapper{
		width: 97%;
	}
	#rsHead .menu {
		padding: 9px 0;
	}	
	#rsHead ul li {
		height: 17px;
		padding: 0 12px;
	}
	#rsTopMenu ul.menu li {
		font-size: 11px;
		padding: 0 7px;
	}
	#rsBreaking #rsUpdated {
		display: none;
	}
	#rsSlideshow .lof-buttons-control,
	#rsSlideshow .lof-navigator-outer {
		display: none;
	}
	#rsSlideshow .lof-main-wapper,
	#rsSlideshow .lof-main-item,
	#rsSlideshow .lof-main-item > img{
		width: 100% !important;
	}
	#rsSec2 {
		float: left;
		width: 30%;
	}
	#rsSec1,#rsMain {
		width: 68%;
	}
	#rsSec1 .sprocket-strips-container > li {
		margin: 10px 2px;
		overflow: hidden;
		padding: 0;
		width: 32%;
	}
	#rsSec1 .sprocket-strips-item {
		width: auto;
	}
	#rsSec3 {
		width: 100%;
	}
	#rsSec3 .custom img {
		float: right;
		width: 100px;
		height: 180px;
	}
	#rsSec3 .submission {
		display: none;
	}
	#rsSec3 a {
		display: block;
	}
	#rsSec3 .moduletable .banneritem img {
		width: 100px;
		height: 180px;
		float: right;
	}
	#rsModir .sprocket-strips-p-block {
	    height: auto; 
	}
	#rsFootMenu{
		width: 100%;
	}
	div.itemFullText img {
	    max-width: 100%;
	}
}
@media (max-width: 800px){	
	#rsSec1,
	#rsSec2,
	#rsMain	{
		width: 99%;
	}	
	#rsSec2 .moduletable {
		float: right;
		margin: 0 0 0 20px;
		width: 45%;
	}
	#rsHead {
		background-size: cover;
		background-position: center right;
		min-height: 180px;
	}
	.responsivemainmenu {
		position: absolute;
		bottom: 10px;
		background-color: black;
	}
	#rsHead ul li a {
	font-size: 14px;
	}	
	#rsHead ul li {
		line-height: 15px;
		padding: 0 3px;
	}
	#rsHead .menu {
		padding: 5px 0;
	}
	#rsModir {
		float: left;
		width: 100%;
	}
	#rsModir .moduletable > h3{
		background-position: 100% 0;
	}
	.sprocket-strips-p-container .sprocket-strips-p-block{
		width: 100%;
		float: right;
	}
	#rsModir .sprocket-strips-p-title > a {
		font-family: rsmitra;
		font-size: 17px;
		line-height: 25px;
	}
	#rsModir .sprocket-strips-p-title{
		margin: 10px;
	}
	#rsSlideshow {
	    width: 100%;
	}
	#rsHead #sitename {
		width: 200px;
		height: 115px;
		display: inline-block;
		position: absolute;
		opacity: 0;
		padding: 0;
		margin: 0;
		top: 25px;
	}
}
@media (max-width: 768px){
	#rsTop #mod-search-searchword.inputbox {
		display: none;
	}
	#rsHead .menu {
		padding: 5px 0;
	}
}
@media (max-width: 640px){
	#rsSlideshow,
	#rsBreaking{
		display: none;
	}
	div.itemHeader {
	    margin: 20px 0 0 0;
	}
	#rsSec2 .moduletable {
		width: 100%;
	}
	#rsSec1 .affairresponsive {
		
	}
	#rsHead ul li a {
		font-size: 11px;
	}	
	#rsHead ul li {
		line-height: 15px;
		padding: 0 4px;
	}
	#rsHead .menu {
		padding: 5px 0;
	}
	#rsFootLogo {
		display: none;
	}
	.active .portrait-image {
		width: 15%;
	}
}
@media (max-width: 630px){
	#rsHead {
		height: 145px;
	}
	#rsHead .custom img {
		width: auto;
	}
	#rsHead .responsivemainmenu::before {
		content: "منوی اصلی";
	}
	#rsHead .responsivemainmenu {
		height: 25px;
		right: 0;
		overflow: hidden;
		position: absolute;
		top: 0;
		width: 70px;
		background-color: #479a04;
		color: #fff;
		padding: 10px;
		border-radius: 0 20px;
	}
	#rsHead .menu {
		display: none;
	}
	#rsHead .responsivemainmenu:hover {
		width: 100%;
		height: auto;
		overflow: visible;
	}
	#rsHead .moduletable.responsivemainmenu:hover ul {
		background-color: #489602;
		display: block;
		width: 100% !important;
		height: auto !important;
		margin: 10px 0 0 0;
	}	
	#rsHead ul li {
		float: none;
		padding: 10px;
	}
	#rsHead .moduletable .custom p {
		overflow: hidden;
	}
	#rsTop .responsivetopmenu::before {
		content: "منوی فرعی";
	}
	#rsTop .responsivetopmenu {
		height: 25px;
		right: 50px;
		overflow: hidden;
		position: absolute;
		top: 7px;
		width: 70px;
		z-index: 2;
		background-color: #479a04;
		padding: 10px;
		color: #fff;
		border-radius: 20px 0;
	}
	#rsTop .menu {
		display: none;
	}
	#rsTop .responsivetopmenu:hover {
		overflow: visible;
	}
	#rsTop .moduletable.responsivetopmenu:hover ul {
		background-color: #333;
		display: inline-block;
		height: auto !important;
		margin: 10px -13px 0 0;
		width: max-content;
	}
	#rsTop ul li {
		float: none;
		padding: 10px;
	}
	#rsTop .moduletable .custom p {
		overflow: hidden;
	}
	#rsTopMenu ul.menu li {
		float: none;
		font-size: 13px;
		padding: 9px 7px;
	}	
	#rsUpdated {
		display: none;
	}
	#rsSearch {
		float: initial;
		margin-top: 162px;
		margin-left: -140px;
	}
	#rsTop1 {
		width: 100%;
	}
	#rsOffer {
		width: 100%;
		margin: 25px 0 0 0;
	}
}
@media (max-width: 480px){
	#wrapper {
		width: 94%;
	}
	#rsOffer li {
		width: 100%;
		padding: 10px 0;
		margin: 0;
		height: auto;
	}
	#comments .comments-list {
		margin-right: 0;
	}
	#comments .comment-body {
		padding: 15px;
	}
	.nameDate {
		width: 230px;
	}
	#rsFootMenu {
		width: 94%;
		margin-right: 4px;
		padding-top: 12px;
	}
	#rsFootMenu ul.menu li {
		margin: 5px 0;
	}
	div.itemHeader {
    	margin: 40px 0 0 0;
	}	
	#rsSec1 div.itemImage a img {
		padding: 2px;
		width: 91%;
	}
	#rsSec1 div.itemImage {
		width: 30%;
	}
	#rsSec1 .moduleItemPack,
	#rsSec1 .preTitleIntro{
		height: auto;
	}	
	#rsSec1 #imgageAndIntro {
		display: none;
	}
	.sprocket-strips-p-container .sprocket-strips-p-block{
		width: 100%;
	}
	#rsSec1 .custom.lastFeatureNews.affairresponsive img {
		height: 150px;
		width: 89px;
	}
}
@media (max-width: 360px){
	#rsSec1 .custom.lastFeatureNews.affairresponsive img {
		height: 123px;
		width: 67px;
	}
}
@media (max-width: 320px){
	#rsSec1 div.itemImage {
		display: none;
	}
	#rsModir .sprocket-strips-p-item img{
		display: none;
	}
	#rsSec1 .custom.lastFeatureNews.affairresponsive img {
		height: 110px;
		width: 59px;
	}
}