/*--------------------------------------------------------------
# Protein-O-Meter Page
--------------------------------------------------------------*/

#protein-o-meter #hero protein-footer {
  position: absolute;
  left: 0;
  margin-left: 5%;
  margin-right: 5%;
  bottom: 0;
  color: #fff;
  font-size: 8px;
  margin-bottom: 20px;
}

#protein-o-meter .questions p.protein-footer {
  width: 100%;
  font-size: 8px !important;
  padding-right: 10%;
  line-height: 1.5 !important;
  margin-bottom: 0;
  padding-bottom: 20px;
  color: #2a774c;
}

/* protein day  page*/
.protein-day-bgImage{
  background-image: url(../img/protein-index/banner.png);
  height: 100%;
  width: 100%;
  color: white;
  padding: 3rem;
  padding-left: 6rem;
  background-size: cover;
}

.protein-day-bgImage button{
  font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 16px 32px;
    border-radius: 25px;
    transition: 0.5s;
    line-height: 1;
    margin: 10px;
    
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    width: fit-content;
    border: 0;
    background: #C4FF37;
    }
.protein-day-bgImage button a{
  color: #2A774C;
}

.protein-dayBannerContent{
  width: 50%;
  /* text-align: left; */
  }

.protein-dayBottomInfo{
  padding-top: 1%;
 font-size: 10px;
 }

@media (max-width:768px) {
  .protein-dayBannerContent{
    width: 100%;
  }

  .protein-day-bgImage{
    text-align: center;
    padding-left: 4rem;
  }
}


@media (max-width:426px) {
  #protein-o-meter #hero protein-footer {
    position: absolute;
    left: 0;
    margin-left: 5%;
    margin-right: 5%;
    bottom: -9px;
    color: #fff;
    font-size: 8px;
    margin-bottom: 20px;
  }
  #protein-o-meter .btn-get-started {
    font-size: 15px;
    margin-right: 0;
  }
  #protein-o-meter .carousel-content {
    margin-left: 0 !important;
  }
  #protein-o-meter .btn-container {
    display: flex;
    justify-content: center;
  }

  /* protein day page */
  .protein-day-bgImage{
    padding-left: 2rem;
  }
}
@media (min-width: 1440px) {

  .protein-day-bgImage button{
    
      margin-left: 5%;
  }
  .protein-dayBannerContent{
    margin-left: 5%;
  }
  
  .protein-dayBottomInfo{
   margin-left: 5%;
  }
}

@media (max-width:375px) {
  #protein-o-meter #hero {
    height: 100vh !important;
  }
  #protein-o-meter .carousel-item {
    height: 100vh !important;
  }
  #protein-o-meter .carousel-item .carousel-content {
    margin-top: -50px;
  }
}

@media (max-width:320px) {
  #protein-o-meter #hero protein-footer {
    position: absolute;
    left: 0;
    margin-left: 5%;
    margin-right: 5%;
    bottom: 0;
    color: #fff;
    font-size: 8px;
    margin-bottom: 20px;
  }
  #protein-o-meter #hero {
    height: 110vh !important;
  }
  #protein-o-meter .carousel-item {
    height: 110vh !important;
  }
  #protein-o-meter .carousel-item .carousel-content {
    margin-top: -100px;
  }
}

/*--------
Questions
---------*/

#protein-o-meter .questions {
  background-color: #e6f2d3;
}

#protein-o-meter #hero h1 {
  font-size: 44px;
  font-weight: 600;
}

#protein-o-meter #hero .btn-get-started {
  margin-left: 0;
}

#protein-o-meter .question-widget {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 426px) {
  #protein-o-meter .question-widget {
    padding-top: 100px !important;
  }
  #protein-o-meter .activity {
    border-right: none !important;
  }
  #protein-o-meter #q7-btn, #protein-o-meter #q11-btn {
    font-size: 20px;
  }
  #protein-o-meter .questions h1 {
    font-size: 32px !important;
    line-height: 36px !important;
  }
  #protein-o-meter .questions p {
    font-weight: 400 !important;
    font-size: 18px !important;
  }
  #protein-o-meter .questions .questions-img-container {
    display: flex;
    justify-content: center;
  }
  #protein-o-meter .questions .questions-img-container h3 {
    font-size: 18px;
    font-weight: 400;
  }
  #protein-o-meter .questions .questions-img {
    max-height: 80px;
    object-fit: contain;
  }
  #protein-o-meter .questions button {
    font-size: 12px !important;
  }
  #protein-o-meter .questions .keyboard-desc {
    display: none;
  }
}

#protein-o-meter .questions h2 {
  font-style: normal;
  font-weight: bold;
  font-size: 29px;
  line-height: 48px;
  margin-bottom: 20px;
}

#protein-o-meter .questions input {
  color: rgba(42, 119, 76, 0.4);
  border: none;
  border-bottom: 2px solid #2a774c;
  background-color: #e6f2d3;
  font-weight: 600;
  font-style: normal;
  font-size: 27px;
}

