.bg {
    height: 100%;
    /* The image used */
    /* Full height */
    height: 100%;
    /*  background: url("images/nfemisbg1.jpg") fixed;*/
    /* Center and scale the image nicely background colour changed from here*/
    background-repeat: no-repeat;
    background-size: cover;
    background-color: white
}
/* Commented by Azhar */
/*
div.container {
    width: 100%;
    border: 1px solid gray;
}

header, footer {
    padding: 1em;
    color: white;
    background-color: dodgerblue;
    clear: left;
    text-align: center;
}
*/
/* Commented by Azhar */
/*
nav {
    float: left;
    max-width: 460px;
    margin: 0;
    padding: 1em;
}

    nav ul {
        list-style-type: none;
        padding: 0;
    }

        nav ul a {
            text-decoration: none;
        }
    */
/*
article {
    margin-left: 470px;
    border-left: 1px solid gray;
    padding: 1em;
    overflow: hidden;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}

th, td {
    padding: 5px;
    text-align: left;
}
    */
.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px; /* Adjusts for spacing */
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}



/**************************************
link & button
**************************************/
.white {
    color: #fff !important;
}

h1.cta-title {
    font-size: 43px;
}

h1 {
    font-size: 36px;
}
/**************************************
Header
**************************************/
.section-padding {
    padding: 40px 0px;
}

.navbar-header {
    padding: 5px 0;
    max-width: 274px;
}

@media (min-width: 768px) {
    .navbar-header {
        max-width: 274px;
    }
}

.main-navigation {
    border-bottom: 0;
    -webkit-box-shadow: 1px 1px 1px 2px rgba(3,3,3,0.05);
    box-shadow: 1px 1px 1px 2px rgba(3,3,3,0.05);
}

.navbar-default {
    background-color: #006565;
    border-color: #008080;
    padding: 5px 0;
    border: 0;
}

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
        color: #ffffff;
        background-color: #008080;
    }





.navbar {
    min-height: inherit;
    margin-bottom: 0px;
}

.navbar-brand {
    height: inherit;
    background-image: url('../images/logo-nfemis-home.jpg');
    padding: 5px;
    margin-top: 5px;
}

.navbar-default .navbar-brand {
    color: #e43c5c;
}

.navbar-default .navbar-nav > li > a {
    color: #ffffff;
    font-weight: 400;
    padding: 23px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
}

    .navbar-default .navbar-nav > li > a:after {
        content: "\f107";
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
        position: absolute;
        left: 50%;
        bottom: 5px;
        margin-left: -6px;
        display: none;
    }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
        /*background: #E74C3C !important;*/
        /*color: #fff !important;*/
        color: #ffffff !important;
        background-color: #008080 !important;
        outline: none;
    }

        .navbar-default .navbar-nav > .active > a::after, .navbar-default .navbar-nav > li > a:hover::after, .navbar-default .navbar-nav > li > a:focus:after {
            display: block;
        }

.nav > li > a {
    padding: 0px;
}

.jumbotron {
    background-color: transparent;
    padding-top: 90px;
}

    .jumbotron p.big {
        line-height: 21px;
        border-width: 0px;
        margin: 0px;
        padding: 0px;
        letter-spacing: 2px;
        font-size: 12px;
        color: #fff;
        font-weight: 300;
        color: #ffffff;
        -webkit-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
        -moz-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
        -ms-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
        padding-top: 10px;
    }

a.btn-banner {
    border: 0;
    background: #ed6500;
    padding: 12px 22px;
    line-height: 0px;
    border-radius: 3px;
    font-weight: 400;
    text-transform: capitalize;
    color: #ffffff;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 25px;
    border-radius: 3px;
}

    a.btn-banner i {
        padding-left: 10px;
    }

    a.btn-banner:hover, a.btn-banner:focus {
        background-color: #1a73e8;
        color: #fff;
    }

.bold {
    font-weight: bold;
}

.bor-btm {
    width: 100px;
    height: 1px;
    background-color: #ddd;
    margin-bottom: 85px;
}

