/*Heading for each section on home page*/
.recent-jobs {
    text-transform: capitalize;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
}

.recent-jobs h1 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .5px;
}

.recent-jobs a {
    padding: 10px;  
    font-size: 14px;
    color: var(--active1); 
    transition: 0.2s ease;
    letter-spacing: .5px;
}

.recent-jobs a:hover {
    background: #ecfbec;
}
/*-------------------------------------*/

#home {
    color: var(--active1);
}

section {
    display: flex;
    flex-direction: column;
    background: #f7f7f7;
}

.searchings {
    width: 100%;
    padding: 10px;
    background: white;
}

.searchings-heading {
    display: flex;
    align-items: center;
    padding: 5px 0;
}
.searchings-heading img {
    width: 15px;
    margin-top: 10px;
}

.select-job-categories {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
}

.selected-category {
    padding: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    cursor: pointer;
    width: 100%;
}

.selected-category img {
    width: 25px;
    max-width: 25px;
    padding: 6px;
}

.selected-category h1 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-text-color);
    padding-left: 5px;
}

.category-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: transparent;
    display: none;
}

.category-options a {
    color: black;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    transition: 0.2s ease;
    text-transform: capitalize;
    color: var(--primary-text-color);
}

.category-options a:hover {
    background: white;
}

.search-jobType-heading {
    text-transform: capitalize;
    color: var(--primary-text-color);
    font-weight: 500;
    padding: 5px;
    font-size: 15px;
    margin-top: 10px;
}

.search-job-type {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-job-type a:nth-child(1) {
    color: var(--active1);
    border-color: var(--active1);
}

.search-job-type a {
    padding: 4px 8px;
    font-size: 13px;
    text-transform: capitalize;
    border-radius: 50px;
    color: #001224;
    border: 1px solid #ecebeb;
}

.more-jobTypes {
    display: none;
}

.see-more-jobTypes {
    font-weight: 600;
    color: var(--active1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s ease;
    font-size: 14px;
}

.see-more-jobTypes:hover {
    background: #f7f7f7;
}

.total-jobs-available {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 100px;
    background: #676767;
    background: linear-gradient(90deg, #aaaaaa 0%, #e0e0e0 100%);
    background-image: url('../assets/images/pezantchito-mobile-hero-photo.jpg');
    background-size: cover;
    
}

@keyframes loadskeleton {
    0% {background: linear-gradient(90deg, #f0f0f0 0%,#e0e0e0 100%);}
    100% {background: linear-gradient(90deg, #e0e0e0 0%, #f0f0f0 100%);}
}

.total-jobs-available h1 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    padding: 5px;
    text-shadow: 2px 0 25px black;
}

.total-jobs-available h1 span {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

#job-wrapper {
    padding: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 25px;
}

.job-listing {
    position: relative;
    padding: 15px;
    background: #fff; 
    border-radius: 20px;
    box-shadow: 0 0 15px #ccc;
    border: 1px solid #fff;
    transform: 0.2s ease;
    max-width: 100%;
    min-width: 100%;
}

.job-listing-details {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
}

.company_imageAndPosition_company {
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    width: 100%;
    padding-bottom: 6px;
    border-bottom: .5px solid #eee;
}

.company_image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: #f9fff9;
    border-radius: 15px;
    box-shadow: 0 0 5px #e4e4e4;
}

.company_image img {
    min-height: 100%;
    min-width: 100%;
    height: inherit;
    padding: 2px;
    opacity: 0.5;
}

.position_company {
    display: flex;
    flex-direction: column;
    justify-content: center;
/* this makes the div to cover the remaining part prevents overflow */
    flex: 1;
    min-width: 0;
/* --------------------------------------------------------- */
    gap: 5px;
    max-width: 100%;
    height: 60px;
}

#job_position, 
#company_name { 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: capitalize;
    width: 100%;
    max-width: 100%;
   
}

#job_position {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-text-color);
}

#company_name {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-text-color);
}

.job_list_location, .job_list_postedDate, .job_list_closingDate{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.job_list_location img, .job_list_postedDate img, .job_list_closingDate img {
    width: 14px;
    height: 14px;
}

.job_list_location h1, .job_list_postedDate h1, .job_list_closingDate h1 {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 13px;
    color: rgb(46, 46, 46);
}

.job_list_postedDate h1 span, .job_list_closingDate h1 span {
    color: var(--secondary-text-color);
    font-weight: 400;
}

.job_saved_or_not img {
    width: 20px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.client-profile-wrapper {
    display: flex;
    max-width: 100%;
    background: #fff;
    padding: 10px;
    max-width: 1000px;
}

.client_profile_container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 10px;
    min-width: 100%;
    position: relative;
    transition: .2s ease;
    scroll-behavior: smooth;
    overflow-x: none;
}

.client-profile {
    height: 290px;
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    border-radius: 15px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding: 5px;
    background: linear-gradient(to bottom,rgb(221, 252, 247), rgb(241, 253, 243));
    border: 1px solid rgb(221, 252, 247);
}

.client-image {
    background: #eee;
    height: 150px;
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
}

.client-details {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 130px;
}

.client-details h1 {
    padding: unset;
    margin: unset;
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--primary-text-color);
    width: 100%;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-details p {
    padding: unset;
    margin: unset;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-text-color);
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.action-buttons a {
    color: #fff;
    padding: 6px;
    font-size: 14px;
    width: 50%;
    text-align: center;
    border-radius: 10px;
    transition: .2s ease;
    background: var(--active1);
    margin-top: 5px;
}

.action-buttons a:hover {
    background: var(--hover);
}

.action-buttons a::first-letter {
    text-transform: uppercase;
}

.action-buttons a:nth-child(2) {
    background: #dddddd;
    color: var(--secondary-text-color);
}

.action-buttons a:nth-child(2):hover {
    background: #cfcfcf;
}

.create_profesional_account {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: inherit;
    gap: 15px;
}

.create_profesional_account p {
    font-weight: 400;
    font-size: 13px;
    color: var(--secondary-text-color);
    text-align: center;
    padding: 14px;
}

.create_profesional_account a {
    background-color: var(--active1);
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    width: fit-content;
    text-align: center;
    transition: .2s ease;
}

.create_profesional_account a:hover {
    background: var(--hover);
}

#complete_profile {
    background: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--active1);
}

#see_more_client {
    background: linear-gradient(to bottom right, #efefef, #f6f6f6, #efefef);
    border: none;
}

#see_more_client a {
    font-size: 18px;
    padding: 20px;
}

