/*
* WARNING: this file is not generated by SASS. It can be used for pure CSS overrides.
*/

/* adjustment for drupal not in the sass*/

/* to avoid the barrio-bootstrap theme to over write the font */
body {
  margin: 0;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212121;
  text-align: left;
}

.node__content {
  font-size: 1rem;
}

/*
* remove the padding of entire page
* blog-list pagehead
* people list pagehead
*/
.path-node.node--type-page #content,
.path-blog #content {
  padding: 0;
}

.path-people #content {
  padding: 0;
}

/**
* remove the margin of bottom when page editor is empty
*/
.layout-no-sidebars.page-node-40 #page {
  margin-bottom: -1rem;
}

.site-footer {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  background-color: white !important;
}

/**
* !important is used for avoiding overwriting of barrio(contrib) theme without
* !important, couldn't change.
*/
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: #212529 !important;
}

/**
* !important is used for avoiding overwriting of barrio(contrib) theme
* without !important, couldn't change.
*/
fieldset.js-form-item
  .js-form-type-search
  .form-type-search
  .js-form-item-keys
  .form-item-keys
  .form-no-label
  .form-group {
  margin-bottom: 0 !important;
}

header form #edit-actions {
  white-space: nowrap;
  width: 1%;
}

.search-bar .first-row-item.content .container-inline {
  display: block;
}

.language-switcher-language-url .is-active {
  display: none;
}
/* center lang btn */
.lang-btn > li {
  text-align: center;
}
/* modify the doropdown menu */
.new-nav-wrap li .dropdown-item:hover {
  background-color: #c82030;
  color: white;
}

/*
* for dropdown menu
* break the word when it's necessery
*/

#block-mainnavigation .dropdown-menu .dropdown-item {
  white-space: normal;
}

@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  /* dropdown menu , long item will be displayed in one row */
  #block-mainnavigation .dropdown-menu .dropdown-item {
    white-space: nowrap;
  }
}
/**
* page active controll
*/
#block-mainnavigation .dropdown-item a {
  color: #212529;
  padding: 0.25rem 1.2rem;
  width: 100%;
  display: block;
  text-decoration: none;
  transition: background.2s ease;
}

.navbar-nav li.dropdown-item {
  padding: 0px;
}

#block-mainnavigation .dropdown-item a:hover {
  color: #ffffff;
}

#block-mainnavigation .dropdown-item .active {
  color: #ffffff;
}

/* footer */
footer #block-copyright p {
  color: #212121;
}

footer i.btn-top {
  cursor: pointer;
}
footer .foot-info-block li {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: #212121;
}

#block-companyaddress .foot-info-block {
  list-style: none;
}

/* !important is used for avoiding overwriting of barrio(contrib) theme without !important, couldn't change*/
.foot-info-block a {
  color: #212121 !important;
}
/* sns icons color */
ul.sns i {
  color: #c82030;
}

footer .sns {
  margin: 0;
}

/* footer logo fix , small modification for drupal site */
.region-footer-left a {
  float: none !important;
}

.region-footer-left img {
  padding-left: 1.8rem;
  margin-bottom: 0rem;
  width: 15rem;
}

/**
* footer link adjustment for drupal
*/

footer .pa-nav a {
  font-weight: 500;
  padding-left: 10px;
  border-left: 2px solid;
  margin-left: 0px;
  color: #c82030;
}

footer .foot-nav-item a {
  font-weight: 400;
  padding-left: 0px;
  border-left: 0px;
  color: #212121;
}

footer .foot-nav-item li:first-child {
  margin-top: 10px;
}

footer .foot-nav-item li {
  margin: 5px 0px;
}

.site-footer {
  padding: 0px;
}

/**
* Page title
*/
.block-pagehead h1 {
  color: white;
}

.block-pagehead .field--name-body p {
  color: white;
}

/*  testimonials fix */
.testimonial-comment span {
  margin-top: 2rem;
}
/* to avoid default padding in the each section */
.highlighted aside,
.path-frontpage #main {
  padding: 0;
}

.layout-no-sidebars #page-wrapper {
  overflow: hidden;
}

div#page-wrapper {
  /* padding-top: 25px; */
}

/*  for age group badge*/
.field--name-field-age-num {
  font-weight: 600 !important;
  color: white;
  font-size: 3.2rem;
}

/**
* age group height fix
*/
.card.age-group-container {
  height: 100%;
}

/*  ----- for section headding  adding it to section's top h2 -------- */
.block-section-head {
  margin-top: 4.25rem;
  margin-bottom: 2.75rem;
  padding-left: 35px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: url("../img/key-icon.png") left center no-repeat;
}
/****** controll the margin between the nav and head image  ******/
/* .jumbotron {
margin-top: 0;
}
@media (min-width: 768px){
.jumbotron {
margin-top: 0;
}
} */

/*  -----    fact section ---------*/
.fact-section .fact p {
  text-align: center;
}

