/*
Theme Name: SES
Author:Schao Shang
Description: The theme is made for Sagar Energy Solutions by Schao Shang.
Version: 1.1
*/

* {box-sizing: border-box}

html {
    /* overflow: hidden; */
    overflow: overlay;
    
  }

body{
    transition-duration: 4000ms;
    font-family:'Roboto', sans-serif;
    margin: 0;
    scroll-behavior: smooth;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

img{
    vertical-align:text-bottom;/*Remove the space at the bottom*/
}

h1{
    padding: 8px;
    background: none; /* rgba(0,0,0,0.8)*/
    border-radius: 8px;
    /* border-top-left-radius:2%; */
    margin: 0;
    font-size: 10px;
    font-family:'Roboto',sans-serif;
}

h2{
    margin: auto;
}

.heading-and-line{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.heading-and-line h2{
    padding-left: 0;
}

p{/*paragraph*/
    line-height: 1.5;
}

mark.SESyellow {
    color: #FFC41A; /*rgb(255,198,26)*/
    background: none;
}

mark.SESblue {
    color: #00BFFF;
    background: none;
}

main{
    margin: 0 auto;
    color: black;
}

/* hyperlinks */
a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}

/* inputs */
#slideout-menu input,
#searchbox input,
#slideout-menu textarea,
#searchbox textarea{
    height: 32px;
    padding: 0 16px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    border: none;
    background:#FFC41A;
    color: black;
    opacity: 1;
    /*box-shadow: inset 8px 3px 18px -4px rgba(0,0,0,0.2);*/
}
input:focus,
textarea:focus{
    outline:none;
}/* outline of the input box*/

/* scrollbar */
body::-webkit-scrollbar {/* width */
    width: 10px;
}

body::-webkit-scrollbar-track {/* Track */
    background:transparent;
}

body::-webkit-scrollbar-thumb {/* Handle */
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}


body::-webkit-scrollbar-thumb:hover {/* Handle on hover */
    background: #ffc41aab;
}

/*Opening Animation*/
#openingAnim{
    background: radial-gradient(circle at center, transparent 0%, black 0%);
    background-position: 50% 50%;
    background-size: 100% 100%;
    transition: .4s;
    width: 100vw;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 101;
    display: none;
    animation-name: Circleout;
    animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 5s;
    animation-play-state:running;
    /* animation-iteration-count: infinite; */
    animation-duration:2s;
    opacity: 1;
}
#PowerBtn,
#SESlogo-round-yellow{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#SkipBtn{
    position: fixed;
    opacity: 0;
    display: none;
    z-index: 999;
    bottom: 5%;
    right: 5%;
    font-size: 15px;
    color: gray;
    font-weight: 300;
    border: 1px solid;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    animation-name: Fadeout;
    animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 5s;
    animation-play-state:running;
    animation-duration:1s;
}
#SkipBtn:hover{
    color: white;
    cursor: pointer;
}
#PowerBtn{
    opacity: 1;
    display: none;
    clip-path: circle(45%);
    animation-name: Fadeout;
    animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 2.9s;
    animation-play-state:running;
    animation-duration:1s;
}

#SESlogo-round-yellow{
    opacity: 0;
    animation-name: Fadeinout;
    animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 2.6s;
    animation-play-state:running;
    animation-duration:4s;
}
#ElectircFlow{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -7.5vw);

    opacity: 1;
    display: none;
    animation-name: Fadeinout;
    animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-play-state:running;
    animation-duration:2s;
}

#PowerBtn img,
#SESlogo-round-yellow img{
    width: 15vw;
    min-width: 150px;
}

#ElectircFlow img{
    width: 19.5vw;
    min-width: 195px;
}

#SESlogo-letter-yellow{
    height: 100%;
    background:transparent;
    padding: 18.5px 32px;
    align-items: center;
    color: white;
    opacity: 0;
    transition: .4s;
    animation-name: Fadeinout;
    animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 2.7s;
    animation-play-state:running;
    animation-duration:4.5s;
}
#SESlogo-letter-yellow img{
    height: 35px;
}

@-webkit-keyframes Fadeinout {
    0% {opacity: 0}
    20%{opacity: 1}
    80% {opacity: 1}
    100% {opacity: 0}
}

@keyframes Fadeinout {
    0% {opacity: 0}
    20%{opacity: 1}
    80% {opacity: 1}
    100% {opacity: 0}
}

@-webkit-keyframes Fadeout {
    0% {opacity: 1}
    100% {opacity: 0}
}

@keyframes Fadeout {
    0% {opacity: 1}
    100% {opacity: 0}
}
@-webkit-keyframes Circleout {
    from {
        background: radial-gradient(circle at center, transparent 10%, black 0%);
        background-position: 50% 50%;
        background-size: 100% 100%;}
    to {background: radial-gradient(circle at center, transparent 10%, black 0%);
        background-position: 50% 50%;
        background-size: 1300% 1300%;}
}
@keyframes Circleout {
    from {
        background: radial-gradient(circle at center, transparent 10%, black 0%);
        background-position: 50% 50%;
        background-size: 100% 100%;}
    to {background: radial-gradient(circle at center, transparent 10%, black 0%);
        background-position: 50% 50%;
        background-size: 1300% 1300%;}
}

/*Scroll Indicators*/
.Scroll-Indicator{
    position: absolute;
    transition: 0.4s;
    opacity: 1;
    z-index: 100;
    left: 50%;
    /* bottom: 300px; */
    transform: translate(-50%, -50%);
    -webkit-animation: 1.6s ease infinite wheel-up-down;
    -moz-animation: 1.6s ease infinite wheel-up-down;
    animation: 1.6s ease infinite wheel-up-down;
}
#Indicator-Banner{
    transform: translate(-50%, -20%);
	-webkit-transform: translate(-50%, -20%);
}
#Indicator-Products-1{
    transform: translate(-50%, -120%);
	-webkit-transform: translate(-50%, -120%);
}
#Indicator-Team{
	transform: translate(-50%, -150%);
    -webkit-transform: transform: translate(-50%, -150%);
}

.line-yellow{
    stroke: #FFC41A;
    stroke-width:  6px;
    stroke-linecap: round;
}
.line-blue{
    stroke: #00BFFF;
    stroke-width:  6px;
    stroke-linecap: round;
}

@-webkit-keyframes wheel-up-down {
	0% {
	    bottom: -80px;
	    opacity: 0;
	}
	30% {
	    opacity: 1;
	}
	100% {
	    bottom: -130px;
	    opacity: 0;
	}
}@-moz-keyframes wheel-up-down {
	0% {
	    bottom: -80px;
	    opacity: 0;
	}
	30% {
	    opacity: 1;
	}
	100% {
	    bottom: -130px;
	    opacity: 0;
	}
}@keyframes wheel-up-down {
	0% {
	    bottom: -80px;
	    opacity: 0;
	}
	30% {
	    opacity: 1;
	}
	100% {
	    bottom: -130px;
	    opacity: 0;
	}
}

@keyframes rotate {
    to {
      transform: rotate(360deg);
    }
  }

/* Banner */

#banner{
    height: 100vh;
    position: relative;
    display: flex;
    align-items:center;
    justify-items: center;
    flex-direction:column-reverse;
    background: rgba(0,0,0,0.1) url('img/Home.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    scroll-snap-align: start;
}
@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) and (min-device-width: 320px) and (max-device-width: 480px) {
	.selector:not(*:root), #banner{
		height: calc(100vh - 56px);
	}
}

