/* Home Styles */
.home.hero .main-title{
  padding-top: 20px;
}

.home.hero .main-title h4{
  font-weight: normal;
}
/* home carousel */
 
/* end home carousel */
.about-us-home {
  padding-top: 0;
  padding-bottom: 85px;
}
.about-us-home .row{
  position: relative;
}

h2.w-deco {
  padding: 30px 0;
  text-align: left;
  position: relative;
  margin-bottom: 30px;
  font-size: 4.5rem;
  margin-top: 0;
  position: absolute;
  top: -110px;
  left: 0;
  right: 0;
}
h2.w-deco span{
  position:relative;
  z-index: 2;
}

h2.w-deco:before {
  content: 'What We Do';
  font-size: 180%;
  text-transform: uppercase;
  position: absolute;
  color: #fff;
  text-shadow: 1px 1px 0 #B6DDFF,
  -1px 1px 0 #B6DDFF,
  -1px -1px 0 #B6DDFF,
  1px -1px 0 #B6DDFF;
  text-align: left;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.box-what {
  background: #E4F2FF;
  padding: 4rem 3.3rem;
  border-radius: 5.3rem;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-what:nth-child(2) {
  background: #E4F2FF;
}

.box-what p {
  font-size: 18px;
  padding: 5px 25px 5px 80px;
  position: relative;
}
.box-what p img {
  position: absolute;
  left: 0;
  width: 65px;
}

.box-what a.goto {
    position: absolute;
    bottom: -45px;
    right: 45px;
    transition: 0.3s all;
}

.box-what a.goto:hover {
  right: 35px;
  transition: 0.3s all;
}



.four-pillars-home {
  background-color:#F9F9F9;
  position: relative;
  padding-bottom: 100px;

}
.four-pillars-home a.btn {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}
.box-pillar {
  background: white;
  border-radius: 3rem;
  padding: 30px 30px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  height: 100%;
}

/**/
.bridge-platform-home {
 
    border-left: 12px solid #E4204F;
    padding: 0;
 }
 h2.w-deco-2 {
  padding: 30px 0;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  font-size: 4.5rem;
  margin-top: 0;
 
}
h2.w-deco-2 span{
  position:relative;
  z-index: 2;
}

h2.w-deco-2:before {
  content: 'Advantage';
  font-size: 180%;
  text-transform: uppercase;
  position: absolute;
  color: #fff;
  text-shadow: 1px 1px 0 #B6DDFF,
  -1px 1px 0 #B6DDFF,
  -1px -1px 0 #B6DDFF,
  1px -1px 0 #B6DDFF;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
 .bridge-tefl-home{
  border-right: 12px solid #2DC3B0;
  padding:0 ;
  margin: 65px auto 0;
 }

 .bridge-tefl-home .accreditation-logos {
  height: auto;
  margin: 0;
  padding: 30px 0;
  max-width: 600px;
}
 


/* end numbers */

/* section bridge-english-live */
.bridge-english-live {
  min-height: 50rem;
}

.bridge-english-live {
  background-image: url(../jpg/photo-live.jpg);
  background-size: 65%;
  background-position: right;
  background-repeat: no-repeat;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
.grey-be {
  background-color: #ececec;
  border-bottom: 12px solid var(--darkblue-main);
  padding: 5rem 3rem 5rem 12rem;
  width: 55%;
  left: 0;
  position: relative;
  border-top-right-radius: 5rem;
}
.logo-live {
  width: 100%;
  max-width: 400px;
}
.bridge-english-live h3 {
  font-weight: 300;
  color: #707070;
}

/* logos */
.yellow-frame {
  border: 1px solid var(--yellow-plus1);
  padding: 3rem;
}

/* Carousel logos */
.logos.carousel {
  width: 100%;
  padding-top: 0;
  padding-bottom: 40px;
}

.carousel_container {
  height: 130px;
  border: none !important;
  box-shadow: none !important;
  padding-left: 50px;
  padding-right: 50px;
  background: #fff;
}

.carousel_slider {
  height: 100%;
  margin-top: 50px;
}

.carousel_item {
  height: 100%;
}

.owl-carousel .owl-item .carousel_item img {
  width: auto;
  max-height: 140px;
  margin: auto;
}

.carousel_nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 5px;
  cursor: pointer;
}

.carousel_nav i {
  color: #e5e5e5;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
}

.carousel_nav:hover i {
  color: #676767;
}

/* .carousel_prev {
  left: 70px;
}

.carousel_next {
  right: 70px;
} */
.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: -35px;
  top: 50%;
}
.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: -35px;
  top: 50%;
}
/* end carousel */

/* logos owl carousel */
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  background-size: cover !important;
  width: 20px;
  height: 20px;
  opacity: 0.2;
}

