.hidden {
    display: none;
}

/* content wrapper */
.buddypress-wrapper {
    width: 790px;
    padding: 40px 60px;
    margin: auto;
    box-shadow: 0 21px 29px 0 rgba(44, 44, 44, 0.21);
    background-color: #fff;
    margin-top: 30px;
    margin-bottom: 50px;
    border-radius: 5px;
}

@media screen and (max-width: 767px) {
    .buddypress-wrapper {
        width: calc(100% - 30px);
        margin: 30px 15px 30px;
        padding: 20px 30px 30px;
    }
}

.buddypress-wrapper a,
.buddypress-wrapper a:visited {
    color: #be4335;
}

/* header style for subsection */
h3.sub-section-title {
    font-size: 12px;
    letter-spacing: 1px;
    color: #db4131;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* BuddyPress template notices: */
/* hidden because content passed to status message box */
.profile-template-notices {
    display: none;
}

/* horizontal line */
.profile-card__seperator {
    margin: 10px -60px;
    border-bottom: 1px solid #f0f0f0;
}

@media screen and (max-width: 767px) {
    .profile-card__seperator {
        margin: 10px -30px;
    }
}

/* profile header */
.profile-card__user {
}

.profile-card__user-avatar {
    width: 64px;
    height: 64px;
}

.profile-card__user-avatar img,
.profile-card__user-avatar amp-img {
    width: 100%;
    border-radius: 100%;
}

.profile-card__user-name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.profile-card__user-description {
    margin-top: 2px;
}

.profile-card__user-description-role {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: #db4131;
    text-transform: uppercase;
    padding: 1px 8px;
    display: inline-block;
}

.profile-card__user-description-meta {
    font-size: 12px;
    font-weight: 600;
    color: #b7b7b7;
}

@media screen and (min-width: 351px) and (max-width: 480px) {
    .profile-card__user {
        display: flex;
        flex-direction: row;
        align-items: center;

        margin-bottom: 20px;
    }

    .profile-card__user-avatar {
        flex-shrink: 0;

        display: inline-block;
        margin-right: 20px;
    }

    .profile-card__user-info {
        display: inline-block;
    }

    .profile-card__user .separator {
        margin: auto;
    }
}

@media screen and (max-width: 350px), screen and (min-width: 481px) {
    .profile-card__user {
        text-align: center;

        /* margin-bottom =
        - profile-card__seperator::margin-top (10px)
        - (
          profile-card__user-description-role::font-size (12px) * profile-card__user-description-role::line-height (1.5)
          + profile-card__user-description-role::padding-top (1px) + profile-card__user-description-role::padding-bottom (1px)
        ) */
        margin-bottom: -20px;
    }

    .profile-card__user-avatar {
        margin: auto;
    }

    #item-header .profile-card__seperator {
        margin-bottom: 40px;
    }
}

