/* ------ Find a Lawyer ------ */

/* Style the more options area */
#moreoptions {
    background: #f6f6f6;
    padding: 10px;
    margin-bottom: 1rem;
}

#moreoptions a {
    text-decoration: none;
}

.member-pagination.show-control {
    float: left;
}

.member-pagination.paging-controls {
    float: right;
}

.result-items {
    margin-bottom: 10px;
}

.form-find .form-body {
    display: flex;
    justify-content: space-between;
    /* Vertical alignment */
    flex-direction: column-reverse;
}

.form-find .horiz-or-separator {
    display: block;
}

.form-find .vert-or-separator {
    display: none;
}

@media (min-width: 1024px) {
    /* Horizontal alignment */
    .form-find .form-body {
        flex-direction: row;
    }

    .form-find .horiz-or-separator {
        display: none;
    }

    .form-find .vert-or-separator {
        display: block;
    }
}

.wrap.internal .note {
    font-style: italic;
    margin-bottom: 0;
}

/* Reset styles from parent theme */
.form-find .form-content {
    border-top: none transparent;
    border-right: none transparent;
}

.form-find .form-aside {
    float: none;
}

@media (min-width: 1024px) {
    .form-find .form-aside {
        width: 160px;
    }
}

/* Style Separators */
.horiz-or-separator {
    border-top: 1px solid #CCC;
    height: 2rem;
    margin-top: 2rem;
    position: relative;
}

.horiz-or-separator::after {
    content: 'or';
    color: #555;
    position: absolute;
    top: -1rem;
    left: 3.9rem;
}

.horiz-or-separator .fa-circle {
    color: #e6e6e6;
    font-size: 3rem;
    position: absolute;
    top: -1.7rem;
    left: 3rem;
}

.vert-or-separator {
    border-left: 1px solid #CCC;
    width: 2rem;
    margin-left: 1.7rem;
    position: relative;
}

.vert-or-separator::after {
    content: 'or';
    color: #555;
    position: absolute;
    left: -0.45rem;
    top: 3.8rem;
}

.vert-or-separator .fa-circle {
    color: #e6e6e6;
    font-size: 3rem;
    position: absolute;
    left: -1.3rem;
    top: 3.1rem;
}

#moreOptsDiv {
    margin-top: 1rem;
}

.asmSelect {
    border-radius: 4px;
    padding: .25em;
    margin-left: 1em;
}

.asmListItemRemove:hover {
    text-decoration: none;
}

.asmOptionDisabled {
    /* disabled options in Find a Member "More options" select */
    font-style: italic;
    color: #999;
}

.asmOptionDisabled::after {
    content: '!';
}

@media (min-width: 1024px) {
    .asmSelect {
        width: 50%;
    }
}

.wrap.internal .asmList {
    list-style: none;
    padding-left: 1rem;
    margin: 5px 0;
}

.wrap.internal .asmList li {
    font-size: 14px;
    color: #666666;
}

@media (min-width: 1024px ) {
    .profile-certs {
        width: 25%;
    }
}

/* more options  */
label a {
    cursor: pointer;
}

