/*
Theme Name: Rybářský rozcestník
Author: Martin Mateju
Author URI: http://www.martin.mateju.cz
*/

/* body{ background-position-y: 160px; } */
body:before {
  background: transparent url('images/bg-exp2_save2_x553.min.png') center top no-repeat;
  height: 553px;
}

img.alignleft,
.thumbnail > img.alignleft,
.thumbnail a > img.alignleft{
  float: left;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-left: 0px;
}

img.alignright,
.thumbnail > img.alignright,
.thumbnail a > img.alignright{
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 10px;
  margin-left: 10px;
}

.container iframe{ max-width: 100%; }

.filterboxNoStyle{
	background: none; border: none;
	padding: 0px; margin: auto;
}

.wrapper > *,
.breadcrumb{
  position: relative;
}
.wrapper > .filterbox{ z-index: 2; } /* sometimes titles still manages to cover button link (floatings...) */
.wrapper > .secondContentWrapBg{
  position: absolute;
  left: 0px; top: 0px;
  width: 100%; height: 100%;
  background-repeat: repeat;  
  z-index: 0;
}

.header .hamburger{ z-index: 1; top: 5px; right: auto; left: -15px; width: 42px; height: 42px; }
.header .hamburger.open{ z-index: 2; position: absolute; top: 0px; left: auto; right: 10px; }
@media (max-width: 679px) { .header .searchbar{ top: 180px; } }

.contents .content .button.button-arrow-left{ margin: 0px 0px 0px 10px; padding: 7px 15px 0px 10px; }
	.contents .content .button.button-arrow-left:after{
		right: auto;
		left: -10px;
		border-right: 10px solid #5bb12b;
		border-left: none;
	}
	.contents .content .button.button-arrow-left:hover:after{ border-right-color: rgba(91, 177, 43, 0.7); }
	

.pagination-holder {
  position: static;
  /* BUTTONS ARE STYLED ABSOLUTELY TO THE .wrapper NOT the .pagination holder itself !
   * => static position here... */
}	
  .pagination-holder > .button.next,
  .pagination-holder > .button.previous{
    z-index: 100;
  }

.socials-inline{ font-size: 0px; color: #fff; }

.socials-inline{
  height: 30px !important;
  line-height: 30px;
}
  .socials-inline div,
  .socials-inline span,
  .socials-inline iframe,
  .socials-inline img{
    display: inline-block !important;
    vertical-align: middle !important;
  }

  .socials-inline > .fb_iframe_widget,
  .socials-inline > iframe,
  .socials-inline > a > img{ height: 20px !important; }
    .fb_iframe_widget > span{ vertical-align: top !important; }
    
  .socials-inline > div,
  .socials-inline > span,
  .socials-inline > iframe,
  .socials-inline > a > img{ margin: auto auto auto 5px !important; }
  
  .fb-comments.fb_iframe_widget,
  .fb-comments.fb_iframe_widget span,
  .fb-comments.fb_iframe_widget iframe{ width: 100% !important; }
  
  
/* FB BUG HOTFIX LOCALIZED ONLY */
.socials-inline .fb-like iframe,
.socials-inline .fb-share-button iframe{
  width: 100% !important;
  height: 100% !important;
}
.socials-inline .fb-like > span{
  min-width: 110px !important;
  height: 20px !important;
}
.socials-inline .fb-share-button > span{
  min-width: 66px !important;
  height: 20px !important;
}
  

.filter_year_nav .prev,
.filter_year_nav .next,
.filter_year_nav .curr{ font-weight: bold; font-size: 28px; }
	.filter_year_nav .curr{ font-size: 36px; }
	
.topposts .toppost .content,
.galleries.news .gallery{
  word-wrap: break-word;

  /* mozilla & IE -_- */

  word-break: break-word;
}

.topposts .table{ display: block; }
.topposts .cell{ display: block; float: left; }
.topposts:after{ content: " "; display: block; clear: both; }


/*** GLOBAL BANNER BOUNDARIES ***/
.adFull,
.sssp-posCont,
.sssp-resizeCont{
  margin-left: auto; margin-right: auto;
}
.sssp-resizeCont{ position: relative !important; bottom: auto !important; }

.bannerVclanichPodObsahem{
  margin: 20px auto;
  text-align: center;
  max-width: 100%;
}
  .bannerVclanichPodObsahem iframe{ margin: auto; }

  .bannerVclanichPodObsahem div{ margin-left: auto; margin-right: auto; }
  
.gallery.cell .adsbygoogle{

}

/*
 * 
 *	BRANDING
 * 
 * 
*/
.branding_stripe_left,
.branding_stripe_right{
  /* position: absolute; */
  position: fixed;
  top: 0px;
}
  .branding_stripe_left{
    /* right: 100%; // not-fixed */
    right: calc(50% + (990px / 2));
    margin-right: 20px;
  }
  .branding_stripe_right{
    /* left: 100%; // not-fixed */
    left: calc(50% + (990px / 2));
    margin-left: 20px;
  }
    .branding_stripe_left img,
    .branding_stripe_right img{ max-width: none; max-width: 300px; }
    
@media (min-width: 1900px) {
    .branding_stripe_left img,
    .branding_stripe_right img{
      max-width: 450px;
    }
}
    

.footer.branding:before{ display: none; }
.branding_footer{
  position: absolute;
  text-align: center;
  z-index: 5;
  width: 100%;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}
  .branding_footer img{ display: block; margin: auto; }
  
.footer .socials li{ position: relative; z-index: 20; }


.branding_mobile_under_nav_banner {
    padding: 0px 10px;
    margin-bottom: 15px;
}
  .branding_mobile_under_nav_banner a{
    display: block;
    padding: 10px 10px;
    background-color: #fff;
    text-align: center;
  }



/*
 * 
 *	Desktop screen adjustment
 *  
 * 
*/  
@media screen and (min-width: 1010px){
  
  .banner970x90,
  .banner970x250{ height: auto; }  

}

  

