html {
  scroll-behavior: smooth;
}
header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/https/commonhelp.virginia.gov/access/PA/hero_images/multi_ethnic_group_GettyImages-1165216191.jpg");
  background-size: cover;
  color: white;
  margin-right: -10px;
  display:flex;
  flex-direction: column;
}
body {
  overflow-x: hidden;
}
h5 a {
  color: white;
}
h5 a:hover {
  color: white;
}
footer {
  padding: 10px 10px 0px 10px;
}
footer img {
  opacity: 0.8;
}
footer img:hover {
  opacity: 1;
}

/* back to top styling */
#myBtn {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  background-color: transparent;
}

#myBtn:hover {
  background-color: #e2e2e2;
}
@media screen and (max-width: 575px) {
  #myBtn {
    right: 10px;
    bottom: 90px;
  }
  #myBtn img {
    width: 50%;
  }
  #myBtn:hover {
    background-color: rgba(226, 226, 226, 0.5);
  }
}

.health-care {
  background-color: #0b6396;
  color: white;
  height: 360px;
  text-align: center;
  cursor: pointer;
}
.benefit-programs {
  background-color: #d01e26;
  color: white;
  height: 360px;
  text-align: center;
  cursor: pointer;
}
.espanol {
  background-color: #5c5d5f;
  color: white;
  height: 360px;
  text-align: center;
  cursor: pointer;
}
.card-body {
  min-height: 150px;
}
h2 {
  font-weight: 400;
}
.blue {
  color: #0b6396;
}
.red {
  color: #d01e26;
}
.background-red {
  background-color: #d01e26;
  color: white;
}
.grey {
  color: #5c5d5f;
}
.related-resources {
  background-color: #f8f8f6;
  text-align: center;
  min-height: 180px;
  flex-direction: column;
  padding: 20px 0px;
}

.related-resources img {
  cursor: pointer;
  margin-top: 5px;
}
.related {
  display: flex;
  margin: 0px 20px;
  justify-content: center;
  margin: 10px;
  flex-wrap: wrap;
}
.hero-text {
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 500px;
  align-content: center;
}
.buttons {
  margin-top: 50px;
}
.btn-2 {
  background-color: #eee;
  color: black;
  margin-left: 20px;
}
.btn {
  border-radius: 10px;
  vertical-align: unset;
}
.btn-help {
  background-color: #fff;
  border: 2px solid #d01e26;
  color: #d01e26;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.btn-help:hover {
  color: white;
  background-color: #d01e26;
}
button.btn.btn-2.btn-lg:hover {
  background-color: #6f6f6f;
  color: white;
}
.about-benefits {
  margin-top: 25px;
  border: 3px solid #f8f8f6;
  border-radius: 10px;
  min-height: 250px;
}
.about-benefits .upper-text {
  padding: 15px;
}
.about-benefits .upper-text h2 {
  font-weight: 700;
}
.partner-agencies {
  background-color: #212121;
  min-height: 250px;
  color: #d8d8cf;
  text-align: center;
}
.partner-agencies img {
  margin-top: 20px;
  opacity: 0.8;
}
.partner-agencies img:hover {
  opacity: 1;
}
.partner-agencies a:hover {
  text-decoration: none;
}
.about-benefits-text {
  border-top: 5px solid #d01e26;
}
.about-benefits-text h4 {
  color: #0b6396;
}
.icons {
  float: right;
  width: 65%;
}

.mt-neg10 {
  margin-top: -10px;
}

.mt-neg20 {
  margin-top: -20px;
}
.mt-neg30 {
  margin-top: -30px;
}
.flip-heading {
  text-align: left;
  margin-left: 50px;
  font-size: 2.25rem;
}
.flip-topic {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.25;
}
.need-assistance {
  font-size: 1.25rem;
  margin-bottom: 0px;
}
.flip-ul {
  text-align: left;
  padding-left: 200px;
  font-size: 1.5rem;
  margin-bottom: 0px;
}

.emergency-callout {
  position: absolute;
  /* right: 25px;
  top: 70px; */
  border: 1px solid #ebdb34;
  border-radius: 10px;
  align-self: flex-end;
  margin-top: 30px;
  margin-right: 30px;
  
}
.emergency-callout:hover {
  color: transparent;
  text-decoration: none;
}

.emergency-callout p {
  padding: 10px;
  margin: 0;
  font-size: 1.25rem;
  color: #ebdb34;
  max-width: 465px;
}
.emergency-callout a {
  color: #ebdb34;
}
.covid-callout {
  /* cursor: pointer; Use this if the section is a link. */
  border: 1px solid white;
  border-radius: 10px;
  align-self: flex-end;
  margin-bottom: 30px;
  margin-right: 30px;

}

