/*
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 04 February 2015 02:26:19
*/


/* File Enabled at 1024px for first breakpoint*/
/* Then 768px and 640px for tablet */
/* Then 480px for mobile */
body { 
  background: none; 
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
  width:100%;
  right:0;
}

header > div > div {
  background: transparent;
}

/*Removing this tag and added it to body tag*/
/*#mobile-body {
  width:100%;
  right:0;
  overflow: hidden;
}*/

/*GPU hack for mobile device performance*/
#logo, #qut-logo, header, #mobile-dropdown,#global-search-form, #top-nav > ul, .mega-menu-wrapper > div:first-child,#footer-col-1,#footer-col-2,#footer-col-3,#footer-col-4, #promo-banner ul li  {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}

/*#promo-banner ul li {
  -webkit-transition: height 0.5s;
  -moz-transition: height 0.5s;
  -ms-transition: height 0.5s;
  transition: height 0.5s;
}*/

#logo, #qut-logo, header, #mobile-dropdown, #promo-banner {
  -webkit-transition: width 0.5s, height 0.5s;
  -moz-transition: width 0.5s, height 0.5s;
  -ms-transition: width 0.5s, height 0.5s;
  transition: width 0.5s, height 0.5s;
}

#global-search-form {
  transition: height 0.5s, width 0.5s;
  -webkit-transition: height 0.5s, width 0.5s;
  -moz-transition: height 0.5s, width 0.5s;
  -ms-transition: height 0.5s, width 0.5s;
}

#top-nav > ul, .mega-menu-wrapper > div:first-child,#footer-col-1,#footer-col-2,#footer-col-3,#footer-col-4  {
  transition: padding-left 0.5s;
  -webkit-transition: padding-left 0.5s;
  -moz-transition: padding-left 0.5s;
  -ms-transition: padding-left 0.5s;
}

/* Overrides for top nav width down to tablet*/
#study,#research,#industry,#about,#alumni,#international,#news,#campuses { width: auto; }
#study { min-width: 60px; }
#research { min-width: 80px; }
#industry { min-width: 70px; }
#about { min-width: 62px; }
#alumni { min-width: 65px; }
#international{ min-width: 165px;}
#news { min-width: 58px; }
#campuses { min-width: 170px; }

#footer-supplementary-wrapper {
  background-color: #094771;
}

.campuses {
  overflow: hidden;
}

/* Mega Menu Changes */
.mega-menu-wrapper .col-wide {
  margin-right: 20px;
  width: 190px;
}

.mega-menu-wrapper .col-regular {
  margin-right: 20px;
  width: 165px;
}

.mega-menu-wrapper .col-narrow {
  margin-right: 15px;
  width: 165px;
}

.mega-menu-wrapper > div {
  margin-top: 40px;
}

.mega-menu-wrapper h3 {
  margin: 0 0 10px 0;
}


.mega-menu .col-regular form, .mega-menu form  {
  background: rgb(237,237,237); /* Old browsers */
  background: -moz-linear-gradient(top,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 8%, rgba(246,246,246,1) 96%, rgba(237,237,237,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,237,237,1)), color-stop(8%,rgba(246,246,246,1)), color-stop(96%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px solid #000;
  width: 90%;
  height: 25px;
}

.mega-menu .col-regular form .search-input, .mega-menu form .search-input {
  width: 80%;
  margin: 0;
}

.mega-menu form .search-submit, .mega-menu .col-regular form .search-submit {
  background: url(https://www.qut.edu.au/__data/assets/image/0020/356024/search_new_home.png?v=0.1.1) no-repeat;
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
  font-size: 0;
  height: 26px;
  line-height: 0;
  margin: 0;
  padding: 0;
  text-indent: -9999px;
  width: 25px;
  float:right;
}

.mega-menu-wrapper img {
  width: 100%;
}
 
#mobile-dropdown {
  display: none;
}

/* Footer changes */
#footer-supplementary-1 {
  width: 55%;
  margin-right: 10px;
  margin-left: 20px;
}

#footer-supplementary-2 {
  width: 30%;
}

/*#footer-supplementary-2 li:first-child {
  margin: 0;
}*/

#footer-supplementary-2 #footer-social-media-links li {
  margin-right: 5px;
}

#footer-supplementary-wrapper:after
{
  content:".";
  display:block;
  clear:both;
  visibility:hidden;
}

.mega-menu-wrapper > div:first-child {
  margin-left: 20px;
}

.mega-menu-wrapper > div.last {
  /*display: none;*/
}

.mega-menu-wrapper p {
  /*display: none;*/
}

.mega-menu-wrapper p.positioning {
  font-size: 1.2em;
}

.mega-menu h2 {
  font-size: 2em;   
}

#footer-col-1 {
  margin-left: 10px;
}

#footer-expand-content {
  width: 95%;
  margin: 0 auto;
  float: none;
}

