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

/* ===================================================
		MIN WIDTH 
=================================================== */
@media screen and (min-width: 1300px) {
}

@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: 1399px) {
  .cutout-text {
    font-size: 25px;
  }
}

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

/* ===================================================
		MAX WIDTH 
=================================================== */
@media screen and (max-width: 1399px) {
  .square-gradient {
    top: 76px;
    width: 460px;
    height: 470px;
  }
  .square-gradient-right {
    width: 460px;
    height: 440px;
    top: 36px;
  }
  #third-item {
    height: 470px !important;
    top: 176px !important;
  }
}

@media screen and (max-width: 1199px) {
  .img {
    position: relative;
    z-index: 3;
    transform: rotate(0deg);
    transform-origin: center;
  }
  .page-template-page-endorsements .square-gradient,
  .square-gradient {
    background: unset;
    height: 0;
    width: 0;
  }
  .square-gradient-right {
    background: unset;
    height: 0;
    width: 0;
  }
  h1,
  .h1,
  h2,
  .h2 {
    font-size: 60px;
  }
  .page-template-page-endorsements h1 {
    font-size: 5vw;
  }
  .gold-rect {
    margin-bottom: -50px;
  }
}

@media screen and (max-width: 991px) {
  .gold-rect {
    margin-bottom: -33px;
  }
  .bg-grad {
    height: 875px;
  }
  .headshot-endorsments {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

@media screen and (max-width: 800px) {
  .gold-rect,
  .gold-rect-2-mobile,
  .blue-rect-2-mobile {
    font-size: 5vw;
  }
}

@media screen and (max-width: 767px) {
  .gold-rect {
    margin-bottom: -20px;
  }
  .d-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .mobile {
    display: block !important;
  }

  .name_last {
    margin-bottom: 0 !important;
  }
  .gform_button,
  button {
    margin-bottom: 14px !important;
  }
  .gform_wrapper.gravity-theme
    .ginput_complex:not(.ginput_container_address)
    span:not([style*="display:none"]):not(.ginput_full) {
    padding-right: 0 !important;
  }
  .gform_wrapper.gravity-theme
    .ginput_complex:not(.ginput_container_address)
    span:not([style*="display:none"]):not(.ginput_full)
    ~ span:not(.ginput_full) {
    padding-left: 0 !important;
  }
  .gform_wrapper.gravity-theme .ginput_complex.ginput_container_address span {
    padding-left: 0 !important;
  }
  .mb-50 {
    margin-bottom: 50px !important;
  }
}

@media screen and (max-width: 600px) {
  /* Reset for Mobile Admin bar */
  body {
    position: initial;
  }
}

@media screen and (max-width: 576px) {
  .mobile-nav-button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    display: block;
    z-index: 100;
    position: absolute;
    top: 0;
    right: 0;
    margin: 10px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .mobile-nav-button span {
    display: block;
    width: 100%;
    height: 5px;
    background: var(--blue);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s all cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: absolute;
    left: 0;
  }

  .mobile-nav-button span:nth-child(1) {
    top: 4px;
  }

  .mobile-nav-button span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .mobile-nav-button span:nth-child(3) {
    bottom: 4px;
  }

  .mobile-nav-button.active-nav span:nth-child(1) {
    top: 0;
    transform: rotate(45deg) translate(9px, 9px);
  }

  .mobile-nav-button.active-nav span:nth-child(2) {
    opacity: 0;
    transform: translate(-10px, -50%);
  }

  .mobile-nav-button.active-nav span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -8px);
    bottom: 0;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -201px;
    padding-top: 50px;
    background: var(--red);
    height: 100vh;
    border-left: 1px solid var(--blue);
    z-index: 99;
    transition: 0.25s all;
    display: block;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    width: 200px;
    margin-top: 40px;
    padding: 0;
    list-style: none;
  }

  .main-navigation li {
    float: none;
    border-bottom: 1px solid var(--blue);
    padding: 10px !important;
    width: 100%;
  }

  .main-navigation li,
  .main-navigation a {
    color: white !important;
    width: 200px;
    margin: 0;
  }

  .main-navigation a {
    padding: 10px 20px;
  }
  .main-navigation.active-main {
    right: 0;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  }

  .menu-item:last-child a {
    margin-right: 10px;
  }
  h1,
  .h1,
  h2,
  .h2,
  .page-template-page-endorsements h1 {
    font-size: 54px;
  }
  .headshot-mobile {
    width: 90%;
  }
  .gform_wrapper {
    padding: 45px 15px;
  }
  .d-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .gold-rect {
    margin-bottom: -15px;
  }
  .headshot-endorsments {
    height: 320px;
  }
  .bg-grad {
    height: 660px;
  }
  .endorsements-spash-h {
    padding-top: 50px;
  }
  .cutout-text-m {
    font-size: 5vw;
  }
  .cutout-m {
    padding-top: 70px;
    height: 250px;
  }
}

@media screen and (max-width: 450px) {
  .gold-rect {
    margin-bottom: -10px;
  }
  .gold-rect,
  .gold-rect-2-mobile {
    font-size: 8vw;
  }
  .blue-rect-2-mobile {
    font-size: 7vw;
  }
  .cutout-m {
    padding-top: 70px;
    height: 250px;
  }
  h1,
  .h1,
  h2,
  .h2 {
    font-size: 52px;
  }
  .page-template-page-endorsements h1 {
    font-size: 48px;
  }
}

@media screen and (max-width: 400px) {
  .gold-rect {
    margin-bottom: -5px;
  }
  .headshot-endorsments {
    height: 280px;
  }
  .bg-grad {
    height: 600px;
  }
  .cutout-m {
    padding-top: 40px;
    height: 200px;
  }
  h1,
  .h1,
  h2,
  .h2 {
    font-size: 45px;
  }
  .page-template-page-endorsements h1 {
    font-size: 42px;
  }
}

@media screen and (max-width: 350px) {
  .gform_button,
  button {
    font-size: 14px !important;
  }
  .cutout-m {
    padding-top: 35px;
    height: 170px;
  }
  h1,
  .h1,
  h2,
  .h2 {
    font-size: 40px;
  }
  .page-template-page-endorsements h1 {
    font-size: 38px;
  }
}

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