/* ==========================================================================
   STYLESHEET
   ========================================================================== */

/***********   GLOBAL COLOURS   ***********/

/**
	Orange #EE7202 
	Blue #005779
	Light blue #007BFF
**/

a {
    color: #fff !important;
    text-decoration: none !important;
}

    a:hover {
        color: #007bff !important;
        text-decoration: underline;
        transition: color 300ms linear;
    }

    a:link {
    }

.navbar .active a {
    color: #EE7202 !important;
}

a.btn-primary:hover {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #005779;
    transition: background-color 500ms linear;
}

.btn-primary {
    color: #fff;
    padding: 0.5rem 1.5rem !important;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.9rem;
    border-color: #666 !important;
    background-color: #666 !important;
}

.orange-btn {
    border-color: #EE7202 !important;
    background-color: #EE7202 !important;
    color: #000 !important;
}

.blue-btn {
    border-color: #005779 !important;
    background-color: #005779 !important;
}

.green-btn {
    background-color: #218838 !important;
    border-color: #1e7e34 !important;
}

#mainContent a {
    color: blue !important;
}

    #mainContent a:hover {
        color: #000 !important;
    }

#mainContent iframe#map {
    width: 100% !important;
    border: 1px solid #ccc !important;
}

#mainContent iframe {
    width: 100% !important;
}

#mainContent ul.list-group span.far {
    color: #005779;
}

/***********   GLOBAL FONT STYLES  ***********/
h1, h2, h3, h4, p, li {
    font-family: 'Montserrat', helvetica, arial, verdana, sans-serif;
    font-weight: 400;
}

h1 {
    font-weight: 300;
}

    h1.page-title-text {
        color: #005779 !important;
    }

body.home h1 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
}

h2 {
    font-family: 'Montserrat';
    font-weight: 700;
}

a.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 300;
    color: #fff;
}

    a.nav-link:hover {
        color: #005779 !important;
    }



/***********   STRUCTURE   ***********/
#mainbody {
    max-width: 1920px;
    margin: 0 auto;
}

    #mainbody > div.row {
        margin-left: 0;
        margin-right: 0;
    }

.page header {
    background-color: #fff;
}

.home .header {
    background: url('../img/title-image.png') no-repeat top left;
    background-color: #ccc;
}

.page-title-header {
    /*background-color: #005779;*/
    background-color: #eee !important;
    height: 12rem;
}

.page-title-text {
    padding-top: 6vw;
}

.footer {
    background-color: #005779;
}

.footer {
    height: 20rem;
}

#header-overlay-text {
}

#brand-logo, #header-overlay-text {
}

#header-overlay-text {
}

#brand-logo {
    max-width: 380px;
    height: auto;
}

    #brand-logo img {
        width: 100%;
        height: auto;
    }

.footer-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.gap {
    margin-right: 2rem;
}

.process-feature {
    background-color: #fff;
    text-align: center;
}

    .process-feature div {
        margin: 3rem 0;
    }

.about-us-feature {
    background: url('../img/about-us-section-title-img.png') no-repeat center center;
    background-size: 100% auto !important;
    height: 60rem;

}

.story-feature {
    background: url('../img/feature-story.png') no-repeat center center;
    height: 40rem;
}

.boxout {
    background-color: #EE7202;
}

.sidebar {
}

.sidebar-img {
    max-width: 300px;
}


/***********   CARDS   ***********/

#faqList .card-header .btn {
    font-weight: bold;
}

.link-boxes .card-columns .card {
    margin-top: 2rem;
    border: none;
    width: 100%;
}

.link-boxes .card-body {
    padding-bottom: 4rem;
}

#infoPanels .card-body {
    padding-bottom: 1.25rem;
}


.link-boxes .card .text-block {
    background: #EE7202;
    padding: 2rem;
}

.link-boxes .card .orange {
    background: #EE7202;
}

.link-boxes .card .blue {
    background: #005779;
}

.link-boxes .card .green {
    background: #9cd2c9;
}

