/*
Theme Name: Nutritionist
Theme URI: 
Author: Nabil Amlal
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.3.2
Requires PHP: 5.7
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: nutritionist
Tags: e-commerce, food-and-drink, portfolio, full-site-editing, 
*/



*
{
    box-sizing: border-box;
}

html
{
	scroll-behavior: smooth;	
}


body
{
	background: #fff;	
}

header
{
    position: fixed;
    z-index: 999;
    width: 100%;
}

header.active
{
    background-color: var(--wp--preset--color--custom-black-text);
}

.nutr-custom-header
{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
}


header .wp-block-navigation-item:hover
{
    color: var(--wp--preset--color--custom-main);
}

header .wp-block-navigation-item.current-menu-item
{
    color: var(--wp--preset--color--custom-main);
}

header .wp-block-navigation-item.current-menu-item:hover::after
{
    background: white;
}

header .wp-block-navigation-item::after
{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--wp--preset--color--custom-main);
    transition: width 0.2s ease-in-out;
}

header .wp-block-navigation-item:hover::after
{
    width: 100%;
}

.whatsapp-img
{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}

header .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container
{
    position: relative;
    width: 100%;
    text-align: center;
    gap: 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
}

header .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container li
{
    width: 100%;
    box-sizing: border-box;
    background-color: var(--wp--preset--color--custom-main) !important;
    padding: 10px;
    border-radius: 60px;
    justify-content: center !important;
    align-items: center !important;
}

header .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container li.current-menu-item
{
    background-color: var(--wp--preset--color--custom-second) !important;
}

header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item::after
{
    display: none;
}

header .wp-block-navigation__responsive-container.is-menu-open
{
    background-color: var(--wp--preset--color--custom-black-text) !important;
}

/* Custom Footer styles */
.footer-navigation li a{
    text-decoration: none;
    padding-left: 20px;
}

.footer-navigation li a::before{
    content: '';
    position: absolute;
    border-right:2px solid var(--wp--preset--color--custom-main);
    border-bottom:2px solid var(--wp--preset--color--custom-main);
    width: 5px;
    height: 5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-45deg);
}




.footer-list
{
    list-style-type: none;
    padding: 0;
}

.footer-list li
{
    margin-bottom: 30px;
    padding-left: 40px;
    position: relative;
    line-height: 2rem;
    font-size: 14px;
}

