/* --- Info --- */


/* The header and footer of the site stretch to 100% width always. These are structured using the 'container-fluid' class. Note that the content INSIDE the header and footer is not suppose to stretch all the way to the edges every time, and should be contained within a 'container'-classed element so that they are the same width as the main body content.

The design is responsive but fixed-width (not fluid). Below are the breakpoints and respective widths of the main content container:

0-767px: 100% width (no gutters)
768-991px: 750px width
992-1199px: 970px width
1200px+: 1170px width  */


/* --- Fonts --- */

@font-face {
    font-family: 'VIC-Medium';
    src: url('https://www.rdv.vic.gov.au/__data/assets/file/0019/1325026/VIC-Medium.eot?v=0.7.1?#iefix') format('embedded-opentype'), url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1325028/VIC-Medium.otf?v=0.7.1') format('opentype'), url('https://www.rdv.vic.gov.au/__data/assets/file/0004/1325038/VIC-Medium.woff?v=0.7.1') format('woff'), url('https://www.rdv.vic.gov.au/__data/assets/file/0020/1325036/VIC-Medium.ttf?v=0.7.1') format('truetype'), url('https://www.rdv.vic.gov.au/__data/assets/file/0015/1325031/VIC-Medium.svg?v=0.7.1#VIC-Medium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'VIC-Bold';
    src: url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1325019/VIC-Bold.eot?v=0.7.1?#iefix') format('embedded-opentype'), url('https://www.rdv.vic.gov.au/__data/assets/file/0013/1325020/VIC-Bold.otf?v=0.7.1') format('opentype'), url('https://www.rdv.vic.gov.au/__data/assets/file/0017/1325024/VIC-Bold.woff?v=0.7.1') format('woff'), url('https://www.rdv.vic.gov.au/__data/assets/file/0015/1325022/VIC-Bold.ttf?v=0.7.1') format('truetype'), url('https://www.rdv.vic.gov.au/__data/assets/file/0014/1325021/VIC-Bold.svg?v=0.7.1#VIC-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'VIC-SemiBold';
    src: url('https://www.rdv.vic.gov.au/__data/assets/file/0016/1325050/VIC-SemiBold.eot?v=0.7.1');
    /* IE9 Compat Modes */
    src: url('https://www.rdv.vic.gov.au/__data/assets/file/0016/1325050/VIC-SemiBold.eot?v=0.7.1?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0004/1325056/VIC-SemiBold.woff?v=0.7.1') format('woff'), /* Super Modern Browsers */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0004/1325056/VIC-SemiBold.woff?v=0.7.1') format('woff'), /* Pretty Modern Browsers */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1325055/VIC-SemiBold.ttf?v=0.7.1') format('truetype'), /* Safari, Android, iOS */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0020/1325054/VIC-SemiBold.svg?v=0.7.1#svgFontName') format('svg');
    /* Legacy iOS */
}

@font-face {
    font-family: 'VIC-Regular';
    src: url('https://www.rdv.vic.gov.au/__data/assets/file/0015/1325040/VIC-Regular.eot?v=0.7.1');
    /* IE9 Compat Modes */
    src: url('https://www.rdv.vic.gov.au/__data/assets/file/0015/1325040/VIC-Regular.eot?v=0.7.1?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0005/1325048/VIC-Regular.woff?v=0.7.1') format('woff'), /* Super Modern Browsers */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0005/1325048/VIC-Regular.woff?v=0.7.1') format('woff'), /* Pretty Modern Browsers */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1325046/VIC-Regular.ttf?v=0.7.1') format('truetype'), /* Safari, Android, iOS */
    url('https://www.rdv.vic.gov.au/__data/assets/file/0019/1325044/VIC-Regular.svg?v=0.7.1#svgFontName') format('svg');
    /* Legacy iOS */
}


/* --- End Fonts --- */


/* --Alteration to standard bootstrap to:
        Font size changes (body base size):
        Bootstrap default: 14px;
        992 - 1199: 13px;
        1200 - 1599: 16px;
        1600+: 18px;
*/

body {
    font-size: 15px;
    width: 100%;
    height: 100%;
    position: relative;
}

.contents-page-intro h1 { margin-top: 80px; }
.contents-page-content p { line-height: 1.6; }

@media (min-width: 481px) {
    body {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    body {
        font-size: 17px;
    }
}

@media (min-width: 992px) {
    body {
        font-size: 18px;
    }
}


/* --End bootstrap alterations-- */


/* --- Global Styles --- */

html, body {
    height: 100%;
    font-family: "VIC-Regular";
}

.wrapper {
    position: relative;
    /*min-height: 100%;*/ /*BH 27 March 2020*/
}

body, #panel {
    background: #d8dad8;
}
/* RM remove
h2 {
    font-size: 2.14286em;
}
*/
main {
    margin-bottom: 80px;
    background: #fff;
}

main button, main .button {
    position: relative;
    /* background: #14949d; */
    background: #13838B;
    border: none;
    padding: 8px 15px;
    text-decoration: underline;
    text-decoration-color: #4dbac1;
    font-size: 0.8em;
    color: #fff;
}

main button.medium, main .button.medium {
    padding: 15px 30px;
    font-size: 16px;
}

main button.large, main .button.large {
    padding: 20px 40px;
    font-size: 18px;
}

main button.light, main .button.light {
    background: #fff;
    border: 1px solid #53565a;
    color: #53565a;
}

main button.light:hover, main .button.light:hover, main button.light:focus, main .button.light:focus {
    background: #e6e6e6;
}

main button.dark, main .button.dark {
    background: #53565a;
    border: 1px solid #fff;
    color: #fff;
}

main button.dark:hover, main .button.dark:hover, main button.dark:focus, main .button.dark:focus {
    background: #9c9c9c;
}

header {
    background: #009ca6;
    min-height: 65px;
}

@media (min-width: 768px) {
    header {
        height: auto;
    }
}

footer {
    color: #FFF;
    font-family: "VIC-Regular";
}

footer .contact-us {
    background-color: #009ca6;
    text-align: center;
}

footer .contact-us a {
    padding: 12px;
    background-color: #fff;
    color: #53565a;
    font-size: 1.2em;
    display: inline-block;
    margin: 30px auto 30px;
}

footer p {
    margin: 1em 0;
}

footer .social-links p {
    margin-top: 0;
}

footer a:hover, footer a:focus {
    color: #53565a;
    text-decoration: none;
}

footer .contact-us .contact-us-outer {
    background: url('https://www.rdv.vic.gov.au/__data/assets/image/0019/1325017/rdv-pattern-contact-us.png?v=0.7.1') no-repeat left;
    background-size: contain;
}

footer .contact-us .contact-us-inner {
    width: 75%;
    margin: 0 12.5%;
    padding: 3% 0;
}

footer h2 {
    font-size: 2em;
    margin: 20px 0 10px;
    display: block;
}

@media (max-width: 991px) {
    footer .contact-us .contact-us-outer {
        background: none;
    }
}

