@charset "UTF-8";
/* CSS Document */

:root {
  --accent-color: #4d7eed;
  --accent-color-hover: #1d52b7;
  --accent-color-alt: #fcd857;
  --accent-color-alt-hover: #f5b249;
  --heading-color: #1d52b7;
}

* {
	box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
	color: var(--accent-color);
}

h1.alt, h2.alt, h3.alt, h4.alt, h5.alt {
	color: var(--accent-color-alt-hover);
}

section.header {
	padding: 10px 0;
	height: 60px;
}

section.header nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

    section.header .branding img.logo {
    	max-height: 40px;
    }

    section.header .topnav #menu-toggle {
    	display: none;
    }

    section.header .topnav #menu-toggle-btn {
	  background: var(--accent-color);
	  display: block;
	  height: 3px;
	  position: relative;
	  transition: background .2s ease-out;
	  width: 30px;
	  z-index: 99999;
		cursor: pointer;
	}
    section.header .topnav #menu-toggle-btn:before,
    section.header .topnav #menu-toggle-btn:after {
	  background: var(--accent-color);
	  content: '';
	  display: block;
	  height: 100%;
	  position: absolute;
	  transition: all .2s ease-out;
	  width: 100%;
	}

    section.header .topnav #menu-toggle-btn:before {
	  top: 10px;
	}

    section.header .topnav #menu-toggle-btn:after {
	  top: -10px;
	}

	section.header .topnav #menu-toggle:checked ~ #menu-toggle-btn {
      background: transparent;
	}

	section.header .topnav #menu-toggle:checked ~ #menu-toggle-btn:before {
	  transform: rotate(-45deg);
	}

	section.header .topnav #menu-toggle:checked ~ #menu-toggle-btn:after {
	  transform: rotate(45deg);
	}

	section.header .topnav #menu-toggle:checked ~ #menu-toggle-btn:before,
	section.header .topnav #menu-toggle:checked ~ #menu-toggle-btn:after {
		top: 0;
		background: white;
	}

    section.header .topnav > ul {
    	position: fixed;
    	right: 0;
    	top: 0;
    	width: 0;
    	height: 100vh;
    	background: var(--accent-color);
    	z-index: 9999;
    	transition: width 0.2s ease;
    }

    section.header .topnav #menu-toggle:checked ~ ul {
    	width: 300px;
    	transition: width 0.2s ease;
    }

    section.header .topnav > ul li.link-item,
    section.header .topnav > ul li.link-dropdown {
    	display: block;
    	text-decoration: none;
    	font-size: 12pt;
    	margin: 10px 10px 10px 20px;
        color: white;
    	cursor: pointer;
    	position: relative;
    }

    section.header .topnav > ul > li:first-child {
    	margin-top: 60px;
    }
    section.header .topnav > ul > li:last-child {
    	margin-bottom: 10px;
    }

    section.header .topnav li.link-item a {
    	display: block;
    	text-decoration: none;
        color: white;
    }


    section.header .topnav > ul ul.dropdown {
    	margin: 0 0 0 10px;
    }

section.hero {
	padding: 30px 10px 0;
	text-align: center;
	background: #fbfdff;
}

	section.hero .container {
		display: flex;
		flex-direction: column;
	}

    section.hero .hero-heading h1 {
    	font-weight: bold;
    	font-size: 24pt;
    	color: #656565;
    }

.section {
	padding: 40px 0;

}

.section.alt {
	background: var(--accent-color-hover);
	color: white;
}

.section.pageheading {
	background: #fbfdff;
	text-align: center;
}

.section.pageheading h1 {
	margin-bottom: 0;
	font-weight:  bold;
}

.section.pageheading.categories-heading .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.section.pageheading.categories-heading h1 {
	font-size: 24pt;
	text-align: center;
}

.section.pageheading.categories-heading img {
	width: 150px;
	margin-bottom: 15px;
	border-radius: 100%;
}

.section.pagecontent p {
	text-align: justify;
}

.section.pagecontent a {
	text-decoration: none;
	color: var(--accent-color);
}
.section.pagecontent a:hover {
	color: var(--accent-color-hover);
}

.section p:last-child {
	margin-bottom: 0;
}

/* EDUCATION PAGE LIST */

.education_list {
    background: #d5d5d5;
    border-radius: 50px;
    display:  flex;
    flex-direction: column;
    min-height: 300px;
    justify-content: center;
	margin-bottom: 50px;
}

.education_list .logo {
	min-height: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 60px;
    background: url('../images/education_list_bg_down.png') center bottom no-repeat;
}

.education_list .logo img {
    width: auto;
}

.education_list .caption {
    color: #212d6a;
    font-size: 9pt;
    text-transform: uppercase;
}

