﻿h2 {
    margin-bottom: 20px;
}

.navbar {
    border-radius: 0 !important;
    min-height: 78px;
}
.navbar-brand {
    padding: 0 15px !important;
}

.navbar-inverse {
    /*background-color: rgba(0, 0, 0, 0.5) !important;*/
    position: absolute !important;
    top: 0 !important;
    width: 100%;
    z-index: 10;
}

.banner {
    position: relative;
    padding: 0;
    margin: 0;
}
.banner .carousel {
    background-color: #2c2c2c;
}
.banner .carousel-inner {
    height: auto;
}

.banner .carousel-inner > .item {
    background-position: center -80px;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image: url('../Images/Banner-IMG.jpg');*/
    height: auto;
    max-height: 650px;
    width: 100%;
}

.banner .carousel-caption {
    bottom: 30% !important;
    background: rgba(0, 0, 0, 0.3) none repeat scroll 0 0;
    padding-left: 5%;
    padding-right: 5%;
}

.carousel-caption a ,.carousel-caption a:hover{
    color: #fff;
}

.banner-down-arrow {
    background-color: #e74c3c;
    border-radius: 33px;
    color: #ffffff;
    display: inline-block;
    font-size: 30px;
    margin-top: -30px;
    padding: 8px 20px;
    position: relative;
}

    .banner-down-arrow i {
        display: inline-block;
        line-height: 12px;
        color: #fff;
    }

.section-bg {
    background: url("../Images/Why-Join-bg.jpg") no-repeat scroll center center / cover rgba(0, 0, 0, 0.57);
    /*background-blend-mode: darken;
    opacity: 0.8;*/
    color: #fff;
    padding: 60px 0;
}

    /*.section-bg:not(*:root) {
        background-blend-mode: darken;
    }*/

#What-Baifa a/*, .OAresouces a*/ {
    /*color: #d9534f;*/
}
.OAresouces h4 {
    font-size: 17px;
}
#Why-Join .icon-md {
    background-color: #3f8863;
    font-size: 30px;
    height: 50px;
    line-height: 50px;
    width: 50px;
}

#Why-Join .media {
    margin-bottom: 20px;
}

#Why-Join .media-body p {
    line-height: 23px;
    margin-left: 10px;
    margin-top: 10px;
}

.ElsevierSide h4 {
    border: medium none !important;
    margin-left: 10px;
    margin-top: 20px;
    padding-bottom: 0 !important;
}
.ElsevierSide img {
    width: 75px;
}
.Elsevier {
    background: rgba(0, 0, 0, 0) url("../Images/Elsevier-BG.png") no-repeat scroll center center / 70% auto;
    height: 254px;
    padding: 86px 53px;
}

    .Elsevier img {
        margin-right: 20px;
        width: 75px;
    }

    .Elsevier > h3 {
        margin-top: 15px;
        font-size: 1.5em;
    }

    .Elsevier a {
        color: #E74C3C;
        text-decoration: underline;
    }

#BA-Programs, #bottom {
    padding: 60px 0;
    /*border-top: 7px solid #f5f5f5;*/
}

.partners {
    background-color: #414141;
    padding: 30px 20px;
}

    .partners img {
        display: inline;
        /*margin: 0 15px;*/
        text-align: center;
    }

ul.arrow li {
    margin-bottom: 5px;
}

#Baifa-Resourses {
    background-color: #f2f2f2;
    padding: 40px 0 60px;
}

    #Baifa-Resourses .icon-md {
        margin-bottom: 10px;
        margin-top: 20px;
    }

#Baifa-Resourses .icon-md:hover {
    /*background-blend-mode: difference;*/
    border-radius: 10px;
    background-color: #e74c3c;
}

.Categories .icon-md {
    font-size: 16px;
    line-height: 15px;
}

/*#Baifa-Resourses .icon-md:hover:not(*:root) {
    background-blend-mode: difference;
}*/

.icon-md.Health {
    background: url('../Images/Resources-Health.png') no-repeat center center #e2e2e2;
}