.jumbotron h1.small {
    line-height: 1.2;
    border-width: 0px;
    margin: 0px;
    padding: 0px;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
    -webkit-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
    -moz-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
    -ms-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.container .jumbotron, .container-fluid .jumbotron {
    padding-right: 60px;
    padding-left: 0px;
}

.bgblue-dark {
    background-color: #2C3E50;
}

.bgblue-light {
    background-color: #3498DB;
}

.bgred {
    background-color: #E74C3C;
}

.wrk-title {
    cursor: pointer;
}

.cta-1, .cta2 {
    background-color: #e43c5c;
    padding: 40px 0px;
}

p.cta-sub-title {
    font-size: 28px;
}

.pg-titl-bdr-btm {
    width: 100px;
    height: 3px;
    background-color: #e43c5c;
}

.service-box {
    margin: 0 0 60px;
    display: inline-block;
}

    .service-box .service-icon {
        width: 75px;
        height: 75px;
        border-radius: 50px;
        overflow: hidden;
        border: 1px solid #e9e9e9;
        line-height: 75px;
        text-align: center;
        color: #e43c5c;
        font-size: 30px;
        margin-right: 23px;
        float: left;
        -webkit-transition: all 0.5s ease 0s;
        -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
        transition: all 0.5s ease 0s;
    }

    .service-box .service-text {
        width: 70%;
        float: left;
        margin-bottom: 20px;
    }

        .service-box .service-text h3 {
            margin: 0 0 20px 0;
            padding: 0 0 0 0;
            font-size: 18px;
            line-height: 24px;
            color: #333333;
            font-weight: 400;
            -webkit-transition: all 0.5s ease 0s;
            -moz-transition: all 0.5s ease 0s;
            -ms-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;
        }

.page-title {
    margin-bottom: 40px;
}



.fil-btn .active {
    background-color: #e43c5c;
}

.img-sec, .fig-caption {
    width: 50%;
    float: left;
}

.team-info {
    border: 1px solid rgba(204, 204, 204, 0.33);
    float: left;
    width: 100%;
    border-radius: 3px;
}

.fig-caption {
    padding: 56px 20px 0px;
}

    .fig-caption h3 {
        font-size: 20px;
        font-family: 'Josefin Slab', serif;
    }

    .fig-caption p {
        font-size: 14px;
    }

.team-social li {
    display: inline-block;
}

.team-social li {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

    .team-social li a {
        color: #fff;
    }

.blue-light {
    background-color: #3498DB;
}

.blue-dark {
    background-color: #2C3E50;
}

.red {
    background-color: #E74C3C;
}

.marb-20 {
    margin-bottom: 20px;
}

.wd75 {
    width: 75%;
    float: left;
}

.cta2 a {
    margin-top: 5px;
}

.fnt-24 {
    font-size: 24px;
}

/* Portfolio */
#portfolio {
    background: #fff;
    padding: 80px 0;
}

    #portfolio #portfolio-wrapper {
        padding-right: 15px;
    }

    #portfolio #portfolio-flters {
        padding: 0;
        margin: 0 0 45px 0;
        list-style: none;
        text-align: center;
    }

        #portfolio #portfolio-flters li {
            cursor: pointer;
            margin: 0 10px;
            display: inline-block;
            padding: 10px 22px;
            font-size: 12px;
            line-height: 20px;
            color: #666666;
            border-radius: 4px;
            text-transform: uppercase;
            background: #f7f7f7;
            margin-bottom: 5px;
            transition: all 0.3s ease-in-out;
        }

            #portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active {
                background: #E43C5C;
                color: #fff;
            }

    #portfolio .portfolio-item {
        position: relative;
        height: 200px;
        overflow: hidden !important;
        margin-bottom: 15px;
        transition: all 350ms ease;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

        #portfolio .portfolio-item a {
            display: block;
            margin-right: 15px;
        }

        #portfolio .portfolio-item img {
            position: relative;
            top: 0;
            transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        #portfolio .portfolio-item .details {
            height: 50px;
            background: #E43C5C;
            position: absolute;
            width: 100%;
            height: 50px;
            bottom: -50px;
            transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
        }

            #portfolio .portfolio-item .details h4 {
                font-size: 14px;
                font-weight: 700;
                color: #fff;
                padding: 8px 0 2px 8px;
                margin: 0;
            }

            #portfolio .portfolio-item .details span {
                display: block;
                color: #fff;
                font-size: 13px;
                padding-left: 8px;
            }

        #portfolio .portfolio-item:hover .details {
            bottom: 0;
        }

        #portfolio .portfolio-item:hover img {
            top: -30px;
        }

/* Contact Form */
.text-field-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 40px;
    height: 60px;
    line-height: 60px;
    text-align: left;
    color: #666;
    font-size: 14px;
    padding: 0 35px;
    margin-bottom: 30px;
    width: 100%;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-sec textarea {
    height: 220px;
}

.validation {
    color: red;
    display: none;
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 13px;
}

#sendmessage {
    color: green;
    border: 1px solid green;
    display: none;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#errormessage {
    color: red;
    display: none;
    border: 1px solid red;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

    #sendmessage.show, #errormessage.show, .show {
        display: block;
    }

