.tm-lightbox {
  width: 100%;
  height: 100%;
  background: #000;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 10000;
  -webkit-backface-visibility: hidden;
}
.tm-lightbox *,
.tm-lightbox *:before,
.tm-lightbox *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#tm-lightbox.tml-modal-mode {
  background: rgba(0, 0, 0, 0.2);
  overflow-x: hidden;
  overflow-y: auto;
}
#tml-content {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.tml-modal-mode .modal-dialog {
}
.tml-modal-mode .modal-dialog > div {
  padding-left: 3rem;
  padding-right: 3rem;
}
#tml-content-wrapper.zoomed {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
}
#tml-content.scrollable-content:not(.modal-dialog) {

}
#tml-content.tml-error {
  width: 100%;
  background: none;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  top: 50%;
  left: 0;
  box-shadow: none;
}
@media only screen and (max-width: 479px) {
  #tml-content-wrapper {
    left: 10% !important;
    right: 10% !important;
  }
  .tml-modal-mode #tml-content-wrapper {
    left: 5% !important;
    right: 5% !important;
  }
}
#tml-content iframe,
#tml-content object,
#tml-content embed {
  width: 100% !important;
  height: 100% !important;
}
#tml-content video {
  width: 60vw;
  height: 40vw;
  max-width: 900px;
  max-height: 510px;
  margin: 0 auto;
}
.tm-loader,
.tm-loader #circle {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.tm-loader {
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  position: absolute;
  top: 50%;
  left: 50%;
}
.tm-loader #circle {
  width: 24px;
  height: 24px;
  border-width: 2px;
  border-style: solid;
  border-color: #005ed2 #005ed2 #005ed2 rgba(0, 94, 210, 0.3);
  animation: preloader 1s linear infinite;
}
@-webkit-keyframes preloader {
  from {
    -webkit-transform: rotate(0);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes preloader {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
#tml-caption {
  width: 100%;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  opacity: 0;
  -webkit-backface-visibility: hidden;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  position: absolute;
  bottom: 0;
}
#tml-caption span {
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  display: block;
  padding: 20px 40px;
  border-top: 0;
}
.tml-nav {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 10;
}
#tml-next {
  top: 50%;
  right: 30px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%227%22%20height%3D%2213%22%20viewBox%3D%220%200%207%2013%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22%23fff%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7%206.8L.7%2013l-.7-.8%205.8-5.7L0%20.8.7%200%207%206.2l-.2.3.2.3z%22%2F%3E%3C%2Fsvg%3E")
    no-repeat center center;
  background-size: auto 100%;
}
#tml-next:before {
  content: "";
}
#tml-prev {
  top: 50%;
  left: 30px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%227%22%20height%3D%2213%22%20viewBox%3D%220%200%207%2013%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22%23fff%22%20clip-rule%3D%22evenodd%22%20d%3D%22M.2%206.5L0%206.2%206.3%200l.7.8-5.8%205.7L7%2012.2l-.7.8L0%206.8l.2-.3z%22%2F%3E%3C%2Fsvg%3E")
    no-repeat center center;
  background-size: auto 100%;
}
#tml-prev:before {
  content: "";
}
#tml-exit {
  top: 7px;
  right: 7px;
}
.tml-modal-mode #tml-exit {
  right: 20px;
}
#tml-tool-bar {
  display: none;
}
#tml-tool-bar .tml-nav {
  font-size: 15px;
}
#tml-tool-bar .tml-nav,
#tml-tool-bar #tml-share-wrapper,
#tml-tool-bar .tml-social-list {
  float: left;
  position: relative;
}
#tml-tool-bar .tml-social-list.list-vertical,
#tml-tool-bar .tml-social-list.list-vertical .tml-nav {
  float: none;
  text-align: left;
}
#tml-tool-bar .tml-social-list {
  margin: 0;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  position: relative;
  z-index: 101;
  transition-property: transform, opacity, visibility;
  transition-duration: 400ms;
}
#tml-tool-bar .tml-social-list,
#tml-tool-bar .tml-social-list li {
  overflow: hidden;
}
#tml-tool-bar .tml-social-list li a {
  margin-right: 10px;
}
#tml-tool-bar .tml-social-list.active {
  opacity: 1;
  visibility: visible;
}
#tml-tool-bar .tml-social-list .tml-nav {
  width: auto;
  min-width: 44px;
  font-size: 11px;
}
#tml-tool-bar #tml-zoom:before {
  content: "";
}
#tml-tool-bar #tml-share:before {
  content: "";
}
#tml-exit:before {
  content: "";
}
.tml-nav {
  transition-property: color, opacity;
  transition-duration: 300ms;
}
#tml-lightbox,
#tml-content-wrapper,
#tml-content {
  position: absolute;
}
.show {
  display: block !important;
  visibility: visible !important;
}
