#wpforo {
    /* forum has background color gradient, this max-width need to be remove*/
    /* max-width: 1280px; */
    margin: 0 auto;
}
.wpf-breadcrumb {
    display: none;
}
.wpft-post .wpf-breadcrumb {
    display: block;
}
.wpforo #breadcrumbs {
    display: none;
}
.wpf-item-element.wpf-root span {
    display: inline !important;
}
.wpf-item-element.wpf-root .fa-home {
    display: none;
}
.wpf-item-element.active {
    font-weight: 400;
}
.popup-modal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 50%;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: 0.3s ease-out;
    opacity: 0;
    visibility: hidden;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(48, 48, 48, 0.5);
    cursor: pointer;
}
.popup-modal.open {
    opacity: 1;
    visibility: visible;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab{display: inline-block;margin: 0;margin-bottom: -2px;}
.popup-modal.login-required .popup-modal-wrapper .include-form .form-content{
    padding: 50px 26px;
    border-radius: 50px;
    background: #F7F8FA;
    overflow: visible;
    position: relative;
    /* min-height: 55vh; */
    /* transition-duration: .3s; */
}


.popup-modal.login-required .popup-modal-wrapper .include-form .form-content:nth-child(2):before{
    background-image: url(../images/signup-kbg.svg);
    left: -1px;
    max-width: 970px;
    background-size: 970px auto;
    width: calc(100% - 100px);
}
.popup-modal-wrapper>.close-popup {
    padding: 12px;
    position: absolute;
    right: 0;
    top: 13px;
    line-height: 1;
    width: 42.153px;
    height: 42.153px;
    border-radius: 50%;
    background: #E9EAEE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.popup-modal-wrapper>.close-popup:hover svg path{
stroke: #fff;
}
.wpforo-register-content h2 {
    display: none;
}
/* .popup-modal.login-required .popup-modal-wrapper .form-tab a:not(.active) {
    display: none;
} */
.popup-modal.login-required .popup-modal-wrapper .include-form .form-content:not(.active) {
    display: none;
    /* opacity: 0; */
    /* visibility: hidden; */
    /* position: absolute; */
    /* top: 0; */
    /* min-height: 55vh; */
}
.form-tab> a.active .button {
    background: var(--primary);
    color: var(--white);
}

.popup-modal .form-tab {
    margin-bottom: 20px;
}

.form-content form {
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.popup-modal .include-form .wpfbg-9 {
    background-color: transparent !important;
}

body:not(.wp-admin) input:-webkit-autofill{
      -webkit-text-fill-color: #131436;
      -webkit-box-shadow: 0 0 0px 28px rgba(255, 255, 255, 1) inset;
      border-color: #fff !important;
}

body:not(.wp-admin) input:-webkit-autofill:hover, 
body:not(.wp-admin) input:-webkit-autofill:focus{
    border-color: #C6E2DF !important;
}
    

.popup-modal .wpforo-login-content .wpf-field {
    margin-bottom: 20px;
    width: calc(30% - 18px * 2 / 3);
    padding-left: 38px;
}

.popup-modal .wpforo-login-content .wpf-field .wpf-extra.wpfcl-1 {
    margin-top: 24px;
}

.popup-modal .wpforo-login-content .wpf-field input[type="submit"] {
    background-image: url(../images/icon-login.svg);
    background-size: 19px;
    background-repeat: no-repeat;
    background-position: center left 34px;
    padding: 10px 25px 10px 61px;
    background-color: transparent;
    color: #131436;
}
.popup-modal .wpforo-login-content .wpf-field input[type="submit"]:hover {
    background-image: url(../images/icon-login-white.svg);
    background-size: 19px;
    background-repeat: no-repeat;
    background-position: center left 34px;
    padding: 10px 25px 10px 61px;
        background-color: #131436;
    color: #fff;
}


.popup-modal .wpf-field input[type="submit"] {
    color: #fff;
    text-align: center;
    font-family: 'Noto Sans JP';
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 2.34px;
    text-transform: uppercase;
    background-color: #131436;
    border-radius: 30px;
    padding: 10px 25px;
    display: inline-block;
    transition: 0.3s all;
    border: 1px solid #131436;
    cursor: pointer;
    width: 100%;
    max-width: 155px;
    height: 42.592px;
    text-align: center;
    margin-right: 15px;
    width: 155px;
}
html[lang="fr-FR"] .popup-modal .wpf-field input[type="submit"]{
    max-width: unset;
    width: auto;
}

.popup-modal .wpf-field input[type="submit"]:hover {
    background: #fff;
    color: #131436;
}


.popup-modal .container {
    width: 100%;
}

.wpforo-login-content .wpf-td {
    display: flex;
    flex-wrap: wrap;
}

.popup-modal .wpforo-login-content .wpf-field:not(:nth-child(3n+1)) {
    margin-left: 18px;
}

.popup-modal .wpf-field.wpf-extra-field-end {
    width: 100%;
    margin: 0;
}

.popup-modal a.button[data-tab="login-form"] {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab .button {
    position: relative;
    padding: 12px 20px;
    width: 155px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab >a {
    padding: 14px 14px 14px 17px;
    border-radius: 25px 25px 0 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition-duration: 0s;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab >a.active {
    background: #F7F8FA;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab >a:before {
    content: '';
    display: block;
    position: absolute;
    bottom: -18px;
    right: -56px;
    width: 121px;
    height: 53px;
    background: url(../images/corner.png);
    background-size: contain;
    opacity: 0;
    transition-duration: 0s;
}


.popup-modal.login-required .popup-modal-wrapper .form-tab >a:not(:first-child):after{
    content: '';
    display: block;
    position: absolute;
    bottom: -18px;
    left: -56px;
    width: 121px;
    height: 53px;
    background: url(../images/corner.png);
    background-size: contain;
    opacity: 0;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: -1;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab >a.active:before,
.popup-modal.login-required .popup-modal-wrapper .form-tab >a.active:after{
    opacity: 1;
}


.popup-modal-wrapper {
    position: relative;
    max-width: 1061px;
    width: 100%;
    margin: 0 auto;
    /* overflow: hidden; */
    height: 546px;
}


.popup-modal .wpforo-login-content .wpf-field input[type="submit"] {
    margin-top: 38px;
}

.wpf-field.wpf-field-type-password.required a {
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px; /* 208.333% */
    text-decoration-line: underline;
}

.popup-modal .wpf-field-reg {
    display: none;
}

.wpforo-login-content .required label:after {
    content: '*';
    color: #D20038;
    margin-left: 5px;
    font-size: 16px;
    line-height: 20px;
}

.popup-modal .wpforo-login-content  .wpf-field.wpf-field-type-text {
    width: calc(34.6% - 18px * 2 / 3);
    padding-left: 0;
}

.popup-modal .wpforo-login-content  .wpf-field.wpf-field-type-password.required {
    width: calc(35% - 18px * 2 / 3);
    padding-left: 0;
    margin-top: 0;
}

.popup-modal .close-popup svg {
    width: 16px;
    height: auto;
}

.popup-modal .wpf-field.wpf-field-type-password.required a {
    margin-top: 13px;
    display: block;
}
.popup-modal.login-required .popup-modal-wrapper .include-form .form-content:before {
    /* content: ''; */
    display: block;
    width: calc(100% - 76px);
    height: calc(100% + 76px);
    top: -70px;
    left: 0;
    background-size: 1060px auto;
    background-position: top 0px left;
    background-repeat: no-repeat;
    border-radius: 0 15px 15px 15px;
    position: absolute;
    z-index: -1;
}

.popup-modal .wpforo-register-content .wpf-tr.row-0>div {
    display: block;
    width: calc(50% - 20px * 1 / 2);
    /* width: 50%; */
    overflow: visible;
}
 .popup-modal .wpforo-register-content .wpf-tr.row-1>div{
     display: flex;
     flex-wrap: wrap;
     width: 100%;
 }
.popup-modal .wpf-table.wpforo-register-table.wpfbg-9 {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.popup-modal .wpforo-register-content .wpf-tr {
    width: 100%;
}

.popup-modal .wpforo-register-content .wpf-field.wpf-field-type-submit {
    text-align: center;
    margin-top: 27px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.popup-modal .wpforo-register-content .wpf-field.wpf-field-type-submit .button{
    padding: 11px 46.5px;
}


.popup-modal .wpforo-register-content .wpf-field .wpf-field-wrap input {
    margin-bottom: 23px;
}

.popup-modal .wpforo-register-content .wpf-field .wpf-label {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 16px;
    color: #000000;
}

body:not(.wp-admin) .popup-modal-wrapper .include-form .form-content input:not([type="submit"]) {
    border-color: transparent;
}

body:not(.wp-admin) .popup-modal-wrapper .include-form .form-content input:not([type="submit"]):focus {
    border-color: #C6E2DF;
}

body:not(.wp-admin) .include-form .form-content input:focus::placeholder {
    color: #131436;
    font-size: 14px;
    font-weight: 500;
}

.popup-modal .wpforo-register-content .wpf-tr.row-0 {
    /* margin-right: 20px; */
}

.popup-modal.login-required .popup-modal-wrapper .form-tab>a:not(.active) svg path {
    fill: #131436;
    stroke: #131436;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab>a svg path{
    transition-duration: .3s;
}

.popup-modal.login-required .popup-modal-wrapper .form-tab>a:not(.active):hover svg path {
    fill: #fff;
    stroke: #fff;
}

.popup-modal .wpforo-register-content .wpf-field .wpf-label .wpf-field-required-icon {
    color: #D20038;
}




.popup-modal.login-required .popup-modal-wrapper .include-form .form-content:first-child {
    border-radius: 0 50px 50px;
}


.open-modal {
    position: fixed;
    width: 100vw;
}

.popup-modal .wpforo-register-content .wpf-tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.popup-modal .wpforo-register-content .wpf-tr.row-1 .wpf-field {
    width: calc(50% - 20px * 1 / 2);
}

.popup-modal .wpforo-register-content .wpf-tr.row-1 .wpfw-1 >.wpf-field:first-child {
    margin-right: 20px;
    padding-left: 20px;
}

.popup-modal .wpforo-register-content .wpf-tr.row-0>div:first-child {
    margin-right: 20px;
    padding-left: 20px;
}

.popup-modal .wpforo-register-content .wpf-field.wpf-field-type-submit {
    margin-top: 12px;
}

.popup-modal .wpforo-register-content .wpf-tr.row-0>div:nth-child(2) {
    padding-right: 20px;
}

.popup-modal .wpforo-register-content .wpf-tr.row-1 .wpfw-1 >.wpf-field:nth-child(2) {
    padding-right: 20px;
}

.form-content form::-webkit-scrollbar {
  width: 5px;
  border-radius: 5px;  
}
/* Track */
.form-content form::-webkit-scrollbar-track {
  background: #E7E7E7;
  border-radius: 5px;  
}

/* Handle */
.form-content form::-webkit-scrollbar-thumb {
  background: #D20038;
      border-radius: 5px;  
}

/* Handle on hover */
.form-content form::-webkit-scrollbar-thumb:hover {
  background: #D20038;
}

@media (max-width: 1024px){
    .popup-modal .wpforo-login-content .wpf-field {
    padding-left: 0;
}

.popup-modal.login-required .popup-modal-wrapper .include-form .form-content {
    padding: 50px 28px;
}
}

@media (max-height: 500px){
    .popup-modal-wrapper {
        max-height: 89vh;
    }
}

@media (min-width: 768px){
    .popup-modal-wrapper>.close-popup:hover{
        background: var(--primary);
    }
}
@media (max-width: 767px){

    .popup-modal .include-form .wpforo-login-wrap {
    padding-right: 20px;
    padding-left: 20px;
}
    .popup-modal .wpforo-register-content .wpf-tr.row-0>div,
    .popup-modal .wpforo-register-content .wpf-tr.row-1 .wpf-field{
        width: 100%;
        margin-right: 0;
    }
    
    .popup-modal .wpforo-register-content .wpf-tr.row-1 .wpfw-1 >.wpf-field:first-child {
        margin-right: 0px;
        padding-right: 20px;
    }
    .popup-modal .wpforo-register-content .wpf-tr.row-0>div:nth-child(2),
    .popup-modal .wpforo-register-content .wpf-tr.row-1 .wpfw-1 >.wpf-field:nth-child(2) {
        padding-left: 20px;
    }
    
    .popup-modal .wpforo-register-content .wpf-tr.row-0>div:first-child {
        margin-right: 0px;
        padding-right: 20px;
    }
    .popup-modal-wrapper>.close-popup {
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 1px solid #fff;
    top: -23px;
}

.close-popup svg path {
    stroke: #fff;
}

.popup-modal.login-required .popup-modal-wrapper .include-form .form-content {
    border-radius: 25px;
    padding: 36px 8px 46px 8px;
}

    .popup-modal.login-required .popup-modal-wrapper .include-form .form-content:first-child{
           border-radius: 0 25px 25px;
    }

.popup-modal.login-required .popup-modal-wrapper .form-tab>a .button{
    height: 38px;
    padding: 9px 20px;
    width: 100%;
}


.popup-modal .wpforo-login-content .wpf-field.wpf-field-type-text, .popup-modal .wpforo-login-content .wpf-field.wpf-field-type-password.required {
    width: calc(50% - 20px * 1 / 2);
}

.popup-modal .wpforo-login-content .wpf-field:not(:nth-child(3n+1)) {
    margin-left: 0;
}

.popup-modal .wpforo-login-content .wpf-field.wpf-field-type-text {
    margin-right: 20px;
}

.popup-modal .wpforo-login-content .wpf-field input[type="submit"] {
    margin-top: 0px;
    min-width: 157px;
}

.popup-modal .wpforo-login-content .wpf-field {
    margin-bottom: 0;
}

body:not(.wp-admin) input[type="checkbox"] + label {
    margin-bottom: 0;
}

.popup-modal .wpforo-login-content .wpf-field .wpf-extra.wpfcl-1 {
    margin-top: 13px;
}
    .popup-modal.login-required .popup-modal-wrapper{
        border-radius: 10px;
        padding-top: 40px;
        height: auto;
    }
    .form-tab>a {

        width: calc(50% - 20px);
    }

    .popup-modal.login-required .popup-modal-wrapper .form-tab .button{
        padding: 12px 20px;
    }

    
    .popup-modal .form-tab {
        gap: 10px;
        display: flex;
    }

    .popup-modal .wpforo-login-content .wpf-field.wpf-field-type-text, .popup-modal .wpforo-login-content .wpf-field.wpf-field-type-password.required {
        width: 100%;
    }
    
    .popup-modal .wpforo-login-content .wpf-field.wpf-field-type-text {
        margin-right: 0;
    }
    
    body:not(.wp-admin) .popup-modal-wrapper .include-form .form-content input:not([type="submit"]) {
        margin-bottom: 22px;
    }
    
    .popup-modal .wpf-field.wpf-field-type-password.required a {
        margin-top: 3px;
        margin-bottom: 26px;
    }
    
    .popup-modal .wpforo-login-content .wpf-field {
        width: 100%;
    }
    
    .popup-modal a.button[data-tab="login-form"] {
        margin-right: 23px;
    }
    
    .popup-modal.login-required .popup-modal-wrapper .form-tab {
        /* padding: 13px 0px 13px 11px; */
        width: 100%;
        display: flex;
        gap: 0;
    }
    
    .popup-modal.login-required .popup-modal-wrapper .form-tab>a {width: calc(50% - 0px);max-width: 181px;padding: 13px 11px 11px 13px;}
    
    .form-tab>a .button{
        max-width: 157px;
    }
    .popup-modal.login-required .popup-modal-wrapper .include-form .form-content:nth-child(1):before {
        background-size: 1014px auto;
    }
    
    .popup-modal.login-required .popup-modal-wrapper .include-form .form-content:before {
        top: -67px;
    }
    
    .popup-modal label {
        margin-bottom: 10px;
    }
    
    body:not(.wp-admin) .popup-modal-wrapper .include-form .form-content input:not([type="checkbox"]) {
        height: 40px;
    }
    
    body:not(.wp-admin) .popup-modal-wrapper .include-form .form-content input[type="submit"] {
        height: 42.592px;
    }

    .popup-modal.login-required .popup-modal-wrapper .form-tab >a:before {
    bottom: -13px;
    right: -54px;
    background-image: url(../images/corner-mb.png);
    background-size: contain;
    width: 124px;
    height: 56px;
    background-position: center bottom;
    background-repeat: no-repeat;
}


.popup-modal .wpforo-register-content .wpf-field.wpf-field-type-submit .button {
    width: calc(50% - 7px);
    min-width: calc(50% - 7px);
    max-width: 157px;
    padding: 12px 25px;
    height: 42.592px;
}
}
@media (max-width: 560px){
        .popup-modal.login-required .popup-modal-wrapper .form-tab >a:last-child:before {
    display: none;
}
}
@media (max-width: 500px){

    .popup-modal.login-required .popup-modal-wrapper .form-tab>a{
        max-width: 50%;
    }

    .popup-modal.login-required .popup-modal-wrapper .include-form .form-content:last-child {
        border-radius: 25px 0 25px 25px;
    }
    
    .popup-modal.login-required .popup-modal-wrapper .form-tab>a .button {
        padding: 9px 0px;
    }
    
    .popup-modal .wpf-field input[type="submit"] {
        width: calc(50% - 7px);
        margin-right: 14px;
    }
    

}
@media (max-width: 413px){

.popup-modal.login-required .popup-modal-wrapper .include-form .form-content:nth-child(1):before {
    background-size: 868px auto;
    width: calc(100% - 36px);
}

.popup-modal.login-required .popup-modal-wrapper .include-form .form-content:before {
    top: -59px;
}
}

@media (max-width: 374px){
    .popup-modal .wpforo-register-content .wpf-field.wpf-field-type-submit .button {
        width: 100%;
    }
    
    .popup-modal .wpforo-register-content .wpf-field.wpf-field-type-submit {
        flex-wrap: wrap;
    }
    
    body:not(.wp-admin) .popup-modal-wrapper .include-form .form-content input[type="submit"] {
        margin-bottom: 10px;
        margin-right: 0;
    }
}