/* @media screen and  */

@media screen and (max-width: 500px) {
  h1 {
    width: unset;
    max-width: 60%;
    font-size: calc(20px + 0.6vw);
  }

  #section1 p {
    padding: 10px 30px;
  }

  .small-hero-text {
    padding: 2% 10% !important;
  }

  .scroll-down-button {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    font-size: 13px;
    max-width: none;
    height: 42px;
  }

  .twitter--popup {
    width: 245px;
    right: -218px;
  }

  .image-container.circle-box {
    max-width: 175px;
  }

  .circle-box img {
    max-width: 130px;
  }

  .article-link-container {
    float: left;
    width: auto;
  }
  .flex-article {
    width: 90% !important;
  }
  #section3 .icon-container {
    width: auto;
  }
  #article-title {
    margin-top: 25px;
    font-size: 14px;
  }
  .primary-button {
    width: 100%;
    padding: 0px 5px;
    font-size: calc(6px + 0.7vw);
  }

  .scroll-down-button:hover,
  .primary-button:hover {
    background-color: rgb(84, 84, 84);
  }

  .play-pause-button:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
  .mobile-article .icon-container {
    padding: 0 !important;
    margin-left: 45px !important;
  }

  .mobile-audio-hide {
    display: none;
  }

  .audio-player-container span {
    font-size: 12px;
    padding-right: 80px;
  }

  .audio-player-container:hover {
    cursor: pointer;
  }

  .audio-player-container .button-round:hover {
    -webkit-box-shadow: 0px 3px 3px -1px grey;
    box-shadow: 0px 3px 3px -1px grey;
  }

  .audio-progress:hover .audio-progress-circle {
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
  }

  .audio-progress:hover .audio-progress-fill,
  .audio-progress:hover .audio-progress-circle {
    background-color: #654ac6;
  }

  .read-transcript-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .audio-player-container:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .secondary-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
  }

  .social-share:hover svg path {
    fill: #ffffff;
  }

  #gform_submit_button_1:hover {
    cursor: pointer;
    background-color: #757575;
  }

  p {
    font-size: 15px;
  }

  .transcript-container p {
    font-size: 15px;
  }

  .corp-link {
    font-size: 12px;
  }

  .corp-link:hover {
    text-decoration: underline;
  }

  input#choice_1_5_1 {
    /* display: inline-block; */
    /* float: left; */
    width: 24px !important;
    height: 24px !important;
  }
}

@media screen and (min-width: 501px) {
  .scroll-down-button {
    min-width: 360px;
    font-size: 13px;
    height: 42px;
    width: 100%;
  }
  .section4 {
    width: 100%;
    display: none;
  }
  #section3 .image-container img,
  #stone .image-container img {
    width: 60%;
    margin: auto;
  }
}
@media screen and (max-width: 340px) {
  .scroll-down-button {
    font-size: 11px;
  }
}

@media screen and (max-width: 769px) {
  /* #section1-hero {
        height: calc(300px + 25vh);
    } */
  #doc-buttons {
    /* display: block; */
    flex-direction: column;
    width: 95vw;
    margin: 0 auto;
  }
  h1 {
    font-size: calc(19px + 0.6vw);
  }
  h2 {
    font-size: calc(18px + 0.5vw);
    padding: 10px 0px;
  }
  h4 {
    font-size: calc(15px + 0.5vw);
  }
  .article-link-container {
    float: left;
  }
  .flex-article {
    /* width: auto; */
  }
  #section3 .icon-container,
  #stone .icon-container {
    width: 30%;
    height: 55px;
  }

  #section6-stone .article-section {
    margin-top: 0px;
  }
  #article-title {
    margin-top: 25px;
    /* float: right; */
    /* padding-left: 30px; */
    max-width: 300px;
    font-size: 18px;
    /* text-align: left; */
    margin-left: 50px;
  }
  .primary-button {
    width: 100%;
    /* padding: 0px 5px; */
    /* font-size: calc(6px + 0.7vw); */
    padding: 0px 11px;
    font-size: 9px;
  }
  .audio-player-container span {
    max-width: 300px !important;
  }
  .mobile-audio .audio-section {
    /* margin-top: 33px !important; */
    margin-top: 15px !important;
  }
  .mobile-audio .width-90-percent {
    margin-left: -10px;
  }
  .divider-line-horiz.purple-bkgd {
    margin: 30px auto;
  }
  .hide {
    display: none;
  }
  .twitter--popup {
    width: 245px;
    right: -218px;
  }
}

