/*-------------- Owl crousel ---------------*/

.owl-carousel .owl-item img {
  width: auto !important;
  margin: 0 auto;
  width: auto;
}
button.owl-prev {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  outline: none!important;
}
button.owl-next {
  position: absolute;
  right: -10px;
  outline: none!important;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
}
.main_sub_heading {
  font-size: 14px;
  line-height: 12px;
  color: #ff4f57;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}
.main_heading {
  font-size: 30px;
  line-height: 40px;
  color: #ff4f57;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}
.main_para {
  font-size: 12px;
  line-height: 21px;
  color: #717171;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  max-width: 420px;
}
.main_heading:after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #ff4f57;
  margin: 5px auto;
}

/* --------- Find a Tutor --------- */

  section#find_tutor {
    position: relative;
  }
  #find_tutor  h3.main_heading {
    background: #ff4f57;
    color: #fff;
    padding: 15px 0;
  }
  #find_tutor .main_heading:after {
    display: none;
  }
  .find_tutor_content {
    background: #ffa8ac;
    padding: 35px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
  }
  .find-button {
    position: relative;
  }
  .find-button i {
    position: absolute;
    top: 13px;
    color: #fff;
    font-size: 19px;
    right: 50px;
  }
  #find_tutor input[type="submit"] {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    background: #ff4f57;
    border: 1px solid #ff4f57;
    border-radius: 4px;
    text-transform: none;
  }
  #find_tutor div.wpcf7 .ajax-loader {
    display: none;
  }
  #find_tutor input, #find_tutor select {
    background-color: #fff;
    border: 1px solid #fff;
    padding: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    width: 100%;
    font-size: 12px;
    color: #807676;
    border-radius: 4px;
    line-height: 25px;
  }
  #find_tutor select {
    padding: 12px;
  }
  #find_tutor input::placeholder { 
    font-size: 15px;
    line-height: 26px;
    color: #c5c5c5;
    font-weight: 200;
    font-family: 'Montserrat', sans-serif;
    padding-left: 10px;
  }
  #find_tutor option {
    font-size: 15px;
    line-height: 26px;
    color: #c5c5c5;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }

/* --------- SLIDER--------- */

  #slider {
    max-width: 100%;
    margin: auto;
    position: relative;
    padding:0;
  }
  #slider img {
    width: 100%;
  }
  .slide_next_image img {
    width: auto !important;
    height: 100%;
  }
  #slider .slider-box h1 {
    font-size: 48px;
    line-height: 52px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Poppins";
    text-align: center;
  }
  #slider .slider-box h4 {
    font-size: 15px;
    line-height: 26px;
    text-align: center;
    color: #ffffff;
    letter-spacing: 0px;
    font-family: 'Montserrat', sans-serif;
  }
  #slider .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    right: 30%;
    left: 30%;
    text-align: right;
  }
  #slider .slider-box a {
    border: 1px solid #ff4f57;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 30px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    background: #ff4f57;
  }
  #slider .slide_btn {
    margin-top: 10px;
    text-align: center;
  }
  #slider .slide_btn i{
    color: #ffffff;
    font-size: 14px;
    padding-left: 12px;
  }
  #slider .carousel-indicators .active {
    background: #ff4f57;
  }
  #slider .carousel-indicators button {
    background-color: #fff;
    width: 10px;
    height: 10px;
    border: none;
    margin-right: 10px;
    outline: none;
    border-radius: 50px;
    cursor: pointer;
  }
  #slider .carousel-indicators {
    right: 5%;
    left: unset;
    bottom: 8px;
    margin-right: unset;
  }
  #slider .custom_ani {
    background-image: -webkit-linear-gradient(#001251 50%, #ff4f57 50%);
    background-repeat: repeat;
    background-position: 0 0;
    background-size: 100% 50px;
    -webkit-background-clip: text;
    -webkit-animation: stripes 2s linear infinite;
    animation: stripes 2s linear infinite;
    }

  @keyframes stripes {
    100% {
      background-position: 0 -50px;
    }
  }

  /* Service */
  
  .service-image img {
    width: auto;
    height: 150px;
  }
  .service-image {
    margin-bottom: 20px;
    position: relative;
  }
  .serviceBox .service-content h5{
    font-size: 18px;
    color: #ff4f57;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  .serviceBox .service-content p{
    font-size: 12px;
    line-height: 20px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  #service .owl-item:nth-child(even) {
    margin-top: 70px;
  }
  #service .owl-item:nth-child(odd) .border_dashed {
    border: 1px dashed #ff4f57;
    transform: rotate(180deg);
    z-index: 9999999;
    width: 30%;
    position: absolute;
    top: 50%;
    right: -65px;
  }

