


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

  /* structure */
  #page-container {
    padding-top: 88px !important;
	}

  /* footer */
  #menu-footer-menu {
		width: 450px;
	}

  /* homepage */
  .home #slider-section h1 {
		font-size: 5vw;
	}
  .home #slider-section .et_pb_button {
		font-size: 3.75vw;
	}

  /* video */
  .envira-gallery-item {
  	padding-top: 60px;
  }

    /* hero */
  .page-child.et_pb_pagebuilder_layout #main-content .landing-hero-text-section h2,
  .page-child.et_pb_pagebuilder_layout #main-content h2.landing-text-heading {
    font-size: 5.5vw;
  }

}

/* short browsers */
@media screen and (min-width:480px) and (max-height:1100px) {

  .home #slider-section h1 {
		font-size: 3.5vh;
	}
  .home #slider-section .et_pb_button {
		font-size: 2.75vh;
	}

}



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

  /* header */
  #et_top_search {
  	right: 50px;
  }

  /* main text */
  h1.entry-title {
		/* font-size: 5.075vw !important; */
    font-size: 4.5vw !important;
	}
  #main-content h2.landing-text-heading,
  .page-child.et_pb_pagebuilder_layout #main-content h2.landing-text-heading {
    /* font-size: 32px; */
    font-size: 48px;
	}
  .et_pb_pagebuilder_layout .et_pb_section h2 {
		font-size: 42px;
	}

  /* home */
  .home #slider-section .et_pb_button {
		font-size: 2vw;
	}

  /* donate */
  .page-id-90 .options-section h2 {
  	font-size: 28px;
  }
  /* contact */
  .page-id-92.et_pb_pagebuilder_layout .page-links-section h2 {
		font-size: 30px;
	}
  .et_pb_pagebuilder_layout .et_pb_section h2.et_pb_toggle_title {
    font-size: 24px;
  }

  /* services */
  .page-id-84 #what-we-offer .et_pb_column {
    width: 23.875%;
    margin-right: 1.5%;
  }
  .single-service .et_post_meta_wrapper img {
		width: 5vw;
	}

}