.icon-md.Culture {
    background: url('../Images/Resources-Culture.png') no-repeat center center #e2e2e2;
}

.icon-md.Decenteralization {
    background: url('../Images/Resources-Decenteralization.png') no-repeat center center #e2e2e2;
}

.icon-md.Gender {
    background: url('../Images/Resources-Gender.png') no-repeat center center #e2e2e2;
}

.icon-md.Knowledge {
    background: url('../Images/Resources-Knowledge.png') no-repeat center center #e2e2e2;
}

.icon-md.Economic {
    background: url('../Images/Resources-Economic.png') no-repeat center center #e2e2e2;
}
.icon-md.Health:hover {
    background: url('../Images/Resources-Health_b.png') no-repeat center center #e74c3c !important;
}

.icon-md.Culture:hover {
    background: url('../Images/Resources-Culture_b.png') no-repeat center center #e74c3c !important;
}

.icon-md.Decenteralization:hover {
    background: url('../Images/Resources-Decenteralization_b.png') no-repeat center center #e74c3c !important;
}

.icon-md.Gender:hover {
    background: url('../Images/Resources-Gender_b.png') no-repeat center center #e74c3c !important;
}

.icon-md.Knowledge:hover {
    background: url('../Images/Resources-Knowledge_b.png') no-repeat center center #e74c3c !important;
}

.icon-md.Economic:hover {
    background: url('../Images/Resources-Economic_b.png') no-repeat center center #e74c3c !important;
}
.nav-margin {
    margin-top: 150px;
    margin-bottom: 60px;
    min-height: 400px;
}

    .nav-margin h3 {
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.item {
    margin-bottom: 20px;
}

.desc .title {
    margin-top: 0;
}

.form-inline .radio label, .form-inline .checkbox label {
    padding-left: 8px !important;
}

.carousel-indicators {
    bottom: 10% !important;
}

.radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] {
    margin-left: 0 !important;
}

.Logo-text {
    font-size: 15px;
}