.button-medium {
    background: #e43c5c;
    border-radius: 40px;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 400;
    height: 48px;
    line-height: 48px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    width: 200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #e43c5c;
    box-shadow: none;
    outline: none;
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}

.footer {
    background-color: #040E18;
}

    .footer h3 {
        color: #fff;
        padding-bottom: 30px;
    }

.footer_social ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

    .footer_social ul li {
        margin: 2px;
        display: inline-block;
    }

        .footer_social ul li a {
            background: #2e3537 none repeat scroll 0 0;
            border: 1px solid #2e3537;
            box-shadow: 0 0 0 7px transparent;
            color: #aaa;
            display: block;
            font-size: 14px;
            height: 40px;
            line-height: 21px;
            padding: 9px 13px;
            -webkit-transition: all 0.4s ease 0s;
            transition: all 0.4s ease 0s;
            width: 40px;
        }

.footer-bottom {
    background: #09121B;
    padding: 20px 0;
}

.footer_copyright {
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
}

    .footer_copyright a {
        color: #e43c5c;
    }

#banner {
    /*background: url('../images/slider-img1.png') no-repeat;
    background-size: cover;
    min-height: 400px;*/
    padding-top: 96px;
    position: relative;
}

.carousel-indicators {
    z-index: 999;
}

#banner .container {
    position: relative;
}

#banner:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.form-holder {
    position: absolute;
    right: 0;
    top: 25px;
    z-index: 999;
}

.carousel-inner > .item {
    z-index: 9;
}

    .carousel-inner > .item img {
        display: block;
        width: 100%;
        height: auto;
    }

.caption {
    position: relative;
    z-index: 9999;
}

.login-box-body, .register-box-body {
    padding: 0 30px 30px !important;
}

.login-box, .register-box {
    margin-top: 70px !important;
}

.cta2 .btn-default, .cta2 .btn-default:hover, .cta2 .btn-default:focus {
    padding: 10px 25px;
    background-color: #fff;
    border: 0px;
}

.login-box, .register-box {
    background: rgba(233, 233, 233, 0.95);
}

    .login-box .form-control, .register-box .form-control {
        background-color: transparent !important;
        border: 0;
        border-bottom: 1px solid #c1c0c0;
    }

.btn-primary {
    background-color: #006565 !important;
    border-radius: 5px !important;
    border-color: #006565 !important;
}

    .btn-primary:hover {
        background-color: #008080 !important;
        border-color: #008080 !important;
    }

.btn-orange {
    background: #ffffff !important;
    border-color: #006565 !important;
    color: #006565 !important;
}

    .btn-orange:hover, .btn-orange:focus {
        background-color: #f2f4f6 !important;
        border-color: #008080 !important;
        color: #006565 !important;
    }

.mb-1 {
    margin-bottom: 10px;
}

.carousel-indicators li {
    background: #c75c0b;
    border-color: #c75c0b;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    margin: 0 5px;
    opacity: 0.8;
}

.carousel-indicators .active {
    background: #c75c0b;
    border-color: #fff;
    opacity: 1;
    width: 25px;
    height: 25px;
}

.box-section {
    /*background: #efefef;*/
    padding: 10px 0;
}

    .box-section .row {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 30px 0;
    }

    .box-section .map-row {
        margin-top: 20px;
    }

    .box-section .col {
        /*background: #efefef;*/
        padding-top: 15px;
        padding-bottom: 15px;
    }

.box-a {
    border: 1px solid #cd1a57;
    padding: 20px;
    overflow: hidden;
    color: #cd1a57;
}

    .box-a.schools {
        color: #cd1a57;
        border-color: #cd1a57;
    }

    .box-a.learners {
        color: #00a5ba;
        border-color: #00a5ba;
    }

    .box-a.teachers {
        color: #7aab41;
        border-color: #7aab41;
    }

    .box-a.organizations {
        color: #ed6500;
        border-color: #ed6500;
    }

    .box-a img {
        float: left;
        margin-right: 10px;
    }

    .box-a .title {
        display: block;
        line-height: 1;
    }

.report-section {
    text-align: center;
}

    .report-section .title {
        font-size: 16px;
        display: block;
        margin: 0 0 5px;
    }

    .report-section .count {
        margin: 0 0 25px;
    }

    .report-section .number {
        width: 135px;
        display: block;
        padding: 10px;
        margin: 0 auto;
        color: #fff;
        background: #25ada2;
        font-size: 22px;
    }

    .report-section .area .number {
        background: #25ada2;
    }

    .report-section .org .number {
        background: #e2ce7d;
    }

    .report-section .dist .number {
        background: #16325c;
    }

    .report-section .schools .number {
        background: #e69f00;
    }

