
.giftCardmodal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
 
   background-color: rgba(0, 0, 0, 0.5);
  transition: opacity .25s ease;
  z-index:11;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .giftCardmodal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .giftCardmodal .modal__inner {
  top: 0;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 5px;
  padding: 0em 0em;
  height: 78%;
  background: #000000 0% 0% no-repeat padding-box;
   box-shadow: 0px 3px 6px #00000029;
  border-radius: 6px;
   opacity: 0.9;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #aaa;
}

.modal__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 90%;
    height: 72%;
    box-sizing: border-box;
  }
  
	 .modal-state:checked + .giftCardmodal .modal__inner {
	  top: 70;
	}

  
  
}
.h1TextClass{
	font-weight: 700;
	color: #324815;
	font-size: 26px;
	text-align: center;
	letter-spacing: 0px;
	color: #FFFFFF;
	opacity: 1;
	margin: 20px;
}
.pTextClass{
	
	margin: 1.5rem 1rem;
	text-align: center;
	text-align: center;
	font: normal normal normal 20px/27px Proxima Nova;
	letter-spacing: 0px;
	color: #FFFFFF;
	opacity: 1;
}
.giftcardgetoffer{
    background: #97C21B 0% 0% no-repeat padding-box;
    opacity: 1;
    text-align: center;
    
	font: normal normal bold 28px Proxima Nova;
    padding: 4px 16px;
    letter-spacing: 0px;
    color: #FFFFFF;
    border-radius: 0;
    border: 1px solid #97c21B;
    opacity: 1;
}

.giftofferText{
	text-align: left;
   font: normal normal normal 19px/26px Proxima Nova;
    letter-spacing: 0px;
    color: #324815;
   text-align: center;
  
}

@media (min-width: 992px){

.modal__inner {
	padding: 1em 2em;
}
.h1TextClass{
	font-size: 36px;
	padding:0px 30px;
}
.pTextClass{
	margin: 1.5rem 3rem;
 }
.giftcardgetoffer{
	font: normal normal bold 20px Proxima Nova;
    padding: 8px 38px;
  }
  
  
}