@font-face {
    font-family: 'OpenSans-Light';
    src: url('Fonts/OpenSans-Light.eot');
    src: local('☺'), url('Fonts/OpenSans-Light.woff') format('woff'), url('Fonts/OpenSans-Light.ttf') format('truetype'), url('Fonts/OpenSans-Light.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

.carousel-caption h1 {
    font-family: 'OpenSans-Light';
    text-transform: uppercase;
}

    .carousel-caption h1 small {
        color: papayawhip;
        text-transform: none;
    }
.Category .Cat-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.Category a, .TitleDoc {
    color: #d9534f;
}

.sub-cat {
    background-color: linen;
    border-radius: 5px;
    float: left;
    margin-bottom: 6px;
    margin-right: 5px;
    padding: 5px 8px;
}

.img-wrapper {
    display: block;
    height: 150px;
    overflow-y: hidden;
    margin-top: 20px;
}
.carousel-caption strong {
    line-height: 1.25em;
}
@media (min-width:768px) {
    .img-margin {
        margin-top: 15px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .banner .carousel-inner {
        height: auto;
    }
    .banner .carousel-inner .item {
        height: auto;
    }
    .banner .carousel-caption {
        bottom: 28% !important;
    }

    .carousel-caption h1 {
        font-size: 1.9em !important;
    }

    .Elsevier {
        background: rgba(0, 0, 0, 0) url("../Images/Elsevier-BG.png") no-repeat scroll center center / 90% auto;
        height: 254px;
        padding: 88px 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .banner .carousel-inner {
        height: auto !important;
    }

    .banner .carousel-inner > .item {
        height: auto !important;
    }

    .banner .carousel-caption {
        bottom: 21% !important;
    }

    .carousel-caption h1 {
        font-size: 1.5em !important;
    }

    .navbar-brand small {
        font-size: 35% !important;
        line-height: 1.2em !important;
        margin-top: 20px !important;
        width: 140px !important;
    }

    .container {
        width: 100% !important;
    }

    .navbar-inverse .navbar-nav > li > a {
        padding: 7px 6px;
    }

    .Elsevier {
        background: #f0f0f0 url("../Images/Elsevier-BG.png") no-repeat scroll center center / 88% auto;
        border: 2px solid lightgray;
        border-radius: 28px;
        height: 254px;
        padding: 89px 17px;
    }

        .Elsevier > h3 {
            font-size: 1.18em;
        }
}

@media (max-width: 767px) {
    .form-inline .radio label, .form-inline .checkbox label {
        padding-left: 20px !important;
    }
    .carousel {
        padding-bottom: 20px;
    }
    .banner .carousel-inner {
        height: auto !important;
    }

        .banner .carousel-inner .item {
            height: auto !important;
            margin-bottom: 0 !important;
        }

    .nav-margin {
        margin-top: 90px;
    }

    .navbar-inverse .navbar-nav {
        margin-top: 45px !important;
    }

    .popup-SearchBTN {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        position: fixed !important;
        right: 70px;
        top: 7px;
    }

    .navbar-toggle {
        background-color: rgba(0, 0, 0, 0.2) !important;
    }

    .carousel-caption h1 {
        font-size: 1.5em;
    }

    .banner .carousel-caption {
        bottom: auto !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        background: transparent !important;
        padding: 10px 20px !important;
    }

    .carousel-caption p {
        line-height: 1.7;
        margin: 0;
    }
        .carousel-indicators {
        bottom: auto !important;
        position: relative !important;
    }

    .navbar-brand small {
        font-size: 35% !important;
        line-height: 1.2em !important;
        margin-top: 8px !important;
        width: 140px !important;
    }

    .media {
        min-height: 210px;
    }

    .navbar-inverse.wet-asphalt {
        background-color: rgba(0, 0, 0, 0.9) !important;
        z-index: 100;
    }

    .Elsevier {
        background: none;
        height: auto;
        background-color: #f0f0f0;
        display: block;
        margin-top: 25px;
        min-height: 100px;
        padding: 14px;
    }

    #Baifa-Resourses {
        padding: 10px 0;
    }

    #BA-Programs {
        padding: 10px 0 25px;
    }

    .section-bg {
        padding: 10px 0;
    }

    #OnlineCourses {
        padding: 10px 0 20px;
    }

    #bottom {
        padding: 20px 0 25px;
    }
    .gap {
        margin-bottom: 20px;
    }
    .navbar-inverse {
        position: relative !important;
        margin-bottom: 0 !important;
    }
    .carousel-control {
        top: -55% !important;
        display: none;
    }

    #Baifa-Resourses .media-heading {
        min-height: 70px;
    }
}

@media(max-width:500px) {
    .partners img {
        /*max-height: 43px;*/
    }
}

@media (max-width:400px) {
    .navbar-brand small {
        width: 70px !important;
    }

    .navbar-brand {
        height: auto !important;
    }

    .navbar-inverse .navbar-nav {
        margin-top: 15px !important;
    }
}
/*=========== shaimaa ============*/
.HomeTitle {
    background-color: #65a082;
    color: white;
    padding: 15px;
}

.shadedBox {
    background-color: #efefef;
    padding: 15px;
}
.NormalSearch {
    background-color: #222;
    border: 1px solid #444;
    margin-top: 60px;
    padding: 20px;
}
.filters {
    border-radius: 4px;
    margin-right: 5px;
    padding: 4px 6px;
}