footer .footer-legals {
    background-color: #201547;
    color: #d9d9d6;
    font-size: 0.813em;
}

footer .footer-legals .container .row {
    padding: 5% 0;
}

footer .legal-links ul {
    padding: 0;
}

footer .legal-links ul li {
    display: inline;
    margin-right: 20px;
}

footer .legal-links ul li a, footer .social-links a {
    color: #d9d9d6;
    box-shadow: inset 0 0px 0 #201547, inset 0 -1px 0 #53565a;
}

footer .social-links {
    margin-bottom: 5%;
}

footer .social-links .follow-us, footer .social-links .twitter, footer .social-links .facebook {
    margin-right: 20px;
}

footer .social-links .twitter img, footer .social-links .facebook img {
    margin-right: 10px;
}

footer .social-links img {
    height: 18px;
}

.btn-menu {
    background-size: contain;
    font-size: 1.6em;
    color: #fff;
    border: none;
    background-color: #009ca6;
}

.btn-menu-close {
    background-size: contain;
    background: none;
    font-size: 1.6em;
    color: #009ca6;
    line-height: 19px;
    padding: 0;
    border: none;
    display: none;
    outline: none;
    margin-left: 30px;
}

.hamburger-menu {
    padding-left: 0;
}

.logo-img {
    margin-top: 20px;
}

.logo-img img {
    max-height: 55px;
    display:inline-block;
}

@media (max-width: 767px) {
    .logo-img img {
        max-height: 40px;
        margin: 0 auto;
    }
        .logo-img img.mobile-hidden { display: none; } 
        footer .logos img.desktop-hidden { display: block; margin-bottom: 3em; width: 70%; }

}

.btn-search {
    height: 45px;
}


/* --- over-riding bootstarp default navbar styles--- */

.navbar-default {
    min-height: 0;
    margin-bottom: 0;
    background-color: #ffffff;
    border-color: #ffffff;
    border-radius: 0;
}

.navbar-default .navbar-toggle {
    position: fixed;
    top: 14px;
    left: 10px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFFFFF;
}

.navbar-toggle .icon-bar {
    width: 30px;
    height: 4px;
}

.navbar-toggle {
    padding-right: 0;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #009CA6;
}

.navbar-default .navbar-nav > li > a {
 color:#666;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
    color: #009CA6;
}

.navbar-collapse {
    border: none;
}

.navbar-nav>li>a {
    font-size: 0.8em;
    
    /* fix RDV-52 */ 
    float: left;
    width:100%;
    padding-left: 10px;
    padding-right:30px;

}


.navbar-nav > li.has-subs > a {
    /*
    width: calc(100% - 30px);
    padding-left: 12px;
    padding-right: 0;
    */
    float: left;

    /* fix RCW-52 */ 
    width:100%;
    padding-left: 10px;
    padding-right:30px;
} 

/* fix RDV-52 */ 
/* this "fix" causes issues - disabling it. */
/*.navbar-nav>li:nth-child(5)>a {
    padding-right:15px !important;
}*/

.navbar-nav > li > button:not(.btn-menu-close) {
    color: #009ca6;
    font-size: 12px;
    padding: 0;
    /*
    margin-left: 6px;
    margin-right: 12px;
    */
    line-height: 48px;
    border: 0;
    background-color: transparent;

    /* fix RDV-52 */
    margin-left:0;
    margin-right:0;
    position:absolute;
    right:10px;
}

.navbar-nav > li > button:not(.btn-menu-close),
.navbar-nav > li > button:not(.btn-menu-close):hover
.navbar-nav > li > button:not(.btn-menu-close):focus {
    -webkit-transition: .15s transform ease-in-out;
    transition: .15s transform ease-in-out;
    outline: 0;
}

@media (max-width: 991px) {
    .navbar-nav > li > a{
        font-size:0.55em;
    }
}

@media (min-width: 768px) {
    
    footer .logos img.desktop-hidden { display: none; }
    .logo-img img.mobile-hidden { display: inline-block; margin-left: 1em; } 
    
    .navbar-nav > li {
        border-left: 1px solid transparent;
        border-right: 1px solid transparent;
        -webkit-transition: .2s border-color ease-in-out;
        transition: .2s border-color ease-in-out;
    }

    @media screen and (-webkit-min-device-pixel-ratio:0) { 
        .navbar-nav > li {
            display: flex;
            display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;      /* TWEENER - IE 10 */
        display: -webkit-flex; 
        }
    }

    .navbar-nav > li.opened:after,
    .navbar-nav > li:hover:after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        height: 1px;
        bottom: -1px;
        background-color: transparent;
        z-index: 5;
        -webkit-transition: .2s background-color ease-in-out;
        transition: .2s background-color ease-in-out;
    }

    .navbar-nav>li.opened,
    .navbar-nav>li:hover{
        border-left-color: #dbdbdb;
        border-right-color: #dbdbdb;
    }

    .navbar-nav>li.opened:after,
    .navbar-nav>li:hover:after {
        background-color: #fff;
    }

    .navbar-nav > li.opened > button {
        /*
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
        */
        /* requested by clients to remove this feature */
    }

    .navbar-nav > li:last-of-type .navbar-sub,
    .navbar-nav > li:nth-last-of-type(2) .navbar-sub {
        left: auto;
        right: -1px;
    }

    .navbar-sub > li:first-child {
        display: none;
    }

    .navbar-nav > li.opened .navbar-sub,
    .navbar-item:hover > .navbar-sub {
        opacity: 1;
        visibility: visible;
    }

    .navbar-sub {
        -webkit-transition: .2s opacity ease-in-out, .2s visibility ease-in-out;
        transition: .2s opacity ease-in-out, .2s visibility ease-in-out;
        opacity: 0;
        visibility: hidden;
    }
}


.navbar {
    border: none;
    border-radius: 0;
}

.navbar-sub {
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    position: absolute;
    top: 100%;
    left: -1px;
    width: 350px;
    z-index: 5;
}

.navbar-sub > li:first-child {
    margin-bottom: 10px;
}

.navbar-sub > li > a {
    display: block;
    color: #642667;
    text-decoration: underline;
    font-size: 15px;
    line-height: 1.45;
    padding: 8px 15px;
    -webkit-transition: .1s all ease-in-out;
    transition: .1s all ease-in-out;
}

.navbar-sub > li > a.js-go-back {
    font-size: 18px;
    font-weight: 600;
    color: #009CA7;
    background-color: #eee;
}

.navbar-sub > li > a:hover,
.navbar-sub > li > a:focus {
    color: #009CA6;
    background-color: #eee;
}

/*Modal for search*/

.modal {
    top: 60px;
}

.modal-header {
    border-bottom: none;
}

.head-search {
    height: 45px;
}

@media (max-width: 991px) {
    footer .logos div {
        margin: 5% auto;
        float: left !important;
    }
}