#protein-o-meter .questions input:focus {
  outline: none;
  background-color: #e6f2d3;
}

#protein-o-meter .questions ::placeholder {
  color: rgba(42, 119, 76, 0.4);
}

#protein-o-meter .questions .emphasis {
  color: #2a774c;
}

#protein-o-meter .questions .question-header {
  margin-bottom: 116px;
}

#protein-o-meter .questions button {
  font-size: 15px;
  border-radius: 32px;
}

#protein-o-meter .questions .questions-img {
  max-height: 100px;
  object-fit: contain;
}

#protein-o-meter .questions .questions-img-container h3 {
  font-size: 24px;
}

#protein-o-meter .questions p {
  font-style: normal;
  font-weight: 600;
  font-size: 27px;
  line-height: 40px;
}

/*-----------
  Consumption
  ------------*/

#protein-o-meter .consumption {
  background-color: #fff4bb;
}

#protein-o-meter .question-widget {
  padding-top: 100px;
  padding-bottom: 100px;
}

#protein-o-meter .consumption h2 {
  font-weight: bold;
  font-size: 29px;
  line-height: 48px;
  color: #4d1600;
  margin-bottom: 20px;
}

#protein-o-meter .consumption input {
  color: rgba(77, 22, 0, 0.5);
  border: none;
  border-bottom: 2px solid #4d1600;
  background-color: #fff4bb;
  font-weight: 600;
  font-size: 27px;
}

#protein-o-meter .consumption input:focus {
  outline: none;
  background-color: #fff4bb;
}

#protein-o-meter .consumption input::placeholder {
  color: rgba(77, 22, 0, 0.5);
}

#protein-o-meter .consumption .selected-food-item {
  color: #2A774C;
  border: none;
  background-color: #fff;
  font-weight: 400;
  font-size: 18px;
  border: none;
  outline: none;
  border-radius: 10px;
}

#protein-o-meter .consumption .selected-food-item:focus {
  outline: none;
  background-color: #fff;
}

#protein-o-meter .consumption .selected-food-item::placeholder {
  color: #2A774C;
}

#protein-o-meter .consumption .selected-food-items-list img {
  height: 70%;
  cursor: pointer;
}

#protein-o-meter .consumption .selected-food-items-list .quantity {
  background-color: #fff;
  border-radius: 10px;
}

@media (max-width: 320px) {
  #protein-o-meter .consumption .selected-food-items-list .quantity {
    padding-left: 3px;
    padding-right: 3px;
  }
}

#protein-o-meter .consumption .selected-food-items-list select {
  width: 180px;
}

#protein-o-meter .consumption .selected-food-items-list button.minus {
  border-radius: 50%;
  margin: 0;
  background-color: #BABABA;
  height: 30px !important;
  width: 30px !important;
  font-size: 20px;
  padding: 0;
}

#protein-o-meter .consumption .selected-food-items-list button.plus {
  border-radius: 50%;
  margin: 0;
  background-color: #5AD314;
  height: 30px !important;
  width: 30px !important;
  font-size: 20px;
  padding: 0;
}

#protein-o-meter .consumption .question-header {
  margin-bottom: 116px;
}

#protein-o-meter .consumption .question-header .selected-food-items-list {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

#protein-o-meter .consumption button {
  font-size: 15px;
  border-radius: 32px;
}

#protein-o-meter .consumption p {
  font-style: normal;
  font-weight: 600;
  font-size: 27px;
  line-height: 40px;
}

#protein-o-meter .activity {
  border-right: 2px dotted #2a774c;
}

#protein-o-meter .questions .custom-btn:hover {
  border: 0;
  background: transparent;
  /* background-color: #cbdfd4; */
  cursor: pointer;
}

#protein-o-meter .questions .custom-btn.selected {
  border: 0;
  background: transparent;
  background-color: #cbdfd4;
  cursor: pointer;
}

#protein-o-meter .questions #policy {
  font-size: 10px;
  font-weight: normal;
  color: #000;
  padding: 40px 0;
  line-height: 1rem;
}

#protein-o-meter #protein-answer {
  background-color: #d3f29b;
}

#protein-o-meter #protein-score {
  font-size: 7rem;
}

#protein-o-meter #protein-score p {
  font-size: 7rem;
  font-weight: 700;
  padding-top: 25%;
  padding-bottom: 25%;
  position: relative;
  color: #2a774c;
}

#protein-o-meter #protein-score .protein-result-div {
  border-radius: 50%;
  border: 3px dashed #2a774c;
  height: 250px;
  width: 250px;
}

#protein-o-meter #protein-check {
  background-color: white;
  color: #2a774c;
}

@media (max-width: 768px) {
  #protein-o-meter #protein-check h1 {
    text-align: center;
  }
}

/*--------
Autocomplete
---------*/

