body {
    background-color: #f4f4f4 !important;
}

.content-section-pull-up {
      margin-top: 0px;
}

h2 {
    font-size:32px;
    color:#002144;
}

.btn-lead {
  background-color:#003168;
  min-width:250px;
  border-radius: 0;
  text-align:center;
}

.btn-inverse {
  min-width:190px;
  border-radius:0;
}

.white-box, .col-sm-6 .tile {
    background: #fff;
}

.tile .white-box {
    margin-bottom:0;
}

  .page-banner {
    background-position-x: left;
  }

.page-banner--title .center-block p {
  max-width: 570px;
}

.hero-body {
    margin-top:-70px;
}

.hero-header {
    margin-top:30px !important;
}

.hero-text {
    padding:0;
    margin-bottom: 50px;
    margin-bottom: 320px;
}

.hero-text .lead {
    font-size: 18px;
    line-height: 145%;
    font-family: "Roboto", Roboto, Arial, Verdana, sans-serif !important;
    letter-spacing: 0;
}

.gib-nav-wrapper {
  background-color:#ffffff;
}

.col-sm-6 .tile h2 {
    color:#0051A5;
    font-family: "Roboto", Roboto, Arial, Verdana, sans-serif !important;
    font-size: 18px;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tile--news h2 {
    min-height: 50px;
}

.our-offices-cta {
  padding-top: 50px;
}

/*anchor links*/
.subhead {
  position: relative;
}

.subhead span {
  position:absolute; 
  top:-80px;
}



/*white box dropdowns*/
#whitebox-dropdowns {
  background-color:#082043;
}

.panel-group .col-sm-6 {
  margin-top: -290px;
}

.col-sm-6 .panel-heading a {
  padding: 0;
}

.col-sm-6 .panel-heading .img-stretch {
    min-height: 212px !important;
}

.col-sm-6 .accordion-toggle .content-label {
  padding: 27px 17px 27px 25px;
}

.col-sm-6 .panel-collapse .panel-body {
  padding-bottom:0
}

.col-sm-6 .panel-collapse .panel-body .white-box-text {
  padding: 10px 27px 20px 27px;
  min-height: 223px;
}

.col-sm-6 .tile p {
    font-size:14px;
    margin-bottom: 25px;
}

.col-sm-6 .tile a {
  color: #0051A5;
}

/*stats marquee*/
.blue-bg-top {
    margin-top: -300px;
    padding-top: 330px;
    margin-top: 0px;
    padding-top: 60px;
}

.blue-bg-bottom {
    padding-top: 40px;
    padding-bottom: 50px;
}

.blue-bg-bottom .bottom-stat-section {
    height: 130px;
}

.blue-bg-bottom small {
    color: #ababab !important;
}

/*icon carousel*/
#industry-expertise-wrapper {
  background-color:#ffffff;
}

.icon-label {
  color: #003168;
  font-family: "Roboto Medium", "Roboto", Arial, sans-serif;
  font-size: 15px;
}

.icon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 40px;
  justify-content: center !important;
  margin: 5px 0;
}

.small-icon img {
  max-width:45px;
  max-height: 42px;
}

#ecm-carousel .item {
  padding: 50px 0;
}

#ecm-carousel .carousel-inner {
  margin-left: 10px;
  margin-right: 10px;
}

#ecm-carousel .carousel-control .fa {
  top: 50%;
  margin-top: -20px;
  font-size: 40px;
  position: absolute;
    color: #ccc;
}

a.left.carousel-control {
  left: -25px;
}

a.right.carousel-control {
  right: 0px;
}

.carousel-control:focus, .carousel-control:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 0px !important;
}
.carousel-indicators li button {
  width: 10px;
  height: 10px;
  margin: 1px 5px;
  background-color: #9b9b9b;
  border-color: #9b9b9b;
  display: block;
  border: 0;
  border-radius: 50%;
  margin: 0;
  padding: 0;
}
.carousel-indicators li, .carousel-indicators li.active {
  margin: 1px 8px;
  width: 10px;
  height: 10px;
}

.carousel-indicators li.active button {
  background-color: #0051a5;
  border-color: #0051a5;
  width: 10px;
  height: 10px;
}
.carousel-control .fa {
  color: #ccc;
  font-size: 60px;
  margin-top: 70px;
}
.pagination .active a {
  background-color: #eee;
  color: #424242;
}
.pagination .active a:hover {
  background-color: #eee;
  color: #424242;
}



