@media (max-width: 1040px)  {
    #main-slider-mobile{display: block;}

    #main-slider{display: none;}
}

@media (max-width: 960px)  {
  nav ul  { display: none; } /*= Force normal horizontal navigation to hide mobile devices and ipad = */

   /*= Force dropdown navigation to get displayed on mobile devices and ipad = */
  nav select{

    display: inline-block;
	border:1px solid #ccc;
	color:#3f4040;
	text-transform: uppercase;
	width:100%;
	height:30px;
	margin:10px 0;
  }

  /*#recent_video object, embed  { max-width: none; width:210px !important; }

  #header-menu{ height:auto !important; }*/
#top{
	background: #efeeee;
	-moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px#888;
    box-shadow: 0 0 5px #888;
    position:static;
    top:0;
    left:0;
    z-index:1000;
    width:100%;
    height:auto;
   }


  #header{
	  padding:10px 0;
	  margin:0;
  }

  #search .form-text,
  #footer_search .form-text{
	width: 165px;
	margin:5px 0;
  }

  #bottom .views-field-view,
  #bottom .views-field-view-1{
	  border:0 none;
  }

  .view-news .views-field-view .views-row{
	  height:auto;
  }

  .logo{
	  padding:10px 0;
  }

  #sticky-menu-select{
   display:inline-block;
   border:1px solid #ccc;
	color:#3f4040;
	text-transform: uppercase;
	width:100%;
	height:30px;
	margin:10px 0;
  }
  #navMenu{display:none;}

  .print-link{
	  margin:0;
  }

  #main-slider-mobile .slides li div.paid-content{
    font-size: 10px;
    right:0;
    padding:1px;
    opacity: 0.8;
  }

  #main-slider-mobile .slides li div.slide-title{
    font-size: 10px;
    right:0;
    bottom:0;
    padding:1px;
    opacity: 0.8;
  }

  .view-builder-profile table td.views-field-title a,
  .view-builder-profile table th.views-field-title a {
    font-size:11px !important;
  }

 .view-builder-profile table th a,
 .view-builder-profile table th,
 .view-builder-profile table td,
 .view-builder-profile table td a{
   font-size:11px !important;
 }

.view-builder-profile table td.views-field-field-previous-rank,
.view-builder-profile table td.views-field-field-rank,
.view-builder-profile table th.views-field-field-previous-rank,
.view-builder-profile table th.views-field-field-rank,
.view-builder-profile table th.views-field-php,
.view-builder-profile table th.views-field-php-1,
.view-builder-profile table td.views-field-php,
.view-builder-profile table td.views-field-php-1{
  padding:5px 5px;
}

.bottom-ad{
  display: none;
}

.pswp__desc{left:20%;}

  .ads {
    position: relative;
    padding-bottom: 26.25%; /* 16:9 */
    /*padding-top: 25px;*/
    height: 0;
  }

  #sidebar .ads {
    padding-bottom: 100% !important;
  }
  
  .ads iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }

  .ads iframe div{
    width: 100% !important;
  }

  .ads iframe img{
    width: 100% !important;
    height: auto !important;
  }

}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
   nav ul   { display: none; }
   nav select { display: inline-block; }

   /*#header-menu{height:auto !important;}*/

}

@media only screen and (min-width : 960px) and (max-width : 1280px){

/*
	#header-menu .title-link{

	  padding:5px 0px 5px 20px !important;
	  font-size: 12px !important;
	  width:100px !important;
	  height:29px !important;
	}

	*/

}

@media (min-width: 0) and (max-width: 480px)  {
     .pswp__desc{display:none;}
}

@media (min-width: 0) and (max-width: 1024px)  {

    .pswp__caption__center{
      color:#fff;
      font-size: 12px;
      line-height: 14px;
    }

    .pswp__caption{
      background-color: rgba(0, 0, 0, 0.5) !important;
    }

    .pswp__ui {
      -webkit-font-smoothing: antialiased;
    }
}

@media (max-width: 480px) and (min-device-pixel-ratio : 1.5) {

   #recent_video object,
   #recent_video embed  { max-width: none; width:210px !important; }
}

@media (max-width: 480px) and (-webkit-min-device-pixel-ratio : 1.5){

   #recent_video object,
   #recent_video embed  { max-width: none; width:210px !important; }
}
