*, *::before, *::after{
    box-sizing: border-box;
}

/* GLOBAL */
.float-left{
    text-align: left;
}

.float-right{
    text-align: right;
}

.row-after-header{
    margin: 3rem auto;
}

.card-margin{
    margin: 1em auto;
}

.card-min-height{
    min-height: 100vh;
}

.nav-link{
    color: white;
}
.nav-link:hover{
    color: #fff;
}

.error-msg{
    margin: 1em 0;
    padding: .5em;
    color: red;
    border: 1px solid red;
}

.section-heading{
    position: relative;
    text-align: center;
    margin-bottom: 2em;
}

.section-heading:after{
    content: "";
    position: absolute;
    display: block;
    height: .1em;
    background: #FF9810;
    width: 4em;
    bottom: -5px;
    left: 47%;
}

/* Tables */
.table-sm-text{
    font-size: .8em;
}

.pskenya-green-head{
    background-color: #66AF12;
    color: #fff;
}

.pskenya-orange-head{
    background-color: #FF9810;
    color: #fff;
}

.pskenya-green{
    color: #66AF12;
}

.pskenya-orange{
    color: #FF9810;
}

.td-newline{
	display: block;
}

/* Header */
.bg-green{
    background-color: #66AF12;
    height: 5em;
}

.sara-logo{
    background-color: #fff;
    border-radius: 100%;
    text-align: center;
    height: 3em;
    width: 3em;
    object-fit: contain;
}

/* Search form */
.search-container {
    width: 100%;
    position: relative;
}

.search-form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-form .input-group{
    display: flex;
    flex-direction: row;
    -content: center;
}

.search-form input{
    border: none;
    border-radius: 1em;
    background-color: #fff;
    color: #000;
    width: 100%;
    padding: .5em;
    font-size: 1.2em;
}

.search-form input::placeholder{
    color: #646262;
    font-size: .8em;
}

.search-form button[type="submit"] {
    padding: .5em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
  }


/* Events search form */
.events-search-form{
    display: flex;
    align-items: center;
}

.events-search-form .input-group{
    display: flex;
    flex-direction: row;
    justify-content: center;
	align-items: center;
	border: 1px solid #4CAF50;
	border-radius: 1em;
	padding: 0;
	padding: .5em;

}

.events-search-form input{
	border: none;
    background-color: #fff;
    color: #000;
    width: 100%;
    font-size: 1em;
}

.events-search-form input::placeholder{
    color: #646262;
    font-size: 1em;
}

.events-search-form button[type="submit"] {
    background: none;
    color: #eee;
    border: none;
    cursor: pointer
  }

