@media only screen and (min-width: 992px){
  .banner .banner-image {
/*38.28% ratio (49:128)*/
    height: 359.8px;
    width: 940px;
    overflow: hidden;
  }
}

@media only screen and (min-width: 1200px){
  .banner .banner-image {
    height: 436.4px;
    width: 1140px;
  }
}

/* NEW EVENTS STUFF */

.gre-sidebar-assetlisting .gre-events-listing {
  padding: 0; 
}

.gre-sidebar-assetlisting .gre-events-listing-event {
  padding: 0;
  margin-bottom: 0;
  border-bottom: 2px solid #f6f6f6;
}


.gre-sidebar-assetlisting .gre-events-listing-event a {
  padding-top: 15px;
  display: block;
}

.gre-sidebar-assetlisting .gre-events-listing-event a:hover, .gre-sidebar-assetlisting .gre-events-listing-event a:active {
  text-decoration: none !important;
}

.gre-sidebar-assetlisting .gre-events-listing-event h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 21px;
  padding-right: 0;
  margin-left: 79px;
}

.gre-event-table td b {
  font-weight: bold;
  display: inline-block;
  width: 120px;
  text-align: left;
}

.gre-event-table td {
  padding-top: 7px;
  padding-bottom: 7px;
} 


.gre-sidebar-assetlisting .gre-events-listing-event h4 {
  margin-left: 79px;
}

.gre-sidebar-assetlisting .gre-events-listing-event-date {
  padding: 0;
  width: 64px;
  font-size: 54px;
}

@media only screen and (min-width: 992px) {
  .banner h1 {
    z-index: 1000;
  }
}

/* IMAGE PREVIEW PAGES */

div.preview-image {
    overflow: hidden;
}

div.mosaic-preview-container {
    margin: 30px 0;
    background: #060360;
    display: table;
}

div.mosaic-preview-container .caption {
padding: 15px;
    display: table-cell;
}

div.banner-preview-container grebanner img {
    display: block;
}

.banner-preview-container .banner-image.preview-image {
    display: block;
}
div.page-content div.image-test-container .banner-preview-container grebanner img {
    display: block !important;
}

div.image-test-container .article-body {
    background: #fff;
    padding: 20px;
    padding-top: 15px;
    float: left;
    margin-top: 70px;
}

/* Side banner test */

div.page-content grebanner img {
  display: none;
}
div.banner-padding {
  display: none;
  visibility: hidden;
}

 /* Temp(?) remove existing image */
.side-banner img.right-img {
    display:none;
}

@media (min-width: 350px) {
  .side-banner .article-body grebanner {
    display: block;
    width: 100%;
    text-align: center;
  }
  .side-banner .banner-image {
    display: none;
  }
  .side-banner .article-body grebanner img {
    width: 75%;
    padding: 15px 0;
    display: block;
    margin: 0 auto;
  }
  .side-banner .article-body grebanner img.wide {
    width: 100%;
  }
}

@media (min-width: 600px) {
  .side-banner div.page-content {
    margin-top: 15px;
  }

  .side-banner p.newsdate {
    margin-top: -55px;
    margin-bottom: 0;
    height: 50px;
  }

  .side-banner .article-body grebanner img {
    width: 38.1vw;
    float: right;
    padding: 15px 0 30px 40px;
  }
  .side-banner .article-body grebanner img.wide {
    width: 48vw;
  }
}

@media (min-width: 768px) {
  .side-banner p.newsdate {
    width: 313px;
  }
  .side-banner .article-body grebanner img {
    width: 274px;
    margin-right: -42px;
    margin-top: -65px;
  }
  .side-banner .article-body grebanner img.wide {
    width: 444.4px;
  }
}

