/*
Theme Name: Twenty Twenty-Two Child
Theme URI: https://example.com/
Author: Galad Dirie
Author URI: https://example.com/
Description: A child theme for TT2.
Requires at least: 5.9
Tested up to: 6.0
Requires PHP: 5.6
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo-child
Template: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/
@import url("../twentytwentytwo/style.css");

html, body{
    height: 100%;
    /* font-family: 'gotham', 'arial', sans-serif !important; */
}
body.page, body.blog{
    /* background-image: url('./assets/images/bg-geo2.png');
    background-size: cover;
    background-repeat: repeat-y;
    background-position-x: top;
    background-origin: content-box; */

}

main{
    background-image: url('./assets/images/bg-img.png');
    background-size: contain;
    background-repeat: repeat-y;
    background-position-x: center;
    background-origin: content-box;
}

@media screen and (width > 1461px){
   main{
    background-size: 1300px auto;
    background-repeat: repeat-y;
   }

}
@media screen and (width < 1050px){
    main{
        background-size: contain;
        background-repeat: repeat-y;
        background-position-x: center;
    }
}

h1{
    color:var(--wp--preset--color--primary) !important;
}
.wp-site-blocks{
    height: 100%;
    display: flex;
    flex-direction: column;
}
main{
    flex-grow: .96;
}

input[type=textarea],
input[type=text],
input[type=email],
textarea{
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    background-color: #f9fafb;
    border: 1px solid #dddfe3;

}

.active > a span{
    color: var(--wp--preset--color--primary)!important;
}
.site-footer{
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}
footer .active > a span{
    color: black!important;
}

footer a span{
    
}

.wp-block-navigation-item > a:hover{
    text-decoration-style: underline;
    text-decoration-color: var(--wp--preset--color--primary) !important;
    text-decoration-thickness: 2px !important;
}
.wp-block-navigation-item:hover > a span{
    color: var(--wp--preset--color--primary);
    
}
footer{
    margin-top:0 !important;
}

/*mentor card*/
.mentor-list{
    list-style: none;
    padding: 0;

    transition: .2s ease;

}

.mentor-post-container{
    display: flex;
    flex-wrap: nowrap !important;
    margin-bottom: 5rem;
    justify-content: space-between;
    
    
}

.mentor-post{
    display: flex;
    flex-direction: column;
    font-size: medium;
    flex-grow: 1;
    
}

.mentor-image{
    padding: 0;
    margin-right: 1.5rem;
    /* margin: auto;
    margin-left: 0;
    margin-right: 0; */
}

.mentor-image figure{
    margin: 0;
    width: 240px;
}

.mentor-image__img{
    margin: 0px;
    height: 240px;
    width: 240px;
    object-fit: cover;
    border-radius: 100% !important;
}

.mentor-title{
    margin: 0;
}
.mentor-field{
    font-weight: bold;
}
.mentor-content-job-title{
    padding-bottom: 1rem;
    font-size: large;
}
/*mentor read more section*/
.mentor-read-more-section.close{
    display: block !important;
}

.mentor-read-more-section.open{
    display: block !important;;
}

.mentor-read-more-wrapper{
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.2s ease;
}

.mentor-read-more-content{
    height: fit-content;
    overflow: hidden;
    
}

.read-more-btn{
    cursor: pointer;
}

@media screen and (max-width: 600px){
    .mentor-post-container{
        flex-direction: column;
    }
    .mentor-image{
        margin-right:0;
        padding: 0;
        margin-bottom: 1rem;
    }
    .mentor-image figure{
        margin: 0;
        width: 100%;

    }
    
    .mentor-image__img{

        width: 100%;
        object-fit: cover;
        border-radius: 0!important;
    }
    

}

.silence-btn{
    background-color: #6D7280 !important;
}

.deactivate {
    opacity: 0.5 !important;
}

.deactivate .mentor-image__img{
    /* filter: grayscale(100%); */
}

.deactivate .custom-button {
    background-color: #949494 !important;
}

/*Feature Cards*/

.feature-card{
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 300px;

}
.feature-card-top{
    width: 100%;
}
/*  mentor */


.custom-search{
    display: flex;
    margin: 0;
    width: 300px !important;
    margin-left:auto ;
    margin-right: auto;
}

