
html,
body,
form,
.step {
	height: 100%;
	width: 100%;
}

/* html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
} */

body {
  font-family: -apple-system, BlinkMacSystemFont,
    “Segoe UI”, “Roboto”, “Oxygen”, “Ubuntu”, “Cantarell”,
    “Fira Sans”, “Droid Sans”, “Helvetica Neue”,
    sans-serif;
  position: relative;
  background-color: #F7F7F7;
  margin: 0;
}
.wrapper {
  max-width: 600px;
  background-color: #FFFFFF;
  margin: 0 auto;
  box-shadow: rgb(149 157 165 / 20%) 0px -16px 20px 0px;;
  /* height: 100vh; */
  height: 100%;
  min-height: max-content;
  /* position: relative; */
}
.header__container, 
.profile_header_container, 
.navigation, 
.left, 
.right, 
.empty, 
.profile, 
.circle, 
.menu, 
.content_container, 
.message, 
.buttons, 
.button,
.reply,
.search,
.hdr2_container,
.mosaic,
.label,
.input_container,
.btn_container,
.terms_container {
  display: flex;  
}
.step {
  max-width: 600px;
  position: absolute;
  -webkit-transition: transform 3s ease;
	-moz-transition: transform 3s ease;
	-o-transition: transform 3s ease;
	transition: transform 3s ease;
  /* background-repeat: no-repeat;
	background-size: cover; */
}

/* .step[data-effect="turn"] {
	-webkit-transform: rotate3d(0, 1, 0, 90deg);
	-moz-transform: rotate3d(0, 1, 0, 90deg);
	-ms-transform: rotate3d(0, 1, 0, 90deg);
	-o-transform: rotate3d(0, 1, 0, 90deg);
	transform: rotate3d(0, 1, 0, 90deg);
} */
.header__container, .profile_header_container, .hdr2_container {
  border-bottom: 1px solid #EBEBEB;
}
.hdr2_container {
  align-items: center;
}
.header__container p {
  font-size: 22px;
  font-weight: 600;
  margin: 5px auto;
}
.is--hidden {
  visibility: hidden;
}
.header__container img, .hdr2_container img {
  height: 20px;
  width: 20px;
  margin: auto 10px auto 0;
}

#hdr2_logo {
  margin: 5px 0 5px 10px;
  width: 40px;
  height: 40px;
}
.hdr2_container p {
  font-size: 22px;
  font-weight: 600;
  margin: 5px auto;
}
.navigation {
  /* display: flex; */
  justify-content: space-between;
  border-bottom: 1px solid #EBEBEB;
}
.left, .right, .profile {
  /* display: flex; */
  margin: 10px;
}
.navigation img.svg {
  width: 20px;
  height: 20px;
}
.profile_li {
  margin: 0;
  padding: 5px 10px;
}
.empty {
  border-right: 1px solid #EBEBEB;
  margin: 0;
  padding: 10px
}
.profiles {
  border-right: 1px solid #EBEBEB;
}
.circle {
  border-radius: 50px;
  justify-content: center;
  align-items: center;
}

