#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;
  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%);
}
.pi_slideshow.wiloke-gallery-not-auto-height img{
	height: 100% !important;
}

.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;
}