.custom-search input{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image:url(./assets/images/search.svg);
    background-position: calc(.5rem) center;
    background-size:15px;
    background-repeat: no-repeat;
    
    padding: 8px;
    padding-left: 30px;
    margin: 0;
    flex-grow: 1;
    height: 40px;
    border: 1px solid #949494;
    border-radius: 0.5rem 0 0 0.5rem;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

.wp-block-search__button {
    margin: 0;
    padding: 5px !important;
    border-radius: 0 0.5rem 0.5rem 0;
}
.mentor-search-footer,
.mentor-search-footer p{
    margin-top: 0 !important;
}

/*Search dropdown*/

.filter-dropdown-wrapper{
    position: relative;
    z-index: 900;
}
.open{
    display: flex !important;
}
.close{
    display: none !important;
}
.filter-dropdown-container{
    position: absolute;
    right: -220px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    
    padding: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: .5rem;
    width: 250px;
    height: 200px;
    border: 1px solid #dddfe3;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.147);
}
.filter-option{
    color: #949494;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image:url(./assets/images/downarrow-red.svg);
    background-position: calc(100% - .5rem) center;
    background-size:20px;
    background-repeat: no-repeat;

}
@media screen and (max-width: 800px){
    .filter-dropdown-container{
        right: 0px;
    }
}

.input-wrapper{
    width: 100%;

}
.input-wrapper label{
    display:block;
    
    
}

.input-wrapper select{
   
    width: 100%;
    
    height: 40px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid #dddfe3;
    padding: 10px;
}

.input-wrapper select::after{
    color: red

}


button:hover, input[type=submit]:hover{
    cursor: pointer;
    opacity: .9;
}
.custom-button{
    border: none;
    font-size: 1rem;
    color: white;
    background-color: var(--wp--preset--color--primary);
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    padding-top:.5rem;
    padding-bottom:.5rem;
    border-radius: .25rem;
}

/*SEARCH TAGS */
#search_tags{
    display: flex;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    height: 40px;
    margin-top: 10px
}

@media screen and (max-width: 600px){
    #search_tags{
        width: 300px;
        justify-content:start;
    }
}

button.tag{
    margin: 5px;
    margin-right: 1rem;
    display: flex;
    position: relative;
    background-color: var(--wp--preset--color--primary);
    border-radius: 1rem;
    width: fit-content;
    color: white;
    padding: 5px 40px 5px 10px;
    box-sizing: border-box;
}
#search_tags .tag-wrapper:last-child button{
    margin-right: 5px;
}
.close-icon{
    align-items: center;
    display: flex;
    font-size: 25px;
    font-style: light;
    height: 100%;
    right: 10px;
    position: absolute;
    top: 0;
}
.close-icon::after{
    content: "\00D7";
    color:white;
}

/*FAQ custom */

.wp-block-accordian-container{
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.wp-block-pb-accordion-item{
    margin-top: 0 !important;
}

.c-accordion__content{
    padding: 10px;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;

}
.c-accordion__title:hover{
    opacity: 1;
}
.c-accordion__title{
    border-color:#e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px;
    width: 100%;
    font-weight: 500;
    padding-right: 40px;
    
}

.c-accordion__title,
.c-accordion__title:focus,
.c-accordion__title:hover{
    background-color: white;  
}
.c-accordion__title::after{
    right: 10px;
    font-weight: bold;
    content: '';
    height: 20px;
    width: 20px;
    background-image:url(./assets/images/downarrow-black.svg);
    
    background-size:15px;
    background-repeat: no-repeat;
    transition: transform .2s ease;



}
.is-open > .c-accordion__title::after{
    content: '';
    transform: rotate(180deg) translateY(1rem) translateX(5px);
    background-image:url(./assets/images/downarrow-white.svg);
    transition: transform .2s ease;

}

/* .is-closed > .c-accordion__title::after{
    content: '';
    transform: rotate(0deg);
    transform: translateY(0px);


} */

.wp-block-pb-accordion-item.is-open > .c-accordion__title,
.wp-block-pb-accordion-item.is-open > .c-accordion__title:focus {
    background-color: var(--wp--preset--color--primary);
    color: white;
}


/*CONTACT FORM*/
.custom-contact-form-wrapper .gform_footer{
    justify-content: center;
}
.custom-contact-form-wrapper {
    min-height: 400px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.custom-contact-form-wrapper .textarea{
    width: 100%;
    height: 250px;
    resize: vertical;
    border-radius: .25rem;
}

.custom-contact-form-wrapper input[type=submit]{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none !important;
    background-color: var(--wp--preset--color--primary);
    border-radius: 0;
    color: var(--wp--preset--color--background);
    font-size: var(--wp--preset--font-size--medium);
    cursor: pointer;
    border-radius: .25rem;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;

    margin: auto;

}
.custom-contact-form-wrapper input[type=submit]:hover{
    opacity: 0.90;
}
.contact-us-img-container{
    position: relative;
}

.contact-us-image{
    position: absolute;
    right: 0;
    /*top: -366px;*/
    z-index: 0;
    bottom: 0;
}

@media screen and (max-width: 1000px) {
    .contact-us-image{
        position: unset;
    }
}
/* MODAL */
.modal-overlay{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    max-width: none !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: rgba(0, 0, 0, 0.299);
    z-index: 999;
}

.modal-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background-color: white;
    background-image: url('./assets/images/bg-geo.png');
    background-size: cover;
    

    max-width: 700px;
    min-width: 300px;
    width: 50%;
    padding: 2rem;
    
    margin: auto;
}
.modal-header{
    text-align: center;
}
/* MENTOR MODAL*/
.mentor-email-form .form-header{

    font-weight: normal !important;
    padding-bottom: 20px !important;
    text-align: center;
}

.mentor-email-form .gform_fields.top_label{
    margin-top: 0 !important;
}



.mentor-email-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 80%;
    max-width: 550px;
    min-height: 425px;
}
.mentor-email-form br{
    display: none;
}
.mentor-email-form .gform_confirmation_message br{
    display: block;
}
.mentor-email-form  .mentor-email input[type=email]{
    display: none;
}
.mentor-email-form p {
    margin: 0;
    text-align: center;
}

