.view.view-staff-and-faculty .view-empty {
    display: flex;
    justify-content: space-evenly
}

.profile-teaser-card {
    -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, .22) !important;
    -moz-box-shadow: 0 0 5px 3px rgba(0, 0, 0, .22) !important;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, .22) !important;
    margin: 10px;
    width: 97%
}

.profile-teaser-card .card-image img {
    height: 180px !important;
    max-width: inherit;
    margin-bottom: 20px
}

.card.profile-teaser-card div {
    font-size: 0.8rem;
    text-align: center;
    color: #3b3b3b
}

.profile-teaser-card h3 {
    font-size: 1.8rem;
    color: #3b3b3b;
    margin-bottom: -12px
}

.profile-teaser-card a {
    color: #3b3b3b
}

.profile-teaser-hr-div {
    border-bottom: 2px solid #ffd530;
    width: 100px;
    margin: 0 auto
}

.profile-teaser-card .hr-div {
    border-bottom: 2px solid #ffd530;
    width: 90px;
    text-align: left;
    display: inline-block
}

aside .card, div[id^=block-views-block-staff-and-faculty-block] {
    text-align: center
}

.field.field--name-field-profile-position {
    margin-top: 10px
}

.field.field--name-field-profile-email, .field.field--name-field-profile-phone {
    margin-top: 4px
}

.profile select {
    display: inline-block !important;
    color: #495057 !important
}

.form-text {
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px
}

form[id^=views-exposed-form-staff-and-faculty-block] {
    margin: -125px 0 100px;
    display: flex;
    justify-content: center
}

form[id^=views-exposed-form-staff-and-faculty-block] label {
    display: none
}

.view.view-staff-and-faculty form {
    display: flex;
    justify-content: center
}

form[id^=views-exposed-form-staff-and-faculty-block] input[type=text] {
    margin-left: 10px;
    height: 38px;
    width: 300px;
    box-shadow: .9px 2.9px 9.7px .3px rgba(39, 39, 39, .22) !important
}

/*!* FORM ELEMENT LABELS *!*/
form[id^=views-exposed-form-staff-and-faculty-block] input[type=submit] {
    width: inherit;
    font-size: .91rem;
    height: 40px;
    padding: 10px;
    display: -webkit-inline-flex;
    margin: 32px 0 0 30px;
}

@media (max-width: 1600px) and (min-width: 801px) {
    .profile-teaser-card .card-image img {
        height: 135px !important;
        width: 160px !important;
        max-width: inherit;
        margin-bottom: 20px
    }

    .field.field--name-field-profile-email, .field.field--name-field-profile-phone {
        margin-top: 0
    }
}


.card-content p {
    margin-bottom: 0;
    font-size: 1.25rem;
}

@media (max-width: 1440px) and (min-width: 1280px) {
    .profile-teaser-card .card-image img {
        height: 165px !important;
        width: 140px !important;
        max-width: inherit;
        margin-bottom: 20px
    }
}

@media (max-width: 1249.9px) {
    .profile-teaser-card h3 {
        font-size: 1.3rem;
        color: #3b3b3b;
        margin-bottom: -12px
    }
}

@media (max-width: 1249.9px) {
    .profile-teaser-card .card-image img {
        height: 120px !important;
        width: 115px !important;
        max-width: inherit;
        margin-bottom: 20px
    }
}

@media (max-width: 600px) {
    .page-node-type-profile #main {
        padding-top: 100px
    }

    .profile-teaser-card {
        margin: 10px auto;
        padding: 10px 0
    }

    .profile-teaser-card .card-image img {
        height: 200px !important;
        width: 200px !important;
        max-width: inherit;
        margin-bottom: 15px;
        margin-top: 10px
    }

    .profile-card-grid-col {
        margin-left: 75px
    }

    .field.field--name-field-profile-email, .field.field--name-field-profile-phone {
        margin-top: 0
    }

    form#views-exposed-form-staff-and-faculty-block- * input[type=submit] {
        width: 100px;
        font-size: .91rem;
        margin: 45px 0 0 10px !important
    }

    div.staff-block header p {
        margin-left: 0 !important;
    }
}

