/*
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 396px;
  height: 341px;
  background-color: white; 
  padding: 24px 24px 24px 24px;
  outline: 1px solid #17195c;
  outline-offset: -1px;
  text-align:left;
}
*/
.card {
  display: flex!important;
  flex-direction: column!important;
  align-items: center!important;
  width: 370px!important;
  height: 220px!important;
  background-color: white!important;
  padding: 24px 24px 24px 24px!important;
  outline: 1px solid #17195c!important;
  outline-offset: -1px!important;
  text-align: left!important;
  margin-left:-3%;
  }
.card img {
 border-radius: 50%!important;
}
.field--name-flipbook-cover {
  display: none !important;
}
.cards {
  max-width: 1200px!important;
  margin: 0 auto!important;
  display: grid!important;
  grid-gap: 2rem!important;
  grid-template-columns:repeat(3, 1fr)!important;
}
@media (max-width: 768px) {
    .cards {
  grid-template-columns:repeat(1, 1fr)!important;
    }
  }
.mpwcards {
  max-width: 1200px!important;
  margin: 0 auto!important;
  display: grid!important;
  grid-gap: 2rem!important;
  grid-template-columns:repeat(2, 1fr)!important;
}
@media (max-width: 768px) {
    .mpwcards {
  grid-template-columns:repeat(1, 1fr)!important;
    }
  }
* {
  box-sizing: border-box;
}

.mwcard {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important; /* Full width for responsiveness */
  max-width: 530px !important; /* Maximum width for larger screens */
  height: auto !important; /* Auto height for flexibility */
  min-height: 190px !important; /* Minimum height for consistency */
  background-color: white !important;
  padding: 24px !important;
  outline: 1px solid #17195c !important;
  outline-offset: -1px !important;
  text-align: left !important;
  margin: 0 auto; /* Center the card horizontally */
  border-radius: 10px;
  box-sizing: border-box; /* Include padding in width/height calculations */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .mwcard {
    max-width: 450px !important; /* Adjust max-width for tablets */
  }
}

@media (max-width: 768px) {
  .mwcard {
    max-width: 100% !important; /* Full width on smaller screens */
    margin-left: 0 !important; /* Remove negative margin */
  }
}

