/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 60px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 10045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-width-auto .mfp-content {
	width: auto;
}

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 10044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 10046;
  -webkit-box-shadow: none;
  box-shadow: none;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close,
button.mfp-close {
	width: 40px;
	height: 42px;
	line-height: 22px;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	text-align: center;
	padding: 10px;
	color: #FFF;
	font-style: normal;
	font-size: 30px;
	border-left: solid 1px #ccc;
	color: #868686;
	text-shadow: 1px 1px 0 #FFFFFF;
}
  .mfp-close:hover, .mfp-close:focus {
	  color: #333333;
  }
  .mfp-close:active {
    top: 1px;
  }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
	padding-top: 90px;
	padding-bottom: 30px;
}
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 95%;
	height: 100%;
    /*max-width: 900px;*/
  }
  .mfp-iframe-holder .mfp-close {
    top: -40px;
  }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  /*padding-top: 56.25%;*/
}
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
  }

  .mfp-iframe body img {

  }

.mfp-div-scaler {
	position: fixed;
	left: 85px;
	top: 100px;
	bottom: 60px;
	right: 85px;
}

/* Main image in popup */
img.mfp-img,
video.mfp-video,
audio.mfp-audio {
  width: auto;
  max-width: 100%;
  max-height: 95vh;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 100px 0 40px;
  margin: 0 auto;
}

	.extension-svg img.mfp-img{
		height: 200px; /* svg would be 0px height if height is auto */
		padding: 0;
		background: white;
	}

audio.mfp-audio {
	width: 100%;
	min-width: 300px;
	max-width: 500px;
}

textarea.mfp-textarea {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	resize: none;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 100px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0;
  }

	.mfp-figure.transparent:after {
		background: transparent;
		box-shadow: none;
	}

.mfp-inline-content {
	text-align: center;
	font-size: 120px;
	color: #ffffff;
}
	.mfp-inline-content .thumbDefault {
		color: #ffffff;
		position: absolute;
		top: 42%;
		width: 120px;
		margin-left: -90px;
		box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
		background: #444;
		padding: 30px;
		height: 120px;
		margin-top: -60px;
	}
		.mfp-inline-content .thumbDefault > span {
			font-family: Tahoma;
			font-size: 32px;
			position: absolute;
			left: 0;
			right: 0;
			top: 50%;
		}

.mfp-top-bar {
	margin-top: 10px;
	position: absolute;
	top: -40px;
	left: 0;
	width: 100%;
	cursor: auto;
	display: flex;
	z-index: 2;
}
.mfp-top-bar.fixed {
	position: fixed;
	right: 0;
	top: 0;
	margin: 0;
	padding: 5px 0 0 0;
	box-shadow: 0 5px 5px 0 rgba(0,0,0,0.5);
	background-color: rgba(0,0,0,0.5);
	width: auto;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
	line-height: 50px;
	color: #ffffff;
	font-size: 14px;
	flex: 1;
	margin-left: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mfp-buttons {
  text-align: center;
  color: #F3F3F3;
  word-wrap: break-word;
  font-size: 12px;
  flex: 1;
  white-space: nowrap;
}
.mfp-button {
	display: inline-block;
	padding: 0 10px;
	margin: 0 -5px 0 5px;
	color: rgba(243, 243, 243, 1);
	border-radius: 3px;
	font-size: 14px;
	vertical-align: middle;
	line-height: 50px;
	opacity: 1;
}
.mfp-button:hover {
	text-decoration: none;
	background-color: rgba(78, 78, 78, 0.65);
	opacity: 1;
}
.mfp-top-bar.fixed .mfp-close {
	width: auto;
	right: auto;
	top: auto;
	cursor: pointer !important;
	position: relative;
	height: auto;
	text-align: center;
	padding: 0 5px;
}

.buttons-hidden .mfp-buttons,
.title-hidden .mfp-title,
.webdav-link-hidden .mfp-item-webdav-link {
	display: none;
}

.mfp-flex-divider {
	flex: 1;
}

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }

.white-popup-block {
background: #FFF;
padding: 5px;
text-align: left;
max-width: 650px;
margin: 40px auto;
position: relative;
/* Important for pop-overs of grid when grid is in pop-over */
border: 1px solid #ccc;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

	.white-popup-block h4 {
		padding: 12px 15px;
		margin: 0;
		background-color: #ffffff;
		background: -moz-linear-gradient(top, rgba(221, 221, 221, 0), #dddddd) #ffffff;
		background: -ms-linear-gradient(top, rgba(221, 221, 221, 0), #dddddd) #ffffff;
		background: -webkit-gradient(linear, left top, left bottom, from(rgba(221, 221, 221, 0)), to(#dddddd)) #ffffff;
		filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#00FBFBFB', EndColorStr='#ffffffff', GradientType=1);
		text-shadow: 1px 1px 0 #FFFFFF;
		border-bottom: solid 1px silver;
		font-size: 14px;
	}

	.white-popup-block .modal-body {
		padding: 10px;
		max-height: 75vh;
		overflow: auto;
		font-size: 12px;
		z-index: 1;
		flex: 1;
	}
	.white-popup-block .modal-body.overflow-visible {
		overflow: visible;
	}
	.white-popup-block .modal-body.overflow-hidden {
		overflow: hidden;
	}
	.white-popup-block .modal-body.full-height {
		min-height: 75vh;
	}
	.white-popup-block .modal-body.half-height {
		min-height: 50vh;
	}
	.white-popup-block .modal-body.no-min-height {
		min-height: auto !important;
	}
	.white-popup-block .modal-body.no-padding {
		padding: 0;
	}

.white-popup-block.half-width {
	max-width: 325px;
}

.white-popup-block.two-thirds-width {
	max-width: 433px;
}

.white-popup-block.width-max-800px {
	max-width: 800px;
}

.white-popup-block.full-width {
	max-width: none;
}

.white-popup-block.fixed-body-height-430px {

}
	.white-popup-block.fixed-body-height-430px .modal-body {
		min-height: 430px;
		max-height: 430px;
	}
		.white-popup-block.fixed-body-height-430px .modal-body .coreFilterScrollWrapper {
			overflow: initial;
			max-height: initial;
		}




/* modal specific styles */
.mfp-container ul.buttons-list {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	height: auto;
}
.mfp-container ul.buttons-list.full-height {
	flex: 1;
	height: 75vh;
	display: flex;
}
.mfp-container ul.buttons-list li {
	margin: 0;
	padding: 0;
	text-align: center;
	display: inline-block;
	width: 50%;
	clear: none;
	visibility: visible;
	box-shadow: none;
	border: none;
	position: relative;
}
.mfp-container ul.buttons-list.col-1 li {
	width: 100%;
}
.mfp-container ul.buttons-list.col-2 li {
	width: 50%;
}
.mfp-container ul.buttons-list.col-3 li {
	width: 33.333333%;
}

.mfp-container ul.buttons-list .separator {
	position: relative;
	overflow: hidden;
	margin: 5px;
	display: flex;
	align-items: center;
}
.mfp-container ul.buttons-list .separator .separator-text {
	color: #222;
	font-weight: bold;
	margin-right: 10px;
}
.mfp-container ul.buttons-list .separator .separator-text:empty {
	margin-right: 0;
}
.mfp-container ul.buttons-list .separator:after {
	content: '';
	border-top: solid 1px #e2e2e2;
	flex: 1;
	height: 1px;
}

.mfp-container ul.buttons-list li.hidden {
	display: none !important;
}
.mfp-container ul.buttons-list li > a {
	border: solid 1px #dcdcdc;
	border-radius: 3px;
	transition : border 100ms, box-shadow 100ms;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #333333;
	font-size: 13px;
	text-decoration: none;
	background-color: #fbfbfb !important;
	padding: 15px;
	margin: 10px;
	display: block;
}
.mfp-container ul.buttons-list li > a.no-margin {
	margin: 0;
}
.mfp-container ul.buttons-list li > a:hover {
	border: #cccccc solid 1px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}
.mfp-container ul.buttons-list li.active > a {
	border-color: #BDBDBD !important;
	box-shadow: inset 0 1px 2px 0 rgba(0,0,0,.1);
	background-color: #f5f5f5 !important;
}

.mfp-container ul.buttons-list li a.tab-link {
	border: solid 1px #dcdcdc !important;
	border-radius: 3px;
	display: block;
	width: auto;
	height: auto;
	text-align: left;
}
.mfp-container ul.buttons-list li > a > span {
	display: block;
}
.mfp-container ul.buttons-list li .tabUnreadCount {
	left: 5px;
	top: 5px;
}
.mfp-container .modal-body ul.buttons-list li.active a.tab-link {

}
.mfp-container ul.buttons-list li a.right-icon,
.mfp-container ul.buttons-list li a.right-icon:hover {
	position: absolute;
	float: right;
	top: 35px;
	right: 20px;
	left: auto;
	margin: 0;
	padding: 0;
	bottom: auto;
	opacity: .75 !important;
	margin-top: -9px;
	padding-right: 5px;
	width: 25px;
	height: 22px;
	border: none;
	box-shadow: -10px 0 5px -5px #fbfbfb;
	background-color: #fbfbfb;
	z-index: 1;
}
.mfp-container ul.buttons-list li a.right-icon:hover {
	opacity: 1 !important;
}
.mfp-container ul.buttons-list li.active a.right-icon {
	background-color: #f5f5f5 !important;
	box-shadow: -10px 0 5px -5px #f5f5f5;
}
.mfp-container ul.buttons-list li a .tab-default-icon,
.mfp-container ul.buttons-list li a .tab-custom-icon {
	vertical-align: middle;
}

.mfp-container ul.buttons-list li a .appCaption {
	display: inline-block;
	margin: 0;
	max-width: none;
	text-align: left;
	font-size: inherit;
	line-height: 20px;
	vertical-align: middle;
}



/*  */
.mfp-container ul.buttons-list.no-borders {

}
	.mfp-container ul.buttons-list.no-borders li {

	}

		.mfp-container ul.buttons-list.no-borders li > a {
			padding: 5px;
			margin: 5px;
			background-color: transparent !important;
			border-color: transparent;
		}

		.mfp-container ul.buttons-list.no-borders li.active > a {
			border-color: rgba(0, 0, 0, 0.1) !important;
			box-shadow: none;
		}

			.mfp-container ul.buttons-list.no-borders li.active > a > span {
				font-weight: bold;
				white-space: nowrap;
				overflow: hidden;
				text-overflow: ellipsis;
			}

		.mfp-container ul.buttons-list.no-borders li > a:hover {
			box-shadow: none;
			border-color: rgba(0, 0, 0, 0.3);
		}

.mfp-container ul.buttons-list li.disabled > a,
.mfp-container ul.buttons-list li.disabled > a:hover {
	opacity: 0.5;
	border-color: transparent !important;
	cursor: default;
}
