

/*----------------- Fostering and Adoption Site specific CSS ----------------------------------------*/

#header-nav {
    background-color: #2e2e2e;
    color: #fff;
}

/* GLOBAL 9STYLES -------------------------------------------------- */

body, html {
    color: #5a5a5a;
    font-family: "Calibri", serif;
}



h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-family: inherit;
    /*font-weight: 500;
    line-height: 3;*/
    color: inherit;
}

.container.spacer ul li {
    padding: 5px;
}


a:link {
    text-decoration: none;
    color: #5a5a5a;
}

a:visited {
    text-decoration: none;
    color: #535353;
}

a:hover {
    text-decoration: underline;
    color: #718738;
}

a:active {
    text-decoration: underline;
    color: lime;
}

#right-col.sticky-top {
    z-index: 999;
}

#right-col h2 {
    font-size: 1.75rem;
}

#right-col h3 {
    font-size: 1.5rem;
}

/*-------------------------Images ------------------------------------*/

img {
max-width: 100%;
height: auto;
}
/* ----------------------- Footer ------------------------------------*/
.footer-menu {
    background-color: #2d892c;
    border-top: 10px solid #ebb308;
    color: #fff;
}

#search-input {
    width: 15rem;
}
/* -------- Navigation -------------- */

.navbar-item.active {
    background-color: #e8670c;
}

.dropdown-item.active {
    background-color: #e8670c;
}


#main-nav {
    background: #2e892c;
    font-size: 11pt;
}

.navbar-nav > li {
    font-family: "Lato", serif;
    font-weight: 500;
}

.navbar-nav .nav-link {
    padding-top: 15px;
}

    .navbar-nav .nav-link:hover {
        color: rgba(0,0,0,.7);
        background-color: #e8670c;
        display: block;
    }

.nav-item.dropdown.show {
    background-color: #e8670c;
}

.dropdown-menu {
    background-color: #779e11;
    width: auto !important;
    margin: 0;
}

.dropdown-item:focus, .dropdown-item:link {
    color: #fff !important;
    text-decoration: none;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff !important;
    text-decoration: none;
    background-color: #e8670c;
}

.dropdown-item {
    color: #fff !important;
}

.navbar-dark .navbar-toggler .navbar-toggler-icon {
    color: #fff;
}
/* ------------- HOMEPAGE --------------*/
.home a:hover {
    text-decoration: none;
}

.tile {
    background-color: #e8670c;
    color: #fff;
    & h2 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
}


.read-story a:link {
    width: 100px;
    font-size: 1rem;
    text-align: center;
    float: right;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #535353;
    padding: 5px 0;
}

.read-story a:hover {
    color: #fff;
    border-radius: 10px;
    background-color: #2d892c;
    text-decoration: none;
}
/* ------------- /HOMEPAGE --------------*/

/* ----------------- Events pages -----------------------------*/

.calendar {
    border: 1px solid #b3b2b2;
    width: 250px;
    padding: 10px;
    cursor: pointer;
}

.card-footer {
    border: none;
}

    .card-footer:last-child {
        margin: 10px 0 0 0;
        padding: 0;
    }

.event-button {
    background-color: #e8670c;
    color: #fff;
    border-color: #e8670c;
    float: left;
    margin: 5px 0;
}

    .event-button:hover {
        background-color: #ebb308;
        color: #fff;
        border-color: #ebb308;
    }

a.event-button:visited {
    color: #fff;
}
/* ----------------- News and events -----------------------------*/
.news-list-home .card-header, .events-home .card-header {
    background-color: #2e892c;
    color: #fff;
}

.news-list-home .card-footer, .events-home .card-footer {
    background-color: #fff;
}

.news-list-home h2, .events-home h2 {
    font-size: 1.5rem;
}

.home-news-article h3, .events-home h3 {
    font-size: 1.25rem;
}

/*------------ Search -----------------*/
ul.item-listing li {
    list-style: none;
    display: list-item;
    color: black;
}

.item {
    list-style-type: none;
    border-bottom: 1px solid #2d892c;
    display: block;
    margin: 10px 0;
}


.nav-item.dropdown.active {
    background-color: #e8670c;
}

