/* ======== RESPONSIVE CSS ========= */

/* ===================================================
		MIN WIDTH 
=================================================== */
@media screen and (min-width: 768px) {
  .gform-theme--foundation .gform_fields {
    display: flex !important;
    justify-content: center;
    align-items: center;
    grid-column-gap: 8px !important;
  }
}

@media screen and (min-width: 1200px) {
  .max-465 {
    max-width: 465px;
  }

  .max-360 {
    max-width: 360px;
  }
}

@media screen and (min-width: 1600px) {}

@media screen and (min-width: 1900px) {}

@media screen and (min-width: 2000px) {}

@media screen and (min-width: 2200px) {}

@media screen and (min-width: 2700px) {}

/* ------------------------------ 
	768px SMALL
------------------------------ */
@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }

  .show-mobile {
    display: none;
  }
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 750px;
    margin: 6.75rem auto;
  }
}

/* ===================================================
		MIN - MAX WIDTH 
=================================================== */
/* ------------------------------ 
	992px - 1199px LARGE
------------------------------ */
@media (min-width: 992px) and (max-width: 1199px) {}

/* ------------------------------ 
	768px - 991px MEDIUM
------------------------------ */
@media (min-width: 641px) and (max-width: 991px) {}

/* ===================================================
		MAX WIDTH 
=================================================== */
@media screen and (max-width: 1399px) {
  .d2 {
    font-size: 160px;
  }

  .ctct-form-element,
  .ginput_container input {
    /* width: 250px !important; */
    /* width: 188px !important; */
  }

  .america250-fuels .d1 {
    font-size: 280px;
  }

  .america250-fuels-title {
    margin-top: -120px;
  }

  .page-template-page-lp .america250-timeline-line {
    margin-left: -968px;
  }

  .page-template-page-thankyou h1 {
    font-size: 98px;
  }

  .page-template-page-thankyou .d1 {
    font-size: 300px;
  }
}

@media screen and (max-width: 1199px) {
  .page-template-page-lp .america250-timeline-line {
    margin-left: -1044px;
  }

  .d2 {
    font-size: 130px;
  }

  .ctct-form-element,
  .ginput_container input {
    /* width: 260px !important;
    width: 190px !important; */
  }

  .america250-fuels-title {
    margin-top: -90px;
  }

  .america250-fuels .d1 {
    font-size: 220px;
  }

  .mt-n40 {
    margin-top: -20px;
  }

  .page-template-page-thankyou .d1 {
    font-size: 250px;
  }

  .page-template-page-thankyou h1 {
    font-size: 80px;
    /* margin-top: -1.75rem; */
  }

}

@media screen and (max-width: 991px) {
  .page-template-page-lp .america250-timeline-line {
    margin-left: -1084px;
  }

  .d1 {
    font-size: 250px;
  }

  .page-template-page-lp .america250-celebrate {
    margin-top: -6.25rem;
  }

  .page-template-page-lp .america250-years {
    margin-top: -3rem;
  }

  .page-template-page-lp .america250-form .gform_fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .ctct-form-custom,
  .page-template-page-lp .america250-form .gform_fields {
    /* grid-template-columns: 1fr; */
    row-gap: 8px;
  }

  .ctct-form-field,
  .ginput_container {
    display: flex !important;
    justify-content: center !important;
  }

  /* #gdpr_text, */
  .gfield--type-html {
    width: 100% !important;
    /* top: 184px !important; */
    position: relative !important;
    grid-row: 5;
    top: 0 !important;
    text-align: center !important;
    padding: 0 16px !important;
  }

  div.ctct-form-embed form.ctct-form-custom button.ctct-form-button {
    display: flex !important;
    justify-content: center;
    justify-self: center;
    grid-column: 5 / span 4;
    text-align: center !important;
  }

  /* .ctct-form-button, */
  .gform-theme--foundation #field_submit {
    display: flex !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  .ctct-form-element,
  .ginput_container input {
    /* width: 180px !important; */
  }

  .page-template-page-lp .america250-intro-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 100%);
  }

  .mt-n25 {
    margin-top: -3.5%;
  }

  .america250-fuels-title {
    margin-top: -80px;
  }

  .america250-fuels .d2 {
    font-size: 120px;
  }

  .america250-fuels .d1 {
    font-size: 200px;
  }

  .page-template-page-lp .america250-icons {
    padding: 144px 0;
  }

  .card-container:not(:first-child) {
    margin-top: 130px;
  }

  .page-template-page-thankyou .america250-thankyou-overlay {
    background: linear-gradient(0deg, rgba(6, 16, 45, 0.76) 0%, rgba(6, 16, 45, 0.6) 100%);
    padding-top: 130px;
  }

  .page-template-page-thankyou .d1 {
    font-size: 180px;
  }

  .page-template-page-thankyou h1 {
    font-size: 60px;
    /* margin-top: -1.25rem; */
  }

}