.education_list .content {
    background: #f4f4f4;
    border-radius: 50px;
    padding: 40px;
    margin: 0;
}

.education_list .title {
    font-weight: bold;
    font-size: 24px;
    color: #212d6a;
}

.education_list .subtitle {
    font-weight: bold;
    font-size: 19px;
    color: #00a8e1;
    margin-bottom: 5px;
}

.education_list a.button {
    background: var(--accent-color);
    border: none;
    color: white;
}

.education_list a.button:hover {
    background: var(--accent-color-hover);
    border: none;
    color: white;
}

/* Ads List */

.related_ads {
    margin: 30px auto;
}

.related_ads .related_ads_heading {
    color: inherit;
    font-size: 12pt;
    letter-spacing: normal;
    font-weight: bold;
    margin: 5px;
}

.related_ads_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
}

.related_ads_list * {

    color: white;
}

.related_ads_list .item {
    width: calc(100% - 10px);
    margin: 5px;
    border-left: 8px solid;
    padding: 15px 10px;
    background: #545454;
    font-size: 14pt;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}


.related_ads_list .item .ads_count {
   flex: 0 0 25px;
}

.related_ads_list .item .ads_title {
   flex: 1 1 auto;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.related_ads_list .item .ads_icon {
    font-size: 20pt;
    line-height: normal;
    flex: 0 0 50px;

}

    .related_ads_list .item:nth-child(1){
        border-color: #1f8a70;
    }
    .related_ads_list .item:nth-child(1) .ads_icon {
        color: #fd7401;
    }

    .related_ads_list .item:nth-child(2){
        border-color: #bedb39;
    }
    .related_ads_list .item:nth-child(2) .ads_icon {
        color: #ffd205;
    }

    .related_ads_list .item:nth-child(3){
        border-color: #fd7401;
    }
    .related_ads_list .item:nth-child(3) .ads_icon {
        color: #65c0a1;
    }

    .related_ads_list .item:nth-child(4){
        border-color: #034458;
    }
    .related_ads_list .item:nth-child(4) .ads_icon {
        color: #4f9bd6;
    }

.related_ads_list .item:hover {
    background: #6a6a6a;
}


/* Senior Living Form */

form#search {
	text-align: center;
	width: auto;
	margin: 50px auto;
}

form#search > div.searchbox {
	display: inline-block;
	clear: both;
}

form#search #placesearch {
    min-width: 200px;
    font-size: 16pt;
    height: 60px;
    float: left;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-color: lightgray;
}

form#search #placesearch:focus-within {
	border-color: var(--accent-color);
}

form#search #placesearch_submit { 
    font-size: 14pt;
    height: 60px;
    padding: 0 20px;
    float: left;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-color: var(--accent-color);
    background: var(--accent-color);
}

form#search #placesearch_submit:hover {
    border-color: var(--accent-color-hover);
    background: var(--accent-color-hover);
}

.align-center {
	margin: auto;
}

/* FOOTER */
section.footer {
	margin-top: 50px;
	border-top: 5px solid var(--accent-color);
    background: #fbfdff;
    padding: 20px 0;
	color: var(--accent-color-hover);
	font-size: 9pt;
	text-align: right;
}

    section.footer a,
    section.header a:hover {	
        color: var(--accent-color-hover);
        font-weight: bold;
        text-decoration: none;
    }

    section.footer p {
    	margin-bottom: 10px;
    }

    section.footer .footernav img.logo {
    	margin-bottom: 10px;
    }

blockquote {
	border-left: 5px solid var(--accent-color-alt);
	padding: 10px 0 10px 20px;
}

blockquote form {
	margin: 0;
}