@media (min-width: 992px) {

  .side-banner .article-body grebanner img {
    width: 343px;
    margin-right: -35px;
    margin-top: -60px;
    padding: 0 0 30px 40px;
  }
  .side-banner .article-body grebanner img.wide {
    width: 555.6px;
  }

  .side-banner .banner h1 {
    background-color: transparent;
    color: #3e3e3e;
    border-color: transparent;
    font-size: 50px;
    padding: 45px 15px 15px;
    left: 0;
    position: relative;
    margin: 0;
    max-width: none;
    min-width: initial;
  }

  .side-banner p.newsdate {
    margin-top: -75px;
    width: 400px;
    line-height: 1.5;
    height: 60px;
  }

  .side-banner .article-body grebanner img {
    display: block;
  }
}

@media (min-width: 1200px) {

  .side-banner p.newsdate {
    font-size: 125%;
    margin-top: -90px;
    height: 80px;
  }

  .side-banner div.banner-padding img, 
  .side-banner .article-body grebanner img  {
    min-width: 450px;
    width: 481.5px;
  }
  .side-banner div.banner-padding img.wide, 
  .side-banner .article-body grebanner img.wide {
    width: 665px;
  }

  .side-banner .article-body grebanner img {
    margin-right: -340px;
    margin-top: -85px;
  }
  .side-banner div.banner-padding {
    display: block;
    float:right;
  }


  .side-banner #custom-sidebar, .side-banner nav {
      clear: right;
  }

}

/* Edit button (PR stories only) */

.side-banner div#edit {
    position: fixed;
    width: 70px;
    color: white;
    background: #606eb2;
    right: 0;
    bottom: 200px;
    padding: 15px;
    text-align: left;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.side-banner div#edit a {
    color: #fff;
}

.side-banner div#edit span.status-colour {
    display: block;
    height: 1.5em;
    width: 1.5em;
    border: 2px #fff ridge;
    margin-right: auto;
    margin-left: auto;
}

/* News article test */

.article img.main-image {
    float: right;
    width: 450px;
    margin: -80px -386px 80px 30px;
}

.article-sidebar img.main-image {
    margin: -80px 0 80px 0;
    visibility: hidden;
}

.article .article-sidebar section {
    clear: both;
}

@media only screen and (min-width: 992px) {
 .article .banner.container {
    margin-bottom: 60px;
 }
}
/* MOBILE ITINERARY V2 */

body.mobile {
  margin-top: 0;
}

.mobile .slide {
  padding-top: 30px;
  padding-bottom: 30px;
}

.mobile a.down {
  padding-top: 30px;
  display: block;
  position: relative;
  bottom: auto;
}

.mobile .gre-itinerary-item {
  border-top: 1px solid #fff;
  text-align: left;
  padding: 8px;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 14px;
}

.mobile .gre-itinerary-item.first {
  border-top: 0;
}

.mobile .gre-itinerary-item h4 {
  padding-left: 20px;
}

.mobile .gre-itinerary-item h4.gre-itinerary-time {
  font-weight: 400;
}

.mobile .gre-itinerary-item .gre-itinerary-time i {
}

.mobile .gre-itinerary-item p {
    font-size: 14px;
}

.mobile .gre-itinerary-item i {
  float: left;
  display: block;
  width: 15px;
  margin-left: -20px;
  margin-top: 1px;
}

/* PROMO VS BANNER SLOT */

.banner-promo {
  display: none; 
  margin-top: 15px;
}

html.promo .banner-promo {
  display: block;
}

html.promo .banner-promo img {
  max-width: 100%;
}

html.promo .banner-bg {
  display: none;
}

html.promo .banner h1 {
  position: relative;
  bottom: auto;
  padding-left: 0;
  background-color: transparent;
  color: #3e3e3e;
  margin-top: 45px;
}

/*===== PROGRAMME FALLBACKS =====*/
.pg-grid .search-results-numbers, .pg-grid .tile-container {
    display: none;
}


/*===== ACCOMMODATION =====*/
/* Test viability for main rollout */