@media (max-width: 480px) {
  .mwcard {
    padding: 16px !important; /* Reduce padding for mobile */
    min-height: 150px !important; /* Adjust minimum height */
  }
}
.mwcard img {
 border-radius: 50%!important;
}
.mwcards {
  max-width: 1200px!important;
  margin: 0 auto!important;
  display: grid!important;
  grid-gap: 2rem!important;
}
.house-leadership- img{
 border-radius: 50%!important;
}
.committees-leadership {
background: #f7fafc;
background-color:#f7fafc;
display: flex;
flex-direction: column;
overflow:visible;
}
.pbodiv {
align-self: center;
margin-top:22px;
width: 100%;
flex-direction: column;
font-family: Montserrat, sans-serif;
justify-content: start;
}
@media (max-width: 991px) {
.pbodiv {
max-width: 100%;
}
}
.pbodiv-8 {
display: flex;
margin-top: 32px;
width: 100%;
flex-direction: column;
justify-content: start;
}
.budget-office {
width: 100%;
font-size: 28px;
color: #131313;
font-weight: 600;
line-height: 1;
margin-left:9%;
padding-bottom:15px;
}  
.pbobreadcrumb {
align-self: start;
display: flex;
align-items: start;
font-size: 14px;
justify-content: start;
margin-left:5%;
}
.pbobreadcrumb-2 {
justify-content: center;
  align-self: start;
  display: flex;
  padding-right: 20px;
  gap: 8px;
  font-size: 14px;
  color: #667085;
  font-weight: 400;
  line-height: 150%;
  margin-left: 5%;
}
.pbobreadcrumb-main {
display: flex;
align-items: center;
gap: 8px;
justify-content: center;
width:100%;
}
.background-and-history {
    color:#1e293b!important;
    font-size: 24px!important;
    font-weight: 600!important;
    line-height: 1!important;
}
.responsive-table-wrapper {
  width: 100%;
  overflow-x: auto; /* Enables horizontal scrolling on small screens */
}
.vistpdiv1 {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  position: relative;
  min-height: 220px;
  margin-top: 24px;
  width: 100%;
  align-items: center;
  color: rgba(255, 255, 255, 1);
  justify-content: center;
  padding: 45px 80px;
}
.cldimg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  background-color: #FFFFFF;
}
.vstparl2 {
  position: relative;
  display: flex;
  width: 719px;
  max-width: 100%;
  flex-direction: column;
  justify-content: start;
}
.vpofkenya {
  font-size: 48px;
  font-weight: 600;
  align-self: center;
}
.enjoyld {
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
  margin-top: 8px;
}
.vspdiv10 {
  align-self: center;
  display: flex;
  margin-top: 80px;
  align-items: start;
  gap: 24px;
  justify-content: start;
  flex-wrap: wrap;
}
.parlimage {
  aspect-ratio: 0.95;
  object-fit: contain;
  object-position: center;
  width: 516px;
  border-radius: 8px;
  min-width: 240px;
}
.parldiv-11 {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  justify-content: start;
  width: 516px;
}
.parldiv-12 {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: start;
}
.pdcontion {
  color: #131313 !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
.visitors-must {
  color: #334155;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  margin-top: 24px;
}
.parldiv-13 {
  display: flex;
  margin-top: 40px;
  width: 100%;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  justify-content: space-between;
  flex-wrap: wrap;
}

.secondary-2 {
  align-self: stretch;
  border-radius: 40px;
  border: 2px solid #17195c;
  min-width: 240px;
  min-height: 48px;
  gap: 8px;
  color: #17195c;
  height: 48px;
  width: 248px;
  margin: auto 0;
  padding: 14px 8px;
}
.parldiv-14 {
  align-self: center;
  display: flex;
  margin-top: 85px;
  width: 100%;
  max-width: 1056px;
  align-items: start;
  gap: 24px;
  justify-content: start;
  flex-wrap: wrap;
}
.parldiv-15 {
  display: flex;
  min-width: 240px;
  flex-direction: column;
  justify-content: start;
  flex-grow: 1;
  width: 413px;
}
.parldiv-16 {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: start;
}
.how-to-get-to-parliament {
  color: #131313;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.parliament-building {
  color: #334155;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  margin-top: 24px;
}
.joint-services {
  background: #f7fafc;
    background-color: rgb(247, 250, 252);
  background-color: #f7fafc;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.pscdiv1 {
  align-self: center;
  display: flex;
  margin-top: 40px;
  width: 100%;
  max-width: 1280px;
  flex-direction: column;
}
.breadcrumb-2 {
  display: flex;
  min-width: 240px;
  align-items: start;
  justify-content: start;
}
.breadcrumb-items-core {
  align-self: stretch;
  color: #667085;
  font-weight: 400;
  white-space: nowrap;
  margin: auto 0;
}
.breadimg {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 16px;
  align-self: stretch;
  margin: auto 0;
}
.secondary {
align-self: stretch;
border-radius: 40px;
border: 2px solid #17195c;
background: #17195c;
background-color: rgb(0, 104, 16);
background-color: #17195c;
min-width: 240px;
min-height: 48px;
gap: 8px;
color: rgba(255, 255, 255, 1);
height: 48px;
width: 248px;
margin: auto 0;
padding: 14px 8px;
}
.breadcrumb-items-core-2 {
  align-self: stretch;
  min-width: 240px;
  color: #17195c;
  font-weight: 500;
  margin: auto 0;
}
.breadcrumb,.breadcrumb-main{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  max-width: 100%;
}
.mapdiv {
  aspect-ratio: 1.48;
  object-fit: contain;
  object-position: center;
  width: 413px;
  border-radius: 8px;
  min-width: 240px;
  flex-grow: 1;
}
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* Ensures fixed width for columns */
}

.responsive-table th, .responsive-table td {
   padding: 8px;
  text-align: left;
  word-wrap: break-word; /* Prevents content overflow */
}

