/* use with fixed navbar */
body {
  padding-top: 80px;
  font-size: 14px !important;
}

h2.cemi-post-title {
  font-family: 'Roboto', sans-serif;
}

i[class^='gg-'] {
  display: inline-block;
  top: 3px;
}

a.cemi-link {
  position: relative;
  color: #2162a5;
  text-decoration: none;
}

a.cemi-link > i {
  display: inline-block;
  top: 5px;
  /* height: auto; */
}

a.cemi-link.featured-project-link {
  color: #fff;
}

.navbar-nav > .active a.nav-link {
  color: #2162a5;
}

.navbar-nav > .active a.nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -3px;
  left: 0;
  background-color: #2162a5;
  visibility: visible;
  transform: scaleX(1);
}

a.cemi-link:hover {
  text-decoration: none !important;
}

a.cemi-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -3px;
  left: 0;
  background-color: #dc4549;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.2s ease-in-out 0s;
}

a.cemi-link:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

.list-group-item {
  font-family: 'Roboto', sans-serif;
}

.royal-nabvar {
  background-color: #ddebf8;
}

.royal-bg {
  background-color: #ddebf8;
}

.cemi-primary {
  color: #2162a5;
}

.cemi-secondary {
  color: #ea8f3c;
}

.cemi-body-text {
  color: #4c4346;
}

.cemi-post-title {
  color: #184777;
}

.cemi-bg-primary {
  background-color: #2162a5;
}

.cemi-bg-secondary {
  background-color: #ea8f3c;
}

.cemi-border-primary {
  border-color: #2162a5;
}

.cemi-border-secondary {
  border-color: #ea8f3c;
}

.election-countdown {
  color: #ea8f3c;
}

.election-countdown-description {
  color: #ea8f3c;
  font-weight: 300;
  font-size: 0.9em;
  line-height: 1em;
}

.election-title,
.election-subtitle {
  font-family: 'Roboto', sans-serif;
  color: #2162a5;
  margin-top: 25px;
}

.election-title {
  font-weight: 400;
  font-size: 2.4em;
}

.election-subtitle {
  font-weight: 300;
  margin-bottom: 30px;
}

.election-summary {
  padding: 50px;
}

.election-hero-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.narrow-row {
  background-color: #eee;
}

.narrow-container {
  padding: 20px 50px;
}

.narrow-container h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 2em;
  margin-bottom: 20px;
  color: #2162a5;
}

.cemi-post-content img {
  max-width: 100%;
}

.galery-image-thumb img {
  max-width: 100%;
}

.lightbox-img-link {
  display: block;
}

.lightbox-img-link img {
  max-width: 100%;
}

.gal {
  -webkit-column-count: 5; /* Chrome, Safari, Opera */
  -moz-column-count: 5; /* Firefox */
  column-count: 5;
}
.gal a {
  width: 100%;
  padding: 7px 0;
}
@media (max-width: 500px) {
  .gal {
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;
  }
}

.about-col {
  padding: 40px;
  color: #ffffff;
}

.about-col p {
  color: #fff;
  font-weight: 300;
}

.about-col h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 2em;
  margin-bottom: 50px;
  color: #ffffff;
}

.col-vision {
  background-color: #ea8f3c;
}

.col-mission {
  background-color: #777;
}

.col-goals {
  background-color: #2162a5;
}

.team-member {
  text-align: center;
}

.team-member .team-member-image {
  border-radius: 5px;
  max-width: 226px;
}

.team-member h5 {
  border-radius: 5px;
}

.team-member .member-name {
  font-weight: 600;
  color: #184777;
  margin-bottom: 5px;
  margin-top: 10px;
}
.team-member .member-position {
  font-size: 0.9em;
  color: #184777;
  margin-bottom: 0px;
}
.team-member .member-email {
  font-size: 0.9em;
  color: #ea8f3c;
}

.departments h5 {
  color: #ea8f3c;
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 30px;
}

.donators h5 {
  color: #ea8f3c;
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 20px;
}

.departments p {
  color: #777;
  font-weight: 300;
  font-size: 11pt;
  text-align: justify;
}

.min-paragraph-spacing p {
  line-height: 1.3em;
  margin-bottom: 5px;
}