@media screen and (min-width: 769px) {
  #nav-links-container {
    position: relative;
    top: 0px;
    left: 80px !important;
    width: auto;
    margin: 0 auto;
    background-color: transparent;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .nav-link-container {
    margin: 15px 7px;
    font-size: 12px;
    color: #323232;
  }

  .nav-link-container:last-of-type {
    margin-bottom: 15px;
  }

  #nav_disclaimer {
    text-align: center;
    right: 0;
    left: 0;
  }

  .nav-link-container:hover {
    border-bottom: 1px solid;
  }

  #section1-hero {
    background-image: url("../../../media.understandingaml.com/wp-content/uploads/2019/02/hero1x8.png");
    background-color: #decbe2;
    background-position: center bottom;
  }

  h1 {
    width: unset;
    max-width: 60%;
  }

  #section1 p {
    padding: 10px 0%;
  }

  .small-hero-text {
    padding: 2% 10% !important;
  }

  .scroll-down-button {
    max-width: 333px;
    font-size: 11px;
    height: 42px;
  }

  .play-pause-button:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }

  .audio-player-container:hover {
    cursor: pointer;
  }

  .audio-player-container .button-round:hover {
    -webkit-box-shadow: 0px 3px 3px -1px grey;
    box-shadow: 0px 3px 3px -1px grey;
  }

  .audio-progress:hover .audio-progress-circle {
    -webkit-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
  }

  .audio-progress:hover .audio-progress-fill,
  .audio-progress:hover .audio-progress-circle {
    background-color: #654ac6;
  }

  .read-transcript-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .audio-player-container:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  .secondary-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
  }

  #gform_submit_button_1:hover {
    cursor: pointer;
    background-color: #757575;
  }

  p {
    font-size: 15px;
  }

  .transcript-container p {
    font-size: 15px;
  }

  .corp-link {
    font-size: 12px;
  }

  .corp-link:hover {
    text-decoration: underline;
  }

  input#choice_1_5_1 {
    /* display: inline-block; */
    /* float: left; */
    width: 24px !important;
    height: 24px !important;
  }
}
@media screen and (min-width: 900px) {
  #nav-links-container {
    left: 0px !important;
  }
  .nav-link-container {
    margin: 15px;
  }
}
@media screen and (min-width: 769px) {
  #nav-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  h1 {
    max-width: 650px;
    font-size: 43px;
  }

  #section1 p {
    padding: 10px 20px;
  }

  #section2 .middle-spacer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  #section2 .image-container {
    width: 40%;
  }

  #section2 .image-container img {
    margin: 0;
  }

  #section2 p {
    font-size: 13px;
  }

  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .desktop-hide {
    display: none;
  }

  #section3 .middle-spacer,
  #stone .middle-spacer {
    /* display: -webkit-box; */
    /* display: -ms-flexbox; */
    /* display: flex; */
    display: block;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  #section3 .doctor-spacer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: auto;
  }

  #stone .doctor-spacer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: auto;
  }

  #section3 .image-container {
    width: unset;
    margin: 0 15px;
  }

  /* #section3 .image-container img {
        width: 100%;
    } */

  #section3 .width-90-percent,
  #stone .width-90-percent {
    width: 50%;
    margin: 0 15px;
    padding-right: 15px;
  }

  #stone .image-container {
    width: unset;
    margin: 0 15px;
  }

  /* #stone .image-container img {
        width: 100%;
    } */

  /* #stone .width-90-percent {
        width: 50%;
        margin: 0 15px;
    } */

  .image-caption-center {
    font-size: 11px;
  }

  .flex-resp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  h6 {
    font-size: 13px;
  }

  h2 {
    font-size: 38px;
  }

  .article-link-container {
    width: 130px;
    position: relative;
    bottom: 25px;
    float: left;
  }

  #section3 .width-100-percent.text-center,
  #stone .width-100-percent.text-center {
    text-align: left;
    /* max-width: 230px; */
    margin: 0;
  }

  #article-title {
    font-size: 22px;
    font-weight: bold;
    margin-left: 20px;
    /* max-width: 240px; */
  }

  #section3 .icon-container {
    width: 30%;
    height: 55px;
  }

  #stone .icon-container {
    width: 30%;
    height: 55px;
  }

  .primary-button {
    height: 27px;
    width: 120px;
    font-size: 9px;
  }

  .read-transcript-button {
    position: absolute;
    top: 12.5px;
    right: 10px;
  }
}
@media screen and (max-width: 900px) {
  .mobile-only {
    display: block;
  }

  .hide {
    display: none !important;
  }
  .show {
    display: block;
  }
  .doctor-audio {
    padding-left: 50px;
    padding-right: 50px;
  }
  .purple-bkgd {
    /* background-color: #4e35a4; */
    background-color: #fff;
    width: 90%;
  }
  .mobile-article {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }
  .mobile-audio {
    display: block;
    margin-top: 15px;
    width: 90%;
    margin: auto;
  }
  #transcript-0,
  #transcript-1,
  #transcript-2 {
    position: absolute;
    right: 0;
  }
  .audio-player-container span {
    max-width: 500px;
  }
  .mobile-audio .hear-the-expert {
    position: relative;
  }
  .mobile-audio .audio-section {
    margin-top: 15px;
  }
  .flex-article {
    display: inline-flex;
    /* max-width: 500px; */
    /* width: 100%; */
  }

  .end-matter-item {
    text-align: center;
    margin: 0 auto;
  }
}
@media screen and (min-width: 900px) {
  .mobile-article {
    display: none;
  }

  .mobile-audio {
    display: none !important;
  }

  #section1 {
    background-color: #decbe2;
  }

  #section3 .image-container,
  #stone .image-container {
    width: unset;
    margin: 0 15px;
  }

  #section3 .image-container img,
  #stone .image-container img {
    width: 100%;
  }

  #section1-hero {
    background-position: center bottom;
    /* background-position: 0px bottom; */
    /* height: calc(290px + 33vh); */
  }

  .section4 h4,
  #section5 h4,
  #section5-stone h4,
  #section6 h4,
  #section6-stone h4 {
    width: 100%;
    font-size: 20px;
  }

  .flex-resp-900 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .section4 {
    width: 35%;
    border-left: 1px solid #fff;
    display: block;
    padding-left: 15px;
  }

  .section4 .width-90-percent {
    width: 100%;
  }

  #section5 .width-90-percent,
  #section5-stone .width-90-percent,
  #section6 .width-90-percent,
  #section6-stone .width-90-percent {
    width: 31%;
    margin: 0 15px;
  }

  .section4 .serif-font {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    max-width: 270px;
  }

  .audio-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* width: 70%; */
    width: 100%;
    margin: 0 15px;
  }

  /* ------------------- */

  #section5 .flex-resp-900 {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  #section5-stone .flex-resp-900 {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  #section6-stone .flex-resp-900 {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .info-section {
    width: 70%;
  }

  .info-section h5 {
    font-size: 16px;
    text-align: left;
    width: 80%;
  }

  #slide-deck-info {
    margin: 10px;
    width: 80%;
  }

  #slide-deck-info p {
    text-align: left;
    margin: 5px 0;
    max-width: unset;
  }

  #slide-deck-info h5 {
    text-align: left;
    margin: 0;
  }

  .secondary-button-container {
    width: 20%;
  }

  .secondary-button-container img {
    display: block;
    margin: 10px auto;
    height: auto;
  }

  #section5 .secondary-button-container img {
    width: 50px;
  }

  #section5-stone .secondary-button-container img {
    width: 50px;
  }

  #section6 .secondary-button-container img {
    width: 30px;
  }

  #section6-stone .secondary-button-container img {
    width: 30px;
  }

  .secondary-button {
    height: 35px;
    width: 100%;
    font-size: 10px;
    margin: 0 auto;
    min-width: 110px;
  }

  #section6 .info-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    justify-content: center;
    /* margin-top: -100px; */
  }

  /* #section6 .small-footer-text {
        position: absolute;
        bottom: 30px;
    } */

  #section6 .divider-line-horiz {
    width: 100%;
  }

  #section6-stone .info-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  #section6-stone .article-section {
    margin-top: -90px;
  }

  #section6-stone .divider-line-horiz {
    width: 68%;
    bottom: 65px;
    position: absolute;
    right: 0;
  }

  .article-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  #section6 .serif-font,
  #section6-stone .serif-font {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    max-width: 250px;
  }

  #section6 .small-footer-text,
  #section6-stone .small-footer-text {
    font-size: 11px;
    width: 68%;
    text-align: left;
    margin: 0;
    bottom: 0;
    right: 0;
    position: absolute;
  }

  #section6-stone .small-footer-text {
    bottom: 40px;
  }

  #corporate_links {
    display: none;
  }

  #corporate_links_end {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 360px;
    margin: 0 50px;
  }

  .spacer-end {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 50px;
  }

  #social_icons {
    display: none;
  }

  #social_icons_end_matter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #cookies_warning p {
    font-size: 16px;
  }

  #cookies_content .middle-spacer {
    width: 60px;
  }

  #cookies_accept_btn {
    font-size: 14px;
  }

  /* FORM */
  #updates_form {
  }

  #gform_wrapper_1 {
    padding-left: 40px;
  }

  .width-wrapper {
    max-width: 1024px;
    margin: 0 auto;
  }

  #gform_confirmation_message_1 {
    text-align: left;
    padding-left: 70px;
    padding-top: 50px;
  }

  .form-h1 {
    font-size: 50px;
    text-align: left;
    width: 270px;
    padding-top: 30px;
  }

  .form-h2 {
    text-align: left;
    margin: 0;
    font-size: 22px;
    max-width: 400px;
    padding-top: 5px;
  }

  .form-p {
    font-size: 22px;
    text-align: left;
    width: 270px;
    margin: 0;
  }

  #gform_confirmation_message_1 .form-p {
    font-size: 17px;
  }

  #updates_form .ginput_container input[type="text"],
  #updates_form #input_1_4 {
    font-size: 16px;
    height: 54px;
    padding: 15px;
  }

  #choice_1_8_1 input {
    width: 30px !important;
    height: 30px !important;
  }
  #field_1_6 {
    width: 100%;
    margin: -10px auto 0 auto !important;
    font-size: 11px;
    padding: 30px 0px 10px 40px;
  }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: landscape) {
  #section3 .image-container,
  #stone .image-container {
    width: 15%;
    margin: 0 15px;
  }

  #section3 .width-90-percent,
  #stone .width-90-percent {
    width: 30%;
  }

  .doctor-audio {
    width: 80%;
  }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* For portrait layouts only */
  #doc-buttons {
    width: auto;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1336px) and (orientation: portrait) {
  /* For portrait layouts only */
  #section3 .image-container,
  #stone .image-container {
    width: 15%;
    margin: 0 15px;
  }

  #section3 .width-90-percent,
  #stone .width-90-percent {
    width: 30%;
  }

  .doctor-audio {
    width: 80%;
  }
}