@media (max-width: 768px) {
  .responsive-table-wrapper {
    overflow-x: scroll;
  }

  .responsive-table th, .responsive-table td {
    font-size: 12px; /* Adjust font size for smaller screens */
  }
}
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns of equal width */
  gap: 20px; /* Space between columns and rows */
}
label, a{
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: inline-block;
  color: inherit;
  transition: border 0.2s;
  border-bottom: 5px solid rgba(#8e44ad, 0.2);
  padding: 3px 2px;
  &:hover{
    border-bottom-color: #17195c;
  }
}
.pbopage-contents {
  width: 100%;
  margin: 0 auto;
}
.pbolayout{
  display: grid;
  height: 100%;
  width: 100%;
  overflow: hidden;
  grid-template-rows: 50px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background-color:#FFFFFF;
}

input[type="radio"]{
  display: none;
}

label.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 2px solid #17195c;
  background: #f7fafc;
  user-select: none;
  transition: background 0.4s, padding-left 0.2s;
  padding-left: 0;
  input[type="radio"]:checked + .pbopage + &{
    background: #fff;
    color: #17195c;
    padding-left: 20px;
    span{
	 align-self: stretch;
    min-height: 22px;
    gap: 8px;
    overflow: hidden;
    padding: 0 8px; 
    }
    svg{
      opacity: 1;
    }
  }
  span{
    padding-left: 0px;
    position: relative;
  }
  svg{
    left: 0;
    top: -3px;
    position: absolute;
    width: 15px;
    opacity: 0;
    transition: opacity 0.2s;
  }
}

.pbopage{
  grid-column-start: 1;
  grid-row-start: 2;
  grid-column-end: span 6;
  padding: 0px 20px;
  align-items: center;
  background:#f7fafc;
}

.pbopage-contents > *{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s, transform 0.2s;
  @for $c from 1 through 20{
    &:nth-child(#{$c}){
      transition-delay: 0.2s + ($c * 0.2s);
    }
  }
}

input[type="radio"] + .pbopage{
  transition: transform 0.2s;
  transform: translateX(100%);
}

input[type="radio"]:checked + .pbopage{
  transform: translateX(0%);
  .pbopage-contents > *{
    opacity: 1;
    transform: translateY(0px);
  }
}

.pbopage-contents{
  max-width: 100%;
  margin: 0 auto;
}
  .pbobreadcrumb-items-core {
    align-self: stretch;
    color:#667085;
    font-weight: 400;
    margin: auto 0;
  } 
/*
.responsive-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 8px;
    background: white;
    box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.05);
    border-top: 4px solid #17195c;
    gap: 14px;
    height: auto;
  }*/
.responsive-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0px 0px;
  background: white;
  box-shadow: 0px 1px 4px rgba(12,12,13,0.05);
  border-top: 4px solid #17195c;
  gap: 4px;
  height: auto;
}
  .responsive-icon {
    width: 80px;
    height: 80px;
    padding: 8px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .icon-wrapper {
    width: 45px;
    height: 53px;
    position: relative;
  }
    .responsive-text {
    color: #131313;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 1.25;
    word-wrap: break-word;
    width: 180px;
  }
.mcard {
  display: block;
  flex-direction: column;
  align-items: center;
  width: 396px;
  height: 341px;
  background-color: white; 
  padding: 24px 24px 24px 24px;
  outline: 1px solid #17195c;
  outline-offset: -1px;
  text-align:left;
}
.mcard img {
 border-radius: 50%;
}
.mcards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 2rem;
}
* {
  box-sizing: border-box;
}

/* Create two unequal columns that floats next to each other */
.column {
  float: left;
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}
.mylist {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #fff;
}
.mylist button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
 }
