/*header mobile css starts*/
/* body{
  font-family: 'Open Sans', serif;
} */
a ,body{
  color: #535050;
}
.disclaimer{
  display: none;
}

/* header */

.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}

/*header mobile css ends*/

body {
  overflow-x: hidden;
}
/*div align diff types starts*/
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.bottom {
  position: absolute;
  top: 80%;
  left: 40%;
  transform: translate(-50%, -50%);
}
.newsbottom {
  position: absolute;
  top: 80%;
  left: 40%;
  transform: translate(-50%, -50%);
}
.top {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*div align diff types ends*/
/*news headlines col-4 section starts*/
div.scroll {
  margin: 4px, 4px;
  padding: 4px;
  background-color: green;
  height: 400px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: justify;
}
a {
  text-decoration: none;
}

/*news headlines col-4 section ends*/

/*zoom on hover css starts*/

.geeks {
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 30px;
}

.geeks img {
  width: 100%;
  transition: 0.2s all ease-in-out;
}

.geeks:hover img {
  transform: scale(1.5);
}

/*zoom on hover css ends*/

@media only screen and (min-width: 770px) and (max-width: 1000px) {
  .secondsliderimg {
    height: 375px;
  }
  #cards_section {
    max-width: 720px !important;
  }
  #news_section {
    display: block !important;
  }
  #discovermore_img {
    height: 375px;
  }
}
.nafcoo-quote{
  height: 300px;
  width: 100%;
}
@media only screen and (min-width: 300px) and (max-width: 769px) {
  .nafcoo-quote{
    height: 250px;
    width: 100%;
  }
  #discover_name {
    font-size: 2rem !important;
  }
  #news_section {
    display: block !important;
  }
  .cards_div {
    width: auto !important;
  }
}
#main {
  background-color: teal;
}
.text-justify {
  text-align: justify;
}
.page-product {
  height: 100px;
}
/* page banner code starts */
.inner-intro {
  background-color: #f7f7f7;
  height: 300px;
  display: block;
  position: relative;
  overflow: hidden;
}
.inner-intro.inner-intro-small {
  height: 380px;
}
.inner-intro .container {
  position: relative;
  height: 100%;
  display: table;
}
.inner-intro .container .title {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
}
.founder-image {
  height: max-content;
}
.founder-image img {
  height: 300px;
}
.bg-img-page{
  -webkit-background-size: cover;
  background-size: cover;
}
.bg-img-fertilizer {
  background: url("../img/flower-farm.jpg") 0 0 no-repeat;

background-size: contain;
background-repeat: inherit;
background-position: center;
}
.bg-img-solar{
  background: url("../img/solar-energy.jpeg")
    0 0 no-repeat;
}
.business-page-image{
  height: 375px;
  width: 100%;
}
.bg-img-about {
  background: url("../img/bg.jpg")
    0 0 no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
.bg-img-founder {
  background: url("https://picsum.photos/1300/300") 0 0 no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}
.bg-img-lighting {
  background: url("https://nsc-boxer.000webhostapp.com/assets/img/CompanyProfile-Cover.jpg")
    0 0 no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
}
.overlay-before:before {
  content: "";
  width: 517px;
  height: 166%;
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #a53121;
  transform: rotate(23deg);
  -webkit-transform: rotate(23deg);
  transform-origin: 100% 0;
  -webkit-transform-origin: 100% 0;
}
@media (max-width: 767px) {
  .inner-intro {
    height: 220px;
  }
  .overlay-before:before {
    width: 100%;
    transform: rotate(23deg);
    -webkit-transform: rotate(23deg);
    transform: rotate(0);
    -webkit-transform: rotate(0);
    transform-origin: 100% 0;
    -webkit-transform-origin: 100% 0;
    opacity: 0.9;
  }
}
/* page banner code ends */
.navbar-brand>img {
  height: 125px;
}

.nav-item .nav-link {
  color: green !important;
  font-weight: 500;
  text-transform: capitalize;
}
.nav-item .nav-link:hover {
  color: #a53121 !important;
  font-weight: 500;
  text-transform: capitalize;
}
.footer-links>li>a:hover{
  color: #a53121 !important;
}
.bg-theme {
  background-color: #217c29;
}

.text-orange {
  color: orange;
}

.bg-marquee {
  background-color: rgb(27, 32, 54);
}



.text-theme {
  color: #217c29;
}
.secondsliderimg {
  height: 400px;
  width: auto;
  
}

.farmer-service-cards {
  height: 273.22px;
  /* box-shadow: 0px 0px 10px 10px #dde3ef; */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.farmer-service {
  background-image: url('https://www.kribhco.net/assets/img/services/bg5.jpg');
  background-size: cover;

}

.farmer-service-card-text {
  padding: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
  color: white;
  background-color: #217c29;;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#newsandupdates {
  background-image: url('../img/bg-section.jpg');
  background-size: cover;
}

#newssecimg {
  height: 400px;
  object-fit: contain;

}

.banner-content {
  position: absolute;
  padding: 40px 60px;
  left: 0px;
  bottom: 0px;
  color: #ffffff;
}

.badge {
  font-size: 12px;
  background-color: #dc3545 !important;
  display: inline-block;
}

#newsheading {
  margin-bottom: 0.5rem !important;
  background-color: black !important;
  opacity: 0.8;
}

#newspostedon {
  font-size: 12px;
  background-color: #dc3545 !important;
  display: inline-block;
}
.bg-shade-green{
  background-color: rgba(0, 128, 0, 0.81);
}
#news_section {
  display: flex;
  justify-content: stretch;
  -webkit-box-align: stretch;
  align-items: stretch;
}
.banner-image{
  max-height: 600px;
min-width: 100%;
/* object-fit: contain; */

}
#newscol4_cardbody {
  height: 260px;
  overflow-y: scroll
}

.border-bottom-blue {
  border-bottom: solid 1px #032a63;
}

.rotate-img {
  overflow: hidden;
}

.img-fluid {
  transform: rotate(0) scale(1);
  transition: 0.6s ease-in-out;
}

#readmore_button {
  background-color: #097140;
  color: white;
}
.team-img{
  /* height: 200px;
  width: auto; */
  height: 250px;
  width: 250px;
  object-fit: cover;
}
.ol-list >li{
  margin-top: 5px;
}
.side-news-img{
  height: 50px;
  width: 100px;
}