




/****************************************************/
/** 900 max **/  
/****************************************************/



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

    li {
        line-height: 3;
    }

	h2 
	{
    	line-height: 36px!important;
   	 font-weight: 300;
	}

	 .gray-bg-book .vline 
	{
	position: absolute;
    	height: 100%;
    	padding: 1px;
    	border-left: 0px solid white;
    	left: 0%;
	}

	#tf-about, #tf-book, tf-intro, tf-blog
   	{
   	 border-top: solid 2px #076E48!important;
   	 border-bottom: solid 2px #076E48!important;
  	 }

    #tf-footer {
        padding: 10% 0 2% 0;
    }

	#tf-intro img.intro-img 
 	 {
 	  border: solid 2px #064B2F!important;
 	 }


	body{ overflow-x: hidden;}

   	 .navbar-header 
	{
        float: none;
	width:100%;
        position: fixed;
    	}

	#tf-menu 
 	 {
	  background-color: transparent;
	  }

       .menuheader{
       font-size:24px;
       font-weight:800;
       }


  	.navbar-toggle 
	{
        display: block;
        position: relative;
        z-index: 9;
    	}
   	
	 .navbar-collapse 
	{
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
   	 }
    
	.navbar-collapse.collapse 
	{
        display: none !important;
    	}

    .dropdown-button a:focus {
        background-color: transparent !important;
    }

    .dropdown-menu {
    background-color: #EEDCE9 !important;
    border-radius: 10px;
    border: 2px solid #D4B8CC;
    }

   

    .navbar-fixed-top .navbar-collapse,
    .navbar-fixed-bottom .navbar-collapse {
        max-height: 750px;
        background-color: #6E0252;
        opacity: 1;
        padding: 10px;
        margin-top: 60px;
        border: solid 10px #F0F0F0;
    }

    .navbar-default .navbar-nav > li > a.active,
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        color: #333;
        border-bottom: 4px double #F0F0F0;
    }
	
	
	.navbar-right 
	
	{
	    float: none !important;
	    margin-right: -15px;
	}
   
	 .navbar-nav 
	{
        float: left!important;
        margin: 7.5px -15px;
   	 }

    	.navbar-nav>li 
	{
        float: none;
   	 }

            .navbar-nav > li > a {
                padding-top: 13px;
                padding-bottom: 7px;
                font-weight: 300;
                font-size: 16px;
                color: #035651!important;
            }
   
	 .navbar-text 
	{
        float: none;
        margin: 15px 0;
        
    	}
    
	.navbar-collapse.collapse.in {display: block!important;}
   	 .collapsing {overflow: hidden!important; }
  	  .navbar-nav {margin: 0 -15px;}
        .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
            padding: 10px 15px 10px 25px;
          
        }


    

    
    #tf-menu 
    {
    box-shadow: none;
    }


	
	

	#slides 
	{
        max-width: 100%;
        margin: 0 auto;
   	 }

	#slides .frame 
	{
  	 width: 100%;
   	 float: left;
    	 display: flex;
   	 height: 90%;
   	 color: #000000;
	 padding:50px 10px 30px 10px;
	}


	

	.slider-arrow-position
	{
	position:absolute;
	left:50%;
	top:2px!important;
	transform:translate(-50%,0%);
	-ms-transform:translate(-50%,0%);
	}



	#slides 
	{
    	padding: 0px 10px 0px 10px;
        opacity:0.90;
        border-radius:10px;
	}

    .pink-cherry-blossom {
        position: relative;
        background-image: url(../img/bg/pink-cherry-blossom-BG.png);
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        background-repeat: no-repeat;
        width: 100vw; /* Full viewport width */
        height: auto;
    }


/*******------------------------------------  forms --------------------------------------***/	

 .contact-form {
    flex-direction: row; /* Arrange elements horizontally on larger screens */
    flex-wrap: wrap; /* Allow elements to wrap to the next line */
  }

  .form-group {
    flex: 1; /* Allow form groups to take up equal space */
    margin-right: 4px; /* Space between horizontal form groups */
  }

  

 .input-formstyle
  {
    margin: 20px;
  }

 form#contact-form { padding: 10px 0 }