.next_client, .prev_client {
    background-color: transparent;
    color: black;
    position: absolute;
    height: 314px;
    z-index: 1000;
    transition: .3s ease;
    border: none;
    padding: 10px;
    cursor: pointer;
    /* display: none; */
}

.next_client:active, .prev_client:active {
    background-color: #ffffff49;
}

.next_client img, .prev_client img {
    width: 30px;
    width: 30px;
    padding: 5px;
    background: #0080002c;
}

.prev_client img {
    transform: rotate(-90deg);
    margin-left: -10px;
}

.next_client img {
    transform: rotate(90deg);
    margin-right: -10px;
}

.next_client {
    right: 0;
}

.prev_client {
    left: 0;
    display: none;
}

.scrollBar {
    height: 8px;
    width: 100%;
    background: #dadada;
    padding: 2px 0;
}

.bar {
    height: 4px;
    width: 70px;
    background: #999999;
    border-radius: 4px;
    transition: .2s ease;
    margin: 0 10px;
}

.photo-name {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
}

.name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.name h1 {
    text-transform: capitalize;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.name h1:nth-child(2) {
    color: #777;
    font-weight: 400;
    font-size: 14px;
}

.photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #bcbbbb;
}

.business-ideas-wrapper {
    background-color: #fff;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    box-shadow: 0 4px 6px #e7e7e7;
    align-self: center;
}

.business-ideas-wrapper a {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    align-items: center;
    padding: 10px 20px;
    transition: .2s ease;
}

.business-ideas-wrapper a:hover {
    background-color: #dbffdb;
}

.business-ideas-wrapper a:nth-child(1) {
    padding-top: 20px;
    border-radius: 20px 20px 0 0;
}

.business-ideas-wrapper a:nth-child(5) {
    border: none;
    padding-bottom: 20px;
    border-radius: 0 0 20px 20px;
}

.business-ideas-wrapper span {
    border-radius: 50%;
    padding: 5px;
    font-size: 14px;
    width: 25px;
    height: 25px;
    text-align: center;
    display: grid;
    place-content: center;
    color: var(--primary-text-color);
}

