
body,
html { -ms-overflow-style: none !important; }

.modalica-modal {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  position: absolute;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.modalica-modal * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.modalica-modal.active {
  -moz-transform: translateX(0%);
  -ms-transform: translateX(0%);
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.modalica-modal .modalica--wrapper {
  max-width: 960px;
  margin: 0 auto;
  margin-top: 2em;
  padding: 1.5em;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  color: #a8bbdf !important;
}

.modalica-modal .modalica--close {
  width: 26px;
  cursor: pointer;
  height: 26px;
  background-color: #f06d55;
  text-align: center;
  display: inline-block;
  font-size: 12px;
  line-height: 26px;
  font-family: Arial, Helvetica, sans-serif;
  color: #FFF;
  position: relative;
  border-radius: 50px;
  margin-bottom: 2em;
}

.modalica-modal .modalica--close:after {
  opacity: 0;
  content: "Close";
  position: absolute;
  background-color: #f28571;
  left: 0;
  padding-left: 34px;
  padding-right: 14px;
  font-style: italic;
  z-index: -1;
  top: 0;
  height: 26px;
  border-radius: 50px;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.modalica-modal .modalica--close:hover:after { opacity: 1; }

.modalica-modal .modalica--content {
  display: block !important;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modalica-modal .modalica--content img,
.modalica-modal .modalica--content embed {
  max-width: 100%;
  height: auto;
}

.modalica--content { display: none; }

body:after {
  content: "";
  background-color: #253d5b;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

body.modalica-active:after {
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
}