.mylist button:hover {
  background-color: #17195c;
}
.mylist button.active {
  background-color: #17195c;
}
.miketabcontent {
  display: none;
  padding: 6px 12px;
  border: 0px solid #ccc;
  border-top: none;
  background-color: #fff;
}
.left {
  width: 50%;
}
  .myimage {
    aspect-ratio: 1!important;
    object-fit: auto!important;
    object-position: center!important;
    width: 100px!important;
    border-radius: 50%!important;
    max-width: 100%!important;
  }
  @media (max-width: 991px) {
    .myimage {
      margin-top: 40px;
    }
  }
  .divcolumn {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 50%;
    margin-left: 0px;
  }
  @media (max-width: 991px) {
    .divcolumn {
      width: 100%;
    }
  }  
  .cmemdiv {
    border-radius: 8px;
    background-color: var(--50-white, #fff);
    flex-grow: 1;
    width: 100%;
    padding: 8px 12px;
  }
  @media (max-width: 991px) {
    .cmemdiv {
      margin-top: 24px;
      padding-right: 20px;
    }
  } 
    .cmemdiv1 {
    gap: 20px;
    display: flex;
  }
  @media (max-width: 991px) {
    .cmemdiv1 {
      flex-direction: column;
      align-items: stretch;
      gap: 0px;
    }
  }
 .divcolumn-2 {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 32%;
    margin-left: 0px;
  }
  @media (max-width: 991px) {
    .divcolumn-2 {
      width: 100%;
    }
  } 
   .divcolumn-3 {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 68%;
    margin-left: 20px;
  }
  @media (max-width: 991px) {
    .divcolumn-3 {
      width: 100%;
    }
  }
    .divcolumn-5 {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    margin: auto 0;
  }
  @media (max-width: 991px) {
    .divcolumn-5 {
      margin-top: 40px;
    }
  }
  .divcolumn-6 {
    color:#131313;
    font-feature-settings: "clig" off, "liga" off;
    font: 600 14px Montserrat, sans-serif;
  }  
   .divcolumn-7 {
    color: var(--Sub, #1e293b);
    font-feature-settings: "clig" off, "liga" off;
    text-transform: capitalize;
    margin-top: 8px;
    font: 400 13px Montserrat, sans-serif;
  } 
.right {
  width: 50%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

#rcorners2 {
  border-radius: 25px;
  border: 2px solid #17195c;
  background-color: #f7fafc;
 }
@media (min-width: 768px) {
  .offset-md-4 {
    margin-left: 30.33333333%;
  }
}
.top-banner{
    padding: 1em 0 0;
    background: var(--green);
}
a{
  color:#000000;
  font-weight:normal !important;
}
.top-banner h1 {
    color: #fff;
    padding: 0 2.1em;
}
.top-banner p {
    color: #fff;
    padding: 0 7em;
}
.breadcrumb-box {
    padding: .6em 6.1em;
    margin-bottom: 0;
    background: #749f7e;
    margin-left:2px;
}
.text-white {
    color: #fff!important;
    margin-left:13%;
}
.breadcrumb-box a {
    color: #fff;
}

.breadcrumb-box a::after {
    content: ">>";
    padding-left: 5px;
}
.archive-mp-content {
    margin-top:5%;
    background-color:#f7fafc;
}

.archive-mp-content h3 {
    color: var(--green);
    font-weight: bold;
    margin-bottom: .5em;
}

.form--inline .form-actions {
    clear: none;
}
  .vicechair {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 50%;
    margin-left: 20px;
  }
  @media (max-width: 991px) {
    .vicechair {
      width: 100%;
    }
  }
   .vicechair-8 {
    border-radius: 8px;
    background-color:#fff;
    flex-grow: 1;
    width: 100%;
    padding: 8px 12px;
  }
  @media (max-width: 991px) {
    .vicechair-8 {
      margin-top: 24px;
      padding-right: 20px;
    }
  } 
    .vicechair-9 {
    gap: 20px;
    display: flex;
  }
  @media (max-width: 991px) {
    .vicechair-9 {
      flex-direction: column;
      align-items: stretch;
      gap: 0px;
    }
  }
  
   .vccolumn-5 {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 32%;
    margin-left: 0px;
  }
  @media (max-width: 991px) {
    .vccolumn-5 {
      width: 100%;
    }
  } 
    .vccolumn-6 {
    display: flex;
    flex-direction: column;
    line-height: normal;
    width: 68%;
    margin-left: 20px;
  }
  @media (max-width: 991px) {
    .vccolumn-6 {
      width: 100%;
    }
  }
   .cldiv {
    align-self: stretch;
  }
  @media (max-width: 991px) {
    .cldiv {
      padding-right: 20px;
    }
  }
.cldiv-2 {
gap: 400px;
display: flex;
}
@media (max-width: 991px) {
.cldiv-2 {
flex-direction: column;
align-items: stretch;
gap: 0px;
}
} 
 
 .smdiv {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
  }
    .div-2 {
    font-feature-settings: "clig" off, "liga" off;
    margin-top: 15px;
    color: var(--Sub, #1e293b);
    justify-content: center;
    padding: 8px 0;
    font: 600 18px Montserrat, sans-serif;
  }
  @media (max-width: 991px) {
    .div-2 {
      max-width: 100%;
    }
  }
  
.singmp-card{
    border-left: 10px solid var(--green);
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 2em;
    box-shadow: 4px 4px 5px 0px #e7e5e5;
}
.mp-card:hover {
background-color: #ddd;
}
.cmtt-card{
    border-left: 10px solid var(--green);
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 2em;
    box-shadow: 4px 4px 5px 0px #e7e5e5;
    font-size: 12px;
    background-color:white;
    border-radius: 8px;
    padding: 8px 24px 8px 24px;
    gap: 41px;
    align-items: center;
    height:150px;
    flex-wrap: nowrap;
    }
.cmtt-card>div:nth-child(2) {
    padding-left: 1em;
}
.cmtt-card p:nth-child(1) {
    font-weight: 600;
    font-size: 1.2em;
    margin: 5px 0;
}
.cmtt-card p, .cmtt-card i{
    color: dimgray;
}
.cmtt-card p:nth-child(2)::after{
    content: "";
    display: block;
    width: 100%;
    padding-top: 10px;
    border-bottom: 1px solid dimgray;
}
.pparty-card{
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 2em;
    box-shadow: 4px 4px 5px 0px #e7e5e5;
    font-size: 12px;
    background-color:white;
    border-radius: 8px;
    padding: 8px 24px 8px 24px;
    gap: 41px;
    align-items: center;
    height:150px;
    flex-wrap: nowrap;
    }
.pparty-card>div:nth-child(2) {
    padding-left: 1em;
}
.pparty-card p:nth-child(1) {
    font-weight: 600;
    font-size: 1.2em;
    margin: 5px 0;
}
.pparty-card p, .pparty-card i{
    color: dimgray;
}
.pparty-card p:nth-child(2)::after{
    content: "";
    display: block;
    width: 100%;
    padding-top: 10px;
    border-bottom: 1px solid dimgray;
}
.v-card>div:last-child{
    flex-grow: 1;
    align-self: center;
    text-align: end;
}
.pparty-card i {
    font-size: 2em;
}
.mp-card{
    border-left: 10px solid var(--green);
    display: flex;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 2em;
    box-shadow: 4px 4px 5px 0px #e7e5e5;
    font-size: 12px;
    background-color:white;
}
.mp-card>div:nth-child(2) {
    padding-left: 1em;
}
.mp-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}
.mp-card p:nth-child(1) {
    font-weight: 600;
    font-size: 1.2em;
    margin: 5px 0;
}
.mp-card p, .mp-card i{
    color: dimgray;
}
.mp-card p:nth-child(2)::after{
    content: "";
    display: block;
    width: 100%;
    padding-top: 10px;
    border-bottom: 1px solid dimgray;
}
.mp-card>div:last-child{
    flex-grow: 1;
    align-self: center;
    text-align: end;
}
.mp-card i {
    font-size: 2em;
}


.lcommitte-card{
    display: flex;
    padding-left: 1em;
    padding-right: 0em;
    margin-bottom: 2em;   
    font-size: 12px;
    background-color:white;
}
.lcommitte-card>div:nth-child(2) {
    padding-left: 1em;
}
.lcommitte-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}
.lcommitte-card p:nth-child(1) {
    font-weight: 600;
    font-size: 1.5em;
    margin: 5px 0;
}
.lcommitte-card p, .lcommitte-card i{
    color: black;
    font-weight: 600;
}
.lcommitte-card p:nth-child(2)::after{
    content: "";
    display: block;
    width: 100%;
    padding-top: 10px;
    border-bottom: 2px solid blue;
}
.lcommitte-card>div:last-child{
    flex-grow: 1;
    align-self: flex-start;
    text-align: left;
}
.lcommitte-card i {
    font-size: 2em;
}
.breadcrumb-box a:last-child::after {
    content: "";
}
/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:768px) {
  .card .card-inner,
  .card-member-vote .card-inner
{
    display:flex;
    flex-direction:column;
    justify-content:space-between
  }
  @media(min-width:992px) {
  .card-member-vote .card-inner {
    min-height:120px;
    padding-left:15px;
    position:relative
  }
}
@media(min-width:992px) {
  .card-member-vote .card-inner .result-large,
.card-member-vote .tile-inner .result-large {
    display:block
  }
}

ult-large {
    display:block
  }
}



