.popup,.popup2 {
  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;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.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: 650px;
  margin: 30px auto;
  max-width: 97%;
}
.custom-model-wrap p.sign {
   width: 300px;
   margin-top: 20px;
   text-align: center;
   margin: 50px auto 0px auto;
}
.custom-model-wrap ol { padding-left: 1rem}
.custom-model-wrap h3 { color:#fff; font-size: 1.2em; font-weight: 600!important; text-align: center!important;}
.custom-model-wrap .logo { width: 90px; margin:-80px auto 20px auto;border: none; border-radius: 50%}
.custom-model-wrap .logo img { width:100%; }
.custom-model-wrap .logo-nocanabis { width: 60px; position: fixed; right:20px; bottom: 20px}
.custom-model-wrap {
  line-height: 1.5em;
  font-size: 0.5em;
  display: block;
  width: 100%;
  position: relative;
  background-color: var(--primary-color);
  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;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  color:rgba(255, 255, 255, 0.8);
  font-family: 'Helvetica';
  font-weight: 300!important
  /*background-image: url('../images/pic-data/leaf-bg-patterns.png');
  background-size: 100px*/
}

.custom-model-wrap.white {
  background-color: #fff!important;
  color:#222;
}

.custom-model-wrap.white .logo { width: 120px; margin:-80px auto 20px auto;border: solid 5px #fff; border-radius: 50%}

.pop-up-content-wrap {
  border-top: 70px solid var(--primary-color);
  border-left: 15px solid var(--primary-color);
  border-right: 15px solid var(--primary-color);
  border-bottom: 15px solid var(--primary-color);
  padding: 20px
}
.model-open .custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.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;
}
.close-btn {
  position: absolute;
  right: 0;
  top: -40px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 50px;
  opacity: 0.75;
}
.hr-text:before {
  content: "";
  background: linear-gradient(to right, transparent, #f9de13, transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}
.hr-text:after {
  content: '';
  background: url('../../assets/images/pic-data/gototop.svg');
  background-size:  30px;
  background-repeat: no-repeat;
  background-position: center center;
  height: 50px;
  width: 50px;
  position: relative;
  display: inline-block;
  color: black;
  background-color: var(--primary-color);
}

.free-box { padding-right: 100px; clear:right}
.free-canabis.sticky { position: fixed; z-index: 6; top:110px;}
.free-canabis { font-family: 'DBSharp'; width:1312px; height: auto ; display: block; text-align: right; margin-top: 40px; margin-bottom: -100px;}
.free-canabis .boxfrm { width: 90px; margin-right: 0px; display: inline-block}
.free-canabis p { font-size: 0.65em; line-height: 1em; text-align: center }
.free-canabis img { width: 90px; }

@media screen and (min-width:1313px){
	.free-canabis {
	    margin-left: calc(50% - 716px);
	}
}

@media screen and (max-width:1312px){
	.free-canabis {
		width: 100%;
	}
	.free-canabis .boxfrm {
		margin-right: 50px
	}
}

@media screen and (max-width:992px){
	.free-canabis {
		margin-bottom: -50px
	}
}

@media screen and (min-width:800px){
	.popup:before,.popup2:before {
	  content: "";
	  display: inline-block;
	  height: auto;
	  vertical-align: middle;
	  margin-right: -0px;
	  height: 100%;
	}
}
@media screen and (max-width:768px){
    .custom-model-wrap { font-size: 1em; }
    .custom-model-wrap.white h3 {  font-size: 1em!important;}
    .free-canabis p { font-size: 1.25em;}
    .free-canabis.sticky { top:50px; }
}