/*leader quote*/
#leader-quote {
    background-color:#082043;
    padding:40px 0 60px 0;
}

#leader-quote * {
    color:#fff;
}

.quote,
.quote p {
  font-family: "Roboto Light", "Roboto", Arial, serif;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: left;
}

.quote.lquotation {
  padding-top: 10px;
  padding-left: 40px;
  margin-bottom: 30px;
  margin-top: 10px;
}

.quote.rquotation {
  padding-right: 20px;
  position: relative;
}
.quote.rquotation-double {
  padding-right: 40px;
  position: relative;
}

.lquotation:before {
  content: "\201C";
  font-size: 90px;
  color: #fff;
  line-height: 110%;
  left: 0px;
  position: absolute;
  margin-bottom: 30px;
  font-family: "RBCDisplay", Georgia, Times, serif;
  top: 10px;
}

.quote p:before {
  content: "\201C";
  font-size: 90px;
  color: #fff;
  line-height: 110%;
  left: 0px;
  position: absolute;
  margin-bottom: 30px;
  font-family: "RBCDisplay", Georgia, Times, serif;
  top: 10px;
}

.quote p:after {
  content: "\201D";
  font-size: 90px;
  color: #fff;
  line-height: 100%;
  right: 10px;
  bottom: 0px;
  position: absolute;
  margin-bottom: -75px;
  font-family: "RBCDisplay", Georgia, Times, serif;
}

.rquotation:after {
  content: "\201D";
  font-size: 90px;
  color: #fff;
  line-height: 100%;
  position: absolute;
  font-family: "RBCDisplay", Georgia, Times, serif;
  margin-left: 10px;
  margin-top: 2px;
}

.rquotation-double:after {
  content: "\201D";
  font-size: 90px;
  color: #fff;
  line-height: 100%;
  position: absolute;
  font-family: "RBCDisplay", Georgia, Times, serif;
  margin-left: 10px;
  margin-top: 2px;
}


.attribution-wrapper {
  padding-top: 10px;
}

.attribution-wrapper .attribution {
  font-size: 18px;
  font-family: "Roboto", Arial, sans-serif !important;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 20px;
  text-align: left;
  margin-left: 50px;
}

.attribution-wrapper .img-circle {
  max-width: 72px;
  margin-top: -5px;
  filter: grayscale(1);
}

.attribution-wrapper .attribution .title {
  font-size: 16px;
  font-weight: normal !important;
  font-family: "Roboto Light", "Roboto, Arial, sans-serif" !important;
}

/*deal tiles*/
.tombstone {
      min-height: 383px;
}

.tombstone .deal-status {
    color: #006ac3;
    margin-right: 15px;
    bottom: 60px;
    position: absolute;
}

/*featured stories carousel*/
#featuredtransactions .tile--gib-full {
    border: 1px solid transparent;
}

#featuredtransactions .tile--gib-full .img-stretch {
  height:300px !important; 
}

#featuredtransactions .tile--gib-full h2 {
   font-size: 28px; 
   color:#003168;
   font-family: RBCDisplay, Georgia, Times, serif !important;
    font-weight: 500;
    line-height: 120%;
}

  /*text on left*/
#featuredtransactions .tile--gib-full .flip-col-6-left .white-box-text, #featuredtransactions .tile--gib-full .col-sm-push-6 .white-box-text {
    padding: 60px 20px 50px 0px;
}

  /*text on right*/
#featuredtransactions .tile--gib-full .fix-padding-right .white-box-text {
    padding: 60px 20px;
}

#featuredtransactions .tile--gib-full .learn-more {
    bottom: 50px !important;
}

.slick-dots li button::before {
    font-size: 40px;
    line-height: 20px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20px;
    height: 20px;
    content: "•";
    text-align: center;
    opacity: 0.25;
    color: rgb(0, 0, 0);
}

.slick-dots li button:focus:before, .slick-dots li button:hover:before, .slick-next:focus:before, .slick-next:hover:before, .slick-prev:focus:before, .slick-prev:hover:before {
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #000;
}

.slick-dots li.slick-active button:before {
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #fff;
}

.slick-prev:before {
    content: '\f104';
    color: #0051a5;
    font-size: 48px;
}

