/****************** General ******************/

body {
    font-family: Verdana,Geneva,sans-serif;
}

.max-width {
    margin: 0 auto;
    max-width: 82em;
}

.print-version {
    display: none;
}

.printOnly  {
    display: none;
}

/****************** Back to top ******************/

#backtotopfloat {
    opacity: 0.7;
    border-radius: 5px;
    padding: 15px 15px;
    background: #000;
    color: #fff;
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    z-index: 9999;
    cursor: pointer;
    font-family: "Glyphicons Halflings";
  line-height: 1;    
}

/****************** Header, logo, search box and tools ******************/

/* Place holder text in form fields */

::-webkit-input-placeholder {
    color: #FFFFFF;
}

:-moz-placeholder { /* Firefox 18- */
    color: #FFFFFF;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #FFFFFF;
}

:-ms-input-placeholder {  
    color: #FFFFFF;
}

#access {
  position: absolute;
    left: -9999px;    
}

#header {
    color: #fff;
    background-color: #065687;
    position: relative;
    clear: both;
}

#agency-logos {
    float: left;
}

#site-name .screen-version {
    width: 195px;
}

#site-header, #search-wrapper label {
    left: -9999px;
    position: absolute;
    width: 990px;
}

#header-container {
    min-height: 105px;
    margin: 0 auto;
    max-width: 82em;
}

#site-name {
    margin-top: 2px;
    margin-bottom: 5px;
    line-height: 1;
    margin-left: 5px;
    clear: left;
    float: left;    
}

#qg-coa {
    margin-right: 0.5em;
    margin-top: 5px;
    line-height: 1;
    margin-left: 5px;
    clear: left;
    float: left;    
}

#search-form {
    float: right;
    margin: 0.2em 0.5em;
    padding-left: 0.01em;
}

#search-wrapper {
    border: 0 none;
    top: 0;
}

#search-wrapper input:focus { 
    color: white 
}

#search-wrapper input.submit {
    background-color: #3f7da2;
    width: 30px;
}

#search-query {
    height: 30px;
    background-color: #3f7da2 !important;
    border: 0 solid #065687;
    color: #ffffff;
    float: left;
    font-family: verdana;
    font-size: 12px;
    padding: 8px 0px 8px 5px;
    width: 200px;
}

.search-group-btn {
    position: relative;
    font-size: 0;
    white-space: nowrap;
    vertical-align: middle;
    display: table-cell;
}

.search-group-btn .btn {
    background-color: #3f7da2;    
    border-color: #3f7da2;
    margin-bottom: 5px;
    border-radius: 0;    
}

.search-group-btn .glyphicon-search {
    color: #FFF;
}

.tt-menu {
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    font-size: 14px;
    padding-bottom: 5px;
    width: 100%;
    z-index: 105 !important;
}

.tt-menu .tt-suggestion {
    clear: both;
    color: #333;
    cursor: pointer;
    display: block;
    font-weight: normal;
    line-height: 1.42857;
    padding: 3px 10px;
    text-align: left;
}

.tt-menu .tt-suggestion:hover, .tt-menu .tt-cursor {
    background-color: #428bca;
    color: #fff;
    text-decoration: none;
}

.twitter-typeahead {
    font-weight: 400;
}

#tools-links {
    padding-top: 8px;
    float: left;
}

#tools-links li {
    display: inline;
    list-style-type: none;
    padding-top: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;    
}

#tools {
    padding-left: 0.01em;
    background-color: #065687;
    color: #FFFFFF;
    float: right;
    font-size: 85%;
    font-weight:bold;
    padding-top: 14px;
}

#tools a {
  padding: 0.2em 0.0 0.3em;
}

#tools a, #tools a:link, #tools a:visited {
    color: #ffffff;
}

#tools a:hover {
    background: none;
}

#tools ul {
    padding-left: 0;
}

/***************** Social Media ******************/

.news-social-media-row {
    margin-top: 10px;

  padding-top: 2%;
  padding-left: 8.3% !important;
  /* IE 6 Hack to remove social media */
  _display: none;
}
.news-social-media-row h4 
{
  color: #0075BB !important;
  font-size:1.5em;
  font-family: "Helvetica Neue",Arial,sans-serif;
  padding-left: 5%;
  font-weight: bold;
}

.news-social-media-row .news-facebookFeed {
    background-color: white;
    text-align: left; 
}

.news-social-media-row .news-facebookIcon, .news-social-media-row .news-twitterIcon {
    margin-right: 0;
    padding-right: 0;
    padding-left: 0;
    text-align: right;
}
.news-social-media-row .news-twitterFeed, .news-social-media-row .news-facebookFeed, .news-social-media-row .news-youtubeFeed {
    text-align: left;
    margin-left: 0;
    margin-bottom: 10px;
    padding-left: 0;
}