/* content */
.profile-card__block-title {
    color: #232323;
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 15px;
}
.profile-card__block-text {
    color: #636363;
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 25px;
}
.profile-card__block-buttons .button {
    padding: 15px 30px 16px;
    color: #232323;
    font-size: 16px;
    background: #efefef;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 32px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    float: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    width: 100%;
    margin-bottom: 10px;
}
.profile-card__block-buttons .button a {
    height: 20px;
}
.profile-card__block-buttons .button a i {
    font-size: 19px;
}
.profile-card__block-buttons-add {
    margin-top: 25px;
    margin-bottom: 5px;
}
.profile-card__block-buttons-add a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background: linear-gradient(90deg, #bf2e2c 0.17%, #e66849 100%);
    color: #fff;
    position: relative;
    margin: auto;
    transition: 0.2s ease-in;
}
.profile-card__block-buttons-add a:hover {
    transform: scale(0.9);
}
.profile-card__block-buttons-add a:hover:before {
    transform: scale(1.2);
}
.profile-card__block-buttons-add a:before {
    content: '';
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border: 1px solid #c0c0c0;
    border-radius: 100%;
    position: absolute;
    left: -5px;
    top: -5px;
    transition: 0.2s ease-in;
}
.profile-card__filter {
    margin-bottom: 15px;
}
.profile-card__filter input {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 30px 16px;
    border-radius: 32px;
    width: 100%;
    border: 1px solid #bcbcbc;
    color: #232323;
    transition: 0.2s ease-in;
}
.profile-card__filter input:focus {
    outline: 0;
    border-color: #db4131;
}
.profile-card__filter .ui-autocomplete {
    list-style: none;
    padding: 0 30px;
    border: 1px solid #bcbcbc;
    padding-top: 54px;
    top: -71px !important;
    border-radius: 28px;
    z-index: 1;
}
.profile-card__filter .ui-autocomplete li {
    font-size: 16px;
    color: #232323;
    margin-bottom: 15px;
}
.profile-card__filter .ui-autocomplete li:first-child {
    margin-top: 10px;
}
.profile-card__filter .ui-autocomplete li .ui-menu-item-wrapper {
    cursor: pointer;
    color: #7e7e7e;
    transition: 0.2s ease-in;
}
.profile-card__filter .ui-autocomplete li .ui-menu-item-wrapper b {
    font-weight: bold;
    color: #232323;
    transition: 0.2s ease-in;
}
.profile-card__alerts-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 15px;
}
.profile-card__alerts-list li {
    padding: 15px 20px 16px 30px;
    color: #232323;
    font-size: 16px;
    font-weight: 400;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 32px;
    float: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin-bottom: 10px;
    margin-right: 10px;
    background: #efefef;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.profile-card__alerts-list li:hover {
    background: linear-gradient(90deg, #bf2e2c 0.17%, #e66849 100%);;
    color: #fff;
}
.profile-card__alerts-list li a {
    height: 20px;
    margin-left: 20px;
}
.profile-card__alerts-list li a i {
    font-size: 19px;
}
.profile-card__travel ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 30px;
}
.profile-card__travel ul li {
    margin-bottom: 10px;
}
.profile-card__travel ul li label {
    position: relative;
    cursor: pointer;
    font-size: 16px;
    color: #232323;
    font-weight: 600;
}
.profile-card__travel ul li label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #c3c3c3;
    border-radius: 3px;
    padding: 7px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 12px;
    margin-top: -2px;
    transition: 0.2s ease-in;
}
.profile-card__travel ul li label:after {
    content: '';
    display: block;
    position: absolute;
    top: 6px;
    left: -8px;
    width: 0;
    height: 0;
    border: solid #c92d2c;
    border-width: 0;
    transform: rotate(45deg);
    transition: 0.2s ease-in;
}
.profile-card__travel ul li label:hover:before {
    border-color: #c92d2c;
}
.profile-card__travel ul li input {
    padding: 0;
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
}
.profile-card__travel ul li input:checked + label:before {
    border-color: #c92d2c;
}
.profile-card__travel ul li input:checked + label:after {
    left: 6px;
    width: 6px;
    height: 11px;
    border-width: 0 2px 2px 0;
}
.profile-card__button a,
#settings-form input#submit.auto {
    width: 200px;
}
#settings-form input#submit.auto {
    padding: 15px 18px;
    line-height: 1.5;
    text-transform: uppercase;
}
.profile-card__button.inactive a,
.profile-card__button.inactive a:hover {
    background: linear-gradient(to bottom right, #737373, #c3c3c3);
}
.profile-card__button.loading a {
    background-size: 400% 400%;

    -webkit-animation: loading-animation 1s ease infinite;
    -moz-animation: loading-animation 1s ease infinite;
    animation: loading-animation 1s ease infinite;
}

@-webkit-keyframes loading-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@-moz-keyframes loading-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes loading-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.profile-card__user .separator {
    width: 56px;
    margin-left: -2px;
    text-align: left;
}
.profile-card__user .separator img,
.profile-card__user .separator amp-img {
    width: 100%;
}

/* Profile settings */
.profile-settings .ui-accordion .ui-accordion-header {
    padding-left: 0px !important;
    font-size: 12px !important;
    letter-spacing: 1px;
    color: #db4131;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.profile-settings .ui-accordion .ui-accordion-content {
    background-color: #fafafa;
}

.profile-settings label {
    display: block;
    font-weight: 600;
    margin: 15px 0 5px;
    width: auto;
}

.profile-settings .text-input {
    position: relative;
    z-index: 2;
    font-size: 16px;
    padding: 10px 30px 10px;
    border-radius: 32px;
    width: 100%;
    border: 1px solid #bcbcbc;
    color: #232323;
    transition: 0.2s ease-in;
}

.profile-settings .text-input:disabled {
    background-color: #eee;
}

.profile-settings input[type='submit'] {
    margin: 15px 0;
    padding: 15px 18px;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(90deg, #bf2e2c 0.17%, #e66849 100%);;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    float: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.profile-settings input[type='submit']:hover {
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);
}