/* ---- for banner block --------------*/
.banner-body-lhs .content,
.banner-body-rhs .content {
  margin: 0rem 1rem;
}
.block-banner .content h2 {
  margin-top: 3.25rem;
  margin-bottom: 2.75rem;
  padding-left: 35px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: url("../img/key-icon.png") left center no-repeat;
}
.banner-body-trans-white .content {
  overflow: hidden;
  padding: 0rem 2rem 2rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  margin: 2.5rem 1rem 2.5rem 1rem;
}
.banner-body-rhs .content p,
.banner-body-lhs .content p {
  margin-bottom: 3rem;
}

/**
* banner block banner-flush-left/right
* bannar block col left/right
*/

/**
* to remove 1px bg on small screen
*/

.banner-flush-right .banner-flush-right-bg {
  min-height: 0px;
}

.banner-flush-left .banner-flush-left-bg {
  min-height: 0px;
}

/**
* to show it on mobile
*/
.banner-bg {
  min-height: 300px;
}

.banner-flush-left .content {
  margin-left: 1rem;
  margin-bottom: 3rem;
}

.banner-body-left-col .content {
  margin: 3rem 1rem 3rem 1rem;
}

.banner-flush-right .content {
  margin-right: 1rem;
  margin-bottom: 3rem;
}

.banner-body-right-col .content {
  margin: 3rem 1rem 3rem 1rem;
}

.banner-flush-left .content .cta-container,
.banner-flush-right .content .cta-container {
  margin-bottom: 4.5rem;
  margin-top: 2rem;
}

.banner-flush-right .content .cta-container {
  text-align: right;
}

.banner-body-rhs,
.banner-body-lhs,
.banner-flush-left-bg,
.banner-flush-right-bg,
.banner-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.banner-body-left-col h3,
.banner-body-right-col h3 {
  color: #c82030;
}

.banner-body-trans-white .cta-container {
  margin-top: 2rem;
}

/* for the cta btn right */
.banner-body-rhs .cta-container {
  text-align: right;
}

/************ for testimonials block **********/
.block-testimonials footer {
  margin-top: 1rem;
}

/********** for person teaser, view teaser*****/

/**
*  align height for view teaser (global)
*/
.view-content .card {
  height: 100%;
}
.node--view-mode-teaser {
  margin-bottom: 0px;
  padding-bottom: 0px;
}
.image-style-person-teaser {
  width: 100%;
  height: 100%;
}
.staff-section-container span {
  margin-right: 0rem;
  margin-bottom: 1rem;
}

/**
* small fix for validation error
*/
.cap-img .cap-img-container {
  overflow: hidden;
  position: relative;
}

.role-over {
  padding: 1rem;
  position: absolute;
  bottom: -60px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 60px;
  background: #c82030;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.cap-img:hover .role-over {
  bottom: 0;
}

.role-over {
  color: white;
  font-weight: 600;
}

/* over write barrio theme to avoid margin arround the image */

.node .field--type-image {
  float: none;
  margin: 0px;
}
.field--type-image img {
  margin: 0;
}
/* add font awesome > after link */
.node-readmore {
  padding: 0;
}
.node-readmore a {
  color: #c82030 !important;
}
.node-readmore a::after {
  content: "\0020 \f105";
  font-family: FontAwesome;
}
/* align right for read more */
.read-more .links {
  -webkit-justify-content: flex-end; /* Safari 6.1+ */
  justify-content: flex-end;
}

/*************    person node  ******************/
ul.profile-list {
  height: 100%;
}
.single-profile-card img {
  margin-top: 1rem;
  width: 100%;
  height: auto;
}

.field--name-field-person-credentials .field__label,
.field--name-field-job-title {
  color: #c82030;
}
.field--name-field-person-credentials .field__label::before {
  content: "\f19d \0020";
  font-family: FontAwesome;
}

.field--name-field-job-title::before {
  content: "\f0b1 \0020";
  font-family: FontAwesome;
}

.single-profile-card .profile-list li:nth-child(3) {
  margin-bottom: 0.5rem;
}

.view-people .node--view-mode-teaser h3 {
  margin-bottom: 0.5rem !important;
}

.view-people .field--name-field-job-title {
  margin-bottom: 1.25rem;
}

/********** for CTA red banner *************************************/
.cta-banner-container {
  padding-left: 55px;
  padding-top: 30px;
  padding-bottom: 20px;
  background: url("../img/key-icon-w.png") left center no-repeat;
}
.cta-banner-wrapper {
  padding-right: 30px;
  padding-left: 30px;
  margin-right: auto;
  margin-left: auto;
}
.cta-banner-wrapper p {
  color: white;
}
.cta-red {
  padding: 0.8rem 0;
  width: 100%;
}

/************** border animation for drupal  **********/

.border-top-right::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 4px;
  background: #c82030;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.border-top-right:hover::before {
  width: 100%;
}

.border-bottom-right::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: inline-block;
  width: 0;
  height: 4px;
  background: #c82030;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.border-bottom-right:hover::after {
  width: 100%;
}

/**
blog list (teaser)*
*/

.node__meta {
  color: #212121;
  font-size: 1rem;
}