.news-youtubefeed .youtubeicon {
  padding: 0 3px 0 0;
}
.news-youtubeFeed a h4{
  color: #000;
  font-family: "Helvetica Neue",Arial,sans-serif;
}

.news-youtubeFeed p 
{
    padding: 10px;
}

.news-facebookIcon, .news-twitterIcon, .news-youtubeIcon {
  width: 37px !important;
}

.news-youtubeIcon {    
  padding-left: 5px !important;
}

.news-facebookFeed, .news-twitterFeed {
    width: 20.8% !important;
    background: #fff;
    min-height: 100px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;     
    overflow-x: hidden !important;
    max-height: 500px;
}

.news-twitterFeed {
  overflow-y: hidden !important;
}

.news-youtubeFeed 
{
    font-family: Arial;
    font-size: 0.9em;
    height: 500px;
    max-height: 500px;
    width: 30% !important;   
    min-height: 100px !important;
    overflow-y: hidden;
    background: #fff;
    overflow-x: hidden;
    padding-right: 0 !important;
}

.news-youtubeFeed .video {
    padding-left: 5px;
    padding-right: 5px;
    font-family:'Helvetica Neue',Helvetica,Arial,'lucida grande',tahoma,verdana,arial,sans-serif !important;
}

.news-youtubeFeed .video embed, .news-youtubeFeed .video object{
  width: 100% !important;
}
  
.news-social-media-row .twitter-timeline.twitter-timeline-rendered {
    /*width: 100% !important;
    min-width: 100px !important;*/
    overflow-y: hidden !important;
}

.news-social-media-row .timeline .stream {
  overflow-y: hidden !important;
}

/***************** Primary Navigation ******************/

#nav-site h2 {
  left: -9999px;
  position: absolute;
  width: 990px;
}

#nav-site:after, #nav-site .max-width:after {
  clear: both;
  content: ".";
  display: block;
  font-size: 0;
  height: 0;
  visibility: hidden;
}

#nav-site {
    background-color: #063653;
  color: #FFFFFF;
    padding-top: 0.3em;
    padding-bottom: 0em;
  padding-left: 0.7em;
  padding-right: 0.7em;    
  clear: both;
  text-align: center;
}

#nav-site, #nav-site .max-width {
    overflow: visible;
}

#nav-site .max-width {
    text-align: left;
}

#nav-site ul ul li {
    clear: left;
    display: block;
    float: none;
}

#nav-site ul ul li a  {
    display: block;
    float: none;
    padding: 0.5em 1em;    
}

#nav-site ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 100%;
    list-style-position: outside;    
}

#nav-site ul li {
    /* z-index: 5; */
} 

.campaign  {
    z-index: 1;
}

#nav-site ul li {
    position: relative;
}

#nav-site li {
    display: block;
    float: left;
}

#nav-site a {
    padding: 0.3em 1em;
    display: block;
    white-space: nowrap;
}

#nav-site ul li ul {
    left: -999999px;
    top: 2.1em;
}
#nav-site ul li ul {
  position: absolute;
  top: -999999px;
  z-index: 10;
}

#nav-site ul ul {
    margin-left: -5px;
    background-color: #043451;
    background-color: rgba(4,52,81);
    color: #FFFFFF;
    font-size: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
}

#nav-site ul li a:link {
    font-weight: bold;
}

.max-width > ul > li a {   
    font-weight: bold !important;
}

#nav-site ul li ul li a:link {
    font-weight: normal;
}

#nav-site a, #nav-site a:link, #nav-site a:visited {
  color: #FFFFFF;
}

#nav-site a:hover, #nav-site ul li:hover > a {
    text-decoration: underline;
    color: #ffcc33;
}

#nav-site ul ul a:hover {
    text-decoration: underline;
    color: #FFFFFF;
    background-color: #055484;
}

#nav-site li a.open {
    position: relative;
    z-index: 3;
}

#nav-site ul li:hover > a, #nav-site ul li:hover ul,  #nav-site a:hover {
    display: block;
    left: 0.5em;
    top: 2em;
}

/****************** Fat Footer ******************/

.fat-footer-container {
    background-color: #34495E;
}

.fat-footer-container h2 {
    left: -9999px;
    position: absolute;
}

.fat-footer {
    margin: 0 auto;
    padding-top: 2.0em;
    padding-bottom: 1.5em;
    color:#fff;
    max-width: 1000px;
    font-size:85%;
    overflow: hidden;
}