div.staff-block header p {
    height: 400px;
    width: 100%;
    /* background: url(https://s3.amazonaws.com/usma-media/profile-header/west_point_header.jpg) center no-repeat; */
    background: var(--universal-black);
    background-size: cover;
    /* margin-top: 150px; */
    background-position: inherit;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    color: #fff;
    /* font-family: TimesNewRomanPSMT, serif; */
    letter-spacing: 1.5px;
    font-size: 3rem;
    padding-top: 50px;
    text-align: center;
    padding-top: 3em !important;
}

form[id^=views-exposed-form-staff-and-faculty-block] input[placeholder] {
    color: #fff !important;
    background: 0 0;
    border: 1.5px solid rgba(255, 255, 255, .77);
    padding: 10px;
    letter-spacing: 1px;
    font-size: 1.2em
}

form[id^=views-exposed-form-staff-and-faculty-block-] .form-wrapper {
    position: relative;
    top: -30px
}

/*div[id^=block-views-block-staff-and-faculty-block] header {*/
/*    padding-right: 10px;*/
/*}*/

div[id^=block-views-block-staff-and-faculty-block] header p {
    line-height: normal;
    padding: 50px 20px
}

.page-node-type-profile #main {
    padding-top: 80px
}

.page-node-type-profile .content-full-width {
    padding-right: 0;
    padding-left: 0
}

.profile-full-content img {
    /*margin-bottom: 20px;*/
    max-width: 200px;
    border-radius: 3px
}

.profile-full-content .mask {
    max-width: 200px;
    font-size: 1rem;
}

.profile-content {
    /*margin: 0 2%;*/
    display: flex;
    justify-content: center
}

.page-node-type-profile .profile-content {
    margin: 0 2%;
    display: flex;
    justify-content: center
}

.page-node-type-profile .card-content {
    margin-left: 25px;
}

.page-node-type-profile .accordion .card-body a,
.page-node-type-profile .list-group a {
    color: var(--universal-black);
}

.page-node-type-profile .accordion .card-body a:hover,
.page-node-type-profile .accordion .card-body a:focus,
.page-node-type-profile .list-group a:hover,
.page-node-type-profile .list-group a:focus,
.page-node-type-profile .profile-content a:hover,
.page-node-type-profile .profile-content a:focus {
    text-decoration: underline #D3BC8D;
    color: var(--primary)!important;
}

/*.profile-content h3 {*/
/*    color: #495057;*/
/*    font-family: TimesNewRomanPSMT;*/
/*    font-size: 2.2rem;*/
/*    letter-spacing: -1.1px;*/
/*    font-weight: 400 !important*/
/*}*/

.profile-content h3 {
    color: var(--universal-black);
    font-family: var(--open-sans);
    font-size: 2.2rem;
    /* letter-spacing: -1.1px; */
    font-weight: 700 !important;
}

.profile-content p {
    font-family: unset
}

.profile-content hr {
    border-top: 1px solid rgba(0, 0, 0, .2);
    margin-left: 0
}

.profile-divider {
    border-bottom: 3px solid var(--primary);
    /*border-top: 2px solid #ffd530;*/
    /*box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12)*/
}

.profile-content .publications div div, .profile-content .research-projects div div {
    -webkit-box-shadow: 0 0 10px 3px rgba(0, 0, 0, .165) !important;
    -moz-box-shadow: 0 0 10px 3px rgba(0, 0, 0, .165) !important;
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, .165) !important;
    border-left: 12px solid var(--primary);
    margin-bottom: 35px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.profile-content .publications div div p, .profile-content .research-projects div div p {
    padding: 0 20px 20px
}

.profile-content .publications div div p:first-child, .profile-content .research-projects div div p:first-child {
    padding: 20px
}