button[type="submit"] {
   margin-bottom: 40px;
}

       #tf-contact 
        {
	  padding-top: 20px;
 	  padding-bottom: 0px;
	}



    .ubuntu-form-kn {
        display: flex;
        justify-content: left;
        gap: 10px;
    }

    .ubuntu-form-container {
        padding: 40px 20px;
       
    }



    .ubuntu-form-kn input[type="text"] {
        padding: 2px 15px;
        border: 1px solid #ddd;
        border-radius: 2px;
        flex-grow: 1;
        font-size: 14px;
        width: 250px !important;
        margin-left: 0px;
    }


    .ubuntu-form-kn input[type="email"] {
        padding: 2px 15px;
        border: 1px solid #ddd;
        border-radius: 2px;
        flex-grow: 1;
        font-size: 14px;
        width: 250px !important;
        margin-left: 0px;
    }


    .ubuntu-form-kn textarea {
        padding: 2px 15px;
        border: 1px solid #ddd;
        border-radius: 2px;
        flex-grow: 1;
        font-size: 14px;
        width: 250px !important;
        margin-left: 0px;
    }

    .ubuntu-form-kn .formtext-indent {
        
        margin-left: 0px;
    }

    .ubuntu-form-kn label {
        padding: 5px 0px;
    }


   
    .ubuntu-form-kn input[type="checkbox"] {
        margin: 4px 10px 0 5px;
        border: 1px solid #eee;
        accent-color: #097b67 !important;
    }






    /**********************************************************************  general random styling ********/

    

    .border-darkbeige-top {
        border-top: solid 0px #EEEBED;
    }

    .std-item-list-container {
        text-align: left;
        margin: 0 4% 30px 4%;
    }


    #hero-contact .contact-form-container {
        margin: 120px 20px 20px 0;
      
    }

    #hero-contact .contact-form-container label{
       
        color:#000000!important;
    }


    .heading-icon-left {
        text-align: center;
    }



#kn-home
 {
    
    height:fit-content; 
 }

    #kn-home .hero-logo {
        z-index: 2;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        padding: 0 5%;
    }



#tf-menu.appear 
{
    
    box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    height:85px;
    line-height:1.2;


    .menuheader {
    font-size:20px;
    font-weight:800;
    }

    .navbar-toggle {
    margin-right: 2%;
    }

    .navbar-toggle .icon-bar {
      display: block;
      width: 22px;
      height: 3px;
      border-radius: 1px;
      background-color: #ffffff;
      margin-left: 4px;
    }


}

   .menu-shift{
   margin-left:20px;
   margin-top:5%;
   text-align: left;
   }

.btn-greenBG {
    margin: 10px 0px 20px 0px;
}

.btn-whiteBG {
    margin: 10px 0px 20px 0px;
}

.iconline span:before,
.iconline span:after {
    content: "";
    position: absolute;
    height: 5px;
    top: 20px;
    width: 130px;
}


/* ------------------------------------------------------ home grids ------------------------ */


.hero-grid-wrapper {
    display: grid;
    grid-template-rows: 0.5fr 1fr;
    grid-template-columns: 1fr; /* Column one is twice the width of column two */
    gap: 0px; /* Add spacing between columns */
    align-items: stretch;
}



.hero-overview-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: 1fr 1fr 1fr;
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
}

.home-journey-section-ratio-grid-wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr; /* Column one is twice the width of column two */
    gap: 0px; /* Add spacing between columns */
    align-items: stretch;
}

.home-journey-section-container {
    text-align: center;
    margin: 0 4% 30px 4%;
}

.std-section-container {
    text-align: center;
    margin: 0 4% 30px 4%;
}

.slider-container-centered {
    margin: 0 4%;
}



/* ------------------------------------------------------ global hero grid ------------------------ */



.hero-header-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: 1fr 1fr 1fr;
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
}

.hero-header-grid-container {
    padding-bottom:30px;
    margin: 30px 12% 10px 12%;
}


.std-card2-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: 1fr 1fr;
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
    gap:10px;
}



.std-card3-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: 1fr 1fr 1fr;
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
}


.card4-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: 1fr 1fr 1fr 1fr;
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
}

.card4-btn-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: 1fr 1fr 1fr 1fr;
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
    gap: 30px;
}

