/* Mobile CSS */

@media all and (max-width: 1500px)  {



	/* Menu Adjustments */
	.menu-main-container {

	  #menu-main {
		gap: 40px;

		.sub-menu {
		  min-width: 250px;

		  li {
			a { line-height: 2; padding: 0 10px; font-size: .7em;}
		  }
		}
	  }

	}

	.tdl_menu {width: 90%;}

}

@media all and (max-width: 1300px)  {
	/* Mobile Break	 */
	header { justify-content: end;}

	/* Move home (menu spacer) to first position */
	#tdl_mm_container ul {
		display: flex; flex-direction: column;

		li:nth-child(3) { order: -1;}
	}
}

@media all and (max-width: 1275px)  {


	:root{
	  --content-width: 90%;
	  }



	/* Menu Adjustments */
	.menu-main-container {

	  position: relative;
	  top: 8px;

  & .tdl_menu {
    & li {
      &.logo-spacer {
        flex: 0 0 250px; justify-content: center;
      		}
      	}
      }


	  #menu-main {
		gap: 30px;

		/* a { font-size: 14px; font-weight: 400;} */

		.sub-menu {
		  min-width: 250px;

		  li {
			a { line-height: 2; padding: 0 10px; font-size: .7em;}
		  }
		}
	  }

	}

	/* Logo */
	/* .logo { height: auto; width: 250px;}
	.logo img { height: auto; width: 100%;} */

	/* Top Menu Bar */
	.headerTop {
	  top: var(--small-vc-padding);
	  right: var(--default-vc-padding);

	  li a {
		padding: 4px 20px;
		font-size: .8em;
	  }
	}

	/* Fix Single Property Layout */
	.single-properties {
		.tdl-property-rates-container {
			table {
				tr {
					display: flex; flex-direction: column; text-align: center;
					td:last-of-type { text-align: center;}
				}
			}
		}
	}
}


@media all and (max-width: 1250px)  {

}

@media all and (max-width: 1050px)  {
	/* Switch to mobile menu */
}

@media all and (max-width: 1000px)  {
	/* Stack Regular Content */
	.vc_row:not(.tdlButtonBlock) { flex-direction: column;}

	/* Change Blog Layout to 2 Columns */
	.tdl-post-container {

	  &.columns {
		grid-template-columns: repeat(2, 1fr);

		.tdl-blog-post {
		  &:last-of-type { display: none;}
		}
	  }
  	}

	/* Stack Split Block */
	.tdl_split_block_container {

	  &.background_left {
		flex-direction: column;

		.content_wrapper { width: var(--content-width); padding-right: 4%; padding-left: 4%; padding-top: 50px; padding-bottom: 50px;}
	  }

	  &.background_right {
		flex-direction: column;

		.content_wrapper { width: var(--content-width); padding-right: 4%; padding-left: 4%; padding-top: 50px; padding-bottom: 50px;}
	  }
  	}

	/* Remove CTA line break */
	.tdlCallToActionContainer br { display: none;}

	/* Fix Single Property Layout */
	.single-properties {
		.tdl_row {
			.tdl_row_wrapper {
				flex-direction: column-reverse !important;
				.tdl_column { width: 100% !important;}
			}
		}

		.tdl-property-rates-container {
			table {
				tr {
					display: flex; flex-direction: column; text-align: center;
					td:last-of-type { text-align: center;}
				}
			}
		}
	}

}

@media all and (max-width: 900px)  {

	/* Stack TDL Columns */
	.tdl_row {
		.tdl_inner_row {
			flex-direction: column;
			.tdl_column {
				width: 100% !important;
			}
		}
		.tdl_row_wrapper {
			flex-direction: column !important;
			.tdl_column {
				width: 100% !important;
			}
		}
	}


	/* Stack Reviews */
	.tdl-testimonial-container {
		display: block !important;
	}

	/* Stack Footer */
	.footer_column_wrapper {
		display: flex !important; flex-direction: column; gap: var(--default-margin);
	}

	/* Condense Feature Columns */
	.single-properties {
		.tdl-property-information-container {
			.column-wrapper {
				.property-details {
					.details {
						ul { column-count: 2;}
					}
				}
			}
		}
	}

	.page-id-49 {
		.tdl_row {
			.tdl_row_wrapper {
				flex-direction: column !important;
				.tdl_column { width: 100% !important;}
			}
		}
	}
}

