#tcChat_btnMinimize_table tbody, #tcChat_btnMinimize_table tfoot,
#tcChat_btnCloseChat_table tbody, #tcChat_btnCloseChat_table tfoot,
#tcChat_btnSend_table tbody, #tcChat_btnSend_table tfoot,
#tcChat_btnEmail_table tbody, #tcChat_btnEmail_table tfoot,
#tcChat_btnFontSize_table tbody, #tcChat_btnFontSize_table tfoot,
#tcChat_btnPrint_table tbody, #tcChat_btnPrint_table tfoot,
#tcChat_btnChime_table tbody, #tcChat_btnChime_table tfoot,
#tcChat_btnRestore_table tbody, #tcChat_btnRestore_table tfoot,
#tcChat_btnRestore_table tbody, #tcChat_btnRestore_table tfoot,
#tcChat_chatWindow_span table tbody, #tcChat_chatWindow_span table tfoot
{
    background: transparent !important;
}



li.bulletpoint {
    list-style: disc;
    padding: 0 0 0 0;
}
table p{
    margin:0;
}
.print-content-link{
    display:none;
}
#content blockquote{
    background: #f9f9f9;
    padding: 0 1em;
    border: 1px solid #dcdcdc;
}
.clear{clear:both;}
#asides iframe{
    max-width:100%;
}
.resource-list{
    padding:0;
    list-style:none;
}
.resource-list>li{
    padding:1em;
}
.resource-list>li:nth-child(odd){
    background:#f3f3f3;
}
.image-gallery .portrait img{
    width:100px;
    height:141px;
}
@media print {
    #quick-exit,.print-content-link{
        display:none;
    }
}

#wrapper1,
.cols{
    width: 100%;
    /*max-width: 580px;*/
    margin-top: 10px;
    display:flex;
    flex-wrap:wrap;
}
/*.cols {
-moz-column-count: 2;
-moz-column-gap: 3%;
-moz-column-width: 30%;
-webkit-column-count: 2;
-webkit-column-gap: 3%;
-webkit-column-width: 30%;
column-count: 2;
column-gap: 3%;
column-width: 30%;
}*/
.box {
    margin-bottom: 10px;
}
.box.one {
    display: inline-block;
    background: #fff;
    margin: 0 0 1.5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 2px 2px 8px 0 #ccc;
    border: 1px solid #ddd !important;
    list-style: none;
    /*height: 470px;
    min-height: 470px;*/
    padding:0;
    /*height:560px;*/
    margin:0 1% 1.5em;
    max-width:48%;
    padding-bottom:108px;
}
.box.one li {
    list-style: none;
}
.clear {
    clear: both;
}
.caption {
    color: #333;
    padding: 9px;
}
.caption > *{
    font-size:0.85em;
}
.caption h3 {
    font-size: 100% !important;
    width: 95%;
    padding: 0 !important;
    margin: 0 !important;
    font-size:1.17647em !important
}
.caption li {
    padding:0;
}
.caption > p {
    /*font-size: 0.85em;*/
    width: 95%;
}
.price {
    color: #005189;
    padding-right: 10px;
    font-weight: 700;
}
legend .h2, legend .h3 {
    font-size: 104%;
}
.addtocart label {
    display: inline
}
.actions {
    padding: 0 !important;
}
.cart-item .submit {
    width: 100% !important;
    padding: .5em !important;
}
.submit-wide {
    width: 100% !important;
    padding: .5em !important;
}
/*.addtocart*/
.cart-item form{
    bottom: 0;
    width: 100%;
    padding: 0 !important;
    position: absolute;
    /*top: 180px;*/
    bottom:0px;
}
.cart-item fieldset{
    width:auto;
}
.addtocart{
    padding:0;
}
.addtocart li {
    padding-bottom: 10px;
    margin:0;
}
#ssq-minicart caption {
  caption-side: initial;
}
#show-products {
    width: 100% !important;
}
.section.cart-item {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
#jb-window-content .jb-caption{
    background-color:rgba(255,255,255,0.5);
}
#jb-window-content .jb-caption *{
    margin-top: .5em;
    margin-bottom: .5em;
}
@media (max-width: 500px){
    .box.one{
        max-width:100% !important;
    }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 420px) {
    /*.cols {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    }
    .box.one {
    width: 280px;
    height: 470px;
    }*/
}
@media only screen and (min-device-width: 421px) and (max-device-width: 500px) {
    /*.cols {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    }
    .box.one {
    width: 380px;
    height: 540px;
    }*/
}
@media only screen and (min-width: 501px) and (max-device-width: 700px) {
    /*.cols {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    }*/
}
@media only screen and (min-width: 900px) and (max-width: 980px) {
    /*.cols {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    }*/
}
@media only screen and (min-width: 981px) {
    /*.cols {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    }*/
    .addtocart { Margin-top:2em;}
}
@media only screen and (min-width: 1100px) {
    /*.cols {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    }*/
    .addtocart { Margin-top:1.5em;}
}
@media only screen and (min-width: 1280px) {
    /* .cols {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    }*/
    .addtocart { Margin-top:0em;}
}
.shop-gallery img {
    padding: 0 !important;
    width: 100%;
    height:auto;
    /*min-height:175px;*/
}
.shop-gallery a:link:hover img {
    border-color: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}
.shop-gallery {
    overflow: hidden;
    padding-bottom:66.80728724881586%;
    position:relative;
}
.shop-gallery a {
    float: left;
    list-style: outside none none;
    position: relative;
    overflow: hidden;
    padding:0 !important;
    position:absolute;
    top:0;
    left:0;
}
.shop-gallery a img {
    width: 100%;
    vertical-align: top;
    overflow: hidden;
}
.shop-gallery a:after, .shop-gallery a:before {
    position: absolute;
    opacity: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    cursor: pointer;
    overflow: hidden;
}
.shop-gallery a:after {
    content: '\A';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("https://www.qld.gov.au/law/assets/images/birth-deaths-marriages-and-divorce/hover-icon.png") rgba(0,0,0,0.6) center no-repeat;

    overflow: hidden;
    padding: 0;
}
.shop-gallery a:hover:after, .shop-gallery a:hover:before {
    opacity: 1;
}
.questions li[hidden]{
    display:none;
}


/* qg-Image gallery */
.qg-image-gallery ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
    max-width: 560px;
}
.qg-image-gallery li {
    margin: 10px;
}
.qg-image-gallery ul img {
    width: 100px;
    height: 100px;
    border: 1px solid $qg-grey-light;
    box-shadow: 0 0 2px 1px #000;
    box-shadow: 0 0 2px 1px rgba(0,0,0,.2);
    object-fit: cover;
}
.fancybox-button{
    background: transparent;
    transform: scale(1.6);
    color: #fff;
}
.fancybox-button--arrow_left,
.fancybox-button--arrow_right{
        padding: 0;
}
.fancybox-caption{
    color: #fff;
}
.fancybox-border:empty{
    display: none;
}
.fancybox-border{
    border-top: 1px solid grey;
    padding-top: 1em;
}
.font-awesome{
    font-family: FontAwesome;
}
@media (max-width: 992px){
    .fancybox-navigation button{
     
        display: none;
    }
    .shop-gallery a:after {
        background: none;
  }
  #qg-primary-content table tr td {
    padding: 0.5em;
  }
  #ssq-minicart {
    margin-bottom: 1.5em !important;
  }
  #ssq-minicart table {
    font-size: 0.8em !important;
  }
}