article.blog-section-container {
  border: none;
}

article.blog-section-container .node__meta span {
  font-weight: 500;
}

.image-style-post-teaser {
  width: 100%;
  height: 100%;
}

.node__meta i {
  color: #c82030;
}

.node--type-post .field--name-field-tags ul li::before {
  content: " \f02c \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.node--type-post .field--name-field-tags ul li {
  font-size: 0.9rem;
  font-weight: 500;
}

.node--type-post .node__meta span :before {
  content: " \f073 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.node--type-post .field--name-field-tags {
  margin-top: 10px;
}

.node--type-post .field--name-field-tags a {
  font-size: 1rem;
}

/**
* blog list page (key news)
*/

#views-exposed-form-blog-page-posts .form--inline {
  margin-left: 2rem;
  display: table;
  width: 345px;
  margin-bottom: 3rem;
  margin-top: 2rem;
}

#views-exposed-form-blog-page-posts .form-actions {
  display: table-cell;
  vertical-align: bottom;
  width: 1%;
}

#edit-submit-blog {
  cursor: pointer;
}

#views-exposed-form-blog-page-posts label {
  font-weight: 600;
  color: #c82030;
}

.pagination {
  font-weight: 500;
}

/**
*search global result Page
**/

.main-content fieldset.js-form-type-search {
  float: left;
  width: 350px;
}

.main-content .search-form button {
  position: relative;
  top: 32px;
  cursor: pointer;
}

.search-form .container-inline.js-form-wrapper.form-goup.button {
  overflow: hidden;
}

.path-search form .search-advanced {
  margin: 2rem 0 2rem 0;
  padding: 0.5rem 2rem;
  background: #e9ecef;
}

.path-search form .search-advanced summary {
  font-weight: 500;
}

.path-search form .search-advanced .form-submit {
  margin: 1rem 0 4rem 0;
}

.path-search form .search-advanced #edit-keywords-fieldset,
.path-search form .search-advanced #edit-types-fieldset {
  margin-top: 2rem;
}

.path-search form .form-type-search label {
  font-weight: 500;
}

.path-search form .form-type-search label::before {
  content: "\f002 \0020 ";
  font-family: FontAwesome;
}

.path-search form .form-type-search #edit-keys {
  margin-bottom: 20px;
}

.path-search form #edit-help-link::before {
  content: "\f128 \0020 ";
  font-family: FontAwesome;
}

.path-search .item-list {
  margin-top: 50px;
}

.path-search .item-list .search-results .search-result__title {
  display: inline-block;
  margin-left: 10px;
}

.path-search .item-list .search-results li {
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
}

/**
*event teaser
*/

.node--view-mode-teaser.card h3,
.node--view-mode-teaser.event-section-body h3 {
  margin-bottom: 1.25rem;
}

.event-section-body {
  border-bottom: 0px;
}

.event-time::before {
  content: "\f017 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.event-location::before {
  content: "\f041 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.event-time,
.event-location {
  font-weight: 500;
}
.card-footer nav {
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.event-section-body p {
  margin-top: 15px;
}

/**
*fix some displays on home page
*/

.node--view-mode-teaser.event-section-body img {
  max-width: 100%;
}

/**
*contact page
*/

.form-item-name label::before {
  content: "\f007 \0020 ";
  font-family: FontAwesome;
}

.form-item-email label::before {
  content: "\f0e0 \0020 ";
  font-family: FontAwesome;
}

.form-item-phone label::before {
  content: "\f095 \0020 ";
  font-family: FontAwesome;
}

.form-item-message label::before {
  content: "\f075 \0020 ";
  font-family: FontAwesome;
}

.form-item-message textarea {
  margin-bottom: 2rem;
  height: 150px;
}

#webform-submission-contact-add-form {
  background: #f5f5f5;
  padding: 5.25rem 3rem;
}

#webform-submission-contact-add-form fieldset {
  margin-bottom: 1rem;
}

.info-container {
  margin-top: 3rem;
}

/**
*for new form additional style
**/
.form-wrapper {
  background: #efefef;
  padding: 3rem 2rem;
}

.form-items {
  display: flex;
  flex-flow: column;
  margin-bottom: 1rem;
}

.form-items input,
.form-items textarea {
  padding: 8px 10px;
}

/**
* side bar
*/
.sidebar .block {
  border: none;
}

.block-page-title-block .title.page-title {
  color: #c82030;
  padding-left: 1rem;
  border-left: 2px solid;
  font-weight: 400;
  font-size: 2.3rem;
}

/**
* to add the margin on the top of the page
*/

#sidebar_first {
  margin-top: 4.25rem;
}

.layout-sidebar-first #content {
  margin-top: 4.25rem;
  margin-bottom: 6rem;
}

.sidebar .block-page-title-block {
  padding-top: 0px;
}

/**
* for title with 2 col/ 3 col  text block
*/

.block-2col-title h3,
.block-3col-text h3 {
  color: #c82030;
}

.sec-mr {
  margin-top: 4.25rem;
  margin-bottom: 2.75rem;
}