.ui-icon-trash {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ui-icon-trash:before {
    content: "\f057"; /* Font Awesome times-circle */
}

.wrap.internal .result-message {
    font-weight: 600;
    margin-bottom: 0;
}

.wrap.internal .result-warning {
    color: red;
}

.search-results-header {
    padding: 1rem;
    margin-bottom: 1em;
    background-color: #e4e4e4;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 767px) {
    .search-results-header {
        flex-direction: column;
        text-align: center;
    }
}

.search-results-controls .member-pagination {
    list-style-type: none;
    margin: 0 0 1rem 0.5rem;
}

.search-results-controls .member-pagination li {
    display: inline;
    font-size: 13px;
}

.member-pagination li.inactive {
    color: #e4e4e4;
    padding: 0.25em 0.5em;
}

.member-pagination li.current {
    padding: 0.25em 0.5em;
    border-radius: 4px;
    color: #ffffff;
    background-color: #b5b5b6;
}

.member-pagination li a {
    padding: 0.25em 0.5em;
    border-radius: 4px;
}

.member-pagination li a:hover {
    background-color: #33793c;
    color: #ffffff;
    text-decoration: none;
}

/* set lines between rows */
div.row.divided {
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

div.row.first {
    border-top: none;
}

div.row.last {
    border-bottom: none;
}

/* center align text */
div.center {
    text-align: center;
}

/* quick style lists */
ul.nolist {
    list-style-type: none;
    margin-left: -40px;
}

.result-list ul {
    /*	list-style-type: none;*/
    /*	margin-left: -40px; */
}

.result-items li {
    list-style-type: none;
    /*	margin-left: -40px;*/
    font-size: 12px;
}

ul.inline li {
    display: inline;
}

/* add top border to a div */
.divided {
    border-top: 1px solid #cccccc;
}

/* ------------------------------------------------------------ *\
	Profile Thumb
\* ------------------------------------------------------------ */
.profile-thumbs {
    margin: 0 -15px;
    font-size: 0;
}

.profile-thumb {
    display: inline-block;
    vertical-align: top;
    width: 33.33%;
    padding: 10px 15px;
    font-size: 14px;
}

.profile-thumb .profile-image {
    margin-bottom: 10px;
}

.profile-thumb .profile-image a {
    display: inline-block;
    border: 1px solid #efefef;
}

.profile-thumb h4 {
    margin: 0 0 3px;
}

@media (max-width: 1023px) {
    .profile-thumb {
        width: 50%;
    }
}

/* ------------------------------------------------------------ *\
	Profile Compact
\* ------------------------------------------------------------ */
.profiles-compact {
    padding: 0;
    margin: 0;
    list-style: none outside none;
}

.profile-compact {
    display: table;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    margin: 0;
    table-layout: fixed;
}

.profile-compact h4 {
    margin: 0;
}

#output .profile-compact p,
#output .profile-compact a,
#output .profile-compact li {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
}

#output .profile-compact p:last-of-type {
    margin-bottom: 0;
}

.profile-compact .profile-identity,
.profile-compact .profile-certs,
.profile-compact .profile-contact {
    display: table-cell;
    padding: 0 10px;
    vertical-align: top;
}

.profile-compact .profile-identity {
    padding-left: 0;
}

.profile-compact .profile-certs {
    padding-right: 0;
}

.profile-compact .profile-image {
    float: left;
    width: 75px;
    margin-right: 10px;
}

.profile-compact .profile-image a {
    display: block;
}

.profile-compact .profile-image img {
    max-width: 100%;
}

.wrap.internal .profile-identity .profile-name,
.wrap.internal .profile-identity .profile-officer,
.wrap.internal .profile-identity .profile-term,
.wrap.internal .profile-identity .profile-bar-number,
.wrap.internal .profile-certs .profile-cert-title {
    font-weight: 600;
}

.wrap.internal .profile-certs .profile-cert-title {
    margin-bottom: 0.5em !important;
}

.profile-identity .profile-bar-number span {
    font-family: Consolas, monaco, monospace;
    font-weight: bold;
}

.profile-compact .profile-content {
    overflow: hidden;
}

.profile-contact p {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Smaller devices: stack vertically */
@media (max-width: 1023px) {
    .profile-compact {
        display: block;
    }

    .profile-compact .profile-certs,
    .profile-compact .profile-identity,
    .profile-compact .profile-contact {
        display: block;
        padding: 0;
    }

    .profile-compact .profile-identity {
        overflow: hidden;
        margin-bottom: 10px;
    }

    .profile-certs {
        margin-top: 0.5em;
    }
}

.wrap.internal .internal-wrapper ul.profiles-compact,
.wrap.internal .profiles-compact ul {
    list-style: none outside none;
    padding: 0;
    margin: 0;
}

.wrap.internal .profile-compact .result-list li {
    margin-bottom: 10px;
    line-height: 1.2;
}

@media (max-width: 1023px) {
    #secondary-form {
        margin-top: 25px;
    }
}