@media (max-width: 767px) {
    footer .legal-links ul li {
        display: block;
        margin-bottom: 10px;
    }
    footer .footer-legals>div>div>div>div {
        margin-bottom: 6%;
    }
    footer .social-links p {
        margin-top: 1em;
    }
    .hide-xs {
        display: none !important;
    }
    .img-full {
        display: none;
    }
    .rdv-search {
        padding-right: 0;
        text-align: right;
    }
    #navbar > .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        width: 100%;
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none;
        margin: 21px 0 0 0;
    }
    .navbar-nav>li {
        position: static;
        float: none !important;
    }
    .navbar-nav>li:first-child {
        margin-bottom: 21px;
    }
    .navbar-nav>li>a,
    .navbar-sub > li > a {
        color: #777;
        text-decoration: none;
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 1.2em;
        outline: none;
    }
    .navbar-nav > li > a,
    .navbar-nav > li.has-subs > a {
        padding-left: 30px;
    }
    .navbar-sub > li > a {
        font-size: 16px;
        padding: 10px 30px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
    .navbar-nav > li {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transition: .2s transform ease-in-out;
        transition: .2s transform ease-in-out;
    }

    .navbar-nav > li.has-subs > a {
        width: calc(100% - 40px);
    }
    .navbar-nav > li > button:not(.btn-menu-close) {
        margin: 0;
        font-size: 18px;
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    .navbar-sub {
        padding: 0;
        border: 0;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        background-color: #fff;
        height: calc(100vh - 69px);
        z-index: 10;
        overflow: auto;
        display: none;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: .2s transform ease-in-out;
        transition: .2s transform ease-in-out;
    }
    .navbar-nav > li.opened .navbar-sub {
        display: block;
    }

    .show-subs .navbar-nav > .navbar-item:not(:first-child) {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    .navbar-nav > .navbar-item:nth-child(2) .navbar-sub { top: calc(-100% + 50px) }
    .navbar-nav > .navbar-item:nth-child(3) .navbar-sub { top: calc(-200% + 50px) }
    .navbar-nav > .navbar-item:nth-child(4) .navbar-sub { top: calc(-300% + 50px) }
    .navbar-nav > .navbar-item:nth-child(5) .navbar-sub { top: calc(-400% + 50px) }
    .navbar-nav > .navbar-item:nth-child(6) .navbar-sub { top: calc(-500% + 50px) }
    .navbar-nav > .navbar-item:nth-child(7) .navbar-sub { top: calc(-600% + 50px) }
    .navbar-nav > .navbar-item:nth-child(8) .navbar-sub { top: calc(-700% + 50px) }
    .navbar-nav > .navbar-item:nth-child(9) .navbar-sub { top: calc(-800% + 50px) }
    .navbar-nav > .navbar-item:nth-child(10) .navbar-sub { top: calc(-900% + 50px) }
    .navbar-nav > .navbar-item:nth-child(11) .navbar-sub { top: calc(-1000% + 50px) }
    .navbar-nav > .navbar-item:nth-child(12) .navbar-sub { top: calc(-1100% + 50px) }
    .navbar-nav > .navbar-item:nth-child(13) .navbar-sub { top: calc(-1200% + 50px) }
    .navbar-nav > .navbar-item:nth-child(14) .navbar-sub { top: calc(-1300% + 50px) }
    .navbar-nav > .navbar-item:nth-child(15) .navbar-sub { top: calc(-1400% + 50px) }
}

@media (max-width: 480px) {
    main {
        margin-bottom: 0;
    }
}


/* --- Media Quires---Desktop Only */

@media (min-width: 768px) {
    main.container {
        /*padding-left: 0;
          padding-right: 0;*/
    }
    .hamburger-menu {
        display: none;
    }
    .logo-img {
        margin: 30px 0;
    }
    .img-mobile {
        display: none;
    }
    .rdv-search {
        margin-top: 40px;
    }
    #rdv-navbar {
        padding-left: 0;
        padding-right: 0;
        margin-left: -15px;
        margin-right: -15px;
    }
    .btn-search-mobile {
        display: none !important;
    }
    .hide-md {
        display: none !important;
    }
    .no-padding-right {
        padding-right: 0;
    }
    .no-padding-left {
        padding-left: 0;
    }
    .pnl-featured, .pnl-contfeatured {
        background: #fff;
    }
    .pnl-featured h2 {
        font-size: 1.0em;
    }
    .pnl-featured-desc {
        font-size: 0.8em;
        margin-left: 20%;
    }
}


/* --- End Global Styles --- */


/* --- Homepage Styles --- */

.hero {
    color: #fff;
    background: #201547;
    overflow: hidden;
}

.hero .hero-image {
    position: relative;
    padding: 5.5% 4%;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 149px;
    /*full height hack*/
    margin-bottom: -99px;
    /*full height hack*/
}

.hero .hero-image .button {
    /* position: relative; Original */
    position: absolute;
    /*added by CS - JIRA RCW-17*/
    bottom: 70px;
    /*added by CS - JIRA RCW-17*/
}

.hero span {
    position: relative;
    text-transform: uppercase;
    font-family: VIC-SemiBold;
    width: 100%;
    z-index: 2;
    font-size: 0.8em;
}

.hero p {
    position: relative;
    font-family: VIC-Bold;
    width: 60%;
    padding: 20px 0;
    font-size: 1.5em;
}

.hero .latest-news {
    padding-bottom: 99px;
    /*full height hack*/
    margin-bottom: -99px;
    /*full height hack*/
    background: #201547;
}

.hero .latest-news h2 {
    text-transform: uppercase;
    font-size: 0.8em;
    font-family: VIC-SemiBold;
    margin: 35px 0 20px;
}

.hero .latest-news ul {
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}

.hero .latest-news ul li {
    position: relative;
}

.hero .latest-news ul li a {
    color: #fff;
    font-size: 0.8em;
    padding: 15px 0 15px 25px;
    display: block;
}

.hero .latest-news ul li a:before {
    content: " ";
    position: absolute;
    left: 0;
    height: 21px;
    width: 21px;
}

.hero .latest-news ul li a.see-all {
    padding-left: 0;
    text-decoration: underline;
    text-decoration-color: #635c7f;
}

.hero .latest-news ul li a.see-all:hover {
    text-decoration-color: #fff;
}

.hero .latest-news ul li a.event:before {
    background: url("https://www.rdv.vic.gov.au/__data/assets/image/0012/1325010/events.png?v=0.7.1") no-repeat;
}

.hero .latest-news ul li a.update:before {
    background: url("https://www.rdv.vic.gov.au/__data/assets/image/0020/1325018/update.png?v=0.7.1") no-repeat;
}

.hero .latest-news ul li a.document:before {
    background: url("https://www.rdv.vic.gov.au/__data/assets/image/0020/1325009/document.png?v=0.7.1") no-repeat;
}

.hero .latest-news ul li a.funding:before {
    background: url("https://www.rdv.vic.gov.au/__data/assets/image/0013/1325011/funding.png?v=0.7.1") no-repeat;
}


/*Featured Panels*/

.pnl-tags {
    color: #000;
    text-transform: uppercase;
    font-size: 0.8em;
}

.pnl-featured {
    position: relative;
}

.pnl-featured [class*="col-md-6"] {
    padding-left: 0;
    padding-right: 0;
}

.pnl-feature-img {
    width: 100%;
}

.pnl-feature-overlay-img {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    height: 100%;
}

.pnl-featured-content {
    position: absolute;
    top: 10%;
    right: 15px;
    z-index: 2;
    width: 35%;
    text-align: right;
}

.pnl-featured-more {
    position: absolute;
    right: 15px;
    z-index: 2;
    bottom: 3%;
}

.pnl-featured-more p {
    font-size: 0.8em;
}


/*.pnl-featured .pnl-tags {
    margin-top: 20%;
}*/

.pnl-contfeatured .pnl-tags {
    margin-top: 6%;
}

.contfeatured {
    padding-left: 4%;
    padding-right: 4%;
    font-size: 0.8em;
}

.contfeatured h2 {
    font-size: 1.8em;
}

.contfeatured .more {
    margin-top: 8%;
}

.pnl-featured .more {
    margin-top: 20%;
    font-size: 0.8em;
}

.contfeatured-date {
    color: #757575;
}


/*Remove padding from panels - Only on Desktop. On mobile the following classes padding vlaues set*/

.no-padding-right {
    padding-right: 0;
}

.no-padding-left {
    padding-left: 0;
}

.home .breadcrumb, .region .breadcrumb {
    display: none;
}

.breadcrumb {
    background: transparent none repeat scroll 0 0;
    display: block;
    margin-bottom: 16px;
    margin-top: 16px;
}

.breadcrumb {
    border-radius: 4px;
    list-style: outside none none;
    margin-bottom: 20px;
    padding: 8px 0;
    font-size: 0.8em;
    color: #333;
}
.breadcrumb > .active { 
   color: #333; 
}

.breadcrumb > li + li::before{
   color: #333; 
}

.breadcrumb a {
    color: #333;
    text-decoration: underline;
}

.breadcrumb a:focus, .breadcrumb a:hover{
  color: #000;
}

/* --- End Homepage Styles --- */


/* --- Page-specific Styles --- */


/* --- End Page-specific Styles --- */


/* --- Mobile specific styles --- */

@media (max-width: 991px) {
    .hero .hero-image {
        background-size: auto;
    }
}

@media (max-width: 767px) {
    .hero p {
        width: 100%;
        color: #fff;
        text-align: center;
        background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
        font-size:1.3em;
    }
    /*  
    .hero .hero-image {
        background-size: contain;
        background-color: #fff;
        margin-bottom: -150px; 
        margin-bottom: -120px;
    }
   */

    .hero .hero-image {
        background-size: auto;
}

    .hero .hero-image span {
        display: block;
        margin-top: 60%;
      /*  color: #000; */
        text-align: center;
    }
    .hero .hero-image button, .hero .hero-image .button {
        /* display: none; */
        position:initial;
        bottom:auto;
    }

    .hero .hero-image button, .hero .hero-image .button {
        display: inline-block;
        width: 100%;
        text-align: center;

    }

    .pnl-featured img {
        display: none;
        border-bottom: 1px solid red;
    }
    .pnl-featured-content {
        position: relative;
        top: 0;
        right: 0;
        z-index: 0;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 5%;
        text-align: left;
    }
    .pnl-featured-more {
        position: relative;
        right: 0;
        z-index: 0;
        bottom: 0;
        padding-left: 15px;
    }
    .pnl-featured [class*="col-md-6"] {
        border-bottom: 2px solid #c6c4c4;
    }
    .pnl-featured .more {
        margin-top: 1%;
    }
    .no-padding-left {
        padding-left: 15px;
    }
    .no-padding-right {
        padding-left: 0;
    }
    .pnl-featured .pnl-tags {
        margin-top: 5%;
    }
    .pnl-contfeatured {
        padding-left: 0px;
    }
    .btn-mobile-search {
        background-size: contain;
        font-size: 1.6em;
        color: #fff;
        border: none;
        background-color: #009ca6;
    }
    .pnl-featured h2, .pnl-contfeatured h2 {
        font-size: 1.17em;
        margin-top: 0;
    }
    .contfeatured {
        margin-bottom: 6%
    }
}

@media (max-width: 767px) {
    .navbar-default {
        display: none;
    }
    .btn-menu-close {
        display: block;
        width: 26px;
    }
    .slideout-menu {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        z-index: 1;
        width: 320px;
        -webkit-overflow-scrolling: touch;
    }
    .slideout-panel {
        position: relative;
        z-index: 1;
        will-change: transform;
    }
    .slideout-open, .slideout-open body, .slideout-open .slideout-panel {
        overflow: hidden;
    }
    .slideout-open .slideout-menu {
        display: block;
    }
}

.mobile-search {
    display: block;
}

.mobile-search .form-inline {
    width: 100%;
    overflow: hidden;
    height: 0;
    transition: height .5s;
}

.mobile-search .form-inline.active {
    height: 75px;
    transition: height .5s;
}

.mobile-search .form-inline .input-group {
    padding: 15px;
    background: #0f7a8a;
}

.mobile-search .form-inline .input-group .form-control {
    border-radius: 0;
    border: none;
    color: #5c5b60;
}

.mobile-search .form-inline .btn-default {
    background: #fff;
    color: #5c5b60;
    border: none;
    border-radius: 0;
}

.mobile-search .form-inline .input-group .input-group-btn {
    width: 1%;
}

@media (min-width: 768px) {
    .mobile-search {
        display: none;
    }
}

@media (min-width: 481px) {
    .mobile-search {
        margin: 0;
    }
}

.btn-mobile-search.active {
    background: #0f7a8a;
}

.btn-mobile-search.active .glyphicon-search {
    display: none;
}

.btn-mobile-search .glyphicon-remove {
    display: none;
}

.btn-mobile-search.active .glyphicon-remove {
    display: block;
}

.btn-mobile-search.hide-md.active:after {
    content: '';
    width: 65px;
    height: 40px;
    background: #0f7a8a;
    bottom: 0;
    position: absolute;
    right: 0;
    top: 99%;
}

.rdv-search .form-inline .input-group input, .rdv-search .form-inline .input-group .input-group-btn button {
    border: none;
    border-radius: 0;
}

.rdv-search .form-inline .input-group .input-group-btn span {
    font-size: 20px;
    margin-top: 4px
}

.hamburger-menu .btn-menu, .rdv-search .btn-mobile-search {
    padding: 20px 20px 15px;
}

@media (min-width: 992px) {
    .pnl-featured-content {
        width: 40%;
    }
}


/* --- Grants and Programs styles --- */

.grants-programs__block {
    padding: 0;
    border-top: 1px solid #e1e1e1;
}

.grants-programs__block-thumb {
    padding: 0;
    overflow: hidden
}

.grants-programs__block-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.grants-programs__block-details {
    padding: 40px 15px;
}

.grants-programs__block-details h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.grants-programs__block-details p {
    font-size: 16px;
    color: #53565a;
    margin-bottom: 20px;
}

.grants-programs__block-link {
    color: #642667;
    border-bottom: 1px solid #642667;
    /* font-size: 18px; */
    font-size:0.9em;
}

.grants-load-more {
    display: block;
    margin-top: 2.75rem;
    text-align: center;
    width: 100%;
}


/* Specificity overrides */

main .grants-load-more {
    font-size: 1.6rem;
    position: static;
}

main .grants-load-more:hover, main .grants-load-more:focus {
    background-color: #fff;
    border-color: #53565a;
    color: #53565a;
}

main .grants-load-more:active {
    text-decoration: none;
}

@media (min-width: 768px) {
    .grants-programs__block-thumb {
        padding-right: 15px;
    }
    .grants-programs__block-details h3 {
        margin-bottom: 30px;
    }
    .grants-programs__block-details p {
        margin-bottom: 30px;
    }
}


/* --- Grants Details styles --- */

main.grants {
    padding-left: 0;
    padding-right: 0;
}

.grants-page__block hr {
    width: 83.33333333%;
    height: 1px;
    background: #e1e1e1;
    border: none;
    margin: 20px auto;
}

.grants-page__block hr.blank {
    background: transparent;
}

.grants-page__block-title {
    text-align: center;
 /*RM remove   margin-top: 40px; */
    margin-bottom: 24px;
 /*RM remove  font-size: 1.3em; */
}

.grants-page__block-content.padded {
    padding: 30px 0;
}

.grants-page__block-content * {
    /*font-size: 0.9em;*/
  /*RM remove  font-size:16px;
    line-height: 26px; */
}

.grants-page__block-content p{
    /*font-size: 0.9em;*/
  /*RM remove   font-size:16px; */
}

.grants-page__footer {
    margin-top: 40px;
    margin-bottom: 40px;
}

.grants-page__footer-share {
    margin-top: 40px;
}

.grants-page__introduction {
    width: 100%;
    text-align: center;
}

.grants-page__introduction-title {
    font-size: 1.6em;
    margin-bottom: 20px;
    margin-top: 40px;
}

.grants-page__introduction-paragraph {
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.grants-page__block-banner {
    width: 100%;
    height: auto;
}

.grants-page__block table {
    margin-top: 30px;
}

.grants-page__navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-right: 0;
    border-left: 0;
    background: #fff;
    z-index: 999;
}

.grants-page__navigation.affix {
    top: 0;
    width: 992px;
}

.grants-page__navigation-item {
    position: relative;
    vertical-align: middle;
    padding: 0 20px;
}

.grants-page__navigation-item>a {
    text-transform: uppercase;
    font-size: 0.8em;
    color: #707070;
    height: 100%;
    max-width: 210px;
    margin: 0 auto;
}

.grants-page__navigation .grants-page__navigation-item>a:hover {
    background-color: transparent;
}

.grants-page__navigation-item.active>a {
    color: #000000;
    font-weight: 700;
}

.grants-page__navigation .grants-page__navigation-item>a:focus, .grants-page__navigation .grants-page__navigation-item>a:hover {
    background-color: transparent;
}

.grants-page__overview {
    text-align: center;
}

.grants-page__story {
    border: 1px solid #e1e1e1;
    border-right: 0;
    border-left: 0;
}

.grants-page__story .container {
    padding: 0;
}

.grants-page__story .grants-page__story-thumb {
    padding: 0;
}

.grants-page__story .grants-page__story-thumb img {
    height: auto;
    width: 100%;
}

.grants-page__story .grants-page__story-details {
    padding: 30px;
}

.grants-page__story .container .grants-page__story-sub {
    text-transform: uppercase;
    font-size: 18px;
}

.grants-page__story .container .grants-page__story-title {
    margin-top: 10px;
}

.grants-page__story .container .grants-page__story-description {
    font-size: 16px;
}

.grants-page__story .container .grants-page__story-link {
    font-size: 0.8em;
}

.grants-steps {
    border-top: 14px solid #53565b;
    margin-top: 30px;
}

.grants-steps__step {
    background: #f0f0f0;
    border-right: 1px solid #d9d9d9;
    padding-top: 15px;
    padding-bottom: 15px;
}

.grants-steps__step .grants-steps__step-title {
    margin: 0 0 5px;
    font-size: 1.4em;
}

.grants-steps__step-content {
    font-size: 1.2em;
    color: #53565a;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .grants-steps__step {
        background: #f0f0f0;
        border-right: none;
        border-bottom: 1px solid #d9d9d9;
    }
    .grants-page__story-thumb {
        margin-right: -15px;
    }
    .grants-page .container {
        /* margin-left: -15px; */
    }
}

