/*
    Title: Custom photo gallery
    Original by: bbonline.sk, interez.sk
    Updated by: Tomas Chvostek
    IMPORTANT: DO NOT MODIFY THIS FILE (update will rewrite it), modify siu-gallery.custom.css
*/


.siu-gallery .row {
    display: block;
}

.siu-gallery .col-sm-12 {
    width: 100%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.siu-gallery a.siu-post-back-link {
    text-decoration: none;
}

.siu-gallery a.siu-post-back-link .siu-backarrow:before {
    content: '\25C0';
}

.siu-gallery .text-left {
    text-align: left;
}

.siu-gallery .row {
    max-width: 1070px;
}

.siu-gallery, :before, :after {
    box-sizing: border-box;
}

div .siu-gallery-header, .siu-gallery #photo-gallery, .strossle-container {
    position: relative;
    z-index: 999;
}

.siu-gallery .siu-gallery-body {
    text-align: center;
}

.siu-gallery #photo-gallery  {
    margin-bottom: 10px;
    display: inline-block;
}

/* Shortcode start */
.siu-gallery-shortcode a.thumbnail {
    text-decoration: none;
}

.siu-gallery-shortcode {
    margin-top: 20px;
    margin-bottom: 30px;
    cursor: pointer;
}

.siu-gallery-shortcode .thumbnail {
    border: none;
    color: white;
}

.siu-gallery-shortcode .siu-gallery-cover {
    width: 100%;
    display: block;
}

.siu-gallery-shortcode .siu-gallery-title {
    text-align: center;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
}

.siu-gallery-shortcode .siu-gallery-title:hover {
    background: rgba(18, 16, 16, 0.4);
}

.siu-gallery-shortcode .siu-gallery-title h6 {
    font-size: 20px;
    padding: 2em 3em;
    background-color: rgba(0,0,0, 0.8);
}

.siu-gallery-shortcode .siu-gallery-title h6 {
    text-decoration: none;
    color: white;
}
/* Shortcode end */

/* Galeria start */
.siu-gallery-main.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.siu-gallery.inner-wrap {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    min-height: 768px;
}

@media only screen and (max-width: 1366px) {
    /*
    * removed max-width: 1100px for row in siu-gallery
    */
}

.siu-gallery .row::before,
.siu-gallery-main.container-fluid::before {
    display: table;
    content: " ";
}

.siu-gallery .row {
    position: relative;
    margin: auto;
}

.siu-gallery .text-center {
    text-align: center;
}

.siu-gallery .col-sm-9,
.siu-gallery .col-sm-3 {
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    background-color: transparent;
}

@media only screen and (min-width: 768px) {
    .siu-gallery .col-sm-9 {
        width: 75%;
    }

    .siu-gallery .col-sm-3 {
        width: 25%;
    }
}

.siu-gallery .col-sm-3 {
}

.siu-gallery #page-title {
    color:#ec1c24;
    padding: 1em 1em 1em 0;
    font-size: 16px;
    font-weight: bold;
}

.siu-gallery #page-title a {
    color: black;
}

.siu-gallery #page-title span.glyphicon {
    margin-right: 10px;
}

.siu-gallery #page-title a:hover {
    color: #ec1c24;
}

.siu-gallery-source {
    font-size: 12px;
    padding-bottom: 20px;
    font-style: italic;
    margin-top: -20px;
}

.siu-gallery #photo-gallery img {
    /*display: table-row;*/
    /*max-height: 600px;*/
    max-width: 100%;
    width: 100%;
}

.siu-gallery #imageAuthor {
    position: relative;
    left: 0;
    width: 100%;
    text-align: left;
    display: inline-block;
    padding: 5px 10px 10px 0;
    color: black;
    background: rgba(255,255,255, 0.5);
    z-index: 100;
}

.siu-image-wrapper {
    overflow: hidden;
    clear: both;
}

.siu-image-wrapper .siu-image-hover {
    position: relative;
    overflow: hidden;
}

.siu-image-wrapper .siu-image-hover {
    transition: all ease-in-out .3s;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
}

.siu-image-wrapper .siu-image-hover img {
    /*
    transition: all ease-in-out .8s;
    -webkit-transition: all ease-in-out .8s;
    -moz-transition: all ease-in-out .8s;
    -o-transition: all ease-in-out .8s;
    */
}

.siu-image-wrapper .siu-image-hover:hover {
    /*background: rgba(18, 16, 16, 0.4);*/
}

.siu-image-wrapper .siu-image-hover:hover img {
    /*transform: scale(1.1);*/
}

.the-content .siu-image-wrapper .siu-image-nohover:hover img {
    cursor: default;
}

.siu-image-wrapper .siu-image-nohover .siu-image-hover-title {
    display: none;
}

.siu-image-wrapper .siu-image-hover .siu-image-hover-title {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    display: none;
    padding: 10px;
    background: none;
}

.siu-image-wrapper .siu-image-hover:hover .siu-image-hover-title {
    display: block;
    background: rgba(18, 16, 16, 0.4);
}

.siu-image-wrapper span.zdroj {
    font-size: 12px;
    font-style: italic !important;
}

.siu-gallery #photo-gallery #leftButton a,
.siu-gallery #photo-gallery #rightButton a {
    position: absolute;
    top: 50%;
    height: 5em;
    line-height: 5em;
    text-align: center;
    font-size: 20px;
    background-color: #EA2525;
    margin-top: -2.5em;
    color: white;
}

.siu-gallery #photo-gallery #leftButton a:hover,
.siu-gallery #photo-gallery #rightButton a:hover {
    background-color: rgba(0, 0, 0, .6);
}

.siu-gallery #photo-gallery #leftButton a {
    left: 15px;
}

.siu-gallery #photo-gallery #rightButton a {
    right: 15px;
}

.siu-gallery #photo-gallery #leftButton a:hover,
.siu-gallery #photo-gallery #rightButton a:hover {
    text-decoration:  none;
}

.siu-gallery #photo-gallery #leftButton span,
.siu-gallery #photo-gallery #rightButton span {
    padding: 15px;
}


/* Galeria end */

/* Sipky v galerii */
.siu-gallery i.arrow {
    border: solid white;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 4px;
}

.siu-gallery i.arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.siu-gallery i.arrow.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.siu-gallery i.arrow.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.siu-gallery i.arrow.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

@media only screen and (min-width: 320px) {
  .siu-gallery #photo-gallery #leftButton a,
  .siu-gallery #photo-gallery #rightButton a {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .siu-gallery #photo-gallery #leftButton a {
    left: 0;
  }

  .siu-gallery #photo-gallery #rightButton a {
    right: 0;
  }
}

@media only screen and (min-width: 426px) {
    .siu-gallery-shortcode .siu-gallery-title {
        padding: 120px 100px;
    }
}

@media only screen and (min-width: 768px) {
    .siu-gallery-shortcode .siu-gallery-title {
        padding: 150px 200px;
    }

    .siu-gallery-shortcode .siu-gallery-title h6 {
        padding: 1em 2em;
    }

    .siu-gallery #photo-gallery #leftButton a,
    .siu-gallery #photo-gallery #rightButton a {
      background-color: rgba(0, 0, 0, 0.3);
    }
}