#banner h3{
    position: relative;
    z-index: 102; /*above the opening animation*/
    font-size: 40px;
    transition: .4s;
    text-align: center;
}
#banner h3 span{
    width: 100%;
    float: left;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    transform: translateY(-50px);
    opacity: 0;
    animation-name: titleAnimation;
    animation-timing-function:ease;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

#banner h3 span:first-child{
      animation-delay: 3.4s;
}

#banner h3 span:last-child{
      animation-delay: 3.6s;
}

@keyframes titleAnimation {
    0% {
      transform: translateY(-50px);
      opacity: 0;
      -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 80%);
    }
  100% {
      transform: translateY(0);
      opacity: 1;
      -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
      clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 15%);
    }
}

/* Search Box */
#searchbox{
    position: fixed;
    right: 0;
    top: 24px;
    width: 400px;
    pointer-events: none;
    z-index: 50;
    transition: .4s;
    opacity: 0;
    /*display: none; /*(flex)Temp Disabled*/
}

#searchbox input{
    height: 48px;
    width: 100%;
}

#searchbox #search-btn{
    background: #FFC41A url('img/Search_icon.png');
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    width: 48px;
    height: 48px;
    position: absolute;
    right: 0;
    top: 0;
    box-shadow: initial;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.4s;
}
#searchbox #search-btn:hover{
    background: white url('img/Search_icon.png');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}



/* Navigation */
nav{
    height: 72px;
    background: transparent;
    width: 100%;
    margin: 0;
    position: fixed;
    font-family: 'Roboto',sans-serif;
    font-size: 18px;
    display:flex;
    justify-content: space-between; /*to locate the text to the right and logo to the left of the nav bar*/
    padding:0 16px 0 0;
    box-sizing: border-box;
    font-weight: 500;
    z-index: 100;
    transition: 0.4s;
}

nav a{
    padding: 0 32px;
    color: white;
    transition: 0.4s;
}

nav a:hover{
    text-decoration: none;
    color: #FFC41A;
}

nav ul{
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    margin: 0;
}


.nav-active{
    color: #FFC41A;
    font-weight: 600;
}/* Nav Home Color*/

#logo-img{
    display: flex;
    height: 100%;
    background:transparent;
    padding: 10px 0px;
    align-items: center;
    color: white;
    transition: .4s;
}

#logo-img img{
    height: 35px;
}

/*#logo-img:hover{background: black;}*/


#menu-icon{/* ≡ */
    height: 100%;
    font-size: 28px;
    padding: 0 4px;
    color: white;
    display: none;
    transition: .4s;
    align-items: center;
}

#menu-icon:hover{
    color: #FFC41A;
}


#search-icon{
    color: white;
    padding: 0 32px;
    cursor: pointer;
    transition: .4s;
}

#search-icon:hover{
    color: #FFC41A;
}

/* Slideout Menu*/
#slideout-menu{
    display: none;
    background: black;
    z-index: 100;
    position: fixed;
    transition: 0.4s;
    margin-top: 72px;
    width: 100%;
    text-align: center;
    opacity: 0;
    pointer-events: none;
}

#slideout-menu ul{
    list-style: none;
    padding: 0 32px;
}

#slideout-menu ul li{
    padding: 8px;
}

#slideout-menu a{
    font-family: 'Roboto condensed', sans-serif;
    font-size: 20px;
    color: white;
}

#slideout-menu form{
    position: relative;
}
#slideout-menu #search-btn{
    background: #FFC41A url('img/Search_icon.png');
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    position: absolute;
    right: 7.5%;
    top: 0;
    box-shadow: initial;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.4s;
}
#slideout-menu #search-btn:hover{
    background: white url('img/Search_icon.png');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

#slideout-menu input{
    width: 85%;
    padding: 8px;
    height: 32px;
    font-family: 'Roboto condensed',sans-serif;
    font-size: 20px;
    text-align: center;
}

/*#productimg-1 {}*/

/* Section */
section{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.section-heading{
    font-size: 50px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    /* border-left: 3px solid black; /*line on the left*/
    transition: .4s;
    display: inline-block;
    padding: 0 5%;
    color: white;
}

.section-sub-heading{
    font-size: 35px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    transition: .4s;
    display: inline-block;
    color: white;
}

/*.section-heading:hover{ padding: 4px 48px;background: #FFC41A;}*/




/* Section > Cards(general) */

.card .card-image{
    transition: .4s;
    padding: 0;
    /* position: relative; */
}

.card .card-description{
    padding: 0% 8px;
}

.card-description a{
    color: black;
}

.card-description a:hover{
    text-decoration: none;
}
/*.card-image:hover{box-shadow: 0 10px 6px -6px gray;}*/

/* Section Product */

#WhatWeDo{ /*full width Background*/
    background: rgba(51,51,51,1);
    background-size: cover;
    background-repeat: no-repeat;
    /*padding-top: 50px;/*spacing at the top of the section*/
    position: relative;
    /* top:  -50px; */
    z-index: 0;
    /* background-position: 0 50px; */
    width: 100vw;
    height: 150%;
    padding-bottom: 40%;/*to stick out the bg*/
}

.floaters{
    position: absolute;
    top: 0;
    width: 100vw;
    max-height: 72px;
    overflow: hidden;
}

#floater-1{
    width: 100%;
}
#floater-2{
    clip-path: polygon(0 15vw, 100% 0%, 100% 100%, 0% 100%);
    top: 10%;
    width: 100%;
}

#WWDfornt-img{
    position: relative;
    top:0%;
    z-index: 1;
}

#WWDfornt-img img{
    border-radius: 5px;
}


#section-products-1{
    position: relative;
    background: rgba(0, 0, 0, 0.6) url('img/WhatWeDo_bg.JPG');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    width: 100vw;
    z-index: 100;
    height: 100vh;
    min-height: 700px;
}
#section-products-2{
    position: relative;
    z-index: 100;
    height: 100%;
    padding-bottom: 0%;/*the bottom margin for scroll snap*/
}
#stripe_bg{
    position:absolute;
    transition: .4s;
    z-index: -1;
    color: rgba(255, 255, 255, 0.1);
    font-size: 15vw;
    font-weight: bold;
    text-transform:uppercase;
    top:50%;
    left: 20%;
    text-align: left;
    transform: translate(-50%,-50%);
    width: 50vw;
    height: 100%;
    line-height: 1;
  }

#WhatWeDo #WhatWeDo-p{
    position: relative;
    top: 0%;
    transition: .2s;
    display: block;
}

#section-products-2 .card{
    margin-top: 8%; /*top gap of three pics */
    position: relative;
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-bottom: 1%;/*distance between heading and specs*/
}

#section-products-2 .card .product-description{
    flex: 1;
    color: white;
    padding: 0 5%;
}

#section-products-2 .card .product-description p{
    flex: 1;
    line-height: 2;
    font-weight: 100;
}

#section-products-2 .card .product-description h3{
    font-size: 30px;
    margin: 0;
    padding: 0;
    color: #FFC41A;
}

#section-products-2 .card #area1{/*base*/
    position: absolute;
    clip-path: polygon(0% 0%, 0% 70%, 20% 100%, 80% 100%, 100% 70%, 100% 0%, 80% 25%, 20% 25%);
    /* background-color: rgba(255, 255, 255, 0.5); */
    left:51%;
    top: 72%;
    transform: translate(-50%,-50%);
    width: 33%;
    height: 25%;
}

