/*
Theme Name:   Eurosyn Theme
Description:  Theme created for Eurosyn use
Author:       UpperLink
Template:     buddyx
Version:      1.0.0
Text Domain:  buddyx
*/

body {
    --color-theme-primary: #ffcd2f;
    --button-background-color: #ffcd2f;
    --button_background_color: #ffcd2f;
    --button_border_color: #ffcd2f;
    --button-border-color: #ffcd2f;
    --color-link-active: #ffcd2f;
    --button_background_hover_color: #e3b829;
    --button-background-hover-color: #e3b829;
    --button_border_hover_color: #e3b829;
    --button-border-hover-color: #e3b829;
    --color-link-hover: #e3b829;
    --global-border-radius: 4px;
    --button-border-radius: 3px;
    --global-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.12);
}

@media screen and (min-width: 60em) {
    .has-bbpress-sidebar-right.bbpress:not(.buddypress) .site-wrapper,
    .has-buddypress-sidebar-right:not(.bp-user):not(.single-item):not( .group-create):not(.page-template-full-width-container) .site-wrapper,
    .has-sidebar-right.bpsh-buddypress .site-wrapper,
    .has-sidebar-right.buddypress.search-results .site-wrapper,
    .has-sidebar-right.buddyx-dokan.woocommerce:not(.buddypress):not( .bbpress):not(.woocommerce-page):not(.page-template-full-width-container) .site-wrapper,
    .has-sidebar-right:not(.buddypress):not(.bbpress):not(.woocommerce):not( .woocommerce-page):not(.page-template-full-width-container):not( .post-template-post-full-large):not(.post-template-post-full-small):not(.mediapress) .site-wrapper,
    .has-woocommerce-sidebar-right .site-wrapper {
        grid-template-columns: 3fr;
    }
}


/** login page wrapped with page-template-page-templates class from the custom template page Empty page */

