/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size:16px;
    line-height: 1.5em;
    font-family: 'Lato', sans-serif;
}
.main-container {
    flex: 1 1 auto;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

em {
    padding: 0 4px 0 2px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */
.wrapper {
    width: 90%;
    margin: 0 5%;
}


/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0 50px 0;
}

.main article h1 {
    font-size: 2em;
    line-height:inherit;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}


@media only screen and (min-width: 1140px) {

    /* ===============
        Maximal Width
       =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* END HTML BOILERPLATE */

/*=========================
  BREADCRUMBS
  =========================*/
.breadcrumbs {
    font-size:0.8rem;
}
.breadcrumbs a {
    text-decoration: none;
}
.breadcrumbs a:after {
    content: "\f054";
    font-family: FontAwesome;
    color: #bbb;
    margin-right:0.5rem;
    margin-left:0.75rem;
}



/*=========================
  MAIN CONTENT
  =========================*/
.main h1 {
    position:relative;
    margin-left:2rem;
    padding-left:1rem;
}
.main h1::before,
.main h1::after{
    content:' ';
    border-style:solid;
    position:absolute;
    border-width:1rem;
    left:-2rem;
}
.main h1::before{
    border-color:#F2641B;
    top:-0.3rem;
}
.main h1::after{
    border-color:#B9094D;
    bottom:-0.3rem;
}
.main a {
    color: #F2641B;
    text-decoration: none;
}
.main a:active,
.main a:visited {
    color: #B9094D;
}
.main a:focus,
.main a:hover {
    color: #F2641B;
    text-decoration: underline;
}

@media all and (min-width: 450px) {
    .main h1 {
        margin-left:1rem;
        padding-left:0.5rem;
    }
    .main h1::before,
    .main h1::after{
        border-width:0.55rem;
        left:-1rem;
    }
    .main h1::before{
        top:-0.2rem;
    }
    .main h1::after{
        bottom:-0.1rem;
    }
}


/*=========================
  FOOTER
  =========================*/
footer {
    border-top: 3px solid #fff;
}
footer a,
footer a:hover {
    color:#fff;
}
footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.footer-top,
.footer-bottom {
    margin: 0 auto;
    width: 90%;
    max-width: 1280px;
}


/*=========================
  FOOTER TOP
  =========================*/
.footer-top-wrapper {
    background: #B9094D;
    color:#fff;
}
.footer-top {
    padding: 15px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}
.footer-top .qg-logo,
.footer-top .images {
    flex: 1;
}
.footer-top a:link,
.footer-top a:active,
.footer-top a:visited {
    text-decoration: none;
    color: #fff;
}
.footer-top a:hover {
    text-decoration: underline;
    color: #fff;
}


/*=========================
  FOOTER TOP QG LOGO
  =========================*/
.footer-top .qg-logo img {
    width: 100%;
    max-width: 220px;
    min-width: 120px;
}


/*=========================
  FOOTER TOP CONTACT
  =========================*/
.footer-top .contact {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-top .contact > p {
    padding-bottom: 15px;
    width: 100%;
    font-size: 20px;
    text-align: center;
}
.footer-top .contact p {
    margin: 0;
}
.footer-top .call,
.footer-top .connect,
.footer-top .email {
    padding: 0 10px;
    width: 33%;
}
.footer-top .call {
    text-align: right;
}
.footer-top .connect {
    text-align: center;
}
.footer-top .email {
    text-align: left;
}
.footer-top .call h4,
.footer-top .connect h4,
.footer-top .email h4 {
    margin: 0 0 10px;
    padding-bottom: 5px;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #f2641b;
}
.footer-top .call h4 {
    padding-left: 15px;
}
.footer-top .connect h4 {
    padding-left: 8px;
    padding-right: 8px;
}
.footer-top .email h4 {
    padding-right: 15px;
}
.footer-top .connect ul {
    display: flex;
    justify-content: center;
    font-size: 25px;
}
.footer-top .connect li {
    margin: 0 10px;
}

/*=========================
  FOOTER TOP IMAGES
  =========================*/
.footer-top .images {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.footer-top .images a {
    display: block;
    width: 170px;
}
.footer-top .images img {
    padding: 5px 0;
    width: 100%;
    height: auto;
}


/*=========================
  FOOTER BOTTOM
  =========================*/
.footer-bottom-wrapper {
    background: #333;
    color:#fff;
}
.footer-bottom {
    padding: 15px 0;
    text-align:center;
    font-size: 0.9rem;
}

.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-bottom li {
    padding: 0 10px;
}


/*=========================
  FOOTER RESPONSIVE
  =========================*/
@media all and (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
    }
    .footer-top .qg-logo,
    .footer-top .contact,
    .footer-top .images {
        flex: inherit;
    }
    .footer-top .contact {
        padding: 30px 0;
    }
    .footer-top .images {
        justify-content: center;
    }
    .footer-top .images img {
        padding: 5px;
    }
}
@media all and (max-width: 768px) {
    .footer-top .contact {
        flex-direction: column;
    }
    .footer-top .call,
    .footer-top .connect,
    .footer-top .email {
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
    .footer-top .call h4,
    .footer-top .connect h4,
    .footer-top .email h4 {
        padding-left: 8px;
        padding-right: 8px;
    }
}


/*=========================
  HEADER
  =========================*/
header {
    border-bottom: 3px solid #fff;
}
.header-container {
    position:relative;
}

@media all and (min-width: 600px) {
    .header-wrapper{
        justify-content:    space-around;
    }
}

@media all and (min-width: 1100px) {
    .header-wrapper {
        align-items: flex-end;
        display:flex;
        justify-content: flex-start;
    }
}

/*=========================
  HEADER LOGO
  =========================*/

.header-logo {
    text-align: center;
    margin-top:0.5em;
    margin-bottom:0.5em;
    height:142px;
    width:100%;
}



@media all and (min-width: 1100px) {
    .header-logo {
        border-bottom:26px solid #F2641B;
        position:relative;
        padding-left:5%;
        width:20%;
        position:relative;
        margin-top:0;
        margin-bottom:0;
    }
    .header-logo img {
        position:absolute;
        width: 100%;
        max-width: 270px;
        height: auto;
        bottom:-30px;
        z-index:10;
        left:5%;
    }
}
@media all and (min-width: 1550px) {
    .header-logo img {
        bottom:-40px;
    }
}


/*=========================
  SEARCH FORM
  =========================*/

.header-search {
    padding:20px;
    background-color:#F2641B;
}
.search-form {
    position:relative;
    width:100%;
}
.search-form input[type="text"]{
    background-color:#F7F7F7;
    border:1px solid #0089CF;
    padding:0.5em 3em 0.5em 1em;
    width:100%;
    line-height: 1;
}
.search-form .icon-search-button{
    position: absolute;
    top: 1px;
    right: 0;
    display: block;
    width: 2.1rem;
    height: 2.2rem;
    padding: 0;
    border-radius: 0;
    border-style: none;
}
.search-form .icon-search-button:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 2.1rem;
    height: 2.2rem;
    line-height: 2.1rem;
    font-family: "FontAwesome";
    font-size: 20px;
    content: "\f002";
    background-color: #0089CF;
    color: #fff;
    text-align: center;
    display: block;
    z-index: 500;
    cursor: pointer;
}
@media all and (min-width: 1100px) {
    .search-form {
        width:300px;
        position:absolute;
        top:1.6rem;
        right:5%;
        transition: right 0.5s ease;
    }
    .header-search {
        padding:0;
        background-color:none;
    }
}


@media all and (min-width: 1500px) {
    .search-form {
        right:15%;

    }
}

/*=========================
  MAIN NAVIGATION
  =========================*/
@media all and (min-width: 769px) {
    nav {
        width: 100%;
        display: flex;
        position: relative;
        background:#333;
        border-left: 26px solid #F2641B;
    }
    nav::before {
        content: '';
        display: block;
        width: 26px;
        height: 26px;
        background: #B9094D;
        position: absolute;
        bottom: 0;
        left: -26px;
    }
    nav ul {
        margin: 0;
        padding: 0;
        width: 100%;
        display: flex;
        align-items: center;
        list-style: none;
    }
    nav li {
        position: relative;
    }
    nav li ul {
        display: none;
        position: absolute; 
        top: 1em;
        left: 0;
    }
    nav li > ul {
        top: auto;
        left: auto;
        width: 275px;
        background: #444;
    }
    nav > ul > li:hover {
        background: #B9094D;
    }
    nav li:hover ul {
        display: block;
        z-index: 10;
    }
    nav li li:not(:last-child) {
        border-bottom: 1px solid #666;
    }
    nav a:link,
    nav a:active,
    nav a:visited {
        display: block;
        padding: 14px 25px;
        color: #fff;
        text-decoration: none;
    }
    nav a:hover {
        background: #B9094D;
    }
    .mobile-nav {
        display: none;
    }
}

/*=========================
  RESPONSIVE NAVIGATION
  =========================*/
@media all and (max-width: 768px) {
    nav {
        min-height: 44px;
        background: #000;
    }
    nav .responsive-nav {
        display: flex;
        justify-content: flex-end;
        background: #000;
    }
    nav ul {
        margin: 0;
        padding: 0;
        display: none;
        background: #333;
        list-style: none;
    }
    nav li:not(:last-child) {
        border-bottom: 1px solid #444;
    }
    nav ul > li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    nav ul ul {
        width: 100%;
    }
    nav li li {
        background: #444;
    }
    nav li li:not(:last-child) {
        border-bottom: 1px solid #666;
    }
    nav ul > li:not(.expandable) a {
        padding-left: 44px;
    }
    nav li.active {
        background: #B9094D;
    }
    nav a:link,
    nav a:active,
    nav a:visited,
    nav a:hover {
        padding: 10px 10px 10px 0;
        display: block;
        flex: 1;
        color: #fff;
        text-decoration: none;
    }
    nav ul ul a:link,
    nav ul ul a:active,
    nav ul ul a:visited,
    nav ul ul a:hover {
        padding-left: 70px;
    }
}


/*=========================
  MENU ICON
  =========================*/
@media all and (max-width: 768px) {
    nav .main-menu-icon {
        padding: 5px 4px;
        width: 44px;
        height: 44px;
        position: relative;
        display: block;
        background: #333;
    }
    nav .main-menu-icon span {
        margin: 0 auto;
        position: relative;
        top: 15px;
        transition-duration: 0s;
        transition-delay: .2s;
    }
    nav .main-menu-icon span::before,
    nav .main-menu-icon span::after {
        position: absolute;
        content: '';
    }
    nav .main-menu-icon span::before {
        margin-top: -9px;
        transition-property: margin, transform;
        transition-duration: .2s;
        transition-delay: .2s, 0s;
    }
    nav .main-menu-icon span::after {
        margin-top: 9px;
        transition-property: margin, transform;
        transition-duration: .2s;
        transition-delay: .2s, 0s;
    }
    nav .main-menu-icon span,
    nav .main-menu-icon span::before,
    nav .main-menu-icon span::after {
        width: 30px;
        height: 4px;
        background-color: #fff;
        display: block;
    }
    nav .open .main-menu-icon span {
        background-color: rgba(0, 0, 0, .0);
        transition-delay: .2s;
    }
    nav .open .main-menu-icon span::before {
        margin-top: 0;
        transform: rotate(45deg);
        transition-delay: 0s, .2s;
    }
    nav .open .main-menu-icon span::after {
        margin-top: 0;
        transform: rotate(-45deg);
        transition-delay: 0s, .2s;
    }
}


/*=========================
  EXPAND ICON
  =========================*/
@media all and (max-width: 768px) {
    nav i.expand {
        position: relative;
        width: 44px;
        height: 44px;
        padding: 17px;
        cursor: pointer;
    }
    i.expand span::before,
    i.expand span::after {
        position: absolute;
        content: '';
        background-color: #fff;
        transition: transform .2s;
    }
    i.expand span::before {
        width: 10px;
        height: 2px;
        top: 21px;
    }
    i.expand span::after {
        width: 2px;
        height: 10px;
        left: 21px;
    }
    i.expand.open span::before {
        transform: rotate(360deg);
    }
    i.expand.open span::after {
        transform: rotate(450deg);
    }
}


/*=========================
  HERO IMAGE
  =========================*/
.hero-image {
    width: 100%;
    height: 450px;
    border-bottom: 3px solid #F2641B;
    background: no-repeat center center / cover;
}


/*=========================
  HOME
  =========================*/
.home {
    background: url("https://www.destq.com.au/__data/assets/image/0020/1258112/home-bg.jpg") no-repeat center top / cover;
}
.home .main.wrapper {
    margin: 0 auto;
    width: 90%;
    max-width: 1280px;
}
.home article {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
}


/*=========================
  HOME BLOCKS
  =========================*/
.home-blocks {
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 250px);
}
.home-blocks .block {
    margin: 5px;
    width: calc(50% - 10px);
}
.home-blocks .block a {
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    opacity: .9;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease, box-shadow .5s ease;
}
.home-blocks .block a:hover {
    opacity: 1;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, .5);
}
.home-blocks .info {
    padding: 15px;
    width: 50%;
    height: 100%;
    position: relative;
}
.home-blocks .info::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #f00;
}
.home-blocks .info h2 {
    margin: 0;
    font-size: 20px;
}
.home-blocks .info p {
    margin: 15px 0 0;
    font-size: 14px;
    line-height: 1.4em;
}
.home-blocks .block:nth-child(1) {
    width: 100%;
    min-height: 250px;
}
.home-blocks .block:nth-child(1) a {
    background: url('https://www.destq.com.au/__data/assets/image/0005/1255793/events.jpg') no-repeat center 37% / cover;
}
.home-blocks .block:nth-child(2) a {
    background: url('https://www.destq.com.au/__data/assets/image/0007/1255795/business-support.jpg') no-repeat center center / cover;
}
.home-blocks .block:nth-child(3) a {
    background: url('https://www.destq.com.au/__data/assets/image/0008/1255796/careers.jpg') no-repeat center 85% / cover;
}
.home-blocks .block:nth-child(4) a {
    background: url('https://www.destq.com.au/__data/assets/image/0009/1255797/about.jpg') no-repeat center bottom / cover;
}
.home-blocks .block:nth-child(5) a {
    background: url('https://www.destq.com.au/__data/assets/image/0010/1255798/resources.jpg') no-repeat center 85% / cover;
}
.home-blocks .black-orange,
.home-blocks .black-pink {
    margin-bottom: 10px;
    width: auto;
    height: auto;
    max-width: 80%;
    background: rgba(0, 0, 0, .5);
    transition: transform .5s ease;
}
.home-blocks .black-orange::after,
.home-blocks .black-pink::after {
    width: 10px;
    height: 10px;
}
.home-blocks .black-orange::after {
    background: #f2641b;
}
.home-blocks .black-pink::after {
    background: #B9094D;
}
.home-blocks .orange {
    background: #f2641b;
}
.home-blocks .orange::after {
    background: #B9094D;
}
.home-blocks .pink {
    background: #B9094D;
}
.home-blocks .pink::after {
    background: #f2641b;
}