#section-products-2 .card #area2{
    position: absolute;
    clip-path:circle(20%);
    /* background-color: rgba(255, 255, 255, 0.5); */
    left:59%;
    top: 56%;
    transform: translate(-50%,-50%);
    width: 10%;
    height: 10%;
}
#section-products-2 .card #area3{
    position: absolute;
    clip-path:circle(20%);
    /* background-color: rgba(255, 255, 255, 0.5); */
    left:43%;
    top: 63%;
    transform: translate(-50%,-50%);
    width: 10%;
    height: 10%;
}
#section-products-2 .card #area4{/*bulb*/
    position: absolute;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
    /* background-color: rgba(255, 255, 255, 0.5); */
    left:51%;
    top: 57%;
    transform: translate(-50%,-50%);
    width: 14%;
    height: 10%;
}

#section-products-2 .card .card-image{
    /* border: #FFC41A 1px solid; */
    position: relative;/*for the background of hovering*/
    flex: 1;
    z-index: 99; /*for the gradient circles*/
    width: 80%;
    transition: .4s;
}
#section-products-2 .card .card-image #sabiOff{
    transition: .4s;
}
#section-products-2 .card .card-image #sabiLit{
    position: absolute;
    transition: .4s;
    opacity: 0;
    width: 100%;
    left: 0;
}

#section-products-2 .Specs-tags{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: fit-content;
    justify-content: center;
    margin-bottom: 0%;/*the bottom margin below the heading*/
}

#section-products-2 .Specs{
    transition: .4s;
    background-color: #777;
    color: white;
    text-align: center;
    width: fit-content;
    padding: 1% 2%;
    border-radius: 50px;
    margin: 0.5% 1%;
}

#section-products-1 p,
#section-impact-1 p,
#section-team-1 p{/*Paragraph*/
    padding: 0px 5%;
    text-align: center;
    color:white;
    font-weight:300;
    font-size: 24px;
}

#section-products-1 a,
#section-impact-1 a{
    text-align: center;
}

#section-products-2 a,
#section-impact-2 a{
    text-align: center;
}


#section-impact-1 .card,
#section-team-1 .card{
    display: flex;
    flex-direction: row;
    align-items:center;
    /*margin-top: 50px;/*spacing at the top of the section*/
}
#section-products-1 .card{
    display: flex;
    flex-direction: row;
    align-items:center;
    text-align: center
}

#section-products-3{
    height: 100%;
    padding: 2% 0;
    display: flex;
    flex-direction: column;
}
#section-products-3 .card{
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

#section-products-3 #lab-current{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5%;
    margin-bottom: 2.5%;
}

#section-products-3 #lab-current .labImg{
    flex: 0.3;
    padding-right: 5%;
}
#section-products-3 img{
    width: 100%;
}
#section-products-3 .labDes{
    flex: 0.7;
    color: white;
}
#section-products-3 h3{
    font-size: 30px;
}
#section-products-3 p{
    line-height: 1.5;
    font-weight: 200;
}

#section-products-3 #lab-next{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding-top: 2.5%;
    border-top: 1px solid white;
}
#section-products-3 #lab-next .labImg{
    flex: 0.3;
    padding-left: 5%;
}


#section-products-1 #WhatWeDo-des{
    position: relative;
    /* top: 50%; */
    /* transform: translateY(-50%); */
}

#SabiBtn:hover{
    cursor:unset;
}

/*Section Impact*/
#Impact{
    /* background: rgba(0,0,0,1) url('img/bg-light-filled.png');  */
    position: relative;
    width: 100vw;
    z-index:1;
    margin-bottom: 50%;/*to stick out the bg*/
}
#Impact-bg{/*full width Background*/
    position: absolute;
    z-index: -1;
    background-size:100vw;
    background-repeat: no-repeat;
    background-color: rgb(77, 77, 77);
    clip-path: polygon(0 15vw, 100% 0%, 100% 100%, 0% 100%);
    width: 100vw;
    height: 130%;
    top: 10%;/*move down*/
    left: 0;
}


#section-impact-1 .card{
    text-align: center;
}

#section-impact-1 .card .card-image{
    flex: 40%;
    transition: .4s;
    padding: 0 2%;
    /*margin: auto; /*center the img*/
}

#section-impact-1 .card .card-description{
    flex: 60%;
    /* padding: 10% 5%; */
}

#section-impact-1{
    position: relative;
    margin-top: -30%;/*to move up the whole #Impact (with bg)*/
    height: 100vh;
    min-height: 700px;
    width: 100vw;
    background: rgba(0, 0, 0 , 0.6) url('img/Impact_bg.jpg');
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-size: cover;
}

#section-impact-2{
    position: relative;
    height: 100%;
    /* min-height: 800px; */
    align-items: center;
   /* margin-bottom: 100px;/*the bottom margin for scroll snap*/
    margin-top: 5%;/*distance to the prev*/
    padding-bottom: 100px; /*space for heading and line*/ 
}
#section-impact-2 #impact-container{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* flex-wrap: nowrap; */
    z-index: 100;
    width: 80%;
}
#section-impact-2 .card{
    /* height: 100%; */
    transition: .4s;
    padding: 0 2%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    justify-content: space-between;
    width: 25vw;
    height: 40vw;
    overflow: hidden;
    /*padding-top: 10%; /*Increase the distance between impact 1&2*/
    /*padding-bottom: 10%;/*distance between heading and three pics(move the three pics up)*/
}

#section-impact-2 .section-sub-heading{
    margin: 0 1%;
}
#section-impact-2 .card .card-image{
    position: relative;
    height: fit-content;
    z-index: 99;
    width: 150%;
}

.pure-line{
    position: absolute;
    /* right: 50%; */
    padding: 0;
    bottom: 52.5px;
    transition: 1s;
    overflow: hidden;
    opacity: 1;
}
.pure-line svg{
    padding-top: 0;
}

.grayscale{
    display: block;
    transition: .4s;
    /*margin: 40% 0 80% 0; /* give some room for the section heading */
}
.gif{
    display: none;
    transition: .4s;
    /* margin: 40% 0 80% 0; */
}

.impact-text{
    width: 100%;
    position: relative;
    /* top: 20%; */
    opacity: 0.5;
    transition: 0.4s;
    text-align: center;
    min-height: 300px;
    filter: grayscale(100%);
}

.card-image svg{
    padding: 0 2%;
}

.impact-text h4{
    color: #666;
    margin-bottom: 15px;
    font-family: "roboto condensed",sans-serif;
    font-size: 25px;
}
.impact-text .SDGs{
    transition: .4s;
    opacity: 0.4;
}

.impact-text .SDGs img{
    height: 50px;
}

.impact-text p{
    color: #777;
    font-size: 14px;
    font-weight: 400;
    margin-top: 15px;
}

#People:hover .grayscale,
#Profit:hover .grayscale,
#Planet:hover .grayscale{
    display: none;
}
#People:hover,
#Profit:hover,
#Planet:hover{
    background-color: rgba(255, 255, 255, 0.9);
}


#People:hover .gif,
#Profit:hover .gif,
#Planet:hover .gif{
    transition: .4s;
    display: block;
}

#section-impact-2 .heading-and-line{
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0%;
    right: 0%;
    bottom: 40px;/*
    text-align: center;*/
    transition: 1s;
    opacity: 0;
}

/* Section Team*/
#Team{/*full width Background*/
    /* background: rgba(0,0,0,1) url('img/bg-extralight-filled.png');  */
    position: relative;
    width: 100vw;
    height: 100%;
    /*padding-bottom: 15%; /*to extend the bottom*/
    z-index:1;
}

