dialog {
  display: block;
  border: 0;
}
/* removes scroll when modal is opened */
.no-scroll {
  overflow: hidden;
}
/* overlay covers everything */
.simple-modal-overlay,
.simple-animated-modal-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #fff;
  opacity: .8;
  z-index: 666;
  cursor: pointer;
}
.simple-modal-overlay[data-background-click="disabled"],
.simple-animated-modal-overlay[data-background-click="disabled"] {
  cursor: auto;
}
.simple-animated-modal-overlay  {
  animation: fadewhite ease .5s 1 normal ;
}

@keyframes fadewhite {
  0% {
    opacity: 0;
  }
  100% {
    opacity: .8;
  }
}
/* modal */
.simple-modal,
.simple-animated-modal {
  position: fixed;
  left: 15%;
  top: 5%;
  width: 65%;
  max-height: 98vh;
  border: 0;
  background:#fff;
  z-index:667;
  padding:30px;
  right: auto;
  overflow: auto;
  border-radius: 22px;
  box-shadow: 0 10px 30px 0 #00000014;
}
.simple-modal-close,
.simple-animated-modal-close {
  float: right;
}
.cta--close {
	border-radius: 50%;
	border: 2px solid #c0df5d;
	background: #EAF6DF;
	text-decoration: none;
	color: #000000;
	padding: .7em .9em;
	line-height: 0;
	transition: .3s ease-in-out;
}
p {
    margin: 0 0 1rem;
}
p:empty {
    display: none;
}
.cta--close:hover {
	border-radius: 50%;
	border: 2px solid #c0df5d;
    background: #c0df5d;
    text-decoration: none;
    color: #000000;
    cursor: pointer;
}
.simple-modal-close:before,
.simple-animated-modal-close:before {
    -webkit-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
}
.simple-modal-close:focus, {
  outline: 2px solid  #004869;
}
.simple-modal-close:hover,
.simple-modal-close:active {
    color: #000000;
}

.simple-animated-modal {
  animation: apparition ease .5s 1 normal ;
}

@keyframes apparition {
  0% {
    opacity: 0;
    max-height: 0;
    width: 0;
    left: 50%;
  }
  100% {
    opacity: 1;
    max-height: 100%;
    width: 70%;
    left: 15%;
  }
}

/* it can be easily adapted in media-queries for tablets/mobile */

/* for this example: tablets */
@media (max-width: 1025px) {
  .simple-modal,
  .simple-animated-modal {
    left: 5%;
    top: 5%;
    height: 90%;
    width: 90%;
  }
}

/* for this example: mobile */
@media (max-width: 700px) {
  .simple-modal,
  .simple-animated-modal {
    left: 1%;
    top: 1%;
    width: 98%;
    height: 98%;
  }

}
#js-modal h2, h3, h4, h5, h6 {
    color: #004869;
}
#js-modal h2 {
    margin: 21px 0 14px;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1335;
}

@media (min-width: 700px) {
    #js-modal h2 {
        margin: 11px 0 23px;
        font-size: 3.6rem;
    }
}

@media (min-width: 1025px) {
    #js-modal h2 {
        margin: 14px 0 21px;
        font-size: 5rem;
    }
}

ul {
    padding: 0 0 0 22px;
    list-style: none;
}

@media (min-width: 700px) {
    ul {
        margin: 20px 0;
        padding: 0 0 0 32px;
    }
}

@media (min-width: 700px) and (min-width: 1025px) {
    ul {
        margin: 13px 0;
        padding: 0 0 0 34px;
    }
}

ul li {
    position: relative;
}

.simple-modal__content ul li {
    list-style-type: disc;
}

@media (min-width: 700px) {
    ul li:before {
        left: -10px;
        top: 11px;
    }
}

@media (min-width: 1025px) {
    ul li:before {
        left: -12px;
        top: 10px;
    }
}

ul li:not(:last-child) {
    margin: 0 0 10px;
}

ul ul, ul ol {
    margin: 10px 0;
}

ol {
    list-style: none;
    counter-reset: ordered-list;
    margin: 19px 0;
    padding: 0 0 0 32px;
}

ol.a {
    list-style-type: armenian;
}

ol.b {
    list-style-type: cjk-ideographic;
}

ol.c {
    list-style-type: decimal;
}

ol.d {
    list-style-type: decimal-leading-zero;
}

ol.e {
    list-style-type: georgian;
}

ol.f {
    list-style-type: hebrew;
}

ol.g {
    list-style-type: hiragana;
}

ol.h {
    list-style-type: hiragana-iroha;
}

ol.i {
    list-style-type: katakana;
}

ol.j {
    list-style-type: katakana-iroha;
}

ol.k {
    list-style-type: lower-alpha;
}

ol.l {
    list-style-type: lower-greek;
}

ol.m {
    list-style-type: lower-latin;
}

ol.n {
    list-style-type: lower-roman;
}

ol.o {
    list-style-type: upper-alpha;
}

ol.p {
    list-style-type: upper-latin;
}

ol.q {
    list-style-type: upper-roman;
}

ol.r {
    list-style-type: none;
}

ol.s {
    list-style-type: inherit;
}

@media (min-width: 700px) {
    ol {
        margin: 21px 0;
    }
}

@media (min-width: 1025px) {
    ol {
        margin: 10px 0;
        padding: 0 0 0 41px;
    }
}

ol li:not(:last-child) {
    margin: 0 0 10px;
}

ol > li {
    counter-increment: ordered-list;
    position: relative;
}

ol > li:before {
    content: counter(ordered-list) ".";
    position: absolute;
    min-width: 20px;
    top: 1px;
    right: 100%;
}

ol ol, ol ul {
    margin: 12px 0;
}