
 /* custom */
 .content-card {
    background: #fff;
    width: 70vw;
    max-width: 700px;
    margin: 4em auto;
    padding: 2em;
    border-radius: 10px;
    font-size: 1.1em;
    color: rgba(0, 0, 0, 0.67);
    line-height: 1.6;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  }
  @media (max-width: 450px) {
    .content-card {
      width: 100%;
      border-radius: 0px;
      box-shadow: none;
    }
  }
  .hov:hover {
    background-color: rgba(0,0,0,0.1);
  }
  .content-card h2 {
    margin: 0;
    display: inline-block;
  }
  .content-card h2:after {
    content: "";
    display: block;
    height: 3px;
    width: 40%;
    background: #DD2E44;
    position: relative;
    bottom: -0.2em;
  }
  /* custom end */
  /*extra*/
/*
input:not(:placeholder-shown):invalid {
    background-color: pink;
  }
form:invalid button {
    background-color: salmon;
    pointer-events: none;
}

*/

body {
  min-width: 800px;
}
.btn, .btn-large, .btn-small, .btn-flat {
  text-transform: none !important;
  font-family: Roboto, 'Segoe UI', Tahoma, sans-serif !important;
  font-weight: 500 !important;

}

nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
    height: 56px !important;
    line-height: 56px !important;
    min-height: 56px !important;

}

nav {
  height: 56px !important;
  line-height: 56px !important;

}

@media only screen and (min-width: 601px)
nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
    height: 56px !important;
    line-height: 56px !important
    min-height: 56px !important;
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
  top: 5px !important;
}
[type="checkbox"].filled-in:checked+span:not(.lever):after {
  top: 5px !important;
}

/* Class or Id doesn't matter */
.dynamic-badge {
  position:relative;
}

.dynamic-badge[data-badge]:after {
  content:attr(data-badge);

  position:absolute;
  top: 8px;
  right: -2px;
  font-size:11px;
  font-family:"Roboto","Helvetica","Arial",sans-serif;
  font-weight:600;

  z-index: 1;
  text-align:center;
  line-height:23px;

  background:#ff4081;
  color:white;

  width:22px;
  height:22px;

  border-radius:50%;
  /* box-shadow:1px 2px 5px #888; */
}
/*extra end*/
/* extras */
.in-progress{
  font-style: normal;
  font-weight: bold;
}
.in-progress i.secondary-content{
  font-style: normal;
  font-weight: bold !important;
}

body {
  overflow-y: scroll; /* Show vertical scrollbar */
}

.warn {
  background-color: #f44336;
}
.warn:hover {
  background-color: #e03024 !important;
}

.error {
  color: #f44336;
}

.main-menu a::before {
  content: "|";
  position: relative;
  top: 0;
  left: -17px;
  color: black;
  width: 22px;
  height: 22px;
  }
.main-menu li:first-child a::before {
  display: none;
  }
/* extras end */
/* progress */
.progress-bar {
  border: 2px solid #3cafe2;
  padding-left:0 !important;
  margin-left: 0.75rem !important;

  padding-right: 0 !important;

}
.progress-bar > div {
  color: white;
    background: #3cafe2;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;

}

@keyframes progress-bar {
    0% {
         width: 0;
    }
}

/* progress end */
/* rating */
.rating {
  position: relative !important;
  height: 30px  !important;
  line-height: 30px  !important;
  font-size: 30px  !important;
}

.rating label {
  position: absolute  !important;
  top: 0  !important;
  left: 0  !important;
  height: 100%  !important;
  cursor: pointer  !important;
}

.rating label:last-child {
  position: static  !important;
}

.rating label:nth-child(1) {
  z-index: 5;
}

.rating label:nth-child(2) {
  z-index: 4;
}

.rating label:nth-child(3) {
  z-index: 3;
}

.rating label:nth-child(4) {
  z-index: 2;
}

.rating label:nth-child(5) {
  z-index: 1;
}

.rating label input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  opacity: 0 !important;
}