.sect-block {
    padding: 1px 0 0;
}

    .sect-block img {
        margin: 0 auto;
    }

    .sect-block h2 {
        color: #183460;
        border-bottom: 1px solid #006565;
        padding-bottom: 10px;
        font-size: 26px;
    }

    .sect-block p {
        margin-bottom: 25px;
    }

.box-a .number {
    display: block;
    font-size: 28px;
}

.box-a .txt-holder {
    overflow: hidden;
    text-align: left;
}

#footer {
    background: #006565;
    padding: 10px 0;
    color: #fff;
    margin: 25px 0 0;
}

    #footer a {
        color: #fff;
    }

.social-networks {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    font-size: 18px;
}

    .social-networks li {
        display: inline-block;
        vertical-align: top;
        margin: 0 0 0 5px;
    }
/** media queries**/
@media (min-width: 480px) and (max-width: 1023px) {
    .img-sec, .fig-caption {
        width: 100%;
        float: left;
    }

    .fig-caption {
        padding: 56px 20px 20px;
    }
}

@media (min-width: 451px) and (max-width: 768px) {
    .filter {
        padding: 5px 18px;
        margin-bottom: 3px;
    }

    .wd75 {
        width: 100%;
    }

    .fig-caption {
        padding: 56px 20px 20px;
    }
}

@media (min-width: 301px) and (max-width: 450px) {
    .filter {
        padding: 3px 14px;
        margin-bottom: 3px;
    }

    .jumbotron {
        padding-right: 30px;
        padding-left: 30px;
    }

    .fig-caption {
        padding: 13px 20px 0px;
    }

    .team-social li {
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
    }

    .fig-caption h3 {
        font-size: 19px;
        font-family: 'Josefin Slab', serif;
    }

    .wd75 {
        width: 100%;
    }

    .service-box .service-text h3 {
        padding-top: 15px;
    }

    .jumbotron h1.small {
        font-size: 44px;
    }

    h1.cta-title {
        font-size: 30px;
    }

    p.cta-sub-title {
        font-size: 20px;
    }

    .button-medium {
        font-size: 15px;
        height: 40px;
        line-height: 40px;
        width: 150px;
    }

    .jumbotron {
        padding: 90px 0px 0px 20px !important;
    }
}

.footer_copyright a {
    text-decoration: none;
}

@media (min-width: 100px) and (max-width: 300px) {
    .filter {
        padding: 3px 14px;
        margin-bottom: 3px;
    }

    .img-sec, .fig-caption {
        width: 100%;
        float: left;
    }

    .fig-caption {
        padding: 56px 20px 20px;
    }

    .jumbotron h1.small {
        font-size: 44px;
    }

    h1.cta-title {
        font-size: 30px;
    }

    p.cta-sub-title {
        font-size: 20px;
    }

    .button-medium {
        font-size: 15px;
        height: 40px;
        line-height: 40px;
        width: 150px;
    }

    .jumbotron {
        padding: 90px 0px 0px 20px !important;
    }

    .service-box .service-text h3 {
        padding-top: 15px;
    }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > li > a {
        text-align: center;
    }
}

@media (min-width: 300px) and (max-width: 768px) {
    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > li > a {
        text-align: center;
        border: 0px;
    }

        .navbar-default .navbar-nav > li > a:hover {
            border: 0px;
        }
}

.map-row img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.map {
    position: absolute;
    z-index: 999;
    font-weight: bold;
    font-size: 14px;
}

    .map.m {
        color: #00AFEE;
    }

        .map.m.p {
            bottom: 350px;
            right: 240px;
        }

        .map.m.s {
            bottom: 170px;
            right: 340px;
        }

        .map.m.a {
            bottom: 493px;
            right: 100px;
        }

        .map.m.g {
            bottom: 775px;
            right: 100px;
        }

        .map.m.k {
            bottom: 675px;
            left: 520px;
        }

        .map.m.i {
            bottom: 615px;
            left: 205px;
        }
        .map.m.b {
            bottom: 440px;
            left: 305px;
        }

    .map.f {
        color: #E6116E;
    }

        .map.f.p {
            bottom: 300px;
            right: 240px;
        }

        .map.f.s {
            bottom: 120px;
            right: 340px;
        }

        .map.f.a {
            bottom: 447px;
            right: 100px;
        }

        .map.f.g {
            bottom: 725px;
            right: 100px;
        }

        .map.f.k {
            bottom: 625px;
            left: 520px;
        }

        .map.f.i {
            bottom: 565px;
            left: 205px;
        }
        .map.f.b {
            bottom: 390px;
            left: 305px;
        }

/**************************************
form element
**************************************/


