/* GALLERY ADJUSTMENTS */

.gre-gallery-item .carousel-control .icon-prev,
.gre-gallery-item .carousel-control .icon-next {
    top: auto;
}

/* GALLERY VIDEOS */

.gre-video-item .gre-video-container {
   height: 55.15vw;
   width: 99vw;
   margin-bottom: 11vw;
}

.gre-video-item .carousel-control {
    height: 12.5vw;
}


@media only screen and (min-width: 480px){
  .gre-video-item .gre-video-container {
     height: 54.6vw;
     width: 98vw;
     margin-bottom: 10vw; 
  }
}

@media only screen and (min-width: 768px){
  .gre-video-item .gre-video-container {
     height: 165px;
     width: 360px;
     margin-bottom: 75px;
  }
}

@media only screen and (min-width: 992px){
  .gre-video-item .gre-video-container {
     height: 238.33px;
     width: 470px;
  }
}
@media only screen and (min-width: 1200px){
  .gre-video-item .gre-video-container {
     height: 305px;
     width: 570px;
  }
}

.gre-video-container iframe {
    width: inherit;
    height: inherit;
    position: absolute;
    z-index: 2000;
}

/* JOURNEY BOX v1.2 */

.gre-journey-listing .text-only {
   text-align: center;
}

.gre-journey-listing .text-only h3 {
   font-size: 150%;
}

.gre-journey-listing .text-only .symbol {
    display: inline-block;
    margin: 15px 0;
}

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

.banner-padding {
  display: none;
}

@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;
}

figure {
  position: relative;
}

.gre-image-caption {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 7.5px;
  background: white;
  font-style: italic;
  text-align: left;
  font-size: 90%;
}

.gre-image-caption.long-title {
  font-size: 85%;
}

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

/* Archive news amended */

.archivenews .news-item {

}

.archivenews .news-item .thumbimg {
    display: none;
}

.archivenews .news-item h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    color: #4e62c4
}

.archivenews .news-item p.newsdate {
    font-size: 80%;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.archivenews .news-item a {
    color: #2e2e2e;
    display: block;
    text-decoration: none;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border: 1px solid #ccc;
}

.archivenews .news-item a:hover {
    color: white;
    background: #2e2e2e;
}

.archivenews .news-item a:hover h3 {
    color: white;
}

/*
.archivenews .news-item h3.long-title {
    font-size: 16px;
}
.archivenews .news-item h3.very-long-title {
    font-size: 15px;
}
*/

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


  .archivenews .news-item a {
    padding: 15px 15px 15px 165px;
  }

 .archivenews .news-item .thumbimg {
    display: block;
    position: relative;
    overflow: hidden;
    float: left;
    height: 140px;
    width: 140px;
    margin: 0 15px 0 -150px;
 }

 .archivenews .news-item a:hover .thumbimg {
    opacity: 0.5;
 }

}

/* 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;
}
/* 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;
}


/*===== ARTICLE FIXES =====*/

.article-main-content .article-listing {
    background: #f6f6f6;
    clear: left;
    margin: 0 -20px;
    width: initial;
    padding: 30px 0;
}

/*===== 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;
}

.page-content.hk-page-content .sq-limbo-section-heading {
    font-size: 30px;
    font-family: Antonio,Oswald,Tahoma,sans-serif;
}
.page-content.hk-page-content .sq-limbo-section-subheading {
    font-size: 21px;
    font-weight: bold;
}
.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;
}


.page-content.hk-page-content .sq-asset-builder-tab-content .table>tbody>tr>td {
    border-top: none;
}

.page-content.hk-page-content .sq-asset-builder-tab-content table .table>tbody>tr>td,
.page-content.hk-page-content .sq-backend-section-table-inner.table{
    border-top: none;
    margin: 0;
}
.page-content.hk-page-content .sq-backend-smallprint.sq-metadata-description {
    font-size: 75%;
}
@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;
  }
}