.block-2col-title h2 {
  margin-left: 2rem;
}

/**
* EVENTS list page styling
*/

.view-display-id-attachment_past_events {
  margin-top: 6rem;
  border-top: solid 1px #a9a9a9;
}

.view-display-id-attachment_past_events h2 {
  color: #c82030;
  padding-left: 1rem;
  border-left: 2px solid;
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.views-field-field-event-date .field-content::before,
.field--name-field-event-date .field__item::before {
  content: "\f017 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.views-field-field-event-location .field-content::before,
.field--name-field-event-location .field__item::before {
  content: "\f041 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

/**
* event icons in side bar
*/

.sidebar .views-field-field-event-date .field-content {
  margin-bottom: 10px;
}

.sidebar .views-field-field-event-date .field-content,
.sidebar .views-field-field-event-location .field-content {
  font-weight: 500;
  font-size: 1rem;
}

.view-events .views-field-title a {
  font-size: 1.56rem;
}

.view-events .item-list ul {
  margin-bottom: 3rem;
  margin-top: 1rem;
}

.view-events .item-list li {
  margin-bottom: 1rem;
}

.view-events .item-list h3::before {
  content: "\f073 \0020 ";
  font-family: FontAwesome;
}

.view-events .item-list h3 {
  background: #e9ecef;
  padding: 10px;
}

/**
* Blog single post page
*/

/*
*time  in the side bar
*/
.sidebar .views-field-changed .field-content::before {
  content: " \f073 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.sidebar .views-field-created .field-content::before {
  content: " \f073 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

/*
*tags in the side bar
*/
.sidebar .views-field-field-tags .field-content::before {
  content: " \f02c \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

.sidebar .views-field-changed,
.sidebar .views-field-created,
.sidebar .views-field-field-tags {
  margin-bottom: 10px;
}

.sidebar .views-field-changed .field-content,
.sidebar .views-field-field-tags .field-content,
.sidebar .views-field-created .field-content {
  font-size: 1rem;
  font-weight: 500;
}

.node--type-post .node--view-mode-full {
  margin-right: 15%;
}

.node--type-post .node--view-mode-full .field--name-field-post-image img {
  width: 100%;
  height: auto;
}

section.row.region.region-landing-page-header .block {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.node--type-post .field--name-body {
  margin-top: 1rem;
}

body {
  overflow-x: hidden;
}

.node--type-post .field--name-body img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0 1rem 0;
}

/**
* services format adjustment
(side menu links on left, content area on right  )
*/

.layout-sidebar-first .node--type-page .field--name-body {
  padding-right: 1rem;
  padding-left: 1rem;
}

.layout-sidebar-first .node--type-page .field--name-body h2 {
  font-size: 1.7rem;
  color: #c82030;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid;
  font-weight: 400;
  margin-top: 0;
}

.layout-sidebar-first .node--type-page .field--name-body h3 {
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.layout-sidebar-first .node--type-page .field--name-body hr {
  margin: 3rem 0 3rem 0;
}

.layout-sidebar-first .node--type-page .field--name-body img {
  max-width: 100%;
  margin-bottom: 1rem;
  height: auto;
}

.layout-sidebar-first .field--name-body ul {
  list-style-type: initial;
}

.layout-sidebar-first .node--type-page .field--name-body h4 {
  font-size: 1.4rem;
}

/**
* side bar menu style/ margin controll
*/

.sidebar .block-page-title-block {
  margin-bottom: 0px;
}

.sidebar nav .nav {
  flex-flow: column;
}

.sidebar nav .nav .nav-item a {
  padding: 0.3rem 1rem;
}

.sidebar nav .nav a:hover {
  color: #c82030;
}

/**
* side bar font size
*/
.sidebar nav ul .nav-item a {
  font-size: 1.05rem;
}

/**
* Praise (listiing of testimonials page)
* Success story page
**/
.layout-sidebar-first blockquote p ::before {
  font-family: FontAwesome;
  content: "\f10d \0020 ";
  font-size: 1.5rem;
  color: #c82030;
}

/**
* bg position ofthe age group 6-12
**/
#block-agegroupsuccessstoryblock {
  background-position: center;
}
/**
* praise page top
**/

.praise-top {
  padding: 0 1rem;
  background-color: #e9ecef;
  margin-bottom: 3rem;
}

/**
* to add icon on heading left
*/
.add-key-icon {
  padding-left: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: url("../img/key-icon.png") left center no-repeat;
}

/**
* Programs page / sidebar View list  (sidebar menu ) fixing
*/

.sidebar #block-views-block-services-block-programs-links .item-list a {
  display: block;
  padding: 0.2rem 1rem;
  font-weight: 400;
  font-size: 1.05rem;
  color: #212121;
}

.sidebar #block-views-block-services-block-programs-links .item-list a:hover {
  color: #c82030;
  text-decoration: none;
}

/* *
* to remove theme default padding top from sidebar manu
*/
#block-views-block-services-block-programs-links,
#block-keyece,
#block-subjecttutoring,
#block-privateschooladmissionsadvising,
#block-universityadmissionsadvising,
#block-studyingabroadinvancouver,
#block-key6c,
#block-ourapproach,
#block-ourstory,
#block-successstory {
  padding-top: 0;
}
/**
* Programs page list of program fixing
*/

.layout-sidebar-first .node--type-service .col-md-4 h2 {
  font-size: 1.7rem;
  color: #c82030;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid;
  font-weight: 400;
  margin-top: 0;
  padding-top: 0;
}

/**
* Programs page teaser template
*/

.node--type-service .lead::before {
  content: "\f073 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}
.node--type-service .lead {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.node--type-service .field--name-field-service-image img {
  float: right;
  margin-bottom: 10px;
  margin-left: 10px;
  max-width: 100%;
  height: auto;
}

.node--type-service {
  border-bottom: none;
}

.node--type-service hr {
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.node--type-service .field--name-body h2 {
  font-size: 2rem;
}

.node--type-service .field--name-body h3 {
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.node--type-service .field--name-body h4 {
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #c82030;
}

/**
* sub title (in servise)
* small text under the main title
*/
.sub-title {
  color: #868e96;
  font-size: 1rem;
  padding-left: 18px;
}

/**
* age group field(in servise)
*/
.node--type-service .field--name-field-service-age-group div,
.node--type-service .field--name-field-service-pricing div {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 500;
}

.node--type-service .field--name-field-service-age-group .field__label::before {
  content: "\f007 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

/**
* Pricing field (in servise)
*/
.node--type-service .field--name-field-service-pricing .field__label::before {
  content: "\f155 \0020 ";
  font-family: FontAwesome;
  color: #c82030;
}

/**
* KEY ECE page / sidebar View list  (sidebar menu ) fixing
*/

.sidebar #block-views-block-services-block-ece-links .item-list a {
  display: block;
  padding: 0.2rem 1rem;
  font-weight: 400;
  font-size: 1.05rem;
  color: #212121;
}

.sidebar #block-views-block-services-block-ece-links .item-list a:hover {
  color: #c82030;
  text-decoration: none;
}

#block-views-block-services-block-ece-links {
  padding-top: 0;
}

.sidebar #block-keyece {
  margin-bottom: 0;
  padding-bottom: 0;
}

/**
* to overwrite bario default line height of
every teaser template
*/
.node--view-mode-teaser .node__content {
  line-height: 1.5;
}

/**
*sidebar stick larger than medium size screen
* not stick on mobile
*/

@media (min-width: 768px) {
  .layout-sidebar-first #sidebar_first aside {
    position: sticky;
    position: -webkit-sticky;
    /* for the margin of top navigation */
    top: 150px;
  }

  .landing-page-nav {
    top: 15px !important;
  }
}

/**
* fix bugs for home SEO section
* fix broken layout for IE
*/
#block-frontforseo .card {
  height: 100%;
}

/**
* fix IE flex bug for event section (home)
*/
.view-id-events .event-info {
  width: 100%;
}

/**
* add Missing styling to formated field for Drupal filtered html
*/

.view-id-events .event-info {
  width: 100%;
}

.text-formatted blockquote {
  margin-left: 1em;
  border-left: 4px solid #ccc;
  padding-left: 1rem;
}

.text-formatted ul {
  list-style-type: initial;
}

/**
* add tiny box-shadow to the top navigation menu
*/
#header {
  -moz-box-shadow: 0 0 5px #d3d7d9;
  -webkit-box-shadow: 0 0 5px #d3d7d9;
  box-shadow: 0 0 5px #d3d7d9;
}

