/* Demo */
.magnific-gallery {
  list-style: none;
}
.magnific-gallery li {
  float: left;
  height: 100px;
}
.magnific-gallery img {
  height: 100%;
}
/* Overlay */
/* Image type */
.mfp-example .mfp-container.mfp-image-holder .mfp-img {
  padding: 0;
  border: 12px solid #fff;
}
.mfp-example .mfp-container.mfp-image-holder .mfp-figure:after {
  display: none;
}
/* Image type - .mfp-table class added by the extension */
.mfp-example.mfp-table .mfp-container.mfp-image-holder .mfp-figure > figure {
  display: table;
}
.mfp-example.mfp-table .mfp-container.mfp-image-holder .mfp-header {
  display: table-caption;
  caption-side: top;
}
/* Nested tables - only one caption per table is possible */
.mfp-example.mfp-table .mfp-container.mfp-image-holder .mfp-footer {
  display: table-row;
}
.mfp-example.mfp-table .mfp-container.mfp-image-holder .mfp-figcaption {
  display: table;
  width: 100%;
}
.mfp-content-container {
  background: #fff;
  min-height: 300px;
}
.mfp-example.mfp-table .mfp-container.mfp-image-holder .mfp-bottom-bar-container {
  display: table-caption;
  caption-side: top;
}
/* Image type end */
.mfp-example .mfp-container .mfp-top-bar {
  padding: 10px 50px 10px 20px;
  margin-top: 30px;
  /* decoration always visible 70 less */
  background: #1f5798;
  text-align: center;
  position: relative;
}
.mfp-example .mfp-container .mfp-top-bar .mfp-title {
  max-height: 92px;
  padding-right: 0;
  font-size: 43px;
  line-height: 46px;
  color: #fff;
  text-align: center;
  word-break: break-all;
  overflow: hidden;
}
.mfp-example .mfp-container .mfp-top-bar .mfp-decoration {
  position: absolute;
  left: -28px;
  top: -69px;
  width: 182px;
  height: 98px;
  background: url(/images/ci/logo.png) no-repeat;
}
.mfp-example .mfp-container .mfp-bottom-bar {
  padding: 0 12px;
  margin-top: 0;
  margin-bottom: 30px;
  /* decoration always visible 125px less*/
  box-sizing: border-box;
  background-color: #fff;
}
.mfp-example .mfp-container .mfp-bottom-bar .mfp-description {
  font-size: 14px;
  line-height: 18px;
  max-height: 28px;
  overflow: hidden;
}
.mfp-example .mfp-container .mfp-side-bar {
  padding: 30px 12px 12px 12px;
  top: 0
	bottom: 0;
  margin: auto;
}
.mfp-example .mfp-container .mfp-side-bar .mfp-description {
  font-size: 16px;
  line-height: 23px;
  overflow: hidden;
}
.mfp-example .mfp-container .mfp-img-container {
  background: #FFF;
}
.mfp-example .mfp-container .mfp-bottom-bar .mfp-decoration {
  position: absolute;
  left: 0;
  bottom: -29px;
  width: 100%;
  height: 30px;
  background: #fff;
  padding: 0 -10px;
  -webkit-clip-path: polygon(0px 0px, 0px 30px, 955px 0px);
  clip-path: polygon(0 0, 100% 0, 30px 0);
}
.mfp-example .mfp-container .mfp-bottom-bar .mfp-counter {
  position: static;
  display: block;
  width: 100%;
  margin-top: -5px;
  text-align: center;
  color: #999;
}
/*
.mfp-example .mfp-container .mfp-close

{
	text-indent: 200px;
	overflow: hidden;

	right: 0;
	top: 0;

	height: 100%;
	width: 60px;

	background: url(http://i1232.photobucket.com/albums/ff372/Marcin_Gil/magnific%20example/close.png) no-repeat center center;
}
*/
/* Overlay fadeIn animation */
.mfp-example.mfp-with-zoom .mfp-container,
.mfp-example.mfp-with-zoom.mfp-bg {
  opacity: 0;
  -webkit-backface-visibility: hidden;
  /* ideally, transition speed should match zoom duration */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.mfp-example.mfp-with-zoom.mfp-ready .mfp-container {
  opacity: 1;
}
.mfp-example.mfp-with-zoom.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-example.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-example.mfp-with-zoom.mfp-removing.mfp-bg {
  opacity: 0;
}
/* Overlay controls */
.mfp-example .mfp-close {
  line-height: 64px;
  font-size: 58px;
}
/*
.mfp-example .mfp-arrow
{
	background: url(http://i1232.photobucket.com/albums/ff372/Marcin_Gil/magnific%20example/arrows.png) no-repeat center 30px;
}

.mfp-example .mfp-arrow:hover
{
	background-position: center -370px;
}





.mfp-example .mfp-arrow.mfp-arrow-right
{
	background-position: center -170px;
}


.mfp-example .mfp-arrow.mfp-arrow-right:hover
{
	background-position: center -580px;
}

.mfp-example .mfp-arrow:before,
.mfp-example .mfp-arrow:after,
.mfp-example .mfp-arrow .mfp-b
.mfp-example .mfp-arrow .mfp-a
{
	display: none;
}
*/
@media only screen and (max-width: 1280px) {
  /* Overlay */
  .mfp-example .mfp-container .mfp-top-bar {
    line-height: 72px;
  }
  .mfp-example .mfp-container .mfp-top-bar .mfp-title {
    max-height: 72px;
    font-size: 33px;
    line-height: 36px;
    display: inline-block;
    vertical-align: middle;
  }
}
@media only screen and (max-width: 768px) {
  /* Overlay */
  .mfp-example .mfp-container .mfp-top-bar {
    margin-top: 49px;
    /* decoration always visible */
    line-height: 52px;
  }
  .mfp-example .mfp-container .mfp-top-bar .mfp-title {
    max-height: 52px;
    font-size: 23px;
    line-height: 26px;
  }
  .mfp-example .mfp-container .mfp-top-bar .mfp-decoration {
    left: -19px;
    top: -48px;
    width: 128px;
    height: 68px;
    background-size: 128px 68px;
  }
  .mfp-example .mfp-container .mfp-bottom-bar {
    margin-bottom: 86px;
    /* decoration always visible */
  }
  .mfp-example .mfp-container .mfp-bottom-bar .mfp-decoration {
    bottom: -91px;
    width: 100%;
    height: 91px;
    background-size: auto 91px;
  }
}
@media only screen and (max-width: 480px) {
  /* Overlay */
  .mfp-example .mfp-container .mfp-top-bar {
    margin-top: 35px;
    /* decoration always visible */
    line-height: 42px;
  }
  .mfp-example .mfp-container .mfp-top-bar .mfp-title {
    max-height: 42px;
    font-size: 18px;
    line-height: 21px;
  }
  .mfp-example .mfp-container .mfp-top-bar .mfp-title {
    max-height: 42px;
    font-size: 18px;
    line-height: 21px;
    display: inline-block;
    vertical-align: middle;
  }
  .mfp-example .mfp-container .mfp-top-bar .mfp-decoration {
    left: -14px;
    top: -34px;
    width: 91px;
    height: 49px;
    background-size: 91px 49px;
  }
  .mfp-example .mfp-container .mfp-bottom-bar {
    margin-bottom: 62px;
    /* decoration always visible */
  }
  .mfp-example .mfp-container .mfp-bottom-bar .mfp-decoration {
    bottom: -65px;
    width: 100%;
    height: 65px;
    background-size: auto 65px;
  }
  .mfp-example .mfp-container .mfp-bottom-bar .mfp-counter {
    margin-top: -3px;
  }
}