.link-boxes .card .grey {
    background: #6b8f9c
}

.link-boxes .card .card-text, .link-boxes .card .card-title {
    color: #fff;
}

.card .card-title {
    margin-bottom: 1.5rem;
}

.card .card-text {
    font-size: 0.95rem;
    line-height: 1.4rem;
}

.card-columns {
    column-count: 1;
}

.card h2.card-title {
    font-size: 1.85rem;
}

.card h5 {
    color: #fff;
    font-size: 1.0rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.card .btn-primary {
    padding: 0.4rem 1.2rem !important;
    font-weight: 300;
    font-size: 0.9rem;
    position: absolute;
    bottom: 1rem;
}

    .card .btn-primary:hover {
        color: #005779 !important;
    }

#event-columns {
    column-count: 3;
}

.card .date, h2.date {
    color: #fff;
    font-size: 0.9rem;
    padding-left: 1.5rem;
    background: url('/img/calendar-white.svg') no-repeat left center;
    background-size: 18px 18px;
}

#mainContent h2, #mainContent h3,
#mainContent h4, #mainContent h5 {
    margin-bottom: 0.5em;
}

#mainContent img {
    margin: 0.35em 1.5em;
}

    #mainContent img[style*="float: left"] {
        padding-left: 0 !important;
    }

    #mainContent img[style*="float: right"] {
        padding-right: 0 !important;
    }

/***********   SERVICES ICONS   ***********/
#home-quick-links {
    text-align: center;
}

    #home-quick-links .card {
        width: 9rem;
        border: none;
        display: inline-block;
    }

        #home-quick-links .card:hover .card-img-top {
            transform: translateY(0);
            opacity: 100;
        }

    #home-quick-links .card-img-top {
        top: 0;
        transform: translateY(0px);
        transition: all .4s ease-in-out;
        opacity: 0.5;
        overflow: hidden;
    }


/***********   SIDEBAR   ***********/

.sidebar {
    border: none;
}

    .sidebar .more-about-adoption {
        background: #005779;
        color: #fff;
        text-align: center;
        border: none;
    }

        .sidebar .more-about-adoption p {
            font-weight: 700;
        }

        .sidebar .more-about-adoption .btn {
            background: #EE7202;
            color: #000 !important;
        }

        .sidebar .more-about-adoption .logo {
            display: block;
            margin-left: auto;
            margin-right: auto;
        }


/***********   NAVIGATION   ***********/

#navbar-solid {
    background-color: rgba(0,87,121,1);
}

#navbarToggler {
    background: transparent;
}

.navbar .nav-item {
}

    .navbar .nav-item a {
        font-weight: 500;
        color: rgba(255,255,255,0.8) !important;
    }

        .navbar .nav-item a:hover {
            color: #007BFF !important;
        }

#top-nav-wide, #main-nav-wide {
    visibility: visible;
}

.dropdown-submenu {
    position: relative;
}


    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

ul.dropdown-menu {
    background: #005779 !important;
    border: none;
}

    ul.dropdown-menu a {
        background: transparent;
        text-transform: uppercase;
        font-size: 0.9em;
        text-align: center;
    }

        ul.dropdown-menu a:hover {
            background: transparent;
        }

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.navbar .navbar-brand {
    height: 3.3rem;
    width: auto;
}

.page-title-header .brand {
    height: 6rem;
    width: auto;
    margin-top: 2.5rem;
    float: right;
}

a#navSearchMobile {
    display: none;
}

a#navSearch {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
}

/***********   LINKS   ***********/

.quick-links {
    list-style: none;
}

    .quick-links li {
        background-color: #eee;
        display: inline-block;
        width: 10em;
        height: 10em;
        margin-right: 1em;
        text-align: center;
    }




#header-overlay-text h2 {
    color: #fff;
}

#header-overlay-text p {
    font-size: 1.8rem;
    color: #fff;
    line-height: 2.5rem;
}