.election-category-tag {
  margin-bottom: 15px;
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.election-post-card {
  border-top: 2px solid #ea8f3c;
  background-color: #eee;
}

.election-post-card .card-text {
  margin-top: 15px;
}

.election-post-card img {
  width: 100%;
}

.election-post-card .date-text {
  font-size: 0.8em;
  display: block;
  margin-top: 3px; /* to compensate line-height and keep it inline with link */
  color: #4c4346;
}

.icon-small {
  transform: scale(0.6) !important;
  opacity: 0.4;
}

/* Utilities */

.carousel-caption {
  left: 0px !important;
  right: 0px !important;
  bottom: 0px !important;
  padding-left: 15%;
  padding-right: 15%;
  padding-bottom: 30px !important;
  background-color: rgba(0, 0, 0, 0.45);
}

.zoom-hover {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
.zoom-hover:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}

.row-eq-height > [class^='col'] {
}

.row-eq-height > [class^='col'] {
  flex-grow: 1;
}

.link-underline {
  border-bottom: 2px solid #184777;
}

.link-underline:hover {
  text-decoration: none !important;
  border-bottom: 2px solid #dc4549;
}

.slide-item-target {
  opacity: 0.85;
}
.slide-item-target.active-slide {
  opacity: 1;
  font-weight: 400;
  border-left: 4px solid #113153;
}

.card-title {
  font-family: 'Roboto', sans-serif;
}

a.dark {
  color: #113153;
}

.cemi-text-dark {
  color: #113153;
}

.cemi-text-light {
  color: rgba(33, 98, 164, 0.65);
  /* e9eff6 */
}

.label-light {
  font-weight: 400;
  font-size: 0.9em;
  color: rgba(33, 98, 164, 0.65);
}

.cemi-text-narrow {
  line-height: 1.2em;
  height: 3.6em;
}

.cemi-text-narrow-free {
  line-height: 1.2em;
}

.cemi-text-small {
  font-size: 0.8em;
}

.btn.btn-primary.cemi-btn-primary {
  border-color: #184777;
  background-color: #184777;
}

.post-col {
  display: flex;
  flex-direction: column;
}

.post-col .controls {
  margin-top: auto;
}

.post-col-title {
  margin-top: 5px;
  margin-bottom: 5px;
}

.post-thin-heading {
  color: #ccc;
  font-size: 0.9em;
}

.post-thin-heading i {
  transform: scale(var(--ggs, 0.6));
  display: inline-block;
}

.post-list-excerpt {
  color: #999;
  text-align: justify;
  font-size: 0.9em;
}

.card-title {
  color: #184777;
}

.card-text {
  font-size: 0.9em;
  line-height: 1em;
  font-weight: 300;
  color: #4c4346;
}

.card-text-short {
  font-size: 1em;
  line-height: 1.1em;
  font-weight: 300;
  color: #4c4346;
  min-height: 3.3em;
  margin-bottom: 8px;
  margin-top: 8px;
}

.read-more-and-date {
  position: absolute;
  bottom: 20px;
}

.elections-or-project-card > p {
  font-weight: 300;
  line-height: 1em;
}
.elections-or-project-card > p {
  font-size: 0.9em;
}

.single-post-wrapper {
}

.post-subheading-details {
  font-size: 0.9em;
  color: #777;
}

.mission-badge-wrapper {
}

.mission-badge-wrapper img {
  width: 100%;
}

.mission-title h5 {
  margin-bottom: 0px;
}

.mission-brief {
  background-color: #ddebf8;
  padding: 10px 15px 10px 15px;
}

.mission-vertical-item h6 {
}

.mission-vertical-item .item-body {
  background-color: #ddebf8;
  padding: 5px 10px;
}

.program-wrapper {
  background-color: #ddebf8;
}

.program-boxes-wrapper {
  display: flex;
  flex-direction: column;
}

.program-boxes-wrapper .row {
  flex: 1;
}

.program-box {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  color: #fff;

  padding: 20px;
  text-align: center;
  align-items: center;
}

.program-box.bg-cemi-blue {
  background-color: #4bc5d4;
}

.program-box.bg-cemi-red {
  background-color: #dc4549;
}

.program-box.bg-cemi-primary {
  background-color: #2162a5;
}

.program-box.bg-cemi-secondary {
  background-color: #ea8f3c;
}

.program-featured-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2.3em;
  color: #2162a5;
  font-weight: 400;
}