/* Use this if the section is a link.
.covid-callout:hover {
  background-color: white;
  color: transparent;
  text-decoration: none;
}

.covid-callout a {
  color: white;
}
.covid-callout a:hover {
  color: #d01e26;
  text-decoration: none;
}
*/

.covid-callout p {
  padding: 10px;
  margin: 0;
  font-size: 1.25rem;
  max-width: 465px;
}

.partner-agencies img {
  cursor: pointer;
}

.modal-body a {
  color: #d01e26;
}

.linked-card a {
  color: black;
}
.linked-card a:hover {
  color: #0b6396;
  text-decoration: none;
}

/* slick slider - currently not being used */
.slick-prev:before,
.slick-next:before {
  color: #0b6396;
}

/* vita banner */
.state-header {
  background-color: #212121;
  color: #fff;
  min-height: 35px;
  padding-top: 3px;
  left: 0%;
  width: 100%;
}
.state-header a {
  color: #fff;
}
.state-header img {
  margin-right: 5px;
}

/* google translate */
#google_translate_element {
  float: right;
  position: relative;
  right: 300px;
  top: 35px;
}

.goog-te-gadget-simple {
  background-color: transparent;
  border: none;
}

.goog-te-gadget-simple .goog-te-menu-value {
  color: #fff;
}

.goog-te-menu-value:hover,
.goog-te-menu-value:active {
  text-decoration: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  .hero-text {
    padding-top: 100px;
  }
  .ie-footer-col {
    margin-left:auto;
    margin-right:auto;
  }
  .emergency-callout {
    top: 30px;
    right: 0px;
  }
}

@media screen and (min-width: 576px) and (max-width: 1100px) {
  .flip-card h2 {
    font-size: 1.5rem;
  }
  .flip-ul {
    font-size: 1rem;
  }
  .flip-topic {
    font-size: 2.25rem;
  }
  .need-assistance {
    font-size: 1rem !important;
  }
}
@media screen and (min-width: 576px) and (max-width: 1620px) {
  .flip-heading {
    font-size: 2rem;
  }
  .flip-ul {
    padding-left: 120px;
    font-size: 1.25rem;
  }
  .need-assistance {
    font-size: 1rem !important;
  }
}

/* new changes 2/11/21 */
@media screen and (min-width: 576px) and (max-width: 1755px) {
  .need-assistance {
    font-size: 1rem !important;
  }
  .flip-heading {
    font-size: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .hero-text h2 {
    font-size: 2vw;
  }
  h1 {
    font-size: 3.5vw;
  }
}
@media screen and (max-width: 1500px) {
  .icons {
    width: 100%;
  }
}
@media screen and (min-width: 1340px) {
  .ml-ab {
    margin-left: 7rem;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1339px) {
  .ml-ab {
    margin-left: 1rem;
  }
}

@media screen and (min-width: 575px) and (max-width: 1000px){
  .emergency-callout {
    top:160px;
  }
  div.hero-text {
    margin-top: 60px;
  }
}

@media screen and (max-width: 575px) {

  div.hero-text {
    margin-top: 60px;
  }
  .emergency-callout {
    top: 155px;
  }
  .navbar-brand img {
    width: 100%;
  }
  #google_translate_element {
    display: none;
  }
  .state-header {
    display: flex;
  }

  .btn-help {
    width: 90%;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 25px !important;
  }
  .ml-ab {
    margin-left: 0px;
  }
  .mt-sm-0 {
    margin-top: 0px !important;
  }
  .flip-heading {
    font-size: 2rem;
  }
  .pt-sm-0 {
    padding-top: 0px !important;
  }
}


@media screen and (max-height: 700px){
  .hero-text{
    min-height: 360px;
  }

}
@media screen and (max-width: 1180px){
  .hero-text{
    min-height: 360px;
  }


}

@media screen and (max-width: 1660px) {
  .btn-help {
    padding: 0px;
    font-size: 1rem;
  }
}





/* new changes 2/11/21 */
@media screen and (max-width: 1200px) {
  .benefit-programs {
    height: 400px;
  }
  .health-care {
    height: 400px;
  }
  .espanol {
    height: 400px;
  }
}

@media screen and (max-width: 1101px){
.flip-card-back {
    margin-top: -280px;
}
}

@media screen and (max-width: 500px) {

  .emergency-callout p {
    font-size: 1rem;
    text-align: center;
  }
  .buttons {
    margin-top: 10px;
  }
}