#Team-bg{/*full width Background*/
    position: absolute;
    z-index: -1;
    background-size:100vw;
    background-repeat: no-repeat;
    background-color: rgb(102, 102, 102);
    clip-path: polygon(0 15vw, 100% 0%, 100% 100%, 0% 100%);
    width: 100vw;
    height: 120%;
    top: 0;
    left: 0;
}

#section-team-1{
    position: relative;
    z-index: 2;
    margin-top: -50%;/*to move up the whole #team (with bg)*/
    height: calc(45vw + 180px);
    /* min-height: calc(20vw + 600px); */
}

#section-team-1 #teammember-list {
    background: #EEE;
    width: 100vw;
    overflow: hidden;
    height: 25vw;
    display: flex;
    position: relative;
    margin: 0% auto 0 auto;
}

.head-container {
    position: absolute;
    left: 0;
    width: 20vw;
    height: 25vw;
    margin: 0;
    transition: .4s ease-in-out;
}

.team-cell{
    width: 20vw;
    height: auto;
}

#section-products-2 .section-sub-heading,
#section-team-1 .section-sub-heading{
    padding-right: 2%;

}
#section-team-2 .section-sub-heading{
    padding-left: 2%;
}

#section-team-1 .heading-and-line{ /*Team-----*/
    margin-top: 5%;
    margin-bottom: 2%;
    overflow: hidden;
}

#section-team-1 #team-description{
    position: relative;
    color: white;
    text-align: center;
    font-weight: 200;
    font-size: 20px;
    /* margin-top: 5%; */
    padding-top: 0%;
    /* padding-bottom: 5%; */
    height: 100%;
    /* top: -100px; */
}
#section-team-1 .card .card-description{
    text-align: center;
    height: 100%;
}


/*overlay of the member pics*/
.head-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}
.brief{
    /* position: absolute; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80%;
    transition: .5s ease;
    /* top: 50%;*/
    -ms-transform: translateY(20%);
     transform: translateY(20%);
}

.head-container:hover .head-overlay {
    top: 0;
    height: 100%;
}
.nameandtitle{
    transition: .5s ease;
}
.member-bio{
    color: white;
    font-size: 18px;
    font-weight: 300;
    padding: 0% 7.5% 10% 7.5%;
    text-align: center;
}
.member-name{
    color: white;
    font-size: 2vw;
    font-weight: 400;
    padding: 0 7.5% 0 7.5%;
    text-align: center;

}
.member-title{
    color: #FFC41A;
    font-size: 1.1vw;
    font-weight: 400;
    padding: 0 7.5% 0 7.5%;
    text-align: center;
}

/* Partner Logos */
#section-team-2{
    position:absolute;
    z-index: 10;
    top: 90%;
    left: 0;
    opacity: 1;
    transition: .4s;
    height: fit-content;
    justify-content: unset;
}

#section-team-2 #logo-banner{
    background-color: white;
    background-size: cover;
    width: 100vw;
}

#section-team-2 .card{
    position: relative;
    width: 100vw;
}

#section-team-2 .heading-and-line{
    position: relative;
    margin: 2% auto 0 auto;
}

#partner-logos{
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    height: 100%;
    background:transparent;
    justify-content: space-evenly;
    padding: 10px 0;
    align-items: center;
    transition: .4s;
}
#partner-logos img{
    height: 10vw;
    max-height: 80px;
    width: auto;
    max-width: 80vw;
    margin: 10px;
    transition: .4s;
    filter: grayscale(100%);
}

#partner-logos img:hover{
    filter: grayscale(0%);
}

/*Section Blog*/

.prev, .next {/* Next & previous buttons */
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    background-color: rgba(0,0,0,0.3);
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 999;
}

.next {/* Position the "next button" to the right */
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {/* On hover, add a black background color with a little bit see-through */
    background-color: rgba(0,0,0,0.8);
    text-decoration: none;
}

.dot {/* The dots/bullets/indicators */
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {/* Fading animation */
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


#Blog{/*full width Background*/
    /* background: rgba(0,0,0,1) url('img/bg-extralight-filled.png');  */
    background-size:100vw;
    background-repeat: repeat;
    background-color: rgb(102, 102, 102);
    width: 100vw;
    min-height: auto;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    z-index: 3;
    border: none;
}
#Blog #section-blog{
    position: relative;
    margin-top: 0%;/*to move up the whole #blog (with bg)*/
    height: 100%;
    /* min-height: 700px; */
    overflow: hidden;
}

#Blog #section-blog .card{
    position: relative;
    padding-bottom: 0%; /*space between heading and carousel*/
    height: fit-content;
}

#Blog #section-blog .card p{
    padding: 0;
    margin-top: 0;
    margin-bottom: 2%;
    color: white;
    font-weight: 200;
    font-size: 20px;
}

#Blog #section-blog .heading-and-line{/*Find out the latest-----*/
    position: relative;
    margin-top: 5%;/*space between heading and prev */
    margin-bottom: 0%;
    left: 0%;
    right: 0%;
    width: 100%;
    padding: 0;  
    display: flex;
    justify-content: space-between;
}

#Blog #section-blog .section-sub-heading{
    padding-right: 0%;
    min-width: 500px;
    text-align: left;
    /* flex:0.4; */
}

#Blog #section-blog .Post-carousel{/* Slideshow container */
    /*display: flex;
    flex-wrap: nowrap;*/
    width: 80vw;
    height: 100%;
    display: flex;
    position: relative;
    margin: 0% auto 0 auto;
    overflow: visible;
}
#Blog #section-blog .Post-carousel:after {
    content: '';
    display: block;
    position: absolute;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    top: -1px;
    bottom: -1px;
    left: -0.5vw;
    right: -0.5vw;
    box-shadow: 0 200px 0 200px rgba(102,102,102,0.6);
}

#Blog #section-blog .Blog-post{
    position: absolute;
    left: 0;
	width: 20vw;
    height: 100%;
    margin: 0;
    transition: .4s ease-in-out;
    /* overflow: hidden; */

}

#Blog #section-blog .content-box{
    display: flex;
    flex-direction: column;
    padding: 0 2.5%;
    height: 100%;
    width: 100%;
    align-items: center;
    position: relative;
}

#Blog #section-blog .Blog-image{
    width: 100%;
    height: 10vw;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
}
#Blog #section-blog .Blog-image img{
    width: 100%;
    bottom: 25%;
}
#Blog #section-blog .Blog-author{
    position: relative;
    background-color:white;
    border:0.2vw solid white;
    height:5vw;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    width:5vw;
    transform: translateY(-2.9vw);
    z-index: 1;
    /* border: 2px black solid; */

}
#Blog #section-blog .Blog-author img{
    position: absolute;
    top: 0;
    transform: translateY(0%);
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    height: 100%;
    width: 100%;

    /*margin-left: 35%;*/

}
#Blog #section-blog .Blog-description{
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: 0 2.5%;
    position:absolute;
    top: 10vw;
    height: 300px;
    background-color: white;
}
#Blog #section-blog .Blog-title{
    width: 80%;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
    /* text-align: justify;
    text-justify:inter-ideograph; */
}
#Blog .Blog-description h3{
    font-size: 1.2vw;
    line-height: 1;
    color: rgb(100, 100, 100);
}

#Blog .Blog-description p{
    font-size: 1vw;
    line-height: 1.2;
    font-weight: 300;
    color: rgb(82, 82, 82);
}
#Blog #section-blog .Blog-content{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10%;
}

