﻿* {
    font-family: Roboto, 'Helvetica Neue', 'Arial';
}

.homepage-card__list {
    list-style-type: none;
    margin: 0;

    border-radius: .5rem;
}
    .homepage-card__list.homepage-card__list--bigger a {
        padding: 15px 20px;
    }
    .homepage-card__list a {
        padding: 16px 16px;
        font-weight: 600;
        background-color: rgba(1, 1, 1, .05);
        margin-bottom: 0px;
        border-bottom: 1px solid #017bac38;
        display: block;
    }
    .homepage-card__list a:hover {
        background-color: rgba(1, 1, 1, .09);
    }
    .homepage-card__list a:first-child { border-top-left-radius: .5rem; border-top-right-radius: .5rem; }
    .homepage-card__list a:last-child { border-bottom-left-radius: .5rem; border-bottom-right-radius: .5rem; border-bottom: 0; }
    l.homepage-card__list.homepage-card__list--flex {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
        .homepage-card__list.homepage-card__list--flex a {
            flex-grow: 1;
            flex-basis: 47%;
            margin-right: 10px;
        }

/* Utility Classes */
.bg-primary {
    background-color: #02aff3 !important;
}

.bg-secondary {
    background-color: #00A651 !important;
}

.text-white, .text-white * {
    color: white !important;
}

.big-card {
    height: 300px;
    position: relative;

    background-position: 10% 30%;
    background-size: cover;
}
    .big-card__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        position: absolute;
        bottom: 25px;
        left: 25px;
    }
    .big-card__inner img {
        width: 70px;
        margin-right: 25px;
    }


.rounded-md {
    border-radius: .5rem !important;
}

.no-underline {
    text-decoration: none !important;
    border-bottom: 0 transparent;
}

.green h3 {
    color: #00A651 !important;
    border-color: #00A651;
}

.mb-5 {
    margin-bottom: 28px;
}

.mt-5 {
    margin-top: 28px;
}

.header-with-img {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}
    .header-with-img img {
        width: 70px;
        margin-right: 40px;
    }
    .header-with-img h3 {
        margin-bottom: 0;
    }


.styled-icon {
    background-color: white;
    padding: 5px;
}
.styled-icon:not(.styled-icon--square) {
    border-radius: 100px;
}
.styled-icon--dense {
    padding: 3px;
}


.developer-info-header {
       background-image: linear-gradient(
90deg, #02aff3, #00b7ff, #02aff31a), url(https://www.ayrshireroadsalliance.org/Site-Elements/images/Accessible-Ayr-Cropped-404x331.png);
    /* background-size: cover; */
    background-position: 100% 57%;
    background-repeat: no-repeat;
    padding: 10px 20px;
    border-radius: .5rem !important;
}
.developer-info-header h3 {
    color: white;
}

.h3-header {
    border: 0;
    font-weight: 600;
    margin-bottom: 25px;
}

.centered-img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.announcement-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
    .announcement-list li {
        padding: 16px;
        background-color: rgba(1,1,1,0.05);
        border-radius: .5rem;
        margin-bottom: 10px;
        border-left: .5rem solid rgb(255, 163, 43);
        display: none;
    }
    .announcement-list li:nth-child(-n+3) {
        display: block;
    }
    .announcement-list li.important {
        border-color: red;
    }
        .announcement-list li h6 {
            font-weight: 600; 
            font-size: 1.2em;
            color: #0088cc;
            text-decoration: underline;
            cursor: pointer;
        }
        .announcement-list a {
            font-weight: 500;
        }
        .announcement-list .announcement-list-expandable {
            display: none;
        }

.homepage-btn {
    padding: 16px 20px;
    border-radius: .5rem;
    border: none;
    background-color: #02aff3;
    color: white;
    font-weight: 600;
}

.homepage-link {
    cursor: pointer;
    color: #0088cc;
    font-weight: 600; 
    background-color: transparent;
    text-decoration: underline;
    border: none;
}

.developer-info {
    display: flex;
    flex-wrap: wrap;
}
    .developer-info > div {
        flex: 1;
        flex-basis: 500px;
    }
    .developer-info > div:first-child {
        margin-bottom: 25px;
    }

@media (min-width: 1000px) {
    .developer-info > div:first-child {
        margin-right: 25px;
        margin-bottom: 0px;
    }
}

.homepage-container {
    margin-bottom: 150px;
}

.bg-warning {
    background-color:rgb(255, 163, 43);
    color: white !important;
    padding: 10px 20px;
    border-radius: .5rem !important;
}


/* Google Search Bar */

#gs_cb50{
	padding:10px !important;
	margin-left:10px !important;
	margin-bottom:10px !important;
}

#gsc-i-id1{
padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: rgb(73, 80, 87) !important;
    border: 1px solid rgb(206, 212, 218) !important;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s !important;
    background: rgb(255, 255, 255) !important;
}

.gsc-search-button{
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.25rem !important;
}

.gsc-control-cse{
    padding-top:55px !important;
}


/* Footer Styles*/

.footer h4{
    border-bottom: 2px solid white;
    padding: 5px;
    margin-bottom: 20px;
}

.footer .span4{
    padding: 10px;
}

.footer .span3{
    padding: 10px;
}

.footer{
    padding-bottom: 40px;
}


/* Nav Bar Styles*/

.mobile-button{
    float: none !important;
    margin: 0 !important;
    padding: 20px !important;
    border: none !important;
    background: none !important;
    font-size: 40px !important;
}

.nav > li > a:hover {
   /* background-color: white;*/
    color: #02aff3;
}

.nested-nav-link{
    border-left:none !important;
    color: white !important;
}

.nested-nav-link:hover{
    background-color: #0d92c4 !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0d92c4), to(#0d92c4)) !important;
}



.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
   background-color: #0d92c4 !important;
color: white !important;
}

.dropdown-toggle .caret{
    border-top-color: #ffffff !important;
}

.nested-navbar{
    border-radius: 0;
    width: 100%;
}

.social-icon{
    background-color: #02aff3;
    border: solid 1px #666;
    border-radius: 3px;
    padding: 10px;
    display: inline-block;
    float: right;
    margin-right: 13px;
}

@media (max-width: 979px) {
    .nav > li > a:hover {
        background-color: #0d92c4 !important;
    }

    .nav > li a{
        color:white !important;
        border-left:none !important;
        border-right:none !important;
    }
}