.filter-btn{
    background-color: #FF9810;
    color: #fff;
    padding: .2em 3em;
    border-radius: 1em;
    border: 1px solid #eee;
    font-size: 1em;
    font-weight: 300;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-icon i {
    color: #FF9810;
    font-size: 1.2em;
}

.nav-right{
    display: flex;
    justify-content: right;
}

/* Footer */
.eeric-footer{
    background-color: #000;
    color: #fff;
    text-align: center;
    height: 4em;
    padding: 1em;
}

.footer-text img{
    margin: 0 .5em;
    width: 3em;
    height: 2em;
}

/* Landing page */
.hero-img-section{
    padding: 0;
    height: 40rem;
}

.hero-img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.programs-card{
    margin-top: 2em;
}

.program-card{
    text-align: center;
    border: 1px solid #eee;
    padding: 10%;
}

.link-card{
    text-decoration: none;
    color: inherit;
}

.link-card:hover{
    font-weight: bold;
    color: #FF9810;
}

.view-more-btns{
    margin: 3em auto;
    padding: 1em;
    text-align: center;
}

/* Evaluation form */
.question-row{
    border-top: 1px solid #eee;
    padding: .5em;
}

.form-control{
    border: 1px solid #999999;
}

.rating-form-field{
    text-align: center;
}

.form-btns{
    text-align: center;
    padding: 1em;
    margin: 2% auto;
}

.green-logo-txt{
    color: #66AF12;
}

.orange-logo-txt{
    color: #FF9810;
}

/* LINKS */
.red-link{
    color: red;
}

.orange-link{
    color: #FF9810;
}

.red-text{
    color: red;
}

.green-link{
    color: #66AF12;
}

table a{
    text-decoration: none;
    color: inherit;
}

table a:hover{
    font-weight: bold;
    color: #FF9810;
}

.normal-link{
    text-decoration: none;
    color: #333;
}

.normal-link:hover{
    font-weight: bold;
    color: #FF9810;
}

.float-left{
    text-align: left;
}

.float-right{
    text-align: right;
}

.profile-name{
	font-size: 1em;
	font-weight: bold;
}

.page-breadcrumb{
	display: flex;
	justify-content: flex-end;
}

/* Buttons */
.btn-sm{
    height: 2em;
}

.pskenya-green-btn{
    background-color: #66AF12;
    color: #fff;
}

.pskenya-orange-btn{
    background-color: #FF9810;
    color: #fff;
}

.btn-div{
	display: flex;
	justify-content: space-around;
	align-items: center;
}

/* Alerts */
.alert-error{
    background-color: red;
    color: #fff;
}

/* Forms */
.form-group{
    margin: 1em auto;
}

.form-img{
    border: 1px solid #eee; 
    padding: .5em; 
    margin-top: 1em;
    height: 8em;
    width: 8em;
    justify-content: center;
}

.form-img img{
    height: 5em;
    width: 5em;
    object-fit: fill;
}

/* Card header */
.orange-card-header{
    background-color: #FF9810;
    color: #fff;
}

.green-card-header{
    background-color: #66AF12;
    color: #fff;
}

.blue-card-header{
    background-color: #0070F0;
    color: #fff;
}

/* Consent form */
.consent-form-signature{
    width: auto;
    height: 3em;
}



/* HOME PAGE/LANDING PAGE */
.home-page-row{
	display: flex;
    justify-content: center;
    text-align: center;
    padding: 2em;
    background-color: #FF9810;
}

.home-page-row a{
    text-decoration: none;
    color: #fff;
}

.home-page-row a:hover{
    font-weight: bolder;
    color: #fff;
}

.index-card{
    justify-content: center;
    padding: .5em;
    margin: 1em auto;
    height: 10em;
    position: relative;
}

.index-card-icon{
    border: 1px solid #fff;
    border-radius: 100%;
    padding: .5em;
    height: 5em;
    width: 5em;
    background-color: #fff;
}

.index-card h6{
    margin-top: 3em;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.index-card:hover{
    border: 2px solid #fff;
}

.index-card:hover h6{
    font-weight: bold;
}

.recent-events-row-header{
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 1em 0;
}

.index-recent-events-title{
	width: 70%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.filter-btns-div{
	width: 30%;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.filter-btns-div .btn{
	background-color: #FF9810;
	color: #fff;
	border: 1px solid #eee;
	box-shadow: 5px 5px #d8cbb3;
}

/* Program events template */
.program-detail-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	margin: 1em;
}

.pskenya-orange-badge{
    background-color: #FF9810;
    border-radius: 1em;
    color: #fff;
    border: 1px solid #eee;
    min-width: 5em;
    min-height: 2em;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.3);
    font-size: 1em;
    font-weight: 300;
}

.pskenya-green-badge{
    background-color:#66AF12;
    border-radius: 1em;
    color: #fff;
    border: 1px solid #eee;
    min-height: 2em;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.3);
    font-size: 1em;
    font-weight: 300;
}

.program-detail-text h3{
    margin: 1em;
}


/* Other pages */
.page-header-img{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10em;
    background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/comms-bg.jpg');
    background-size:cover;
    background-repeat: no-repeat;
    background-position: 3% 3%;
    color: #fff;
    padding: 5em auto;
    font-family:Arial, Helvetica, sans-serif;
}

.page-header-img h3{
    margin-top: 2em;
}

/* Communication home page */
.default-row{
    margin: 1em auto;
}

.recent-events-row{
    padding: 2em 0;
    justify-content: center;
}

.comms-header-img{
    height: 20em;
    background:linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/comms-bg.jpg');
    background-size:cover;
    color: #fff;
    padding: 5em auto;
    font-family:Arial, Helvetica, sans-serif;
}

.comms-header-img h1{
    margin-top: 2em;
}

.header-img-text{
    display: block;
    font-size: .5em;
    margin-top: .5em;
}

.program-projects-nav{
    margin: 2em auto;
    padding: 1em auto;
}

.recent-images-row{
    margin: 1em auto;
}

.comms-header-row{
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 1em 0;
}

.media-categories a{
    text-decoration: none;
    color: #333;
}

.media-categories a:hover{
    text-decoration: none;
    color: #66AF12;
}

.orange-card-header{
    background-color: #FF9810;
    color: #fff;
}

/* Recent projects styling */
.recent-project-card{
    height: 15em;
    width: 100%;
    padding: 0;
    text-align: center;
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
}

.recent-project-card .bg-img{
    height: 100%;
    width: 100%;
}

.recent-project-overlay {
    position: absolute;
    height: 15em;
    width: 100%;
    justify-content: center;
    object-fit: cover;
    font-size: 1em;
    color: #fff;
    line-height: .5;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
}

.recent-project-overlay img{
    margin: 3em auto;
    height: 7em;
    width: 7em;
    transition: transform .4s;
    aspect-ratio: 3/2;
    object-fit: contain;
    border: 2px solid #FF9810;
    border-radius: 100%;
    background-color: #fff;
}

.recent-project-overlay:hover img{
    transform: scale(1.2);
    transform-origin: 50% 50%;
}

/* Recent event styling */
.recent-event-card{
    height: 15em;
    width: 100%;
    padding: 0;
    text-align: center;
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
    margin: 1em 0;
}

.recent-event-card .bg-img{
    height: 100%;
    width: 100%;
}

.recent-event-img{
    height: auto;
}

.recent-event-overlay {
    position: absolute;
    height: 15em;
    width: 100%;
    text-align: left;
    object-fit: cover;
    font-size: 1em;
    color: #fff;
    line-height: .5;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

.recent-event-overlay.recent-event-text{
    position: relative;
}

.recent-event-text p{
    display: block;
    line-height: 1.2;
    position: absolute;
    bottom: 1em;
    left: 1.5em;
}

.recent-event-text-date{
    display: block;
    position: absolute;
}

.pagination{
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2em auto;
}

.pagination a{
	text-decoration: none;
	color: inherit;
}

.pagination .active > .page-link{
	text-decoration: none;
	color: white;
	background-color: #66AF12;
	border-color: #66AF12;
}

.more-link{
    color: #66AF12;
    text-align: center;
    margin: 1em auto;
}

.event-hero-img-section{
    padding: 0;
    height: auto;
    overflow: hidden;
    position: relative;
}

.event-hero-img-section img{
    width: 100%;
    object-fit: contain;
}

.event-hero-img-section div{
    position: absolute;
}

.event-hero-img-section div h4{
    display: block;
    line-height: 1.2;
    position: absolute;
    bottom: 1em;
    left: 1.5em;
}

.project-month-events{
    text-align: center;
}

.undecorated-link{
    text-decoration: none;
    color: inherit;
}

.event-detail-txt{
    color: #fff;
    width: 100%;
}

.event-detail-txt h4{
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1em;
}

/* Audio section */
.normal-section{
    padding: 2em auto;
    margin: 2em auto;
}

.audio-section{
    padding: 2em auto;
    margin: 2em auto;
}

.event-audio-card{
    position: relative;
    height: 10em;
    text-align: center;
    font-size: .8em;
    border: 1px solid #999;
}

.event-audio-card .fa{
    font-size: 5em;
    color: #999;
}

.audio-card-overlay{
    position: absolute;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity:0;
    color: white;
    padding: 1em;
    text-align: center;
    height: 100%;
}

.event-audio-card:hover .audio-card-overlay {
    opacity: 1;
}

.audio-player{
    width: 100%;
    margin: 3em auto;
}

/* Event audio template */
.event-audio-row{
    text-align: center;
}

/* Event detail page */
.event-media-stat{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.event-media-items{
	display: flex;
	justify-content:space-evenly;
	align-items: center;
	background-color: #FF9810;
	padding: 1em;
	flex-wrap: wrap;
}

.media-item{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 10em;
	width: fit-content;
	padding: 1em;
}

.media-item-icon{
    border: 1px solid #fff;
    border-radius: 100%;
    padding: .5em;
    height: 5em;
    width: 5em;
    background-color: #fff;
	margin-bottom: 1em;
}

.div-link{
	text-decoration: none;
	color: #fff;
}

.media-item:hover h6{
    font-weight: bold;
}

.stat-card-link{
    text-decoration: none;
    color: #FF9810;
}

.stat-card{
    text-align: center;
    padding: .5em;
    border: 1px solid #333;
    height: 8em;
    min-width: 10em;
    border-radius: .5em;
}

.stat-card:hover{
    border: 2px solid #FF9810;
    font-weight: bold;
}

.stat-card .fa{
    font-size: 2em;
    display: block;
    margin-bottom: .5em;
}

/* Consent signature */
canvas#signature-pad {
    background: #eee;
    width: 100%;
    height: 100%;
    cursor: crosshair;
    border: 1px solid #000;
}
button#clear {
    height: 100%;
    background: #4b00ff;
    border: 1px solid transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* Event images */
.event-img-row{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.event-img-card{
	position: relative;
    width: auto;
    height: 15em;
    padding: 0;
    text-align: center;
    margin: .5em auto;
}

.event-img-card img{
    height: auto;
    width: 100%;
    transition: transform .4s;
}

.event-img-overlay{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20%;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 1em;
	/* Semi-transparent black overlay */
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.event-img-overlay .fa{
	padding: .5em;
	border: 1px solid #eee;
	border-radius: 50%;
	background-color: white;
}

.event-img-overlay a{
	text-decoration: none;
	color: #66AF12;
}

.event-img-card:hover .event-img-overlay {
	opacity: 1;
}
  
.event-img{
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    transition: .5s ease;
    backface-visibility: hidden;
    overflow: hidden;
    border-radius: .5em;
}

.event-img-icons{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: transparent;
    color: #918f8f;
    margin-top: .5em;
    border: none;
}

/* Event Image */
.event-image-card{
	position: relative;
	width: auto;
    height: 15em;
    padding: 0;
    text-align: center;
    margin: .5em auto;
}

.event-image-card img{
    transition: transform .4s;
}

.event-image-overlay{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20%;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 1em;
	/* Semi-transparent black overlay */
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.event-image-overlay .fa{
	padding: .5em;
	border: 1px solid #eee;
	border-radius: 50%;
	background-color: white;
}

.event-image-overlay a{
	text-decoration: none;
	color: #66AF12;
}

.event-image-card:hover .event-image-overlay {
	opacity: 1;
}

#filterEventMedia .modal-body{
	border: 2px solid #FF9810;
	border-radius: 3px;
}

#filterEventMedia input{
	border: 1px solid #66AF12;
}

#formEventProject > .form-btns{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

#formEventProject > .form-btns > button{
	width: 100%;
	margin: auto 1em;
}

.media-other-icon{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.event-img-icons a{
    text-decoration: none;
    color: inherit;
}

.event-img-icons .fa{
    font-size: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 .5em;
}

.fa-text{
    display: block;
    color: #000;
    font-size: .6em;
    font-weight: normal;
    align-items: center;
}

/* Hero Page Slider */
.carousel {
    margin-bottom: 4rem;
    object-fit:contain;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}
  
  /* Declare heights because of positioning of img element */
.carousel-item {
    height: 40rem;
}

.carousel-text{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    padding: 1em;
    width: fit-content;
    border-radius: .5em;
}

/* VISIBILITY REQUESTS */
.visibility-request-widgets{
	margin: 2em auto;
}

.visibility-request-widgets .col-md-3 .card{
	padding: 1em;
	height: 8em;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.pushback-reason{
	border: 1px solid #eee;
	margin: 1em auto;
	padding: 1em;
	color: red;
}

.widget-icon{
	text-align: center;
	justify-content: center;
	line-height: 2;
}

.widget-icon .fa{
	font-size: 2em;
	color: #4CAF50;
}

.widget-icon p{
	font-size: 1em;
	font-weight: light;
}

.widget-data h5{
	font-size: 2em;
	font-weight: bold;
}
  
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
      margin-bottom: 1.25rem;
      font-size: 1.25rem;
      line-height: 1.4;
    }
  
    .featurette-heading {
      font-size: 50px;
    }
  }
  
  @media (min-width: 62em) {
    .featurette-heading {
      margin-top: 7rem;
    }
  }
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

/* MEDIA QUERY */
@media only screen and (max-width: 768px) {

    body{
        font-size: .8em;
    }

    .sara-logo{
        height: 2.5em;
        width: 2.5em;
    }

    [class*="col-"] {
      width: 100%;
      margin: .5em auto;
    }

    .offcanvas{
        max-width: 50%;
    }

    .card-header .row .btn{
        display: block;
        width: 100%;
    }

    .table-sm{
        font-size: .8em;
    }

    .mobile-hide{
        display: none;
    }

	.hero-img-section{
		padding: 0;
		height: 20rem;
	}
	
	.hero-img{
		width: 100%;
		height: auto;
		object-fit: cover;
	}

	.carousel {
		object-fit:contain;
	}

	.carousel-item {
		height: 20rem;
	}

	.carousel-caption {
		bottom: 2rem;
		z-index: 10;
	}

	.event-hero-img-section {
		padding: 0;
		height: auto;
		overflow: hidden;
		position: relative;
	}

	.event-hero-img-section div h4 {
		display: block;
		line-height: 1;
		position: absolute;
		bottom: 1em;
		left: 1.5em;
		font-size: 1.2em;
	}

	.recent-events-row-header{
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		align-items: center;
		padding: 1em 0;
	}

	.index-recent-events-title{
		width: 100%;
	}
	
	.filter-btns-div{
		width: 100%;
	}
}