/*=========================
  HOME SOCIAL
  =========================*/
.home-social {
    padding: 10px;
    width: 250px;
}
.home-social .social-icons {
    display: flex;
    justify-content: flex-end;
}
.home-social h4 {
    margin: 0 5px 0 0;
    text-transform: uppercase;
}
.home-social ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.home-social .fa {
    margin: 0 0 0 5px;
    font-size: 25px;
}
.home-social .fa-facebook-official:before {
    color: #3b5998;
    transition: opacity .2s ease;
    opacity: .9;
}
.home-social a:hover .fa-facebook-official:before {
    color: #3b5998;
    opacity: 1;
}
.home-social .fa-twitter:before {
    color: #1da1f3;
    transition: opacity .2s ease;
    opacity: .9;
}
.home-social a:hover .fa-twitter:before {
    color: #1da1f3;
    opacity: 1;
}
.home-social .fa-instagram:before {
    color: #d93175;
    transition: opacity .2s ease;
    opacity: .9;
}
.home-social a:hover .fa-instagram:before {
    color: #d93175;
    opacity: 1;
}
.home-social .fa-linkedin-square:before {
    color: #007ab6;
    transition: opacity .2s ease;
    opacity: .9;
}
.home-social a:hover .fa-linkedin-square:before {
    color: #007ab6;
    opacity: 1;
}
.home-social iframe {
    margin-top: 5px !important;
    margin-right: 10px !important;
    border-left: 1px solid #e2e9ed !important;
    border-right: 1px solid #e2e9ed !important;
}