@media screen and (min-width:600px) and (min-height:1000px) {

}




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

  /* home */
  .home #slider-section .et_pb_column {
  	width: 50% !important;
  	margin-right: 0 !important;
  }
  .home #slider-section .text-col {
  	padding-top: 2%;
  }
  .home #slider-section h1 {
    /* font-size: 3.4vw; */
  }
  .home #slider-section .soliloquy-item img {
  	margin: 0;
  	position: absolute;
  	left: auto;
    right: 0;
  	top: 50%;
    -webkit-transform:translateY(-50%);
  	-moz-transform:translateY(-50%);
  	-ms-transform:translateY(-50%);
  	-o-transform:translateY(-50%);
  	transform:translateY(-50%);
  }
  .home .soliloquy-container .soliloquy-image {
  	width: 100%;
  }
  .home #slider-section .text-col {
		padding-top: 5%;
	}
  .home .mapp-layout .mapp-list {
    display: block;
  }

  /* landing pages */
  .landing-hero-section {
    min-height: 600px !important;
    margin: 0 !important;
  }
  .landing-hero-text {
  	opacity: 1;
  }

  /* locations */
  .mapp-layout .mapp-wrapper {
		height: 500px !important;
	}
  .mapp-layout .mapp-list {
    column-count: 2;
    column-gap: 20px;
  }
  .single-location .location-map {
  	float: left;
  	width: 300px !important;
    margin-right: 30px;
  }
  .single-location .location-map .mapp-layout {
  	float: left;
  	width: 100%;
  }
  .single-location .location-data {
  	float: left;
  	width: calc(100% - 330px);
  }
  .single-location #left-area .departments li {
  	float: left;
  	width: 45%;
  	margin: 40px 0 0 10%;
  }
  .single-location #left-area .departments li:nth-child(odd) {
    clear: left;
  	margin-left: 0;
  }
  .single-location #left-area .departments li:first-child:nth-last-child(1) { /* only one */
  	float: none;
  	margin: 0 auto;
    padding-top: 30px;
  }
  .page-template-page-locations .county {
  	float: left;
  	width: 30%;
  	margin-left: 5%;
  }
  .page-template-page-locations .county:first-child {
  	margin-left: 0;
  }
  .page-template-page-locations .county h3 {
		margin-top: 0;
	}

  /* news */
  .page-id-817 .recent-news {
  	column-count: 2;
  	column-width: 48%;
  	column-gap: 4%;
  }
  .page-id-817 .recent-news article {
  	-webkit-column-break-inside: avoid;
  	page-break-inside: avoid;
  	break-inside: avoid;
  }

}



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

  /* locations */
  .single-location .location-map {
    width: 400px !important;
  }
  .single-location .location-data {
  	float: left;
  	width: calc(100% - 430px);
  }
  .single-location #left-area .services-container > .services {
		margin-top: 0;
		column-count: 2;
		column-gap: 30px;
	}

}



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


}


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

  #et_top_search {
		right: 86px;
		bottom: 0px;
	}

  /* Homepage */
  .home .news-section article {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .home .news-section article:first-child {
    margin-left: 0;
  }
  .home .news-section article:nth-child(n+2) {
    margin-top: 0;
  }
  .home .news-section article figure {
    display: block;
  }
  .home .news-section article h1 {
    margin: 20px 0 10px;
    font-size: 24px;
  }

  /* behavioral health training */
  .page-id-841 .page-builder .links {
    column-count: 2;
    column-gap: 3%;
  }

}



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

  /* header */
  #top-menu {
    display: none;
  }

}





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

  /* header */
	#et_top_search {
	  right: 0;
		bottom: 28px;
	}
  .et-search-form {
  	right: 0px;
  }
  span.et_close_search_field {
    top: 35px;
		right: 0;
	}
	#main-header.et-fixed-header #et_top_search {
		bottom: 36px;
	}

  /* footer */
  #main-footer {
  	padding: 30px 0 50px;
  }
  #menu-footer-menu,
  .footer-seals {
    float: left;
    width: calc(98% - 500px);
    max-width: none;
  	margin: 0;
  }
  #menu-footer-menu li {
  	text-align: left;
  }
  .footer-seals {
    float: left;
    width: 350px;
  }
  #main-footer .social-donate {
    float: left;
    width: 150px;
    margin: 20px 0 0 2%;
  }
  #main-footer .social {
  	margin: 0;
  }
  #main-footer .donate {
  	width: 128px;
  	margin: 30px 0 0 8px;
  }
  #footer-bottom {
    float: left;
    clear: left;
    width: 100%;
  }
  #main-footer .copyright {
    float: left;
  	width: 50%;
  	margin: 30px 0 0;
  	text-align: left;
  }
  #main-footer .credit {
    float: right;
  	width: 50%;
  	margin: 30px 0 0;
  	text-align: right;
  }
  #main-footer .credit p {
    margin-top: 0;
  }

  /* main text */
  h1.entry-title::after {
    bottom: -20px;
    width: 160px;
  	height: 10px;
  }

  /* hero */
  h2.landing-text-heading,
  .page-child.et_pb_pagebuilder_layout #main-content h2.landing-text-heading {
    font-size: 2.7vw;
	}

  /* homepage */
  .home #main-header > .container {
  	height: 100px;
  	min-height: 100px;
  	-moz-transition: height 0.5s linear;
  	-ms-transition: height 0.5s linear;
  	-o-transition: height 0.5s linear;
  	-webkit-transition: height 0.5s linear;
  	transition: height 0.5s linear;
  }
  .home.et_header_style_left #et-top-navigation {
		padding-top: 68px;
	}
  .home.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 20px;
  }
  .home #page-container {
    padding-top: 115px !important;
  }
  .home #page-container #main-header.et-fixed-header > .container {
    padding-top: 0 !important;
  }
  .home #slider-section .text-col > div:first-child {
		margin-bottom: 30px;
	}

  /* landing pages */
  .landing-hero-section .landing-hero-text {
  	display: block; /* hide this for mobile */
  }
  .landing-hero-text-section { /* created by custom.js for mobile */
    display: none;  /* hide when not mobile */
  }

  /* locations */
  .mapp-layout .mapp-list {
    column-count: 3;
  }
  .single-location #left-area p.official-name {
  	margin-top: 20px;
    font-size: 16px;
  }
  .single-location .location-description-inner {
		font-size: 21px;
	}
  .single-location #left-area .departments li {
  	width: 30%;
    margin: 40px 0 0 5%;
  }
  .single-location #left-area .departments li:nth-child(odd) {
    clear: none; /* reset */
  	margin-left: 5%; /* reset */
  }
  .single-location #left-area .departments li:first-child,
  .single-location #left-area .departments li:nth-child(3n+1) {
    clear: left;
  	margin-left: 0;
  }
  .single-location #left-area .departments li:nth-child(4):last-child,
  .single-location #left-area .departments li:nth-child(7):last-child,
  .single-location #left-area .departments li:nth-child(10):last-child,
  .single-location #left-area .departments li:nth-child(13):last-child {
  	float: none;
  	margin: 0 auto;
    padding-top: 30px;
  }
  /* last row has two items; nth-last-child(2) = 2nd from last */
  .single-location #left-area .departments li:first-child:nth-last-child(2),
  .single-location #left-area .departments li:nth-child(4):nth-last-child(2),
  .single-location #left-area .departments li:nth-child(7):nth-last-child(2),
  .single-location #left-area .departments li:nth-child(10):nth-last-child(2),
  .single-location #left-area .departments li:nth-child(13):nth-last-child(2) {
      margin-left: 17.5%;
  }

  /* services */
  .single-location .services-container > .services {
  	column-count: 2;
  	column-gap: 30px;
  }
  .single-service .et_post_meta_wrapper img {
		width: 48px;
	}

}




@media (min-width:1060px) {

    /* home */
  .home #slider-section h1 {
    font-size: 56px;
  }
  .home #slider-section .et_pb_button {
    font-size: 34px; /* 'max-font-size' */
	}

  /* locations */
  .single-location .location-description-outer,
	.single-location .departments-outer,
	.single-location .services-container-outer {
	  margin-left: calc(50% - 50vw);
	  margin-right: calc(50% - 50vw);
	}

}



/* short browsers */
@media screen and (min-width:1060px) and (max-height:1100px) {

  .home #slider-section h1 {
		font-size: 5.3vh;
	}
  .home #slider-section .et_pb_button {
		font-size: 3.5vh;
	}

}





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

  h1.entry-title {
  	font-size: 52px !important;
  }
  
  /* services */
  .single-service article.service > .et_post_meta_wrapper:first-child::after {
  	bottom: -30px;
  	width: 220px;
  	height: 12px;
  }

}



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

  /* header */
  #main-header .translate-container {
    right: 720px;
    top: 15px;
  }

}



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


}



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

  /* hero */
  .landing-hero-section {
    min-height: 800px !important;
  }
  h2.landing-text-heading,
  .page-child.et_pb_pagebuilder_layout #main-content h2.landing-text-heading {
    font-size: 40px;
	}

}

@media screen and (min-width:1500px) and (min-height:1000px) {

  /* home */
  .home #slider-section h1 {
    font-size: 60px; /* 'max-font-size' */
  }
  .home #slider-section .et_pb_button {
    font-size: 40px; /* 'max-font-size' */
	}

}




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


}
