body,
html {
    height: 100%;
    width: 100%;
    background: #D3D8E1;
}

* > * {
    font-family: "Open Sans", Arial;
    font-size: 12px;
}

ul, li {
    list-style: none;
}

*,
*::before,
*::after {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.5em;
    font-weight: 400;
}

h2 {
    font-size: 1.3em;
    font-weight: 400;
}

#map {
    height: 500px;
}

.map-container {
-ms-flex: 1 0 auto;
   flex: 1;
  
}

.map-link-button{
    background: 0 0;
    border: none;
    color: #0277BD;
    padding: 0;
    position: absolute;
    right: 0;
    margin-right: 18px;
}

.map-link-button:hover {
    text-decoration: underline;
    cursor: pointer;
}

.map-link-container {
    height: 10px;
}

.search-listing {
    -ms-flex: 1 0 auto;
    flex: 1;
    
}

label {
    display: block;
}

.demographics-search-filter>div {
    width: 230px;
}

select,
input {
    padding: 0 5px;
    width: 230px;
    height: 30px;
    border: none;
    line-height: 1.5;
    background: hsl(210, 9%, 96%);
}

fieldset {
    border: none;
}

a {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.no-items {
    padding: 0.8rem 0.5rem;
    width: 100%;
    text-align: center;
}

.bold {
    font-weight: 700;
}

.demographic-item {
    width: 250px;
    margin-bottom: 10px;
}

.width-10 {
    width: 10%;
}

.width-15 {
    width: 15%;
}

.width-20 {
    width: 20%;
}

.width-25 {
    width: 25%;
}

.width-30 {
    width: 30%;
}

.width-40 {
    width: 40%;
}

.width-50 {
    width: 50%;
}

.width-60 {
    width: 60%;
}

.width-70 {
    width: 70%;
}

.width-80 {
    width: 80%;
}

.width-90 {
    width: 90%;
}

.width-100 {
    width: 100%;
}

.flex-grid {
    flex-flow: row wrap;
    width: 100%;
    border-bottom: 1px solid #DEE4E7;
    border-left: 1px solid #DEE4E7;
    border-right: 1px solid #DEE4E7;
}

.flex-grid>header {
    width: 100%;
    display: flex;
    border-top: 1px solid #DEE4E7;
    background-color: #f6f7f8;
}

.flex-grid>header>div {
    padding: 0.5rem;
}

.flex-grid>.item-row>div {
    padding: 0.5rem;
}

.flex-form {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.flex-form>div {
    margin-left: 1rem;
    margin-bottom: 0.8rem;
}

.wrapper {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
}

.header-layout {
    border-top: 3px solid #F97A3D;
    display: flex;
    justify-content: flex-start;
    background: #FFF;
}

.content-body {
    flex: 1 0 auto;
    width: 85vw;
    background: #FFF;
    margin: 0.8rem auto;
    border-radius: 5px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.content-header {
    background: hsl(210, 9%, 96%);
    width: 100%;
}

.content-header h1 {
    font-weight: 200;
    color: #455A64;
    padding: 0.8rem;
}

.directory-information {
    padding: 0.8rem;
    line-height: 2;
    width: 100%
}

.directory-listing {
    margin-top: 0.8rem;
    display: flex;
    display: -ms-flexbox;
    flex-flow: row wrap;
    width: 100%;
}

.directory-listing>div:first-child {
    margin-right: 1rem;
}

header.header-layout .directory-header-logo {
    background: url(images/logo_ashp.png) no-repeat;
    background-size: contain;
    width: 100%;
    height: 55px;
    margin-left: 5px;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    letter-spacing: 1px;
    flex-flow: column wrap;
}

.footer .links-container {
    background-color: #FFF;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    padding: 1.5rem 0;
}


.footer .links-container .link-category,
.footer .links-container-mobile .link-category {
    text-transform: uppercase;
    font-size: 1rem;
    color: #535353;
    font-weight: 400;
}

.footer .links-container .link-category,
.footer .links-container .link-category ~ *,
.footer .links-container-mobile .link-category ~ *  {
    text-align: center;
}

.footer .links-container .link-category ~ * {
    margin: 1rem 0;
}

.footer .links-container .contact-address,
.footer .links-container .contact-phone,
.footer .links-container-mobile .contact-address,
.footer .links-container-mobile .contact-phone,  {
    color: #535353;
}

.footer .links-container > .item-row {
    justify-content: center;
    max-width: 1050px;
    margin: 0 auto;
}

.footer .links-container a,
.footer .links-container-mobile a  {
    color: #0277BD;
    text-align: center;
    font-weight: 600;
}

.footer .icon {
    font-size: 1.2rem;
    border: 2px solid #0277BD;
    background-color: #FFF;
    border-radius: 50%;
    padding: 0.5rem;
}

.footer .social-links {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

.footer .social-links > li {
    margin: 1rem 0.2rem 0.5rem 0.5rem;
}


.footer a {
    font-weight: 400;
    text-decoration: none;
    color: #FFF;
    margin-left: 10px;
    margin-right: 10px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 0 10px;
}

.footer-links {
    display: flex;
}

.footer .copyrights {
    color: #FFF;
    padding: 2rem 0;
    display: flex;
    background: #006EBA;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer .copyrights-links > a::before {
    content: '|';
    margin-right: 1rem;
}

.copyrights-links {
    display: flex;
}

.residency-information {
    margin-top: 0.5rem;
}

.more-information {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
}

.more-information > p + p {
    margin-top: 0.5rem;
}

.view-more-button {
    color: #0277BD;
    border: none;
    font-weight: 600;
    background: transparent;
}

.view-more-button:hover {
    text-decoration: underline;
}

.search-field {
    width: 230px;
    height: 30px;
    line-height: 1.5;
    border: none;
    background: hsl(210, 9%, 96%);
    border-radius: 5px;
    padding: 0.5rem;
}

.search-field::placeholder {
    opacity: 0.7;
}

.search-button {
    background-color: hsl(210, 9%, 96%);
    border: none;
    position: absolute;
    right: 6px;
    top: 6px;
}

.mt {
    margin-top: 1rem;
}

.icon-search {
    color: #455A64;
}

.modal-header {
    position: relative;
    height: auto;
    background-color: #1565C0;
    color: #fff;
    border-radius: 2px 2px 0 0;
    display: flex;
    justify-content: space-between;
}

.modal-title {
    display: flex;
    align-items: center;
    font-weight: 400;
    letter-spacing: 1px;
    margin-left: 0.5rem;
}

.close-button {
    border: none;
    border: none;
    line-height: 34px;
    margin: 1px 3px;
    padding: 0 8px;
    background: 0 0;
    color: #fff;
}

.modal-container-default {
    height: 90vh;
    width: 70vw;
    background-color: #fff;
    z-index: 2005;
    border-radius: 2px;
    box-shadow: 6px 6px 15px 0 rgba(80, 80, 80, .6);
}

.modal-container-large {
    height: 60vh;
    width: 35vw;
    background-color: #fff;
    z-index: 2005;
    border-radius: 2px;
    box-shadow: 6px 6px 15px 0 rgba(80, 80, 80, .6);
}

.modal-container-small {
    height: 200px;
    width: 360px;
    background-color: #fff;
    z-index: 2005;
    border-radius: 2px;
    box-shadow: 6px 6px 15px 0 rgba(80, 80, 80, .6);
}

.modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, .6);
}

.flex-layout {
    display: flex;
    flex-flow: column nowrap;
}

.flex-60 {
    flex: 0 0 60%;
}

.flex-50 {
    flex: 0 0 50%;
}

.flex-45 {
    flex: 0 0 45%;
}

.flex-30 {
    flex: 0 0 30%;
}

.flex-25 {
    flex: 0 0 25%;
}

.flex-20 {
    flex: 0 0 20%;
}

.flex-1 {
    flex: 1
}

.item-row {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
}

.link-button {
    background: 0 0;
    border: none;
    color: #0277BD;
    padding: 0;
    text-align: left;
}

.link-button:hover {
    text-decoration: underline;
    cursor: pointer;
}

.save-button {
    background-color: #0277BD;
    border: none;
    padding: 0.5rem 0.4rem;
    color: #FFF;
    letter-spacing: 0.5px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.save-button:active {
    transform: translateY(2px);
}

.button-container {
    margin-left: 1rem;
    margin-bottom: 1rem;
    display: flex;
    width: 400px;
    align-items: center;
}

.button-container>button:nth-child(2n) {
    margin-left: 0.5rem;
}

.toggle-advanced-options {
    margin-left: 1rem;
    font-weight: 600;
}

.padded-container {
    padding: 0.5rem 1rem;
}

.scrollable-container {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

.flex-info-display .item-row>div {
    margin-right: 1rem;
}

.directory-listing .program-name {
    font-weight: 600;
}

.program-info .demographic-field-data {
    margin-bottom: 0.8rem;
}

.residency-demographics {
    margin-top: 2rem;
}

.logo-container {
    margin-left: 1rem;
}


.logo-container .logo {
    height: 40px;
}

@media screen and (max-width: 1150px) {
    .directory-listing {
        display: flex;
        flex-flow: column wrap;
    }
    .directory-listing>div:last-child {
        margin-bottom: 2rem;
    }
    .directory-listing>.order-1 {
        order: 1;
    }
    .directory-listing>.order-2 {
        order: 2;
    }
    .program-info .residency-demographics-display {
        flex: 1;
    }
}

@media screen and (max-width: 1750px) {
    .footer {
        display: flex;
        flex-flow: column wrap;
    }
}

@media screen and (max-width: 1200px) {
    .footer > .copyrights p, .footer > .copyrights-links{
        text-align: center;
    }

    .footer>.copyrights {
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        align-items: center;
    }

    .footer .logo-container {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 800px) {
    .footer .links-container {
        display: none;
    }

    .footer .links-container-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #FFF;
    }

    .footer .links-container-mobile .link-category  {
        padding: 1.5rem 0 0.8rem 1rem;
        cursor: pointer;
    }

    .footer .links-container-mobile .first,
    .footer .links-container-mobile .second {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .footer .links-container-mobile .icon-plus {
        color: #1565C0;
        font-weight: lighter;
        font-size: 12px;
        margin-right: 0.8rem;
    }


    .footer .links-container-mobile .link-category {
       text-align: center;
    }


    .footer .links-container-mobile .social-links {
        margin-bottom: 1rem;
    }

    .footer .links-container-mobile .toggled-links-mobile > div{
        margin: 1rem 0;
    }
}

@media screen and (min-width: 801px) {
    .footer .links-container-mobile {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .content-body {
        width: 92vw;
    }
}
@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?lk4czi');
    src:  url('fonts/icomoon.eot?lk4czi#iefix') format('embedded-opentype'),
      url('fonts/icomoon.ttf?lk4czi') format('truetype'),
      url('fonts/icomoon.woff?lk4czi') format('woff'),
      url('fonts/icomoon.svg?lk4czi#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  
  .icon {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-plus:before {
    content: "\ea0a";
  }
  .icon-share2:before {
    content: "\ea82";
  }
  .icon-facebook:before {
    content: "\ea90";
  }
  .icon-twitter:before {
    content: "\ea96";
  }
  .icon-youtube:before {
    content: "\ea9d";
  }
  .icon-linkedin2:before {
    content: "\eaca";
  }
  
  .program-info.flex-info-display {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
}

.program-info  {
    display: flex;
    flex-flow: column nowrap;
    margin-left: 0.8rem;
}

.program-info .flex-sub-info-display > div:not(:first-child) {
    margin-top: 0.3rem;
}

.program-info .item-row + .item-row,
.program-info .technician-demographics.item-row,
.program-info .flex-sub-info-display:last-child {
    margin-top: 1.5rem;
}

.program-info .large-text span {
    display: block;
}

.program-info .contact-type ~ div:nth-child(2n + 1) {
    margin-top: 1rem;
}

.top-5 {
    margin-top: 5px;
}

.modal-footer .buttons-container {
	text-align: right;
	padding: 12px 10px
}

.modal-footer .buttons-container>button {
	min-width: 65px;
	margin: 1px;
	border: none;
	text-align: center
}

.has-error {
    color: #FB8C00;
    font-weight: 600;
    padding-left: 15px;
    text-align: left;
    font-size: 10.5px;
    line-height: 15px;
}

p.has-error {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
}