
/* ---- elastické video vlořené přes youtube macro (un_vypisprispevku) ------ */

.elasticvideo {
    position: relative;
    padding-bottom: 56.25%;
		padding-top: 30px;
		height: 0;
		overflow: hidden;
}

.elasticvideo iframe, .elasticvideo object, .elasticvideo embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
}

/* odstup ve příspěvcích */
.ai_video {
	margin-bottom: 12px;
}

.autor-filmpro .inn1 {
	padding-bottom: 10px;
}

/* ------------ RAItem boxy --------------- */

.raitbox>.inn {
	display: flex;
	justify-content: flex-start;
	margin: 10px 0;
	flex-wrap: wrap;
}

.raitbox.raitvert .inn {
	
	flex-direction: column;

}
.raitbox.raitbetween .inn {
	
	justify-content: space-between;

}

.raitbox.raitaround .inn {
	
	justify-content: space-around;

}

.raitbox .inn .inn-r1 {
background-color: #e8e8e8;
display: inline-block;
margin: 0 1px 1px 0;
}

#portmain .raitbox .raitem a  {
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
}

.raitbox .raitem span {
  color: #fff;
  background-color: #a31116;
  line-height: 1em;
  width: 20px;
}
.raitbox .raitem span {
  padding: 10px 8px;
  display: inline-block;
  margin-right: 10px;
}

/* ------------ RAItem boxy - vetsi --------------- */
#portmain .raitbox.h120 .raitem a {
 
  font-size: 1.3rem;
}
.raitbox.h120 .raitem span {
   width: 2rem;
}


/* ------------ FLEX - obrázky --------------- */
#portmain .flexpack {
   display: flex;
flex-wrap: wrap;
justify-content: space-between;

}

#portmain .flexpack img {
   width: 49% ;
margin-bottom: 10px;

}


/* ------------ Galerie --------------- */
.ai-blok-imggal .inn {
  display: flex;
  flex-wrap: wrap;
}

  @media only screen and (max-width: 480px) {
#portmain .flexpack {
   



}

#portmain .flexpack img {
   width: 100% ;


}
}