/*
.accommodation .page-content > div {
    background: #fff;
    padding: 15px;
    margin: 15px 0 30px 0;
}

// Adjust for headers 
.accommodation .page-content > h2, .accommodation .page-content > h3,  .accommodation .page-content > h4 {
    padding: 0 15px;
}

.accommodation .page-content > div h2 {
    background: #f6f6f6;
    padding: 30px 15px 15px 15px;
    margin: 15px -15px 30px -15px;
}

.accommodation .page-content > div h2:first-child {
    padding: 0 15px 15px 15px;
    margin: -15px -15px 30px -15px;
}

.accommodation .page-content > div > h3:first-child {
    margin-top: 10px;
}

.accommodation .page-content > div h2:last-child {
    margin: 30px -15px -30px -15px;
}
*/

/* Adjust for modules */

div#pg-similar {
    height: 0;
    padding: 0;
    margin: 0;
}

.auto-background .page-content > div.module, .hk-page-content > div.module {
    background: transparent;
    padding: 0;
    margin: 15px 0;
}


/* Readjust for maps */

div.module.pg-course-maps, .auto-background div.module.pg-course-maps {
    background: #fff;
    margin-bottom:30px;
}

.page-content > div.pg-course-maps, .auto-background .page-content > div.pg-course-maps {
    background: #fff;
    padding: 0;
}


.page-content > div.pg-course-maps > h2:first-child, .auto-background .page-content > div.pg-course-maps > h2:first-child {
    margin: 0;
}



/* Unistats */

@media (min-width: 768px){
  .hk-unistats h2 {
      width: 30%;
      float: left;
  }

  .hk-unistats .unistats-boxes {
      width: 70%;
      float: right;
  }
}




.accommodation .quote {
    background: white;
    padding: 15px 30px;
}

.accommodation .quote.big-text blockquote {
    padding: 0;
    font-size: 1.5em;
}

.accommodation blockquote p {
    font-size: inherit;
}

@media (min-width: 992px){
  .accommodation .quote {
      padding: 15px 60px;
  }

  .accommodation .quote.big-text blockquote {
      font-size: 2em;
  }
}

/* HEADER ADJUSTMENT */

/* If h2 is first element of content, push up */

.hk-page-content>div:first-child>h2:first-child {
    margin-top: -30px;
}

/* If h2 is outside of a div, push right */

.hk-page-content>h2 {
    margin-left: 0;
    margin-right: 0;
}

/* ROW ADJUSTMENT (negates first-div hack for bootstrap rows */

.hk-page-content>div.row {
    background: none;
    padding: 0;
    margin: 0 -15px;
}

/*  MOSAIC GENERAL  */

@media (min-width: 992px) {
  div.tile-container.all-giant {
    margin-left: 7.5%;
  }
  div.tile-container.all-giant .giant-companion {
    width: 25%;
    height: 400px;
  }
}

/* MOSAIC FOR IFRAME */

.image-tile iframe {
    width: 120%;
    height: auto;
}

@media (min-width: 420px){
  .image-tile iframe, .tile iframe {
    height: 219px;
    width: auto;
    position: absolute;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    transform: translate(-50%,0);
  }
  .image-tile iframe {
    height: 200px;
    width: 100%
  }
}

/* GATEWAY ADJUSTMENTS */
@media (min-width: 600px){
  div.gre-gateway-tile-container {
    width: auto;
  }
}


/* FORM ADJUSTMENTS */

p.sq-form-error:before, .sq-form-error p:first-of-type:before {
    content: "* ";
}

.sq-form-error, 
span.login-message {
    font-style: italic;
    font-weight: bold;
    color: indianred;
}

.sq-form-question {
    padding: 15px 0;
}

.sq-form-question-answer ul {
    list-style-type: none;
    padding: 0;
}

.sq-form-required-field {
    color: indianred;
}

.sq-form-submit {
    margin: 15px 0 30px 0;
}

legend.sq-form-question-title {
    font-size: inherit;
    font-weight: bold;
    padding: 0 15px;
    width: auto;
}

.sq-form-question-answer label {
    font-weight: normal;
}


@media (min-width: 1200px){

  .navbar-nav {
      padding: 12px 0 0 50px;
  }

  li.dropdown>div {
      top: 118px;
  }
}



/* DROPDOWN MAIN MENU (delay) */