.fat-footer div {
    float: left;
    width: 20%;
}

.fat-footer  .social-media-icons {
    width: 100%;
}

.fat-footer a {
    color:#fff;
    text-decoration:none;
}

.fat-footer a:hover {
    color:#fff;
    text-decoration:underline;    
}

.fat-footer h4 a {
    font-size:85%;
    font-weight: bold;
    color:#7BD642;
    text-decoration:none;
}

.fat-footer h4 a:hover {
    color:#7BD642;
}

.employment, .contact-us, .clinical-practice, .health-systems, .public-health-wellbeing {
    padding-left: 10px;
    padding-right: 10px;
}

.public-health-wellbeing, .health-systems {
    border-left:1px solid #666666;
    border-right:1px solid #666666;
}

.fat-footer ul {
    margin-left: -15px;
}

.social-media-icons {
    border-top: 1px solid #666666;
    margin-top:20px;
    padding:10px 9px;
}

.social-media-icons img {
/*  width: 35px;
    height: 35px;   */
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
    margin-left: 1px;
    margin-right: 1px;    
}

/****************** Footer ******************/

#footer h2 {
    left: -9999px;
    position: absolute;
}

#footer {
    padding: 1em;
    background: #2C3E50;
    position: relative;
    text-align: center;
    clear: both;        
    font-style: normal;
    font-weight: normal;
}

#footer .tagline {
    max-width: 100%;
    min-width: 140px;
}

#footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#footer .max-width {
  font-size: 75%;
}

#footer li {
    display: inline;
    padding: 0.2em 0.5em;        
}

#footer a {
    display: inline;
    padding: 0.2em 0.5em 0.3em;
    white-space: nowrap;
}

#footer a, #footer a:link, #footer a:visited, #footer p {
    color: #ffffff;
}

#qg-branding .tagline {
    width: 327px;
}

#qg-branding .tagline-print {
    display: none;
}

/****************** Hamburger Menu ******************/

.menu-visible .home-page, .menu-visible .page-container, .menu-visible .fat-footer-container, .menu-visible #footer {
    -webkit-transform: translateY(410px);
    transform: translateY(410px);
}

.home-page, .page-container, .fat-footer-container, #footer {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
    -webkit-transition: transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

/****************** Information boxes ******************/

/* RC JAN 2014 - Added to allow information boxes to work on WWW */
/* Information boxes updated to W3C colour contract standards 26 October 2011 */
.box_info, .box_ok, .box_warn, .box_error, .box_tip, .correct_example, .incorrect_example {
    border: 1px solid;
    margin: 10px 0px;
    padding: 12px 8px 12px 42px;
    background-repeat: no-repeat;
    background-position: 6px center;
}
.box_info {
    color: #000099;
    background-color: #C6EFFB;
    background-image: url('/?a=524301');
}
.box_ok {
    color: #003300;
    background-color: #DFF2BF;
    background-image: url('/?a=524304');
}
.box_warn {
    color: #3F3319;
    background-color: #FEFAA5;
    background-image: url('/?a=524308');
}
.box_error {
    color: #1e1c1c;
    background-color: #Ffbaba;
    background-image: url('/?a=524298');
}
.box_tip {
    color: #3F3319;
    background-color: #FFFFCC;
    border-color: #CC9900;
    background-image: url('/?a=524305');
}
.correct_example {
    color: #004000;
    background-image: url('/?a=524304');
}
.incorrect_example {
    color: #900;
    background-image: url('/?a=524298');
}

/****************** Mobile view ******************/