/*=========================
  HOME CAROUSEL
  =========================*/
/* Hide carousel until js is applied. */
.home-carousel {
    padding: 20px 10px;
    visibility: hidden;
    max-height: 250px;
    background: url('https://www.destq.com.au/__data/assets/image/0009/1256553/regions-carousel-bg.png') no-repeat center left / 75%;
}
.home-carousel h3 {
    margin-top: 0;
    text-align: center;
}
.home-carousel.flipster {
    visibility: visible;
    max-height: none;
}
.home-carousel a:link,
.home-carousel a:active,
.home-carousel a:visited,
.home-carousel a:hover {
    color: #fff;
    text-decoration: none;
}
.home-carousel .flip-content {
    position: relative;
}
.home-carousel .region-name {
    position: absolute;
    bottom: 5px;
    left: 10px;
}
.home-carousel .flip-item img {
    border: 2px solid #fff;
}
.home-carousel .flipster-nav {
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style-type: none;
}
.home-carousel .flipster-nav li {
    margin: 0 4px;
}
.home-carousel .flipster-nav a {
    line-height: 0;
    width: 15px;
    height: 15px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
}
.home-carousel .flipster-nav a::before {
    content: '';
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1px solid #f2641b;
    font-size: 10em;
    border-radius: 0.35em;
    transition: background .5s ease;
}
.home-carousel a:hover::before,
.home-carousel a.flip-nav-current::before {
    width: 15px;
    height: 15px;
    display: inline-block;
    background: #f2641b;
    border-radius: 50%;
}