/* Award */

  #award .main_heading , #award .main_para {
    color: #fff;
  }
  #award h5 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 20px;
  }
  .award-image img {
    height: 180px;
  }
  #award .owl-dots {
    text-align: center;
  }
  #award button.owl-dot {
    background: #fff;
    width: 9px;
    height: 9px;
    border: none;
    margin-right: 5px;
    outline: none;
    border-radius: 20px;
  }
  #award button.owl-dot.active {
    width: 12px;
    height: 12px;
  }

/* Skills */
  
  #skills .main_sub_heading , #skills .main_heading , #skills .main_para  {
    text-align: left;
  }
  #skills .main_heading:after {
    margin: unset;
    margin-top: 5px;
  }
  #skills p.text {
    font-size: 14px;
    line-height: 25px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
  }
  #skills h6 {
    font-size: 20px;
    line-height: 25px;
    color: #717171;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
  }
  #skills ul li {
    list-style-type: none;
  }
  #skills li:nth-child(odd) {
    margin: 25px 25px 25px 75px;
  }
  #skills .icon {
    padding: 7px;
    border-radius: 50%;
    display: inline-block;
    background: #ff4f57;
    width: 60px;
    height: 60px;
    text-align: center;
  }
  #skills .brd {
    border: 1px dashed #ff4f57;
    text-align: center;
    border-radius: 50px;
    padding: 10px;
    width: 70px;
    height: 70px;
    display: inline-table;
    background: #f7f7f7;
  }
  #skills li:hover .icon {
    background: #ff4f57;
  }
  #skills .icon img {
    width: 40px;
    height: 40px;
  }
  #skills h5.title {
    font-size: 18px;
    line-height: 25px;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
  }
  #skills .button1 {
    font-size: 15px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    background: #ff4f57;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
  }
  #skills .button2 {
    font-size: 15px;
    line-height: 20px;
    color: #ff4f57;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 10px 20px;
    border: 1px solid #ff4f57;
    border-radius: 4px;
    margin-left: 20px;
  }
  #skills .Buttons {
    text-align: left;
  }

/* Counter */
  
  #counter .main_heading {
    color: #fff;
  }
  #counter .main_para {
    color: #fff;
  }
  .counter-content img {
    width: 60px!important;
    height: 60px!important;
  }
  #counter h6.number {
    font-size: 30px;
    line-height: 20px;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  #counter p.title {
    max-width: 120px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 18px;
    color: #ffffff;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }

/* About */
  
  section#award {
    background: #ffa8ac;
  }

  /* counter */
    
  section#counter {
    background: #ffa8ac;
  }

/* Testimonial */

  .testimonial {
    background: #fff;
    padding: 20px 20px;
    border: 1px solid #fff;
    border-radius: 4px;
  }
  .testimonial img.test_img {
    height: 90px;
  }
  .testimonial h5 {
    font-size: 16px;
    color: #ff4f57;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  #testimonial .star i {
    font-size: 12px;
    color: #ff4f57;
    padding-right: 2px;
  }
  .testimonial h6.name {
    font-size: 15px;
    line-height: 15px;
    color: #414141;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  .testimonial p.designation {
    font-size: 14px;
    line-height: 25px;
    color: #717171;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  .testimonial p {
    font-size: 14px;
    line-height: 25px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    max-width: 220px;
    margin: 0 auto;
  }
  #testimonial .owl-nav i {
    color: #fff;
    font-size: 14px;
    background: none;
  }
  #testimonial .owl-nav .owl-prev {
    position: absolute;
    left: -35px;
  }
  #testimonial .owl-nav .owl-next{
    position: absolute;
    right: -35px;
  }

/* Newsletter  */

  #newsletter input[type="submit"] {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    background: #ff4f57;
    width: 170px;
    padding: 10px;
    border: 1px solid #ff4f57;
    border-radius: 4px;
  }
  #newsletter div.wpcf7 .ajax-loader {
    display: none;
  }
 
  #newsletter option {
    font-size: 14px;
    line-height: 20px;
    color: #afafaf;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  #newsletter input, #newsletter select {
    background-color: #fff;
    border: 1px solid #fff;
    padding: 8px;
    color: #858d92;
    font-family: 'Roboto';
    margin-bottom: 10px;
    width: 100%;
    font-size: 12px;
    color: #ccc;
    border-radius: 4px;
  }
  #newsletter textarea {
    background-color: #fff;
    border: 1px solid #fff;
    padding: 5px;
    color: #858d92;
    font-family: 'Roboto';
    margin-bottom: 10px;
    width: 100%;
  }
  #newsletter label {
    font-size: 14px;
    line-height: 25px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  #newsletter span.icon {
    color: #ff4f57;
  }

