/* Desktop */
@media only screen and (min-width: 1367px) and (max-width: 1920px) {
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }
  .carousel_container {
    margin-left: calc((100% - 1280px) / 2);
  }
  .floor_plan_list {
    gap: 35px;
  }
}

/* Laptop */
@media only screen and (min-width: 1251px) and (max-width: 1366px) {
  .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
  }
}

/* Smaller Laptop */
@media only screen and (min-width: 1025px) and (max-width: 1250px) {
  .container {
    width: auto;
    max-width: 100%;
    margin: 0 30px;
  }

  /* Fonts */
  .hero_heading h1 {
    font-size: 10.5rem;
  }
  .motto_heading h1 {
    font-size: 8.5rem;
  }
  #chestnut_hill .section_heading h1,
  #home_about .section_heading h1,
  .slogan_heading h1,
  .campaign_heading h1 {
    font-size: 6.75rem;
  }
  h1 {
    font-size: 5.45rem;
  }
  h2 {
    font-size: 3.25rem;
  }
  h3 {
    font-size: 2.6rem;
  }
  h4 {
    font-size: 2.3rem;
  }
  h6 {
    line-height: 1.3;
  }

  /* Main */
  .carousel_container {
    margin-left: 30px;
  }
  .gallery .timeline_progress {
    width: calc(100% - 60px);
  }
  .growth_box_items {
    padding-left: 30px;
    padding-right: 30px;
  }
  .event_details {
    width: 90%;
  }
  #campaign .section_sub_heading {
    width: 60%;
  }
  .raised .col_3 {
    width: 30%;
  }
  .raised .col_9 {
    width: 70%;
  }
  .donate_tab_btns .tab_btn {
    white-space: unset;
  }
  .donate_tab_btns .tab_btn h4 {
    text-align: left;
  }
  .floor_plan_list {
    gap: 25px;
  }
}

/* Ipad Pro view Landscape */
@media only screen and (min-width: 901px) and (max-width: 1024px) {
  .container {
    width: auto;
    max-width: 100%;
    margin: 0 30px;
  }

  /* Header */
  .main_header nav ul li a {
    padding: 25px 20px;
  }
  .logo img {
    width: 120px;
    height: auto;
  }

  /* Fonts */
  .hero_heading h1 {
    font-size: 9.5rem;
  }
  .motto_heading h1 {
    font-size: 8rem;
  }
  #chestnut_hill .section_heading h1,
  #home_about .section_heading h1,
  .slogan_heading h1,
  .campaign_heading h1 {
    font-size: 6.25rem;
  }
  h1 {
    font-size: 5rem;
  }
  h2 {
    font-size: 3rem;
  }
  .building_single_detail h2 {
    font-size: 3.75rem;
  }
  h3 {
    font-size: 2.3rem;
  }
  h4 {
    font-size: 2rem;
  }
  h5 {
    font-size: 1.7rem;
  }
  h6 {
    line-height: 1.3;
    font-size: 1.2rem;
  }

  /* Main */
  .hero_text {
    width: 80%;
  }
  #hero .flexbox {
    align-items: flex-start;
  }
  .carousel_container {
    margin-left: 30px;
  }
  .gallery .timeline_progress {
    width: calc(100% - 60px);
  }
  .gallery_col img {
    height: 420px;
  }
  .growth_box_items {
    padding-left: 25px;
    padding-right: 25px;
  }
  .growth_text p {
    font-size: 0.85rem;
  }
  .growth_number_heading span {
    font-size: 0.7rem;
  }
  .offering_box_items {
    padding: 100px 50px 60px 50px;
  }
  .col_4:nth-child(4) .offering_box .offering_box_items,
  .col_4:nth-child(5) .offering_box .offering_box_items,
  .col_4:nth-child(6) .offering_box .offering_box_items {
    padding: 70px 50px 60px 50px !important;
  }
  .event_details {
    width: 90%;
  }
  .motto_text {
    width: 56%;
  }
  #campaign .section_sub_heading {
    width: 63%;
  }
  .campaign_details_items {
    flex-flow: wrap;
  }
  .campaign_single_cost_list_items {
    padding: 20px 25px;
  }
  .raised .col_3 {
    width: 30%;
  }
  .raised .col_9 {
    width: 70%;
  }
  .donate_tab_btns {
    align-items: stretch;
  }
  .donate_tab_btns .tab_btn {
    white-space: unset;
    padding: 30px 40px;
  }
  .donate_tab_btns .tab_btn h4 {
    text-align: left;
  }
  .donation_tab_content_items {
    padding: 50px 40px;
  }
  .floor_plan_list {
    gap: 25px;
    margin-left: 40px;
    width: 88%;
    margin-top: 0;
  }
  .thank_you_items {
    width: 60%;
  }
}