/* ----------------------- Browsealoud ------------------------------------*/
#_ba_corner.orange, #_ba_corner.grey {
    visibility: hidden;
}

    #_ba_corner.orange img, #_ba_corner.grey img {
        display: block;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background: url('../images/site/browsealound.png') no-repeat;
        width: 72px !important; /* Width of new image */
        height: 72px !important; /* Height of new image */
        padding-left: 72px !important; /* Equal to width of new image */
        visibility: visible;
    }





/*------------ Adoption portal CSS - New colour scheme styles ---------------- */

.aem {
    font-family: Calibri, sans-serif;
    font-size: 1.25rem
}


    .aem #header-nav {
        background-color: #FFF;
    }
    /*----------------- ----------- Top Navigation  ---------------------*/
    .aem a:link {
        text-decoration: underline;
    }

    .aem a:hover {
        text-decoration: underline;
    }

    .aem a:active {
    }

    .aem a:visited {
    }

    .aem .navbar-expand-lg .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .aem .navbar-expand-lg .navbar-collapse {
        justify-content: space-around;
    }

    .aem .dropdown-item:focus, .dropdown-item:link {
        color: #fff !important;
        text-decoration: none !important;
    }

    .aem .navbar-nav .nav-link:active {
        background-color: #666;
        color: white;
    }


    .aem #main-nav {
        background: #343a40;
        font-size: 11pt;
    }

    .aem .navbar-nav .nav-link {
        color: #FFF !important;
        display: block;
        text-decoration: none;
    }


        .aem .navbar-nav .nav-link:hover {
            color: #fff !important;
            background-color: #2d637f;
            display: block;
        }


    .aem .navbar-nav navbar-item .active:active {
        color: rgba(0,0,0,.7);
        background-color: #2d637f;
        display: block;
        border: 2px solid red;
    }


    .aem .nav-item.dropdown.show {
        background-color: #2d637f;
        text-decoration: none;
    }

    .aem .navbar-nav .nav-link:focus {
        background-color: #2d637f;
        color: #fff !important;
    }



    .aem .navbar-dark .navbar-nav .active > .nav-link,
    .aem .navbar-dark .navbar-nav .show > .nav-link {
        color: #fff !important;
        background-color: #2d637f;
    }


    .aem .navbar-nav .nav-link:active {
        background-color: #2d637f;
        color: #fff !important;
    }



    .aem .dropdown-menu {
        background-color: #357292;
        width: auto !important;
        margin: 0;
    }

    .aem .dropdown-item:focus, .dropdown-item:hover {
        color: #000 !important;
        text-decoration: none;
        background-color: #e6e6e6;
    }



    /*----------------- ----------- Top Navigation  ---------------------*/



    /*----------------- ----------- Top Nav Search button ---------------------*/

    .aem .btn-outline-success {
        color: #2d637f;
        border-color: #2d637f;
    }


        .aem .btn-outline-success:hover {
            color: #fff;
            background-color: #2d637f;
            border-color: #2d637f;
        }


    /*----------------- ----------- Top Nav Search button ---------------------*/


    /*----------------- ----------- homepage buttons ---------------------*/

    .aem .tile {
        background-color: #2d637f;
        color: #fff;
    }

    .aem .btn:not(:disabled):not(.disabled) {
        cursor: pointer;
        text-decoration: none;
    }

    /*----------------- -----------homepage buttons ---------------------*/


    /*----------------- -----------Footer colour ---------------------*/

    .aem .footer-menu {
        background-color: #343a40;
        border-top: 10px solid #374a54;
        color: #fff;
    }


        .aem .footer-menu a:link {
            text-decoration: none;
        }

        .aem .footer-menu a:hover {
            color: #ccc !important;
        }

    .aem .fixed-bottom {
        position: relative;
    }
    /*----------------- -----------Footer colour ---------------------*/
    /*----------------- RHS boxes background colours ---------------------*/
    .aem .news-list-home .card-header, .aem .events-home .card-header {
        background-color: #2d637f;
        color: #fff;
    }

    .aem .event-button {
        background-color: #4f90b1;
        border-color: #2d637f;
    }

        .aem .event-button:hover {
            background-color: #2d637f;
        }

.media .media-thumb {
    max-width: 250px;
}
/*----------------- RHS boxes background colours ---------------------*/


/*------------ Adoption portal CSS - New colour scheme styles ---------------- */

/* Fix side content */
.row.m0 {
    margin: 0px;
}

    .row.m0 .card {
        padding: 0px;
    }