.mentor-email-form textarea{
    resize: none;
    width: 100%;
    height: 250px !important;
    padding: 1rem;
    margin-top: 1rem !important;
    margin-bottom: 2rem;
    border-radius: .25rem;

}
.mentor-email-form .gform_wraper{
    display: flex ;
}
.mentor-email-form .gform_fields{
    display: block !important;
    margin-top: 3rem;
}
.mentor-email-form textarea::placeholder, .mentor-email-form input[type=email]::placeholder{
    color: var(--wp--preset--color--primary);
    font-size: medium;
    font-weight: light;
}
.modal-container input[type=submit]{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    font-size: 1rem;
    color: white;
    background-color: var(--wp--preset--color--primary);
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-radius: .25rem;

}
.modal-container .custom-button, .modal-container input[type=submit]{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    margin: auto;
    margin-top:0;
    margin-bottom: 0;
}

.close-modal-btn-container{
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close-modal-btn{
    background-color: var(--wp--preset--color--primary);
    background-image: url(./assets/images/close.svg);
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;

    margin: 1rem;
    padding: 0;
    border: none;
    color: white;
    font-weight: bolder;
}
.close-modal-btn::after{
    content: '';
    width: 24px;
    height: 24px;
    
    background-image: url(./assets/images/close.svg);
    background-size:15px;
    background-repeat: no-repeat;
    background-position: center;
}

/*gravity forms*/
.gfield_required .gfield_required_text{
    font-style: normal !important;
}

.gfield_required {
    color: var(--wp--preset--color--primary) !important;
}

/*register form*/
.register-form{
    text-align: left;
}

/* Login Form */
.custom-login-form-wrapper input[type=submit], 
.custom-login-form-wrapper button[type=submit]{
    cursor: pointer;
    border: none;
    font-size: 1rem;
    color: white;
    background-color: var(--wp--preset--color--primary);
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    padding-top:.5rem;
    padding-bottom:.5rem;
    border-radius: .25rem;
}
.custom-login-form-wrapper input[type=submit]:hover,
.custom-login-form-wrapper button[type=submit]:hover{
    opacity: .9;
}

.custom-login-form-wrapper{
    width: 100%;
    max-width: 400px;
    margin: 20px;
}
.custom-login-form-wrapper label{
    display: none;
}


.custom-login-form-wrapper input[type=text],
.custom-login-form-wrapper input[type=password]{
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;

    background-color: #F9FAFB;
    border: 1px solid #D2D5DA;
    border-radius: .25rem;
    height: 40px;
    max-width: 400px;
    width: 100%;
    padding-left: 1rem;
    box-sizing: border-box;
}
    


.custom-login-form-wrapper input[type=text]::placeholder,
.custom-login-form-wrapper input[type=password]::placeholder{
    color: var(--wp--preset--color--primary);
}
.custom-login-form-wrapper .login-links{
    text-align: center;
    font-size: medium;
    margin-top: 2rem;
    
}
.login-links a{
    text-decoration: none;
}
.login-links a:hover{
    text-decoration: underline;
}
.login-error{
    background: #fff9f9;
    border: 1.5px solid #c02b0a;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgb(0 0 0 / 11%), 0 0 4px rgb(18 25 97 / 4%);
    margin-bottom: 8px;
    margin-top: 8px;
    padding: 8px 16px 8px 48px;
    position: relative;
    width: 100%;
    font-size: small;
    box-sizing: border-box;
    height: 40px;
    align-items: center;
}
.error-icon{
    align-items: center;
    display: flex;
    font-size: 28px;
    height: 100%;
    left: 12px;
    position: absolute;
    top: 0;
}
.error-icon::before{
    content: "\00D7";
    color:#c02b0a;
}


/*RESET FORMS*/
#password-lost-form-wrap legend{
    display: none;
}
#password-lost-form-wrap fieldset{
    border: none;
}