@media only screen and (max-width: 800px) {
  .popbox:not(.map) {
    position: absolute;
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

body.popbox_active {
  overflow: hidden !important;
}

.popboxBg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  display: none;
  z-index: 600;
  background: #ffffff;
  background: rgba(255, 255, 255, 0.6);
}

.popbox:not(.map) {
  position: fixed;
  top: 10%;
  left: 50%;
  z-index: 10000;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
    0 6px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);

  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;

  min-width: 50px;
  min-height: 50px;
  background: #ffffff;
  clear: both;
  overflow: hidden;
  border-radius: 4px;
}

.popboxheader {
  cursor: move;
  height: 50px;
  position: relative;
}

.popboxfooter {
  cursor: move;
  height: 15px;
}

.popbox:not(.map) .content {
  position: relative;
  z-index: 603;
  margin: 0;
  padding: 0;
  padding: 10px;
  overflow: auto;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.popbox:not(.map) .content iframe {
  border: none;
}

.popboxheader .close,
.popboxheader .refresh {
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  text-align: center;
  cursor: pointer;
  padding: 0px 5px 0px 5px;
  -ms-touch-action: auto;
  touch-action: auto;
  background: none;
  border: none;
}

.popboxheader .close {
  font-size: 26px;
  line-height: 1;
  position: absolute;
  top: 0px;
  right: 0px;
  color: #656565;
  height: 50px;
  width: 50px;
  padding: 12px;
  cursor: pointer;
  z-index:10001;
}

.popboxheader .close:hover {
  color: #ff0004;
}

.popboxheader .refresh {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  top: 15px;
  left: 7px;
  color: #656565;
}

.popboxheader .refresh:hover {
  color: #0071f9;
}

.popboxheader .close .cross {
  position: relative;  
  border: none;  
  pointer-events: none;
}

.popbox img.popbox_image {
  max-width: 100% !important;
  max-height: calc(100% - 5px) !important;
  height: auto !important;
  width: auto !important;
}

.popbox .content .popbox-loading {
  position: absolute;
  left: 50%;
  top: 50%;
}

.popbox.notifycation-popbox{
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #fff;
  max-width: 410px;
  border-radius: 4px;
  z-index: 10;
}
.popbox.notifycation-popbox .popboxheader{
  background-color: #cbcbcb;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.popbox.notifycation-popbox .close{
  height: 30px;
  width: 30px;
  padding: 6px;
}
.popbox.notifycation-popbox .popboxbody{
  padding: 20px 30px 20px;
}