.card4-btn-grid-card {
    background-color: transparent;
    text-align: center;
    width: auto;
    height: auto;
    border-radius: 10px;
    border: solid 0px #ffffff;
    margin: auto 25%;
}



.std-section-ratio-reverse-grid-wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr; /* Column one is twice the width of column two */
    gap: 10px; /* Add spacing between columns */
    align-items: stretch;
}

.stages .std-section-ratio-reverse-grid-wrapper {
    display: grid;
    grid-template-rows: 0.5fr 1fr;
    grid-template-columns: 1fr; /* Column one is twice the width of column two */
    gap: 10px; /* Add spacing between columns */
    align-items: stretch;
}

.stages .std-text-left {
    text-align: center;
    padding: 0 10%;
}


.std-multi-grid-wrapper {
    display: grid;
    /* Define three rows for vertical alignment */
    grid-template-rows: repeat(6, 1fr);
    /* Ensure a single column that takes all available width */
    grid-template-columns: 1fr;
    /* Optional: Align items vertically within their respective rows */
    align-items: stretch;
}



.community-hero-card-wrapper {
    margin: 0 0%;
}



.std-card2-grid-container, .std-card3-grid-container {
    padding-bottom: 30px;
    margin: 0 5% 0px 5%;
}


.std-card3-grid-card {
    padding: 20px;
    margin: 10px auto;
}

.std-btn-grid-card {
    margin: 20px 0 10px 0;
}

.white-bg-blog {
    height: fit-content;
}

/* ------------------------------------------------------------------   mobile hero bgs ------------------------------------ */

#hero-knowing {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) , rgba(0, 0, 0, 0.4)),url(../img/hero/hero-knowingstuff.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


#hero-finding {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),url(../img/hero/hero-findingstuff.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


#hero-community {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-community.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}



#hero-selfcare {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-selfcare.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}



#hero-ubuntu {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-ubuntu.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}



#hero-contact {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-contact.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


#hero-about {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-about.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}



#hero-expats {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-expats.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


#hero-legaladvice {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-legaladvice.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


#hero-wallofremembrance {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-wallofremembrance.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

#hero-loyalty {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/bg/hero-abstract-green-inverted-opt.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


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



.hero-header-block{
    margin: 0 5%;
    padding-top:40px;
    text-align:center;
}

.hero-header-content {
    padding: 10px 5%;
}

.hero-header{
    font-size: 20px;
}

.hero-subheader{
    font-size:14px;
}

.hero-header-text-white{
    font-size: 14px;
}

.hero-header-text-mobile {
    font-size: 14px;
    padding: 20px 0 0 0;
}

.hero-header-text {
    display:none;
}

#hero-knowing .hero-header-text {
    color: #ffffff;
    padding: 50px 0 0 0;
    display:block;
}

.container .navbar-header{
    margin-top:-10px;
}



.stages-image-large{
    display: none;
}


.stages-bg-pink {
    position: relative;
    background-image: url(../img/bg/plainpinkBG.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


.pink-flowers {
    position: relative;
    background-image: url(../img/bg/pink-flower-bg-mobile.png);
    background-size: contain;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


.hero-abstract-green-kids {
    position: relative;
    background-image: url(../img/bg/hero-abstract-green-kids.png);
    background-size: cover;
    background-position: top;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
    padding: 5px 0;
}

.slidercontainer{
    margin: 0 8px;
}


/* -------------------------------------------------memorials----------------------------------------------------- */


#hero-memorial-personal {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-memorials-mob.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 250px;
}

.hero-header-memorial {
    font-family: 'Lato', sans-serif !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin: 4% 0;
    text-transform: uppercase;
    z-index: 2;
    padding: 0px 0 0 0px;
}


.memorial-photo img {
    max-width: 300px;
    border-radius: 12px;
    margin: 2rem 0;
    border: solid 0px #FAF9FA !important;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
}












} 




/****************************************************/
/** min 900  max 1200**/
/****************************************************/

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


  

.menu-container{
 width: 90%;
 max-width: 1200px;
 margin-left:10%;
 font-size:12px;

}

.logo-position{margin-top:10px;}

.menu-shift{
   margin-left:10%;
   margin-top:0%;
   padding-bottom:20px;
}

.menuheader{
font-size:20px;
font-weight:800;
font-family: 'Lato', sans-serif!important;
}

#menu-float-option.shifted{
    margin-left: 5%;
    margin-right: auto;
    margin-top:0%;
    padding-bottom: 0px;
    opacity: 1;
    transform: translateY(0);

  

  .menu-shift{
   margin-left:10%;
   margin-top:0%;
   }

}


