@media only screen and (max-width: 1550px) {
    .container{
        width:1145px
        
    }
     .popupContentInner{
        padding:70px;
    }
    .popupContentInner .mainNewsContent p:last-child{
        margin-bottom: 70px;
    }
   
}
@media only screen and (max-width: 1168px) {
    .container{
        width: 980px;
    }
    article.news{
        margin-right:20px;
        width:300px;
    }
     .popupContentInner{
        padding:50px;
    }
    .popupContentInner .mainNewsContent p:last-child{
        margin-bottom: 50px;
    }
}
@media only screen and (max-width: 1023px) {
    .container{
        width: 760px;
    }
     article.news{
        width:350px;
    }
     .popupContentInner{
        padding:40px;
    }
    .popupContentInner .mainNewsContent p:last-child{
        margin-bottom: 40px;
    }
    ul.mainMenu li.siteSection:hover ul.subMenu, li.choice:hover .setings,
    li.searchSite:hover form
    {
        display: none;
    }
}


@media only screen and (max-width: 768px) {
    .container{
        width: 660px;
    }
     article.news{
        width:300px;
    }
    .popupBack{
        width: 60px;
        margin-left:-60px;
    }

}



@media only screen and (max-width: 679px) {

	 .container{
        width: 70% ;
        min-width:320px;
    }
    main{
        padding:10px !important;
        position:relative;
    }
	#news-pagination {
		padding-right: 10px;
	}
    article.news{
    width:99%;
    box-shadow: 0px 2px 2px -2px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 2px -2px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 2px -2px rgba(0,0,0,0.5);
	margin-right: 0px;
    }
    article.news:last-child{
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    }
    
    .popupContentInner{
        padding:20px;
    }
    .popupContentInner .mainNewsContent p:last-child{
        margin-bottom: 20px;
    }
}


@media only screen and (max-width: 480px) {
   article.news{
    width:99%;
   } 
   
   .popupBack {
	   width: 28px;
		background-size: 28px 70px;
   }
   
   .popupContentInner {
	   width: 90%;
   }
}

article .mainNewsTitle {
	padding: 5px;
}

article .mainNewsText {
	padding: 5px;
}