/**
* add table to tutors page
*/
.key-tutor-table thead th {
  background: #c82030;
}

.key-tutor-table thead th:nth-child(4) {
  padding-right: 3.2rem;
  padding-left: 3.2rem;
}

.key-tutor-table tbody th {
  background: #d1606b;
  text-align: center;
  font-weight: 400;
  font-size: 0.9rem;
}

.key-tutor-table tbody td {
  text-align: center;
}

.key-tutor-table tbody .fa-check {
  color: #c82030;
}

.key-tutor-table tbody span {
  font-size: 0.7rem;
}

.key-tutor-table tbody tr:nth-child(even) {
  background: #d1606b2e;
}

/**
* bg position
**/
.jumbotron {
  background-position: center;
}

/**
* to bug fixing for the side bar over wrapping in
* specific sizes
*/
@media (min-width: 768px) and (max-width: 950px) {
  .block-page-title-block .title.page-title {
    font-size: 1.6rem;
  }
  .sidebar nav .nav .nav-item a {
    font-size: 1rem;
  }
}
/**
* to bug fixing for the side bar in blog title over wrapping in
* specific sizes when the word is too long
*/
@media (min-width: 768px) and (max-width: 1199px) {
  .sidebar #block-key-page-title h1.page-title {
    font-size: 1.9rem;
  }
}

/**
* to bug fixing for the CTA banner
* spacing
*/
.block-cta-banner .col-md-4 {
  width: 100%;
}

