#yogiLifeBody {
  background: rgb(214, 255, 184);
  width: 100vw;
  height: auto;
}
/*
#accordion {
  width: 99vw; to be removed
}
*/

#btnAccCardOne,
#btnAccCardTwo,
#btnAccCardThree {
  border: 1px solid #fff;
  border-radius: 7px;
  margin: 0.2rem;
}

#accBtnGrp {
  margin: 0.2rem;
}

@media only screen and (max-width: 575px) and (orientation: portrait) {
  #btnAccCardOne,
  #btnAccCardTwo,
  #btnAccCardThree {
    width: 31%;
    font-size: 0.9rem;
    padding: 0.2rem;
  }
  .imagesDisplay {
    display: flex;
    max-width: 564px; /* new*/
    width: 100%;
  }
  #imagesSmallDisplay1,
  #imagesSmallDisplay2,
  #imagesSmallDisplay3,
  #imagesSmallDisplay4,
  #imagesSmallDisplay5,
  #imagesSmallDisplay6 {
    display: flex;
    max-width: 15%;
    width: 100%;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  #btnAccCardOne,
  #btnAccCardTwo,
  #btnAccCardThree {
    width: 31%;
    font-size: 0.9rem;
    padding: 0.4rem;
  }
  .imagesDisplay {
    display: flex;
    max-width: 757px; /* new*/
    width: 100%;
  }
  #imagesSmallDisplay1,
  #imagesSmallDisplay2,
  #imagesSmallDisplay3,
  #imagesSmallDisplay4,
  #imagesSmallDisplay5,
  #imagesSmallDisplay6 {
    display: flex;
    max-width: 15%;
    width: 100%;
  }
}

@media (min-width: 768px) {
  #btnAccCardOne,
  #btnAccCardTwo,
  #btnAccCardThree {
    width: 31%;
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  .imagesDisplay {
    display: flex;
    max-width: 758px; /* new*/
    width: 100%;
    justify-content: space-between;
  }
  #imagesSmallDisplay1,
  #imagesSmallDisplay2,
  #imagesSmallDisplay3,
  #imagesSmallDisplay4,
  #imagesSmallDisplay5,
  #imagesSmallDisplay6 {
    display: flex;
    max-width: 15%;
    width: 100%;
  }
}

@media (min-width: 992px) {
  #btnAccCardOne,
  #btnAccCardTwo,
  #btnAccCardThree {
    width: 31%;
    font-size: 1rem;
    padding: 0.7rem;
  }
  .imagesDisplay {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
  }
  #imagesSmallDisplay1,
  #imagesSmallDisplay2,
  #imagesSmallDisplay3,
  #imagesSmallDisplay4,
  #imagesSmallDisplay5,
  #imagesSmallDisplay6 {
    display: flex;
    max-width: 158px;
    width: 100%;
    
  }
}

@media (min-width: 1200px) {
  #btnAccCardOne,
  #btnAccCardTwo,
  #btnAccCardThree {
    width: 31%;
    font-size: 1rem;
    padding: 0.7rem;
  }
  .imagesDisplay {
    display: flex;
    justify-content: space-between;
    max-width: 100%; /* new*/
    width: 100%;
  }
  #imagesSmallDisplay1,
  #imagesSmallDisplay2,
  #imagesSmallDisplay3,
  #imagesSmallDisplay4,
  #imagesSmallDisplay5,
  #imagesSmallDisplay6 {
    display: flex;
    max-width: 16%;
    width: 100%;
  }
}

#cardMOne,
#cardMTwo,
#cardMThree {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
  
}

#yogiTeachings,
#yogiImages,
#yogiMoreLife {
  background-color: rgb(255, 201, 100);
  border-radius: 10px;
  margin: 0.2rem;
  padding: 0.5rem;
  border: 1px solid rgb(217, 83, 79);
  font-size: 1rem;
  font-weight: 600;
  color: rgb(204, 0, 0);
}
#cardBodyOne,
#cardBodyTwo,
#cardBodyThree {
  background-color: rgb(255, 255, 230);
  border-radius: 10px;
  border: 1px solid rgb(0, 204, 204);
  margin: 0.2rem;
  padding: 0.5rem;
}

@media only screen and (min-width: 767px) {
  #cardBodyOne {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;    
  }

  #teach1 {
    flex: 1 1 auto;
  }
  #teach2 {
    flex: 1 1 auto;
  }
  #teach3 {
    flex: 1 1 auto;
  }
  #teach4 {
    flex: 1 1 auto;
  }
  #teach5 {
    flex: 1 1 auto;
  }
  #teach6 {
    flex: 1 1 auto;
  }
  /*
  #teach7 {
    
  }
*/
}

#cardBodyThree {
  color: rgb(204, 0, 0);
}

#teach1,
#teach2,
#teach3,
#teach4,
#teach5,
#teach6,
#teach7 {
  padding: 0.3rem;
  margin: 0.2rem;
  border-radius: 10px;
  border: 1px solid rgb(0, 204, 204);
  color: rgb(179, 0, 0);
}

#teach1 {
  background: rgb(184, 214, 255);
}

#teach2 {
  background: rgb(225, 184, 255);
}
#teach3 {
  background: rgb(214, 255, 184);
}

#teach4 {
  background: rgb(255, 225, 184);
}
#teach5 {
  background: rgb(190, 184, 255);
}
#teach6 {
  background: rgb(255, 184, 250);
}
#teach7 {
  background: rgb(214, 159, 255);
}
/*
.card {
  display: flex;
  flex-direction: row;
  flex: 1 1 50px;
}
cardMTwo {
  display: flex;
  flex-direction: row;
  flex: 1 1 50px;
}
cardBodyTwo {
  display: flex;
  flex-direction: row;
}
*/
.imagesDisplay {
  display: flex;
  /*
  max-width: 984px; 
  width: 100%;
  */
}

/*
.firstRow,
.secondRow {
  display: flex;
  flex-wrap: nowrap;
 this should be removed   -- width: 100vw;
}

.imagesDisplay {
   [;max-width: 150px;]; 
}
*/

#imagesSmallDisplay1,
#imagesSmallDisplay2,
#imagesSmallDisplay3,
#imagesSmallDisplay4,
#imagesSmallDisplay5,
#imagesSmallDisplay6 {
  border: 1px solid rgb(0, 204, 204);
  display: flex;

  width: 100%;
  padding: 0.2rem;
  margin: 0.2rem;
  border-radius: 5px;
}

/*Modal css*/
#contentModal {
  width: 80%;
  height: auto;
}

#imagesModalHead {
  border: 1px solid rgb(217, 83, 79);
  background-color: #ffc964;
  color: rgb(204, 0, 0);
}

#imagesModalBody {
  border: 1px solid rgb(217, 83, 79);
  background-color: rgb(255, 255, 230);
  color: rgb(204, 0, 0);
  font-size: 0.9rem;
}

#imagesModalFooter {
  border: 1px solid rgb(217, 83, 79);
  background-color: rgb(255, 255, 204);
  color: rgb(204, 0, 0);
  font-size: 0.9rem;
  justify-content: space-between;
}

#prevImage,
#nextImage,
#closeImage {
  border-radius: 50%;
}

#modalImagePlaceHolder {
  width: 100%;
  height: 100%;
}
