.async-img {
    content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAQAAACRI2S5AAAAEElEQVR42mNkIAAYRxWAAQAG9gAKqv6+AwAAAABJRU5ErkJggg==");
}

.nav {
    height: 70px;
    position: fixed;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    font-family: "Work Sans", sans-serif;
    z-index: 1200;
    background: #40a161;
    font-size: 16px;
}

.bold {
    font-weight: 900;
}

.nav_pages {
    border-bottom: 1px solid #dddddd;
}

.nav-logo {
    height: 55px;
    width: auto;
    padding-top: 5px;
}

.nav-link,
.nav-link:visited {
    text-decoration: none;
    width: 16%;
    text-align: center;
}

.nav-link.sub-menu {
    cursor: pointer;
    height: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.nav-link.sub-menu:hover {
    overflow: visible;
}

.nav-link.sub-menu a:nth-of-type(1) {
    padding-top: 18px;
}

.nav-link.sub-menu a:nth-of-type(2) {
    padding-bottom: 12px;
}

.nav-link.sub-menu .sub-item,
.nav-link.sub-menu .quick-jump {
    padding: 5px 10px;
    min-width: 120px;
    background-color: #2c3e7e;
    white-space: nowrap;
}

.nav-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 50%;
}

@media (max-width: 992px) {
    .nav {
        /* As we hide the main menu, put thing end to end */
        justify-content: space-between;
        padding-left: 8px;
        padding-right: 12px;
    }
}

#sidenav_container {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1200;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    font-family: "Work Sans", sans-serif;
}

.sidenav {
    display: flex;
    flex-direction: column;
    width: 300px;
    bottom: 0;
    top: 70px;
    left: 0;
    position: fixed;
    background-color: white;
    -webkit-animation: linear;
    -webkit-animation-name: show;
    -webkit-animation-duration: 300ms;
}

@-webkit-keyframes show {
    0% {
        width: 0;
    }
    25% {
        width: 30px;
    }
    50% {
        width: 100px;
    }
    100% {
        width: 300px;
    }
}

.sidenav-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
}

.sidenav .sub-menu {
    padding: 10px 0 0 15px;
    border-bottom: 1px solid #eeeeee;
    color: #888888;
}

.sub-menu .sidenav-item {
    border-bottom: none;
    padding-left: 5px;
}

.sidenav-item:hover {
    background-color: #eeeeee;
}

.flex {
    display: flex;
}

.vertical-flex {
    display: flex;
    flex-direction: column;
}

.wrap {
    flex-wrap: wrap;
}

.space-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.social-icons-container {
    justify-content: flex-end;
}

.social-icons-container a {
    margin: 0 10px;
}

section {
    min-height: 100vh;
    display: flex;
    padding-top: 105px;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    .hide-on-large-and-up {
        display: none;
    }
}

footer {
    padding: 0 20px 20px;
}

footer img {
    height: 24px;
    width: auto;
}

footer .col {
    margin-top: 20px;
}

footer .address {
    display: grid;
    grid-template-columns: 5em 1fr;
    row-gap: 3px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    padding-top: 52px;
    padding-bottom: 0px;
}

.buttons .btn-large {
    margin: 12px 15px;
}

.bulleted-list {
    color: #888;

    padding: 24px 12%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    justify-items: center;
}

.bulleted-list div {
    margin-left: 48px;
}

.bulleted-list li {
    list-style-type: none;
    display: flex;
    align-items: center;
    width: 18em;
}

@media (max-width: 1000px) {
    .bulleted-list div {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .bulleted-list {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;

        padding: 10%;
    }

    .bulleted-list div {
        margin-left: 0;
    }
}

/*** Platform ***/

.slider {
    border-radius: 5px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #eeeeee44;
}

.slider .slider-nav {
    padding: 5px;
    font-size: 14px;
}

.slider .slider-nav i {
    margin: 2px 5px 0;
    cursor: pointer;
    color: #ccc;
}

.slider .slider-nav i:hover {
    color: lightskyblue;
}

#slides img {
    width: 100%;
    height: auto;
}

.slider #slides {
    width: 80%;
    height: auto;
    position: relative;
    padding: 20px 2% 0 2%;
}

@media (max-width: 800px) {
    .slider #slides {
        width: 100%;
    }
}

.buttons {
    padding: 20px;
}

.gutter {
    margin-bottom: 10px;
}

.gutter-top {
    margin-top: 15px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 18px;
    width: 25%;
    max-width: 200px;
    margin: 5px 0 24px 0;
}