@media (max-width: 992px) {
    .grants-page__navigation.affix {
        top: 0;
        width: 768px;
    }
}

@media (min-width: 768px) {
    .grants-page__block hr {
        margin: 40px auto;
    }
    .grants-page__block-title {
     /*RM remove   margin-top: 80px; */
        margin-bottom: 45px;
    }
    .grants-page__block-content.padded {
        padding: 60px 0;
    }
    .grants-page__footer {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    .grants-page__footer-share {
        margin-top: 60px;
    }
    .grants-page__introduction-title {
        font-size: 2em;
        margin-bottom: 40px;
        margin-top: 80px;
    }
    .grants-page__introduction-paragraph {
        font-size: 1.3em;
        margin-bottom: 50px;
        line-height: 30px;
    }
    .grants-page__block table {
        margin-top: 60px;
    }
    .grants-page__story .grants-page__story-details {
        padding: 30px 40px;
    }
    .grants-steps {
        margin-top: 60px;
    }
    .grants-steps__step {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .grants-steps__step-content {
        font-size: 1em;
    }
}

@media (max-width: 767px) {
    .table-responsive{
        margin-top:30px;
        margin-bottom:20px;
        box-shadow: -10px 0 10px -10px #888 inset, 10px 0 10px -10px #888 inset;
    }
    .table-responsive table{
        margin-top:0;
        margin-bottom:0;
        box-shadow: -20px 0 10px -10px #fff inset, 20px 0 10px -10px #fff inset;
    }
}

td[data-doctype] {
    padding-left: 70px;
}
/*
.table>tbody>tr>td[data-doctype="pdf_file"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/image/0007/1403557/icon-file-pdf.png?v=0.6.1') no-repeat;
    background-position: 15px 16px;
    padding-left: 70px;
}

.table>tbody>tr>td[data-doctype="ms_word_document"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/image/0006/1403556/icon-file-doc.png?v=0.6.1') no-repeat;
    background-position: 15px 16px;
    padding-left: 70px;
}

.table>tbody>tr>td[data-doctype="ms_excel_document"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/image/0008/1403558/icon-file-xls.png?v=0.6.1') no-repeat;
    background-position: 15px 16px;
    padding-left: 70px;
}
*/

.table>tbody>tr>td[data-doctype="pdf_file"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/file/0005/1436612/PDF.svg') no-repeat;
    background-position: 15px 8px;
    padding-left: 70px;
    background-size: 5%;
}

.table>tbody>tr>td[data-doctype="ms_word_document"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/file/0007/1436614/WORD.svg') no-repeat;
    background-position: 15px 8px;
    padding-left: 70px;
    background-size: 5%;
}

.table>tbody>tr>td[data-doctype="ms_excel_document"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/file/0006/1436613/XLS.svg') no-repeat;
    background-position: 15px 8px;
    padding-left: 70px;
    background-size: 5%;
}

.table>tbody>tr>td[data-doctype="ms_powerpoint_document"] {
    background: url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1458480/icon-svg-ppt2.svg') no-repeat;
    background-position: 15px 8px;
    padding-left: 70px;
    background-size: 5%;
}


/* svg scaling */

@media (min-width: 481px) {
    .table>tbody>tr>td[data-doctype="ms_excel_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0006/1436613/XLS.svg') no-repeat;
        background-position: 15px 30px;
        padding-left: 70px;
        background-size: 14%;
    }
    .table>tbody>tr>td[data-doctype="pdf_file"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0005/1436612/PDF.svg') no-repeat;
        background-position: 15px 30px;
        padding-left: 70px;
        background-size: 14%;
    }

    .table>tbody>tr>td[data-doctype="ms_word_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0007/1436614/WORD.svg') no-repeat;
        background-position: 15px 30px;
        padding-left: 70px;
        background-size: 14%;
    }

    .table>tbody>tr>td[data-doctype="ms_powerpoint_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1458480/icon-svg-ppt2.svg') no-repeat;
        background-position: 15px 30px;
        padding-left: 70px;
        background-size: 14%;
    }

}

@media (min-width: 768px) {
    .table>tbody>tr>td[data-doctype="ms_excel_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0006/1436613/XLS.svg') no-repeat;
        background-position: 15px 16px;
        padding-left: 70px;
        background-size: 7%;
    }
    .table>tbody>tr>td[data-doctype="pdf_file"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0005/1436612/PDF.svg') no-repeat;
        background-position: 15px 16px;
        padding-left: 70px;
        background-size: 7%;
    }

    .table>tbody>tr>td[data-doctype="ms_word_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0007/1436614/WORD.svg') no-repeat;
        background-position: 15px 16px;
        padding-left: 70px;
        background-size: 7%;
    }

    .table>tbody>tr>td[data-doctype="ms_powerpoint_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1458480/icon-svg-ppt2.svg') no-repeat;
        background-position: 15px 16px;
        padding-left: 70px;
        background-size: 7%;
    }

}

@media (min-width: 992px) {
    .table>tbody>tr>td[data-doctype="ms_excel_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0006/1436613/XLS.svg') no-repeat;
        background-position: 15px 8px;
        padding-left: 70px;
        background-size: 5%;
    }
    .table>tbody>tr>td[data-doctype="pdf_file"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0005/1436612/PDF.svg') no-repeat;
        background-position: 15px 8px;
        padding-left: 70px;
        background-size: 5%;
    }

    .table>tbody>tr>td[data-doctype="ms_word_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0007/1436614/WORD.svg') no-repeat;
        background-position: 15px 8px;
        padding-left: 70px;
        background-size: 5%;
    }

    .table>tbody>tr>td[data-doctype="ms_powerpoint_document"] {
        background: url('https://www.rdv.vic.gov.au/__data/assets/file/0003/1458480/icon-svg-ppt2.svg') no-repeat;
        background-position: 15px 8px;
        padding-left: 70px;
        background-size: 5%;
    }

}


/* --- Page Styling --- */

.landing-page__heading {
    margin-top: 40px;
    margin-bottom: 25px;
}

.landing-page__heading h1 {
    font-size: 34px;
    margin-bottom: 20px;
    margin-top: 0;
}

.landing-page__heading p {
    color: #53565a;
}

.landing-page__banner {
    position: relative;
}

.landing-page__banner img {
    display: block;
    width: 100%;
    height: auto;
}

.landing-page__banner-caption {
    background: #201547;
    color: #fff;
    padding: 15px;
    width: 100%;
    display: block;
}

.landing-page__banner-caption::before {
    content: "";
    position: absolute;
    top: 0;
    left: -34px;
    border-bottom: 55px solid #201547;
    border-left: 34px solid transparent;
    border-right: 0 solid transparent;
    opacity: 0;
    height: 55px;
    width: 34px;
}

@media (min-width: 992px) {
    .landing-page__banner-caption {
        position: absolute;
        bottom: 0;
        right: 0;
        color: #fff;
        height: 55px;
        width: 100%;
    }
    .landing-page__banner-caption::before {
        opacity: 1;
    }
    .landing-page__banner-caption {
        width: auto;
    }
}


/* --- Default changes --- */

blockquote {
    border-left: 5px solid #652468;
    font-size: 16px;
}

.table>thead {
    color: #ffffff;
    border: none;
}

.table>thead>tr>th, .table>tbody>tr>td {
    padding: 15px 30px;
    border-bottom: 0;
}

.table>thead>tr>th {
    background: #009ca8;
    text-transform: uppercase;
    font-size: 14px;
}

.table>thead>tr>th.highlight {
    background: #00868f;
}

.table>tbody>tr>td {
    border-bottom: 1px solid #e1e1e1;
    font-size: 16px;
}

.sidenav {
    background: #ebebea;
    padding: 50px 25px;
}

.content {
    padding: 50px 25px;
}

.accessible-hide {
    position: absolute !important;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0
}


/* --- Grants Search --- */


/* Use image replacement to render checkbox:
 * https://github.com/thoughtbot/bourbon/blob/v4-stable/app/assets/stylesheets/addons/_hide-text.scss
 */

.checkbox-toggle-button {
    background-color: transparent;
    background-image: url('https://www.rdv.vic.gov.au/__data/assets/image/0005/1407524/check-blue.png?v=0.6.1');
    background-position: 0 0;
    background-repeat: no-repeat;
    box-sizing: border-box;
    color: #000;
    height: 16px;
    margin-right: 10px;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
    text-indent: 101%;
    white-space: nowrap;
    width: 16px;
    float: left;
    margin-top: 5px;
}

.checkbox-toggle-button[aria-pressed="true"] {
    background-position: -40px 0;
}

.grants-search__legend {
    display: inline-block;
    width: auto;
}

.grants-search input:focus {
    outline: none;
}

#grants-meta .grants-results__title {
    font-size: 24px;
    margin: 0;
}

.grants-search .keyword {
    position: relative;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}

.grants-search .keyword legend {
    display: none;
}

.grants-search .keyword input[type="search"] {
    background: #fff;
    border: none;
    font-size: 16px;
    padding: 0;
}

.grants-search .keyword input[type="submit"] {
    text-indent: -9999px;
    background: #fff url(mysource_files/search-mini.png) no-repeat;
    background-size: 42px;
    border: none;
    border-radius: 4px;
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 5px;
    height: 100%;
    width: 44px;
}

.grants-search__toggle {
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 0.02em;
    margin-top: 1.5em;
    cursor: pointer;
    line-height: 1
}

.grants-search .grants-search__text {
    font-size: 14px;
    margin-top: 30px;
}

.grants-search__refine {
    display: none;
}

.grants-search .grants-search__refine fieldset {
    margin-top: 40px;
}

.grants-search .grants-search__refine legend {
    border: none;
    font-size: 20px;
    color: #000;
}

.grants-search .grants-search__refine label {
    width: 100%;
    display: block;
    color: #53565a;
    /* font-size:0.9em; */
    font-size:16px;
}

.grants-search__checkbox {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.grants-search__checkbox:checked+.grants-search__checkbox-indicator {
    background-position: -40px 0;
}

.grants-search__checkbox-indicator {
    background-color: transparent;
    background-image: url('https://www.rdv.vic.gov.au/__data/assets/image/0005/1407524/check-blue.png?v=0.6.1');
    background-position: 0 0;
    background-repeat: no-repeat;
    box-sizing: border-box;
    display: inline-block;
    height: 16px;
    margin-right: 10px;
    overflow: hidden;
    width: 16px;
}

.grants-search .grants-search__refine .clear-selection {
    background-color: transparent;
    color: #000;
    display: block;
    font-size: 16px;
    margin-top: 15px;
    padding: 0;
    position: static;
}

.grants-search .grants-search__refine .clear-selection:hover, .grants-search .grants-search__refine .clear-selection:focus {
    text-decoration: none;
}

.grants-search .grants-search__refine .clear-selection::before {
    content: "";
    background: url(https://www.rdv.vic.gov.au/__data/assets/image/0008/1407527/icon-clear.png?v=0.6.1);
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 10px;
}

.grants-results-item {
    display: block;
    padding: 45px 0;
    border-bottom: 1px solid #e3e3e3;
}

.grants-results-item .highlight {
    font-family: 'VIC-SemiBold';
}

.grants-results-item .listing-title {
    color: #000;
    font-size: 20px;
}

.grants-results-item p {
    color: #53565a; 
    /*font-size: 0.9em;*/
    font-size: 16px;
    margin-bottom: 20px;
}

.grants-results-item p a.listing-description-link{
    font-size:14px;
    text-decoration:underline;
}

.grants-results-item.child .listing-parent {
    padding: 0;
    margin: 0;
    position: relative;
}

.grants-results-item.child .listing-parent::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -36px;
    left: 0;
    width: 13px;
    height: 13px;
    border-left: 1px solid #999999;
    border-bottom: 1px solid #999999;
}

.grants-results-item.child .listing-title h3, .grants-results-item.child p {
    padding-left: 20px;
}

.grants-results-item .button {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 20px;
    max-width: 250px;
}

@media (min-width: 767px) {
    .grants-search__refine {
        display: block;
    }
    .grants-results-item .button {
        display: inline-block;
        margin-right: 20px;
        margin-bottom: 0;
    }
}

.grants-search__notes{
    margin:0 0 10px;
}

.grants-search__notes p{
    font-size:16px;
}
.grants-search__notes-visibility{
    display:none;
}

/* --- Grants and programs search panel --- */

.gap-panel {
    background-color: #53565a;
    color: #fff;
    padding: 1em 0;
}

@media (max-width: 767px) {
    .padding-top-xs {
        padding-top: 2em;
    }
}

.no-border {
    border: none;
}

.text--gray {
    color: #53565a;
}

.tag {
    position: relative;
    background-color: #2a2b2d;
    color: #fff;
    display: block;
    padding: 1.1em 1em 1em 1.7em;
    margin: 1.2em 0;
    transition: .45s ease-in-out;
    border-radius: 0 2px 2px 0;
}

@media (min-width: 768px) {
    .gap-panel {
        background-image: url('https://www.rdv.vic.gov.au/__data/assets/image/0013/1410601/gap-panel-bg.png?v=0.6.1');
        background-repeat: no-repeat;
        background-position: right bottom;
    }
    .tag {
        display: inline-block;
        font-size: 85%;
        margin: 0 0 .3em;
        padding: .85em 1em .75em 1.9em;
    }
    .tag:hover, .tag:focus {
        padding-left: 1.75em;
    }
}

.tag:hover, .tag:focus {
    color: #fff;
    background-color: #1d1e1f;
    padding-left: 1.9em;
}

.tag:hover:before, .tag:focus:before {
    width: 20px;
}

.tag:before {
    content: "";
    display: block;
    width: 10px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    transition: width .3s ease-out;
}

.tag--blue:before {
    background-color: #559ba5;
}

.tag--green:before {
    background-color: #7eb292;
}

.tag--orange:before {
    background-color: #d8c133;
}


/* --- Popups --- */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}

.popup-overlay.is-active {
    display: block;
}

.popup__wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 11;
}

