/** BEGIN fotogaleria **/
.cmsSiteBoxPhotoGallery a.FotoGaleria {
  display: block;
  float: left;
  width: 25%;
  background: #333333;
  clear: right;
  background-clip: padding-box;
  overflow: hidden;
}

.cmsSiteBoxPhotoGallery a.FotoGaleria img {
  top: initial;
  right: initial;
  max-width: 100%;
  max-height: 100%;

  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.cmsSiteBoxPhotoGallery a.FotoGaleria img:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.cmsSiteBoxPhotoGallery .photoInfo {
  display: none;
  padding: 8px;
  color: #808080;
  font-size: 1.2em;
  border-top: 0;
  border-bottom: 0;

}

.cmsSiteBoxPhotoGallery.col_1 {
  margin: 2em 0;
}
.cmsSiteBoxPhotoGallery.col_1 .grid {
  margin: 0;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria {
  width: 100%;
  float: none;
  margin: 0;
  position: static;
  text-align: center;
  border: 0;
  background: #000;
}

.cmsSiteBoxPhotoGallery.col_1 h2,
.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria:before,
.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria:after {
  display: none;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria img,
.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria picture {
  position: static;
  display: block;
  margin: 0 auto;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria img:hover {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.cmsSiteBoxPhotoGallery.col_1 .photoInfo {
  display: block;
  text-align: center;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_2 {
  width: calc(50vw - 16px);
  margin: 0 auto;
  max-width: 936px;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_2 + .photoInfo {
  width: calc(50vw - 16px);
  margin: 0 auto;
  max-width: 936px;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_3 img,
.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_3 picture {
  width: 25%;
  max-width: 464px;
}

.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_4 img,
.cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_4 picture {
  max-height: 95vh;
}

@media (max-width: 768px) {
  .cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_2 {
    width: 100%;
  }

  .cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_2 + .photoInfo {
    width: 100%;
  }

  .cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_3 img,
  .cmsSiteBoxPhotoGallery.col_1 a.FotoGaleria.size_3 picture {
    width: 50%;
    max-width: 464px;
  }
}


.cmsSiteBoxPhotoGallery.col_2 a.FotoGaleria {
  width: 50%;
}

.cmsSiteBoxPhotoGallery.col_3 a.FotoGaleria {
  width: 33.33%;
}

.cmsSiteBoxPhotoGallery.col_4 a.FotoGaleria {
  width: 25%;
}

.cmsSiteBoxSeparator {
  height: 8px;
}

.photoSource {
  padding-left: 8px;
}

/** END fotogaleria **/

/** BEGIN prílohy **/
.cmsSiteBoxAttachments ol {
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmsSiteBoxAttachments ol li {
  display: inline-block;
  float: none;
  vertical-align: bottom;
}

.cmsSiteBoxAttachments ol li a {
  background-color: #999999;
  background-position: center center;
  background-size: cover;
}

.cmsSiteBoxAttachments ol li a img {
  max-width: 40%;
  max-height: 40%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.cmsSiteBoxAttachments ol li a .title {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  font-size: 1.3em;
  line-height: 1.5em;
  background: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  padding: 4px 8px;
  overflow: hidden;
  text-overflow: ellipsis;

  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  opacity: 0;
}

.cmsSiteBoxAttachments ol li a:hover .title {
  opacity: 1;
}

/** END prílohy **/

/** BEGIN video **/
.cmsSiteBoxVideo h2 {
  margin-top: 8px;
  text-transform: uppercase;
  padding-left: 8px;
  clear: both;
}

.cmsSiteBoxVideo h2.arrow:after {
  content: " ";
  display: inline-block;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  background: url("/cms/images/icons_arrow_down.png") no-repeat;
}

.cmsSiteBoxVideo .rectangle {
  border: 4px solid transparent;
}

.cmsSiteBoxVideo .rectangle:after {
  padding-top: 65%;
}

.cmsSiteBoxVideo .border {
  width: 25%;
  float: left;
}

.cmsSiteBoxVideo .border .tile {
  padding: 8px;
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 28px;
  white-space: nowrap;
  text-align: center;
}

.cmsSiteBoxVideo .border.switch {
  cursor: pointer;
  transition: background .2s;
  text-align: center;
}

.cmsSiteBoxVideo .border.switch.active .tile,
.cmsSiteBoxVideo .border.switch:hover .tile {
  background: #FF0000;
}

.cmsSiteBoxVideo .border .tile .fa {
  font-size: 1.5em;
  float: right;
  line-height: 28px;
}

@media (max-width: 1600px) {
  .cmsSiteBoxVideo .border .tile {
    font-size: 1em;
  }
}

@media (max-width: 1024px) {
  .cmsSiteBoxVideo .border {
    width: 50%;
  }
}

/** END video **/