.icon_circle {
  width: 40px;
  height: 40px;
  background-color: #F0F2F6;
  /* border-radius: 50px;
  justify-content: center;
  align-items: center; */
}
.icon_circle img {
  width: 40px;
  height: 40px;
}
.menu {
  width: 40px;
  height: 40px;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
.menu img {
  width: 30px;
  height: 30px;
}
.left .icon_circle {
  margin-right: 7px;
}
.right .icon_circle {
  margin-left: 7px;
}
/* .profile {
  margin: 0;
  padding: 10px;
  border-left: 1px solid #EBEBEB;
} */
.profile_header_container p {
  margin: 0 0 0 10px;
}
.content_container {
  height: calc(100vh - 160px);
  position: relative;
}
.online, .offline {
  max-height: 40px;
  max-width: 40px;
}
.online::after {
  content: '';
  display: inline-block;
  position: relative;
  bottom:20px;
  left: 30px;
  z-index: 2;
  width:10px;
  height: 10px;
  border-radius: 50px;
  background-color: #71BD7C;
}
.name {
  font-size: 18px;
  font-weight: 600;
}
.fine_print {
  font-size: 12px;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.selected {
  padding: 10px;
  background-color: #EAF4FD;
}
.selected img {
  transform: scale(1.3);
}
.selected .online::after {
  bottom: 16px;
  left: 34px;
}
.message {
  padding: 5px 10px;
}
.avatar {
  padding-right: 10px;
  align-self: flex-end;
}
.msg_content {
  max-width: 300px;
  width: 100%;
}
.msg_content img, .msg_bubble {
  width: 100%;
}
.msg_bubble {
  background-color: #E4E6EA;
  border-radius: 10px;
}
.msg_bubble p {
  padding: 10px;
  font-size: 15px;
  line-height: 22px;
  margin: 10px 0 0;
}
#mrg-top-0 {
  margin-top: 0;
}
.buttons {
  justify-content: flex-start;
  /* padding-bottom: 50px; */
}
.button {
  width: 100px;
  height: 100px;
  margin-right: 20px;
  cursor: grab;
}
.button:hover, .step__button:hover {
  transform: scale(1.07);
}
.button img {
  width: 60px;
  height: 50px;
}
.blue {
  background-color: #0083FF;
}
.green {
  background-color: #69AA57;
}
.button.yes {
  background-color: #FF2D7D;
}
.reply {
  max-width: 510px;
  width: 100%;
  height: 50px;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  
}
.icon_mini, .icon_mini img {
  width: 30px;
  height: 30px;
}
.search {
  max-width: 270px;
  width: 100%;
  height: 50px;
  border-radius: 50px;
  background-color: #E2E2E2;
  justify-content: space-between;
  align-items: center;
  color: #989898;
  font-size: 22px;
  padding: 0 15px;
}
/* speach bubble animation */
@keyframes mercuryTypingAnimation {
	0% {
		transform: translateY(0px);
		background-color: #71BD7C; 
	}
	28% {
		transform: translateY(-7px);
		background-color: #9ecab9; 
	}
	44% {
		transform: translateY(0px);
		background-color: #b5d9cb; 
	}
}

.chat-bubble {
	background: #E4E6EA;
	padding: 16px 28px;
	border-radius: 20px;
	border-bottom-left-radius: 2px;
	display: block;
	margin: 20px;

	max-width: 35px;
}
.chat1, .chatb2, .chat2, .chatb3, .chat3 {
	display: none;
}
.typing {
	align-items: center;
	display: flex;
	height: 17px;
}
.typing .dot {
	animation: mercuryTypingAnimation 1.8s infinite ease-in-out;
	background-color: #e4e6ea; 
	border-radius: 50%;
	height: 7px;
	margin-right: 4px;
	vertical-align: middle;
	width: 7px;
	display: inline-block;
}
.typing .dot:nth-child(1) {
	animation-delay: 200ms;
}
.typing .dot:nth-child(2) {
	animation-delay: 300ms;
}
.typing .dot:nth-child(3) {
	animation-delay: 400ms;
}
.typing .dot:last-child {
	margin-right: 0;
}

.mosaic img, .label label, .input_container, .btn_container, .terms_container {
  margin: 1rem auto 0;
  max-width: 19rem;
  text-align: center;
  line-height: 1.4rem;
}
#mini, .results .mosaic img {
  max-width: 9.5rem;
}
h1, h2 {
  margin: 1rem auto 0;
  text-align: center;
  font-weight: 800;
}
h1 {
  font-size: 5.5rem;
  line-height: 5.5rem;
  margin: 0;
}
h2 {
  font-size: 3rem;
  line-height: 3rem;
}
h2.bl, h1 {
  color: #0083FF;
}
h2.rd {
  color: #fc2f6d;
}
.input_container {
  position: relative;
	width: 100%;
	/* margin: 1.5625rem auto 0.625rem; */
	text-align: left;
}
.input_field {
	padding: 0.625rem 2.3rem 0.6875rem 0.875rem;
	width: 100%;
	font-size: 1rem;
	line-height: 2.1rem;
	background-color: #ECECEC;
	border: none;
	border-bottom: 1px solid #fff;
	border-radius: 0.125rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: #000;
}
.input_field:focus {
	outline: none;
}
.step__field__show{
  position: absolute;
  top: 50%;
  right: 0.375rem;
  font-size: 0.642rem;
  background:none;
  border:0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.step__field__show.is--active .step__field__show__eyeon{
display: inline-block;
}

.step__field__show.is--active .step__field__show__eyeoff{
display: none;
}

.step__field__show__eyeon{
display: none;
}
.step__button {
  padding: 0.7rem;
	width: 100%;
	padding-left: 1.15625rem;
	line-height: 2.1rem;
  font-size: 1.2rem;
	border: none;
	border-radius: 0.25rem;
	color: #fff;
	font-weight: 700;
  cursor: grab;
}

.step__button__arrow {
	position: relative;
	height: 1em;
	width: auto;
	top: 0.125em;
	left: 0.4375rem;
}
.terms_container p {
  color: #909090;
  font-size: 10px;
  line-height: 16px;
  margin: 0;
  text-align: justify;
}
.terms_container a {
  color: #909090;
}
.step__field__error {
	position: absolute;
	top: 70%;
	z-index: 10;
	width: 85%;
	margin-top: 0.375rem;
	font-size: 0.625rem;
	font-weight: 600;
	text-align: left;
  color: #ffffff;
	box-shadow: 0 0 1.0625rem 0 rgba(0,0,0,0.37);
	border-radius: 0.4375rem;
	-webkit-transform: translateY(30%);
	transform: translateY(30%);
	/* opacity: 0; */
}
.step__field__error::before {
	content: '';
	position: absolute;
	z-index: -1;
	bottom: 100%;
	left: 0.875rem;
	display: block;
	width: 1.125rem;
	height: 1.875rem;
	background-color: #fc2f6d;
	-webkit-transform: translateY(73%) rotate(45deg);
	transform: translateY(73%) rotate(45deg);
	box-shadow: 0 0 1.0625rem 0 rgba(0,0,0,0.37);
}
.step__field__error p{
	position: relative;
	z-index: 10;
	margin: 0;
	padding: 0.9375rem 1.3125rem 0.6875rem;
	background-color: #fc2f6d;
	border-radius: 0.25rem;
	line-height: 1.6;
}

.step__field__input--error ~ .step__field__error {
	-webkit-animation-name: appear;
	-webkit-animation-duration: 0.3s;
	-webkit-animation-timing-function: ease-out;
	-webkit-animation-fill-mode: forwards;
	animation-name: appear;
	animation-duration: 0.3s;
	animation-timing-function: ease-out;
	animation-fill-mode: forwards;
}
.girl {
  width: 100%;
  height: 100%;
  background-image: url("../assets/img/step6.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.overlay {
  background-color: #000000a1;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.5rem;
  text-align: center;
  border-radius: 0.7rem;
  padding: 1rem;
  max-width: 400px;
  width: 100%;
}
#btns {
  display: flex;
  justify-content: space-evenly;
  margin: 2rem;
}
#btns.button {
  margin: 0;
}
#match-result {
  opacity: 0;
}
#match-result.is--visible {
  opacity: 1;
}
.step__percentage{
  text-align: center;
	position: relative;
  left: 1.5rem;
	line-height: 1;
	font-size: 8.0625rem;
	/* font-family: 'Roboto Condensed', sans-serif; */
	font-weight: 700;
	color: #0083FF;
}
.step__percentage:after{
	content: '%';
	display: inline-block;
	font-size: 3.125rem;
}