.profile-header {
    /*height: 300px;*/
    /*background: url(https://s3.amazonaws.com/usma-media/profile-header/west_point_header.jpg) center no-repeat;*/
    background: var(--universal-black);
    /*background-size: cover;*/
    /*background-position: inherit;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*flex-direction: column;*/
    color: #fff;
    letter-spacing: 1px;
    font-size: 1.4rem;
    line-height: initial;
    /*width: 100vw;*/
}

.profile-header h1 {
    font-size: 2rem;
    font-weight: 700
}

.profile-header a.profile-links {
    font-size: 1.2rem;
    color: #fff !important
}

.profile-header a.spamspan.mailto:focus{
    color: var(--universal-black) !important;
    text-decoration: underline;
}

.profile-header a.mailto {
    color: #000 !important;
}

aside .card {
    max-width: 25rem;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, .233) !important
}

aside .card .card-header {
    background: var(--universal-black);
    color: #fff;
    font-size: 1.2rem;
    font-family: var(--open-sans);
    border-bottom: none;
}

aside .card-body div {
    font-size: 1.125rem
}

aside div#headingFive button, aside div#headingFour button, aside div#headingOne button, aside div#headingThree button, aside div#headingTwo button {
    padding: 0;
    color: #fff !important;
    font-size: 1.2rem;
    text-transform: unset;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.page-node-type-profile aside div#headingFive button:hover,
.page-node-type-profile aside div#headingFive button:focus,
.page-node-type-profile aside div#headingFour button:hover,
.page-node-type-profile aside div#headingFour button:focus,
.page-node-type-profile aside div#headingOne button:hover,
.page-node-type-profile aside div#headingOne button:focus,
.page-node-type-profile aside div#headingThree button:hover,
.page-node-type-profile aside div#headingThree button:focus,
.page-node-type-profile aside div#headingTwo button:hover,
.page-node-type-profile aside div#headingTwo button:focus {
    text-decoration: underline #D3BC8D;
    color: var(--primary)!important;
}

aside i.fas.fa-chevron-down {
    padding-right: 0;
    margin-left: 15px;
    margin-top: 0;
    display: none
}

form[id^=views-exposed-form-staff-and-faculty] input[placeholder] {
    color: #fff !important;
    background: unset;
    border: 2px solid #fff;
    padding: 10px;
    letter-spacing: 1px;
    font-size: 1.2em
}

.page-node-type-profile #block-tabs {
    margin-left: 16px;
}

.profile-staff-img img {
    max-width: 200px;
}

.name a {
    color: var(--universal-black);
    font-weight: 600;
}

.name a:hover {
    /*color: #007bff;*/
    /*text-decoration: underline;*/
    text-decoration: underline #D3BC8D;
    color: var(--primary)!important;
}

/* Stop the header from getting pushed to the left */
.page-node-type-profile main > .row {
    margin-left: 0;
    margin-right: 0;
}

.user-logged-in .profile-full-content {
    margin-top: 0;
}

.user-logged-in .page-node-type-profile .profile-full-content {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .page-node-type-profile #main {
        padding-top: 100px
    }

    .profile-header {
        margin: 0
    }

    .page-node-type-profile .profile-full-content {
        padding-top: 0;
        padding-left: 100px;
        margin-top: 0;
    }

    .profile-content {
        margin: 0 5%;
        display: flex;
        justify-content: center
    }

    aside .card {
        max-width: unset;
        text-align: center;
        box-shadow: 0 0 5px 3px rgba(0, 0, 0, .233) !important
    }

    aside i.fas.fa-chevron-down {
        padding-right: 0;
        margin-left: 15px;
        margin-top: inherit;
        display: unset
    }

    aside div#headingFive button, aside div#headingFour button, aside div#headingOne button, aside div#headingThree button, aside div#headingTwo button {
        float: left
    }

    aside .btn-icon {
        float: right !important
    }

    div.staff-block header p {
        height: 300px;
        width: 100%;
        /*background: url(https://s3.amazonaws.com/usma-media/profile-header/west_point_header.jpg) center no-repeat;*/
        background: var(--universal-black);
        margin-top: 95px;
        background-size: cover;
        background-position: inherit;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
        color: #fff;
        font-family: TimesNewRomanPSMT, serif;
        letter-spacing: 1.5px;
        font-size: 2.6rem;
        padding-top: 50px;
        text-align: center;
    }

    div[id^=block-views-block-staff-and-faculty-block] header {
        width: 100%;
    }

    .profile-img img {
        max-width: 200px;
        max-height: 369px;
        padding-bottom: 20px;
    }

    .icons-container.my-3.pt-2 {
        margin-top: -4px !important;
    }
}

