* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: arial;
}

.modal {
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 16, 16, 0.8);
    position: fixed;
    top: 0;
    z-index: 9999;
    display: block; /* none */
    opacity: 1; /* 0 */
}

.modal.active {
    display: block;
    opacity: 1;
}

.modal .inner_modal {
    max-height: 100vh;
    box-sizing: border-box;
    display: block;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    padding: 0 20px;
    backdrop-filter: blur(8px);
}


/* Hide scrollbar when the content is too long, but keep the functionality */

.modal .inner_modal::-webkit-scrollbar {
    display: none;
}

.modal .modal_body {
    width: 900px;
    max-width: 100%;
    background-color: #FFFFFF;
    display: block;
    margin: 4vh auto;
    text-align: center;
    position: relative;
  	border-radius: 10px;
    z-index: 1;
}
.modal.no-progress-bar .modal_body {
    margin: 8vh auto;
}

.modal .modal_header {
    position: relative;
    width: 100%;
    height: 100px;
    /* background-image: url('images/wallpaper-logo.jpg'); */
  	background-color: #e8e8e8;
    background-size: cover;
  	border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal .modal_header:before {
    content: '';
    /* background-color: #000000; */
    opacity: 0.62;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
}

.modal .modal_header:after {
    content: '';
    background-image: url('images/mr-new-life-logo.png');
    background-repeat: no-repeat;
    background-size: auto 55%;
    background-position: center;
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
}

.modal .modal_content {
  	width: 100%;
  	height: calc(100vh - 300px);
  	overflow-y: scroll;
    overflow-x: hidden;
}

.modal .modal_footer {
  	width: 100%;
  	height: 80px;
    padding: 20px 0px;
    background-color: #e8e8e8;
  	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.modal .btnModal {
  	display: inline-block;
    line-height: 1;
    background-color: #ffb514;
    font-size: 15px;
    font-family: "Montserrat", Sans-serif;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 3px;
    color: #3a3a3a;
    fill: #3a3a3a;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
  	
}
.modal .btnModal:hover {
    color: #FFFFFF;
    background-color: #242424;
}

.modal .modal_content label.field-label {
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .s ease-out;
    -o-transition: all .4 s ease-out;
    transition: all .4s ease-out;
}
.modal .modal_content label.field-label:hover {
    background: #43ae5f;
    color: #FFFFFF;
}

.modal .or-separator {
    display:flex;
    justify-content:center;
    align-items: center;
    color:grey;
}
.modal .or-separator:after,
.modal .or-separator:before {
    content: "";
    display: block;
    background: grey;
    width: 30%;
    height:1px;
    margin: 0 10px;
}

/* Superficial - you can remove these and everything still works */

button.modal_btn {
    display: none;
}

/**
 * ***** Modal Progress *****
 */

/*#aaa: #aaa;
#2EA14C: #545454;
#FF1111: #FF1111;
#FFFFFE: #FFFFFE;*/

.icon {
  display: inline-block;
    width: 1.5em;
    height: 1.5em;
    fill: none;
}

.hidden {
  display: none;
}

.modal-progress {
  display: flex;
  width: 100%;
  position: absolute;
  top: 60px; /* 50% */
  left: 50%;
  transform: translate(-50%,-50%);
  margin: 0 0 0 10%;
}
.step {
  flex-grow: 1;
  position: relative;
}

.step-progress {
  width: 100%;
  height: 0.25em;
  background: #545454;
}
.icon-wrapper {
  text-align: center;
  display: inline-block;
}

.step.done .step-progress:after {
  position: absolute;
  content: '';
  height: 0.25em;
  width: 0;
  background-color: #338c4a;
  animation: growLine 1s linear forwards;
}

.icon-checkmark {
  position: absolute;
  top: -0.60em;
  left: -0.125em;
  border: 0.125em solid #2EA14C;
  background: #FFFFFE;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  padding: 0.125em;
  border-radius: 50%;
  transition: all 0.25s linear;
}
.step.done .icon-checkmark {
  background: #338c4a;
  border-color: #338c4a;
}

.icon-checkmark .path1 {
  stroke: #aaa; 
  stroke-width: 0px;
  stroke-linecap: square;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  fill: empty;
}
.step.done .icon-checkmark .path1 {
  animation: dash 5s linear forwards;
  stroke: #FFFFFF;
  fill: #FFFFFF;
}

.step-text {
  position: relative;
  margin-left: -50%;
  letter-spacing: 1px;
  font-weight: bold;
  color: #aaa;
  margin-top: 0;
  opacity: 0;
}
.step.done .step-text {
  color: #FFFFFF;
  animation: dropText 0.5s linear forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes growLine {
  to {
    width: 100%;
  }
}

@keyframes dropText {
  to {
    padding-top: 1em;
    opacity: 1;
  }
}