#login-dp{
    padding: 14px 14px 0;
    overflow:hidden;
    color: #fff;
    min-width: 285px;
}
#login-dp span {
    display: block;
    margin-bottom: 5px;
}
#login-dp .help-block{
    font-size:12px
}
#login-dp .bottom{
    /*background-color: rgba(255, 255, 255, 1);*/
    background-color: #fff;
    border-top: 1px solid #4b5d6f;
    clear: both;
    color: #2c3e50;
    display: block;
    margin: 7px 15px 20px;
    padding: 15px;
}
#login-dp .bottom a {
    color: #d9534f;
    text-decoration: underline;
}
@media(max-width:991px) and (min-width:768px){
    #login-dp {
        width: 200px;
    }
}
#Baifa-Resourses .media-heading {
    font-family: "Trebuchet MS";
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 0;
}
.side a {
    color: #34495e;
}
.side .btn {
    color: #fff;
}
.side .btn-link {
    color: #d9534f;
}
.field_title {
    color: #d9534f;
    font-family: Arial;
    font-weight: bold;
}
u {
    color:#d9534f;
}
#staticpages a, .link {
    color:#d9534f;
    text-decoration: underline;
}
#staticpages .btn {
    color:#fff;
    text-decoration: none;
}
#staticpages .btn:hover {
    text-decoration: none !important;
}
.side h4 {
    border-bottom: 1px solid #ededed;
    padding-bottom: 10px;
}
.mainCat {
    margin-bottom: 20px;
}
.subCat {
    line-height: 20px;
    margin-left: 5px;
}
.backToResources {
    font-family: arial;
    font-size: 14px;
    line-height: 20px;
    text-transform: none;
}
.backToResources:hover {
    text-decoration: underline;
}
.carousel-control.left {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%) !important;
}
.carousel-control.right {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%) !important;
}
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next {
    font-size: 48px;
}
.Cat-Titles {
    list-style: outside none disc;
    padding-left: 20px;
}
.AFN-Logo {
    max-width: 58px !important;
}
.warning {
    background-color: #fcf8e3;
    padding: 8px;
    border: 1px solid #ddd;
}

.FormTextLarge {
    width: 450px !important;
}

.search-em {
    background-color: yellow;
}
.searchFilter select {
    background-color: #fff;
    box-shadow: none !important;
    border: 1px solid #888;
    border-right: none;
    padding: 10px;
    height: 41px;
    display: inline;
}
.searchFilter .FilterBtn {
    background-color: #353535;
    color: #fff;
    border: 1px solid #333;
    padding: 11px 15px;
}
.searchFilter .Keyword {
    display: inline;
    position: relative;
}
    .searchFilter .Keyword .clearBtn {
        position: absolute;
        right: 7px;
        top: -2px;
        width: 25px;
        height: 25px;
        background-color: #dfdddd;
        line-height: 25px;
        text-align: center;
        color: #6C6C6C;
    }
    .searchFilter .Keyword .clearBtn:hover {
        background-color: #b5b3b3;
        color: #333;
        text-decoration: none !important;
    }
.searchFilter .Keyword input {
    padding-left: 10px;
    line-height: 37px;
    border-radius: 0;
    border: 1px solid #888;
    border-right: none;
    display: inline;
    width: 43%;
}
.filteredWord {
    display: inline;
    background-color: #f9f9f9;
    border: 1px solid #d1d1d1;
    margin-left: 5px;
    padding: 5px;
    color: #666;
}
    .filteredWord p {
        margin-right: 5px;
    }
@media (max-width: 767px) {
    .searchFilter select {
        background-color: #fff;
        box-shadow: none !important;
        border: 1px solid #888;
        border-right-color: rgb(136, 136, 136);
        border-right-style: solid;
        border-right-width: 1px;
        border-right: none;
        padding: 0px;
        height: 30px;
        display: inline;
    }
    .searchFilter .Keyword input{
        line-height: 26px;
        border-radius: 0;
        border: 1px solid #888;
        border-right-color: rgb(136, 136, 136);
        border-right-style: solid;
        border-right-width: 1px;
        border-right: none;
        display: inline;
        width: 43%;
    }
    .searchFilter .FilterBtn {
        background-color: #353535;
        color: #fff;
        border: 1px solid #333;
        padding: 6px 10px;
    }
    .nav-margin {
        margin-top: 60px;
    }
    .searchFilter .Keyword .clearBtn {
        right: 6px;
        top: -2px;
        width: 20px;
        height: 20px;
        line-height: 21px;
    }
}