.page-template-page-templates .site-wrapper {
    grid-template-columns: 3fr;
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url("./assets/eurosyn-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.page-template-page-templates .site-wrapper::after {
    position: absolute;
    content: "";
    height: 8px;
    inset-inline: 0;
    background-color: #ffcd2f;
}

.page-template-page-templates .container {
    max-width: unset;
    width: 100%;
    padding: 0;
}

.page-template-page-templates .login-form-container {
    min-height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    min-width: 450px;
}

.page-template-page-templates .login-form-container div.userpro {
    max-width: unset;
    margin: 0;
    border: 0;
}

.page-template-page-templates .login-form-container div.userpro-head {
    background: unset;
    border: 0;
}

.page-template-page-templates .login-form-container div.userpro-head div.userpro-left {
    width: 100%;
    text-align: center;
    color: #ffcd2f;
    font-size: 24px !important;
    margin-bottom: 16px;
}

.page-template-page-templates .login-form-container div.userpro-label.iconed {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.page-template-page-templates .login-form-container .userpro-field-icon {
    display: none;
}

.page-template-page-templates .login-form-container .userpro-input {
    float: none;
    width: 100%;
}

.page-template-page-templates .login-form-container div.userpro-label label {
    color: #7e7f7f !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 8px;
}

.page-template-page-templates .login-form-container .userpro-input input {
    border-radius: 32px !important;
    padding: 16px !important;
    height: unset !important;
    font-size: 16px !important;
    box-shadow: inset 0 0 10px #dfdfdf !important;
    border: 0 !important;
}

.page-template-page-templates .login-form-container .userpro-field:not(:first-child) {
    margin-top: 32px;
}

.page-template-page-templates .login-form-container .bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap,
.page-template-page-templates .login-form-container .bottom-actions .userpro-right a {
    color: #7e7f7f;
    font-size: 14px;
}

.page-template-page-templates .login-form-container .bottom-actions .userpro-right a:hover {
    color: #ffcd2f;
}

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap .userpro-checkbox {
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-right: 10px;
    cursor: pointer;
}

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap .userpro-checkbox input {
    margin-right: 8px;
}

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap .userpro-checkbox input[type="checkbox"] {
    display: none;
}


/* Style the checkbox */

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap .userpro-checkbox span:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 0;
    top: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffcd2f;
    box-shadow: inset 0px 0px 5px #e5b000;
}


/* Style the checkmark */

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap .userpro-checkbox span:after {
    content: "\f00c";
    display: none;
    position: absolute;
    border-radius: 50%;
    color: #fff;
    left: 5px;
    top: 2px;
    font-size: 14px;
    font-family: "FontAwesome";
    /* white checkmark */
}


/* Show the checkmark when the checkbox is checked */

.page-template-page-templates .login-form-container .bottom-actions .userpro-checkbox-wrap .userpro-checkbox span.checked:after {
    display: block;
}

.page-template-page-templates .login-form-container div.userpro-field.userpro-submit {
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-template-page-templates .login-form-container div.userpro-field.userpro-submit .userpro-button {
    margin: 0 !important;
    border-radius: 32px !important;
    border: 0 !important;
    background: #ffcd2f !important;
    box-shadow: inset 0px 0px 5px #e5b000;
    font-size: 16px !important;
    padding: 8px !important;
    height: unset !important;
    width: 50% !important;
    transition: shadow 0.3s ease-in-out;
}

.page-template-page-templates .login-form-container div.userpro-field.userpro-submit .userpro-button:hover {
    box-shadow: none;
}

.page-template-page-templates .welcome-container {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 780px) {
    .page-template-page-templates .welcome-container {
        display: none;
    }
    .page-template-page-templates .login-form-container {
        min-width: unset;
        width: 100%;
    }
}

.site-header {
    height: 64px;
}

.site-header .site-branding img {
    height: 48px;
}

.site-header .site-description {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    margin-left: 32px;
}

.site-header .site-description::before {
    position: absolute;
    content: "";
    width: 2px;
    left: -16px;
    top: 0;
    bottom: 0;
    background-color: #b6b6b6;
}

.site-header .header-right-part .logout-icon::after {
    content: "\f08b";
    font-family: "FontAwesome";
    color: #ffcd2f;
    font-size: 24px;
    font-weight: 200;
    -webkit-font-smoothing: antialiased;
}

.site-header .header-right-part .profile-icon::after {
    content: "\f007";
    font-family: "FontAwesome";
    color: #fff;
    background-color: #ffcd2f;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 200;
    -webkit-font-smoothing: antialiased;
}

.site-header .header-right-part {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 16px;
}

.site-header .header-right-part a.profile {
    text-transform: capitalize;
}

.site-header .header-right-part a.logout span:first-child {
    border-bottom: 1px solid #ffcd2f;
}

.site-header .header-right-part a.logout:hover span:first-child {
    color: #ffcd2f;
}

.site-header .header-right-part a {
    display: flex;
    align-items: center;
    gap: 8px;
}


/** pages */

.page-template-default.page {
    background: url("./assets/page-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
}

.page-template-default.page .site-sub-header {
    background: unset;
}

.page-template-default.page .site-sub-header .container {
    display: flex;
    justify-content: center;
}

.page-template-default.page .site-sub-header .container .entry-header-title {
    margin: 0;
}

.page-template-default.page .site-sub-header .container .entry-header-title .entry-title {
    margin: 0;
    color: #ffcd2f !important;
    font-weight: 500;
    border-bottom: 1px solid #ffcd2f;
}

.title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

.title-wrapper .entry-title {
    color: #ffcd2f;
    font-weight: 700;
    font-size: 32px;
    border-bottom: 1px solid #ffcd2f;
}

.list-title.groups-title a {
    color: #ffcd2f;
    font-weight: 500;
    font-size: 24px;
}

.group-description-wrapper {
    font-size: 18px;
    padding-inline: 16px;
}

.bp-list>li .list-wrap:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bp-list > li .list-wrap {
    -webkit-box-shadow: var(--global-box-shadow);
    box-shadow: var(--global-box-shadow);
}

.bp-list > li .list-wrap .item {
    height: 100%;
}
.bp-list > li .list-wrap .item .action {
    align-self: flex-end;
    margin-bottom: 0;
}

#groups-dir-list .group-subscription-status-desc,
#groups-list .group-subscription-status-desc {
    display: block;
}

#groups-dir-list .group-subscription-div,
#groups-list .group-subscription-div {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#groups-dir-list .group-subscription-div .group-subscription-status,
#groups-list .group-subscription-div .group-subscription-status {
    margin-top: 0;
    margin-left: 8px;
}

#groups-dir-list .group-subscription-div .gemail_icon,
#groups-list .group-subscription-div .gemail_icon {
    padding: 0 !important;
}