#home-quick-links .card p {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.feature-section h2, .feature-section p {
    color: #fff;
    margin-bottom: 2rem;
}

    .feature-section h2 > p {
        color: inherit;
    }

.about-us-feature h2 {
    font-weight: 300;
    font-size: 3rem;
}

.process-feature h2 {
    font-weight: 300;
    color: #6b8f9c;
    text-align: center;
    line-height: 3rem;
    margin-bottom: 2rem;
}

.process-feature .icon {
    width: 120px;
    height: 120px;
}

.story-feature h2 {
    font-weight: 300;
    font-size: 2.5rem;
}

.header-links a:hover {
    color: #007bff !important;
}

.footer p {
    color: #fff;
    font-size: 0.8rem;
}

#footer-links a {
    text-decoration: underline !important;
}

.boxout p {
    color: #fff;
    padding: 2rem;
}

#social-media-links {
    position: absolute;
    right: 0;
    top: 4vw;
}

    #social-media-links span {
        font-size: 2.7rem;
    }

/* FORM STYLES */

#whichform .umbraco-forms-label {
    font-weight: 600;
}

#whichform .field-validation-error {
    color: red;
}

#whichform .initialVisitForm .availabletimes .checkboxlist .form-check {
    overflow: auto;
}

    #whichform .initialVisitForm .availabletimes .checkboxlist .form-check > div:nth-child(odd) {
        clear: left;
    }

    #whichform .initialVisitForm .availabletimes .checkboxlist .form-check > div {
        display: inline-block;
        float: left;
        width: 50%;
        max-width: 250px;
    }

#whichform .umbraco-forms-submitmessage {
    font-size: 2rem;
}

/* EVENT PAGE */

#event-header .page-title-text {
    padding-top: 1vw;
    margin-bottom: 1rem;
}

#event-header h2 {
    font-size: 1rem;
    color: #005779;
}

    #event-header h2.eventinfo {
        color: #005779;
        padding-left: 0;
        background: none !important;
    }

        #event-header h2.eventinfo span.fas {
            font-size: 1rem;
            margin-right: 0.5rem;
            color: #005779;
        }


a.cc-link {
    text-decoration: underline !important;
}

a.cc-btn {
    color: #000 !important;
}

/* Blog Post */

#comments-sidepanel p {
    font-weight: 500;
}

#commentsForm .btn {
    position: relative;
    background-color: #EE7202 !important;
    color: #fff !important;
    font-weight: 700;
}

#comments-sidepanel .umbraco-forms-submitmessage,
#commentsForm .field-validation-error {
    color: yellow;
}

.newadoptionform select[name='56d95cec-4f28-40cb-863f-c9d7c188d2cb'] {
    width: 100% !important;
}

.newadoptionform select[id='48e9968d-a74c-4e76-8cdb-78fa2bddddda'] {
    background-color: aqua;
}

.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    color: black;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    z-index: 1000;
}

.cookie-consent-button {
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

    .cookie-consent-button:hover {
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    }

    .cookie-consent-button:active {
        opacity: .5;
    }

    .cookie-consent-button.btn-success {
        background-color: #34a853;
        color: white;
    }

    .cookie-consent-button.btn-grayscale {
        background-color: #dfe1e5;
        color: black;
    }

    .cookie-consent-button.btn-outline {
        background-color: #e6f4ea;
        color: #34a853;
    }

.cookie-consent-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

    .cookie-consent-options label {
        margin: 0 10px;
        font-size: 14px;
    }

    .cookie-consent-options input {
        margin-right: 5px;
    }


/*
Bootstrap 4 breakpoints
*/
/* 
Extra small devices (portrait phones, less than 576px) 
No media query since this is the default in Bootstrap because it is "mobile first"
*/
@media (max-width:767px) {
    .page-title-header {
        height: auto;
        overflow: auto;
        padding-bottom: 0.5rem;
    }

        .page-title-header h1 {
            font-size: 2rem;
        }

        .page-title-header .brand {
            width: 40%;
            height: auto;
            margin-top: 1.2rem;
            margin-bottom: 1.2rem;
        }

    #brand-logo {
        max-width: 350px;
        height: auto;
    }
}