@media (max-width: 767px) {
    /* Header */

    #portal {
        max-height: 99px;
    }

    #search-wrapper {
        width: -moz-calc(100% - 10px);
        width: -webkit-calc(100% - 10px);
        width: calc(100% - 10px);
        padding-bottom: 7px;
        float: none;
        margin-left: 4px;
    }
    
    #tools {
        clear:left;
    }
    
    .twitter-typeahead {
        display: block !important;
    }    

    #search-wrapper input.submit    {
        margin-right: 10px;
    }

    #search-query {
        width: 100%;
		float: none;
    }
    
    #search-wrapper input.submit {
        position: absolute;
        right: 0;
    }

    .search-group-btn {
        width: 1%;
    }    

    #tools, #search-form {
        /* width: 100%; */
        float: none;
    }

    #tools-links {
        float: none;
        margin-left: 3px;
    }    
    
    #tools-links li {
        padding-top: 0.5em;
        padding-bottom: 0.5em;        
    }
    
    /* Primary Navigation */
    
    #nav-site ul ul li {
        display: none;
    }    
    
    #nav-site li:first-child {
    background: #063653;
    }    
    
    #nav-site {
        overflow: hidden;
        position: absolute;
        right: 0;
        width: 100%;
        margin: 0;
        list-style: none;
        background-color: #FFFFFF;
    }

    #nav-site li {
        background: #063653;    
        float: none;
        margin: 3px 0 3px 0;
        padding: 10px 0 10px 0;
    }
    
    #menu-burger {
        position: absolute;
        top: 20px;
        right: 3px;
    }
    
    /* Fat Footer */
    
    .fat-footer-container {
        position: relative;
    }

    /* Footer */
    
    .fat-footer {
        padding-bottom: 0;
        padding-top: 0;
    }

    .fat-footer div {
        width: 100%;
        text-align: center;
    }
    
    .social-media-icons    {
        border: 0;    
        margin-top: 0;
        max-width: 100%;
    }
    
    .public-health-wellbeing, .health-systems, .clinical-practice, .employment, .contact-us h4, .contact-us ul {
    display: none;
    }    
    
    /* Side navigation */
    
    #nav-section {
        border-top: 1px solid #000000;
    }
    
    #nav-section h2 {
        margin-top: 12px;
    }
    
    #nav-section ul {
        line-height: 4 !important;        
    }    
    
    #nav-section li {
        border-top: 1px solid #000;
    }
    
    /* Fix up the issue for the plus / minus menu on mobile phone displays */
    
    div.xcx, div.xcc {
        margin-left: -1.4em;
    }
    
    #nav-section li li {
        margin-left: -2.5em;
        padding-left: 2.5em !important;
    }    

 /*  from mobile-news.css */


    
}

@media (min-width: 768px) and (max-width: 991px) {
    #tools {
        display: block;
    }

    #nav-site {
        display: block;
    }
    #menu-burger {
        display: none;
    }
}

@media (min-width: 992px) {
    #menu-burger {
        display: none;
    }
}


/****************** Social Media Mobile View ******************/

@media (max-width: 767px) {
    .news-facebookFeed, .news-twitterFeed, .news-youtubeFeed {
        display: none;
    }
    
    .social-media-icons img {
        margin-left: 10px;
        margin-right: 10px;
    }    
}

@media (min-width: 768px) {
    .news-facebookFeed, .news-twitterFeed {
        width: 27.2% !important;
        overflow-x: auto !important;
    }
    .news-youtubeFeed {
        width: 30% !important;
    }
    .news-social-media-row {
        margin-top:0;
        padding-left: 0 !important;
    }
}

@media (min-width: 992px) {
    .news-facebookFeed, .news-twitterFeed {
        width: 24.2% !important;
        overflow-x: auto !important;
    }
    .news-youtubeFeed {
        width: 30% !important;
    }
    .news-social-media-row {    
        padding-left: 8.3% !important;
    }
}

@media (min-width: 1200px) {
    .news-facebookFeed, .news-twitterFeed {
        width: 25.2% !important;
        overflow-x: hidden !important;
    }
    .news-youtubeFeed {
        width: 30% !important;
    }
    .news-social-media-row {    
        padding-left: 8.3% !important;
    }
}


/* Side Navigation */

#nav2 h2 {
    color: #065687;
    font-size: 20px;
    padding-left: 0.8em;
    line-height: 1.3em;
}

#nav2xc li {
    /*list-style: disc outside none !important;*/
}
li.xc>div.xcx, li.xc>div.xcc {
    position: absolute;
    left: 18px;
}
div.xcx, div.xcc {
    display: inline;
}

/* Global Health Alerts */
#global-healthalerts {
    background-color: #8C0404;
    /* box-shadow: 0px 1px 5px #063653; */
    color: #fff;
    line-height: 50px;
    font-weight: bold;
}
#global-healthalerts a {
    color: #fff;
}

#global-healthalerts .glyphicon-plus {
    color: #F99;
}

#global-healthalerts .healthalerts  {
    display:inline-block;
    padding-left: 1.3em;
    padding-right:1.3em;
    white-space:nowrap;
    box-sizing:border-box;
}

@media (max-width: 767px) {
    #global-healthalerts .healthalerts  {
        min-width: 50%;
    }
    #global-healthalerts .total-2 .healthalerts-pos-1, #global-healthalerts .total-4 .healthalerts-pos-1, #global-healthalerts .total-6 .healthalerts-pos-1    {
        min-width:51%;
    }
}

/*********************** Custom table styles  **********************/

.header-basic>thead>tr>th, .header-basic>tbody>tr>th {
    background-color: #f1f1f1!important;
    font-weight: bold;
}