/* ------------------------------------------------------------ *\
	Member Status and Eligibility Bars
\* ------------------------------------------------------------ */

.profile-compact .profile-identity .eligibility,
.member-status,
.eligibility {
    padding: 2px 2px 4px;
    color: #6d6e70;
    background-color: #dbefdd;
    text-align: center;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: .025em;
    line-height: 1.2;
}

.profile-compact .profile-identity .eligibility {
    margin-top: 8px;
    clear: both;
}

#mProfile .member-status,
#mProfile .eligibility {
    margin: 0.5em 0 1em;
}

.member-status.status-good,
.profile-compact .eligibility.eligibility-eligible,
.eligibility.eligibility-eligible {
    color: #6d6e70;
    background-color: #dbefdd;
}

.member-status.status-not-good-prejudice,
.profile-compact .eligibility.eligibility-ineligible-prejudice,
.eligibility.eligibility-ineligible-prejudice {
    color: red;
    background-color: #e4e4e4;
}

.member-status.status-not-good-neutral,
.profile-compact .eligibility.eligibility-ineligible-neutral,
.eligibility.eligibility-ineligible-neutral {
    color: #6d6e70;
    background-color: #e4e4e4;
}

.member-status.status-deceased {
    color: #6d6e70;
    background-color: #e4e4e4;
}

.member-status.status-inactive {
    color: #6d6e70;
    background-color: #e4e4e4;
}

.member-status.status-judiciary {
    color: #6d6e70;
    background-color: #e4e4e4;
}

/* ------------------------------------------------------------ *\
	Profile
\* ------------------------------------------------------------ */

#mProfile {
    position: relative;
}

#mProfile .profile-photo {
    position: absolute;
    right: 15px;
    padding-left: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#mProfile .profile-photo .frame {
    box-sizing: content-box;
    width: 162px;
    max-height: 216px;
    overflow: hidden;
}

#mProfile .profile-photo img {
    max-width: 100%;
    height: auto;
}


#mProfile .row {
    border-top: 1px solid #e4e4e4;
}

#mProfile .container-narrow {
    width: 73.8%;
}

#mProfile .row:first-of-type {
    border-top: 0 none;
}

#mProfile .row.last {
    border-bottom: 1px solid #e4e4e4;
}

#mProfile .row.row-highlight {
    border: 2px solid #6d6e70;
}

#mProfile p,
#mProfile label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

#mProfile label {
    font-weight: 600;
    padding: 8px 0;
}

#mProfile p {
    margin: 8px 0;
}

#mProfile .h-scroll {
    overflow-x: auto;
}

#mProfile td, #mProfile th {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

#mProfile th {
    font-weight: 600;
}

#mProfile .disclaimerText {
    font-size: 9px;
    font-weight: 400;
    padding: 12px;
    line-height: 1.5;
    color: #a2a2a4;
}

.profile-photo img {
    width: 100%;
}

@media (max-width: 1439px) {
    #mProfile .profile-photo .frame {
        width: 120px;
        max-height: 160px;
    }
}

@media (max-width: 767px) {

    #mProfile .profile-photo {
        position: static;
        width: 100%;
        padding-left: 0;
    }

    #mProfile .profile-photo .frame {
        width: 240px;
        max-height: 320px;
    }

    #mProfile .container-narrow {
        width: 100%;
    }

    #mProfile .col-xs-flex-9 {
        width: 75%;
    }

    #mProfile label {
        padding: 8px 0 0;
    }

    #mProfile p {
        margin: 8px 0 8px 12px;
    }

    #mProfile .bm8 {
        margin-bottom: 8px;
    }

    .profile-photo img {
        flex-basis: inherit; /* IE 11 compatibility */
    }
}

.font-bold {
    font-weight: bold;
}