@media (max-width: 991px) {
    div.staff-block header p {
        height: 300px;
        width: 100vw;
        /*background: url(https://s3.amazonaws.com/usma-media/profile-header/west_point_header.jpg) center no-repeat;*/
        background: var(--universal-black);
        background-size: cover;
        background-position: inherit;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
        color: #fff;
        font-family: TimesNewRomanPSMT, serif;
        letter-spacing: 1.5px;
        font-size: 2rem;
        padding-top: 50px;
        text-align: center;
    }

    form[id^=views-exposed-form-staff-and-faculty-block] {
        margin: -125px 0 50px 175px;
        display: flex;
        justify-content: center
    }

    form[id^=views-exposed-form-staff-and-faculty-block] input[type=text] {
        height: 38px;
        width: unset;
        margin-top: -25px;
        margin-left: -175px;
        box-shadow: .9px 2.9px 9.7px .3px rgba(39, 39, 39, .45) !important;
    }

    form[id^=views-exposed-form-staff-and-faculty-block] input[type=submit] {
        width: inherit;
        font-size: .91rem;
        height: 40px;
        padding: 10px;
        display: -webkit-inline-flex;
        margin: 4px 0 0 30px;
    }

    div.views-row:first-of-type {
        margin-top: unset;
    }
}

@media (max-width: 768px) and (min-width: 661px) {
    .profile-header h3 {
        font-size: 2rem;
    }
}

/* Profile Only*/
@media (max-width: 768px) {
    .profile-header {
        margin: 0 auto;
        font-size: 1.2rem;
        height: unset !important;
        text-align: center
    }

    .profile-full-content img {
        width: 150px !important;
        margin-bottom: 1em;
    }

    .profile-header h3 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.4em !important;
    }

    .profile-full-content {
        margin: 1.5em;
        padding-left: unset !important;
    }

    .profile-full-content .row {
        flex-direction: column;
        align-items: center;
    }

    .profile-img {
        margin-right: 0 !important;
    }

    .profile-full-content .mask {
        max-width: unset;
        font-size: 0.75rem;
    }
}