@media all and (max-width: 768px)  {
	.single-post {
		.recent-post-container {
			.post { width: 100%; margin-right: 0; margin-bottom: var(--default-margin);}
		}
	}
}

@media all and (max-width: 700px)  {
	/* Stack TDL Button Block */
	.vc_row.tdlButtonBlock { flex-direction: column;}

	/* Stack Properties */
	.tdlPropertyBlock {
		.tdlPropertyWrapper {
			display: block !important;

			.tdlProperty { margin-bottom: var(--default-margin);}
		}
	}
}

@media all and (max-width: 600px)  {
	/* Change Blog Layout to 2 Columns */
	.tdl-post-container {

	  &.columns {
		grid-template-columns: repeat(1, 1fr);

		.tdl-blog-post {
		  &:last-of-type { display: flex;}
		}
	  }
  	}

	/* Stack Misc Blocks */
	/* Meetings & Agendas */
	.tdl-meetings-agendas {
	  a {
		flex-direction: column;
	  }
	}

	/* Patient Transport */
	.tdl-split-logo {
	  margin-bottom: var(--default-vc-padding) ;

	  .wrapper {
		flex-direction: column;
		gap: 100px;
		min-height: auto;

		.image-wrapper{
		  flex: 0 0 33%;
		  align-content: center;

		  img { width: 100%;}
		}
		.content-wrapper {
		  flex: 1;
		  align-content: center;

		  .content {}
		}
	  }

	}

	/* Icon Block */
	.tdl-icon-block {
	  &:nth-of-type(even) { background: var(--yellow);}

	  .wrapper {
		flex-direction: column;
		gap: 0;

		.content-wrapper {
			h3 { text-align: center;}
		}
	  }
  	}

	  /* Condense Feature Columns */
	  .single-properties {
		  .tdl-property-information-container {
			  .column-wrapper {
				  .property-details {
					  .details {
						  ul { column-count: 1;}
					  }
				  }
			  }
		  }
	  }

	/* Single Properties Fix */
	.single-properties {
		.tdl-property-offerings-container {
			ul { columns: 1;}
		}
		.tdl-property-photos-container {
			.grid-wrapper { grid-template-columns: repeat(2, 1fr)}
		}

		.tdl_row {
			&:first-of-type:has(.tdl-featured-banner-container) { margin-bottom: 0 !important;}
		}
	}

	.logo { height: 120px; width: auto;}
}

@media all and (max-width: 550px)  {
	/* Stack Header */
	header { padding-top: 50px;}

	.headerTop {
	  top: 0;
	  right: auto;
	  left: 0;
	  width: 100vw;

	  ul {
		display: inline-block;
		width: 100%;
		margin: 0;
		padding: 0;
	  }

	  li a {
		padding: 0;
		font-size: 1em;
		display: inline-block;
		width: 100%;
		line-height: 50px;
		text-align: center;
	  }

	}

}

@media all and (max-width: 500px)  {
	/* Fix mobile menu */
	#tdl_mm_container.slide { width: 74% !important;}

	.tdlPropertyBlock {
	  .tdlPropertyWrapper {
		.tdlProperty {
		  .contentWrapper {
			h4 { text-align: center;}
			.details-wrapper {
				flex-direction: column;
				.break { display: none;}
			}
			.from-price {
				text-align: center;
			}
		  }
		}
	  }
  	}
}

@media all and (max-width: 400px)  {
	.logo { height: auto; width: 150px; margin-top: 20px;}

}