@media (max-width:992px) {

    .link-boxes .card h2.card-title {
        font-size: 1.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    #header-overlay-text {
        bottom: 0;
        background-color: rgba(0,87,121,0.7);
    }

    .about-us-feature {
        text-align: center;
    }

    .main-nav ul li a {
        color: #005779 !important;
    }

        .main-nav ul li a:hover {
            color: #EE7202 !important;
        }

    #top-nav-wide, #main-nav-wide {
        visibility: hidden;
    }

    #event-columns {
        column-count: 1;
    }

    #family-stories-columns {
        column-count: 1;
    }

    body.home div .navbar-main-top {
        display: flex;
    }

        body.home div .navbar-main-top li.get-in-touch {
            display: list-item;
        }

        body.home div .navbar-main-top li.support {
            display: list-item;
        }

    body.home div .secondary-nav-top {
        display: none;
    }

    .navbar .navbar-brand {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    #event-columns {
        column-count: 1;
    }

    #family-stories-columns {
        column-count: 1;
    }

    body.home div .navbar-main-top {
        display: flex;
    }

        body.home div .navbar-main-top li.get-in-touch {
            display: list-item;
        }

        body.home div .navbar-main-top li.support {
            display: list-item;
        }

    body.home div .secondary-nav-top {
        display: none;
    }

    .navbar .navbar-brand {
        display: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .link-boxes .card-columns {
        column-count: 2;
    }

    #header-overlay-text {
        background-color: transparent;
    }

    .about-us-feature {
        text-align: left;
    }

    .main-nav ul li a {
        color: #fff !important;
    }

        .main-nav ul li a:hover {
            color: #EE7202 !important;
        }

    #top-nav-wide, #main-nav-wide {
        visibility: visible;
    }

    #event-columns {
        column-count: 3;
    }

    #family-stories-columns {
        column-count: 2;
    }

    body.home div .navbar-main-top {
        display: flex;
    }

        body.home div .navbar-main-top li.get-in-touch {
            display: list-item;
        }

        body.home div .navbar-main-top li.support {
            display: list-item;
        }

    body.home div .secondary-nav-top {
        display: none;
    }

    body.home div .navbar .orange {
        background-color: #EE7202;
    }

    .navbar .navbar-brand {
        display: inline-block;
    }
}

@media (max-width:1200px) {
    body.home .about-us-feature {
        background-size: 100% auto !important;
        background-position: top center !important;
        padding-top: calc((100vw * 0.5691) + 4rem);
        height: auto !important;
    }

        body.home .about-us-feature h2 {
            font-size: 1.8rem;
            color: #333;
        }

        body.home .about-us-feature p {
            color: #333;
        }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .link-boxes .card-columns {
        column-count: 2;
    }

    #event-columns {
        column-count: 3;
    }

    #family-stories-columns {
        column-count: 2;
    }

    body.home #brand-logo {
        margin-left: 10% !important;
    }

        body.home #brand-logo img {
        }

    body.home div .navbar .orange {
        background-color: #EE7202;
        color: #000 !important;
    }

    .navbar .navbar-brand {
        display: inline-block;
    }

    #mainContent iframe {
        min-height: 450px;
    }
}

@media (max-width:992px) {
    /*#social-media-links {
            position: relative;
            right: auto;
            top: auto;
            margin: -3rem 0 0 0;
        }*/


    a#navSearchMobile {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }

    a#navSearch {
        display: none;
    }
}


@media (max-width:1150px) {
    #social-media-links {
        position: relative;
        right: auto;
        top: auto;
        margin: -2em 0 0 0;
    }

        #social-media-links span {
            font-size: 1.5em;
        }

    @media (min-width:1920px) {

        body.home #brand-logo {
            margin-left: 15% !important;
        }
    }
}

@media (min-width:1200px) {
    .about-us-feature {
        height:56vw;
    }
}