.footer-list li::before {
    content: '';
    display: inline-block;
    height: 30px;
    width: 25px;
    position: absolute;
    left: 0;
    top: 5px;
    background-color: var(--wp--preset--color--custom-main);
    -webkit-mask-image: url(assets/images/phone.svg);
    mask-image: url(assets/images/phone.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.footer-list li:first-child::before
{
    -webkit-mask-image: url(assets/images/location.svg);
    mask-image: url(assets/images/location.svg);
}


/* .logo-mask
{
    mask-image: url(http://localhost/themes/nutritionist/wp-content/uploads/2023/11/IDC-logo.svg);
    mask-repeat: no-repeat;
    mask-position: center; 
} */

.footer-list li a
{
    text-decoration: none;
    color: inherit;
}

.footer-list li a:hover
{
    color: var(--wp--preset--color--custom-main);
}

.footer-waves-container
{
    position: relative;
    margin-top: 100px;
}

.footer-wave-1, .footer-wave-2
{
    display: block;
    height: 64px;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    margin-top: -72px;
    -webkit-mask-image: url(assets/images/wave.svg);
    mask-image: url(assets/images/wave.svg);
    mask-size: 1940px;
    -webkit-mask-size: 1940px;
    position: absolute;
    left: -15px;
    right: 0;
    padding: 0 !important;
    bottom: -1px;
}

.footer-wave-1
{
    margin-top: -72px;
    transform: scaleX(-1);
}

.section-top-wave, .section-bottom-wave
{
    display: block;
    height: 64px;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    margin-top: -72px;
    margin-top: 0;
    -webkit-mask-image: url(assets/images/wave.svg);
    mask-image: url(assets/images/wave.svg);
    mask-size: 1940px;
    -webkit-mask-size: 1940px;
    position: absolute;
    left: -15px;
    right: 0;
    padding: 0 !important;
}

.section-top-wave
{
    bottom: calc(100% - 1px);
}

.section-bottom-wave
{
    top: calc(100% - 1px);
    transform: rotateX(180deg);
}

section
{
    position: relative;
}


.footer-ggg
{
  background-image: url(assets/images/footer-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: unset;
}



/* Home Custom Style */

.profile-image
{
	position: relative;
}
.profile-image img
{
	position: relative;
	z-index: 1;
}

.profile-image::before
{
	content: '';
	background-color: var(--wp--preset--color--custom-black-text);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70%;
	z-index: 0;
	border-radius: 50% 50% 20px 20px;
	box-shadow: 0px 30px 30px -10px var(--wp--preset--color--custom-black-text);
}


.pos-relative
{
    position: relative;
}

.no-margin
{
    margin: 0;
}

.hover-main a, .hover-second a, .hover-second-tw a
{
	transition: background 0.2s linear;
}


.hover-main a:hover{
    background: var(--wp--preset--color--custom-main) !important;
}

.hover-second a:hover{
    background: var(--wp--preset--color--custom-second) !important;
}

.hover-second-tw a:hover
{
    background: var(--wp--preset--color--custom-second) !important;
	color: white !important;
}

.bmi-row #fieldname1_1
{
    display: flex;
    align-items: center;
}

.bmi-row table
{
    width: 100%;
}

.bmi-row table {
    border-collapse: collapse;
}


.bmi-row table td, .bmi-row table th {
    border: 1px solid rgba(42,47,65,.15) !important;
    text-align: left;
    padding-top: 28px !important;
    padding-left: 0 !important;
    padding-bottom: 10px;
    font-weight: 400;
}

.bmi-row table tr:first-child th {
    border-top: 0 !important;
    font-weight: bold;
    padding-top: 5px !important;
}

.bmi-row table tr:last-child td {
    border-bottom: 0 !important;
}

.bmi-row table tr td:first-child, .bmi-row table tr th:first-child {
    border-left: 0 !important;
}

.bmi-row table tr td:last-child, .bmi-row table tr th:last-child {
    border-right: 0 !important;
    padding-left: 40px !important;
}

.bmi-col1
{
    padding: 40px 30px !important;
    background: white;
    border-radius: 30px 0 0 30px;
}

.bmi-col1 h3
{
    margin-bottom: 30px !important;
}

.bmi-col1 h5
{
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.19rem);
}

.bmi-col2
{
    padding: 40px 30px !important;
}

.bmi-col2 
{
    color:  white;
}


.bmi-col2 label
{
    display: none !important;
} 

.bmi-col2 .input-container input[type="text"], .bmi-col2 select
{
    /* font-weight: normal !important;
    font-size: 14px;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid rgba(42,47,65,.3) !important;
    border-radius: 0 !important;
    color: white !important;
    margin-bottom: 20px; */

    background: transparent !important;
    border-radius: 0 !important;
    border-color: #bfbfbf !important;
    height: 45px;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    margin: 0;
    color: white !important;
    box-shadow: none !important;
}

::placeholder {
    color: #bfbfbf;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12-18 */
    color: #bfbfbf;
}

.bmi-col2 .input-container select option
{
    background: var(--wp--preset--color--custom-black-text) !important;
}

.bmi-col2 .calculate-button
{
    background: var(--wp--preset--color--custom-second) !important;
    border-radius: 999px !important;
    padding: 15px 40px !important;
    font-size: clamp(1rem, 0.4vw + 0.9rem, 1.19rem) !important;
    text-transform: capitalize;
    border: 0 !important;
    line-height: unset !important;
}

.bmi-col2 .codepeoplecalculatedfield
{
    background: none !important;
    color: black;
    color: white !important;
    border: 0 !important;
    font-size: 20px !important;
}




/* Services */

.services-group .wp-block-column
{
    background-image: url(assets/images/footer-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: unset;
}

.small-radius
{
	border-radius: 20px;
	overflow: hidden;
}

.services-imgs
{
/*     max-width: 350px !important; */
}

/* .services-imgs img
{
    box-shadow: 0px 0px 21px -8px var(--wp--preset--color--custom-main);
} */

.lite-shadow
{
    /* box-shadow: ; */
    box-shadow: 0px 0px 21px -8px rgba(84,175,40,1);
}

.book-list
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    list-style: none;
	padding: 10px;
}

.book-list li
{
    position: relative;
    display: flex;
    align-items: center;
	padding-left: 40px;
	text-align: left;
}

.book-list li::before
{
    content: '';
    display: block;
    height: 30px;
    width: 30px;
	position: absolute;
	left: 0;
    z-index: 1;
    overflow: hidden;
    background: var(--wp--preset--color--custom-main);
    mask-image: url(assets/images/check.svg);
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url(assets/images/check.svg);
    -webkit-mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* .home-latest-post li *
{
    display: block;
    text-align: center;
} */

.swiper-button-next, .swiper-button-prev, .swiper-button-next::before, .swiper-button-prev::before
{
    color: black !important;
}



.post-breadcrumbs, .page-breadcrumbs
{
    color: white;
    font-weight: bold;
    text-align: center;
}

.post-breadcrumbs a, .page-breadcrumbs a
{
    color: var(--wp--preset--color--custom-main);
  text-decoration: none;
}


.whatido-slider .swiper-pagination
{
    top: 110%;
}

.align-bottom
{
    align-items: end;
}

/* Contact Page */

.hover-green-social-links li:hover
{
    color: #fff !important;
    background-color: var(--wp--preset--color--custom-main) !important;
}


/* .contact-page-contact-form form label
{
	display: none !important;	
} 

.contact-page-contact-form form input.field 
{
    width: 100%;
    height: 50px;
    padding: 12px 20px !important;
    background: #fff;
    border: 1px solid #e4e4e4 !important;
}

.contact-page-contact-form form textarea
{
    padding: 12px 20px !important;
    width: 100% !important;
    height: 160px !important;
    border: 1px solid #e4e4e4 !important;
}
.contact-page-contact-form form .cff-button-field
{
	display: flex;
	justify-content: center;
}

.contact-page-contact-form form .cff-button-field :where(.uh, .clearer) 
{
	display: none !important;
}


.contact-page-contact-form form input[type="button"]
{
    background: var(--wp--preset--color--custom-main) !important;
    color: white;
    border: 0 !important;
    font-size: 14px;
    font-weight: bold !important;
    text-transform: uppercase;
    width: auto;
    margin-top: 30px;
	min-width: 160px;
} */



/* conatct form */

.contact-form .wpcf7-form-control
{
    width: 100%;
    height: 50px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #e4e4e4;
}

.contact-form textarea
{
    padding: 12px 20px !important;
    width: 100% !important;
    height: 160px !important;
}

.contact-form input[type="submit"]
{
    background: var(--wp--preset--color--custom-main);
    color: white;
    border: 0;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 30px;
    margin: 30px auto;
    display: block;
    margin-bottom: 0;
}


/* ---------------------------------------------------------- */

.hide
{
	display: none;	
}

.title-link a
{
	color: inherit;
  text-decoration: none;
}

.post-related .wp-block-latest-posts__post-title
{
	text-align: center;
  display: block;
  font-size: 2rem;
  text-decoration: none;
  font-weight: bold;
  color: black;
}


.cover-white-text
{
	text-shadow: 0px 3px 16px #000;
}

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

    .mysecret-cols
    {
        flex-direction: column;
    }
	
	.banner-slider .wp-block-cover
	{
		min-height: unset !important;
		height: 100vh;
	}
}


@media only screen and (max-width: 800px) {
    .mobile-fullwidth
    {
        width: 100%;
        max-width: unset;
    }

    .mobile-fullwidth *
    {
        width: 100%;
        max-width: unset !important;
        text-align: center;
    }

    .mobile-fullwidth .wp-block-buttons
    {
        display: flex;
        flex-direction: column;
    }

    .mobile-center
    {
        text-align: center;
        justify-content: center;
    }


    footer .footer-ggg{
        padding: 0 5%;
    }

    section>div.wp-block-group
    {
        padding: 0 5% !important;
    }

    .bmi-row #fieldname1_1
    {
        flex-direction: column;
    }

    .bmi-col1, .bmi-col2
    {
        width: 100% !important;
    }

    .bmi-col1
    {
        display: none;
    }
	
	.order1
	{
		order: 1;
	}
	
	.order2
	{
		order: 2;
	}
	
	.grid-three-column
	{
		grid-template-columns: 1fr !important;
		grid-template-rows: repeat(3, 1fr);
	}
	
	
	.banner-three-img
	{
		max-height: 35vh;
		margin: 0;
	}
}


.wp-swiper>.wp-swiper__wrapper {
  margin-bottom: 0 !important;
}


.grid-three-column
{
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
}


.banner-three-img
{
	width: 100%;
	height: 100%;
}

.banner-three-img img
{
	width: 100% !important;
	height: 100% !important;
  	object-fit: cover;
}

.banner-three-img 
{
	position: relative;
}

.banner-three-img::after
{
	content: '';
	position: absolute;
	inset: 0;
	box-shadow:  0px 0px 25px 20px white inset;
}


.wp-block-navigation__responsive-container-open svg
{
	width: 35px;
	height: 35px;
}