/* CHANGING FOOTER FONT TO ROBOTO FORM MULISH FONT */
footer{
  font-family:Roboto,sans-serif!important;
}
footer .question-strip h4{
  font-family:Roboto,sans-serif!important;
}
/* CHANGING FOOTER FONT TO ROBOTO FORM MULISH FONT */
.badges {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) {
  .badges {
    flex-direction: row;
  }
}
.urac-link {
  border-radius: 1rem;
  padding: 1rem;
  
}

.urac-certification {
  border-radius: 1rem;
}

.aahomecare-certification, .chap-certification, .urac-certification {
  display: flex;
  align-self: center;
  max-width: 300px;
  margin: 10px;
}



/* Footer CODE from css file */
/* form button */


/* Adding FOOTER tag to make the css specific to footer form only */
footer .input input { 
    width: 250px !important;
}

form#hsForm_154f2fcb-8db1-4cb4-985a-0b9dba92cc07_4055 {
    float: right;
}

/* Adding FOOTER tag to make the css specific to footer form only */
footer .hs_email.hs-email.hs-fieldtype-text.field.hs-form-field {
    float: right !important;
}

/* Adding FOOTER tag to make the css specific to footer form only */
footer .hs_form_target_form_956952929 label{
  display:none !important;
}

/* Adding FOOTER tag to make the css specific to footer form only */
footer .input input {
    border: none !important;
    border-radius: 10px !important;
    padding: 20px !important;
  margin-right: 0px !important; /* adding margin zero to stop the override margin-right: 1.5em from locations page */
}

/* Adding FOOTER tag to make the css specific to footer form only */
footer input[type=submit] {
    -webkit-appearance: none !important;
    background-color: #fdbb30 !important;
    border: none !important;
    border-radius: 10px !important;
    color: #1b346c !important;
    cursor: pointer;
    display: inline-block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    min-width: 250px !important;
    padding: 15px 10px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: .4s !important;
    float: right;
}

/* Adding FOOTER tag to make the css specific to footer form only */
footer input[type=submit]:hover {
    background-color: #fff !important;
    color: #fdbb30 !important;
}


footer .menu-section {
    z-index: 2;
    position: relative;
}

/* div#footer_sheep {
    z-index: 1;
} */

div#footer_sheep {
    z-index: 1;
    display: flex;
}


#footer_sheep img {
    height: auto;
    max-width: 380px;
    float: left;
    /* height: 100%; */
    display: flex;
    align-items: flex-end;
}

#hs_cos_wrapper_module_16033746777264_ #hsForm_154f2fcb-8db1-4cb4-985a-0b9dba92cc07_5020 {
    width: 50%;
    display: block;
    float: right;
}

footer .menu-section .listing .flex {
    align-items: flex-start !important;
}

/* Adding FOOTER tag to make the css specific to footer form only */
footer .input input::placeholder {
    font-weight: 800 !important;
    color: #2569bb !important;
    text-align: center !important;
    font-size: 20px;
}

footer .question-strip .right a {
    font-size: 20px !important;
    font-weight: 800 !important;
    padding: 15px 10px !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
}









/* Footer CODE from css file */
footer{
/*   border:2px solid red; */
  padding-bottom:0px !important;
  background-color: #185fba !important;
}

footer .menu-section .listing {
    width: 100% !important;
    max-width: inherit  !important;
    margin: 0px !important;
}

footer .menu-section .listing .flex {
    display: flex !important;
    align-content: center !important;
    justify-content: space-between !important;
/*     align-items: center !important; */
}

footer .bottom-section {
    background-color: #185fba !important;
    padding: 8px 0;
    position: absolute;
    width: 100%;
}

footer .bottom-section .bottom-content,
footer .bottom-section .bottom-content a{
    color: #fff !important;
    font-size: 12px;
    width: 700px;
    margin: auto;
    text-align:center;
}

.sheep-copywrite {
  display:flex;
  flex-direction: row;
}

div#footer_sheep {
    position: relative;
/*   position: absolute; */
    top: 0;
    margin-top: -200px;
    width: 100%;
    padding: 10px 0px 0px 0px;
    margin-bottom: 0px;
    left: 0px !important;
    bottom: 0px !important;
/*   border:2px solid black; */
}

#footer_sheep img{
    height: auto;
    max-width: 380px;
/*     border:2px solid red; */
/*     position:relative; */
    left: 0px !important;
    bottom: 0px !important;
  
}

#demo_img {
  margin:20px 0px;
  width:100%;
  height:auto;
/*   border:2px solid #fff; */
}

form#hsForm_154f2fcb-8db1-4cb4-985a-0b9dba92cc07_6836{ 
  border:3px dashed #000;
}


#hsForm_154f2fcb-8db1-4cb4-985a-0b9dba92cc07_8549 .hs_email{
  width:250px !important;
}
/* .subs-form{
    float: right;
} */

/* Adding FOOTER tag to make the css specific to footer form only */
footer .hs_email.hs-email.hs-fieldtype-text.field.hs-form-field label span {
    display: none !important;
}




/* #hs_form_target_form_199131967 #hsForm_154f2fcb-8db1-4cb4-985a-0b9dba92cc07_174 .hs_email{
border:3px dashed #000 !important;
} */

/* #hs_cos_wrapper_module_16033746777264_ {
    float: right;
} */

@media only screen and (min-width:300px) and  (max-width:767px){
  footer .menu-section .listing .flex {
/*     flex-direction: column !important;
    align-content: flex-start !important; */
    display:block !important;
    width: 100%;
  }
  #footer_sheep img {
    height: auto;
    max-width: 230px;
}
  footer .bottom-section .bottom-content, footer .bottom-section .bottom-content a {
    /* text-align: center; */
    width: auto;
  }
  
  div#footer_sheep {
    margin-bottom: 0px;
    margin-top: -40px;
}
  footer .bottom-section .bottom-content{
    font-size:9px;
  }
  
  .bottom-section .bottom-content div{
/*     width: 200px !important; */
    float: right !important;
  }
  
