/* set up ADA reader-only */
.reader-only {
    font-size: 0;
    padding: 0;
}

/* Search Form */
.cm-search form {
    text-align: right;
    padding-top: 20px;
}

.cm-search form .question,
.cm-search form .actions {
    display: inline-block;
}

.cm-search form .question label {
    font-size: 0;
    padding: 0;
}

.cm-search form .question:first-child select,
.cm-search form .question:first-child input {
    margin-left: 0;
}

/* Search Result Listing Styles */

.cm-listing {
    padding: 20px 15px 40px;
}

.cm-listing .member {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
}

@media only screen and (max-width:767px) {
    .cm-listing .member .logo,
    .cm-listing .member .info,
    .cm-listing .member > .description-con {
        flex: 0 0 100%;
    }

    .cm-listing .member .logo {
        text-align: center;
    }

    .cm-listing .member .logo img {
        max-width: 100%;
        max-height: 75vw;
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .cm-listing .member .info,
    .cm-listing .member > .description-con {
        margin-top: 10px;
    }
}

@media only screen and (min-width:768px) {
    .cm-listing .member .logo {
        order: 2;
        flex: 0 0 calc(30% - 20px);
    }

    .cm-listing .member .info {
        order: 1;
        flex: 0 1 70%;
    }

    .cm-listing .member .contact-info {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }

    .cm-listing .member .info .contact-links,
    .cm-listing .member .info address {
        flex: 0 0 calc(50% - 10px);
    }

    .cm-listing .member .description-con {
        order: 3;
        margin-top: 10px;

        display: flex;
        flex-flow: column;
        justify-content: space-between;
        height: auto;
    }

    .cm-listing .member .description-con .description {
        flex: 0 0 auto;
    }
}

.cm-listing .member .info h3 {
    display: block;
    margin-top: 0;
    flex: 0 0 100%;
}

.cm-listing .member .info h3 a {
    font-weight: 700;
    text-decoration: none;
  color:#29293a;
}

button, input[type="button"], input[type="reset"], input[type="submit"],
.cm-listing .member .description-con .more a {
    display: inline-block;
    border: none;
    padding: 14px;
    background: #004680;
    color: #fff;
    line-height: 1;
    text-decoration: none;
  border-radius: 18px;
}

button, input[type="button"], input[type="reset"], input[type="submit"],
.cm-listing .member .description-con .more a:hover {
  background-color: #20232E;
}

.cm-listing .paging {
    display: block;
    max-width: 100%;
    text-align: center;
}

.cm-listing .paging .pager {
    margin: 1rem auto 0;
}

.cm-listing .paging .pager  a,
.cm-listing .paging .pager .val{
    display: inline-block;
    border: none;
    padding: 10px;
    line-height: 1;
    text-decoration: none;
    background: #20232E;
    color: #fff;
    opacity: .75;
}

.cm-listing .paging .pager .cur .val,
.cm-listing .paging .pager :hover .val {
    background: #004680;
    opacity: 1;
}

.powered-by {
  font-weight:600;
  font-size: .85rem;
  display:inline-block;
  padding-left:30px;
}