/* Portrait : Ipad Pro */
@media only screen and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) and (min-device-width: 901px) and (max-device-width: 1024px) {
  /* Fonts */
  .hero_heading h1 {
    font-size: 10rem;
  }
  .motto_heading h1 {
    font-size: 8.35rem;
  }
  .motto_items {
    padding-top: 100px;
  }
  #chestnut_hill .section_heading h1,
  #home_about .section_heading h1,
  .slogan_heading h1,
  .campaign_heading h1 {
    font-size: 6.65rem;
  }
  h1 {
    font-size: 5.4rem;
  }
  h2 {
    font-size: 3.2rem;
  }
  h3 {
    font-size: 2.5rem;
  }
  h4 {
    font-size: 2.25rem;
  }

  /* Main */
  .hero_text {
    width: 78%;
  }
  .gallery_col img {
    height: 450px;
  }
  .growth_text p {
    font-size: 0.9rem;
  }
  .growth_number_heading span {
    font-size: 0.8rem;
  }
  .offering_box_items {
    padding: 100px 60px 60px 60px;
  }
  .col_4:nth-child(4) .offering_box .offering_box_items,
  .col_4:nth-child(5) .offering_box .offering_box_items,
  .col_4:nth-child(6) .offering_box .offering_box_items {
    padding: 70px 60px 60px 60px !important;
  }
  .event .flexbox {
    align-items: start;
  }
  .chestnut_bg {
    height: 80vh;
  }
  #home_about {
    min-height: 75vh;
  }
  .floor_plan_list {
    width: 85%;
  }
}