.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 15px;
  right: 0;
  width: 65%;
  max-height: 200px;
  overflow-y: scroll;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: rgba(77, 22, 0, 0.8);
  color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/

.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/

.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.selected-food-item {
  background-color: #fff;
  color: #2a774c;
  padding: 10px 20px;
}

.showTooltip {
  position: relative;
  width: auto;
  overflow: visible;
  display: inline-block;
}

.showTooltip .fa {
  font-size: 2rem;
  margin-left: 10px;
}

.showTooltip .tooltip {
  display: none;
  background: #FFF;
  position: absolute;
  width: 210px;
  bottom: 38px;
  padding: 10px;
  box-shadow: -1px 2px 20px #ccc;
  border-radius: 5px;
}

.showTooltip:hover .tooltip {
  display: block;
}

.showTooltip .tooltip ul {
  margin: 0;
}

.tooltip.portions-tooltip::after {
  border-top: 10px solid #FFF;
  content: " ";
  position: absolute;
  width: 10px;
  left: 7px;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  bottom: -10px;
}

.showTooltip .tooltip ul li {
  list-style: none;
  font-size: 1.2rem;
}

.showTooltip .tooltip ul li span {
  float: right;
}

.disclaimer, .disclaimer * {
  font-size: 1.2rem;
}

#protein-report-card-downloadable {
  background-color: #F7FAED;
  font-family: 'Poppins';
}

#protein-report-card {
  border: 2px dashed #789600;
  padding: 20px;
}

#protein-report-card .user-info p {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  margin: 0 8px;
  text-align: left;
  line-height: 2;
}

#protein-report-card .user-info h4 {
  color: #fff;
  margin-top: 10px;
  font-weight: bold;
  font-size: 20px;
}

#protein-report-card #user-details {
  background-color: #647d00;
  width: 96%;
  height: 60px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  margin: 0 2%;
}

#protein-report-card #logo {
  height: 100px;
  float: left;
  margin-left: -52px;
  margin-top: -42px;
}

#protein-report-card #table-img {
  width: 300px;
  margin-right: 50px;
  margin-top: -42px;
  float: right;
}

#protein-report-card .user-title {
  background: #647d00;
  width: 60%;
  margin: 0 2%;
  border-top-right-radius: 15px;
  border-top-left-radius: 15px;
  display: inline-block;
}

#protein-report-card .user-title h3 {
  color: #fff;
  padding-left: 2%;
  padding-top: 10px;
  font-weight: 600;
}

#protein-report-card .user-info {
  height: 100%;
  width: 20%;
  float: left;
  padding: 5px 10px 20px 10px;
}

#protein-report-card .user-info b {
  color: #fff;
}

#protein-report-card .table-container {
  min-height: 150px;
  border: 3px solid #9DAB00;
  width: 48%;
  margin: 1%;
  border-radius: 25px;
  padding: 5px;
  float: left;
}

#protein-report-card .table-container .table-text-right {
  margin: 10px 0px 8px 0;
  text-align: center;
}

#protein-report-card .table-container .table-text-left {
  margin: 10px 0 8px 30px;
  text-align: left;
}

#protein-report-card .table-container .table-col {
  height: 65px;
  border-bottom: 3px solid #9dab00;
  display: inline-block;
  width: 99%;
}

#protein-report-card .table-container .table-row {
  float: left;
  width: 50%;
}

#protein-report-card .image-container {
  justify-content: space-around;
  padding: 25px 0;
}

#protein-report-card .image-container img {
  height: 175px;
}

#loading {
  width: 100vw;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  display: block;
  opacity: 0.7;
  background-color: #fff;
  z-index: 99;
  text-align: center;
}

#loading-image {
  position: relative;
  top: 100px;
  z-index: 100;
}

#report-modal .modal-body {
  padding-left: 100px;
  padding-right: 100px;
}

@media (max-width:768px) {
  #report-modal .modal-body {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

@media (max-width:426px) {
  #loading-image {
    margin-left: -100px;
  }
  #report-modal .modal-body {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 375px) {
  #protein-o-meter #hero protein-footer {
    position: absolute;
    left: 0;
    margin-left: 5%;
    margin-right: 5%;
    bottom: -9px;
    color: #fff;
    font-size: 8px;
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  #hero .carousel-container .carousel-content.container {
    padding: 0 22px;
    margin-bottom: 113px;
    padding-top: 15px;
  }
}

@media (max-width: 426px) {
  #hero .carousel-container .carousel-content.container {
    padding: 0 22px;
    margin-bottom: 0;
    padding-top: 0;
  }
}

@media (max-width: 376px) {
  #hero .carousel-container .carousel-content.container {
    padding: 0 22px;
    margin-bottom: 113px;
    padding-top: 15px;
  }
}

@media (max-width: 320px) {
  #hero .carousel-container .carousel-content.container {
    padding: 0 22px;
    margin-bottom: 0;
    /* padding-top: 15px; */
  }
}