@media (max-width: 660px) {
    .profile-header a, input[placeholder] {
        color: #fff !important;
        text-align: center
    }
    
    .west-point-directory input[placeholder]{
        color: #000 !important;
    }

    .page-node-type-profile #main {
        padding-top: 100px
    }

    div.staff-block header p {
        font-size: 1.6rem
    }

    .profile-teaser-card {
        margin: 10px auto
    }

    .profile-teaser-card .card-image img {
        height: 160px !important;
        width: 165px !important;
        max-width: inherit;
        margin-bottom: 15px;
        margin-top: 10px
    }

    .field.field--name-field-profile-email, .field.field--name-field-profile-phone {
        margin-top: 0
    }

    form#views-exposed-form-staff-and-faculty-block- * input[type=submit] {
        width: 100px;
        font-size: .91rem;
        margin: 45px 0 0 10px !important
    }

    form[id^=views-exposed-form-staff-and-faculty-block] input[type=text] {
        display: flex;
        justify-content: center;
        margin: -10px 0 32px 0;
    }

    .profile-teaser-card {
        padding: 25px 0;
        -webkit-box-shadow: 0 0 5px 3px rgba(0, 0, 0, .22) !important;
        -moz-box-shadow: 0 0 5px 3px rgba(0, 0, 0, .22) !important;
        box-shadow: 0 0 5px 3px rgba(0, 0, 0, .22) !important;
        width: 275px
    }

    .profile-header {
        margin: 0 auto;
        font-size: 1.2rem;
        height: unset !important;
        text-align: center
    }

    .profile-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
    }

    .profile-full-content img {
        width: 150px !important;
        margin-bottom: 1em;
    }

    .profile-card-grid-col {
        margin-left: 0
    }

    .profile-header a {
        font-size: .9rem
    }

    .profile-full-content .mailto {
        margin-left: -25px
    }

    .card-content div {
        font-size: .9rem
    }

    form[id^=views-exposed-form-staff-and-faculty-block] input[type=text] {
        /*margin-left: -8px;*/
        height: 38px;
        width: 200px;
        box-shadow: .9px 2.9px 9.7px .3px rgba(39, 39, 39, .45) !important
    }

    .page-node-type-profile .views-exposed-form label {
        font-size: 1.45rem;
        margin-left: -8px;
        margin-top: 20px
    }

    form[id^=views-exposed-form-staff-and-faculty-block] input[type=submit] {
        width: 78px;
        font-size: .91rem;
        margin: 4px 0 0 15px !important;
        box-shadow: .9px 2.9px 9.7px .3px rgba(39, 39, 39, .45) !important
    }

    .col-md-10 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0
    }

    div#block-views-block-staff-and-faculty-block- * header p {
        height: 180px;
        letter-spacing: 1.3px;
        font-size: 1rem;
        line-height: 1.4;
        padding: 25px 40px;
        text-align: center;
    }

    form[id^=views-exposed-form-staff-and-faculty-block] {
        margin: -80px 0 35px;
        display: flex;
        justify-content: center
    }

    div.views-row:first-of-type {
        margin-top: unset;
    }

    .profile-full-content .row {
        flex-direction: column;
        align-items: center;
    }

    .profile-full-content {
         padding-left: unset !important;
    }

    .profile-full-content .card-content {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .profile-img {
        position: relative;
        margin-right: 0 !important;
    }
}

@media (max-width: 400px) {
    .page-node-type-profile .profile-full-content .card-content {
        padding-left: 0 !important;
        /*margin: 0 1.8em !important;*/
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .profile-staff-img {
        text-align: center;
    }
}

@media (min-width: 768px) and (orientation: portrait) {
    .col-md-10 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0
    }

    div#block-views-block-staff-and-faculty-block- * header p {
        font-size: 2.7rem;
        text-align: center;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .views-view-grid.horizontal.cols-3 > .row {
        margin-left: -23px;
        margin-right: 23px
    }

    .profile-teaser-card h3 {
        font-size: 1.4rem;
        color: #3b3b3b;
        margin-bottom: -12px
    }

    .card.profile-teaser-card div {
        font-size: 1.1rem;
        text-align: center;
        color: #3b3b3b
    }

    div.staff-block header p {
        margin-top: 120px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .views-view-grid.horizontal.cols-3.clearfix {
        display: flex
    }

    .profile-teaser-card {
        width: 360px
    }

    .profile-teaser-card .card-image img {
        height: 135px !important;
        width: 150px !important
    }
}

@media (max-width: 1024.98px) {
    .profile-full-content {
        padding-left: 60px
    }

    .profile-img {
        position: relative;
    }

    .page-node-type-profile .card-content {
        margin-left: unset;
        padding-right: 0;
    }
}

@media (min-width: 1025px) {
    .profile-img {
        /*text-align: end;*/
        position: relative;
        max-width: 269px;
        /*max-height: 369px;*/
    }

    /*.profile-img img {*/
    /*    max-width: 269px;*/
    /*    max-height: 369px;*/
    /*}*/

    .profile-full-content {
        padding-top: 0;
        padding-left: 100px;
        margin-top: 50px;
    }
}

@media (max-width: 500px) {
    div.staff-block header p {
        margin-top: 75px;
    }
}