/*
Blog-post
    Blog-image
    Blog-author
    Blog-description
        Blog-title
        Blog-content
        btn-readmore*/

/*Button Read More*/
.btn-readmore{
    padding: 0px 0px;
    /*border:3px solid black;*/
    transition: .4s;
    display: inline-block;
    /* margin-bottom: 24px; */
    font-weight:bolder;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: black;
}

.btn-readmore:hover{
    background: transparent;
    text-decoration: none;
    color: #FFC41A;
}

/*Contact*/

#contactUs{/*full width Background*/
    /* background: rgba(0,0,0,1) ;  */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-repeat: repeat;
    background: rgb(102, 102, 102);
    /* background-blend-mode: overlay; */
    width: 100vw;
    height: 100%;
    min-height: calc(100vh - 50px);
    border: none;
    margin-left: 50%;
    transform: translateX(-50%);
    /*padding-top: 5%;/*space on top*/
}
.wpcf7 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: gray;
    opacity: 1; /* Firefox */
}
.wpcf7 :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: gray;
}

.wpcf7 ::-ms-input-placeholder { /* Microsoft Edge */
    color: gray;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea{/* Style inputs with type="text", select elements and textareas */
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */
    background: white;
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    /*margin-top: 6px; /* Add a top margin */
    /*margin-bottom: 16px; /* Bottom margin */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
    height: 50px;
    margin-top: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    border: none;
    color: gray;
}
.wpcf7 textarea{
    min-height: 200px;
}

.wpcf7-not-valid-tip {
    color: #ff811a;
    font-size: 1em;
    font-weight: normal;
    display: inline;
}


.wpcf7 input[type=submit] {/* Style the submit button with a specific background color etc */
    float:right;
    background: transparent;
    color: #FFC41A;
    padding: 12px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: .4s;
    border-radius: 5px;
}

  /* When moving the mouse over the submit button, add a darker green color */
.wpcf7 input[type=submit]:hover {
    color: white;
    background-color: #FFC41A;
    border-radius: 5px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 30px 0;
    padding: 5px 15px;
    color: white;
    border-radius: 5px;
    border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #4abe53; /* Green */
    color: #4abe53;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #e65454; /* Red */
    color: #e65454;
}

.wpcf7 form.spam .wpcf7-response-output {
    border-color: #f56e28; /* Orange */
    color: #f56e28;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #FFC41A; /* Yellow */
    color: #FFC41A;
}

#contactUs .card {/* Add a background color and some padding around the form */
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}

#section-contact{
    margin: 0% auto 2% auto;
    width: 80%;
}
#section-contact h2{
    color: #FFC41A;
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 3%;
    text-align: center;
}
#section-contact #contactus-right p{
    position: relative;
    color: white;
    font-size: 15px;
    font-weight: 300;
    top: 50%;
    transform: translateY(-50%);
    margin: 0% 10%;
}

#section-contact #News-content{
    border-radius: 15px;
    height: 300px;
    transition: .4s;
    border: 2px solid #FFC41A;
    background-size: cover;
    background-blend-mode: overlay;
}

#section-contact .card-container{
    margin-top: 10%;
    display: flex;
    flex-direction: row;
}
#section-contact #contactus-right{
    /* height: auto; */
    padding-left: 5%;
    border-left: 2px solid #FFC41A;
    text-align: center;
}

/*Bloglist Page*/
.BlogPage{/*full width background*/
    padding-top: 100px;
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    background: rgb(102,102,102);
    /* background: linear-gradient(0deg, rgba(102,102,102,1) 0%, rgba(102,102,102,1) 95%, rgba(255,255,255,1) 100%); */
    padding-bottom: 2%;
}




.BlogPage #Blog-Grid{
    margin-right: auto;
    margin-left: auto;
    width: 85%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.BlogPage .Blog-posts{
    width: 50%;
    height: auto;
    margin-bottom: 2%;
}

.BlogPage .content-box{
    border-radius: 10px;
    width: 96%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}
.BlogPage .Blog-image{
    width: 100%;
    height: 25vw;
    overflow: hidden;
}
.BlogPage .Blog-image img{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 100%;

}
.BlogPage .Blog-author{
    border-top: 1.5px solid lightgray;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content:center;
    flex-wrap: nowrap;
    width: 80%;
    margin: 2% auto;
}
.BlogPage .author-photo{
    width: auto;
    margin-right: 5%;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
}
.BlogPage .author-photo img{
    padding: 15%;
    width: auto;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
}
.BlogPage .card-meta{
    width: auto;
    font-size: 1.2vw;
}
.BlogPage .card-meta a{
    color: black;
    font-weight: 500;
}

.BlogPage .Blog-description{
    padding: 1% 5%;
}
.page-heading{
    padding-left: 7.5%;
    margin-bottom: 1rem;
    position: relative;
    left: 0%;
    width: 100%;
    color: #FFC41A;

}
.page-heading h2{
    text-align: left;
    font-size: 30px;
    border-left: 3px solid #FFC41A;
    border-right: 3px solid #FFC41A;
    width: fit-content;
    padding:0 20px;
    margin: 0;
    /* margin-left: 10px; */
}
.BlogPage .pagination{
    padding: 30px;
    text-align: center;
    position: relative;
    font-weight: bold;
}
.BlogPage .pagination .current{
    padding: 8px 16px;
    margin: 0 5px;
    color: #FFC41A;
}
.BlogPage .pagination a{
    border-top: 3px solid transparent;
    position: relative;
    display: inline-block;
    color: white;
    padding: 8px 16px;
    margin: 0 5px;
    transition: .4s;
}
.BlogPage .pagination a:first-child,
.BlogPage .pagination a:last-child{
    background-color: transparent;
    color: #FFC41A;
    border-top: none;
}
.BlogPage .pagination a:hover{
    text-decoration: none;
    background-color: transparent;
    border-top: 3px solid #FFC41A;
}
.BlogPage .pagination a:first-child:hover,
.BlogPage .pagination a:last-child:hover{
    border-top: none;
}


#blog-footer{
    background-color: rgb(102,102,102);
    position: relative;
    background-size: 100vw;
}
#footer-background{
    position: absolute;
    z-index: -1;
    background-size:100vw;
    background-repeat: no-repeat;
    background-color: rgb(102,102,102);
    width: 100vw;
    height: 130%;
    top: 0;
    transform: translateX(-10%);
}
/*Blogpost Page*/
#post-container{
    position: relative;
    margin-right: auto;
    margin-left: auto;
    width: 85%;
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: row;
    justify-content: space-between;
}

.BlogPage #blogpost{
    flex: 0.79;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* border-left: 1px solid gray; */
}

.BlogPage .card{
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.BlogPage .card .card-image{
    width: 100%;
    height: auto;
}
.BlogPage .card .card-description{
    margin: 5% 5%;
    white-space:normal;
    word-break:break-all;
    word-wrap:break-word;
    overflow:hidden;
}
.BlogPage #sidebar{
    flex: 0.19;
    width: 100%;
    padding: 3%;
    border-radius: 10px;
    background-color: rgb(70, 70, 70);
    color: white;
}
.BlogPage #sidebar h3{
    color: #FFC41A;
    border-bottom: 2px solid #FFC41A;
}
.BlogPage #sidebar li{
    margin: 8px 0;
    list-style: none;
}
.BlogPage #sidebar li li{
    margin-left: -24px;
    padding-left: 8px;
    border-left: 4px solid white;
}
.BlogPage #sidebar li li a{
    color: white;
}
.BlogPage #sidebar li li a:hover{
    text-decoration: none;
}
.BlogPage #sidebar li li:hover{
    color: white;
    border-left: 4px solid #FFC41A;
}
.BlogPage #sidebar input{
    width: 100%;
    height: 42px;
    padding-left: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
}