/*** Results block ***/
.results_wrapper {
	width: 100%;
	max-width: 20.2rem;
	margin: 0 auto;
}
.results {
	position: relative;
	color: #000;
}

.results__list {
	list-style: none;
	padding: 0;
}

.results__list-single {
	min-height: 3rem;
	/* margin: 0 0 4.5rem; */
}

.results__list-multi {
	max-width: 87%;
	margin: 0 auto 1.5rem;
}

.results__list-single-step {
	margin: 1.2rem 0 0;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
}


.results__list-single-step-big {
	margin-top: 1.5rem;
	font-size: 1.4rem;
	color: #ED4653;
	font-weight: 700;
}

.results__list-multi-step {
    min-height: 1.5rem;
    margin-bottom: .35rem;
    padding-left: 2.15rem;
    padding-top: 0.3125rem;
    text-align: left;
    font-size: 1rem;
    background: url("../assets/svg/check.svg") no-repeat scroll;
    background-size: 1.3em 1.2em;
    background-position: 0 0.4375rem;
}

div[data-finish]{
	max-width: 19.6rem;
    margin: 0 auto;
}

.results__link{
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: 274px;
	margin-left: auto;
    margin-right: auto;
	padding: 0.8rem 1.15625rem;
	font-size: 1rem;
	font-weight: bold;
	line-height: 2.06;
	color: #fff;
	background: #4180FF;
	border: none;
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
}