/*=========================
  HOME RESPONSIVE
  =========================*/
@media all and (max-width: 1024px) {
    .home-blocks .block a {
        opacity: 1;
        align-items: center;
    }
    .home-blocks .black-orange,
    .home-blocks .black-pink {
        margin-bottom: 0;
    }
    /* The colour boxes turn into black-orange/black-pink boxes on smaller devices. */
    .home-blocks .orange,
    .home-blocks .pink {
        width: auto;
        height: auto;
        max-width: 80%;
        background: rgba(0, 0, 0, .5);
    }
    .home-blocks .orange::after,
    .home-blocks .pink::after {
        width: 10px;
        height: 10px;
    }
}
@media all and (max-width: 768px) {
    .home-blocks,
    .home-social, 
    .home-carousel {
        width: 100%;
    }
    .home-social .social-icons {
        justify-content: center;
    }
}
@media all and (max-width: 480px) {
    .home {
        background: #4596d2;
    }
    .home-blocks .block {
        width: 100%;
    }
}


/*=========================
  ACCORDION STYLES
  =========================*/
div[class^="h1-accordion"] > h1,
div[class^="h2-accordion"] > h2,
div[class^="h3-accordion"] > h3,
div[class^="h4-accordion"] > h4,
div[class^="h5-accordion"] > h5,
div[class^="h6-accordion"] > h6 {

    position: relative;
    background-color: #E2E2E2;
    color: #333;
    cursor: pointer;
    clear: both;

    font-size: 16px;
    font-weight: bold;
    line-height: 16px;
    padding: 12px;
    margin: 0px 0px 7px 0px;

}
div[class^="h1-accordion"] span.fa,
div[class^="h2-accordion"] span.fa,
div[class^="h3-accordion"] span.fa,
div[class^="h4-accordion"] span.fa,
div[class^="h5-accordion"] span.fa,
div[class^="h6-accordion"] span.fa {
    margin-top: 2px;
    float: right;
}
.accordion-panel {
    padding: 4px 40px 20px;
}