#footer-col-1, #footer-col-2, #footer-col-3, #footer-col-4 {
  width: 23%;
  min-width: 147px;
  min-height: 475px;
}

@media only screen and (min-width:0) and (max-width:768px) {
  
  body header {
    box-shadow: 0 !important;

  }
  header nav {
    /*display: none;*/
  }
  #top-nav > ul {
    display: none;
  }

  #mobile-dropdown {
    display: none;
    width: 338px;
    background-color: rgb(55, 55, 55);
    position: absolute;
    right: 3px;
    top: 80px;
    z-index: 1000;
    padding: 5px;
  }

  #mobile-dropdown .drop-down-wrapper {
    display: none;
  }

  #mobile-dropdown ul li {
    border-bottom: 1px solid #242a37;
  }

  #mobile-dropdown ul li a {
    display: block;
    color:#fff;
    font-size: 17px;
    padding: 15px;
    text-shadow: rgb(0, 0, 0) 0px 1px 0px;
    /*font-weight: bold;*/
  }

  .menu-active {
    background-color: rgba(55, 55, 55,0.9) !important;
    display: block;
  }

  #qut-home {
    /*background: #02a49b; */
    background-color: rgb(16, 93, 147);
  }

  #students {
    background: #444; 
  }

  #staff {
    background: #444;
  }

  #footer-supplementary-2 #footer-social-media-links li {
    margin-right: 2px;
  }
}

@media only screen and (min-width:641px) and (max-width:768px) {
  #logo, header #qut-logo {
    background-size: contain;
    width: 39%;
    top: 32px;
  }

  header {
    height: 105px;
  }

  header #global-search-form {
    background: rgb(237,237,237); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(237,237,237,1) 0%, rgba(246,246,246,1) 8%, rgba(246,246,246,1) 96%, rgba(237,237,237,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,237,237,1)), color-stop(8%,rgba(246,246,246,1)), color-stop(96%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(237,237,237,1) 0%,rgba(246,246,246,1) 8%,rgba(246,246,246,1) 96%,rgba(237,237,237,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #000;
    width: 290px;
    right: 60px;
  }

  header #global-search-form .search-input {
    width: 235px;
  }

  header #global-search-form .search-submit{
    background: url(https://www.qut.edu.au/__data/assets/image/0020/356024/search_new_home.png?v=0.1.1) no-repeat;
  }

  #top-nav {
    display:block;
    float:right;
    position: absolute;
    width: 55px;
    height: 70px;
    background: #000;
    top: 33px;
    right:3px;
    background-color: transparent;
    background: url(https://www.qut.edu.au/__data/assets/image/0008/357956/mobile-menu.png?v=0.1.1) no-repeat;
    background-size:85%;
    background-position: 5px 6px;
    border-radius: 3px;
  }


}
@media only screen and (min-width:0px) and (max-width:640px) {
  #logo, header #qut-logo {
    background: url(//www.qut.edu.au/__data/assets/image/0006/257019/corporate-logo-small-m.png) no-repeat;
    left: 0;
    top: 0;
    width: 60px;
  }

  header > div > div {
    height: 50px;
    background-color: rgba(16, 93, 147, 0.7);
  }

  header {
    height: 50px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  header #global-search-form {
    background: transparent;
    top: 10px;
    width: 213px;
    height: 25px;
    right: 45px;
    /*min-width: 25px;*/
  }

  #mobile-desktop-view {
    display: inline-block;
  }

  header #global-search-form {
    background: transparent;
  }

  header #global-search-form .search-submit {
    float: right;
    background:#2772a7 url(//www.qut.edu.au/__data/assets/image/0011/338816/search-mobile-icon2.png?v=0.1.1) no-repeat;
    background-size: 70%;
    background-position: center;
    top:10px;
    width:auto;
    height:29px;
    right:45px;
    min-width: 30px;
    margin-top: 1px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }

  header #global-search-form .search-input {
    /*background: #2772a7;*/
    background: #fff;
    height: 27px;
    width: 175px;
    padding: 0 0 2px 5px;
    margin: 1px 0 1px 3px;
    /*color: #a2c7e1;*/
    font-family: Helvetica, Arial;
    font-size: 1.3em;
    font-weight: normal;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    color: #888;
  }

  header #global-search-form .search-input:focus {
      background: #fff;
      color: grey;
  }

  #search-query {
      display: inline-block;
  }

  #top-nav {
    display:block;
    float:right;
    position: absolute;
    background: url(https://www.qut.edu.au/__data/assets/image/0008/357956/mobile-menu.png?v=0.1.1) no-repeat;
    background-size: 85%;
    background-position: 3px 12px;
    display: inline-block;
    width: 40px;
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    padding:0;
    
  }

  #mobile-dropdown {
    width: 248px;
    background-color: rgb(55, 55, 55);
    position: absolute;
    right: 0;
    top: 50px;
    z-index: 1000;
    padding: 3px 3px 0 4px;
  }

  #footer-supplementary {
    padding-top: 20px;
  }

  #footer-expand-content {
    display: none;
  }

  #footer-supplementary-1{
   /* display: none;*/
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    float: none;
  }

  #footer-supplementary-2 {
    width: 95%;
    margin: 20px 20px 0 10px;
  }

  #footer-supplementary-1 #acknowledgement {
    margin: 15px 0 15px 0;
    padding: 10px 0 10px 70px;
    border-bottom: 1px dotted #3175A4;
    clear: left;
  }

  #footer-supplementary-1 #last-modified {
    margin-top: 10px
  }


  #footer-social-media-links {
    padding-left: 10px;
  }

  #mobile-links {
    display: block;
    text-align: center;
    padding-top: 10px;
  }
  #mobile-links li {
    padding: 2px 10px;
    display: inline;
    border-right: 1px dotted #BFE0FB;
  }

  #mobile-links li:last-child {
    border-right: none;
  }

  #mobile-links a {
    color: #fff;
  }

  #mobile-cricos {
    text-align: center;

  }

  #mobile-cricos p {
    padding-right: 10px;
  }

  #mobile-dropdown ul li a {
    padding: 10px;
  }

  footer {
    background-size: 100% 100%;
  }

  .exiles, #last-modified,.supplementary-links {
    text-align: center;

  }

  #footer-supplementary-2 h3 {
    margin: 0 0 0.4em 0;
  }

  #footer-supplementary-1 #acknowledgement {
    margin: 15px 0 15px 10px;
  }

  #promo-banner span.promo-link {
    width: 80%;
    padding: 2% 8% 2% 3%;
  }

  .home-section {
    padding-top: 10px;
  }

}