.results__link .step__button__arrow{
	left: 0.7rem;
}

.results__spinner {
	position: absolute;
	top: 7.65rem;
	left: 0;
	width: 100%;
}

.results__spinner__inner {
	width: calc(100% - 200px);
	color: #9B9B9B;
	padding: 0 6.25rem;
	text-align: center;
}

.results__spinner__inner label {
	font-size: 1.25rem;
	opacity: 0;
	display: inline-block;
}

.results__spinner__inner label:nth-child(6) {
	-webkit-animation: lol 3s infinite ease-in-out;
	animation: lol 3s infinite ease-in-out;
}

.results__spinner__inner label:nth-child(5) {
	-webkit-animation: lol 3s 100ms infinite ease-in-out;
	animation: lol 3s 100ms infinite ease-in-out;
}

.results__spinner__inner label:nth-child(4) {
	-webkit-animation: lol 3s 200ms infinite ease-in-out;
	animation: lol 3s 200ms infinite ease-in-out;
}

.results__spinner__inner label:nth-child(3) {
	-webkit-animation: lol 3s 300ms infinite ease-in-out;
	animation: lol 3s 300ms infinite ease-in-out;
}

.results__spinner__inner label:nth-child(2) {
	-webkit-animation: lol 3s 400ms infinite ease-in-out;
	animation: lol 3s 400ms infinite ease-in-out;
}