#groups-dir-list .group-subscription-div .js-tooltip.ges-change {
    margin-left: 32px;
    flex: 1;
}

#item-header #item-header-cover-image .bp-group-title {
    color: #ffcd2f;
    font-weight: 700;
    font-size: 32px;
    border-bottom: 2px solid #ffcd2f;
    width: fit-content;
}

#js-dialogtooltip.group-email-tooltip {
    border: 1px solid rgb(236, 236, 236);
    box-shadow: var(--global-box-shadow);
    padding: 24px;
}

#js-dialogtooltip button {
    padding: 8px !important;
}

.group-email-tooltip :focus {
    box-shadow: none !important;
}

#object-nav ul li.bp-groups-tab {
    flex: 1;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

#object-nav ul .bp-groups-tab:hover {
    background-color: #e3b829 !important;
}

#object-nav ul li.bp-groups-tab a {
    color: #fff;
    padding: 12px;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#object-nav ul li.bp-groups-tab.selected a {
    border-bottom: 2px solid #fff;
}

#object-nav {
    background-color: #ffcd2f;
    box-shadow: var(--global-box-shadow);
    border-radius: var(--button-border-radius);
}

li#nav-documents-groups-li,
li#nav-documents-personal-li a {
    background: none !important;
}

#buddypress div#item-header #item-header-cover-image #item-header-content {
    width: 100% !important;
}

#buddypress div#item-header #item-header-cover-image #item-header-content .metas-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-headers .activity,
.single-headers .item-meta {
    margin: 0 !important;
}

.single-item .group-subscription-div {
    padding: 0 !important;
}

#item-header-content button.ges-change {
    padding: 6px 16px !important;
    border-radius: var(--button-border-radius) !important;
    border: 1px solid #ffcd2f;
    color: #ffcd2f;
    color: #ffcd2f;
    background: white;
    font-weight: 400;
    font-size: 11px;
}
#item-header-content button.ges-change:hover {
    background-color: #ededed;
}

.gemail_icon {
    background: url("./assets/email.png") top left no-repeat !important;
    padding-left: 22px !important;
}

.activity-update-form #whats-new-textarea textarea#whats-new {
    background-color: #ebebeb;
}

.activity-list.bp-list .activity-item {
    border: 0;
    border-bottom: 1px solid #c0c2c5;
    border-radius: 0 !important;
}

.item-header-cover-image-wrapper,
.groups-header .desc-wrap,
.buddypress-wrap:not(.bp-vertical-navs) .item-body {
    box-shadow: var(--global-box-shadow);
}

.buddypress-wrap ul.subnav {
    border-color: #ffcd2f;
}

#group-documents-group-admin-categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    list-style-type: disc;
}

#bp-group-documents ul#bp-group-documents-list {
    padding-top: 16px;
}

#bp-group-documents ul#bp-group-documents-list li {
    margin-bottom: 16px;
    border-bottom: 1px solid #c0c2c5;
    padding-bottom: 8px;
}