@media screen and (max-width: 767px) {
  .page-template-page-lp .america250-timeline-line {
    margin-left: -1174px;
  }

  .d1 {
    font-size: 190px;
  }

  .d2 {
    font-size: 120px;
  }

  .page-template-page-lp .america250-celebrate {
    margin-top: -4.75rem;
  }

  .page-template-page-lp .america250-years {
    margin-top: -2.25rem;
  }

  .ctct-form-custom {
    grid-template-rows: auto;
  }

  .ctct-form-text {
    margin-bottom: 0 !important;
  }

  #email_address_field_0,
  #first_name_field_0,
  #last_name_field_0,
  #custom_field_string_parish_field_0,
  #custom_field_string_zip_code_field_0,
  div.ctct-form-embed form.ctct-form-custom button.ctct-form-button {
    grid-column: span 12;
  }

  .ctct-form-element,
  .ginput_container input {
    width: 305px !important;
  }

  #gdpr_text,
  .gfield--type-html {
    top: 410px !important;
  }

  .ctct-form-footer {
    padding-top: 80px !important;
  }

  .gform_wrapper {
    height: auto;
    margin: 0 auto 88px;
  }

  .gform-theme--foundation .ginput_address_zip {
    inline-size: auto !important;
  }

  .page-template-page-lp .america250-form .gform_button {
    max-width: 100%;
  }

  .page-template-page-lp .america250-fuels-title {
    flex-direction: column;
    align-items: center;
  }

  .america250-fuels .america250-fuels-title .d2 {
    margin-top: -40px;
  }

  .page-template-page-lp .america250-fuels-title h2.dynalight {
    margin-right: 0 !important;
  }

  .mt-n40 {
    margin-top: 40px;
  }

  .america250-history .d2 {
    font-size: 110px;
  }

  .card-container:not(:first-child) {
    margin-top: 100px;
  }

  .page-template-page-thankyou .america250-thankyou,
  .page-template-page-thankyou .america250-thankyou-overlay {
    height: auto;
  }

  .page-template-page-thankyou .america250-thankyou-title {
    line-height: 1;
  }

  .page-template-page-thankyou .america250-thankyou-body {
    text-align: left;
  }

  .page-template-page-thankyou .america250-thankyou-body h2 {
    line-height: 1.2;
  }

  .page-template-page-thankyou .america250-thankyou-paid {
    position: relative;
  }
}

@media screen and (max-width: 640px) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
  }

  .america250-timeline h2 {
    width: 343px;
  }

  .page-template-page-lp .america250-timeline-line {
    margin-left: -1123px;
  }
}

@media screen and (max-width: 600px) {

  /* Reset for Mobile Admin bar */
  body {
    position: initial;
  }
}

@media screen and (max-width: 576px) {
  .page-template-page-lp .america250-timeline-line {
    margin-left: -216%;
  }

  .d1 {
    font-size: 33vw;
  }

  .america250-history .d2,
  .d2 {
    font-size: 20vw;
  }

  .page-template-page-lp .america250-celebrate {
    margin-top: -14%;
  }

  .page-template-page-lp .america250-years {
    margin-top: -6%;
  }

  .america250-timeline h2 {
    width: 100%;
    text-align: center;
  }

  .page-template-page-lp .america250-timeline-flag .img-container {
    position: relative;
    margin: 0 auto 15px;
  }

  .page-template-page-lp .america250-timeline-line {
    margin-left: -1102px;
  }

  .page-template-page-thankyou .d1 {
    font-size: 42vw;
  }
}

@media screen and (max-width: 500px) {
  .ctct-form-footer {
    padding-top: 100px !important;
  }
}

@media screen and (max-width: 425px) {
  .gform_wrapper {
    margin: 0 auto 110px;
  }
}

@media screen and (max-width: 404px) {

  #gdpr_text,
  .gfield--type-html {
    top: 435px !important;
  }

  .ctct-form-footer {
    padding-top: 120px !important;
  }
}

@media screen and (max-width: 400px) {
  .america250-fuels .d2 {
    font-size: 110px;
  }
}

@media screen and (max-width: 350px) {}

@media screen and (max-width: 300px) {}