.block-cta-banner .col-md-4 a {
  max-width: 100%;
  white-space: pre-wrap;
  margin-bottom: 2rem;
}

.block-cta-banner .col-md-4 a:hover {
  color: #c82030;
}

/**
* to bug fixing for the  over wrapping in
* specific sizes
*/
@media (min-width: 768px) and (max-width: 1110px) {
  .layout-sidebar-first .node--type-page .col-md-4 h2 {
    font-size: 1.1rem;
    font-weight: 500;
  }
}

/**
* for the new key 6s block
* located in the age group page
*/
.key-6s-block-title {
  margin-left: 1rem;
}

.media .icon-name {
  display: block;
  font-size: 1.3rem;
  color: #c82030;
  padding-left: 10px;
  border-left: 2px solid;
  margin-bottom: 0.5rem;
}

.icon-img-sm {
  width: 110px;
}

.key-6s-container .media {
  margin-bottom: 1rem;
}

.key-6s-container {
  margin-bottom: 2rem;
}

/**
* card body spacing fix  for everything using  card
*/
.card-body {
  padding: 1.5rem 1rem 0rem 1rem;
}

/**
*small modification for space
*/
#block-3coldescriptionsagegroup36 h3 {
  margin-bottom: 1rem;
}

#block-3coldescriptionsagegroup36 h4 {
  margin-bottom: 0.5rem;
}

/**
*small modification for mobile
*/
@media (max-width: 600px) {
  #block-views-block-slides-block-main .carousel-item .carousel-caption h1 {
    font-size: 1.8rem !important;
  }
  .carousel-caption {
    bottom: 0;
    left: 15%;
    right: 15%;
  }
  #block-views-block-slides-block-main .carousel-item .carousel-caption h2 {
    font-size: 1.5rem !important;
  }
  #block-views-block-slides-block-main .carousel-item .carousel-caption h3 {
    font-size: 1.3rem !important;
  }
  #block-views-block-slides-block-main .carousel-item .carousel-caption h4 {
    font-size: 1.2rem !important;
  }
}

.break-image {
  background-size: cover;
  background-position: left;
}

@media (min-width: 768px) {
  .banner-flush-left .content {
    margin-right: 1rem;
  }
  .view-id-events .event-info {
    margin-right: 1rem;
  }
}

/**
*slider image center
**/
.carousel-item img {
  object-fit: none;
  object-position: 50% 50%;
  height: auto;
  width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

/**
*main wrapper
**/
#main-wrapper {
  margin-top: 1.5rem;
}

/**
*for mobile fix
**/
@media (max-width: 767.99px) {
  /**
  * mobile nav
  **/
  .new-nav-wrap .dropdown-item a {
    font-size: 0.9rem !important;
  }

  .nav-new .dropdown a {
    text-align: center;
  }

  .nav-new .dropdown-menu {
    position: relative;
    left: 0;
    right: 0;
  }

  /**
  *margin fix
  **/
  #block-frontagegroup3groups h2 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem;
  }
  .block-section-head {
    margin-left: 1.2rem !important;
    font-size: 2.1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .banner-body-rhs h2,
  .banner-flush-left h2 {
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-size: 2.1rem;
  }
  /**
  * for long cta texts in mobile
  **/
  .btn {
    white-space: initial;
  }
  #sidebar_first {
    margin-top: 1rem;
  }
  #sidebar_first .page-title {
    font-size: 2rem;
    margin-top: 1rem;
  }
  /**
  * for bg position for mobile
  **/
  .jumbotron {
    background-position: center;
  }
  /**
  * for key 6s
  **/
  .key-6s-container .sec-mr,
  .block-2col-title .sec-mr {
    margin-top: 0;
  }
  /**
  * 3 col text block
  **/
  .block-3col-text .mr-age-group {
    margin-top: 1.8rem;
    margin-bottom: 2rem;
  }
  /**
  * spacing for blog
  **/
  .node--type-post .node--view-mode-full {
    margin-right: 0;
  }
  .layout-sidebar-first #content {
    margin-top: 2rem;
  }

  /**
  *sidebar
  **/
  .block-views-blockpost-metadata-block-1 {
    margin-bottom: 0 !important;
  }

  /**
  * filter of blog
  **/
  #views-exposed-form-blog-page-posts .form--inline {
    margin: auto;
    width: 90%;
    margin-bottom: 3rem;
    margin-top: 2rem;
  }
  /**
  * event listiing
  **/
  .view-events .views-field-title a {
    font-size: 1.2rem;
  }
  .view-display-id-attachment_past_events {
    margin-top: 3rem;
  }
}

.breadcrumb {
  margin-bottom: 0px !important;
}

.block-cta-banner .btn-primary {
  color: #c82030;
  background-color: white;
  transition: all 0.4s ease !important;
  -webkit-transition: all 0.4s ease !important;
  -moz-transition: all 0.4s ease !important;
  -ms-transition: all 0.4s ease !important;
  -o-transition: all 0.4s ease !important;
}
.block-cta-banner .btn-primary:hover {
  background-color: #c82030 !important;
  color: white !important;
}

