/*
Theme Name: Achieng Uhuru Website Theme
Theme URI: https://midascreativelab.com
Author: Midas Creative Labs
Author URI: https://midascreativelab.com
Description: A lightweight and skeletal WordPress boilerplate theme for HTML5 and beyond
Version: 3.X
License: MIT
License URI: https://mit-license.org/
Text Domain: barebones
*/
.single-services .ban, .category .ban, .single-people .ban, .single-post .ban{display:none;}
.serv {background: #000;}
.active .serv{background:#d2a10c;}
.active .serv a{color:#000;}
.serv a{color:#d2a10c;}
.oh{
  font-size: 10pt;
  font-weight: 650;
  color: #ec2a30;
}
.kma{
  border: 2px solid #d2a10c;
  padding: 10px 15px;
  text-decoration: none;
  color: #222;
  text-transform: uppercase;
  font-size: 13px;
}
.kma:hover{
  border: 2px solid #d2a10c;
  padding: 10px 15px;
  text-decoration: none;
  color: #222;
  text-transform: uppercase;
  font-size: 13px;
  background: #d2a10c;
  transition: 1s;
}
.bab .flex-direction-nav {
  position: absolute;
  top: 50% !important;
  width: 100%;
  margin-top: 0 !important;
}
.hero-section {
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #10385d 0%,
        rgba(16, 56, 93, 0.95) 15%,
        rgba(16, 56, 93, 0.75) 25%,
        rgba(16, 56, 93, 0.35) 40%,
        rgba(16, 56, 93, 0) 65%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero-link{
  background: gold;
  padding: 10px 25px;
  text-decoration: none;
  color: #022356;
}
.practice-areas {
    background: #f4f3fb;
    color: #29282d;
    min-height: 535px;
}

.practice-areas-heading h2 {
    margin: 0 0 35px;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #29282d;
}


/* ===============================
   MAIN SERVICE TABS
================================ */

.practice-area-tabs {
    display: flex;
    align-items: flex-start;
    gap: 55px;
    border: 0;
    margin-bottom: 40px;
}

.practice-area-tabs .nav-item {
    margin: 0;
}

.practice-area-tabs .nav-link {
    position: relative;

    border: 0;
    border-radius: 0;

    background: transparent;

    padding: 0 0 14px;

    font-size: 21px;
    font-weight: 500;

    color: #29282d;

    letter-spacing: 1px;

    transition: color 0.25s ease;
}

.practice-area-tabs .nav-link:hover {
    color: #111047;
}

.practice-area-tabs .nav-link.active {
    background: transparent;
    color: #111047;
}

.practice-area-tabs .nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    background: #c5961a;
}


/* ===============================
   DESCRIPTION
================================ */

.practice-area-description {
    max-width: 900px;
    margin-bottom: 35px;
}

.practice-area-description p {
    margin: 20px 0;
    line-height: 1.75;
    letter-spacing: 1px;
    color: #3d3c42;
}


/* ===============================
   SUB SERVICES
================================ */

.practice-area-subservices {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 80px;
    row-gap: 14px;

    max-width: 850px;
}

.practice-subservice {
    width: fit-content;

    font-size: 18px;
    line-height: 1.4;

    letter-spacing: 1px;

    color: #3d3c42;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: all 0.2s ease;
}

.practice-subservice:hover {
    color: #111047;
    text-decoration-color: #c5961a;
}

.abouts:hover{
    min-height: 245px;
    background: #696a65;
    color: #fff;
    border-radius: 15px;
}
.abouts{
    min-height: 245px;
    background: #10385d;
    color: #fff;
    border-radius: 15px;
}
.teamdts {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #fff5;
    padding: 15px;
    border-radius: 5px;
}
.header__navigation .nav ul li{
  text-align: left;
  display: inline-block;
  position: static;
  padding: 8px 10px !important;
}
.header__navigation .nav ul li a{
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.footer__navigation .nav ul li{
  text-align: center;
  display: inline-block;
  position: static;
  padding: 8px 10px;
}
ul.nav--header li.menu-item a{
  padding: 10px;
  color: #10385d;
  text-transform: uppercase;
  font-size: 13pt;
  text-decoration: none;
  font-weight: 500;
}
ul.nav--header li.menu-item{
  padding: 10px 5px;
}
.current-menu-item a, .current_page_item a {color:#696a65 !important;}
.header__navigation ul.nav li ul.sub-menu{
  /*top: 100%;*/
  padding: 0;
  z-index: 100;
  position: absolute;
  display: none;
  background: #f1f1f1;
  min-width: 200px;
  /*border-radius: 10px;*/
}

 .header__navigation ul.nav li ul.sub-menu li .sub-menu {
  top: 10px;
  left: 100%;
  border: 1px solid #333;
  padding: 4px;
}
 
 .header__navigation ul.nav li ul.sub-menu li {
  position: relative;
  border-bottom:1px solid;
  width:98%;
  margin-left: 1%;
}
.header__navigation ul.nav li ul.sub-menu li a {
  padding: 0px !important;
  color:#222 !important;
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 400;
}
.header__navigation ul.nav li:hover > .sub-menu, .header__navigation ul.nav li:active > .sub-menu{display: block;}
.header__navigation ul.nav li ul.sub-menu li{
display: table;
}
#sidr{background: #fff !important;}
.kalogo {
  height: 180px;
  background: white;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
#gform_submit_button_1 {
  padding: 10px 20px;
  background: #10385d;
  border: 0px solid;
  border-radius: 0px !important;
  color: #fff;
}
.box {
  border: 0px solid #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 10px #777;
  -moz-box-shadow: 0 1px 10px #777;
  -ms-box-shadow: 0 1px 10px #777;
  box-shadow: 0 1px 10px #777;
}
.banner{display:table;width:100%;position:relative;z-index: 0;}
.banner_wrapper, .banner_wrapper *{
  background-size:cover;
  background-position: top 30% center;
}
.bab .flex-direction-nav .flex-next::before {
  content: url(img/bright.png) !important;
  color: rgba(0, 0, 0, 1) !important;
}
.bab .flex-direction-nav .flex-prev::before {
  content: url(img/bleft.png) !important;
  color: rgba(0, 0, 0, 1) !important;
}
.bab .flex-direction-nav {
  position: absolute;
  width: 100%;
  /*top: auto !important;*/
  bottom: 130px !important;
}
.flex-direction-nav a {opacity: 1 !important;}
.bab .flex-direction-nav .flex-nav-prev{
  height: 50px;
  width: 50px;
  left: 0;
  position: absolute;
}
.bab .flex-direction-nav .flex-nav-next{
  height: 50px;
  width: 50px;
  right: 0;
  position: absolute;
}
dl, ol, ul {
  margin-top: 0;
  margin-bottom: 0 !important;
}
.no_pad{padding: 0 !important;}
.light{color: #fff !important;}
.sbtn{
  text-decoration: none;
  padding: 10px 25px;
  border: 1px solid #a17a23;
  color: #222;
  font-size: 9pt;
}
.pkg{padding: 10px !important;}
.pkg section{
  background: #f3f3f3;
  border-radius: 15px;
}
.pkg:first-child section, .pkg:nth-child(3) section{
  padding: 0px;
  min-height: 400px;
  background: #00d2ff !important;
  color: #fff !important;
  border-radius: 15px;
}
#gform_submit_button_3 {
  background: #af0000;
  padding: 10px 30px;
  color: #fff;
  border: 0px;
}
.pricebg{
    width: 60%;
    background: #fff;
    position: absolute;
    top: 30px;
    left: 0px;
    min-height: 30px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    color:brown;
    font-size: 10pt;
}
.card-price {
  display: inline-block;
  width: auto;
  height: 38px;
  background-color: #6ab070;
  -webkit-border-radius: 3px 4px 4px 3px;
  -moz-border-radius: 3px 4px 4px 3px;
  border-radius: 3px 4px 4px 3px;
  border-left: 1px solid #6ab070;

  /* This makes room for the triangle */
  margin-left: 19px;
  position: relative;
  color: white;
  font-weight: 600;
  font-size: 22px;
  line-height: 38px;
  padding: 0 10px 0 10px;
  transform: rotate(20deg);
}

/* Makes the triangle */
.card-price:before {
  content: "";
  position: absolute;
  display: block;
  left: -19px;
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
  border-right: 19px solid #6ab070;
}

/* Makes the circle */
.card-price:after {
  content: "";
  background-color: white;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  display: block;
  position: absolute;
  left: -9px;
  top: 17px;
}

//responsive media queries

//carousel bootstrap 5
@media (max-width: 767px) {
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 576px) {
  .col-sm-20 {
    flex: 0 0 auto;
    width: 20% !important;
    }
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 991px) {

    .practice-area-tabs {
        gap: 30px;
        flex-wrap: wrap;
    }

}

@media (max-width: 767px) {

    .practice-areas-heading h2 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .practice-area-tabs {
        gap: 20px;
    }

    .practice-area-tabs .nav-link {
        font-size: 21px;
    }

    .practice-area-description p {
        font-size: 17px;
        line-height: 1.65;
    }

    .practice-area-subservices {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

@media screen and (max-width:767px){
    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }
  .socials {
    padding-top: 10px;
    background: #ccc;
    height: 50px;
    margin-top: 10px !important;
  }
  .slider-text{padding-top: 40%;}
  .slider-text h1, .speak{font-size: 30pt;}
  .mobhide{display:none !important;}
  .banheight{height:50vh;}
  .banht, .servban{height:40vh;}
  .hero-content{
        position:absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        text-align: center;
  }
  .hero-content h1{font-size: 20pt;}
  .callback h1{font-size: 2.5rem;}
  .callback .phone{font-size: 2rem;}
  .callback .email{font-size: 1.6rem;}
}
@media(min-width:768px){
    
    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
      transform: translateX(25%);
    }
    
    .carousel-inner .carousel-item-start.active, 
    .carousel-inner .carousel-item-prev {
      transform: translateX(-25%);
    }
  .socials {
    padding-top: 12px;
    background: #ccc;
    height: 50px;
    margin-top: 10px;
  }
  .slider-text{padding-top: 15%;}
  .slider-text h1, .speak{font-size: 50pt;}
  .width60{max-width: 60% !important;}
  .width70{max-width: 70% !important;}
  .width80{max-width: 80% !important;}
  .width90{max-width: 90% !important;}
  .mobshow{display:none !important;}
  .banheight{height:85vh;}
  .banht, .servban{height:85vh;}
  .padr{padding-right: 10% !important;}
  .hero-content{position:absolute;bottom:25vh;left:100px;}
  .hero-content h1{font-size: 40pt;}
  .callback{min-height:535px;}
  .callback h1{font-size: 3.5rem;}
  .callback .phone{font-size: 2.8rem;}
  .callback .email{font-size: 2rem;}
  .servconts{border-left:3px solid #999595;}
  .contservs{padding: 0 3rem !important;min-height: 190px;}
}