/* Latest New */

  #latest_news .post-slide .post-img{
    position: relative;
    overflow: hidden;
  }
  #latest_news .post-slide .post-img:before{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    transition: all 0.4s linear 0s;
  }
  #latest_news .post-slide:hover .post-img:before{
    background: rgba(0, 0, 0, 0.6);
  }
  #latest_news .post-slide:hover {
    box-shadow: 0px 0px 40px 12px #ededed
  }
  #latest_news .post-slide .category a {
    font-size: 14px;
    line-height: 30px;
    color: #ffffff;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    background: #ff4f57;
    padding: 6px 15px;
    border-radius: 7px;
  }
  #latest_news .post-slide:hover .post-review{
    background: #fff;
  }
  #latest_news .post-slide .post-review{
    padding: 25px 20px;
    background: #f7f7f7;
    position: relative;
  }
  #latest_news .post-slide .post-title{
    margin: 0;
  }
  #latest_news .post-slide ul {
    padding: 0;
  }
  #latest_news .post-slide .post-title a{
    font-size: 16px;
    line-height: 15px;
    letter-spacing: 0px;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.30s linear 0s;
  }
  #latest_news .post-slide .post-title a:hover{
    text-decoration: none;
    color: #555;
  }
  #latest_news .post-bar span{
    display: inline;
    font-size: 14px;
    color: #414141;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  #latest_news .post-bar span i{
    margin-right: 5px;
    color: #999;
  }
  #latest_news .post-bar span a{
    color: #999;
    text-transform: uppercase;
  }
  #latest_news .post-bar span a:hover{
    text-decoration: none;
    color: #ff9412;
  }
  #latest_news .post-bar span.view{
    margin-left: 50px;
  }
  #latest_news .view_btn a {
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    background: #ff4f57;
    padding: 10px 35px;
    border-radius: 4px;
  }

/* Team */
  
  .our-team{
    position: relative;
    margin: 50px 0;
  }
  .our-team  img{
    width:100%;
    height: auto;
    z-index:1;
    transform:translateY(0px);
    transition: all 0.50s ease;
  }
  .our-team:hover img{
    transform:translateY(-60px);
  }
  .our-team .team-content{
    position: absolute;
    bottom: 0;
    left: 0;
    width:100%;
    opacity:0;
    color: #2b2f3e;
    padding: 20px 0;
    text-align: center;
    background:#fff;
    transform:translateY(0px);
    transition: all 0.50s ease-in-out 0s;
  }
  .our-team:hover .team-content{
    transform:translateY(46px);
    opacity:1;
  }
  .our-team .team-title{
    font-size: 18px;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
  }
  .our-team .designation{
    font-size: 14px;
    line-height: 20px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  .our-team .social-link{
    padding:0;
    margin:0;
    list-style:none;
  }
  .our-team .social-link li {
    display: inline-block;
    margin-right:2%;
    width: 30px;
    height: 30px;
    background: #ff4f57;
    border-radius: 50px;
  }
  .our-team .social-link li a{
    transition: all 0.50s ease;
    line-height:30px;
    color:#fff;
  }
  .our-team .social-link li a:hover{
    color: #ff4f57;
  }
  #team .owl-dots {
    text-align: center;
  }
  #team button.owl-dot {
    background: #000;
    width: 7px;
    height: 7px;
    border: none;
    margin-right: 5px;
    outline: none;
    border-radius: 20px;
  }
  #team button.owl-dot.active {
    width: 9px;
    height: 9px;
    background: #ff4f57;
  }