.BlogPage #sidebar form{
    position: relative;
}
.BlogPage #sidebar #search-btn{
    background: white url('img/Search_icon.png');
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 42px;
    height: 42px;
    position: absolute;
    right: 0;
    top: 0;
    box-shadow: initial;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.4s;
}
.BlogPage #sidebar #search-btn:hover{
    background: #FFC41A url('img/Search_icon.png');
    background-size: 50%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
}

.BlogPage #comments-section{
    background-color: gray;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2.5%;
    padding: 5%;
}

/*search page*/
.no-results{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 7.5%;
    min-height: 62vh;
}
.no-results h2{
    font-weight: 600;
    font-size: 50px;
    color: #FFC41A;
    margin: auto;
    padding-top: 5%;
    line-height: 1.5;
}
.no-results h1{
    font-weight: 600;
    font-size: 80px;
    color: white;
    margin-top: 2%;
}
.no-results p{
    font-weight: 400;
    font-size: 25px;
    color: #FFC41A;
    margin: auto;
    line-height: 1.5;
}

/*404 page*/
.container-404{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 7.5%;
    min-height: 70vh;
}
.container-404 h2{
    font-weight: 600;
    font-size: 50px;
    color: #FFC41A;
    margin: auto;
    padding-top: 0%;
    padding-bottom: 0;
    line-height: 1.5;
}
.container-404 h1{
    font-weight: 600;
    font-size: 80px;
    color: white;
    margin-top: 5%;
}
.container-404 p{
    font-weight: 200;
    font-size: 25px;
    color: rgb(95, 95, 95);
    margin: auto;
    line-height: 1.5;
}


/*Comments list*/
.comments{
    padding-bottom: 24px;
    border-bottom: 2px solid #FFC41A;
}
.all-comments{
    padding: 20px;
    border-radius: 10px;
    background: #999;

}
.all-comments .comment-content{
  color: white;
  border-radius: 5px;
  background: #555;
}
.all-comments .comment-content p{
    height: auto;
    padding: 5px 15px;
    margin: 0%;
    margin-bottom: 5px;
  }

.all-comments li{
    list-style: none;
    margin-bottom: 16px;
}
.all-comments li article{
    padding: 8px;
}

.all-comments .comment-meta{
    /* background: #666; */
    display: flex;
    /* border-radius: 5px; */
    justify-content: space-between;
    align-items: center;
    
}
.all-comments .comment-metadata{
    padding-top: 5px;
    font-size: 12px;
}

.all-comments .vcard{
    display: flex;
    align-items: center;
    margin-right: 8px;
}
.all-comments .photo{
    border-radius: 50%;
    margin-right:10%;
}

.all-comments .says{
    display: none;
}
.all-comments .reply{
    text-align: right;
    padding-right: 10px;
}
.all-comments .reply a{

    font-weight: bold;
    color: #FFC41A;
    transition: .4s;
}
.all-comments .reply a:hover{
    color: white;
    text-decoration: none;
}

.all-comments .children{
    margin-top: 16px;
    margin-left: 5%;
    padding-left: 5%;
    border-left: 1.5px solid white;
}


/*Comments section*/

#comments-section{
    /* border-top: 2px solid white; */
    padding: 8px;
}
#comments-section h3{
    text-align: center;
    font-size: 30px;
    color: #FFC41A;
}

.comment-form{
    display: flex;
    flex-direction: column;
}

.comment-form input,
.comment-form textarea{
    font-family: 'Roboto condensed',sans-serif;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 16px;
    outline: none;
    border: 1px solid transparent;
}

.comment-form-cookies-consent {
    font-size: 15px;
    font-weight: 200;
    color: white;
}

.comment-notes{
    text-align: center;
    color: #FFC41A;
}
#comments-section textarea{
    height: 160px;
}
.form-submit .submit{
    background: #FFC41A;
    font-family: 'Roboto',sans-serif;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    width: 100%;
    padding: 8px;
    height: 48px;
    cursor: pointer;
    transition: .4s;
    box-shadow: initial;
}

.form-submit .submit:hover{
    background: #FFC41A;
    color: white;
}

.comment-reply-title{
    text-align: center;
    margin-bottom: 0;
    margin-top: 8%;
    font-size: 30px;
    color: #FFC41A;
}
.comment-reply-title a{
    color: #FFC41A;
    transition: .4s;
}

.comment-reply-title a:hover{
    text-decoration: none;
    color: white;
}

#cancel-comment-reply-link{
    margin-left: 1%;
    background-color: #FFC41A;
    padding: 10px 5%;
    transition: .4s;
    border-radius: 5px;
    color: black;
}

#cancel-comment-reply-link:hover{
    color: white;
}


/* Footer */
.footer-border{
    margin: 0 auto;
    width: 80%;
}
footer{
    padding: 8px;
    color: white;
    display:flex;
}

footer a {
    color: white;
  }

footer #Left-contact{
    flex: 90%; /*weight of the flex*/
    border-top: 1px solid white;
    padding-left: 10px;
}
footer #Left-contact ul{
    padding: 0;
    list-style: none;
    display: flex;
    line-height: 2;
}

footer #Left-contact ul li{
    padding: 0 6px;
}
footer #Left-contact a{
    text-decoration: none;

}

footer #Left-contact a:hover{
    color: #FFC41A;
    transition: .4s;
}

footer #Right-SMS{
    flex: 10%;
    border-top: 1px solid white;
    padding: 0px;
}

footer #Right-SMS a .fa-facebook-square,
footer #Right-SMS a .fa-linkedin,
footer #Right-SMS a .fa-instagram{
    color: white;
    transition: .4s;
    padding: 0 10px;
}

footer #Right-SMS ul{
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
}

footer #Right-SMS ul li{
    font-size: 25px;
    padding: 0px;
    transition: .4s;
}

footer #Right-SMS ul li:hover a .fa-facebook-square,
footer #Right-SMS ul li:hover a .fa-instagram,
footer #Right-SMS ul li:hover a .fa-linkedin{
    color: #FFC41A;
}

/*Search Box Text*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: black;
    opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: black;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: black;
}

/* Media Queries (responsive) (*The order matters) */
@media(max-width: 1374px){
    #section-team-1{/*for the total height of team section (three rows)*/
        height: calc(55vw + 220px);
    }
}
@media(max-width: 1350px){
    #Blog #section-blog .Blog-post{
        width:26.4vw;
    }/*for 3posts*/
    #Blog #section-blog .Blog-author{
        border:0.4vw solid white;
        height:8vw;
        width:8vw;
        transform: translateY(-4.2vw);
    }
    #Blog .Blog-description h3{
        font-size: 1.7vw;
        line-height: 1;
    }
    #Blog .Blog-description p{
        font-size: 1.3vw;
        line-height: 1.2;
    }
    #Blog #section-blog .Blog-image{
        height: 15vw;
    }
    #Blog #section-blog .Blog-description{
        top: 15vw;
    }
    #section-impact-2 .card{
        height: 45vw;
    }
}
@media(max-width: 1200px){
    .team-cell{/*for team portraits*/
        width: 25vw;
    }
    .head-container {/*for team portraits*/
        width: 25vw;
        height: 30vw;
    }
    #section-team-1 #teammember-list {/*for team carousel*/
        height: 30vw;
    }
    #section-team-1{/*for the total height of team section (two rows)*/
        height: calc(50vw + 200px);
    }

    .member-name{/*for member brief*/
        font-size: 2.7vw;
    }
    .member-title{/*for member brief*/
        font-size: 1.7vw;
        font-weight: 300;
    }
    #section-impact-2 .card{
        width: 29vw;
        height: 50vw;
    }

    #section-impact-2 #impact-container {
        width: 90%;
    }

    #section-impact-2 .impact-text{
        min-height: 320px;
    }
    #section-products-1 p,
    #section-impact-1 p,
    #section-team-1 p{/*Paragraph*/
        font-weight:300;
        font-size: 22px;
    }
}
@media(max-width: 1168px){
    #section-team-1{/*for the total height of team section (three rows)*/
        height: calc(60vw + 220px);
    }
}

