/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

/*
* https://apteam.atlassian.net/browse/DEVBNP-54
*/

@media screen and (max-width: 1200px) {

	.site-title > a { 
        content: '' !important;
		/* content: url("/z-a/i/bnp_logo_m.png") !important; */
		width: 60% !important; 
	}
}

@media screen and (min-width: 992px) and (max-width: 1200px) {

    .home-search-block .facetwp-search-wrap {
        margin-left: 120px !important;
    }
	 
}

@media screen and (min-width: 420px) and (max-width: 498px) {
    
    .main-text .search-on-scroll {
        top: -17px !important;
        margin-left: 15px !important;
    }

}

@media screen and (min-width: 420px) and (max-width: 460px) {

	.main-text .facetwp-search-wrap input { 
        width: 340px !important;
	}
}

@media screen and (max-width: 318px) {
    
    .main-text .search-on-scroll {
        top: -17px !important;
        margin-left: 16px !important;
    }

    .main-text .facetwp-search-wrap input {
        width: 150px !important;
    }

}

/* Subscription letter */
.subscrption-block i{
    font-size: 25px;
    color: #612f8e !important;
}
.subscrption-block span.text{
    font-size: 23px;
    font-weight: bold;
    margin-left: 10px;
    font-family: 'Yrsa', serif;
}
@media only screen and (max-width: 480px){
    p.subscrption-block{
        margin-bottom: 0;
    }
    .subscrption-block i{
        font-size: 18px;
    }
    .subscrption-block span.text{
        font-size: 20px;
        margin-left: 5px;
        letter-spacing:0;
    }
}

/* Form */
.subscrption.container{
    margin-top: 4rem;
    margin-bottom: 0 !important;
}
.gh-form-wrapper{
    margin: 3rem 0 8rem;
}
.gh-form-fields{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
}
.gh-form-column{
    margin-right: 1rem;
}
.gh-form-column.name-field{
    width: 29rem;
}
.gh-form-column.email-field{
    width: 35rem;
}
.gh-form-wrapper input{
    text-indent: 1rem;
    color: #322e3d;
    min-height: 55px;
    border: 0;
    border-radius: 0.25rem;
    box-shadow: 0 0 50px #cccccc9e;
    display: inline-block;
    vertical-align: bottom;
}
.gh-input {
    outline: none;
    width: 100%;
}
.gh-form-wrapper input:focus{
    box-shadow: 0 0 50px #cccccc9e;
}
.gh-submit{
    background: #612f8e !important;
    font-weight: bold;
    font-size: 17px;
    border-radius: 0.25rem;
    min-height: 56px;
    border: 0;
    padding: 1rem 4.5rem;
    box-shadow: 0 0 50px #cccccc9e;
    color: #fff;
    font-family: 'Yrsa', serif;
}
.gh-form-edit-link{
    display: none;
}
@media only screen and (max-width: 820px){
    .subscrption.container{
        margin-top: 2rem;
    }
    .gh-form-wrapper{
        margin: 2rem 0 4rem;
    }
    .gh-form-column {
        width: 85% !important;
        display: inline-block;
        margin: 10px;
    }
    .gh-form-fields {
        display: block!important;
    }
    .gh-form-column.name-field{
        margin-bottom:0 !important;
    }
    .gh-form-column.submit-field{
        margin: 1.5rem 0;
    }
    .gh-submit{
        width: 50%;
        padding:0;
    }
}

/* Image carousel */
.image-carousel{
    margin-top: 3rem;
}
.image-carousel h2{
    text-align: center;
}
.image-carousel amp-img img{
    display: block;
    width: 280px !important;
    min-width: auto !important;
}
.image-carousel .i-amphtml-base-carousel-arrows{
    bottom: 1rem;
}
.image-carousel .i-amphtml-base-carousel-arrow-next-slot button:hover, 
.image-carousel .i-amphtml-base-carousel-arrow-prev-slot button:hover{
    box-shadow: none !important;
}
.i-amphtml-base-carousel-arrow-background{
    background-color: #fff;
}
.i-amphtml-base-carousel-arrow-icon{
    width: 40px;
    height: 40px;
}
.i-amphtml-base-carousel-arrow{
    stroke: #000;
}
.i-amphtml-base-carousel-arrow-frosting{
    border:1px solid #eee;
}
@media only screen and (min-width: 320px) and (max-width: 1078px){
    .image-carousel amp-img img{
        width: 155px !important;
    }
}