.owl-carousel .owl-nav button.owl-next {
  background-image: url(../svg/angle-right-solid.svg) !important;
}
.owl-carousel .owl-nav button.owl-prev {
  background-image: url(../svg/angle-left-solid.svg) !important;
}

/* home slider carousel */
.homeSlider .slick-track{
  display: flex;
  align-items: center;
  justify-content: center;
}
.homeSlider .slick-track .slick-slide {
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.homeSlider .slick-slide img {
  display: inline-block;
  filter: saturate(0);
  opacity: 0.6;
}


/* >>>>>>>>> Media Queries <<<<<<<<<<<<<< */
@media (max-width: 1399px) {

h2.w-deco:before {
   font-size: 150%; 
}
}
/* Extra large devices (large desktops, 1200px and up)*/
@media (max-width: 1360px) {
  .box-pillar { 
    padding: 20px 30px; 
}
}


@media (max-width: 1190px) {
  h2.w-deco {
    padding: 30px 0;
    text-align: left;
    position: relative;
    margin-bottom: 0;
    font-size: 4.5rem;
    margin-top: 0;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}
}

/* Large devices (desktops, 992px and up)*/
@media (max-width: 992px) {
  .bridge-platform-home {
 
    padding-left: 30px;
}
  .navbar-dark .navbar-toggler {
    margin-right: 1rem;
  }
  .home.hero .main-title {
    padding-top: 40px;
    margin-top: 0;
}

  .girl-cert {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -9rem;
  }
  .credentials:before {
    width: 100%;
  }
  .numbers .box {
    flex-wrap: wrap;
    padding: 2rem;
    width: 90%;
  }
  .bridge-english-live {
    background-image: none;
    padding-top: 0;
    padding-bottom: 0;
  }
  .grey-be {
    width: 97%;
    padding: 5rem 3rem 5rem 5rem;
  }
  .carousel_slider {
    margin-top: 20px;
  }
  .numbers .box {
    justify-content: left;
  }
  .about-us-home {
    padding-bottom: 45px;
}

  .box-what { 
     height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 40px;
}
  
}

/* Medium devices (tablets, 768px and up)*/
@media (max-width: 768px) {

  h2.w-deco:before {
    content: 'What We Do';
    font-size: 150%; 
}
.box-what p {
  font-size: 16px;
   position: relative;
}
 
.bridge-tefl-home .accreditation-logos.frame-usa .logo {
  width: 33%;
}

  .accreditation-logos .sub-title {
    min-height: 60px;
  }
  
  h2.yellow-plus1 {
    font-size: 3.4rem;
    line-height: 4.6rem;
  }
}
/* Small devices (landscape phones, 576px and up)*/

@media all and (max-width: 576px) {
  .icon-numbers {
    width: 9rem;
  }
  .girl-cert {
    max-width: 400px;
  }
  .icon-home p span {
    font-size: 5rem;
    line-height: 5.5rem;
  }
  .icon-home p {
    font-size: 2rem;
    line-height: 2rem;
  }
  .icon-home {
    padding: 1.7rem;
  }
  .carousel-caption {
    right: 12%;
  }
  .accreditation-logos {
    margin-top: 2rem;
  }
  .carousel-caption h1 {
    font-size: 4.3rem;
  }
 
  .credentials h4 img {
    margin-right: 1rem;
    width: 4rem;
    height: 1px;
  }
  .bridge-tefl-home .accreditation-logos.frame-usa .logo {
    width: 50%;
  }
}
@media all and (max-width: 414px) {
  .accreditation-logos {
    flex-wrap: wrap;
  }
 
}