.dropdown-menu {
  /** Introduce delay on dropdown (use visibility instead of display) **/
  visibility: hidden;
  transition: 0.2s 0.2s;
  display: block;
}

.dropdown:hover .dropdown-menu, 
.dropdown:active .dropdown-menu {
    visibility: visible;
    transition-delay: 0.1s 0.1s; /* No delay on visible */
}

/* Back end gallery */

.admin .gallery>div {
 display: inline-block;
 float: left;
}

.admin .gallery > div {
 max-width:100%;
 max-width:150px;
}

/* PROTO-LONGFORM */

.proto-longform .banner,
.proto-longform .section-navigation {
    display: none;
}

.proto-longform .page-content {
    width: 100%;
}

.hk-page-content .lf-cover-image {
    width: 100% !important;
    height: 900px;
    position: absolute !important;
    top: 100px;
    left: 0;
    margin: 0;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position-y: 100px !important;
}

.hk-page-content .lf-cover-image div.hero-text {
    bottom: 55%;
}

.hk-page-content .lf-cover-image div.hero-link {
    bottom: 40%;
    width: 27%;
    text-align: left;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 0px;
    background: #fff;
}

.hk-page-content .lf-cover-image div.hero-link p {
  margin-top: 0;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
}

.proto-longform .hk-page-content .lead p:first-child:first-letter { 
    float: left; 
    color: #0066cb;
    font-weight: 400; 
    font-size: 104px; 
    line-height: 60px; 
    padding-top: 14px; 
    padding-right: 8px; 
    padding-left: 3px; 
}

.proto-longform .lf-section-left {
    width: 65%;
}

.proto-longform .lf-section-left blockquote {

    border-top: 2px solid #008060;
    border-bottom: 2px solid #008060;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 30px;
    margin-bottom: 30px;

}

.proto-longform .lf-section-left blockquote p {
  font-size: 28px;
  line-height: 1.6em;
}

.proto-longform .lf-image-full {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
}

.proto-longform .lf-image-full img {
  width: 100%;
  margin-bottom: 15px;
}

.proto-longform .lf-image-caption {  
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #fff;
    font-size: 14px;
    padding: 6px;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: 30px;
}

.proto-longform .lf-image-full .lf-image-caption { 
    bottom: 15px;
    right: 15px;
}

.proto-longform .lf-image-full {
  padding: 0;
}

.proto-longform .lf-image-full img {
  margin-bottom: 0;
}

.proto-longform .hk-lf-image-full {
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
}

.proto-longform .hk-lf-image-full img {
  display: none;
}

.proto-longform .lf-image-right {  
  float: right;
  width: 60%;
  margin-right: -30%;
  padding: 15px;
  background: transparent;
  margin-top: -11px;
  position: relative;
}

.proto-longform .lf-image-right img { 
  width: 100%;
}

.proto-longform .lf-transparent {
  background: transparent;
  padding: 0;
}

.proto-longform .lf-buttons i {
  margin-right: 12px;
}

.proto-longform .lf-buttons a {
  margin-right: 10px;
}

@media screen and (max-width: 1200px) {
  .hk-page-content .lf-cover-image div.hero-link {
    width: 37%;
    bottom: 20%;
  }
}

@media screen and (max-width: 1024px) {
  .hk-page-content .lf-cover-image div.hero-link {
    width: 37%;
    bottom: 20%;
  }

  .proto-longform .lf-section-left {
    width: 75%;
  }

  .hk-page-content .lf-cover-image {
    width: auto;
    position: relative !important;
    background-image: none !important;
    height: auto;
    top: 0;
  }

}

@media screen and (max-width: 768px) {
  .proto-longform .lf-section-left {
    width: auto;
  }

  .hk-page-content .lf-cover-image div.hero-link {
    position: relative;
    margin-top: 0;
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
    margin-bottom: 30px;
  }

  .hk-page-content .lf-cover-image div.hero-link p {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 18px;
  }

  .proto-longform .lf-image-right {
    width: 80%;
    margin: auto;
    float: none;
  }

  .proto-longform .hk-page-content .lead p:first-child:first-letter { 
    font-size: 86px;
    padding-top: 6px;
  }
}