/* Articles */
.article-wrapper{
    display: table;
    width: 100%;
    margin-top:2.5rem;
    border: 1px solid #f1dbff;
    border-radius: 10px;
    -webkit-box-shadow: 0px 3px 20px rgb(29 58 83 / 8%);
    box-shadow: 0px 3px 20px rgb(29 58 83 / 8%);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.article-wrapper:hover{
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
}
.article-wrapper:hover,.article-wrapper .btn-favorites-article:hover {
    -webkit-box-shadow: 0px 10px 30px rgb(29 58 83 / 15%);
    box-shadow: 0px 10px 30px rgb(29 58 83 / 15%);
}
.left-wrapper, .right-wrapper{
    display: table-cell;
    vertical-align: top;
}
.left-wrapper{
  width: 40%;
  height: 325px;
}
.right-wrapper{
  position: relative;
  width: 60%;
  padding: 2rem 3rem;
}
.left-wrapper a{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding-left: 15px;
}
.left-wrapper img{
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    margin: auto;
    border-radius: 10px;
}
.right-wrapper h3.article-title{
    margin: 3rem 0 2rem;
}
.article-title a {
	font-weight: 500;
	color: #612f8e;
	font-family: 'Yrsa', serif;
	font-size: 28px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.article-title a:hover {
    color: #612f8e !important;
	font-family: 'Yrsa', serif;
	text-decoration: underline;
}
.article-title a:visited {
	color: #000;
	font-family: 'Yrsa', serif;
	text-decoration: underline;
}
.right-wrapper .synopsis p{
    margin-bottom: 2rem;
}
.article-wrapper .btn-favorites-article{
    position: absolute;
    top: 0;
    right: 0;
    padding: 0rem 1rem;
    margin: 0;
    cursor: pointer;
    font-size: 3rem;
    background-color: #f1dbff;;
    border-left: 1px solid #f1dbff;
    border-bottom: 1px solid #f1dbff;
    border-top-right-radius: 8px;
}
.button-read-more{
    float: right;
    padding: 0 1rem;
    letter-spacing: inherit;
    height: 4rem;
    line-height: 4rem;
    font-size: 11pt;
    border-radius: 4px;
    color: #612f8e;
    background-color: #f1dbff;
}
.button-read-more:hover{
	color: #612f8e !important;
}

@media screen and (min-width: 480px) and (max-width: 1200px) {
    .article-wrapper{ 
        display: flex;
        align-items:center;
	}  
    .left-wrapper{
        height: auto;
    }
}
@media screen and (max-width: 480px) {
	.article-wrapper{ 
        display:block;
	}
    .left-wrapper, .right-wrapper{
        display: block;
        width: 100%;
    }
    .left-wrapper{
        height: auto;
    }
    .left-wrapper a{
        padding-left: 0;
    }
    .left-wrapper img{
        position: inherit;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .button-read-more{
        display: block;
        font-size: 12pt;
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    .article-wrapper .btn-favorites-article{
        border:none;
        border-top-right-radius:0;
    }
}
@media (min-width: 800px){
    .buddypanel-open .buddypanel-menu .sub-menu.bb-open{
        padding-top:0 !important;
    }
}
/* Name Generator */
.name-generator{
    margin: 15px 0;
    padding: 1rem 0;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    background-color: #e8e8e836;
}
.generate-form{
    width: 70%;
    margin: 5rem auto;
}
.generate-form .form-group{
    margin-bottom: 30px;
}
.generate-form label{
    font-weight: normal !important;
}
.generate-form label[for="Girl"]{
    vertical-align: sub;
    margin-left: 5px;
    color: rgb(184, 1, 78);
}
.generate-form label[for="Boy"]{
    vertical-align: sub;
    margin-left: 5px;
    color: rgb(51, 100, 197);
}
.btn-generate{
    color: #fff;
    font-weight: bold !important;
    padding: 1rem 4rem !important;
    background-color: #830683ba;
    letter-spacing: 1px;
}
.btn.btn-generate:hover{
    color: #fff !important;
    background-color: #83068396;
}
@media screen and (max-width: 820px) {
    .generate-form{
        width: 80%;
        margin: 2rem auto;
    }
}
.select2-results__option{
    text-transform: capitalize;
  }
.mwai-name .mwai-avatar{
    background: #fff !important;
}
/*
* DEVBNP-192
*/
.create-bot-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.create-a-bot-btn {
    color: #FFFFFF;
}
.mwai-chat span.mwai-text{
    text-align: left;
}
/* Style the input fields */
.create-bot-popup input[type="text"],
.create-bot-popup textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border: 1px solid #ccc;
    font-size: 16px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.create-bot-popup .create-bot-submit-wrapper {
    background-color: #ffffff;
    text-align: center;
}

.create-bot-popup span.required-text {
    color: red !important;
    font-size: 14px;
}

/* Style the submit button */
.create-bot-popup input[type="submit"] {
    background-color: #4caf50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

/* Style the form labels */
.create-bot-popup label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* Style the form heading */
.create-bot-popup h2 {
    margin-top: 0;
}

/* Style the close button */
.create-bot-popup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.create-bot-popup .message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 19px;
    text-align: center;
    z-index: 9999;
}

.create-bot-popup .message.success {
    background-color: green;
    font-size: 19px;
}

.create-bot-popup .message.error {
    background-color: red;
    font-size: 19px;
}

.signup-link{
    text-align: center;
    margin: 2rem 0;
    font-size: 1.7rem;
}

.signup-link a{
    font-weight: bold;
    color:rgb(51, 100, 197);
    text-decoration:underline;
}

/* Register page */
.bp_register .entry-header span{
    font-size: 18px !important;
}
.register-section p.description,
p.register-privacy-info{
    font-size: 15px !important;
}

.bp-single-message-wrap > .bp-single-message-content > .bp-message-content-wrap a.name-highlighted {
    color: blue !important;
}
.mwai-avatar.mwai-svg img{
    filter: brightness(1) invert(0) !important;
}
#loginform #wp-submit{
    font-size: 20px !important;
}
.profile-edit.ai-bot .wp-editor-tools,
.profile-edit.ai-bot .mce-statusbar {
     display: none !important;
 }
.profile-edit.ai-bot .upload-bot-img{
    position: relative;
    padding: 1rem;
    border: 1px solid #e7e9ec;
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
    padding: 1rem 2rem 2rem;
    /* overflow: hidden; */
}
.profile-edit.ai-bot .upload-bot-img #bot_img,
.profile-edit.ai-bot .upload-bot-img img{
    display: block;
    width: 130px;
    height: 130px;
    margin: 2rem auto;
    border-radius: 50%;
    box-shadow: -1px 2px 11px #eee;
}
.profile-edit.ai-bot .upload-bot-img .upload-demo-wrap {
    width: 400px;
    height: 250px;
    margin: 0 auto 7rem;
}
.profile-edit.ai-bot .upload-bot-img .upload-demo-wrap .cr-viewport{
    width: 200px !important;
    height: 200px !important;
}
.profile-edit.ai-bot .upload-bot-img input[type="file"]{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    width: 372px;
    height: 35px;
    margin: auto;
    opacity: 0;
    cursor: pointer;
}
.profile-edit.ai-bot .upload-bot-img input.update-img{
    width: 165px !important;
    right: 142px;
}
.upload-bot-img .file-label{
    padding: 5px 0;
    font-size: 15px !important;
    text-align: center;
    color: #fff !important;
    background-color: #9b60a2!important;
    border-radius: 3px;
    cursor: pointer;
}
.profile-edit.ai-bot .upload-bot-img a.upload-result{
    display: inline-block;
    padding: 5px 30px;
    font-size: 15px !important;
    background-color: #9b60a2;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}
#buddypress #profile-edit-form label:not(.bp-screen-reader-text).update-label{
    display: inline-block;
    width: 165px !important;
}
.profile-edit.ai-bot .upload-bot-img .file-label{
    width: 50% !important;
    margin: 0 auto !important;
    padding: 10px 0;
}
.profile-edit.ai-bot a.delete-icon{
    height: 35px;
    line-height: 35px;
    font-size: 15px;
    font-weight: normal;
    border: none;
    padding: 0 40px;
    background-color: #d9d9d9;
    margin: 0 10px;
}
.profile-edit.ai-bot a.delete-icon::before{
    display: none;
}
.profile-edit.ai-bot .field_type_image .field-visibility-settings-toggle{
    display: none;
}
.profile-edit.ai-bot .upload-bot-img input.after-delete-img{
    left: 140px;
}
@media (max-width: 400px) {
 
    .profile-edit.ai-bot .upload-bot-img input[type='file']{
        width: 54% !important;
        right: 0;
    }
    .profile-edit.ai-bot .upload-bot-img .update-img{
        bottom: 0;
        left: 0;
        top: 145px;
        right: 0;
    }
    .profile-edit.ai-bot .upload-bot-img input.after-delete-img{
        top: 157px !important;
        left: 0;
    }
    .profile-edit.ai-bot a.delete-icon{
        margin-top: 10px;
    }
    .profile-edit.ai-bot .upload-bot-img .upload-demo-wrap,
    .profile-edit.ai-bot .croppie-container .cr-boundary{
        width: 100% !important;
    }
}
@media (max-width: 830px) and (min-width: 430px){
    .profile-edit.ai-bot .upload-bot-img .update-img{
        bottom: 20px;
    }
}
.user-dash .bb-dash__avatar{
    flex: 0 0 100px;
    margin-right: 24px;
}

.user-dash .bb-dash__avatar img{
    max-width: 100px;
    width: 100px;
    padding: 3px 3px 3px 3px;
    border-radius: 50% 50% 50% 50%;
    box-shadow: 0px 0px 16px 15px rgba(0, 0, 0, 0.1);
}

.user-dash .bb-dash__intro{
    width: 65%;
}

.user-dash .bb-dash__prior > span{
    font-size: 34px;
    color: #fff;
}

.user-dash .bb-dash__brief{
    color: #c8c8c8;
    font-size: 22px;
    line-height: 2.5em;
}

.widget.widget_bp_profile_completion_widget h5{
    text-align: center;
    line-height: 1.2 !important;
    font-size: 18px !important;
    margin-bottom: 20px !important;
    margin-top: 15px !important;
}

.profile_completion_wrap .pc_progress_wrap{
    margin-bottom: 10px !important;
}

.pc_detailed_progress_wrap .single_section_wrap .section_ico:before{
    display: none !important;
}

.pc_detailed_progress_wrap .single_section_wrap{
    padding: 5px 0 !important;
}

.dash-title p{
    font-size: 12pt;
    margin-bottom: 20px;
}

.user-dash-grid.default-bot,
.user-dash-grid.user-own-bot{
    margin-bottom: 4rem;
}

.bb-dash-grid__inner.is-sep{
    border-color: #cdadd180 !important;
}

.user-dash-grid.bb-dash-grid{
    border-radius: 8px 8px 8px 8px;
    box-shadow: 0px 0px 6px -3px #612f8e;
}

.user-dash-grid .bb-dash-grid__image.square img{
    max-width: 65px !important;
    width: 65px !important;
    height: 65px !important;
    border-radius: 10px !important;
}

.user-dash-grid .bb-dash-grid__title h2 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0px;
    color: #122B46;
    margin-bottom: 0px;
}

.user-dash-grid .bb-dash-grid__link:hover .bb-dash-grid__title h2{
    color: #c2a5d9;
}

.user-dash-grid .bb-dash-grid__link:hover {
    text-decoration: none !important;
}

.bb-dash-grid__image .bb-icon-user-info,
.bb-dash-grid__image .bb-icon-link{
    font-size: 55px;
    border-radius: 10px;
    padding: 5px;
    color: #9C27B0;
    background-color: #9c27b021;
}

.bb-dash-grid__image .bb-icon-link{
    color: #3364c5;
    background-color: #3364c51a;
}

.bb-dash-grid__image .bb-icon-user-info{
    color: #9C27B0;
    background-color: #9c27b01a;
}

.bb-dash-grid__image span.ai-icon{
    display: block;
    width: 65px;
    height: 65px;
    color: #098e88;
    margin: 6px auto;
    font-size: 40px;
    border-radius: 10px;
    background-color: #098e881a;
    line-height: 65px;  
}

@media (max-width: 1180px) and (min-width: 800px){
    .profile_completion_wrap .pc_progress_wrap{
        min-width:100% !important;
    }
    .profile_completion_wrap .pc_detailed_progress_wrap{
        max-width: 100% !important;
        padding-right: 0 !important;
    }
    .pc_detailed_progress_wrap .single_section_wrap{
        margin-left: 15px !important;
    }
    .user-dash .bb-dash__brief{
        font-size: 21px;
        line-height: 1.2;
    }
}

@media (max-width: 800px) and (min-width: 380px){
    .profile_completion_wrap .pc_progress_wrap{
        display: block !important;
        flex: inherit !important;
        min-width:100% !important;
    }
    .profile_completion_wrap .pc_detailed_progress_wrap{
        max-width: 100% !important;
        padding-right: 0 !important;
    }
    .pc_detailed_progress_wrap .single_section_wrap{
        margin-left: 15px !important;
    }
}

@media (max-width: 800px) and (min-width: 310px){
    .user-dash .bb-dash__prior > span{
        font-size: 20px !important;
    }
    .user-dash .bb-dash__brief{
        margin-top: 5px;
        font-size: 14px;
        line-height: 1.1;
    }
}

@media (max-width: 420px){
    .elementor-section-wrap .elementor-element{
        width: 100% !important;
    }
}
.member-header-actions>.generic-button.social-button{
    background-color: #fff;
}
.member-header-actions>.generic-button.social-button .share-link {
    width: 38px;
    min-height: 38px !important;
    line-height: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background-color: #fff !important;
    border-color: #e4e4e4 !important;
}
.member-header-actions>.generic-button.social-button>* i{
    margin-top: 3px;
}
.member-header-actions>.generic-button.social-button>* i:before{
    font-size: 30px !important;
}
.member-header-actions>.generic-button.social-button a#share-fb i{
    color: #3b5998;
}
.member-header-actions>.generic-button.social-button a#share-twt i{
    color: #00b8ff;
}
.member-header-actions>.generic-button.social-button a#share-li i{
    color: #0e7698;
}
.member-header-actions>.generic-button.social-button a:hover{
    opacity: 0.8;
}
.member-header-actions>.generic-button.social-button .share-link i:before{
    font-weight: 300;
    margin-right: 0 !important;
}
.member-header-actions>.generic-button a.copy-button i:before{
    content: '\ef15';
    font-weight: 300;
} 
.member-header-actions .item-copy .tooltip {
    position: relative;
    display: inline-block;
}
.member-header-actions .item-copy .tooltip .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #122b46;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 90%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s !important;
}
.member-header-actions .item-copy .tooltip:hover .tooltiptext {
    -webkit-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0);
    visibility: visible;
    opacity: 1;
}
.bp-widget.ai-bot table.profile-fields tr td.data img{
    width: 135px;
}
/* BB message screen */
.messages-wrapper{
    background:#f1f1f1 !important;
}
.bp-messages-content-wrapper{
    background: #f1f1f1 !important;
}
.message-lists li.current a.bp-message-link{
    background: #ffffff !important;
}
.bp-messages-content #bp-message-thread-list,
.bp-messages-nav-panel{
    border-color: #dbdbdb !important;
}
.bp-messages-content #bp-message-thread-list li{
    padding: 5px 20px !important;
}
#bp-message-thread-list li .bp-single-message-wrap{
    background:#fbfbfc;
    padding: 10px;
    border-radius: 5px;
}
#bp-message-thread-list li.divider-date .bp-single-message-wrap{
    background: none !important;
    padding: 0;
}
.popup-chatbot-container .mwai-chat{
    z-index: 2147483647 !important;
}
.bb-user-content-wrap .item-copy .copy-link{
    display: inline-block;
    border: 1px solid #e7e9ec;
    padding-left: 10px !important;
    padding: 5px;
    margin: 3px 0 10px;
    border-radius: 5px;
    color: #a3a5a9;
}
.bb-user-content-wrap .item-copy button.copy-button{
    padding: 5px 15px;
    margin-left: 5px;
    border-radius: 5px;
}