/* COLS - DISTRIBUCION */
.cols{
  display: flex;
	position: relative;
}
.cols::before {
  display: table;
  content: " ";
}
.cols::after{
	display: table;
  content: " ";
	clear:both;
}
.cols > div{
	width:100%;
}
/* cols 12 grid */
.col-1-md{
	width:calc( 8.3333% * 1 );
  float:left; /* en caso usar para otros elementos */
}
.col-2-md{
	width:calc( 8.3333% * 2 );
  float:left;
}
.col-3-md{
	width:calc( 8.3333% * 3 );
  float:left;
}
.col-4-md{
	width:calc( 8.3333% * 4 );
  float:left;
}
.col-5-md{
	width:calc( 8.3333% * 5 );
  float:left;
}
.col-6-md{
	width:calc( 8.3333% * 6 );
  float:left;
}
.col-7-md{
	width:calc( 8.3333% * 7 );
  float:left;
}
.col-8-md{
	width:calc( 8.3333% * 8 );
  float:left;
}
.col-9-md{
	width:calc( 8.3333% * 9 );
  float:left;
}
.col-10-md{
	width:calc( 8.3333% * 10 );
  float:left;
}
.col-11-md{
	width:calc( 8.3333% * 11 );
  float:left;
}
.col-12-md{
	width:calc( 8.3333% * 12 );
  float:left;
}

/* body blocks width */
.block-content h1{
  margin: 10px 0;
  text-transform: uppercase;
  font-size: 1.4em;
  color:gray;
}
.block-left-content{ /* SIDEBAR RIGHT */
  width: 60%;
  float: left;
}
.block-right-sidebar{
  width: 38%;
  float: right;
}
.block-right-content{ /* SIDEBAR LEFT */
  width: 60%;
  float: right;
}
.block-left-sidebar{
  width: 35%;
  float: left;
}
.block-full{
	width: 100%;
}

/* SIDEBAR */
.box-sidebar h3{
  text-transform: uppercase;
  font-size: 1.1em;
  margin-bottom: 5px;
}
.box-sidebar section{
  margin-bottom: 30px;
}
.box-sidebar li {
  list-style-type: none;
  padding: 6px 0;
  border-bottom: 1px solid #c7c7c7;
}

/* GALERIA SOLA */
.rb-img {
    height: 180px;
}

.rb-cover-img {
    float: left;
    padding: 5px 8px;
}
.rb-img {
    background-size: cover;
    background-position: center;
}

/* GALERIAS DE IMAGENES */
.rb-gallery-container {
  display: flex;
}
.rb-gallery{
  padding: 5px 8px;
}
.rb-gallery a {
  display: block;
  position: relative;
}
.rb-gallery > div{
  overflow:hidden;
  position: relative;
}
.rb-gallery > div:hover .rb-bg-gallery{
	transform:scale(1.1);
}
.rb-gallery .rb-bg-gallery{
  min-height: 200px;
  background-position: center;
  background-size: cover;
}
.rb-gallery-info {
  position:  absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 10px;
}
span.rb-gallery-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 300px;
  font-weight:bold;
}
span.rb-gallery-desc {
  height:  32px;
  display: block;
}
.rb-gallery-photos{
  width:100%;
  padding: 0 20px;
}
.rb-gallery-photos .cols-container a {
  display: block;
  margin:2px;
  overflow:hidden;
}
.rb-gallery-photos .cols-container a img{
  width:100%;
  margin-bottom:-8px;
}

/* GRID DE VIDEOS YOUTUBE */
.rb-youtube-grid {
  display: flex;
  flex-wrap: wrap;
}

.rb-youtube-grid div {
  padding: 10px;
}

.rb-youtube-grid a {
    background-position: center;
    background-size: cover;
    height: 200px;
    position: relative;
}
.rb-youtube-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 425px) {
  /* GALLERIAS */
  .rb-gallery-container{
    display: initial;
  }
  .rb-gallery{
    width:100%!important;
    float: none;
  }

  /* FOTOS */
  .rb-cover-img {
    float: left;
    padding: 5px 8px;
    width:100%!important;
  }
}
