/* Aggregation page layout overwrite*/
   #qg-one-col {overflow:hidden;}
   #qg-one-col > div.qg-site-width.container-fluid {max-width: 100% !important; padding:0 !important;} /*max-width:1327px*/
   #qg-primary-content {padding: 0 !important;}
/* END */

/* custom branding */
#qg-banner-blurb {
    padding-top: 1em;
    /*background: transparent !important;*/
    background: url('https://www.qld.gov.au/__data/assets/image/0018/300780/qra-branding.png') no-repeat !important;
    background-size: cover !important;
    /*border-radius: 40px;*/
}
#qg-banner-blurb .blurb {
    /*position:relative;*/
    background: transparent; width: 100%; 
    margin:0 !important;
    display:flex;
    align-items: flex-start;
    padding: 1em !important;
    justify-content: center;
    flex-direction: column;
}
#qg-banner-blurb .blurb .b-sub {
    display: none;
}
#qg-content {/*padding: 0 3em 3em;*/font-size:1.2em;}

#featureCarousel,
#featureCarousel h2 {color:#000; /*line-height:1.2;*/}
#disclaimer {
    color: #fff !important;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1em 0;
    background: rgba(0,0,0,0.9);
    transition: all .5s;
    -webkit-transform: translateY(-100%); /* WebKit */
    -moz-transform: translateY(-100%); /* Mozilla */
    -o-transform: translateY(-100%); /* Opera */
    -ms-transform: translateY(-100%); /* Internet Explorer */
    transform: translateY(-100%); /* CSS3 */
    /*box-shadow: 0 3px 15px #38050e;*/
    z-index:3;
}
#disclaimer.show {
    -webkit-transform: translateY(0); /* WebKit */
    -moz-transform: translateY(0); /* Mozilla */
    -o-transform: translateY(0); /* Opera */
    -ms-transform: translateY(0); /* Internet Explorer */
    transform: translateY(0); /* CSS3 */
}
#intro {padding: 3em 0 !important; margin-top:3em;}
/*#nomination-categories {background: #fdf2ed;}
#nomination-categories .tiles h4.text-uppercase {font-size:.75em;color:#333; position:relative;}
#nomination-categories .tiles h3 span,
#nomination-categories .tiles h4.text-uppercase span {
    position: relative;
    display: inline !important;
    background: #fff;
    z-index: 1;
    padding-right: 8px;}
#nomination-categories .tiles h3 span {
    background: #017185;
}
#nomination-categories .tiles h3::after,
#nomination-categories .tiles h4::after {
    content: "";
    display: block;
    border-bottom: 1px solid #dbdbdb;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    z-index: 0;
    border-radius: 3px;
}

#nomination-categories .tiles h3::after {
    border-bottom: 1px solid #fff !important;
}*/

#nomination-categories,
#path-to-treaty {position: relative;}
#nomination-categories::before, 
#path-to-treaty::before{
    content: "";
    width: 100%;
    height: 100%;
    background: #f6f6f6;
    position: absolute;
    left: 0;
    z-index: -2;
    top: 0px;
}

#nomination-categories::after, 
#path-to-treaty::after {
    content: "";
    width: 100%;
    height: 100%;
    background: url('https://www.qld.gov.au/__data/assets/image/0013/301720/qra-branding-light.png') no-repeat;
    background-size: cover !important;
    opacity: .4;
    position: absolute;
    left: 0;
    z-index: -1;
    top: 0px;
}

#nomination-process {/*background: #f0eae8; border-radius: 4px;*/}
#nomination-process h2 {color: #000;}
#nomination-process > div:first-child {/*background:#fff;*/ padding:2em 2em 2em 0;}
#nomination-process > div {padding:2em 0 2em 2em;}

#qg-options, #more-info {margin: 0 !important; background: #f6f6f6;}


.qg-banner-blurb_wrapper {
    margin: 0 auto !important; 
    height:100%; 
    display:flex;
    /*background:url('./?a=300780') no-repeat !important; 
    background-size: cover !important;
    border-radius: 40px;*/
}
.qg-banner-blurb_wrapper .blurb::after {
    content: "";
    width: 640px;
    height: 344px;
    display: inline-block;
    background: url('https://www.qld.gov.au/__data/assets/image/0020/300593/ManyTogether-Elements-all-colour.png') no-repeat;
    background-size: contain;
    position: absolute;
    left: 50%;
    bottom: -20px;
    z-index:2;
}


