/*Navbar*/
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    background: #F8C203;
    padding: 5px 5px;
    /*border-bottom: 1px solid #eeeeee;*/
}

.navbar-expand-xl .navbar-nav .nav-link {
    padding: 10px 19px;
    font-size: 19px;
    position: relative;
    color: white;
    background: #036CEF;
}

.navbar-expand-xl .navbar-nav .nav-link:hover {
    background: white;
    color: #036CEF;
}

.navbar-expand-xl .navbar-nav .nav-link.active {
    color: #036CEF;
    background: white;
}

.navbar-toggler {
    background-color: white;
    border: none;
    padding: 10px 6px;
    outline: none;
}

.header a {
    text-decoration: none;
    font-weight: 500;
    padding: 16px 19px;
    font-size: 23px;
    color: #036CEF;
    background: white;
}

/*Cards/boxes on homepage*/
.welcome {
    border: solid 5px #F8C203;
    border-radius: 20px;
}

.services {
    border: solid 5px#036CEF;
    border-radius: 20px;

}

.services h2 {
    background: #F8C203;
    border-radius: 20px;
    text-align: center;

}

.conv-saf-card {
    background: #159F4A;
    color: white;
    border: solid 5px #F8C203;
    border-radius: 20px;
}

.conv-airtel-card {
    background: #ED1B24;
    color: white;
    border: solid 5px #F8C203;
    border-radius: 20px;
}

.conv-tel-card {
    background: #0DAACB;
    color: white;
    border: solid 5px #F8C203;
    border-radius: 20px;
}

.button {
    background: #F8C203;
    color: black;
    font-weight: bold;
    border-radius: 50px;

}

.button:hover {
    background: #036CEF;
    color: white;
}

/* Safaricom Data Tabs*/
.saftab-container .nav-tabs .nav-link.active {
    background-color: #159F4A;
    color: white;
    border: 3px solid white;
}

.saftab-container .nav-tabs .nav-link {
    background-color: #F8C203;
    color: black;
    border: 3px solid white;
    margin-right: 2px;
    padding-left: 12px;
    padding-right: 15px;
}

.saftab-container .nav-tabs .nav-link:hover {
    background-color: #159F4A;
    color: white;
}

.tab-content {
    /*background-color: #159F4A;*/
    color: rgb(39, 37, 37);
}

.saftab-container {
    /*background-color: #F8C203;*/
    margin: auto;
    width: 50%;
    height: auto;
    border: 3px solid #159F4A;
    padding: 10px;
    border-radius: 20px;
}

.safdata {
    border-radius: 15px;
    background: #159F4A;
}

@media (max-width: 500px) {
    .saftab-container {
        /*background-color: violet;*/
        width: 100%;
        height: auto;
        border: 2px solid #FFFFFF;
        padding: 10px 5px;
        margin-top: 10px;

    }

    .saftab-container .nav-tabs .nav-link {
        background-color: #F8C203;
        color: black;
        border: 3px solid white;
        margin-right: 2px;
        padding-left: 2px;
        padding-right: 2px;
        font-size: 11px;
    }

    .saftab-container {
        /*background-color: #159F4A;*/
        color: rgb(39, 37, 37);
        font-size: 12px;
    }

}


/* Airtel Data Tabs*/
.airteltab-container .nav-tabs .nav-link.active {
    background-color: #ED1B24;
    color: white;
    border: 3px solid white;
}

.airteltab-container .tab-pane.active {
    display: block;
}

.airteltab-container .nav-tabs .nav-link {
    background-color: #F8C203;
    color: black;
    border: 3px solid white;
    margin-right: 2px;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 20px;
}

.airteltab-container .nav-tabs .nav-link:hover {
    background-color: #ED1B24;
    color: white;
}

.tab-content {
    /*background-color: #159F4A;*/
    color: rgb(39, 37, 37);
}

.airteltab-container {
    /*background-color: #F8C203;*/
    margin: auto;
    width: 50%;
    height: auto;
    border: 3px solid #ED1B24;
    padding: 10px;
}

.airteldata {
    border-radius: 15px;
    background: #ED1B24;
}

@media (max-width: 500px) {
    .airteltab-container {
        /*background-color: violet;*/
        width: 100%;
        height: auto;
        border: 2px solid #FFFFFF;
        padding: 10px 5px;
        margin-top: 10px;

    }

    .airteltab-container .nav-tabs .nav-link {
        background-color: #F8C203;
        color: black;
        border: 3px solid white;
        margin-right: 2px;
        padding-left: 2px;
        padding-right: 2px;
        font-size: 11px;
    }

    .airteltab-container {
        /*background-color: #159F4A;*/
        color: rgb(39, 37, 37);
        font-size: 12px;
    }

}

/*Buy Airtime Form*/
.buyairtime-container {
    background: #F8C203;
    border: 5px solid #036CEF;
    border-radius: 30px;
}

/*Bonga Points Form*/
.bonga-container {
    background: #159F4A;
    border: 5px solid #F8C203;
    border-radius: 30px;
    color: white;
}

/*Managing container size on different screen sizes*/
@media (min-width: 768px) {
    .container-small {
        width: 300px;
    }
}

@media (min-width: 992px) {
    .container-small {
        width: 500px;
    }
}

@media (min-width: 1200px) {
    .container-small {
        width: 700px;
    }
}

.container-small {
    max-width: 100%;
    margin: auto;
}

/*Airtime to Mpesa Forms*/
.convertsaf-container {
    background: #159F4A;
    border: 5px solid #F8C203;
    border-radius: 30px;
    color: white;
}

.convertairtel-container {
    background: #ED1B24;
    border: 5px solid #F8C203;
    border-radius: 30px;
    color: white;
}

.converttelkom-container {
    background: #0DAACB;
    border: 5px solid #F8C203;
    border-radius: 30px;
    color: white;
}

/*Form Buttons*/
.Safsubmit {
    background-color: #036CEF;
    font-family: sans-serif;
    text-align: center;
    width: 50%;
    margin: 10px 0px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 1.1em;
    color: white;
    border-radius: 10px;
    border: 2px solid #FFFFFF;

    cursor: pointer;
    outline: none;
}

.Safsubmit:hover {
    background-color: #F8C203;
    color: black;
}

.Safsubmit:active {
    background: #ED1B24;
    color: white;
}

.submitBairtime {
    background-color: #036CEF;
    font-family: sans-serif;
    text-align: center;
    width: 50%;
    margin: 10px 0px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 1.1em;
    color: white;
    border-radius: 10px;
    border: 2px solid #FFFFFF;

    cursor: pointer;
    outline: none;
}

.submitBairtime:hover {
    background-color: #159F4A;
}

.submitBairtime:active {
    background: #ED1B24;
    color: white;
}

.airtelSubmit {
    background-color: #036CEF;
    font-family: sans-serif;
    text-align: center;
    width: 50%;
    margin: 10px 0px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 1.1em;
    color: white;
    border-radius: 10px;
    border: 2px solid #FFFFFF;

    cursor: pointer;
    outline: none;
}

.airtelSubmit:hover {
    background-color: #F8C203;
    color: black;
}

.airtelSubmit:active {
    background: #159F4A;
    color: white;
}