.button.button-cta {
	font-size: 20pt;
	background: #faca47;
	background: linear-gradient(0deg, #ffeb80 0%, #faca47 75%);
	border-radius: 10px;
	border: 2px solid #ecbb36;
	border-top-color:  #ffeb80;
	border-left-color:  #ffeb80;
	line-height: normal;
	padding: 20px 50px;
	color: black !important;
	height: auto;
	margin: auto;
	transition: all 0.5s ease;
	text-shadow: 1px 1px 1px white;
}

.button.button-cta:hover {
	transform: scale(1.1);
	background: #fddf4b;
	background: linear-gradient(0deg, #ffeb80 0%, #ffef97 75%);
}

/* FRONT PAGE */

    .section.intro p {
    	text-align: center;
    }

    div.categories-grid {
    	margin-bottom: 20px;
    	display: flex;
    	flex-wrap: wrap;
    	justify-content: center;
    }

    div.categories-grid .item {
    	display: inline-block;
    	max-width: 150px;
    	text-align: center;
    	margin: 0 15px 20px;
    }


    div.categories-grid .item a img.category-image {
    	background: #f0f4f7;
    	min-width: 150px;
    	min-height: 150px;
    	width: 150px;
    	border-radius: 150px;
    	opacity: 0.8;
    	transition: all 0.4s ease;
    }

    div.categories-grid .item a {
    	text-decoration: none;
    	font-weight: bold;
    	color: #646464;
    }

    div.categories-grid .item a:hover {
    	text-decoration: none;
    	color: var(--accent-color-hover);
    }

    div.categories-grid .item a:hover img.category-image {
        opacity: 1.0;
    	transition: all 0.4s ease;
	}
/* Larger than phablet */
@media (min-width: 550px) {

    section.header .topnav {
    	display: block;
    }

	section.header .topnav #menu-toggle-btn {
		display: none;
	}

    section.header .topnav > ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: inline-block;
        background: none;
        height: auto;
        width: auto !important;
        position:  relative;
    }

    section.header .topnav > ul > li.link-item,
    section.header .topnav > ul > li.link-dropdown {
    	display: inline-block;
    	text-decoration: none;
    	font-size: 12pt;
    	margin: 0;
    	margin-right: 10px;
    	color: var(--accent-color);
    	cursor: pointer;
    	position: relative;
    }

    section.header .topnav > ul > li.link-dropdown:after {
	    font-size: 10pt;
        content:'\25BC';
    }

    section.header .topnav li.link-item a {
    	display: block;
    	text-decoration: none;
        color: var(--accent-color);
    }

    
    section.header .topnav li.link-dropdown:hover,
    section.header .topnav li.link-item a:hover {
        color: var(--accent-color-hover);
        font-weight: normal;
    }

        section.header .topnav > ul > li ul.dropdown {
		  background: rgba(256, 256, 256, 0.98);
		  visibility: hidden;
		  opacity: 0;
		  min-width: 200px;
		  position: absolute;
		  left: -10px;
		  display: none;
		  text-align: left;
		  border-radius: 3px;
		  overflow: hidden;
		  z-index: 9999;
		  list-style-type: none;
		  padding-top: 5px;
		  border-top: 3px solid var(--accent-color);
		  border-top-right-radius: 0;
		  border-top-left-radius: 0;
		}

		section.header .topnav > ul > li:hover > ul.dropdown,
		section.header .topnav > ul > li:focus-within > ul.dropdown,
		section.header .topnav > ul > li > ul.dropdown:hover,
		section.header .topnav > ul > li > ul.dropdown:focus-within {
		  visibility: visible;
		  opacity: 1;
		  display: block;
		}
		

		section.header .topnav ul.dropdown li {
		    display: block;
		    padding: 0 10px;
		    margin: 10px;
		    border-bottom: 1px solid #e0e4e8;
	    }

        
		section.header .topnav ul.dropdown li:last-child {
    		border-bottom: none;
    	}

		section.header .topnav a.link-item:hover {
			color: var(--accent-color-hover);
		}

    header .topnav a.link-item:last-child {
    	margin: 0;
    }
    
}

/* Larger than tablet */
@media (min-width: 750px) {


	.education_list {
		flex-direction: row;
	}

	.education_list .logo {
		min-width: 300px;
		justify-content: center;
		background: url('../images/education_list_bg_right.png') right center no-repeat;
		padding: 0;
	}
	
	.education_list .logo img {
		margin: 30px auto 10px;
	}

	form#search #placesearch {
		min-width: 500px;
	}

    .related_ads_list .item {
        width: calc(50% - 10px);
    }

}

/* Larger than desktop */
@media (min-width: 1000px) {


	form#search #placesearch {
		min-width: 700px;
	}
	
	
	section.hero {
		text-align: left;
	}

	section.hero .container {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-content: flex-start;
		align-items: center;
	}

    section.hero .hero-heading {
    	flex: 0 0 50%;
        align-self: center;
    	margin-right: 20px;
    }

    section.hero .hero-image {
    	flex: 1 1 auto;
        align-self: flex-end;
    }


	.section.pageheading.categories-heading .container {
		flex-direction: row;
		align-items: center;
	}

	.section.pageheading.categories-heading h1 {
		font-size: 30pt;
		text-align: left;
	}

	.section.pageheading.categories-heading img {
		width: 150px;
		margin-bottom: 0;
		margin-right: 15px;
	}


}

/* Larger than Desktop HD */
@media (min-width: 1200px) {

    section.hero .hero-heading {
    	flex: 0 0 40%;
    }

    section.hero .hero-heading h1 {
    	font-size: 28pt;
    }
    
    section.hero .hero-image {
    	flex: 1 1 auto;
    }

}

