.white-popup {
	position: relative;
	background: #FFF;
	width: auto;
	max-width: 95%;
	height: 95vh;
	margin: 20px auto;

	overflow: hidden;
}

.hidden {
	display: none;
}

.montage-modal__selection {
	height: 100%;
}

.darkgrey {
	background: #333333;
}

.thumbnails, .image_picker_selector {
	height: 75vh;
	overflow: scroll;
	overflow-x: hidden;
	width: auto;
}

.sortable-placeholder {
	float: left;
	width: 100%;
	height: 10px;
	border-radius: 5px;
	background: #0088cc;
}

.montage-modal__sorter-item-container {
	width: 100%;
	padding-bottom: 50%;
	position: relative;
	background-repeat: no-repeat;
	background-size: 60px;
	background-position: 5px 5px;
	border: 3px dashed #888888;
}

.montage-modal__sorter-item-container:nth-child(1) {
	background-image: url(/wp-content/themes/marketify-child/images/MontageNumbers-01.png);
}

.montage-modal__sorter-item-container:nth-child(2) {
	background-image: url(/wp-content/themes/marketify-child/images/MontageNumbers-02.png);
}

.montage-modal__sorter-item-container:nth-child(3) {
	background-image: url(/wp-content/themes/marketify-child/images/MontageNumbers-03.png);
}

.montage-modal__sorter-item-container:nth-child(4) {
	background-image: url(/wp-content/themes/marketify-child/images/MontageNumbers-04.png);
}

.montage-modal__sorter-item-container:nth-child(5) {
	background-image: url(/wp-content/themes/marketify-child/images/MontageNumbers-05.png);
}

.montage-modal__button_container {
	display: flex;
	justify-content: space-evenly;
	background: #ededed;
}

.montage-modal__stage-picker-desc {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	align-items: center;
}

.montage-modal__sorter-desc {
	left: 0px;
	right: 0px;
	top: 0px;
	color: white;
	padding: 20px;
	background: #333333;
	z-index: 1;
	position: absolute;
}

.montage-modal__stage-picker-desc > p {
	flex: 5;
	margin: 0px !important;
}

.montage-modal__stage-picker-desc > button {
	flex: 1;
}

@media (max-width: 550px) {
	.thumbnail > p {
		display: none;
	}
}

.montage-modal__stage-picker > h3, .montage-modal__stage-picker > h3 {
	font-size: 36px;
}

.group > ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}

.group-item {
	margin: 0px !important;
	padding: 0px !important;
	width: 25%;
}

.group-item.col-xs-2 {
	width: 12% !important
}

@media (max-width: 510px) {
	.group-item.col-xs-2 {
		width: 24%;
	}
}

.group_title {
	display: block;
	flex: 100%;
}

.thumbnail {
	border: 0px solid white !important;
	width: 100%;
	padding-bottom: 100% !important;
	position: relative;
}

ul.thumbnails.image_picker_selector li .thumbnail.selected {
	background: #fff !important;
}

ul.thumbnails.image_picker_selector ul {
	overflow: hidden !important;
}

.thumbnail.selected > img {
	outline: 0.5em solid #0088cc;
}

.image_picker_image, .montage-modal__sort-item {
	display: block;
	margin: 0 auto;
	/* -webkit-box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.3);
	box-shadow: 0 8px 10px 1px rgba(0,0,0,0.14), 0 3px 14px 2px rgba(0,0,0,0.12), 0 5px 5px -3px rgba(0,0,0,0.3); */
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	max-width: 90%;
	max-height: 90%;
}

.montage-modal__sort-item {
	display: inline-block;
	float: left;
	max-height: 60%;
	max-width: 60%;
}

.thumbnail > p {
	position: absolute;
	text-align: center;
	margin: 0px;
	padding: 0px;
	transform: translateY(-100%);
	box-sizing: border-box;
	bottom: 0;
}

.thumbnail__open-tab {
	outline: 0px none !important;
	text-decoration: none !important;
}

.thumbnail__open-tab::before {
	display: inline-block;
	font-family: Ionicons;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	text-rendering: auto;
	line-height: 1;
	font-size: 20px;
	text-align: right;
	content: "\f39c";
	color: #0088cc !important;
}

.visible {
	display: block !important;
}

@media (min-width: 992px) {
	.hidden {
		display: block !important;
	}
}

.handle {
	float: right !important;
	position: absolute;
	top: 40%;
	left: 85%;
}

.handle:before {
	font-family: Ionicons;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	text-rendering: auto;
	line-height: 1;
	font-size: 36px;
	color: #0088cc;
	content: '\f2e3';
}

div.mfp-bg.mfp-ready {
	height: 100%;
	position: fixed;
	overflow-y: auto;
}

#montage-modal__sorter-add-to-cart {
	margin: 0px 0px 0.5em 0px;
}