#group-documents-group-admin-categories ul li #editCat {
    margin-left: 16px;
}

div.userpro-head,
div.userpro-centered {
    background: none;
}

body:not(.page-template-empty-empty) div.userpro {
    box-shadow: var(--global-box-shadow);
}

div.userpro-profile-img-btn a.userpro-button {
    border-color: #ffcd2f !important;
    color: #ffcd2f !important;
    background: #fff !important;
    padding-inline: 32px !important;
}

div.userpro-profile-name {
    text-transform: capitalize;
}

div.userpro-input input[type="text"]:focus {
    box-shadow: none !important;
}

div.userpro-input input[type="text"] {
    color: #232323 !important;
}

div.userpro-input label.userpro-checkbox.hide-field {
    display: none !important;
}

span.strength-plain.fill {
    background: #ffce2f !important;
}

div.userpro-field.userpro-submit {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

img.userpro-loading,
div.userpro img.userpro-loading {
    width: 12px !important;
    height: 12px !important;
}

.userpro-body div.userpro-submit input,
.userpro-body div.userpro-submit input[type="submit"].userpro-button {
    margin: 0 !important;
}

.userpro-body input.userpro-button.red {
    background: #fff !important;
    color: #bd3d3d !important;
    border-color: #bd3d3d !important;
    box-shadow: none !important;
}

body:not(.page-template-empty-empty) .userpro-body input.userpro-button {
    background: #fff !important;
    color: #ffce2f !important;
    border-color: #ffce2f !important;
    box-shadow: none !important;
}

.error404-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 190px);
}

.error-msg-container {
    display: flex;
    align-items: center;
}

.error404-container .error {
    font-size: var(--font-size-larger);
    font-weight: 700;
    color: #ffce2f;
}

.error404-container .message::before {
    content: "";
    display: block;
    position: absolute;
    width: 2px;
    inset-block: 0;
    left: 0;
    background-color: #7e7f7f;
}

.error404-container .message {
    font-size: 18px;
    position: relative;
    font-weight: 500;
    margin-left: 16px;
    padding-left: 16px;
    color: #7e7f7f;
}

.error404-container .go-back-link {
    text-align: center;
    margin-top: 16px;
}

.error404-container .go-back-link a {
    font-size: 14px !important;
    color: #ffcd2f;
}

@media screen and (max-width: 700px) {
    .header-actions-label {
        display: none;
    }
    #buddypress.buddypress-wrap .grid.bp-list {
        flex-direction: column;
    }
    .buddypress-wrap .grid.bp-list>li {
        width: 100%;
    }
}

@media screen and (max-width: 550px) {
    .site-description {
        display: none;
    }
    .site-branding {
        margin-right: 16px;
    }
    .site-header .header-right-part {
        gap: 16px;
    }
    #buddypress div#item-header #item-header-cover-image #item-header-content .metas-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 748px) {
    .buddypress-wrap:not(.bp-single-vert-nav) .bp-navs:not(.bp-subnavs) li {
        background: transparent;
    }
    #object-nav ul li.bp-groups-tab.selected a {
        font-weight: 700;
    }
}

.activity-list .activity-item .activity-header .time-since:hover {
    cursor: default;
    text-decoration: none;
}

body #buddypress .bp-list .activity-meta.groups-meta.action {
    display: flex;
    justify-content: flex-end;
    background: none;
    border-top: 0;
}

body #buddypress .bp-list .activity-meta.groups-meta.action .delete-activity {
    background-color: red !important;
    color: #FFF !important;
}

a.bp-group-documents-icon {
    margin-left: -64px;
    width: 56px;
}

#bp-group-documents ul#bp-group-documents-list li {
    padding-left: 64px;
}

.urole-column select option[value="mod"] {
    display: none;
}

.email-modal-options {
    display: flex;
    flex-direction: column;
}