.qg-banner-blurb_wrapper h1 {
    background: transparent;
    padding: 1rem 1.5rem !important;
    display: block;
    width: auto;
}
#qra-text {width:420px;}
#about-artwork {
    font-size: .75em;
    text-align: right;
    display: block;
    margin-bottom: -3em;
    padding-top: 1.5em;
    padding-right: 2.5em;
}

h1 {
    color: #443e80;
    display: inline-block;
    background: #fff;
    font-size: 3.5em;
    padding: .3em .3em 0 .3em;
    border-radius: 8px 8px 0 0;
}
h2 {/*color: #05687b;*/ color: #000; font-size:1.6em;}

section.qg-cards .qg-card .content {background:#40424a !important}
.aggregation-index #qg-one-col.wide #qg-primary-content {
    width: 100%;
    margin-top: 0 !important;
}
.tooltip-inner {
    padding: 1em;
    line-height: 1.4;
    font-size: 1rem;
    max-width: 300px;
}

.btn.btn-primary, .btn.btn-primary:active {background:#af3325 !important; color: #fff !important; border:none !important;box-shadow:none !important;}
.btn.btn-secondary, .btn.btn-secondary:active {background:#fff !important; color: #000 !important; border:2px solid #000 !important;box-shadow:none !important;}

.btn.btn-primary:hover, .btn.btn-primary:focus {
    outline-color: transparent;
    outline-style:solid;
    box-shadow: 0 0 0 2px #cb4739 !important;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
    outline-color: transparent;
    outline-style:solid;
    box-shadow: 0 0 0 2px #ccc !important;
}

#qg-primary-content section {
    padding: 3em 0;
}

.mt-5 {margin-top:2em;}
.mb-5 {margin-bottom:2em;}

legend .alert, 
label .alert {
    color: #f85c50 !important;
}

/*
.tiles h3 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size:1.5rem;
    position: relative;
    display: inline-block !important;
    color: #fff;
}

.tiles {
    margin-left: -0.5em;
    margin-right: -0.5em;
}

.tiles .tile {
    padding:2em;
    border: 2px solid #e2c571;
    background: #7b131a;
    margin: .5em;
    color: #fff;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: 0 -41% !important;
}

.tiles .tile .btn-secondary {
    display:block;
    margin-top:auto;
    background-color: #0f4853 !important;
    color: #fff !important;
}

.tiles .tile .btn-secondary:hover,
.tiles .tile .btn-secondary:focus {
    background-color: transparent !important;
    color: #0f4853 !important;
    border-color: #0f4853 !important;
    
}

.tiles div:nth-child(1) .tile {
    background: url(./?a=298528) #7b131a;
    
}
.tiles div:nth-child(2) .tile {
    background: url(./?a=298527) #7b131a;
}
.tiles div:nth-child(3) .tile {
    background: url(./?a=298529) #7b131a;
}


#past-recipients .slick-list {margin: 0 -.75em;}*/
.last-yr-recipient {
    margin: 0 0.75em;
    background: #fff;
    color: #000;
    border-radius: 4px;
    padding: 0 1.5em 1.5em;
    overflow: hidden;
}
.cate h3 {font-size: 1.18em; position:relative;padding-left: 79px;}
.cate h3::after {
    content: "";
    display: inline-block;
    height:82px;
    width: 68px;
    position: absolute;
    bottom: -12px;
    left: 0;
    background: red;
    background-size: contain !important;
    background-position: bottom !important;
    pointer-events: none;
}

.cate {
    padding: 0.5em 1em;
    color: #05687b;
    display: block;
    font-weight: 900;
    border-radius: 20px;
    width: 100%;
    background-size: cover;
    margin: 1.8em 0;
}

.last-yr-recipient .cate {
    color: #fff;
    background: url('https://www.qld.gov.au/__data/assets/image/0018/300780/qra-branding.png') no-repeat #017185;
    position: absolute;
    right: 0;
    bottom: 0;
    margin:0 0 -1.5em 0;
}
.last-yr-recipient .cate h3 {

    padding-left: 0;
}
.last-yr-recipient .cate h3::after {
    left:auto;
    right: 0;
    width: 80px;
}

.cate-business h3::after {background: url('https://www.qld.gov.au/__data/assets/image/0021/301539/business.png') no-repeat;}
.cate-community h3::after {background: url('https://www.qld.gov.au/__data/assets/image/0013/301540/community.png') no-repeat;}
.cate-education h3::after {background: url('https://www.qld.gov.au/__data/assets/image/0014/301541/education.png') no-repeat;}
.cate-health-wellbeing h3::after {background: url('https://www.qld.gov.au/__data/assets/image/0015/301542/health-wellbeing.png') no-repeat; bottom:0;}
.cate-partnership h3::after {background: url('https://www.qld.gov.au/__data/assets/image/0016/301543/partnership.png') no-repeat;}

.last-yr-recipient h4 {font-size: 1.1em !important; margin-top: 2em; line-height: 1.25;}
.last-yr-recipient h4 a,
.last-yr-recipient h4 a:link,
.last-yr-recipient h4 a:visited,
.last-yr-recipient h4 a:active,
.last-yr-recipient h4 a:focus,
.last-yr-recipient h4 a:hover {color:#000 !important;}

.last-yr-recipient .carousel-item-img {
    padding: 0 1.5em;
    margin-left: -1.5em;
    margin-right: -1.5em;
    position: relative;
}



.last-yr-recipient .carousel-item-content .title {
    display: block;
    font-size: .7em;
    font-weight: 500;
    margin-top: 0.4em;
    opacity: .75;
}

.max-content-width {max-width: 925px; margin: 2em auto; display: block; position: relative;}

.story {
    padding: 1.5em;
    border-radius: 4px;
    background: #fff;
}
.story h3 {
    font-size:1.4rem;
}

.story .img,
.tile .img{
    margin-left: -1.5em;
    margin-right: -1.5em;
    margin-top: -1.5em;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

/*.slick-dots {margin-bottom:-1em;}*/
.slick-dots li {margin: 0;}
.slick-dots li button:before {font-size:9px;}
.slick-next, .slick-prev {width:25px; height:25px; z-index:3;}
.slick-prev {left:-40px;}
.slick-next {right:-40px;}
.slick-next:before, .slick-prev:before {
    color:#333; 
    content:""; 
    width:25px; 
    height:25px; 
    display:block;
    background-repeat: no-repeat;
    background-size: cover;
}
#featureCarousel .slick-next:before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c86466' width='15' height='15' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E");
}
#featureCarousel .slick-prev:before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c86466' width='15' height='15' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E");
}

#sponsor-logos {
    background:#f6f6f6;
    font-size: .9em !important;
}

#sponsor-logos h2 {position: relative; font-size:1.3em; color: #4c4c4c; margin-bottom:3em;}

#sponsor-logos h2 span {
    position: relative;
    display: inline !important;
    background: #f6f6f6;
    z-index: 1;
    padding-right: 8px;
}