.popup__wrapper.is-active {
    display: block;
}

.popup {
    position: relative;
    margin: 1em auto;
    border: 2px solid #201547;
    background-color: #fff;
    padding: 1.2em;
}

@media (min-width: 768px) {
    .popup {
        padding: 1.5em;
        max-width: 70%;
    }
}

.popup__close {
    position: absolute;
    top: .3em;
    right: .3em;
    text-decoration: none;
    font-size: 1.3em;
    padding: .2em;
    transition: .33s;
}

.popup__close:before {
    position: absolute;
    top: 1px;
    left: 0;
    content: "";
    background-color: #337ab7;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .33s;
    transform: scale(0);
}

.popup__close:hover {
    color: #fff;
}

.popup__close:hover:before {
    opacity: 1;
    transform: scale(1);
}

.pop-in {
    margin: 1em auto;
    animation: popIn .33s ease-in;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.pop-out {
    animation: popOut .33s ease-in;
}

@keyframes popOut {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(0);
    }
}

.popup h3 {
    margin-top: 0;
}
.popup .popup-title {
    font-family: 'VIC-Medium';
}

.popup .button {
    margin-bottom: 20px;
    clear: both;
}

.popup .popup__link {
    margin: 40px 0 20px 0;
}

.popup .popup-overview, .popup .popup-status {
    margin-bottom: 40px;
}