@media(max-width: 1080px){/*change nav to icon*/
    #section-impact-2 .card{
        height: 55vw;
    }

    #section-products-2 .card{
        font-size: 13px;
    }
    nav ul{
        display: none;
    }/*hide Nav bar*/
    #menu-icon{
        display: flex;
    }/*display stacked bars*/
    #slideout-menu{
       display: block;
    }/*display slideout menu*/
    footer #Left-contact ul{
        flex-direction: column;
    }
    #searchbox{
        display: none;
    }/*hide search box*/
    .team-cell{/*for team portraits*/
        width: 33.33vw;
    }
    .head-container {/*for team portraits*/
        width: 33.33vw;
        height: 40vw;
    }
    #section-team-1{/*for the total height of team section (three rows)*/
        height: calc(70vw + 220px);
    }
    #section-team-1 #teammember-list {/*for team carousel*/
        height: 40vw;
    }

    .member-name{/*for member brief*/
        font-size: 3.2vw;
    }
    .member-title{/*for member brief*/
        font-size: 2.8vw;
    }
    /* #Team{
        padding-bottom: 25%; /*to extend the bottom
    } */

}
@media(max-width: 1000px){/*change the footer*/
    #section-products-2 .card{/*shift sabi description*/
        flex-direction: column;
        font-size: 15px;
        margin-bottom: 5%;
        transition: .4s;
    }
    #section-products-3 #lab-current,
    #section-products-3 #lab-next{/*shift labs*/
        flex-direction: column;
        text-align: center;
    }
    #section-products-3 #lab-current .labImg,
    #section-products-3 #lab-next .labImg{/*shift labs*/
        padding: 0;
    }

    #stripe_bg{
        font-size: 25vw;
        top:60%;
        left: 50%;
        width: 100vw;
        text-align: center;
    }

    #post-container{
        flex-direction: column;
    }
    .BlogPage #sidebar{
        margin-top: 2.5%;
    }
    #ElectircFlow{
        transform: translate(-50%, -75px);
    }
    #section-contact .card{
        width: 100%;
    }
    .BlogPage .card-meta{
        font-size: 1.5vw;
    }
    #Blog .Blog-description h3{
        font-size: 2vw;
        line-height: 1;
    }
    #Blog .Blog-description p{
        font-size: 1.7vw;
        line-height: 1.2;
    }
    #section-contact .card-container{
        flex-direction: column;
    }
    #section-contact #contactus-right{
        padding-left: 0%;
        padding-top: 5%;
        margin-top: 3%;
        border-left: none;
        border-top: 2px solid #FFC41A;
    }
    #section-contact #contactus-right p{
        margin: 0% 10%;
    }
    #section-impact-2 .impact-text h4{
        margin-bottom: 20px;
        font-size: 20px;
    }
    #section-impact-2 .impact-text p{
        margin-top: 14px;
    }
    #section-impact-2 .impact-text{
        min-height: 340px;
    }
    #section-impact-2 .card{
        height: 60vw;
    }
}
@media(max-width: 900px){/*the hover of impact contents*/
    #section-impact-2 .card{
        height: 600px;
    }
    #section-impact-2 .impact-text h4{
        margin-bottom: 20px;
        font-size: 20px;
    }
    #section-impact-2 .impact-text .SDGs img{
        height: 35px;
    }
    #section-impact-2 .impact-text p{
        margin-top: 14px;
    }
    #section-impact-2 .impact-text{
        min-height: 400px;
    }

}
@media(max-width: 816px){
    #section-team-1{/*for the total height of team section (four rows)*/
        height: calc(80vw + 260px);
    }
}
@media(max-width: 800px){
    #section-impact-2 .card{
        height: 500px;
    }
    #section-impact-2 .impact-text{
        min-height: 320px;
    }
    #section-impact-2 .impact-text h4{
        font-size: 18px;
    }
    #section-impact-2 .impact-text p{
        margin-top: 12px;
        font-size: 12px;
    }
    .team-cell{/*for team portraits*/
        width: 50vw;
    }
    .head-container {/*for team portraits*/
        width: 50vw;
        height: 60vw;
    }
    #section-team-1 #teammember-list {/*for team carousel*/
        height: 60vw;
    }
    #section-team-1{/*for the total height of team section (four rows)*/
        height: calc(100vw + 260px);
    }
    .member-name{/*for member brief*/
        font-size: 3.4vw;
    }
    .member-title{/*for member brief*/
        font-size: 3vw;
    }
    #Team{
        padding-bottom: 40%; /*to extend the bottom*/
    }
    .BlogPage .Blog-posts{
        width: 100%;
    } 
    .BlogPage .author-photo{
        width: auto;

    }
    .BlogPage .card-meta{
        font-size: 2.5vw;
    }

    #Blog #section-blog .section-sub-heading{
        font-size: 30px;
        min-width: 430px;
    }
    #Blog #section-blog .Blog-author{
        border:0.6vw solid white;
        height:12vw;
        width:12vw;
        transform: translateY(-6.3vw);
    }
    #Blog #section-blog .Blog-post{
        width: 40vw;
    }
    #Blog .Blog-description h3{
        font-size: 2.5vw;
        line-height: 1;
        color: rgb(70, 70, 70);
    }

    #Blog .Blog-description p{
        color: rgb(70, 70, 70);
        font-size: 2.2vw;
        line-height: 1.2;
    }
    #Blog #section-blog .Blog-image{
        height: 20vw;
    }
    #Blog #section-blog .Blog-description{
        top: 20vw;
    }
    #Indicator-Team{
        display: none;
    }
    #Indicator-Blog{
        display: none;
    }
    /* #section-blog .Post-carousel{
        height: 75vw;
    }     */
}
@media(max-width: 719px){ /*Small Window Size*/
    #section-products-1 p,
    #section-impact-1 p,
    #section-team-1 p{/*Paragraph*/
        font-weight:200;
        font-size: 20px;
    }
    .all-comments .comment-meta{
        align-items: flex-start;
        text-align: left;
    }
    #section-impact-2{
        overflow-x: scroll;
        -ms-overflow-style: none;  /* IE and Edge *//* Hide scrollbar for IE, Edge and Firefox */
        scrollbar-width: none;  /* Firefox */
    }
    #section-impact-2 #impact-container{
        transform: translateX(23%);
        width: 280vw;
    }

    #section-impact-2::-webkit-scrollbar { /* Hide scrollbar for Chrome, Safari and Opera */
        display: none;
    }
    #section-impact-2 .card{
        margin: 5% 2%;
        width: 60vw;
        height: 600px;
    }
    #section-impact-2 .impact-text{
        min-height: 320px;
    }
    #section-impact-2 .impact-text p{
        font-size: 15px;
    }
    #section-impact-2 .impact-text h4{
        font-size: 25px;
    }
    #section-products-3 #lab-next .labImg,
    #section-products-3 #lab-current .labImg{
        width: 100vw;
        /* text-align: center; */
    }
    #section-products-3 #lab-next{
        border: none;
    }

    /* section, /*for only flex direction */
    #section-products-1,
    #section-impact-1{/*make the first section long enough*/
        height: 100%;
    }
    #section-products-3,
    #section-impact-2{/*the bottom margin to the next section*/
        margin-bottom: 50%;
        /* overflow: hidden; */
    }
    #section-impact-1{/*to move up the whole #Impact (with bg)*/
        margin-top: -90%;
    }

    #section-products-1 .card .card-image,
    #section-impact-1 .card .card-image{
        padding: 0;
    }
    .member-name{/*for member brief*/
        font-size: 4vw;
    }
    .member-title{/*for member brief*/
        font-size: 3.5vw;
    }
    .card,
    .card-image img{
        width: 100%;
        text-align: center;
    }

    #Blog .card{
        text-align: left;
    }

    #section-products-2 .card{
        width: 90vw;/*the total width of sabi lamp*/
    }
    #section-team-1 .card,
    #section-contact,
    #Blog #section-blog .card,
    #section-team-2 .heading-and-line,
    #section-products-2 .Specs-tags{
        width: 90vw;
        /* justify-content: space-between; */
    }

    #section-impact-2 .heading-and-line,
    #section-impact-2 .pure-line{
        display: none;
    }


    .product-name{
        font-size: 3vw;
    }
    .Popup-container{
        flex-direction: column;
    }
    .Sabiclose,
    .UpWindclose,
    .ElectricMillclose{
        padding: 2%;
    }
    .grayscale,
    .gif{
        margin-bottom: 100%;
    }

    footer{
        flex-direction: column;
        text-align: center;
    }
    footer #Left-contact{
        flex: 1;
        border-right: 0;
        padding-left: 0;
    }
    footer #Right-SMS{
        border-top: none;
    }
    footer #Right-SMS ul li{
        font-size: 300%;
        padding: 20px;
    }
    footer #Right-SMS a .fa-facebook-square,
    footer #Right-SMS a .fa-linkedin,
    footer #Right-SMS a .fa-instagram{
        color: white;
        transition: .4s;
        padding: 0 10px;
    }
}
@media(max-width: 650px){

    #Blog #section-blog .Blog-author{
        border:0.6vw solid white;
        height:12vw;
        width:12vw;
        transform: translateY(-6.3vw);
    }
    #Blog #section-blog .Blog-post{
        width: 80vw;
    }
    #Blog .Blog-description h3{
        font-size: 4vw;
        line-height: 1;
        color: rgb(70, 70, 70);
    }

    #Blog .Blog-description p{
        color: rgb(70, 70, 70);
        font-size: 3vw;
        line-height: 1.2;
    }
    #Blog #section-blog .Blog-image{
        height: 35vw;
    }
    #Blog #section-blog .Blog-description{
        top: 35vw;
    }
    #Team{
        padding-bottom: 10%;
    }
    /* #section-blog .Post-carousel{
        height: 75vw;
    }     */
}
@media(max-width: 600px){/*For mobile*/
    /* main{
        width: 100%;
    } */
    
    #Blog .Blog-description p{
        font-size: 3.5vw;
    }
    #section-impact-2 .impact-text{
        min-height: 380px;
    }
    .section-heading{
        font-size: 40px;
    }
    #Team{
        padding-bottom: 10%; /*to extend the bottom*/
    }
    #section-impact-2{
        padding-bottom: 30%;
    }

    #BlueRG-S{/*change the height of the blue bubbles*/
        bottom: 12%;
    }
    #logo-img{
        padding: 0;
    }

    .Popup-content{/*make the popup fits in the frame*/
        /* margin-bottom: 30%; */
        /* padding-bottom: 5%; */
        height: 80%;
        overflow: scroll;
    }

    .Popup-left img{
        height: unset;
        width: 100vw;
        left: 0%;
        top: 50%;
        transform: translate(0%, -0%);
    }
}