/* Ipad Pro view Landscape */
@media only screen and (min-width: 768px) and (max-width: 900px) {
  .container {
    width: auto;
    max-width: 100%;
    margin: 0 30px;
  }

  /* Header */
  .main_header nav ul li a {
    padding: 25px 15px;
  }
  .logo img {
    width: 80px;
    height: auto;
  }

  /* Fonts */
  .hero_heading h1 {
    font-size: 8rem;
  }
  .motto_heading h1 {
    font-size: 6.75rem;
  }
  #chestnut_hill .section_heading h1,
  #home_about .section_heading h1,
  .slogan_heading h1,
  .campaign_heading h1 {
    font-size: 5.65rem;
  }
  h1 {
    font-size: 4.65rem;
  }
  h2 {
    font-size: 2.7rem;
  }
  .building_single_detail h2 {
    font-size: 3.5rem;
  }
  h3 {
    font-size: 2.2rem;
  }
  h4 {
    font-size: 1.875rem;
  }
  h5 {
    font-size: 1.55rem;
  }
  h6 {
    line-height: 1.3;
    font-size: 1.2rem;
  }

  /* Main */
  .hero_heading h1 span::after {
    height: 25px;
    bottom: 30px;
  }
  .hero_text {
    width: 90%;
  }
  #hero .flexbox {
    align-items: flex-start;
    justify-content: flex-end;
  }
  #hero .col_7 {
    width: 100%;
  }
  #hero .col_5 {
    width: 70%;
    margin-top: 50px;
  }
  .hero_image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
  .carousel_container {
    margin-left: 30px;
  }
  #journey .col_5,
  #journey .col_7 {
    width: 50%;
  }
  .gallery .timeline_progress {
    width: calc(100% - 60px);
  }
  .gallery_col {
    width: 50%;
  }
  .gallery_col img {
    height: 420px;
  }
  .tab_content .col_5,
  .tab_content .col_7 {
    width: 50% !important;
  }
  .tab_btn h2::after {
    height: 16px;
  }
  #growth .section_sub_heading h6 br {
    display: none;
  }
  .growth_box {
    width: 25%;
  }
  .growth_box_items {
    padding-left: 15px;
    padding-right: 15px;
  }
  .growth_number_heading h2 {
    font-size: 2.5rem;
  }
  .growth_text p {
    font-size: 0.8rem;
  }
  .growth_number_heading span {
    font-size: 0.7rem;
  }
  .col_4:nth-child(1) .offering_box {
    border-radius: 0 150px 0 0;
  }
  .col_4:nth-child(2) .offering_box {
    border-radius: 150px 150px 0 0;
  }
  .col_4:nth-child(3) .offering_box {
    border-radius: 150px 0 0 0;
  }
  .col_4:nth-child(4) .offering_box {
    border-radius: 0 0 150px 0;
  }
  .col_4:nth-child(5) .offering_box {
    border-radius: 0px 0px 150px 150px;
  }
  .col_4:nth-child(6) .offering_box {
    border-radius: 0 0 0 150px;
  }
  .offering_box_items {
    padding: 80px 45px 50px 45px;
  }
  .col_4:nth-child(4) .offering_box .offering_box_items,
  .col_4:nth-child(5) .offering_box .offering_box_items,
  .col_4:nth-child(6) .offering_box .offering_box_items {
    padding: 60px 45px 50px 45px !important;
  }
  .offering_icon img {
    height: 54px;
  }
  .event .flexbox {
    align-items: flex-start;
  }
  .event .col_6 .event_image img {
    height: 600px;
    object-fit: cover;
  }
  .community_events .event:nth-child(3) .col_5 {
    width: 75%;
  }
  .community_events .event:nth-child(3) .flexbox {
    justify-content: flex-start;
  }
  .event_details {
    width: 90%;
  }
  .motto_text {
    width: 70%;
  }
  .tab_content {
    animation: fadeIn 0.5s;
  }
  #campaign .section_sub_heading {
    width: 75%;
  }
  .campaign_cost_list .flexbox {
    flex-flow: wrap;
  }
  .campaign_cost_list .col_4 {
    width: 100%;
  }
  .campaign_details_items {
    flex-flow: wrap;
  }
  .campaign_single_cost_list_items {
    padding: 20px 25px;
  }
  .raised .col_3 {
    width: 40%;
  }
  .raised .col_9 {
    width: 60%;
  }
  .col_campaign_plan {
    width: 32%;
  }
  .col_campaign_plan:last-child {
    width: 36%;
  }
  .campaign_plan_box_items {
    padding: 50px 25px;
  }
  .donate_tab_btns {
    align-items: stretch;
  }
  .donate_tab_btns .tab_btn {
    white-space: unset;
    padding: 30px 35px;
  }
  .donate_tab_btns .tab_btn h4 {
    text-align: left;
  }
  .donation_tab_content_items {
    padding: 50px 35px;
  }
  .floor_plan_list {
    gap: 25px;
    margin-left: 40px;
    width: 88%;
    margin-top: 0;
  }
  .thank_you_items {
    width: 70%;
  }
  .thanks_text {
    width: 90%;
    margin: 25px auto;
  }
}

