/* mix ins */

.clearfix:after {
  content: '';
  display: table;
  clear: both;
}
.box-sizing {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.text-size-adjust {
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
/* desktop */

#wrap:after {
  content: '';
  display: table;
  clear: both;
}
#logos-container {
  float: left;
  margin-top: 15px;
}
#logos-container .logos {
  margin: 0 -10px;
}
#logos-container .logos:after {
  content: '';
  display: table;
  clear: both;
}
#logos-container .logos .news-logo {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding: 10px;
  float: left;
  width: 33.33%;
}
/* max screen width 942px */

@media all and (max-width: 942px) {
  /* layout */
  
  body {
    min-width: 320px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }
  #container {
    width: 100%;
  }
  #header {
    float: none;
    width: 100%;
    height: 102px;
    padding-top: 50px;
  }
  #header .header-logo {
    display: block;
    width: 315px;
    padding-top: 40px;
    margin: 0 auto;
  }
  #header .header-logo img {
    width: 100%;
    float: none;
    margin: 0;
  }
  #header #topright {
    right: auto;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(#416389, #6b8bae);
  }
  #header #topright:after {
    content: '';
    display: table;
    clear: both;
  }
  #header #topright p {
    display: none;
  }
  #header #topright .mobile-phone {
    display: block;
    float: left;
    color: white;
    line-height: 50px;
    font-size: 18px;
    padding-left: 35px;
    margin-left: 12px;
    position: relative;
    text-decoration: none;
  }
  #header #topright .mobile-phone .icon {
    position: absolute;
    top: 12px;
    left: 0;
    display: block;
    border: 1px solid white;
    border-radius: 50%;
    text-align: center;
    font-size: 15px;
    line-height: 25px;
    height: 25px;
    width: 25px;
  }
  #header #topright .mobile-search-button {
    display: block;
    position: absolute;
    right: 50px;
    text-decoration: none;
  }
  #header #topright .mobile-search-button .icon {
    display: block;
    text-align: center;
    width: 50px;
    line-height: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  #header #topright .mobile-nav-button {
    display: block;
    position: absolute;
    right: 0;
    text-decoration: none;
    border-left: 1px solid #7f9bba;
  }
  #header #topright .mobile-nav-button .icon {
    display: block;
    color: white;
    font-size: 20px;
    line-height: 50px;
    width: 50px;
    text-align: center;
  }
  #header #topright .mobile-nav-button .fa-times-circle {
    display: none;
  }
  #header #topright .mobile-nav-button.open {
    background: #172229;
    border-left: 1px solid #293d4a;
  }
  #header #topright .mobile-nav-button.open .fa-times-circle {
    display: block;
  }
  #header #topright .mobile-nav-button.open .fa-bars {
    display: none;
  }
  #header #topright #search {
    display: none;
    right: auto;
    left: 0;
    top: 50px;
    width: 100%;
    height: 50px;
    background: #172229;
    padding: 0 0 0 15px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #header #topright #search table {
    width: 100%;
  }
  #header #topright #search table td.search-textbox {
    width: -webkit-calc(100% - 50px);
    width: -moz-calc(100% - 50px);
    width: calc(100% - 50px);
  }
  #header #topright #search table td.search-btnGo {
    width: 50px;
  }
  #header #topright #search input.searchbox {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    line-height: 48px;
    font-size: 16px;
  }
  #header #topright #search #btnGo {
    width: 50px;
    height: 50px;
    background: none;
  }
  #header .linkedin-button {
    display: none;
  }
  #nav {
    display: none;
    float: none;
    width: 100%;
    height: auto;
    background: #172229;
    text-align: left;
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 100;
  }
  #nav ul {
    margin: 0;
    width: 100%;
  }
  #nav ul li {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #293d4a;
  }
  #nav ul li a {
    padding: 15px 25px;
    text-transform: uppercase;
    display: block;
  }
  #nav ul li a:hover,
  #nav ul li a.nselected {
    color: white;
    background: #203039;
  }
  #wrap:after {
    content: '';
    display: table;
    clear: both;
  }
  #footer {
    padding: 0 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #footer #footertxt {
    width: 100%;
    position: relative;
  }
  #footer #footertxt img {
    float: none;
    position: absolute;
  }
  #footer #footertxt .img-01 {
    right: 0px;
  }
  #footer #footertxt .img-02 {
    right: 165px;
  }
  #footer #footertxt #btmcopy {
    width: 100%;
  }
  /* banner */
  
  #banner {
    float: none;
    width: 100%;
    height: auto;
    margin-top: 0;
  }
  #banner:after {
    content: '';
    display: table;
    clear: both;
  }
  #banner #sliderFrame {
    display: none;
  }
  #banner .slideshow {
    display: block;
    width: 100%;
    height: 27.6vw;
    overflow: hidden;
    position: relative;
  }
  #banner .slideshow .banner {
    width: 100%;
    height: 27.6vw;
    position: relative;
    background-size: cover;
  }
  #banner .slideshow .banner .caption {
    background: rgba(0, 0, 0, 0.3);
    font-size: 1.8vw;
    font-family: Arial;
    color: #eeeeee;
    font-weight: 700;
    padding: 10px 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  #banner .static-banner img {
    width: 100%;
  }
  /* breadcrumbs */
  
  .breadcrumb {
    margin-left: -35px;
    padding: 2px 0 5px 0;
  }
  .breadcrumb:after {
    content: '';
    display: table;
    clear: both;
  }
  /* home page */
  
  #hcontent {
    float: none;
    width: 100%;
    margin: 0;
    padding: 10px 10px 0 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #hcontent:after {
    content: '';
    display: table;
    clear: both;
  }
  #hcontent .col-wrapper {
    float: left;
    padding: 5px;
    width: 50%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #hcontent .col-wrapper:after {
    content: '';
    display: table;
    clear: both;
  }
  #hcontent .hcoll,
  #hcontent .hcolr {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #hcontent .hcoll .hcolcontent,
  #hcontent .hcolr .hcolcontent {
    float: none;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #hcontent .hcoll .hcolbody,
  #hcontent .hcolr .hcolbody {
    width: -webkit-calc(100% - 122px);
    width: -moz-calc(100% - 122px);
    width: calc(100% - 122px);
  }
  #hcontent .hcoll p,
  #hcontent .hcolr p {
    margin-top: 0;
  }
  #hcontent .hcoll h2,
  #hcontent .hcolr h2 {
    width: 100%;
  }
  #logos-container {
    padding: 0 15px;
  }
  /* narrative pages */
  
  #content {
    float: none;
    width: 100%;
    margin: 10px 0 15px 0;
    padding-bottom: 15px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #content:after {
    content: '';
    display: table;
    clear: both;
  }
  #content h2 {
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: auto;
    background: #3f5e78;
    padding: 4px 15px 4px 15px;
  }
  #content h3,
  #content h4 {
    margin: 12px 15px;
  }
  #content p img,
  #content h3 img {
    margin: 15px 0;
  }
  #content img {
    margin: 0 0 15px 15px;
  }
  #content ul {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding-right: 15px;
    margin-bottom: 15px;
  }
  /* staff index */
  
  .profileindex {
    float: none;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    margin-top: 0;
  }
  .profileindex:after {
    content: '';
    display: table;
    clear: both;
  }
  .profileindex h1,
  .profileindex h2 {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background: #3f5e78;
    padding: 4px 15px 4px 15px;
    width: 100%;
    height: auto;
  }
  .profileindex .profileimage {
    margin: 15px 15px 0 0;
  }
  .profileindex .profileleft {
    width: -webkit-calc(100% - 300px);
    width: -moz-calc(100% - 300px);
    width: calc(100% - 300px);
  }
  .profileindex .profileleft .stafftitle {
    margin-bottom: 12px;
  }
  .profileindex .profileleft .stafftitle:first-of-type {
    margin-top: 12px;
    margin-bottom: 0;
  }
  .profileindex .profileleft .staffemail img {
    margin: 0 !important;
  }
  .profileindex .profileright img {
    margin: 15px 15px 0 0 !important;
  }
  /* publications index */
  
  .articlecontent {
    margin: 20px 0 0 0;
  }
  .articlecontent h3 {
    margin: 12px 15px;
  }
  /* contact us */
  
  .contactbodyleft,
  .contactbodyright {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 50%;
    padding: 10px 15px 15px 15px;
    margin: 0;
  }
  .contactbodyleft iframe,
  .contactbodyright iframe {
    width: 100% !important;
  }
}
@media all and (max-width: 768px) {
  /* home page */
  
  #hcontent .col-wrapper {
    float: none;
    padding: 5px;
    width: 100%;
  }
  #hcontent .hcoll,
  #hcontent .hcolr {
    width: 100%;
    margin: 0;
    min-height: 0;
    height: auto;
    padding-bottom: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #hcontent .hcoll .hcolcontent,
  #hcontent .hcolr .hcolcontent {
    float: none;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  #hcontent .hcoll .hcolbody,
  #hcontent .hcolr .hcolbody {
    width: -webkit-calc(100% - 122px);
    width: -moz-calc(100% - 122px);
    width: calc(100% - 122px);
  }
  #hcontent .hcoll p,
  #hcontent .hcolr p {
    margin-top: 0;
  }
  #hcontent .hcoll h2,
  #hcontent .hcolr h2 {
    width: 100%;
  }
}
@media all and (max-width: 600px) {
  /* layout */
  
  #header {
    height: 85px;
  }
  #header .header-logo {
    width: 280px;
    padding-top: 32px;
  }
  #footer #footertxt img {
    display: none;
  }
  /* banner */
  
  #banner .slideshow .banner .caption {
    display: none;
  }
  /* home page */
  
  #logos-container .logos {
    margin: 0;
    text-align: center;
  }
  #logos-container .logos .news-logo {
    float: none;
    padding: 10px 0;
    width: 100%;
    max-width: 400px;
    display: inline-block;
  }
  /* narrative pages */
  
  #content p img,
  #content h3 img {
    margin: 15px 0;
    width: 100%;
    max-width: 100%;
    height: auto !important;
  }
  /* staff index */
  
  .profileindex .profileimage .profile-image {
    display: block !important;
  }
  .profileindex .profileleft {
    width: 100%;
    float: none;
  }
  .profileindex .profileright {
    width: 100%;
    float: none;
  }
  .profileindex .profileright img {
    display: block;
    width: 280px;
    margin: 0 auto !important;
  }
  /* contact us */
  
  .contactbodyleft,
  .contactbodyright {
    width: 100%;
    float: none;
    padding: 10px 15px 15px 15px;
  }
  .contactbodyleft .fieldvalue,
  .contactbodyright .fieldvalue {
    padding-bottom: 12px;
  }
  .contactbodyleft .fieldtitle,
  .contactbodyright .fieldtitle {
    padding: 12px 0 10px 0;
  }
}
@media all and (max-width: 400px) {
  /* staff index */
  
  .profileindex .profileimage {
    float: none;
    width: 150px;
    margin: 15px auto;
  }
  .profileindex .profileimage .profile-image {
    display: block !important;
    margin-left: 0 !important;
  }
}