@media(max-height: 450px){
    .Popup-left img{/*save popup pic from bugging 450px*/
        height: 360px;
    }
}
@media(max-width: 500px){
    .member-bio{
        font-size: 15px;
    }
    #Blog #section-blog .heading-and-line svg{
        display: none;
    }
    #Blog #section-blog .section-sub-heading{
        min-width:unset;
    }
    #section-products-3 h3{
        font-size: 20px;
    } 
    #Blog .Blog-description h3{
        font-size: 4.5vw;
    }
    #Blog .Blog-description p{
        font-size: 3.7vw;
    }
}
@media(max-width: 450px){
    #section-impact-2 .card{
        margin: 5% 2% 0 2%;
        width: 80vw;
        height: 600px;
    }
    #section-impact-2 .impact-text{
        min-height: 380px;
    }
    #section-impact-2 #impact-container{
        transform: translateX(30%);
    }
    #Blog .Blog-description p{
        line-height: 1.4;
    }
}
@media(max-width: 400px){
    .member-bio{
        font-size: 13px;
    }
    #section-impact-2 .card{
        height: 650px;
    }
    #section-impact-2 .impact-text{
        min-height: 420px;
    }
    #banner h3{
        font-size: 30px;
    }
}
@media(max-width: 350px){
  
    .member-bio{
        font-size: 12px;
    }
    #Blog .Blog-description h3{
        font-size: 5vw;
    }
    #Blog .Blog-description p{
        font-size: 4.5vw;
        line-height: 1.2;
    }
    #section-impact-2 .card{
        height: 700px;
    }
    #section-impact-2 .impact-text{
        min-height: 500px;
    }
}
@media(max-width: 320px){
    
    #Blog .Blog-description h3{
        font-size: 5.2vw;
    }
    #Blog .Blog-description p{
        font-size: 4.7vw;
        line-height: 1.5;
    }
}
@media(min-width: 720px){ /* Medium Window Size*/
    /* main{
        width: 95%;
    } */
    #section-products-1 .card,
    #section-impact-1 .card{
        width: 100%;
    }
    .card-image img{
        width: 100%;
    }
    #section-team-1 .card,
    #section-team-2 .heading-and-line,
    #section-contact,
    #Blog #section-blog .card,
    #section-products-2 .Specs-tags,
    #section-impact-2 .heading-and-line,
    #section-impact-2 .pure-line{
        width: 85vw;
        /* justify-content: space-between; */
    }
    #section-products-2 .card{
        width: 70%;/*the total width of sabi lamp*/
    }
    
}
@media only screen and (max-width: 300px) {
    .prev, .next,.text {font-size: 11px}
    /* #Blog #section-blog .Blog-post { width:80vw;} */
  }
@media(min-width: 1200px){/*for Desktop*/
    #section-products-1 .card,
    #section-impact-1 .card{
        padding: 0 7.5%;
    }/*adding this to restrict the width of upper section*/

    #section-team-1 .card,
    #section-team-2 .heading-and-line,
    #Blog #section-blog .card,
    #section-contact,
    #partner-logos,
    #section-products-2 .Specs-tags,
    #section-impact-2 .heading-and-line,
    #section-impact-2 .pure-line{/*Restricting the width of the contents*/
        width: 85vw;
    }
    #section-products-2 .card{
        width: 70%;/*the total width of sabi lamp*/
    }

}