.feature i {
    font-size: 32px;
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .feature {
        width: 50%;
    }
}

.platform_icon {
    height: 80px;
    width: auto;
    margin-bottom: 1em;
}

@media (max-width: 600px) {
    .feature {
        flex-direction: row;
        text-align: left;
        border-bottom: 1px solid #eeeeee;
        font-size: 16px;
        margin: 5px 0 5px 0;
        width: 100%;
        max-width: initial;
    }

    .feature i {
        font-size: 24px;
        min-width: 36px;
        margin-right: 20px;
    }

    .platform_icon {
        height: 36px;
        width: auto;
        margin-right: 12px;
        margin-bottom: 0.5em;
    }
}

#Platform .buttons {
    padding-top: 32px;
    padding-bottom: 40px;
}

/*** Deployment ***/

.deployment .buttons {
    padding-top: 32px;
    padding-bottom: 40px;
}

.deployment .bulleted-list {
    margin-top: 48px;
}

.deployment .sub-sub-title i {
    visibility: hidden;
}

.deployment-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    justify-items: start;
    gap: 20px;
    column-gap: 30px;

    padding: 0 10%;
    margin-top: 48px;

    text-align: initial;
}

.deployment-body img {
    justify-self: right;
    align-self: center;
    height: 64px;
    width: 64px;
}

.deployment-body .small {
    color: #888;
    display: block; /* needed so that line-height takes effect */
    line-height: 1.4;
}

@media (max-width: 600px) {
    .deployment-body {
        grid-template-columns: 1fr 6fr;
        column-gap: 15px;
        padding: 0 5%;
    }

    .deployment .bulleted-list {
        margin-top: 0;
        padding-top: 0;
    }

    .deployment .bulleted-list .sub-sub-title {
        /* Align with simple sub-title when on phones */
        font-weight: bold;
        font-size: 24px;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
        color: #40a161;
        display: block;
        line-height: 1.3;
        margin: 48px auto 10px auto;
    }

    .deployment .bulleted-list .sub-sub-title i {
        display: none;
    }
    .deployment .bulleted-list li {
        margin-left: 1em;
    }
}

/*** Clients ***/

#Clients .sub-title {
    margin-top: 64px;
}

#Clients .running-text {
    color: #2c3e7e;
    text-align: left;
}

.h-image {
    width: 200px;
    height: auto;
    padding-top: 40px;
}

.sq-image {
    width: 100px;
    height: auto;
    padding-top: 40px;
}

.h-image:hover,
.sq-image:hover {
    filter: unset;
}

@media (max-width: 600px) {
    .h-image,
    .sq-image {
        padding-top: 20px;
    }

    .sub-title.work {
        margin-top: 40px;
    }
}

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

.text-right {
    text-align: right;
    justify-self: end;
}

.text-justify {
    text-align: justify;
}

.moveup {
    margin-top: -0.2em !important;
}

#use_case_list i,
#map_key i,
#Deployment i,
#Clients i {
    margin-right: 10px;
}

#map_key span {
    margin-bottom: 10px;
}

.map-tool-tip {
    width: 300px;
    height: 130px;
    background-color: white;
    padding: 10px 5px;
    border-radius: 10px;
    border: 1px solid #eeeeee;
    position: fixed;
}

.map-tool-tip .flex {
    justify-content: space-around;
}

.map-tool-tip .col {
    width: 32%;
    font-weight: 300;
}