#sponsor-logos h2::after {
    content: "";
    display: block;
    border-bottom: 1px solid #dbdbdb;
    position: absolute;
    left: 0;
    bottom: .4em;
    width: 100%;
    z-index: 0;
    border-radius: 3px;
}

#sponsor-logos .row > div {
    margin-bottom:4em;
}

/*
.prev-recipients-carousel .slick-next:before, .prev-recipients-carousel .slick-prev:before {
    width:15px; 
    height:15px;
}
.prev-recipients-carousel .slick-prev {
    left:-25px;
}
}
.prev-recipients-carousel .slick-next {
    right:-25px;
}

.prev-recipients .slick-dots li,
.prev-recipients .slick-dots li button{
    width: 10px;
    height: 10px;
}

.prev-recipients .slick-dots li {margin: 0 2px;}

.prev-recipients .slick-dots li button:before {
    width: 10px;
    height: 10px;
    line-height: 6px;
    font-size: 6px;
}
.prev-recipients-carousel h5 {
    font-size: 1rem;
    margin-bottom: 0.1em;
}
.prev-recipients-carousel span {font-size: .8em;}

.prev-recipients {
    margin-left: -2em;
    margin-right: -2em;
    background: #fff;
    margin-bottom: -2em;
    padding: 2em;
    color: #000;
}
*/
.slick-next:before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='15' height='15' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E");
}

.slick-prev:before {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='15' height='15' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E");
    
}