.rating .icon::before {
  position: absolute !important;
  content: '';
  top: 0 !important;
  left: 0 !important;
  opacity: 0 !important;
  margin: 0px;
  width: 0px;
  height: 0px;
  z-index: 0;
}

.rating label .icon {
  float: left;
  color: transparent;
  font-style: normal;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 30px !important;
}

.rating label:last-child .icon {
  color: #000;
}

.rating:not(:hover) label input:checked ~ .icon,
.rating:hover label:hover input ~ .icon {
  color: #ffc107;
}

.rating label input:focus:not(:checked) ~ .icon:last-child {
  color: #000;
  text-shadow: 0 0 5px #ffc107;
}

.rated {
  color: #ffc107;
  font-style: normal;

}

.rated.empty {
  color:black;
}
.rated.half {
  color: black;
}
.rated.half:after {
  content:'\2605';
  color: #ffc107;
  position: absolute;
  margin-left: -14px;
  width: 6px;
  overflow: hidden;
}
/* rating end */
/* imessage */
.imessage {
  background-color: #fff;/*
  border: 1px solid #e5e5ea;
  border-radius: 0.25rem;*/
  display: flex;
  flex-direction: column;
  font-family: "SanFrancisco";
  font-size: 1.25rem;
  /*
  margin: 0 auto 1rem;
  max-width: 600px;
  padding: 0.5rem 1.5rem;*/
}

.imessage p {
  border-radius: 1.15rem;
  line-height: 1.25;
  max-width: 100%;
  padding: 0.5rem .875rem;
  position: relative;
  word-wrap: break-word;
}
.imessage > div > span.timestamp{
  display: none;
}
.imessage > div:hover > span.timestamp{
  display: block;
  text-align: right;
}


.imessage p::before,
.imessage p::after {
  bottom: -0.1rem;
  content: "";
  height: 1rem;
  position: absolute;
}

.from-me p {
  background-color: #248bf5;
  color: #fff;
}
.message-wrapper {
  display: flex;

}
.from-me .message-wrapper {
  justify-content: end;
}
.from-me p::before {
  border-bottom-left-radius: 0.8rem 0.7rem;
  border-right: 1rem solid #248bf5;
  right: -0.35rem;
  transform: translate(0, -0.1rem);
}

.from-me p::after {
  background-color: #fff;
  border-bottom-left-radius: 0.5rem;
  right: -40px;
  transform:translate(-30px, -2px);
  width: 10px;
}

[class^="from-"]  p{
  margin: 0.5rem 0;
  width: fit-content;
}
.from-me {
  align-self: flex-end;
}
.from-me ~ .from-me {
  margin: 0.25rem 0 0;
}

.from-me ~ .from-me:not(:last-child) {
  margin: 0.25rem 0 0;
}

.from-me ~ .from-me:last-child {
  margin-bottom: 0.5rem;
}


.from-them p {
  align-items: flex-start;
  background-color: #e5e5ea;
  color: #000;
}

.from-them p:before {
  border-bottom-right-radius: 0.8rem 0.7rem;
  border-left: 1rem solid #e5e5ea;
  left: -0.35rem;
  transform: translate(0, -0.1rem);
}

.from-them p::after {
  background-color: #fff;
  border-bottom-right-radius: 0.5rem;
  left: 20px;
  transform: translate(-30px, -2px);
  width: 10px;
}

.no-tail> .message-wrapper p::before {
  display: none;
}




.scrollbottom {
  height: 100px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column-reverse;
}









/* general styling */
@font-face {
  font-family: "SanFrancisco";
  src:
    url("/woff/messenger.woff2") format("woff2"),
    url("/woff/messenger.woff") format("woff");
}

.body {
  font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  font-weight: normal;
  margin: 0;
}

.icontainer {
  margin: 0 auto;
  max-width: 600px;
  padding: 1rem;
}

@media screen and (max-width: 800px) {

  .icontainer {
    padding: 0.5rem;
  }

  .imessage {
    font-size: 1.05rem;
    margin: 0 auto 1rem;
    max-width: 600px;
    padding: 0.25rem 0.875rem;

  }


  .imessage p {
    margin: 0.5rem 0;
  }
}
/*imessage end */