#TB_window{
  /*width: auto !important;*/
  /*height: auto !important;*/
}
.pi_toggle{
	cursor: pointer;
}
#TB_ajaxContent{
	width: 100% !important;
	box-sizing: border-box;
 	-webkit-box-sizing: border-box;
 	-moz-box-sizing: border-box;
 	-o-box-sizing: border-box;
}
.pi_fig_click_toggle{
	cursor: pointer;
}
.pi-awesome-gallery .pi-img-item{
	list-style: none;
	display: inline-block;
	margin-left: 5px;
	position: relative;
}

.pi-awesome-gallery{
	margin-top: 20px;
	margin-bottom: 20px;
}

.pi-awesome-remove{
	text-decoration: none;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 99;
	color: red;
	background-color: rgba(0,0,0,0.3);
}

.pi_form_setting{
	margin-top: 10px;
}
#TB_ajaxContent {
	overflow: hidden !important;
	height: auto !important;
}
#TB_window {
	overflow-x: hidden !important;
	overflow-y: auto !important;
}

.wiloke-gallery-image-cover {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

.wiloke-gallery-image-cover img {
  position: absolute;
  max-width: 100%;
  /*max-width: none !important;*/
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}


.wiloke-gallery-wrapper .form-group{
	padding: 10px 0;
}

.wiloke-gallery-wrapper .form-group .form-label{
		font-weight: bold;
    display: inline-block;
}

.wiloke-gallery-wrapper .form-group input{
		    display: inline-block;
}

.wiloke-gallery-wrapper code.help{
	  display: block;
    clear: both;
    margin-top: 5px;
    margin-bottom: 5px;
    font-style: italic;
    color: #aaa;
    background: none;
    padding: 0;
}

.pswp__caption .pswp__caption__center{
  text-align: center;
}

.pswp__caption__center a,
.pswp__caption__center a:hover{
  color: #fff;
  text-align: center;
}

/* Owl Pagination */
/* Styling Pagination*/

.owl-theme .owl-controls .owl-page{
  display: inline-block;
  zoom: 1;
  *display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span{
  display: block;
  width: 12px;
  height: 12px;
  margin: 5px 7px;
  filter: Alpha(Opacity=50);/*IE7 fix*/
  opacity: 0.5;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  background: #869791;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
  filter: Alpha(Opacity=100);/*IE7 fix*/
  opacity: 1;
}

/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
  height: auto;
  width: auto;
  color: #FFF;
  padding: 2px 10px;
  font-size: 12px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
}

.owl-controls{
  text-align: center;
  margin-top: 10px;
}

/* cover */
.wiloke-gallery-image-cover > .item {
  position: fixed; 
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
}

.wiloke-gallery-image-cover > img  {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
  overflow-x: hidden;
}
