﻿#masthead {
  z-index: 0;
}

.iframe-body {
  background-color: #fff;
  overflow: hidden; }

.ezi-modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.2); }

.ezi-modal {
  position: absolute;
  top: 50px;
  left: 4rem;
  right: 4rem;
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  z-index: 200; }

.ezi-modal-header {
  padding: 15px;
  background-color: #4EB0E6;
  min-height: 45px;
  padding-left: 0.9rem;
  padding-right: 0.9rem; }
.ezi-modal-header > .ezi-modal-logo {
  background-image: url(../images/ezipay.svg);
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  height: 36px;
  margin: 2px 5px; }

.ezi-modal-body {
  background-color: #fff;
  -webkit-box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 5px 15px 3px rgba(0, 0, 0, 0.1); }
.ezi-modal-body iframe {
  display: block;
  margin: 0 auto;
  width: 450px;
  border: none; }
.ezi-modal-body > div {
  position: absolute;
  width: 450px;
  border: none; }
.ezi-modal-body .ezi-modal-iframe {
  z-index: 101; }
.ezi-modal-body .ezi-modal-splash {
  z-index: 102;
  height: 496px;
  background-color: #fff; }
.ezi-modal-body .ezi-modal-splash.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut; }
.ezi-modal-body .ezi-modal-splash.animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both; }

.ezi-modal-splash .splash {
  height: 100%;
  width: 100%;
  z-index: 1050;
  position: relative;
  left: 0px;
  top: 50px; }
.ezi-modal-splash .splash .fa-spin {
  color: #FA8B23; }
.ezi-modal-splash .splash h2 {
  color: #444; }

.ezi-modal-splash .splashText {
  color: #FA8B23;
  margin-top: 40px;
  text-align: center; }

.ezi-modal-splash .splashFrame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5%; }

.ezi-modal-splash .splashGraphic {
  position: relative;
  margin: 0 auto;
  width: 100px; }
.ezi-modal-splash .splashGraphic:before {
  content: '';
  display: block;
  padding-top: 100%; }

.ezi-modal-splash .circular {
  animation: rotate 1s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto; }

.ezi-modal-splash .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round; }

@media screen and (max-width: 650px) {
  .ezi-modal, .ezi-modal-splash, .ezi-modal-iframe, .ezipay-iframe, .ezi-modal-body iframe {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important; } }

@keyframes rotate {
  100% {
    transform: rotate(360deg); } }

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0; }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px; }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px; } }

@keyframes color {
  100%,
  0% {
    stroke: #FA8B23; } }

@-webkit-keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }

@keyframes fadeOut {
  from {
    opacity: 1; }
  to {
    opacity: 0; } }