.business-ideas-wrapper a:nth-child(5) span {
    background: #bfc6d4;
}

.business-ideas-wrapper a:nth-child(4) span {
    background: #d1d6e0;
}

.business-ideas-wrapper a:nth-child(3) span {
    background: #e0e4eb;
}

.business-ideas-wrapper a:nth-child(2) span {
    background: #f0f1f5;
}

.business-ideas-wrapper a:nth-child(1) span {
    background: #f8f9fb;
}

.business-ideas-wrapper p {
    width: 80%;
    font-size: 14px;
    color: var(--primary-text-color);
    text-transform: capitalize;
}

.business-ideas-wrapper img {
    width:20px;
    padding: 2px;
}

.no-business-idea {
    background: transparent;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.no-business-idea p {
    width: 90%;
    font-size: 15px;
    color: var(--secondary-text-color);
    text-transform: unset;
}

.no-business-idea a {
    background: var(--active1);
    color: #fff;
    padding: 5px 15px;
    text-transform: capitalize;
    border-radius: 6px;
    transition: .2s ease;
}

.no-business-idea a:hover {
    background: var(--hover);
}

.contact_information {
    display: flex;
    gap: 5px;
    width: 100%;
    justify-content: center;
    padding: 10px 5px;
}

.contact_information h4 {
    font-size: 0.7rem;
    color: gray;
    text-transform: capitalize;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.newsletter_wrapper {
    background: #e7ffe7;
    padding: 50px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter_wrapper h1 {
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    color: var(--primary-text-color);
}

.newsletter_wrapper p {
    font-size: 14px;
    color: var(--secondary-text-color);
}

.newsletter_wrapper form {
    border-radius: 10px;
    display: flex;
    border: 1px solid var(--active);
}

.newsletter_wrapper form input {
    padding: 10px;
    outline: none;
    border: none;
    flex-grow: 1;
    background: transparent;
}

.newsletter_wrapper form button {
    border-radius: 8px;
    border: none;
    background: var(--active1);
    color: #fff;
    padding: 10px 15px;
    min-width: fit-content;
    cursor: pointer;
    transition: .2s ease;
}

.newsletter_wrapper form button:hover {
    background: var(--hover);
}

.newsletter_wrapper form button::first-letter{
    text-transform: uppercase;
}

/* contact form on index page */
#home_contact_form {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 20px;
    margin: 20px;
    border-radius: 20px;
    border: 1px solid #e3e3e3;
}

.name-and-email, .smsSenderName, .smsSenderEmail {
    display: flex;
    flex-direction: column;
}

#home_contact_form label {
    color: var(--primary-text-color);
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
    margin-top: 10px;
    margin-bottom: 5px;
}

#home_contact_form input, #home_contact_form textarea {
    font-size: 14px;
    color: var(--primary-text-color);
    outline: none;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

#home_contact_form input:focus, #home_contact_form textarea:focus {
    border: 1px solid var(--active);
}

#home_contact_form button {
    padding: 10px;
    font-size: 14px;
    text-transform: capitalize;
    color: white;
    background: var(--active1);
    border: none;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

#home_contact_form button:hover {
    background: var(--hover);
}

#home_contact_form textarea {
    min-height: 100px;
    max-height: 100px;
    min-width: 100%;
    max-width: 100%;
}

