 @media screen and (min-width: 1300px) {#photomod:nth-child(3n) {margin-right: 0;}}
 @media screen and (max-width: 1285px) and (min-width: 1020px){
    #maincont, .headline, #header, #headmenu, .footline, .fbgtop  {width: 1000px;}
	.breadcrumb {width:940px;}
    #content, #boarditem, .boardid, .allcont, .fullstory img, #firstinf, .fipic, .fipic img, #lascom, #news, #indextabs, .intabs, #lastphotos { width: 750px;}
	#firstinf span, .intabs_cont {width:710px;}
	#sidebar-r{width: 750px;}
	.right-block {width:100%;float: left;margin-right: 15px;}
	.right-block:nth-child(2n) {margin-right:0}
    #sidebar-ltabs {width: 90%;}
	.bcontpoll {width:99.4%;padding-bottom: 20px;}
	.tntitle, .btitle, .btitlemenu, .catsTable, .btitlepoll   {width:100%;}
	.btitlepoll { background-position: center 28px;}
	.todaynews {width:92%;}
	.tnews { width: 99%;}
	.bcontpoll .pollBut, .bcontpoll .pollButblue {width:50%; float:left}
	#secinf, .secpic, .secpic img, #thirdinf, .thirdpic, .thirdpic img, #fourthinf, .fourthpic, .fourthpic img{ width: 249px;}
	#secinf span, #fourthinf span, #thirdinf span{width: 209px; }
	#headmenu ul li a {padding: 0 15px;font-size: 16px;}
	.fblock {width: 303px;}
	.searchForm {width: 300px;margin-left:20px;}
	.schQuery input { width: 240px !important;}
	.logout a {width:130px;}
	.logo{background-size: 418px;margin: ;margin-top: 16px;}
	.map{background-size: 426px;top: 16px;left: 355px;}
	.telefon-box{background-size: 304px;top: 6px;left: 770px;ffont-size: ;font-size: 15px;}
	.telefon{/*! top: 6px; *//*! left: 311px; */ffont-size: ;font-size: 16px;}
	.slider {top: 6px;/*! left: 252px; */width: 750px;}
	.slider-wrapper{width: 500px;}
	.pager{width: 250px;}
	.slider img{width: 500px;}
	.relatednews, .relatednews img, .relatednews .adsinftext, .relatednews .adsinfpic {width:139px !important;}
	#photomod, .pmpic, .pmpic img {width:236px;}
	.pmtext {width:233px;}
	.lastnews, .ln {width: 490px;}
	.wln a { width:445px;}
	.alladsindex {width: 681px;}
	.adsinf, .adsinfpic, .adsinfpic img, .adsinftext {width: 166.2px;}
	.lastphotospic, .lastphotospic img, .lastphotospic img:hover  {width: 172.5px;}
	#photomod:nth-child(3n) {margin-right: 0;}
	.nncont, .ninfo {width: 500px;}
}
  @media screen and (max-width: 1020px){
    #maincont, .headline, #header, #headmenu, .footline, .fbgtop  {width: 800px;}
	.breadcrumb {width:740px;}
    #content, #boarditem, .boardid, .allcont, .fullstory img, #firstinf, .fipic, .fipic img, #lascom, #news { width: 550px;}
	#firstinf span, #indextabs {width:510px;}
	#sidebar-r, .lastnews, .ln, .intabs, #lastphotos, .ntitle{width: 550px;}
	.boardtitle {width:100%;}
	.right-block {width:100%;margin-top:0;}
	.right-block:nth-child(2n) {margin-right:0}
	#sidebar-ltabs {width: 93%;}
	.todaynews {width:94%;}
	.tntitle, .btitle, .btitlemenu, .catsTable, .btitlepoll, .lasttopnews   {width:100%;}
	.btitlepoll { background-position: center 28px;}
	.bcontpoll {width:99.4%;padding-bottom: 20px;}
	.tnews { width: 99%;}
	.bcontpoll .pollBut, .bcontpoll .pollButblue {width:50%; float:left}
	#secinf, .secpic, .secpic img, #thirdinf, .thirdpic, .thirdpic img, #fourthinf, .fourthpic, .fourthpic img{ width: 182px;}
	#secinf span, #fourthinf span, #thirdinf span{width: 142px; }
	.secpic {height:120px;}
	.secpic img {  min-height: 120px;max-height: 120px;}
	#thirdinf span, #secinf span, #fourthinf span { margin-top: -120px;height: 110px;padding-top:10px;}
	#firstinf, .fipic {height:310px;}
	.fipic img {min-height:310px;}
	#firstinf span {margin-top:-310px;padding-top:164px;}
	#thirdinf span a, #secinf span a, #fourthinf span a { height: 40px;overflow: hidden;display: block;}
	#headmenu ul li a {padding: 0 15px;font-size: 16px;}
	.fblock {width: 303px;}
	.searchForm {width: 200px;margin-left:2px;}
	.schQuery input { width: 140px !important;}
	.logout a {width:120px;margin-right:0;}
	.profile a {width:160px; background: #478ec1;    padding-right: 15px;padding-left: 10px;}
	.profile a:hover {background: #5a9ac7;}
	.profile-logged a{margin-right:0;}
	.logo{background-size: 374px;margin-top: 15px;}
	.map{background-size: 355px;top: 22px;left: 320px;}
	.telefon-box{background-size: 304px;top: 5px;left: 668px;ffont-size: ;font-size: 11px;}
		.telefon{/*! top: 6px; *//*! left: 311px; */ffont-size: ;font-size: 13px;}
	.slider {top: 6px;/*! left: 252px; */width: 550px;}
	.relatednews, .relatednews img, .relatednews .adsinftext, .relatednews .adsinfpic {width:139px !important;}
	#photomod, .pmpic, .pmpic img {width:265px;}
	.pmtext {width:233px;}
	.lasttopnews { border-top: 1px solid #f2f2f2; margin-top:10px; }
	.lasttopnews span {margin-top: 20px; width: 92.5%;}
	.wln a { width:505px;}
	.ltn {float:left;border-bottom:0;}
	.ltn, .ltnpic, .ltnpic img {width:143px;}
	.ltnpic {height:90px;}
	.intabs_cont {width: 507px;}
	.alladsindex {width:470px; }
	.adsinf, .adsinfpic, .adsinfpic img, .adsinftext {width: 246px;}
	.adsinf:nth-child(2n) {margin-right:0;}
	.lastphotospic:nth-child(4n-1) {margin-right:0;}
	.adsinfpic {height: 156px;}
	.rur { margin-bottom: 20px;}
	.adsinftext {height:54px;}
	.lastphotospic, .lastphotospic img, .lastphotospic img:hover {width:265px;}
	.lastphotospic img, .lastphotospic img:hover {min-height:170px;}
	.lastphotospic {height:170px;  margin-bottom: 20px;}
	.fblock:nth-child(1) {width:100%; }
	.fblock  {width:50%;margin:10px 0 10px 0;}
	.btitle-l { height: 45px;line-height: 45px; font-size: 16px;}
	#sidebar-l ul.uMenuRoot li, #sidebar-l ul.uMenuRoot li a {height: 40px;line-height: 40px;}
	.nav_btn {display: block;}
	.homelink {display:none;}
	#headmenu {height:50px;}
	.headmenu ul.main_nav { position: absolute; width:800px; height: auto; z-index: 9999;display: none;}
	#headmenu ul li a {line-height:40px !important;}
	.headmenu li, .headmenu li a { float: none;height: auto !important;}
	.headmenu ul li ul, .headmenu li a:hover{background:#66983A !important;}
	.headmenu li li a { padding: 2px 25px 0 25px !important;}
	#headmenu ul li ul li a:hover { background: #73a845 !important;}
	.headmenu li { float: left; position: relative;display: block;width: 100%; height: 40px;border-top: 1px solid #90c067;z-index: 100;}
	.headmenu li ul {display: block !important; position: relative!important;height:auto;left: auto;}
	li.uWithSubmenu a:after {font-family:FontAwesome;content:"\f0d7";font-size: 14px;display: block;position: absolute; top: 0px;right: 8px;}
	li.uWithSubmenu li a:after, .uMenuRoot li.uWithSubmenu a:after{content: "" !important;}
	.relatednews, .relatednews .adsinfpic, .relatednews .adsinfpic img, .relatednews .adsinftext {width: 172px !important;}
	.relatednews .adsinfpic {height:110px !important;}
	.infoblock {float:left}
	.infoblock span { width: 50%;line-height: 20px;float: left;}
	.npic, .npic img {width:200px;}
	.npic {height:130px;}
	.nncont, .ninfo {width:330px;}
	.bileft {width:420px;}
	.boardmess, .boardinf {width:250px;}
	.boardinf .bdate {display:none;}
	#photomod:nth-child(2n) { margin-right: 0;}
	.boardphone {width:248px;}
	.boardbigpic, #scrollbar1 .viewport {height:300px !important; overflow:hidden;}
	.boardbigpic img {min-height:300px;}
	.profile_cell { width: 49.73%;}
}
  @media screen and (max-width: 830px){
    #maincont, .headline, #header, #headmenu, .footline, .fbgtop  {width: 600px;}
	.breadcrumb {width:540px;}
    #content, #boarditem, .boardid, .allcont, .fullstory img, #firstinf, .fipic, .fipic img, #lascom, #news { width: 560px;}
	#content {margin-left: 20px;}
	#firstinf span, #indextabs {width:520px;}
	#sidebar-r, .lastnews, .ln, .intabs, #lastphotos{width: 100%;}
	.right-block {width:560px;margin-left: 20px;}
	.bcontpoll .pollBut, .bcontpoll .pollButblue {width:50%; float:left}
	#secinf, .secpic, .secpic img, #thirdinf, .thirdpic, .thirdpic img, #fourthinf, .fourthpic, .fourthpic img{ width: 186px;}
	#secinf span, #fourthinf span, #thirdinf span{width: 146px; }
	.secpic {height:120px;}
	.secpic img {  min-height: 120px;max-height: 120px;}
	#thirdinf span, #secinf span, #fourthinf span { margin-top: -120px;height: 110px;padding-top:10px;}
	#firstinf, .fipic {height:310px;}
	.fipic img {min-height:310px;}
	#sidebar-r {margin-right:0; margin-left:20px;}
	#firstinf span {margin-top:-310px;padding-top:164px;}
	#thirdinf span a, #secinf span a, #fourthinf span a { height: 40px;overflow: hidden;display: block;}
	#headmenu ul li a {padding: 0 15px;font-size: 16px;}
	.fblock {width: 303px;}
	.searchForm {width: 338px;margin-left:20px; margin-bottom: 25px;}
	.schQuery input { width: 278px !important;}
	.logout a {width:120px;margin-right:0;}
	.profile a {background: #478ec1 url(../images/prof.png) right no-repeat;   padding-right: 0;padding-left: 0;}
	.profile a:hover { background: #5a9ac7 url(../images/prof.png) right no-repeat;}
	.profile a {width:170px;}
	.login_block {top:200px;}
	.logo{background-size: 253px;margin-top: 25px;}
	.map{background-size: 285px;top: 25px;left: 315px;}
	.telefon-box{background-size: 304px;top: 6px;left: 231px;}
	.slider {top: 6px;/*! left: 252px; */width: 554px;}
	.slider-wrapper{width: 350px;}
	.pager{width: 200px;}
	.slider img{width: 350px;}
	.relatednews, .relatednews img, .relatednews .adsinftext, .relatednews .adsinfpic {width:139px !important;}
	#photomod, .pmpic, .pmpic img {width:270px;}
	.pmpic {height:190px;}
	.pmtext {width:267px;}
	.lasttopnews { border-top: 1px solid #f2f2f2; margin-top:10px; }
	.lasttopnews span {width: 91%;}
	.wln a { width:515px;}
	.ltn {float:left;border-bottom:0;}
	.ltn, .ltnpic, .ltnpic img {width:143px;}
	.ltnpic {height:90px;}
	#searchsuggestions {width: 323px;}
	.intabs_cont {width: 517px;}
	.alladsindex {width:480px;margin-top: 590px;}
	.adsinf, .adsinfpic, .adsinfpic img, .adsinftext {width: 251px;}
	.adsinf:nth-child(2n) {margin-right:0;}
	.adsinfpic {height: 156px;}
	.rur { margin-bottom: 20px;}
	.adsinftext {height:54px;}
	.lastphotospic, .lastphotospic img, .lastphotospic img:hover {width:270px;}
	.lastphotospic {height:170px;  margin-bottom: 20px;}
	.lastphotospic img {min-height:170px;}
	.fblock:nth-child(1) {width:100%; }
	.fblock  {width:50%;margin:10px 0 10px 0;}
	.btitle-l { height: 45px;line-height: 45px; font-size: 16px;}
	#sidebar-l {display:none;}
	.headmenu ul.main_nav { position: absolute; width:600px; height: auto; z-index: 9999;display: none;}
	.relatednews, .relatednews .adsinfpic, .relatednews .adsinfpic img, .relatednews .adsinftext {width: 175px !important;}
	.relatednews .adsinfpic {height:110px !important;}
	.login-btn a, .logout a, .profile-logged a {width:50%;margin-top:20px; margin-right:0;float: left;    margin-bottom: 20px;}
	.login-btn a {float:right;padding-right:0; }
}

  @media screen and (max-width: 630px){
     .headline, #header, #headmenu, .footline  {width: 90%;}
	 .fbgtop {display:none;}
	.breadcrumb {display:none;}
	#maincont {display:inline-block;position:relative;width:100%;}
	 #content {width:90%;position:relative; float:none; margin: 0 auto !important;}
    .npic, .npic img, .nncont, .ninfo, .infoblock span, .boardbigpic, .boardpic, .boardpic img, .bileft, .adsinf, .adsinfpic, .adsinfpic img, .adsinftext, #boarditem, .boardid, .allcont, .fullstory img, #firstinf, .fipic, .fipic img, #lascom, #news, .lastnews, .ln, #indextabs, .intabs, #lastphotos, #secinf, .secpic, .secpic img, #thirdinf, .thirdpic, .thirdpic img, #fourthinf, .fourthpic, .fourthpic img
	{ width: 100%;}
	#firstinf span, #thirdinf span, #secinf span, #fourthinf span{width:94%; padding-left:3%;padding-right:3%;}
	.right-block {width:100%;margin-left: 0;}
	#sidebar-ltabs {width: 92%;}
	#h1, .headline {height:auto; font-size: 13px;}
	.footline span, .headline span    {display:none;}
	.secpic, #firstinf, .fipic {height:300px;overflow:hidden;}
	.secpic img, .fipic img {  min-height: 300px;}
	#thirdinf span, #secinf span, #fourthinf span, #firstinf span { margin-top: -300px;height: 290px;padding-top:10px;}
	#thirdinf, #secinf, #fourthinf {display:block;}
	.ltnpic {  height: 250px;overflow:hidden;}
	.ltnpic img {  min-height: 250px;}
	#sidebar-r {margin-right:0;clear:both; margin-left:0;  float:none;  width: 90%;position: relative;display: block;margin: 30px auto;}
	#thirdinf span a, #secinf span a, #fourthinf span a, #firstinf span a  {font-size:14px;line-height: 20px; height: auto;overflow: hidden;display: block;margin-top:190px;}
	#headmenu ul li a {padding: 0 15px;font-size: 16px;}
	.fblock {width: 303px;}
	.schQuery { width: 82%;}
	.searchForm {width: 100%;margin-left:0;margin-top:25px; margin-bottom:0;}
	.schQuery input { width: 100% !important;}
	.logout a {width:120px;margin-right:0;}
	.tableform, .tableform select, .xfields input, .xprofile input {width: 100% !important;}
	.profile_popup_counter b{font-size: 14px; }
	.userinfo_right {width: 30%;padding:0; float: left;font-size: 11px;}
	.profile_popup_counter {width:29%;}
	.profile_cell {width: 48%; }
	.profile a {background: #478ec1;  padding-right: 0;padding-left: 0;}
	.profile a:hover { background: #5a9ac7;}
	.profile a {width:170px;}
	.login_block {top:258px;}
	.logo{background-size: 100%; background-size: 100%;float: none; margin: 20px auto;}
	.relatednews, .relatednews img, .relatednews .adsinftext, .relatednews .adsinfpic {width:139px !important;}
	#photomod, .pmpic, .pmpic img, .pmtext {width:100%;}
	.pmpic {height:330px;}
	.lasttopnews { border-top: 1px solid #f2f2f2; margin-top:10px; }
	.lasttopnews span {margin-top: 20px; width:92%;}
	.ltn:last-child { margin-bottom: 20px;}
	.wln a { width:100%;padding-right:0;}
	.ltn {float:left;border-bottom:0;padding:20px 0 20px 0; width:92%;    margin-left: 20px;}
	 .ltnpic, .ltnpic img {width:100%;}
	#searchsuggestions {width: 323px;}
	.intabs_cont {width: 92%;}
	.alladsindex {width:84%;bottom:20px;}
	.alladsindex span {display:none;}
	.adsinf:nth-child(2n), .adsinf, .lastphotospic, #photomod {margin-right:0;}
	.adsinfpic {height: 290px;}
	.rur { margin-bottom: 20px;}
	.adsinftext {height:54px;}
	.lastphotospic, .lastphotospic img, .lastphotospic img:hover {width:100%;min-height:290px;}
	.lastphotospic {height:290px;  margin-bottom: 20px;}
	.lastphotospic img {min-height:290px;}
	.fblock:nth-child(1) {width:100%; }
	.fblock  {width:100%;margin:10px 0 10px 0;}
	.btitle-l { height: 45px;line-height: 45px; font-size: 16px;}
	#sidebar-l {display:none;}
	.headmenu ul.main_nav { position: absolute; width:90%; height: auto; z-index: 9999;display: none;}
	.relatednews, .relatednews .adsinfpic, .relatednews .adsinfpic img, .relatednews .adsinftext {width: 100% !important;}
	.relatednews .adsinfpic {height:290px !important;}
	.login-btn a, .logout a, .profile-logged a {margin-top:20px; margin-right:0;float: left;    margin-bottom: 20px;}
	.login-btn a {width:60%;}
	#Go_Top {display:none !important;}
	.footline {    height: auto; line-height: 22px;}
	.logout a, .profile-logged a {width:40%;}
	.login-btn a {float:right;padding-right:0; }
	.npic, .boardpic{height:230px; overflow:hidden;}
	.boardpic img, .npic img {min-height:230px;}
	.boardmess, .boardinf { width: 100%; margin-top: 10px;}
	.biright {float: left;width: 100%;}
	.fullstory embed, .fullstory object, .fullstory video, .fullstory iframe, .fullstory frame {height:400px;}
	.edinfo {width:100%; display:inline-block;}
	.e-comment, .e-reads, .e-author, .e-cat, .e-comment:hover, .e-reads:hover, .e-author:hover, .e-cat:hover {float:left;margin-left:5px; margin-right:0;}
	.rurboard, .torg { text-align: left !important; float:left;}
	.ntitle, .boardtitle{width:100%;}
	#scrollbar1 {width:94% !important;}
	.boardphone {width: 99.6%; padding-left:0; text-align: center;}
	.writeauth{width:100%;padding-right:0;}
	.boardbigpic  {height:auto !important;}
	.boardbigpic img {min-height:auto;}
}
  @media screen and (max-width: 511px){
  .fullstory embed, .fullstory object, .fullstory video, .fullstory iframe, .fullstory frame {height:300px;}
  #intab_1:checked ~ #intab_l1, #intab_2:checked ~ #intab_l2, #intab_3:checked ~ #intab_l3, #intab_4:checked ~ #intab_l4 {padding-left: 8px;padding-right: 8px;}
	.intabs label { padding-left: 8px;padding-right: 6px;font-size: 12px;}
  }
  @media screen and (max-width: 450px){
  .pmpic {height:270px;}
  .lasttopnews span, .ltn, .intabs_cont, #sidebar-ltabs, .todaynews  {width:90%}
  .alladsindex {width:80%;}
	.intabs label {font-size: 10px;}
  .lastphotospic, .lastphotospic img, .lastphotospic img:hover, .adsinfpic, .adsinfpic img {min-height:200px;}
	.lastphotospic, .adsinfpic, .adsinfpic img, .npic, .boardpic  {height:200px; }
	.relatednews .adsinfpic {height:170px !important;}
	.secpic, #firstinf, .fipic, .ltnpic {height:250px;}
	.secpic img, .fipic img, .ltnpic img {  min-height: 250px;}
	.ltnpic {  height: 200px;}
	.ltnpic img {  min-height: 200px;}
	#thirdinf span a, #secinf span a, #fourthinf span a, #firstinf span a  {margin-top:150px;}
	#thirdinf span, #secinf span, #fourthinf span, #firstinf span { margin-top: -250px;height: 240px;}
	
  }
   @media screen and (max-width: 352px){ #h1, .headline {line-height: 25px;}}
    @media screen and (max-width: 330px){
	.pmpic {height:200px;}
	.profile-logged .fa{display:none;}
  .lasttopnews span, .ltn, .intabs_cont, #sidebar-ltabs, .todaynews  {width:86.6%}
  .alladsindex {width:76%;}
  .intabs label {font-size: 9px;}
  .lastphotospic, .lastphotospic img, .lastphotospic img:hover, .adsinfpic, .adsinfpic img {min-height:170px;}
	.lastphotospic, .adsinfpic, .adsinfpic img, .npic, .boardpic  {height:170px; }
	.relatednews .adsinfpic  {height:150px !important; }
	.secpic, #firstinf, .fipic, .ltnpic, .fullstory embed, .fullstory object, .fullstory video, .fullstory iframe, .fullstory frame {height:200px;}
	.secpic img, .fipic img, .ltnpic img {  min-height: 200px;}
	#thirdinf span a, #secinf span a, #fourthinf span a, #firstinf span a  {margin-top:100px;}
	#thirdinf span, #secinf span, #fourthinf span, #firstinf span { margin-top: -200px;height: 190px;}
  }