.map__region-label {
    font-family: "VIC-Bold";
    font-weight: bold;
    font-size: 17px;
    text-shadow: 0 0 2px #fff, 0 0 3px #fff;
}

.map__subregion-label {
    font-family: "VIC-Bold";
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 1px #fff;
    color: #4e565b;
}

.pcsearch {
    display: none;
}

@media (max-width: 768px) {
    #map {
        max-height: 450px;
    }
}

.pcsearch__error {
    font-weight: bold;
    font-size: 20px;
    display: none;
    color: #e8ff79;
}

#pcsearch__input {
    -moz-appearance:textfield;
}

#pcsearch__input::-webkit-outer-spin-button,
#pcsearch__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.region-module {
    background-color: #f1f2f2;
    padding: 0 35px 65px;
    display: none;
}

.region-module__header {
    padding: 38px 0 31px;
    margin-bottom: 16px;
    border-bottom: 1px solid #c1c3c4;
}

.city__link {
    display: block;
    margin: 12px 0;
    font-size: 16px;
}

.city__thumb {
    width: 40px;
    height: 40px;
    display: inline-block;
    margin: 10px 10px 10px 0;
    background-color: #f6ebea;
}

.cta {
    display: block;
    margin: 14px 0;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    background-color: #009ca6;
    color: #fff;
    transition: .3s ease-in;
}