@media (min-width: 680px) {
    .searchings-heading img {
        width: 17px;
    }

    .select-job-categories {
        width: 75%;
    }
    
    .selected-category img {
        padding: 6px;
    }
    
    .selected-category h1 {
        font-size: 16px;
    }
    
    .category-options a {
        font-size: 16px;
    }

    .search-jobType-heading {
        font-size: 17px;
    }
    
    .search-job-type a {
        font-size: 15px;
    }
    
    .see-more-jobTypes {
        font-size: 16px;
    }

    .total-jobs-available {
        background-image: url('../assets/images/pezantchito-tablet-hero-photo.jpg');
    }

    .total-jobs-available h1 {
        font-size: 22px;
    }
    
    .total-jobs-available h1 span {
        font-size: 18px;
        letter-spacing: 1.5px;
    }

    .recent-jobs h1 {
        font-size: 16px;
    }
    
    .recent-jobs a {
        font-size: 15px;
    }
    
    .job_list_location, .job_list_postedDate, .job_list_closingDate {
        margin-bottom: 7px;
    }
    
    .job_list_location img, .job_list_postedDate img, .job_list_closingDate img {
        width: 18px;
        height: 18px;
    }
    
    .job_list_location h1, .job_list_postedDate h1, .job_list_closingDate h1 {
        font-size: 16px;
    }

    .business-ideas-wrapper {
        width: 75%;
    }
    
    .business-ideas-wrapper span {
        font-size: 16px;
        width: 30px;
        height: 30px;
    }
    
    .business-ideas-wrapper p {
        font-size: 16px;
    }
    
    .business-ideas-wrapper img {
        width:22px;
    }

    .newsletter_wrapper {
        align-items: center;
    }

    .newsletter_wrapper h1 {
        font-size: 32px;
    }

    .newsletter_wrapper p {
        font-size: 15px;
        width: 75%;
    }

    .newsletter_wrapper form {
        width: 75%;
    }

    .job_saved_or_not img {
        width: 22px;
    }

    .name-and-email {
        flex-direction: row;
        gap: 6%;
    }

    .smsSenderName, .smsSenderEmail {
        width: 100%;
    }  

    #home_contact_form {
        width: 75%;
        align-self: center;
    }
    
    #home_contact_form label {
        font-size: 14px;
    }
    
    #home_contact_form input, #home_contact_form textarea {
        font-size: 15px;
    }
    
    #home_contact_form button {
        font-size: 15px;
    }
}

@media (min-width: 800px) {
    .total-jobs-available {
        background-image: url('../assets/images/pezantchito-desktop-hero-photo.jpg');
    }
    
    #job-wrapper {
        display: grid;
        grid-template-columns: 2fr 2fr;
    }
}

@media (min-width: 1200px) {
    .searchings-heading img {
        width: 19px;
    }
    
    .select-job-categories {
        max-width: 60%;
    }

    .selected-category img {
        padding: 4px;
    }
    
    .selected-category h1 {
        font-size: 18px;
    }
    
    .category-options a {
        font-size: 18px;
    }

    .search-jobType-heading {
        font-size: 19px;
    }
    
    .search-job-type a {
        font-size: 17px;
    }
    
    .see-more-jobTypes {
        font-size: 18px;
    }

    .total-jobs-available h1 {
        font-size: 24px;
    }
    
    .total-jobs-available h1 span {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .recent-jobs h1 {
        font-size: 18px;
    }
    
    .recent-jobs a {
        font-size: 17px;
    }
    
    .job_list_location, .job_list_postedDate, .job_list_closingDate {
        margin-bottom: 9px;
    }
    
    .job_list_location img, .job_list_postedDate img, .job_list_closingDate img {
        width: 20px;
        height: 20px;
    }
    
    .job_list_location h1,.job_list_postedDate h1, .job_list_closingDate h1 {
        font-size: 18px;
    }
    
    .job_saved_or_not img {
        width: 24px;
    }

    .client-profile {
        height: 310px;
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }
    
    .client-image {
        height: 160px;
    }
    
    .client-details {
        height: 140px;
    }
    
    .client-details h1 {
        font-size: 18px;
    }
    
    .client-details p {
        font-size: 15px;
    }

    .action-buttons a {
        font-size: 15px;
    }
    
    .create_profesional_account p {
        font-size: 15px;
    }
    
    .create_profesional_account a {
        font-size: 15px;
    }

    .business-ideas-wrapper {
        width: 60%;
    }
    
    .business-ideas-wrapper span {
        font-size: 18px;
        width: 35px;
        height: 35px;
    }
    
    .business-ideas-wrapper p {
        font-size: 18px;
    }
    
    .business-ideas-wrapper img {
        width:24px;
    }

    .next_client {
        display: block;
    }

    .newsletter_wrapper h1 {
        font-size: 34px;
    }

    .newsletter_wrapper p {
        font-size: 16px;
        width: 60%;
    }

    .newsletter_wrapper form {
        width: 60%;
    }   

    .name-and-email {
        flex-direction: row;
        gap: 10%;
    }

    .smsSenderName, .smsSenderEmail {
        width: 45%;
    }

    #home_contact_form {
        width: 60%;
    }
    
    #home_contact_form label {
        font-size: 15px;
    }
    
    #home_contact_form input, #home_contact_form textarea {
        font-size: 16px;
    }
    
    #home_contact_form button {
        font-size: 16px;
    }
}