.cmb-modal-box {
  display: none;
  position: fixed;
  z-index: 9999;
  width:auto;
  height:auto;
  left: 50%;
  top: 50%;
  overflow: auto;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;

}
@media only screen and (max-width: 600px) {
 .cmb-modal-box{
     width:95% !important;
	 font-size:12px !important;
  }
  .cmb_top_header img {
  	width:30px !important;
	height:30px !important;
  }
  .cmb_top_style {
  	display:none;
  }
}

.cmb-modal-box header,
.cmb-modal-box .cmb-modal-header {
 /* padding: 1.25em 1.5em;*/
}

.cmb-modal-box header h3,
.cmb-modal-box header h4,
.cmb-modal-box .cmb-modal-header h3,
.cmb-modal-box .cmb-modal-header h4 { margin: 0; }

.cmb-modal-box .cmb-modal-body { padding: 2em 1.5em; }

.cmb-modal-box footer,
.cmb-modal-box .cmb-modal-footer {
  padding: 1em;
  border-top: 1px solid #ddd;
  background: rgba(0, 0, 0, 0.02);
  text-align: right;
}

.cmb-modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: fixed;
  top: 0;
  left: 0;
  bottom:0;
  z-index: 7777;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 0, 0, 0.3) !important;*/
  background:#000;
}

a.cmb-close {
  color: #222;
  content: "×";
  display: inline-block;
  font-size: 40px;
  width: 40px;
  text-align:center;
  float: right;
  font-weight: 700;
  line-height: 1;
  opacity: 0.5;
  text-shadow: 0 1px 0 #fff;
  outline:none !important;
}


a.cmb-close:hover {
  color: #000 !important;
  /*-webkit-transition: color 1s ease;
  -moz-transition: color 1s ease;
  transition: color 1s ease;*/
}