@media only screen and (min-width:0px) and (max-width:460px) {
  /*#footer-col-3 {
    clear:left;
    margin-left: 10px;
  }*/

  #footer-col-1 {
    margin-left: 0;
  }

  #footer-col-1, #footer-col-2, #footer-col-3, #footer-col-4 {
    min-width: 137px;
  }

  #footer-supplementary-2 p {
    clear: both;
  }

  #footer-supplementary ul#footer-social-media-links {
    margin: 0px 0 1em 0;
    padding: 20px 0 0 0;
  }

  #footer-supplementary-2 {
    margin: 0 20px 0 10px;
  }

  #footer-col-1, #footer-col-2, #footer-col-3, #footer-col-4 {
    padding-left: 10px;
  }

  #footer-supplementary-2 p {
    clear: both;
  }

  #footer-supplementary ul#footer-social-media-links {
    width: 100%;
  }


  #footer-supplementary-2 h3 {
    margin: 0 0 10px;
  }

  #footer-supplementary-1 ul.exiles li {
    font-size: 1.1em;
  }

  .home-section {
    padding-top: 10px;
  }
  
  .home-section form {
    border-radius: 4px;
    box-shadow: 0 0 3px 1px #ccc inset;
  }

  .home-section h3, .home-section p, .home-section p + h3, .home-section p + ul {
    margin: 0.5em 0 0.3em 0;
  }

  #mobile-footer-in-touch {
    float:left;
    width: 55%;
    }

    #mobile-footer-social-media {
        float:left;
        width: 40%;
        margin-bottom: 10px;
    }

    #footer-supplementary ul#footer-social-media-links {
        border:0;
        padding: 5px 0 0 0;
    }

    footer #mobile-desktop-view {
        display: block;
        font-size: 1.2em;
        text-align: center;
        padding: 10px 0 0 0;
        color: #fff;
        border-top: 1px dotted #3175A4;
        background-image:none ;
    }

}

/* A couple of media q's for responsive nav padding */
@media only screen and (min-width:900px) and (max-width:1024px) { 
  #top-nav > ul {
    padding-left: 90px;
  }
  .mega-menu-wrapper > div:first-child {
    padding-left: 80px
  }
}

@media only screen and (min-width:850px) and (max-width:900px) { 
  #top-nav > ul {
    padding-left: 50px;
  }
  .mega-menu-wrapper > div:first-child {
    padding-left: 50px
  }
}

@media only screen and (min-width:800px) and (max-width:849px) { 
  #top-nav > ul {
    padding-left: 20px;
  }
  .mega-menu-wrapper > div:first-child {
    padding-left: 30px
  }
}

@media only screen and (min-width:770px) and (max-width:799px) { 
  #top-nav > ul {
    padding-left: 5px;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3) and (min-width:0px) and (max-width:460px),
    only screen and (-o-min-device-pixel-ratio: 13/10) and (min-width:0px) and (max-width:460px),
    only screen and (min-resolution: 120dpi) and (min-width:0px) and (max-width:460px)
    {
        header #qut-logo {
            background: url(https://www.qut.edu.au/__data/assets/image/0006/408066/corporate-logo-small-m_2x.png?v=0.1.1) no-repeat;    
            background-size: 100%;
        }
    }