.gr-custom-model-main {
	text-align: center;
	overflow: hidden;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0; /* z-index: 1050; */
	-webkit-overflow-scrolling: touch;
	outline: 0;
	opacity: 0;
	-webkit-transition: opacity 0.15s linear, z-index 0.15;
	-o-transition: opacity 0.15s linear, z-index 0.15;
	transition: opacity 0.15s linear, z-index 0.15;
	z-index: -1;
	overflow-x: hidden;
	overflow-y: auto;
}
  
.gr-model-open {
	z-index: 99999;
	opacity: 1;
	overflow: hidden;
}

.gr-custom-model-inner {
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	transform: translate(0, -25%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	-o-transition: -o-transform 0.3s ease-out;
	transition: -webkit-transform 0.3s ease-out;
	-o-transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
	display: inline-block;
	vertical-align: middle;
	width: 600px;
	margin: 30px auto;
	max-width: 97%;
}

.gr-custom-model-wrap {
	display: block;
	width: 100%;
	position: relative;
	background-color: #fff;
	border: 1px solid #999;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	background-clip: padding-box;
	outline: 0;
	text-align: left;
	padding: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-height: calc(100vh - 70px);
	overflow-y: auto;
}

.gr-model-open .gr-custom-model-inner {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
	position: relative;
	z-index: 999;
}

.gr-model-open .gr-bg-overlay {
	background: rgba(0, 0, 0, 0.6);
	z-index: 99;
}

.gr-bg-overlay {
	background: rgba(0, 0, 0, 0);
	height: 100vh;
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	-webkit-transition: background 0.15s linear;
	-o-transition: background 0.15s linear;
	transition: background 0.15s linear;
}

.gr-close-btn {
	position: absolute;
	right: 0;
	top: -30px;
	cursor: pointer;
	z-index: 99;
	font-size: 30px;
	color: #fff;
}

.grup-collection-wrap {
    max-height: 150px;
    overflow-y: auto;
}
.grup-header-wrap {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.grup-button-wrapper {
    display: flex;
    padding: 15px;
}

.grup--add_collection , .grup--save_collection{
	padding: 3px 20px;
}

/* End Modal popup first */

/* Start Modal Popup Second 11-08-2022 */

.grup__popup_open{
	display: none !important;
}

.grup__popup-container {
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}

.grup__popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}


.grup__popup-content a.close{
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration:none;
}

.grup__popup-content a.close:hover{
  color:#333;
}

.grup__popup-content span:hover,
.grup__popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.grup__popup-container h3{
  margin:10px;
}

.grup__buttongrup_mycollection{
	display: flex;
}

.grup_create_collection , .grup__cancel_mycollection{
	padding: 0px 20px;
}


/*End Second popup styles*/
  
@media screen and (min-width:800px){
	.gr-custom-model-main:before {
		content: "";
		display: inline-block;
		height: auto;
		vertical-align: middle;
		margin-right: -0px;
		height: 100%;
	}
}

@media screen and (max-width:799px){
	.gr-custom-model-inner{margin-top: 45px;}
}
  