/**
* add separation to navigation
**/
.dropdown-menu
  .dropdown-item
  a[data-drupal-link-system-path="<front>"]::before {
  margin-bottom: -24px;
  display: block;
  height: 10px;
  margin-top: 10px;
  border-top: 1px solid #212529;
  content: "";
}

/* Landing page design */

.center-btn {
  margin: 0 auto;
  display: block;
}

.wrapper {
  padding: 30px 0px;
  width: 100%;
}

.landing-banner {
  background: url("../img/landing/banner2.jpg");
  /* background: blue; */
  min-height: auto;
  background-size: cover;
  color: white;
  position: relative;
}

.div-filter-banner {
  height: 100%;
  width: 100%;
  background: hsla(0, 0%, 0%, 0.77);
  position: absolute;
}

.key-beside {
  display: flex;
}

.key-beside h3 {
  color: #c82030;
  font-size: 1rem;
  line-height: auto;
  font-weight: 600;
}

.container-bigger {
  max-width: 67%;
  margin: 0 auto;
}

@media only screen and (max-width: 1500px) {
  .container-bigger {
    max-width: 70%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 1155px) {
  .container-bigger {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 892px) {
  .container-bigger {
    max-width: 90%;
    margin: 0 auto;
  }
}

.key-beside img {
  height: 130px;
  margin-right: 25px;
}

.btn--red {
  padding: 15px 45px;
  border: none;
  font-weight: 600;
  font-size: 1.3rem;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.47);
  cursor: pointer;
}

.sectioncta--list-item {
  margin-bottom: 5px;
  margin: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.nav-inner div {
  font-weight: 600;
}

section.top_schools h2 {
  /* font-weight: 600; */
  font-size: 2rem;
  text-align: center;
}

.top_schools img {
  max-width: 100%;
}

section.seminar-section {
  background: #c8202f;
  color: white;
}

.program_structure h2 {
  /* font-weight: 600; */
  font-size: 2rem;
  text-align: center;
}

.program_structure img {
  max-width: 100%;
  width: 100%;
}

.program_structure h2 img {
  height: 85px;
  margin-right: 15px;
  max-width: initial;
  width: initial;
}

.program_structure {
  background: #f8f8f8;
}

h4.integrated-approach--title {
  margin-top: 15px;
  color: #c8202f;
  font-weight: 600;
}

.integrated-approach--h2 {
  /* font-weight: 600; */
  font-size: 2rem;
  text-align: center;
  margin-bottom: 24px;
}

.key-point {
  background-color: #f8f8f8;
  padding: 25px;
  min-height: 170px;
}

.key-point h6 {
  color: #c8202f;
  font-weight: 600;
  font-size: 1.1rem;
}

.integrated_approach_block img {
  max-width: 100%;
  width: 100%;
}

li.c6cli {
  display: flex;
  margin-bottom: 45px;
}

ul.c6cs {
  padding: 0;
  margin-top: 25px;
}

li.c6cli img {
  height: 80px;
  margin-right: 20px;
}

li.c6cli h5 {
  color: #c8202f;
}

.diagram-landing {
  max-width: 610px;
  position: sticky;
  top: 10px;
}

.c6cli p {
  max-width: 500px;
}

.unique-advantages h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 35px;
}

.unique-adv-content h5 {
  color: #c8202f;
}

ul.sectioncta--list {
  margin-bottom: 30px;
}

ul.unique-adv-ul {
  padding: 0px;
}

li.unique-adv-li {
  display: flex;
  border-bottom: 1px solid gray;
  padding-bottom: 15px;
  margin-bottom: 45px;
}

li.unique-adv-li img {
  max-height: 160px;
  margin-right: 15px;
}

img.qna-img {
  max-width: 80%;
}

img.qna-img.qna-img-1 {
  margin-top: 35px;
}

img.qna-img.qna-img-2 {
  float: right;
  margin-bottom: 45px;
}

.question-container {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.question-container h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 25px;
}

.question-container img {
  width: 50px;
  margin-right: 13px;
}

section.qna-key {
  background: #f8f8f8;
}

.qna-key h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 34px;
  font-weight: 600;
}

.landing-footer {
  background-color: #e5e5e5;
}

.landing-footer .wrapper {
  padding: 60px 0px;
}

a.key-footer-url img {
  height: 50px;
  margin-right: 10px;
}
a.key-footer-url {
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

.footer-a a,
.footer-a {
  color: #3f3f3f;
}

.footer-a:last-of-type {
  margin-bottom: 0px;
}

h6.map-location-landing {
  color: #c8202f;
  font-weight: 600;
  font-size: 1rem;
}

.container.full-width {
  width: 100%;
  max-width: 80%;
}

.container.full-width aside.section.landing-page-nav {
  top: 10px !important;
}

/* .region.region-landing-page-header {
    margin-top: 150px;
} */

.container.full-width .layout-sidebar-first #sidebar_first aside {
  top: 30px !important;
}

.container.full-width .col-lg-8 {
  padding-right: 0;
}

.landing-page-nav .nav-item {
  width: 100%;
}

