.modal {
  font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-top: 100px;
  overflow-y: auto;
  z-index: 9999;  
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal__container {
  position: relative;
  width: fit-content;
  max-width: 800px;
  margin: auto;
  padding: 40px 30px 30px;
  border-radius: var(--border-radius-regular);
  background-color: var(--white-color);

  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.modal__title {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.modal__close {
  position: absolute;
  top: -20px;
  right: 0;
  background: transparent;
  border: 0;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  color: var(--medium-black-color);
}

.modal__arrows { position: absolute; top: 150px; left: 0; width: 100%; display: flex; justify-content: space-between; }
.modal__arrow { cursor: pointer; font-size: 0.9rem; padding: 10px;}
.modal__arrow:hover,
.modal__arrow:hover * { color: var(--primary-color) }

.modal__header .modal__close:before { content: "\2715"; }

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.modal.micromodal-slide[aria-hidden="false"] {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.modal.micromodal-slide[aria-hidden="true"] {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide.modal {
  will-change: transform;
}

.micromodal-slide.is-open {
  display: flex;
}









.modal {
  /*overflow: hidden;
    overflow-y: auto;*/
}

.modal__overlay {
/*  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;*/
/*  min-height: 100%;*/

/*  padding: 20px;
  overflow: auto;*/
}

.modal__container {
/*  background-color: #fff;
  padding: 30px;*/
/*  max-height: 100vh;*/
/*  border-radius: var(--border-radius-regular);*/
/*  overflow-y: auto;*/
/*  overflow: visible;*/
/*  box-sizing: border-box;*/
/*      width: fit-content;
    margin: 0 auto;
    max-height: 100%;
    overflow-y: scroll;*/
/*  max-width: 600px;*/
  /*min-width: 800px;*/

/*  width: 100%;
  max-width: 800px;
}*/

/*
.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}*/