.slick-next:before {
    content: '\f105';
    color: #0051a5;
    font-size: 48px;
}

@media (min-width:2000px) {
  .page-banner {
    background-position-y:top;
  }
}

@media (min-width: 992px) and (max-width:1199px) {
  #featuredtransactions .tile--gib-full .learn-more {
      bottom: 20px !important;
  }
}


@media (max-width: 991px) {
    #blue-skin #btb-nav-wrap ul li:last-child {
        background: #fff;
    }
}

@media (min-width: 768px) {

    #featuredtransactions .tile--gib-full .row>.col-sm-6 {
        padding-left:0;
    }

  .icon-row {
    margin: 5px 0;
    margin-left: 0%;
  }
}

@media (max-width:767px) {
  h1 {
    font-size:30px;
    margin-top: 60px;
  }
  h2 {
    font-size:24px;
  }
  .btn-lead {
    width:100%;
    text-align:center
  }

  .hero-header {
    margin-top:40px !important;
    max-width: 260px;
  }
  .hero-text {
    margin-bottom: 40px;
  }
  .hero-text .lead {
    font-size:16px;
  }

 .hero-text .hero-border {
    padding: 0 0 0 15px;
 }

 .col-sm-6 .tile {
    margin-bottom: 30px;
 }

 #whitebox-dropdowns {
    background-color: transparent;
}

.col-sm-6 .accordion-toggle .content-label {
  text-align:left;
}

 .panel-group .col-sm-6 {
  margin-top:0;
 }

 .blue-bg-top {
        margin-top: -80px;
        padding-top: 110px;
 }

 .blue-bg-top h2 {
    font-size: 24px;
 }

  .blue-bg-bottom {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  .blue-bg-bottom small {
    font-size: 12px;
  }
  .blue-bg-bottom .bottom-stat-section {
    height: 100px;
  }

  #industry-expertise-wrapper {
    background-color:#EDF1F7;
  }

  #ecm-carousel .carousel-inner {
    min-height:350px;
  }
  #ecm-carousel .item {
    padding: 20px 0 50px 0;
  }

  #ecm-carousel .carousel-indicators {
    bottom: 20px !important;
  }

  .icon-row {
      margin-left: auto;
      margin-right: auto;
  }
  #ecm-carousel-title {
    margin-top:40px !important;
    margin-bottom:0;
  }
  .small-icon {
        width: auto;
        height: auto;
        margin: 0;
  }
    .small-text {
        width: 30%;
    }

  #featuredtransactions .tile--gib-full {
    margin-bottom:5px;
  }

  #featuredtransactions .tile--gib-full h2 {
    font-size: 20px;
    line-height:120%;
    min-height: 20px;
  }

#featuredtransactions .slick-slide >div>.col-xs-12 {
    padding: 0;
}

  #featuredtransactions .tile--gib-full .white-box-text, #featuredtransactions .tile--gib-full .fix-padding-right .white-box-text  {
    padding: 20px 0px;
    height:200px !important;
  }

  #featuredtransactions .tile--gib-full .img-stretch {
    height:160px !important; 
  }
  
  #featuredtransactions .tile--gib-full .flip-col-6-left .white-box-text, #featuredtransactions .tile--gib-full .col-sm-push-6 .white-box-text {
      padding: 20px 0px;
      height:200px !important;
  }

  .our-offices-cta .story--overlay {
    padding: 70px 0 !important;
  }
  .our-offices-cta .story--overlay h2 {
    margin-bottom:25px !important;
  }
  .our-offices-cta .tile--story {
    background: url('/assets/rbccm/images/australia/our-offices-mobile.webp') !important;
    background-position: top !important;
  }

  /*marketo form */
  #sub-content h2, #sub-content p {
      text-align: left;
  }
}


@media (min-width: 500px) and (max-width: 767px) {
    .icon-row.row {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .small-icon {
        width: 16.66666667%;
        height: auto;
        margin: 0;
    }
}

@media (max-width:500px) {
      #featuredtransactions .tile--gib-full .white-box-text, #featuredtransactions .tile--gib-full .fix-padding-right .white-box-text, #featuredtransactions .tile--gib-full .flip-col-6-left .white-box-text, #featuredtransactions .tile--gib-full .col-sm-push-6 .white-box-text {
        height:240px !important;
      }

      #featuredtransactions .tile--gib-full .learn-more {
        bottom:30px !important;
      }
}