div[class^="h3-accordion"] > h3:hover {
    background: #B9094D;
    color: #fff;
}

/*=========================
  TABLE STYLES
  =========================*/
table {
    margin: 20px 0;
    width: 100%;
}
th,td {
    padding: 5px 10px;
    border: 1px solid #eee;
}
th {
    background: #eee;
    border: 1px solid #ccc;
}


/*=========================
  INLINE IMAGES
  =========================*/
img.left {
    float: left;
    width: 45%;
    height: auto;
    margin: 0 20px 0 0;
}
img.right {
    float: right;
    width: 45%;
    height: auto;
    margin: 0 0 0 20px;
}
@media all and (max-width: 480px) {
    img.left,
    img.right {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
}

/*=========================
  ALERT MESSAGES
  =========================*/
.alert-panel {
    color: #fff;
    background-color: #B9094D;
    padding: 1rem 0;
}
.alert-panel .alert-inner {
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
}
.alert-panel p:last-child {
    margin: 0;
}
.alert-panel a {
    color: #fff;
    text-decoration: underline;
}

/*=========================
  SEARCH RESULTS
  =========================*/
.search-box-group {
    padding: 20px 0;
}
.search-box-group .search-inputs .search-query-body {
    margin-right: 5px;
    padding: 5px 10px;
    border: 1px solid #aaa;
}
.search-box-group .search-inputs select {
    margin-right: 5px;
    padding: 4px 7px;
    border: 1px solid #aaa;
}
.search-box-group .search-inputs .destq-search-button {
    padding: 4px 20px;
    background: #F2641B;
    border-color: #F2641B;
    border-style: solid;
    color: #fff;
    opacity: .9;
    transition: opacity .3s ease;
}
.search-box-group .search-inputs .destq-search-button:hover {
    opacity: 1;
}
.search-box-group input:focus,
.search-box-group select:focus {
    outline: 0;
    box-shadow: 0 0 4px #F2641B;
}
.search-results {
    padding: 0;
    list-style-type: none;
    counter-reset: search-counter;
}
.search-results li::before {
    content: counter(search-counter) '.';
    counter-increment: search-counter;
    font-weight: bold;
    font-size: 1.17em;
    vertical-align: bottom;
}
.search-results h3 {
    margin-bottom: 0;
    display: inline-block;
}
.search-results .meta {
    font-size: 14px;
    color: #ccc;
}
ul.pagination {
    margin: 30px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style-type: none;
}
ul.pagination a {
    padding: 5px 12px 7px;
}
ul.pagination a:hover {
    text-decoration: none;
    background: #B9094D;
    color: #fff;
}
ul.pagination .active a {
    cursor: default;
    background: #F2641B;
    color: #fff;
}
#search-contextual-navigation {
    margin-top: 30px;
    padding: 10px 30px;
    background: #eee;
}