.dialog,
.dialog__overlay {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
    z-index: 9999;
}

.dialog {
	position: fixed;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	pointer-events: none;
}

.dialog__close {
  /* form X button on top right */
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  right: 0;
  top: -40px;
  background: url("../../images/icon/cd-icon-close.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

@media only screen and (max-width:480px) {
    
}

.dialog__overlay {
	position: absolute;
	z-index: 1;
	background: rgba(55, 58, 71, 0.9);
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-backface-visibility: hidden;
}

.dialog--open .dialog__overlay {
	opacity: 1;
	pointer-events: auto;
}

.dialog__content {
	width: 80%;
	max-width: 480px;
	min-width: 290px;
	background: #fff;
	padding: 2em 2em;
	text-align: center;
	position: relative;
	z-index: 999;
	opacity: 0;
    border-radius: 5px;
}

.dialog--open .dialog__content {
	pointer-events: auto;
}

/* Content */
.dialog h2 {
	margin: 0;
	font-weight: 400;
	font-size: 2em;
	padding: 0 0 2em;
	margin: 0;
}
.dialog h4{
    color: #26ad12;
    font-size: 21px;
    line-height: 34px;
}
.dialog h6{
    color: #333;
    font-size: 16px;
    line-height: 24px;
}
.dialog p{
    color: #666;
    font-size: 14px;
}

@media only screen and (max-width:480px) {
   
.dialog h4{
    color: #26ad12;
    font-size: 18px;
    line-height:normal;
}
.dialog h6{
    color: #333;
    font-size: 13px;
    line-height: normal;
}
.dialog p{
    color: #666;
    font-size: 12px;
}
    
}