.full_width_image {
    width: 100%;
    height: auto;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.paragraph {
    font-size: medium;
}

.btn {
    font-weight: bold !important;
}

/*** Contact ***/

.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact iframe {
    max-width: 660px;
    align-self: center;
}

.contact .sub-title {
    margin-top: 32px;
    margin-bottom: 32px;
}

.contact-details {
    margin-top: 6px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.contact-details a {
    color: #888;
}

.contact form {
    width: 40%;
}

.contact .map {
    width: 20%;
}

#gmap {
    border: 1px solid #ccc;
}

@media (max-width: 992px) {
    .contact form,
    .contact .map {
        width: 49%;
    }
}

@media (max-width: 700px) {
    .contact form,
    .contact .map {
        width: 100%;
    }
}

/*** About ***/

.about {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: start;
    margin-bottom: 36px;
}

.about p:first-of-type {
    margin-top: -4px; /* Pull up to line up with photo */
}

.about .team-image {
    width: 100%;
    height: auto;
}

.team-image img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

.about .summary {
    padding-left: 30px;
}

@media (max-width: 1200px) {
    .about {
        display: flex;
    }

    .about {
        position: relative;
        text-align: center;
    }
    .about .team-image,
    .about .summary {
        width: 100%;
    }

    .about .summary {
        top: 0;
        left: 0;
        bottom: 0;
        position: absolute;

        background: linear-gradient(#f4f4f4bb, #f4f4f4bb);

        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 48px 20px;
    }
}

@media (max-width: 700px) {
    .about .summary,
    .about {
        position: initial;
        text-align: center;
    }

    .about .summary {
        border-radius: 10px;
        background: linear-gradient(#ffffffbb, #ffffffbb);
    }

    .about .team-image {
        display: none;
    }
}

#team,
#directors {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.team-item {
    margin: 5px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33% - 10px);
    cursor: pointer;
}

@media (max-width: 1200px) {
    .team-item {
        width: calc(33% - 10px);
    }
}

@media (max-width: 700px) {
    .team-item {
        width: calc(50% - 10px);
    }
}

.team-item .img-container {
    width: 90%;
    filter: opacity(0.8) saturate(0.8);
    aspect-ratio: 1;
    border-radius: 5px;
    overflow: hidden;
}

.team-item .img-container img {
    width: 100%;
    object-fit: cover;
}

.team-item .img-container:hover {
    filter: unset;
}

.team-item h6 {
    margin: 1em 1em;
}

.team-item:hover h6 {
    color: #f7931d;
}

.team-item b {
    margin-bottom: 6px;
}

.modal-container {
    width: 100%;
    height: calc(100% - 70px);
    top: 70px;
    left: 0;
    z-index: 720;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000066;
    overflow: auto;
}

.team-modal {
    width: 500px;
    margin: 20px auto;
    height: auto;
}

.team-modal .card-action {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card-action .btn {
    margin: 5px auto;
}

.team-modal .card-title {
    width: 100%;
    background-color: #40a16188;
}

/* My quick flex Grid */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    padding: 24px 10%;
    justify-content: space-between;
}

@media (max-width: 800px) {
    .flex-row {
        justify-content: space-between;
    }
}

ul.check li {
    display: flex;
    align-items: top;
}

ul.col2 li {
    width: 45%;
}

@media (max-width: 1400px) {
    ul.col2 li {
        width: 50%;
    }
}

@media (max-width: 800px) {
    ul.col2 li {
        width: 100%;
    }
}

ul.check li i,
.strong-icons i {
    margin-right: 10px;
    margin-top: 3px;
    font-weight: 600;
}

#map_of_africa {
    width: 100%;
    height: auto;
}

@media (orientation: landscape) and (min-width: 600px) {
    #map_of_africa {
        max-height: calc(100vh - 180px);
        max-width: 100%;
        width: auto;
    }

    #map_key {
        height: calc(100vh - 180px);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

#contact_form_g {
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px !important;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
    max-width: 45%;
}
#contact_form_g select {
    font-size: 16px;
}
#contact_form_g input,
#contact_form_g textarea {
    background-color: #f0f0f0;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    padding: 8px 5px !important;
    margin-top: 10px;
    outline: none;
}
#contact_form_g textarea {
    width: 100%;
    max-height: 50vh;
}
#contact_form_g label {
    margin-bottom: 10px;
}

@media (max-width: 400px) {
    #contact_form_g {
        max-width: 80%;
    }
    #Contact {
        margin-top: 50px;
    }
}

.li,
.ul li {
    line-height: 1em;
    padding-bottom: 0.5em;
}

.full-container {
    margin: 0 20px;
    width: 100%;
}

@media (max-width: 600px) {
    .full-container {
        margin: 0;
    }
}

/*** Login / sign-up ***/
.login {
    width: 580px;
}

.login p {
    margin-bottom: 12px;
}

#login,
#recover {
    margin-top: 32px;
    margin-bottom: 48px;
}

#credits-list {
    text-align: center;
}

#credits-list li {
    margin-bottom: 20px;
}

.contact-form {
    padding: 10px;
}

/* TAILWIND OPINIONATED UTLITY STYLING */
.mx-auto {
    margin: 0 auto;
}
.max-w-half {
    max-width: 50%;
}

.w-full {
    width: 100%;
}

.alert-success {
    margin: 10px auto;
    background-color: #dce6fb;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #697ca4;
    max-width: 45%;
    display: none;
}

@media (max-width: 400px) {
    .alert-success {
        max-width: 80%;
    }
}