@media screen and (max-width: 480px) {
  .proto-longform .lf-image-right {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .proto-longform .lf-section-left blockquote {
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .proto-longform .lf-section-left blockquote p {
    font-size: 18px;
  }
}

/* SECONDARY SOCIAL */

.page-content .media-buttons ul {
    padding-left: 0;
    display: inline-block;
}

.page-content .media-buttons li {
    list-style: none;
    float: left;
    margin: 5px;
}

.page-content .media-buttons a {
  width: 50px;
  height: 50px;
  font-size: 25px;
  text-align: center;
  display: block;
  color: #0066cb;
}

.page-content .secondary-social a {
  background-color: #ccc;
}

.page-content .media-buttons a:hover {
  color: #fff!important;
  background-color: #2a2a2a!important;
  text-decoration: none;
}

.page-content .media-buttons i.fa {
  line-height: 50px;
}

/* COURSE DETAILS */

.course-details .hk-page-content h1 {
  display: none;
}

.course-details .hk-page-content h1.sr-hidden {
  display: block;
}

.course-details ul.arrow {
  display: none;
}


.course-details .hk-page-content>div {
  margin-left: 0 !important;
}

.course-details .section-navigation nav {
  display: none;
}

.course-details .hk-course-details-summary {
  background: #fff;
  padding: 15px;
}

.course-details .hk-course-details-summary p.hk-after-h2 {
  margin: 0;
  padding: 0;
  border: 0;
}

.course-details .hk-course-details-summary h4 {
  color: #008060;
  font-size: 14px;
}

.course-details .hk-course-details-summary p {
  border-bottom: 1px solid #E1E1E1; 
  padding-bottom: 8px;
}

.course-details .hk-course-details-summary p br {
  display: none;
}

.course-details .hk-course-details-summary a.btn-primary {
  background-color: #0066cb;
  color: #fff;
  border: 0;
}

/* RESEARCH CENTRES */

.research-centres hr {
  display: none;
}

.research-centres .panel {
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 20px;
}

/* ASK GREENWICH */

.ask-greenwich hr {
  display: none;
}

.ask-greenwich .arrow {
  background: #fff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.ag-email-us,
.hk-page-content>div.ag-email-us {
  padding: 15px;
  background: #fff;
  margin-bottom: 30px;
}

.results .ag-asked {  
  background: #fff;
  padding-left: 15px;
  padding-right: 15px;
}

.results .ag-answered {
  background: #fff;
  margin-top: 30px;
  padding-left: 15px;
  padding-right: 15px;
}

/*** MICROSITE STYLES ***/

.microsite_parent {
    float: left;
    padding: 15px 30px;
    width: 100%;
    text-align: center;
    font-style: italic;
    font-weight: 300;
    font-size: 0.9em;
}

/**** PROSPECTUS SEARCH ****/
#contextual-navigation h2 {
    background-color: #008060;
}

/**** PROPOSED - FIGURE CAPTIONS ****/

.inline-image figcaption {
    font-style: italic;
    font-size: 0.9em;
    padding: 0 0 0 15px;
    margin: 15px 6px 0 6px;
    border-bottom: #555 2px dotted;
    border-top: #555 2px dotted;
}

/** HACK CLASS TO SPACE UNDER MOSAIC **/

.hk-page-content>div.hackspacer {
    background: none;
    padding: 0;
    margin-bottom: 15px;
}


/*** ONWARD JOURNEY PAGES ***/
.journey-page .quote {
    background: white;
    padding: 15px 30px;
}

.journey-page .quote blockquote {
    padding: 0;
    font-size: 1.5em;
}

.journey-page blockquote p {
    font-size: inherit;
}

@media (min-width: 992px){
  .journey-page .quote {
      padding: 15px 60px;
  }

  .journey-page .quote blockquote {
      font-size: 2em;
  }
}