#tf-menu.appear {
    
    box-shadow: 0px 5px 3px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateY(0);
    height:85px;
    line-height:1.2;
    
.menuheader
    {
    font-size:24px;
    font-weight:800;
    }
}


.hr{margin: 50px 0 20px 0;}



#tf-contact .row
	{
	margin-left: 0;
        margin-right: 0;
 	width:84%; 
 	}


}

.hero-overview-grid-wrapper {
  display: grid;
  /* Define 1 row for vertical alignment */
  grid-template-rows: 1fr ; 
  /* Ensure a single column that takes all available width */
  grid-template-columns: repeat(3, 1fr);/* Creates three equal columns */
  
  /* Optional: Align items vertically within their respective rows */
   align-items: stretch;
      }



.test-overview-grid-wrapper {
  display: grid;
  /* Define 1 row for vertical alignment */
  grid-template-rows: 1fr ; 
  /* Ensure a single column that takes all available width */
  grid-template-columns: repeat(2, 1fr);/* Creates three equal columns */
  
  /* Optional: Align items vertically within their respective rows */
   align-items: stretch;
      }




#kn-home
 {
     height:fit-content; 
 }

 .white-bg-blog
 {
     height:fit-content; 
 }



}

/****************************************************/
/** 500 max **/
/****************************************************/


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

    .pink-flowers {
        position: relative;
        background-image: url(../img/bg/pink-flower-bg-mobile.png);
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
        background-repeat: no-repeat;
        width: 100vw; /* Full viewport width */
        height: auto;
    }
   #hero-knowing .hero-header-text {
        color: #ffffff;
        padding:50px 0 0 0; 
    }

    #hero-memorial-personal {
        position: relative;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-memorials-mob.jpg);
        background-size: contain;
        background-position: top;
        background-attachment: fixed;
        background-repeat: no-repeat;
        width: 100vw; /* Full viewport width */
        height: 150px;
    }


}

    /****************************************************/
    /** 320 max **/
    /****************************************************/


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


        #tf-menu.appear {
            .menuheader
    {
    font-size:18px;
    font-weight:600;
    }
}

}






/****************************************************/
/** min 900  max 960**/
/****************************************************/



@media screen and (min-width: 900px) 
{
@media screen and (max-width: 960px) 
{
.navbar-nav{
    float:none;
}
    
 }
 }

/****************************************************/
/** 1200 min **/
/****************************************************/



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

 

.menu-container{
 width: 90%;
 max-width: 1200px;
 margin-left:10%;
 font-size:12px;

}

.logo-position{margin-top:10px;}

    .menu-shift {
        margin-left: 10%;
        margin-top: 0%;
    }

.menuheader{
font-size:24px;
font-weight:800;
font-family: 'Lato', sans-serif!important;
}


#menu-float-option.shifted{
    margin-left: 10%;
    margin-right: auto;
    margin-top:0%;
    padding-bottom: 0px;
    opacity: 1;
    transform: translateY(0);

  .logo-position{margin-top:40px;}

  .menu-shift{
   margin-left:5%;
   margin-top:0%;
   }

  }

 .hero-overview-grid-wrapper {
   display: grid;
  /* Define 1 row for vertical alignment */
  grid-template-rows: 1fr; 
  /* Ensure a single column that takes all available width */
  grid-template-columns: repeat(3, 1fr);/* Creates three equal columns */
  /* Optional: Align items vertically within their respective rows */
  align-items: stretch;
      }


.test-overview-grid-wrapper {
   display: grid;
  /* Define 1 row for vertical alignment */
  grid-template-rows: 1fr; 
  /* Ensure a single column that takes all available width */
  grid-template-columns: repeat(2, 1fr);/* Creates three equal columns */
  /* Optional: Align items vertically within their respective rows */
  align-items: stretch;
      }



		

}