#featureCarousel .slick-dots li.slick-active button:before {
    color: #ffd53f;
}
#featureCarousel .slick-dots li button:before {
    color: #c86466;
}


#past-recipients .slick-track {display: flex !important;}
#past-recipients .last-yr-recipient {flex: 1; height: auto !important;}

@media screen and (max-width: 1360px) {
    .slick-prev {left:-25px;}
    .slick-next {right:-25px;}
    
    #featureCarousel .slick-prev, #featureCarousel .slick-next {
        background: rgba(0,0,0,.2) !important;
        padding: 41em;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
}
@media screen and (max-width: 1260px) {
    .tiles .tile {
        background-position: 0 42% !important;
    }
}
@media screen and (max-width: 991px) {
    #nomination-process > div, 
    #nomination-process > div:first-child{
        padding: 0;
    }
    #about-artwork {padding-right:0;}
}

@media screen and (max-width: 921px) {
    .qg-banner-blurb_wrapper .blurb::after {
        right: 0;
        left: auto;
        width: 362px;
        height: 196px;
    }
}
@media screen and (max-width: 768px) {
    .qg-banner-blurb_wrapper .blurb::after {
        left: auto;
        right: 0;
        width: 288px;
        height: 154px;
    }
    
     #qra-text {width:315px;}
}

@media screen and (max-width: 645px) {
    #qra-text {width:255px;}
    .qg-banner-blurb_wrapper .blurb::after {
        left: auto;
        right: 0;
        width: 214px;
        height: 115px;
    }
}

@media screen and (max-width: 480px) {
    /*h1 {font-size:3em;}
    .carousel-item .img {min-height: 214px;}
    #qg-primary-content {padding:0;}
    #qg-banner-blurb {background-size: cover !important; padding-top:0 !important;}
    #qg-banner-blurb .blurb {padding:0; margin:0; justify-content: center;}
    #qg-banner-blurb .blurb .b-sub {font-size: 1.4em;}
    .font-size-lg {font-size: inherit; font-weight: inherit;}
    #qg-banner-blurb .blurb {
        color:#fff !important;
    }
    .slick-dots {bottom:-50px;}*/
    
    #qg-banner-blurb .blurb h1 {margin: 0 auto;}
    #about-artwork {padding-top:2.5em; text-align: center;}
    #qra-text {width: 300px;}
    .qg-banner-blurb_wrapper .blurb::after {
        position: relative;
        width:351px;
        height:189px;
        margin-bottom:-32px;
        left: 0;
        margin: 0 auto -32px
    }
}

#qg-primary-content .finalists-accordion section.qg-accordion{
    padding-top:1em;
}

.dark-pattern{
    position:relative;
}

.dark-pattern:before{
    content: "";
    width: 100%;
    height: 100%;
    background: #017185;
    position: absolute;
    left: 0;
    z-index: -2;
    top: 0px;
}

.dark-pattern:after{
  content: "";
    width: 100%;
    height: 100%;
    background: url('https://www.qld.gov.au/__data/assets/image/0013/301720/qra-branding-light.png') no-repeat;
    background-size: cover !important;
    opacity: .03;
    position: absolute;
    left: 0;
    z-index: -1;
    top: 0px;
}

.dark-pattern h3{
    color:#fff !important;
        font-size: 1.3em;
}

.grey-pattern{
    position:relative;
}

.grey-pattern h3{
    color:#000 !important;
        font-size: 1.3em;
}


.grey-pattern:before{
    content: "";
    width: 100%;
    height: 100%;
    background: #f6f6f6;
    position: absolute;
    left: 0;
    z-index: -2;
    top: 0px;
}

.grey-pattern:after{
  content: "";
    width: 100%;
    height: 100%;
    background: url('https://www.qld.gov.au/__data/assets/image/0013/301720/qra-branding-light.png') no-repeat;
    background-size: cover !important;
    opacity: .4;
    position: absolute;
    left: 0;
    z-index: -1;
    top: 0px;
}
.finalists-header{
    background: #b02c18;
    padding: 1em 0 !important;
}
.finalists-header h2{
    color:#fff;
    margin:0;
}

#qg-primary-content .dark-pattern,
#qg-primary-content .grey-pattern {
    padding: 1em 0 !important;
}

.qg-accordion.qg-accordion-v2 article .acc-heading .title{
    text-decoration:none;
}

#featureCarousel .slick-dots{
    display:none;
}