.cta:hover {
    background-color: #fff;
    color: #009ca6;
    text-decoration: none;
}

.cta:first-of-type {
    margin-top: 0;
}

#region-listing {
    display: none;
}

.regions__group {
    margin-top: 20px;
    padding-left: 30px;
}

.regions__group:nth-of-type(4n+3) {
    clear: left;
}

@media (min-width: 768px) {
    .regions__group:nth-of-type(4n+3) {
        clear: none;
    }
    .regions__group:nth-of-type(3n+4) {
        clear: left;
    }
}

.regions__letter {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    font-weight: bold;
}

.regions__link {
    display: block;
    color: #000;
    margin: 7px 0;
}

.regions__link:hover .regions__link-text {
    background-color: #f6f6f6;
}

.regions__link-text {
    border-bottom: 1px solid #e3e3e3;
}

.regions__regional-city:after {
    content: ' regional city';
    color: #636363;
}

.regions__regional-city:before {
    content: "✮";
    display: inline-block;
    margin-right: 4px;
    font-size: 16px;
    color: #009ca6;
}

.regions__link:first-of-type {
    margin-top: 0;
}

.regions__link:hover {
    text-decoration: none;
}

.bg--white {
    background-color: #fff;
}

.regions-search__label {
    display: block;
}


/*push and pull panels */