.landing-page-nav .nav-item a.nav-link {
  padding-bottom: 0;
}

.highlighted .carousel-inner {
  max-height: 43vw !important;
}

/* Summer Program */
.star-program--logo {
  max-width: 30rem;
  margin: 0 auto;
  margin-bottom: 2rem;
  display: block;
}

.star-program--icon {
  max-width: 8rem;
}

.star-program-overview--title h2 {
  background: #cdcdcd;
  color: #676767;
  padding: 0.7rem;
  font-weight: 600;
  font-size: 2rem;
}

@media only screen and (max-width: 991px) {
  .container.full-width .col-lg-8 {
    padding-left: 0px;
  }

  .diagram-landing {
    display: block;
    margin: 0 auto;
  }

  .layout-sidebar-first #sidebar_first aside {
    text-align: center;
  }

  .container.full-width {
    width: 100%;
    max-width: 100%;
  }
}

.search-block-form,
.region-top-header-form,
.region-top-header,
.language-switcher-language-url {
  width: 100% !important;
}

.language-switcher-language-url .content,
.language-switcher-language-url .links {
  width: 100% !important;
}

.links.button.lang-btn {
  margin-bottom: 0.5rem;
}

#search-block-form {
  padding: 0 !important;
  padding-right: 4rem !important;
  justify-content: flex-end;
}

ul.clearfix.nav {
  list-style: none !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

/* QR Popout */
div#qr-popout {
  background: #c82031;
  color: white;
  position: fixed;
  z-index: 9999;
  right: 0;
  bottom: 0;
  padding: 0.7rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  align-items: center;
  display: flex;
  transition: all 0.4s ease-out;
}

div#qr-popout:hover {
  box-shadow: 0px 1px 14px 5px rgb(0 0 0 / 27%);
}

div#qr-popout {
  transform: translateX(430px);
}

.qr-popout--qr-code {
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.qr-popout--qr-code h5 {
  font-weight: lighter;
}

.qr-popout--open {
  transform: translateX(0) !important;
}

.qr-popout--open .qr-popout--qr-code {
  height: auto;
}

.qr-popout--visible {
  padding-right: 12px;
}

.qr-popout--qr-code img {
  max-width: 13rem;
}

img.we-chat--logo {
  width: 2.4rem;
  margin-top: 0.7rem;
}

div#qr-popout b {
  display: block;
  margin-bottom: -0.2rem;
}

/* End QR Popout */

@media only screen and (max-width: 1385px) {
  .key-beside div h2 {
    font-size: 1.6rem;
  }
  .key-beside h3 {
    font-size: 0.85rem;
  }
  section.top_schools h2,
  .about_6cs h2,
  .program_structure h2,
  .unique-advantages h2,
  .unique-advantages h2,
  .qna-key h2 {
    font-size: 1.6rem;
    max-width: 840px;
    margin: 0 auto;
    margin-bottom: 2rem;
  }
  li.unique-adv-li img {
    max-height: 90px;
  }
}

@media only screen and (max-width: 767px) {
  section.landing-footer .row div {
    margin-bottom: 25px;
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  div#qr-popout {
    flex-direction: column;
    left: 0;
    bottom: 0;
    transform: none;
    padding-top: 0rem;
    top: initial;
    bottom: 0px;
    font-size: 1rem;
    padding-bottom: 0;
  }
  img.we-chat--logo {
    width: 1.8rem;
    margin-top: 0;
    margin-left: 0.5rem;
  }
  .qr-popout--visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 0;
  }
  div#qr-popout--visible b:nth-last-child(4) {
    margin-right: 0.5rem;
  }
  div#qr-popout b {
    margin-right: 0.2rem;
    margin-bottom: 0 !important;
  }
  .qr-popout--open {
    transform: none !important;
    bottom: 0 !important;
  }
}

/**
 *
 * some additional styles for WeChat landing pages
 * 2021
 * ========================================================================= */
html {
  scroll-behavior: smooth !important;
}
@media (max-width: 767.99px) {
  .nav-new .nav-item {
    width: 90%;
  }
  .new-nav-wrap {
    width: 90%;
    text-align: center;
  }
  .shadow-bottom {
    box-shadow: rgba(0, 0, 0, 0.13) 0px 10px 20px,
      rgba(0, 0, 0, 0.18) 0px 9px 15px !important;
  }
}

/** Careers at KEY page styles 2022 */
h2.red-right-bordered,
.block-views-blockjob-posting-view-block-1 h2 {
  font-size: 1.7rem;
  color: #c82030;
  padding-left: 1rem;
  border-left: 2px solid;
  font-weight: 400;
  margin-top: 0;
}
.menu--careers-at-key h2 {
  font-size: 2.8rem;
  font-weight: 600;
  border-bottom: none !important;
}
/* Application form */
.application-form {
  background-color: #f3f3f3;
}

.event-teaser img {
  height: auto;
}

@media only screen and (min-width: 767px) {
  .page-user-login .user-login-form {
    margin-top: 6rem;
  }
}
