body {
    background-color: #f1f1f1;
}
.modal-backdrop {
    z-index: -1;
}

.red-star {
    font-weight: bolder;
    color: #f00;
}
.page-title {
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    border-left: 1px solid rgba(0, 0, 0, 0.125);
    border-right: 1px solid rgba(0, 0, 0, 0.125);
    text-align: center;
    border-top-left-radius: 1%;
    border-top-right-radius: 1%;
    margin-bottom: 0;
    font-size: 26px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
}
.title-container {
    margin-top: 20px;
}
a {
    color: #cb113f;
}

a:hover {
    color: #cb113f;
    text-decoration: underline;
}

.navbar {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.navbar-default {
    border: none;
}
.navbar-default .navbar-brand, a {
    color: #cb113f;
}
.applicants-header-menu, .public-header-menu {
    background-color: #f8f8f8;
    border-width: 0 0 1px 0;
    margin-bottom: 100px;
}
.applicants-header-menu .navbar, .public-header-menu .navbar {
    margin-bottom: 0;
}
.account .center-block {
    float: none;
}
.account .row-padding,
.applicants .row-padding{
    padding-left: 15px;
    padding-right: 15px;
}
.page-container {
    background-color: #ffffff;
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 70px;
}
.profile textarea {
    height: 185px;
}
.programmes.request .panel-title > a {
    display: block;
    width: 100%;
}
.programmes.request .panel-title > a:hover {
    text-decoration: none;
}
.programmes.request .department-description {
    margin-bottom: 15px;
    padding: 15px;
}

.programmes .display-item {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    height: 200px;
    box-shadow: 3px 3px 14px #ccc;
}
.programmes .display-item:hover {
    box-shadow: 3px 3px 14px #104382;
}
.programmes .item-icon {
    padding: 10px;
}
.programmes .display-item:hover span.fa {
    color: #104382;
}
.item-icon span.fa {
    font-size: 6vw;
    color: #888;
}
.display-item a {
    font-size: 18px;
    font-weight: 600;
}
.display-item:hover a {
    text-decoration: underline;
    color: #104382;
}

.fc-ltr .fc-time-grid .fc-event-container {
    margin: 0;
}
.fc-view, .fc-view>table {
    height: 250px;
    overflow-y: scroll;
}

/* Login/Register/password recover pages */
/*
 * Page: Login & Register
 * ----------------------
 */
.login-logo,
.register-logo {
    font-size: 35px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}
.login-logo a,
.register-logo a {
    color: #444;
}
.login-page,
.register-page {
    background: #d2d6de;
}
.login-box,
.register-box {
    width: 360px;
    margin: 7% auto;
}
.login-box h1 a {
    color: #ffffff;
}
.login-box h1 a:hover {
    color: #cb113f;
    text-decoration: none;
}
@media (max-width: 768px) {
    .login-box,
    .register-box {
        width: 90%;
        margin-top: 20px;
    }
}
.login-box-body,
.register-box-body {
    background: #fff;
    padding: 20px;
    border-top: 0;
    color: #666;
}
.login-box-body .form-control-feedback,
.register-box-body .form-control-feedback {
    color: #777;
}
.login-box-msg,
.register-box-msg {
    margin: 0;
    text-align: center;
    padding: 0 20px 20px 20px;
}

footer {
    background-color: #f8f8f8;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    margin-top: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/*----- Applicant edit */

.public-header-menu ul.nav,.applicants-header-menu ul.nav{
    margin-top: 15px;
}
.public-header-menu ul.nav a:hover, .applicants-header-menu ul.nav a:hover{
    color: #cb113f;
}
.navbar-header .navbar-brand{
    padding: 0px !important;
}
nav.navbar-default.navbar-s5{
    background-color: #ffffff;
    min-height: 84px;
    border-bottom: 1px solid #e7e7e7;
}

.login-box h1, .register-box h1{
    display: inline-block;
    width: 100%;
    background-color: #2e68b1;
    font-size: 1.2em;
    margin: 0px;
    min-height: 50px;
    line-height: 30px;
    padding: 10px 20px;
    color: #ffffff;
}
.login-box a:hover, .register-box a:hover{
    color: #cb113f;
}

button.btn-s5-red::before{
    border-right: 15px solid #cb113f;
    width: 0;
    height: 0;
    border-top: 40px solid #fff;
    float: left;
    content: "";
    left: -20px;
    top: 0;
}

button.btn-s5-red::after{
    border-left: 15px solid #cb113f;
    width: 0;
    height: 0;
    border-bottom: 40px solid #fff;
    float: right;
    content: "";
    right: 0px;
    top: 0;
    bottom: 0;
    position: absolute;
}

.btn-s5-red{
    background-color: #cb113f;
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 0px;
    line-height: 40px;
    position: relative;
    display: inline-block;
    font-size: 1.2em;
    text-align: center;
}

.btn-s5-red-md{
    background-color: #cb113f;
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 0px 20px 0 10px;
    line-height: 35px;
    position: relative;
    display: inline-block;
    font-size: 0.95em;
    text-align: center;
}

.btn-s5-red-md:hover{
    background-color: #ae0831;
}

button.btn-s5-red-md::after, a.btn-s5-red-md::after {
    border-left: 10px solid #cb113f;
    width: 0;
    height: 0;
    border-bottom: 35px solid #fff;
    float: right;
    content: "";
    right: 4px;
    top: 0;
    bottom: 0;
    position: absolute;
}

button.btn-s5-red-md::before, a.btn-s5-red-md::before{
    border-right: 10px solid #cb113f;
    width: 0;
    height: 0;
    border-top: 35px solid #fff;
    float: left;
    content: "";
    left: -7px;
    top: 0;
    position: absolute;
}

button.btn-s5-red-md:hover::before, a.btn-s5-red-md:hover::before{
    border-right: 10px solid #ae0831;
}

button.btn-s5-red-md:hover::after, a.btn-s5-red-md:hover::after{
    border-left: 10px solid #ae0831;
}

.btn-s5-blue{
    background-color: #2e68b1;
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 0px;
    line-height: 40px;
    position: relative;
    display: inline-block;
    font-size: 1.2em;
    text-align: center;
}

button.btn-s5-blue::before, a.btn-s5-blue::before{
    border-right: 15px solid #2e68b1;
    width: 0;
    height: 0;
    border-top: 40px solid #fff;
    float: left;
    content: "";
    left: -20px;
    top: 0;
}

button.btn-s5-blue::after, a.btn-s5-blue::after {
    border-left: 15px solid #2e68b1;
    width: 0;
    height: 0;
    border-bottom: 40px solid #fff;
    float: right;
    content: "";
    right: 0px;
    top: 0;
    bottom: 0;
    position: absolute;
}
.btn-s5-blue-md{
    background-color: #2e68b1;
    color: white !important;
    text-decoration: none;
    border: none;
    padding: 0px 5px;
    line-height: 35px;
    position: relative;
    display: inline-block;
    font-size: 0.95em;
    text-align: center;
}

.btn-s5-blue-md:hover{
    background-color: #104382;
}

button.btn-s5-blue-md::after, a.btn-s5-blue-md::after {
    border-left: 10px solid #2e68b1;
    width: 0;
    height: 0;
    border-bottom: 35px solid #fff;
    float: right;
    content: "";
    right: -7px;
    top: 0;
    bottom: 0;
    position: absolute;
}

button.btn-s5-blue-md::before, a.btn-s5-blue-md::before{
    border-right: 10px solid #2e68b1;
    width: 0;
    height: 0;
    border-top: 35px solid #fff;
    float: left;
    content: "";
    left: -7px;
    top: 0;
    position: absolute;
}

button.btn-s5-blue-md:hover::before, a.btn-s5-blue-md:hover::before{
    border-right: 10px solid #104382;
}

button.btn-s5-blue-md:hover::after, a.btn-s5-blue-md:hover::after{
    border-left: 10px solid #104382;
}

.btn-s5-full-width{
    width: 100%;
}
.applicants-header-menu{
    border-bottom: 1px solid #dddddd;
}
.wrapper{
    display: block;
    width: 100%;
    background-color: #f1f1f1;
}


/*  bhoechie tab */

div.bhoechie-tab-container{
    /*z-index: 10;*/
    background-color: #ffffff;
    padding: 0 0 20px 0 !important;
    border-radius: 0px;
    -moz-border-radius: 4px;
    border-left:1px solid #ddd;
    border-right:1px solid #ddd;
    border-bottom:1px solid #ddd;
    margin: 0px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-clip: padding-box;
    opacity: 0.97;
    filter: alpha(opacity=97);
    min-height: 100% !important;
    display: block;
}
div.bhoechie-tab-menu{
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}
.bhoechie-tab-menu h1{
    background-color: #104382;
    color: #ffffff;
}
.bhoechie-tab-menu .list-group-item{
    border-bottom: none;
    border-left: none;
}
.bhoechie-tab-menu .list-group-item:last-child {
    border-bottom: 1px solid #dddddd;
}
.bhoechie-tab-menu .list-group-item:first-child, .bhoechie-tab-menu .list-group-item:last-child{
    border-radius: 0px;
}
.bhoechie-tab table tr td:last-child{
    text-align: center;
}
div.bhoechie-tab-menu div.list-group{
    margin-bottom: 0;
}
div.bhoechie-tab-menu div.list-group>a{
    margin-bottom: 0;
}
div.bhoechie-tab-menu div.list-group>a .glyphicon,
div.bhoechie-tab-menu div.list-group>a .fa {
    color: #2e68b1;
}
div.bhoechie-tab-menu div.list-group>a:first-child{
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}
div.bhoechie-tab-menu div.list-group>a:last-child{
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}
div.bhoechie-tab-menu div.list-group>a.active,
div.bhoechie-tab-menu div.list-group>a.active .glyphicon,
div.bhoechie-tab-menu div.list-group>a.active .fa{
    background-color: #2e68b1;
    /*background-image: #2e68b1;*/
    color: #ffffff;
}
div.bhoechie-tab-menu div.list-group>a.active:after{
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #2e68b1;
}

div.bhoechie-tab-content{
    background-color: #ffffff;
    /* border: 1px solid #eeeeee; */
    padding-left: 20px;
    padding-top: 10px;
}
.bhoechie-tab-content form{
    margin-bottom: 20px;
}

div.bhoechie-tab div.bhoechie-tab-content:not(.active){
    display: none;
}
.bhoechie-tab{
    border-left: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    min-height: 100% !important;
    display: block;
    margin-bottom: 20px;
}

[type=file] {
    position: absolute;
    filter: alpha(opacity=0);
    opacity: 0;
}
input,
[type=file] + label {
    border-radius: 3px;
    text-align: left;
    padding: 7px 10px;
    width: auto;
    margin: 0;
    left: 0;
    position: relative;
}
[type=file] + label {
    text-align: center;
    left: 0;
    top: 0;
    /* Decorative */
    background: #2e68b1;
    color: #fff;
    border: none;
    cursor: pointer;
    webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-appearance: none;
    outline: none;
}
[type=file] + label:hover {
    background: #104382;
}
[type=file] + label::before{
    border-right: 10px solid #2e68b1;
    width: 0;
    height: 0;
    border-top: 34px solid #fff;
    float: left;
    content: "";
    left: -7px;
    top: 0;
    position: absolute;
    webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-appearance: none;
}
[type=file] + label:hover::before{
    border-right: 10px solid #104382;
}

[type=file] + label::after{
    border-left: 10px solid #2e68b1;
    width: 0;
    height: 0;
    border-bottom: 34px solid #fff;
    float: right;
    content: "";
    right: -7px;
    top: 0;
    bottom: 0;
    position: absolute;
    webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-appearance: none;
}

[type=file] + label:hover::after{
    border-left: 10px solid #104382;
}
.applicants.profile .padding-left{
    padding-left: 23px;
}
.checkbox.term_agree{
    margin-top: 10px;
}

.profile .checkbox label{
    margin-left: 0;
    padding-left: 0;
}

.block{
    margin-right: 0.8em;
    margin-bottom: 1em;
    padding: 1.5em 1.5em;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
}

.block:hover{
    background: #3c3c3c;
}

.block-blue{
    background: #2e68b1;
}
.block-red{
    background: #cb113f;
}
.block-left {
    padding: 0;
}

.block-left h3 {
    color: #fff;
    font-size: 1.9em;
    margin-top: 0;
}
.block-left h4 {
    font-size: 1em;
    color: #fff;
    margin: 0.3em 0;
}

.block-left p {
    color: #fff;
    font-size: 0.8em;
    line-height: 1.8em;
}

.block-right i.fa.fa-eye {
    font-size: 3em;
    width: 80px;
    height: 80px;
    background: #fff;
    text-align: center;
    border-radius: 49px;
    -webkit-border-radius: 49px;
    -moz-border-radius: 49px;
    -o-border-radius: 49px;
    line-height: 1.7em;
    font-weight: 400;
    margin: auto;
}

.block-blue i.fa.fa-eye{
    color: #2e68b1;
}

.block-red i.fa.fa-eye{
    color: #cb113f;
}

.programmes h1, .page-template_terms_template h1{
    display: block;
    background: #2e68b1;
    margin: 0;
    padding: 20px;
    color: #FFFFFF;
    font-size: 1.7em;
}
.modal-header{
    background: #2e68b1;
}
.modal-header h4{
    color: #ffffff;
}
.page-template_terms_template p{
    text-align: justify;
}
.page-template_terms_template h3{
    font-size: 18px;
    display: block;
    color: #cb113f ;
}

@media (max-width: 768px) {
    a.navbar-brand img{
        max-width: 170px;
    }
    .bhoechie-tab{
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    .bhoechie-tab-content{
        padding-left: 5px !important;
        padding-top: 5px !important;
    }
    .bhoechie-tab-menu h1{
        font-size: 1em;
    }
    .wrapper{
        margin-top: 28px;
        border-top: 1px solid #dddddd;
    }
    .profile .padding-left{
        margin-top: 20px;
    }
}