.results__spinner__inner label:nth-child(1) {
	-webkit-animation: lol 3s 500ms infinite ease-in-out;
	animation: lol 3s 500ms infinite ease-in-out;
}
footer {
  max-width: 600px;
  z-index: 20;
  background-color: #ffffff;
  border-top: 1px solid #EBEBEB;
  padding: 5px 0;
  position: relative;
  bottom: 0;
}
footer a {
  text-decoration: none;
  font-size: 12px;
  color: #747474;
}
/* media queries */
@media only screen and (max-width: 767px) {
  body {
    min-height: 100vh;
  }
  .wrapper {
    max-width: 100vw;
    /* overflow: scroll; */
  }
  .navigation img.svg {
    width: 15px;
    height: 15px;
  }
  .icon_circle, .icon_circle img, .menu, .online img, .offline img {
    width: 30px;
    height: 30px;
  }
  .menu img, .icon_mini, .icon_mini img {
    width: 20px;
    height: 20px;
  }
  .online, .offline {
    max-width: 30px;
    max-height: 30px;
  }
  .profile_li {
    padding: 3px 6px;
  }
  .profile_li.selected, .empty {
    padding: 6px;
  }
  .empty {
    max-width: 42px;
  }
  .profile_header_container {
    max-height: 42px;
  }
  .profile {
    margin: 6px;
    /* max-height: 42px; */
  }
  .online::after {
    height: 8px;
    width: 8px;
    left: 22px;
  }
  .selected .online::after {
    left: 25px;
  }
  .content_container {
    /* height: 100%; */
    height: calc(100vh - 140px);
  }
  .profiles, .chat {
    overflow-y: scroll;
    height: calc(100vh - 165px);
    /* padding-bottom: 100px; */
    padding-bottom: 20px;
    min-width: 42px;
  }
  .buttons {
    padding-bottom: 40px;
  }
  .profiles::-webkit-scrollbar {
    width: 0;
    background: transparent;
  }
  .name {
    font-size: 16px;
  }
  .fine_print {
    font: 10px;
  }
  /* .msg_content {
    max-width: 220px;
  } */
  .reply {
    position: fixed;
    bottom: 22px;
    left: 0;
    z-index: 2;
    border-top: 1px solid #EBEBEB;
    background-color: #FFFFFF;
    justify-content: space-around;
    padding: 0;
  }
  .search {
    height: 35px;
    max-width: 170px;
    font-size: 18px;
  }
  .button {
    height: 80px;
    width: 80px;
  }
  .button img {
    height: 40px;
    width: 50px;
  }
  .overlay {
    max-width: 300px;
  }
  footer {
    position: fixed;
    bottom: 0;
    padding: 0 0 3px;
  }
  footer a {
    font-size: 10px;
  }
}
@media only screen and (max-width: 330px) {
  /* .step {
    padding-bottom: 45px;
  } */
  .msg_content {
    max-width: 220px;
  }
  .overlay {
    max-width: 280px;
  }
}
@media only screen and (min-width: 767px) {
  .profiles {
    padding-bottom: 70px;
  }
  .chat {
    overflow: scroll;
    margin-bottom: 70px;
  }
  .reply {
    padding: 10px 15px;
    bottom: 0;
    border-top: 1px solid #EBEBEB;
  }
}
/* 
@media only screen and (max-width: 767px) and (orientation: landscape) {
  
  .step, .reply, footer {
    max-width: 100vw;
  }  
} */

/* 
@media only screen and (min-width: 767px) and (orientation: landscape){
  .reply {
    background-color: #fff;
    z-index: 6;
    position: absolute;
    left: 0;
    max-width: 570px;
    width: 100%;
  }
  @supports (-webkit-touch-callout: none) {
    CSS specific to iOS devices 
    footer {
      position: relative;
      max-width: 600px;
      bottom: -50px;
    }
  }
  @supports not (-webkit-touch-callout: none) {
    CSS for other than iOS devices 
    footer {
      position: relative;
      max-width: 600px;
      bottom: -50px;
    }
  }
} */


/* 
@media only screen and (orientation: landscape) {
  .wrapper {
    padding-bottom: 30px;
  }
  .profiles {
    overflow: scroll !important;
  }
  .buttons {
    padding-bottom: 70px;
  }  
}
 */

 /* @media screen and (min-width: 320px) and (max-width: 825px) and (orientation: landscape) {
   body {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
   }
   .profiles, .chat {
    overflow-x: scroll;
    height: calc(100vw - 165px);

   }
 } */

#turn {
  display: none;
  color: white;
  font-weight: 700;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  text-align: center;
  top: 40%;  
  position: inherit;
} 
#turn img {
  width: 60px;
}
/* (A) WRONG ORIENTATION - SHOW MESSAGE HIDE CONTENT */
@media only screen and (max-width: 825px) and (orientation:landscape) {
  body {
    background: rgb(2,117,255);
    background: linear-gradient(210deg, rgba(2,117,255,1) 20%, rgba(254,18,203,1) 65%, rgba(255,50,110,1) 90%);
    min-height: unset;
    max-height: 100vw;
  }

  #turn { display:block !important; }
  .wrapper { display:none; }
  footer { display: none;}
}
 
/* (B) CORRECT ORIENTATION - SHOW CONTENT HIDE MESSAGE */
@media only screen and (orientation:portrait) {
  #turn { display:none; }
  .wrapper { display:block; }
  footer {display: block;}
}