/*    div#mobile-margin {
   margin-top: 14%;
 } /* "Sheep-Mobile" */

}






/* ------------------- TOP FOOTER ---------------------- */
.top-footer{
  padding:50px 0px;
  display:grid;
  grid-template-columns:60% 40%;
  grid-gap:20px;
  border-bottom:4px solid #83b7e1;
}

.footer_info{
  display:flex;
  flex-direction:row;
  justify-content: space-between;

}

#book_icon{
  width:200px;
  height:150px;
/*  aspect-ratio: 48/37;  */
/*   border:2px solid red; */
}

.text-footer{
/*   border:2px solid green; */
  width: 550px;
  max-width: 550px;
  float:left !important;
  margin-left: 50px;
}

/* FOOTER MEDIA QUERY */

/* ------------------------  1024 - 1199 px media query */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
  .top-footer {
    grid-template-columns: 60% 40%;
  }

  .footer_info {
    flex-direction: row;
  }

  .footer-book_img {
    margin: auto;
  }

  .text-footer {
    float: left !important;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 550px;
    width: 100%;
    text-align: center;
    margin: auto;
  }

  footer .menu-section .listing .flex {
    /*    flex-direction: column !important; */
    align-items: flex-start !important;
    align-content: flex-start !important;
    /* margin-bottom: 200px !important; */
    padding-left: 10%;
  }

  .subs-form {
    margin: auto;
    /*     width: 80%; */
  }

  .question-strip {
    text-align: center;
  }


  .question-strip h4 {
    text-align: center !important;
  }


  div#footer_sheep {
    margin-top: -140px;
  }

  #footer_sheep img {
    max-width: 270px;
  }

  footer .bottom-section .bottom-content > div {
    text-align: center !important;
  }

  .imgflex img {
    height: auto;
    width: 100%;
  }

  .flex-imgs {
    flex-direction: row;
  }

}


/* your privacy choice */
.ypc-item-container{
      display: flex;
      align-items: center;
      cursor:pointer;
    }

.ypc-item-container img {
      margin-left: 5px;
      width: 50px;
      height: 20px;
/*       background-color:#fff; */
    }

#testmypopup{ position:relative;  font-size:0;  min-width: 175px; }
#testmypopup:before{ content:"Your Privacy Choices"; position:absolute; font-size:18px; }
body .ypc-item-container img{margin-left:0;}


@media screen and (max-width:1000px){
 #testmypopup{ position:relative;  font-size:0;  min-width: 135px; }
 #testmypopup:before{ content:"Your Privacy Choices"; position:absolute; font-size:14px; }
}


/* your privacy choice */


/* ------------------------  768 - 1023 px media query */
@media only screen and (min-width: 768px) and (max-width: 1023px) {

  #book_icon {
    margin-bottom: 30px;
    width: auto;
    height: auto;
    max-width: 80%;
  }

  .footer-book_img {
    margin: auto;
  }

  .text-footer {
    float: left !important;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 550px;
    width: 100%;
    /* text-align: center; */
    margin: auto;
  }

  .text-footer h3 {
    font-size: 30px !important;
  }

  footer .menu-section .listing .flex {
    align-items: flex-start !important;
    align-content: flex-start !important;
     padding-left: 20%;
  }


  div#footer_sheep {
    margin-top: -175px;
  }

  #footer_sheep img {
    max-width: 225px;
  }

  .bottom-content > div {
    text-align: center !important;
  }

  .subs-form {
    margin: auto;
  }

 }



/* ------------------------  600 - 767 px landscape media query */
@media screen and (min-device-width: 600px) and (max-device-width: 767px) and (orientation: landscape) {

  #book_icon {
    height: 100px;
    width: 150px;
    margin-bottom: 20px;
  }

  .text-footer h3 {
    text-align: center;
  }

  .text-footer {
    margin-top: 20px !important;
    margin: auto !important;
  }

  footer .question-strip h4 {
    text-align: center;
  }

  footer .question-strip .right .button-7 {
    max-width: 50%;
    margin: auto;
  }
}

/* ------------------------  600 - 767 px landscape media query */
@media screen and (min-device-width: 600px) and (max-device-width: 800px) and (orientation: landscape) {
  #footer_sheep img {
    max-width: 300px !important;
    height: auto !important;
  }

  footer .bottom-section .bottom-content div {
    width: 430px !important;
  }

}

/* ------------------------ 300 - 767 px media query */
@media only screen and (min-width: 300px) and (max-width: 767px) {
  .top-footer {
    grid-template-columns: 100%;
  }

  .footer_info {
    flex-direction: column;
  }

  .footer-book_img {
    margin: auto;
  }

  .text-footer {
    float: left !important;
    margin-left: 0px;
    margin-top: 20px;
    max-width: 550px;
    width: 100%;
    text-align: center;
  }

  .subs-form {
    margin: auto;
  }

  #footer_sheep img {
    max-width: 250px;
    height: auto !important;
  }

  footer .bottom-section .bottom-content, footer .bottom-section .bottom-content div {
/*     width: 200px !important; /* "Sheep-Mobile" */
/*     float: right !important; /* "Sheep-Mobile" */
  }

  footer .bottom-section .bottom-content {
    font-size: 10px;
    line-height: 1.25; "Sheep-Mobile"
/*     padding: 30px 0px 0px 0px !important; /* "Sheep-Mobile" */
   
  }

}

/* FOOTER MEDIA QUERY */