/* Online lesson */

  #online_lesson .box {
    background: #ff4f57;
    padding: 50px 40px;
  }
  #online_lesson .box h5 {
    font-size: 19px;
    line-height: 22px;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
  }
  #online_lesson .box p {
    font-size: 14px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    margin-bottom: 30px;
  }
  #online_lesson p.head {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    background: #ff4f57;
    padding: 10px;
    border-radius: 4px;
    display: inline;
  }
  #online_lesson .border_bg {
    border-top: 1px solid #fff;
    margin: 30px 0;
  }
  #online_lesson .boxx a {
    font-size: 15px;
    text-decoration: underline;
    color: #ffffff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
  }
  #online_lesson .boxx span.price {
    font-size: 22px;
    color: #ffffff;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    float: right;
    line-height: 2px;
  }
  #online_lesson .post-slide{
    padding: 0 15px;
  }
  #online_lesson .post-slide .post-img{
    position: relative;
  }
  #online_lesson .post-slide .post-img:before{
    content: "";
    position: absolute;
    width: 100%;
    height:100%;
    transition:all 0.5s ease-out 0s;
  }
  #online_lesson .post-slide .post-img img{
    width: 100%!important;
    height:auto;
  }
  #online_lesson .post-slide .post-img:hover:before{
    top:0;
    left:0;
    background: #ff4f57;
    opacity: 0.4;
  }
  #online_lesson .post-slide .post-content{
    padding: 20px 30px;
    background: #f1f1f1;
  }
  #online_lesson .post-slide .post-title > a{
    font-size: 18px;
    color: #ff4f57;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
  }
  #online_lesson .post-slide .post-title > a:hover{
    color:#ff4f57;
    text-decoration: none;
  }
  #online_lesson .post-slide .post-description{
    font-size: 14px;
    line-height: 25px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  #online_lesson .post-slide .post-bar{
    padding: 0;
    margin: 0;
    list-style: none;
  }
  #online_lesson .post-slide .post-bar > li{
    display: inline-block;
  }
  #online_lesson .post-slide .button{
    float: right;
  }
  #online_lesson .rating { 
    margin: 10px 0;
  }
  #online_lesson .rating i {
    font-size: 12px;
    color: #ff4f57;
    padding-right: 2px;
  }
  #online_lesson .post-slide .button a {
    font-size: 14px;
    text-decoration: underline;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  #online_lesson ins {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-decoration: none;
  }
  #online_lesson .post-img span.price {
    position: absolute;
    right: 15px;
    width: 55px;
    height: 55px;
    background: #ff4f57;
    color: #fff;
    border-radius: 50px;
    bottom: -22px;
    padding: 12px 0;
    text-align: center;
  }
  #online_lesson del {
   display: none;
  }
  #online_lesson li.button {
    margin: 10px 0;
  }
  #online_lesson .owl-dots {
    text-align: center;
  }
  #online_lesson button.owl-dot {
    background: #000;
    width: 9px;
    height: 9px;
    border: none;
    margin-right: 5px;
    outline: none;
    border-radius: 20px;
  }
  #online_lesson button.owl-dot.active {
    width: 12px;
    height: 12px;
    background: #ff4f57;
  }

/* Category */
  
  #category {
    background: #f7f7f7;
  }
  #category .post-slide:hover {
    box-shadow: 0px 0px 30px 10px #cfcfcf;
  }
  #category .post-slide {
   margin: 20px;
  }
  #category .post-slide .post-img{
    position: relative;
  }
  #category .post-slide .post-img:before{
    content: "";
    position: absolute;
    width: 100%;
    height:100%;
    transition:all 0.5s ease-out 0s;
  }
  #category .post-slide .post-img img{
    width: 100%!important;
    height:auto;
  }
  #category .post-slide .post-img:hover:before{
    top:0;
    left:0;
    background: #ff4f57;
    opacity: 0.4;
  }
  #category .post-slide .post-content{
    padding: 20px;
    background: #fff;
  }
  #category .post-slide .post-title > a{
    font-size: 18px;
    color: #ff4f57;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
  }
  #category .post-slide .post-title > a:hover{
    color:#ff4f57;
    text-decoration: none;
  }
  #category .post-slide .post-description{
    font-size: 14px;
    line-height: 25px;
    color: #717171;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
  }
  #category .post-slide .post-bar{
    padding: 0;
    margin: 0;
    list-style: none;
  }
  #category .post-slide .post-bar > li{
    display: inline-block;
  }
  #category .post-slide .button{
    float: right;
  }
  #category .rating { 
    margin: 10px 0;
  }
  #category .rating i {
    font-size: 12px;
    color: #ff4f57;
    padding-right: 2px;
  }
  #category .post-slide .button a {
    font-size: 14px;
    text-decoration: underline;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  #category ins {
    font-size: 16px;
    color: #ff4f57;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-decoration: none;
  }
  #category del {
    font-size: 16px;
    color: #717171;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
  }
  #category .owl-dots {
    text-align: center;
    margin-top: 20px;
  }
  #category button.owl-dot {
    background: #000;
    width: 7px;
    height: 7px;
    border: none;
    margin-right: 5px;
    outline: none;
    border-radius: 20px;
  }
  #category button.owl-dot.active {
    width: 9px;
    height: 9px;
    background: #ff4f57;
  }

/* Thought */
 
  section#thought {
    position: relative;
  }
  /*section#thought:before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: #ff4f57;
    opacity: 0.9;
  }*/
  #thought .main_heading {
    color: #fff;
  }
  #thought i.fas.fa-quote-left {
    font-size: 20px;
    position: relative;
    color: #ff4f57;
    top: -30px;
    padding-right: 15px;
  }
  #thought i.fas.fa-quote-right {
    font-size: 20px;
    position: relative;
    color: #ff4f57;
    top: -30px;
    padding-left: 15px;
  }
  #thought h5 {
    font-size: 30px;
    line-height: 10px;
    color: #f8f8f8;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
  }
  #thought h6 {
    font-size: 30px;
    line-height: 10px;
    color: #f8f8f8;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
  }