/* Portrait : Ipad mini */
@media only screen and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) and (min-device-width: 768px) and (max-device-width: 900px) {
  .chestnut_bg {
    height: 85vh;
  }
  #home_about {
    min-height: 75vh;
  }
  .motto_items {
    padding-top: 60px;
  }
}

/* Mobile Devices */
@media only screen and (min-device-width: 100px) and (max-device-width: 767px) {
  .container {
    max-width: 100%;
    width: auto;
    margin: 0 1rem !important;
  }
  .col_3,
  .col_4,
  .col_5,
  .col_6,
  .col_7,
  .col_8,
  .col_9 {
    width: 100%;
  }
  [data-load-container] {
    position: relative !important;
    overflow-x: hidden !important;
    overflow: visible;
    height: 100%;
    width: 100%;
  }
  .sec_gap {
    padding: 100px 0;
  }

  /* Header */
  .main_header {
    padding: 10px 0;
    border-bottom: 0;
  }
  .top_header .logo {
    z-index: 999;
  }
  .logo img {
    width: 120px;
    height: auto;
    z-index: 9;
  }
  .hamburger {
    position: relative;
    display: block;
    z-index: 9;
    cursor: pointer;
  }
  .hamburger div {
    height: 2.5px;
    width: 25px;
    background-color: var(--primaryDark);
    margin: 4px 0;
    transition: 0.5s ease;
  }

  /* Responsive Menu */
  .top_nav,
  .main_nav {
    position: fixed;
    min-height: auto;
    height: 100vh;
    width: 100%;
    background: #f0e8ea;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 99;
    transform: translateX(-100%);
    display: flex;
    flex-direction: column !important;
    align-items: flex-start !important;
    transition: transform 0.5s ease;
    opacity: 1;
    justify-content: center;
  }
  .nav_active {
    transform: translateY(0%) !important;
    transition: transform 0.5s ease;
  }
  .togglemenu .lineOne {
    transform: rotate(-45deg) translate(1px, -1px);
    z-index: 999;
  }
  .togglemenu .lineTwo {
    transform: rotate(45deg) translate(-5px, -6px);
    z-index: 999;
  }
  .hamburger.togglemenu {
    z-index: 999;
  }
  .no_overflow {
    overflow: hidden;
  }
  nav ul {
    position: absolute;
    height: auto;
    top: 0px;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
  }
  nav ul li {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    margin: 12px 0;
    width: 100%;
  }
  /* .main_header nav {
        display: none;
    } */
  .top_header nav ul li a {
    font-size: 2rem;
  }
  .top_header nav ul li a img {
    height: 20px;
    width: auto;
    margin-right: 10px;
  }
  .top_header nav ul li:last-child a {
    font-size: 1.5rem;
  }

  .main_header nav {
    background-color: var(--primaryLight);
  }
  .main_header nav ul li {
    width: calc(100% - 2rem);
    margin-top: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e3e3e3;
    padding: 12px 0;
  }
  .main_header nav ul li:last-child {
    padding-bottom: 0;
  }
  .main_header nav ul li a {
    font-size: 2.1rem;
    padding: 0;
  }
  .main_header nav ul li:last-child a {
    padding: 10px 0;
    justify-content: center;
  }

  /* Fonts */
  .hero_heading h1 {
    font-size: 9rem;
    line-height: 0.9;
  }
  .motto_heading h1 {
    font-size: 4.5rem;
  }
  #chestnut_hill .section_heading h1,
  #home_about .section_heading h1,
  .slogan_heading h1,
  .campaign_heading h1 {
    font-size: 3.5rem;
    line-height: 1;
  }
  h1 {
    font-size: 4.5rem;
  }
  h2 {
    font-size: 2.7rem;
  }
  .building_single_detail h2 {
    font-size: 3.5rem;
  }
  h3 {
    font-size: 2.2rem;
  }
  h4 {
    font-size: 1.875rem;
  }
  h5 {
    font-size: 1.55rem;
  }
  h6 {
    line-height: 1.4;
    font-size: 1.05rem;
  }
  p {
    font-size: 1rem;
  }

  /* Main */
  /* Hero */
  .hero_small_heading {
    width: 75%;
  }
  .hero_heading h1 span::after {
    height: 25px;
    bottom: 30px;
  }
  .hero_heading h1 {
    margin: 25px 0;
  }
  .hero_text {
    width: 100%;
  }
  #hero .flexbox {
    align-items: flex-start;
    justify-content: flex-end;
  }
  #hero .col_7 {
    width: 100%;
  }
  #hero .col_5 {
    margin-top: 60px;
  }
  .hero_image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
  .hero_sub_heading h4 {
    font-size: 2.2rem;
  }

  /* Carousel */
  .carousel_container {
    margin-left: 1rem;
  }

  /* Journey */
  #journey .col_5,
  #journey .col_7 {
    width: 100%;
  }
  .gallery .timeline_progress {
    width: calc(100% - 2rem);
  }
  .gallery .nav_arrow {
    width: 42px;
    height: 42px;
  }
  .gallery_col {
    width: 100% !important;
  }
  .gallery_col img {
    height: 420px;
  }
  .journey_text p {
    width: 100%;
  }

  /* Gallery / Services */
  .service_tabs,
  .floor_plan_tab_btns {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tab_btn h2::after {
    height: 16px;
  }
  .tabs_gallery_image img {
    height: 470px;
    object-fit: cover;
  }
  .tab_progress {
    margin: 0 30px;
  }
  .tab_contents_list {
    align-items: flex-start;
    margin-top: 60px;
  }

  /* Growth */
  #growth .section_sub_heading h6 br {
    display: none;
  }
  .growth_numbers .container {
    margin: 0 !important;
  }
  .growth_numbers .flexbox {
    display: inherit;
  }
  .growth_col {
    width: 50%;
  }
  .growth_box {
    width: 100%;
  }
  .growth_box_items {
    padding-left: 20px;
    padding-right: 20px;
  }
  .growth_text p {
    font-size: 0.85rem;
  }
  .growth_number_heading span {
    font-size: 0.7rem;
  }

  /* Community & Offerings */
  .community_headline {
    text-align: left;
  }
  .col_4:nth-child(1) .offering_box {
    border-radius: 0 180px 0 0;
  }
  .col_4:nth-child(2) .offering_box {
    border-radius: 180px 180px 0 0;
  }
  .col_4:nth-child(3) .offering_box {
    border-radius: 180px 0 0 0;
  }
  .col_4:nth-child(4) .offering_box {
    border-radius: 0 0 180px 0;
  }
  .col_4:nth-child(5) .offering_box {
    border-radius: 0px 0px 180px 180px;
  }
  .col_4:nth-child(6) .offering_box {
    border-radius: 0 0 0 180px;
  }
  .offering_icon img {
    height: 60px;
  }
  .offering_heading h4 {
    font-size: 2.2rem;
  }
  .event .flexbox {
    align-items: flex-start;
  }
  .community_events .event:nth-child(1) .event_image img,
  .community_events .event:nth-child(3) .event_image img {
    width: 100%;
    min-height: 400px;
    max-height: 80vh;
    height: 100%;
  }
  .event .col_6 .event_image img {
    min-height: 400px;
    height: 100%;
    max-height: 80vh;
    object-fit: cover;
  }
  .community_events .event:nth-child(3) .flexbox {
    justify-content: flex-start;
  }
  .community_events .event:nth-child(1) .col_7,
  .community_events .event:nth-child(3) .col_5 {
    margin-top: 0px;
  }
  .event_details {
    width: 100%;
    margin-top: 40px;
  }
  .event_detail_text {
    width: 95%;
  }

  /* Motto */
  .motto_heading {
    padding: 5px 25px;
  }
  .motto_text {
    width: 80%;
  }

  /* Chestnut */
  .chestnut_bg,
  .home_about {
    height: 90vh;
  }
  .building_details {
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
  }
  .building_highlights .sec_gap {
    padding-bottom: 80px;
  }
  .building_highlight_image img:last-child {
    display: none;
  }
  #home_about {
    align-items: flex-start;
    min-height: 85vh;
  }

  /* Floor Plan */
  .floor_features .flexbox {
    flex-direction: column;
  }
  .single_floor_feature {
    width: 100% !important;
  }
  .floor_feature_sub_heading {
    margin-bottom: 25px;
  }

  /* Floor Gallery */
  .tab_content {
    animation: fadeIn 0.5s;
  }
  .floor_plan_carousel .tabs_gallery_image img {
    height: 470px;
    max-height: 80vh;
    object-fit: cover;
  }
  .floor_plan_list {
    gap: 20px;
    margin-left: 0px;
    width: 100%;
    margin-top: 50px;
    flex-direction: column !important;
  }
  .floor_plan_list_number {
    margin-bottom: 0;
    margin-right: 10px;
  }
  .single_floor_plan {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Campaign */
  #campaign {
    background: linear-gradient(180deg, #f4f4f4 -0.04%, #d36c7a 9.95%);
  }
  .project_timeline {
    border-radius: 20px 20px 0 0;
  }
  .project_purchase {
    border-radius: 0 !important;
  }
  .campaign_details_heading h2 {
    display: flex;
    flex-direction: column;
  }
  span.project_price {
    margin-left: 0;
  }
  h2 span.project_price {
    font-size: 3rem;
  }
  .campaign_details_heading:first-child {
    margin-bottom: 20px;
  }
  #campaign .section_sub_heading {
    width: 95%;
  }
  .campaign_cost_list .flexbox {
    flex-flow: wrap;
  }
  .campaign_cost_list .col_4 {
    width: 100%;
  }
  .campaign_details_items {
    flex-flow: wrap;
  }
  .campaign_single_cost_list_items {
    padding: 20px 25px;
  }
  .raised_items {
    padding: 30px;
  }
  .raised_items .flexbox {
    flex-flow: wrap;
  }
  .money_target:last-child {
    text-align: left;
  }

  /* Campaign Images */
  .campaign_gallery .flexbox {
    flex-flow: wrap;
  }

  /* Campaign Plans */
  .col_campaign_plan {
    width: 100%;
  }
  .col_campaign_plan:last-child {
    width: 100%;
  }
  .campaign_plannings {
    border: none;
  }
  .campaign_plan_box {
    border-top: 2px dashed rgba(255, 255, 255, 0.5);
    border-right: none;
  }
  .col_campaign_plan:last-child .campaign_plan_box {
    border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
  }
  .campaign_plan_box_items {
    padding: 50px 25px;
  }
  .campaign_name {
    width: 70%;
  }
  .campaign_plan_box h2,
  .campaign_plan_box h6 {
    color: var(--primaryLight);
  }

  /* Donate */
  .donate_tab_btns {
    align-items: flex-start;
    flex-direction: column;
  }
  .donate_tab_btns .tab_btn {
    white-space: unset;
    padding: 30px 20px;
  }
  .donate_tab_btns .tab_btn h4 {
    text-align: left;
  }
  .donation_tab_content_items {
    padding: 50px 20px;
  }
  .donation_item label {
    height: auto;
    padding: 15px 30px;
  }
  .donation_flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .donation_box span.seat {
    margin: 0;
    margin-top: 5px;
  }

  /* Slogan */
  .slogan_heading {
    text-align: left;
  }
  .thank_you_items {
    width: 100%;
  }
  .thanks_text {
    width: 90%;
    margin: 25px auto;
  }

  /* Footer */
  .footer_address,
  .footer_phone {
    font-size: 0.95rem;
  }

  .motto_items {
    padding-top: 110px;
  }
}