@media (min-width: 767px){

    .even-col-md-push-6 {
        left: 50%;
    }

    .even-col-md-pull-6 {
        right: 50%;
    }

}

.content-img-left{
    float: left;
    margin: 6px 20px 0 0;

}

.content-img-right{
    float: right;
    margin: 6px 20px 0 20px;
}

/* responsive images within content */

main.container img { max-width: 100%; height:auto; }


/* Left Navigation */

/* Left navigation layout adjustment */

.left-nav-container > .content-page > .contents-page-intro { width:100%; display: inline-block; }
.left-nav-container > .content-page > .container { width:100%; display: inline-block; }
.left-nav-container > .content-page > .contents-page-intro > .container { width:100%; }
.left-nav-container > .content-page > .contents-page-intro > .container > h1.contents-page-title {  text-align:left; }
.left-nav-container > .content-page > .container > .contents-page-content > img { width:100%; }
.left-nav-container > .content-page > .container > .contents-page-content { padding: 15px; }

.left-nav #nav-secondary { margin-top:80px; }
.left-nav ul.nav-secondary__list { padding: 0; } 
.left-nav ul li { list-style: none; position: relative; }
.left-nav #nav-secondary .nav-secondary__list:first-child { border-right: 0; }
.left-nav #nav-secondary ul li a { padding: 1em 2em 1em 1em; display: inline-block; font-size: 0.8em; color: #333; width: 100%; }
.left-nav .nav-secondary__list li.nav-secondary__item:first-child { border-top: 0; } 
.left-nav .nav-secondary__list li.nav-secondary__item{ border-top: 1px solid #666; } 

/* Left navigation arrows */

.arrow-down:after{font-family: 'Glyphicons Halflings'; font-style: normal; font-size: 12px; color: #009ca6; content:'\e114'; position: absolute; right: 0.8em; top: 1.45em; } 
.arrow-up:after{font-family: 'Glyphicons Halflings'; font-style: normal; font-size: 12px; color: #009ca6; content:'\e113'; position: absolute; right: 0.8em; top: 1.45em;  } 

/* Left navigation sub navigation styling */
.left-nav #nav-secondary ul li > .nav-secondary__list li.nav-secondary__item a { padding-left: 1.5em; }
.left-nav #nav-secondary ul li > .nav-secondary__list li.nav-secondary__item > .nav-secondary__list li.nav-secondary__item a { padding-left: 2em; }
.left-nav .nav-secondary__list li > .nav-secondary__list li.nav-secondary__item { border-top: 1px dotted #666; }

/* Left navigation hover, focus, active */

.nav-secondary__item-active > a:first-child { background: #eee !important; font-weight: bold; }
.left-nav #nav-secondary ul li a:hover, .left-nav #nav-secondary ul li a:focus { color: #009ca6; background-color: #eee !important; }

/* Left desktop adjustments */

@media (min-width: 992px) {

.left-nav { width:25%; display: inline-block; }
.left-nav-container > .content-page { width:75%; display: inline-block; float: right;  }
.left-nav #nav-secondary .nav-secondary__list:first-child{ border-right: 1px solid #666; }

}

/* Site map */
.sitemap__wrapper{
    padding:15px 30px;
}
.sitemap__wrapper ul li{
    padding-top:2px;
    padding-bottom:2px;
    font-size:0.9em;
}
.sitemap__wrapper > ul > li{
    padding-top:30px;
    padding-bottom:15px;
    font-size:1em;
}


.highlight-box{
    background:#EBEBEB;
    margin-bottom:50px;
    padding:15px 30px;
}
.highlight-box > table {
    border:none;
}

/* News pagination */
.general-news-pagination{
    width:100%;
    text-align:center;
    margin:30px auto;
}
.general-news-pagination-prev{
    display:inline-block;
    margin-right:10px;
}
.general-news-pagination-next{
    display:inline-block;
    margin-left:10px;
}
.general-news-pagination-list{
    display:inline-block;
}
.general-news-pagination-list > a{
    margin-left:2px;
    margin-right:2px;
}

/* video embed*/

.embed-responsive-16by9{
   padding-bottom: 0;
}

/* Homepage hero link */
.hero-news-link{
  cursor: pointer !important;
}

/* Responsive video */

.frame-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.frame-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.visually-hidden, .visuallyhidden {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important
}

/* Accordion */

.accordion { display: none; /* initial state */ }
.accordion.active { display: block; }
.accordion-box-toggle:first-of-type { margin-top: 1em; }
.accordion-box-toggle { margin-bottom: 0; margin-top: 0.2em; }
.accordion-box-toggle button { color:#fff ; background: #009ca6; text-decoration: none; display: block; padding: 0.6em 0.5em; width: 100%; text-align: left; border: none;}
.accordion-box-toggle button:hover {background:#037c84 !important; }
.accordion-box-toggle button:after { font-size: 0.8em; content: "\e114"; font-family: 'Glyphicons Halflings'; float: right; }
.accordion-box-toggle.active button:after { content: "\e113"; }
.accordion-box-content {  padding: 1em 1em 1px; margin-bottom: 1em; display: none; /* default state */ }
.accordion-box-content > :first-child { margin-top: 0; }