.program-featured-description {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9em;
  color: #4c4346;
}

.action-set i {
  display: inline-block;
  margin-bottom: -3px;
}
.action-set i:last-child {
  margin-right: 5px;
}

.focus-posts-wrapper .image-col {
  overflow: hidden;
}

.focus-posts-wrapper .title-col {
  background-color: #eeede6;
  border-top: 4px solid rgba(0, 0, 0, 0.15);
}

.focus-posts-wrapper .title-col p {
  padding: 15px 10px;
  margin-bottom: 0px;
}

.top-row {
  margin-top: 32px;
}

.hero-section {
  margin-bottom: 15px;
}

.hero-image-wrapper {
  overflow: hidden;
  /* height: 60vh; */
  display: flex;
  position: relative;
  flex-direction: column;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
}

.hero-image-overlay p {
  padding-left: 15px;
  padding-right: 15px;
}
.hero-image-overlay p.title {
  padding-top: 15px;
}

.hero-image-overlay p.date {
  color: #ccc;
  /* padding-bottom: 15px; */
  margin-bottom: 15px;
}

/* Sections */
.section-title-wrapper {
  border-bottom: 2px solid;
}

.section-title-wrapper.primary {
  border-color: #2162a5;
}
.section-title-wrapper.secondary {
  border-color: #ea8f3c;
}

.section-title {
  display: inline-block;
  padding: 2px 10px;
  font-variant-caps: all-petite-caps;
  color: #fff;
}

.footer {
  background-color: #2162a5;
}

.footer i {
  display: inline-block;
}

/** Navbar Toggler */

.navbar-custom-toggler {
  border: none !important;
}

.animated-icon {
  width: 30px;
  height: 20px;
  position: relative;
  margin: 0px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

.animated-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

.animated-icon span {
  background: #2162a5;
}

/* Icon 4 */

.animated-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.animated-icon span:nth-child(2) {
  top: 10px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.animated-icon span:nth-child(3) {
  top: 20px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.animated-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0px;
  left: 8px;
}

.animated-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.animated-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 21px;
  left: 8px;
}

/* Spinner */

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loader {
  color: #2162a5;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.project-election-content img {
  max-width: 100%;
}

.cemi-post-content img {
  float: left;
  margin: 5px;
}

.footer-icons-row a {
  margin-right: 10px;
}

.ptb-0 {
  padding-top: 0px;
}

.mb-0 {
  margin-bottom: 0px;
}

.nav.custom-group-nav {
  align-items: center;
  justify-content: center;
  margin-bottom: 55px;
  display: flex;
  align-items: flex-start;
}

.custom-group-nav > .flex-item {
  flex: 1 1 0px;
  text-align: center;
  /* flex: 1 1 0; */
}

.custom-group-tab {
  color: #777;
  margin: 0px 20px;
  /* height: 75px; */
  display: block;
}

.custom-group-tab i {
  transform: scale(2);
  margin-bottom: 15px;
}

.custom-group-tab.active {
  color: #184777;
}

.custom-group-tab .tab-title {
  font-weight: 600;
  font-size: 14px;
  /* letter-spacing: 0.1em; */
  /* text-transform: uppercase; */
}

h2#custom-group-nav-active-group {
  margin-top: 36px;
  color: #184777;
  text-transform: uppercase;
}

.hr-title-devider {
  position: relative;
}

.left-hr {
  top: -6px;
  display: inline-block;
  width: 100px;
  position: relative;
  right: 0px;
  border-bottom: 1px solid #4c4346;
}

.center-hr {
}

.right-hr {
  top: -6px;
  display: inline-block;
  width: 100px;
  border-bottom: 1px solid #4c4346;
  position: relative;
}

.post-publication {
  position: relative;
  cursor: pointer;
}

.post-publication-backdrop {
  position: relative;
}

.post-publication-front {
  transition: opacity 0.3s;
  position: absolute;
  z-index: 999;
  bottom: 0px;
  /* top: 40px; */
  left: 0px;
  right: 0px;
  opacity: 0;
  background-color: #fff;
}

.post-publication:hover > .post-publication-front {
  display: block;
  opacity: 90%;
}
