.jobs-lobby.megalim-search-form .search-area {
	padding: 40px 36px;
	background: rgba(243, 243, 243, 1);
	border-radius: 30px;
	border: 0;
}
.jobs-lobby.megalim-search-form .search-area form input[type=text] {
	border: 0;
	background: #fff;
}
.jobs-lobby.megalim-search-form .search-area form .placeholder {
	z-index: 18;
}
.megalim-search-form .styled-select .select2-selection {
	border: 0;
	background: #fff;
}
body.single-megalim-lesson-plans {
	background: #F3F3F3;
}
.ms-lesson-plans .play-media.megalim-pm {
    position: static;
    width: auto;
    height: auto;
}
.ms-lesson-plans .home-news .big-item .desc {
	padding: 30px 40px;
}
.ms-lesson-plans .home-news .big-item .desc p.small-text {
	font-size: 22px;
	font-weight: 500;
	line-height: 32px;
	margin-bottom: 15px;
}
.ms-lesson-plans .home-news .big-item .desc h3 {
	font-size: 36px;
	line-height: 36px;
	margin-bottom: 20px;
}
.ms-lesson-plans .home-news .big-item .desc p {
	margin-bottom: 20px;
}
.ms-lesson-plans .home-news .big-item .desc .content-bold p {
	font-weight: 600;
}
.megalim-download, .megalim-pm {
	background: rgba(255, 204, 0, 1);
    color: #000;
    border: 2px solid rgba(255, 204, 0, 1);
    display: inline-block;
    padding: 6px 20px;
    border-radius: 21px;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}
.megalim-download:hover {
    background: #F3BD0A;
    border: 2px solid #F3BD0A;
    color: #000;
}
.megalim-download svg {
	vertical-align: middle;
	margin: 0 10px 0 0px;
}
body.rtl .megalim-download svg {
	vertical-align: middle;
	margin: 0 0 0 10px;
}
.megalim-pm {
	background: #fff;
	border: 2px solid #000;
}
.megalim-pm:hover {
	background: #E5E5E5;
	text-decoration: underline;
}
.ms-lesson-plans .media-search-list.home-news {
	padding-top: 0;
	overflow: hidden;
}
.ms-lesson-plans h1 {
	font-size: 48px;
    line-height: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}
.ms-lesson-plans .media-latest-clips .small-media .content {
	height: auto;
}
.ms-lesson-plans .media-latest-clips .small-media, .ms-lesson-plans .media-latest-clips .item {
	height: 100%;
}
.media-lobby .jobs-lobby.megalim-search-form, .jobs-lobby.megalim-search-form .search-area {
	margin-bottom: 40px;
}
.megalim-lesson-plans-items .home-news {
	background: transparent;
	padding-top: 0;
}
.megalim-lesson-plans-items {
	margin-bottom: 60px;
}
.megalim-lesson-plans-items .media-search-list.home-news .col-item {
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}

@media (max-width: 992px) {
	.ms-lesson-plans h1 {
	    font-size: 36px;
	    line-height: 37px;
	}
	.ms-lesson-plans .home-news .big-item .desc h3 {
	    font-size: 32px;
	}
	.ms-lesson-plans .home-news .big-item .desc {
	    padding: 20px;
	}
	.ms-lesson-plans .media-latest-clips .small-media .content .title {
        font-size: 26px;
    }
}
/*
* Megalim-2.css
*/
.megalim-present-items{
  margin-bottom: 60px;
}
.megalim-present-items .home-news {
  background: transparent;
  padding-top: 0;
}
.megalim-present-items .media-search-list.home-news .col-item {
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}
.present-bnts{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  vertical-align: middle;
}
.present-btn{
  margin-top: 16px;
  display: inline-flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  min-height: 40px;
  gap: 8px;
  line-height: 1;
  padding: 0 22px;
  max-width: 100%;
  text-decoration: none !important;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border-radius: 20px;
  color: #171717 !important;
  border: 2px solid #171717;
  background-color: transparent;
}

.present-btn:hover{
  background-color: #E5E5E5;
  color: #171717;
  text-decoration: none !important;
}
.present-btn:hover *{
  text-decoration: none !important;
}
.present-btn:active{
  background-color: #CBCBCB;
}
.present-btn span,
.present-btn-2 span{
  color: #171717 !important;
}
.present-btn-1 svg,
.present-btn-2 svg{
  margin-top: -1px;
}
.present-btn-2{
  margin-top: 16px;
  display: inline-flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1;
  min-height: 40px;
  padding: 0px 22px;
  max-width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border-radius: 20px;
  color: #171717;
  background-color: #FFCC00;
  border: 2px solid #FFCC00;
}

.present-btn-2:hover {
  border-color: #F3BD0A;
  background: #F3BD0A;
  color: #171717;
  text-decoration: none !important;
}
.present-btn-2:hover *{
  text-decoration: none !important;
}
.present-btn-2:focus {
  border-color: #F3BD0A;
  background: #FFCC00;
  color: #171717;
  text-decoration: none;
}
.megalim-present-items h3{
  min-height: 177px;
}
.ml-img-desc{
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  display: block;
  background-color: #FFF8E1;
  color: #1d1d1d;
  padding: 6px 12px;
}
.ml-img-desc.id-2{
  background-color: #FFCC00;
}
@media only screen and (max-width : 1200px) {
}

@media only screen and (max-width : 992px) {
  .megalim-present-items h3{
    min-height: 0px;
  }
}
@media only screen and (max-width : 768px) {

}
@media only screen and (max-width : 480px) {

}


/*Teaching Aids page*/

.ml-two-fields.jobs-lobby .search-area form div.input {
  width: calc((100% - 184px) / 2);
}

.megalim-t-aids-items{
  margin-bottom: 60px;
}
.megalim-t-aids-items .home-news {
  background: transparent;
  padding-top: 0;
}
.megalim-t-aids-items .media-search-list.home-news .col-item {
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}
.megalim-t-aids-items p{
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 17px;
  min-height: 112px;
  padding-bottom: 17px;
}

@media only screen and (max-width : 768px) {
  .megalim-t-aids-items p {
      font-size: 18px;
      line-height: 1.3;
      margin-bottom: 15px;
  }
}
/*Teaching Aids page end*/

/*Books page */

.megalim-books-items{
  margin-bottom: 60px;
}
.megalim-books-items .home-news {
  background: transparent;
  padding-top: 0;
}
.megalim-books-items .media-search-list.home-news .col-item {
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}

span.ml-author{
  font-weight: 400;
  color: #9A9A9A;
  font-size: 18px;
}
.megalim-books-items .medium-item .desc h3{
  margin-bottom: 5px;
}
.megalim-books-items .present-btn-2{
  margin-top: 10px;
}
.mlc-style-2 .col-sm-6.books-item{
  height: 100%;
}

/*Books end */
/*Articles start */

.megalim-articles-items{
  margin-bottom: 60px;
}
.megalim-articles-items .home-news {
  background: transparent;
  padding-top: 0;
}
.megalim-articles-items .media-search-list.home-news .col-item {
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}

.ml-lobby-content .media-featured {
 padding-bottom: 9rem;
 margin-bottom: 0px;
}
.ml-lobby-content .media-featured .big-media .content {
  padding: 22px 40px 30px;
}
.ml-lobby-content .media-featured .small-media .content {
  padding: 22px 24px 10px 15px;
  box-sizing: border-box;
  max-height: 100%;
  overflow: hidden;
  position: relative;
}
.ml-lobby-content .media-featured .small-media .content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height:2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}
.ml-lobby-content .media-latest-clips .small-media .image {
  height: 288px;
}
.ml-lobby-content .media-latest-clips .small-media .content {
  height: 228px;
  padding: 27px 30px 0px;
}
.ml-lobby-content .media-latest-clips .small-media {
 margin-bottom: 36px;
}
.ml-lobby-content .media-latest-clips .small-media .content .title {
 font-weight: 700;
 font-size: 32px;
 line-height: 36px;
 margin-bottom: 20px;
}
.ml-art-lobby .media-lobby-title p{
  text-align: left;
}
.ml-lobby-content .media-featured .content .title a,
.ml-lobby-content .media-featured .content .title a:hover{
  color: #1D1D1D;
}

.media-lobby-content.ml-lobby-content{
  padding-bottom: 0;
}
.ml-slider{
  background-color: #F3F3F3;
  position: relative;
}
.ml-slider .container-fluid{
/*  border-top: 2px solid #8B8B8B;*/
  padding-bottom: 5rem;
}
.ml-slider .title a,
.ml-slider .title a:hover{
  color: #1D1D1D;
}
.media-total-media.ml-total{
  font-weight: 700;
}
.ml-lobby-content .media-featured .big-media .content .title{
  margin-bottom: 2.4rem;
}

.ml-small-media{
  padding-bottom: 28px;
  margin-bottom: 36px;
  background: #fff;
  position: relative;
}
.ml-small-media .image {
  height: 288px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}
.ml-small-media .content {
  padding: 21px 30px 0px;
  min-height: 200px;
/*  overflow: hidden;*/
}
.ml-small-media .content .title {
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 11px;
}
.ml-small-media .content .excerpt {
  font-size: 20px;
  line-height: 28px;
}
.ml-small-media .play-media {
  width: 78px;
  height: 78px;
  top: calc(50% - 39px);
  right: calc(50% - 39px);
}
.megalim-period-items .ml-per-type .content{
  display: none;
}


@media only screen and (max-width : 992px) {
}
@media only screen and (max-width : 768px) {
  .media-lobby-content.ml-lobby-content {
    padding: 40px 0 0;
  }
  .ml-lobby-content .media-featured .big-media .content {
      padding: 15px 20px 20px;
  }
  .ml-lobby-content .media-featured .small-media .content {
      padding: 20px 20px 20px;
  }
  .ml-lobby-content .media-featured {
      padding-bottom: 36px;
  }
  .ml-lobby-content .media-featured .small-media,
  .ml-lobby-content .media-featured .big-media{
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  }
  .ml-small-media .image {
    height: 220px;
  }
  .ml-small-media .content .title {
    font-size: 30px;
  }
  .ml-small-media .content .excerpt {
    font-size: 18px;
  }

}

@media only screen and (max-width : 480px) {

}

/*Articles end */

/*Video start */
.ml-video-lobby .jobs-lobby .search-area form div.input {
  float: left;
  width: calc((100% - 184px) / 2);
}
.ml-video-lobby .media-lobby-title p{
  text-align: left;
}

.ml-video-lobby .media-featured .small-media .content {
  padding: 22px 24px 10px 15px;
  box-sizing: border-box;
  max-height: 100%;
  overflow: hidden;
  position: relative;
}
.ml-video-lobby .media-featured .small-media .content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}
@media only screen and (max-width : 768px) {
  .medml-video-lobby.ml-lobby-content {
    padding: 40px 0 0;
  }
  .ml-video-lobby .media-featured .big-media .content {
      padding: 15px 20px 20px;
  }
  .ml-video-lobby .media-featured .small-media .content {
      padding: 20px 20px 20px;
  }
  .ml-video-lobby .media-featured {
      padding-bottom: 36px;
  }
  .ml-video-lobby .media-featured .small-media,
  .ml-video-lobby .media-featured .big-media{
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  }

}
/*Video end */

/*Megalim Articles*/

.ml-articles-box .media-lobby-content{
  background-color: #fff;
  padding: 1rem 0 13rem;
}
.ml-articles-box h1{
  font-weight: bold;
  line-height: 1.5;
  font-size: 6.3rem;
}
.ml-button-box{
  margin: 5.8rem 0 6.6rem;
}
p.ml-author{
  font-size: 32px;
  line-height: 1;
  color: #9A9A9A;
}
.megalim-download.ml-btn-big{
  font-size: 24px;
  padding: 15px 64px;
  font-weight: bold;
  border-radius: 35px;
}
.megalim-download.ml-btn-big:hover,
.megalim-download.ml-btn-big:focus{
  color: #1D1D1D;
}
.ml-articles-box .content,
.ml-articles-box .content p{
  font-size: 24px;
  line-height: 1.16;
  color: #1D1D1D;
}
@media only screen and (max-width : 1200px) {
}

@media only screen and (max-width : 992px) {
  .ml-articles-box h1{
    font-size: 5rem;
    line-height: 1.4;
  }
  p.ml-author{
    font-size: 28px;
  }
  .megalim-download.ml-btn-big{
    font-size: 21px;
    padding: 12px 30px;
    border-radius: 27px;
  }
}
@media only screen and (max-width : 768px) {
  .ml-articles-box h1{
    font-size: 3.8rem;
    line-height: 1.05;
    margin-bottom: 1.4rem;
  }
  .ml-button-box{
    margin: 2rem 0 2rem;
  }
  .megalim-download.ml-btn-big{
    font-size: 18px;
    padding: 10px 22px;
    border-radius: 22px;
  }
  .ml-articles-box .media-lobby-content{
    padding: 0 0 7rem;
  }
  p.ml-author{
    font-size: 24px;
  }
  .ml-articles-box .content,
  .ml-articles-box .content p{
    font-size: 20px;
    line-height: 1.3;
  }
}
@media only screen and (max-width : 480px) {
  .ml-articles-box h1{

  }
}


.jobs-lobby.ml-art-lobby .search-area form div.input {
  float: left;
  width: calc((100% - 184px) / 4);
}
.ml-articles-cont{
  background: #F3F3F3;
  padding: 6rem 0;
}
.ml-articles-cont h3{
  font-weight: bold;
}
.ml-articles-cont h3 a{
  color: #1D1D1D;
}
.ml-articles-cont p.ml-author{
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.ml-articles-cont .present-bnts{
  justify-content: flex-start;
  gap: 16px;
}
.ml-art2-item{
  border-bottom: 1px solid #9A9A9A;
  position: relative;
  padding: 2.3rem 0 2.3rem;
  margin: 0 0 3.9rem;
}
.load-more-btn-search-megalim.loading:after{
  font-family: WooCommerce;
 content: "\e01c";
 vertical-align: top;
 font-weight: 400;
 position: absolute;
 top: 0.5em;
 left: 1em;
 -webkit-animation: spin 2s linear infinite;
 animation: spin 2s linear infinite;
 left: 12px;
}

/*Megalim Articles end*/

/*Megalim Periods*/
.ml-periods-box .media-lobby-title h1{
  font-size: 3.2rem;
}
.ml-periods-box .ml-title-h2{
  font-weight: bold;
  font-size: 64px;
  color: #1D1D1D;
  margin: 0 14px 23px;
}
.ml-periods-box .ml-desctiption{
  color: #9A9A9A;
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 4.9rem;
}
.period-slider {
  margin: 30px auto 4.2rem;
  display: none;
}
.period-slider.slick-initialized {
  display: block;
}
.period-slider .slick-slide{
  text-align: center;
}
.period-slider .slick-track{
  align-items: flex-end;
}
.period-slide{
  padding-bottom: 16px;
  border-bottom: 2px solid #AFAFAF;
}
.period-slide > a {
  background: #fff;
  display: inline-flex;
  max-width: 270px;
  box-sizing: border-box;
  margin: 0 2rem;
  border: 2px solid #AFAFAF;
  border-radius: 24px;
  padding: 13px 1.4rem;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  color: #1D1D1D;
  line-height: 1;
}
.period-slide > a:hover,
.period-slide.active > a{
  background: #FFCC00;
  border-color: #FFCC00;
  text-decoration: none !important;
  transition: border-color 0.3s,background 0.3s;
  color: #1D1D1D;
}

.period-slide.active > a{
  cursor: default;
}
.period-slide > a:focus{
  color: #1D1D1D;
}
.period-slide > a:after{
  content:"";
  position: absolute;
  display: block;
  width: 2px;
  height: 20px;
  background-color: #AFAFAF;
  left: 0;
  right: 0;
  top: 100%;
  margin: auto;
}
.period-slider .slick-prev,
.period-slider .slick-next {
  position: absolute;
  bottom: -11px;
  width: 24px;
  height: 24px;
  line-height: 0;
  border-radius: 50%;
  background-color: #FFCC00;
  color: #fff;
  text-align: center;
  border: 0;
  z-index: 10;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
}
.period-slider .slick-next {
  left: -8px;
  transform: rotate(90deg);
  margin: 0 1px 0 0;
}
.period-slider .slick-prev {
  right: -8px;
  transform: rotate(90deg);
  margin: 0 0 0 1px;
}
.period-slider .slick-arrow.slick-disabled {
  background-color: #E9E9E9;
  cursor: default;
}


.megalim-period-items{
  margin-bottom: 60px;
}
.megalim-period-items .home-news {
  background: transparent;
  padding-top: 0;
}
.megalim-period-items .media-search-list.home-news .col-item {
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  background-color: #fff;
}
@media only screen and (max-width : 1200px) {
}

@media only screen and (max-width : 992px) {

}
@media only screen and (max-width : 768px) {
  .period-slider{
    margin: 0 0 4rem;
    padding: 30px 0 30px;
  }
  .period-slider .slick-track{
    display: block;
  }
  .period-slider.slick-vertical {
    max-height: 400px;
  }
  .period-slider.slick-vertical .slick-list{
    min-height: 334px;
  }
  .period-slider .slick-slide {
    height: auto !important;
    text-align: right;
  }
/*  .period-slider .slick-prev,
  .period-slider .slick-next {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    font-size: 20px;
  }*/
  .period-slider.slick-vertical .slick-slide{
    border: none;
  }
  .period-slide{
    padding: 0 18px 0 0;
    margin: 0 18px 0 0;
    border-width: 0;
    border-right: 2px solid #AFAFAF;
  }
  .period-slide > a{
    margin: 12px 0;
    font-size: 16px;
    line-height: 1;
    padding: 10px 18px;
  }
  .period-slide > a:after{
    width: 20px;
    height: 2px;
    left: 100%;
    right: auto;
    bottom: 0;
    top: 0;
  }
  .period-slider .slick-prev,
  .period-slider .slick-next {
    position: absolute;
    bottom: -11px;
    width: 36px;
    height: 36px;
    transform: rotate(0deg);
  }
  .period-slider .slick-next {
    right: -8px;
    right: 0;
    bottom: 0;
  }
  .period-slider .slick-prev {
    left: auto;
    right: 0;
    top: 0;
  }
}
@media only screen and (max-width : 480px) {

}
/*Megalim Periods END*/

/*Megalim Children START*/


.ml-hero {
  padding-bottom: 65px;
}

.ml-hero .row-bg {
  position: relative;
  min-height: 497px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  text-align: center;
}
.ml-hero .row-bg > div{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

}
.ml-hero .breadcrumbs{
  position: absolute;
  color: #fff !important;
  top: 3.7rem;
  width: 100%;
  max-width: 1360px;
  text-align: right;
  padding: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.ml-hero .breadcrumbs a, .ml-hero .breadcrumbs span {
  color: #fff !important;
}

.ml-hero .section-title {
  position: relative;
  z-index: 6;
  display: block;
  vertical-align: middle;
  background: rgba(85, 85, 85, 0.5);
  max-width: 990px;
  width: 100%;
  padding: 4.7rem 2rem 4rem;
  margin: 0 0 1.3rem;
}
.ml-hero .section-title h2{
  line-height: 1;
  color: #fff;
  font-weight: 700;
  font-size: 80px;
  text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.6);
  margin: 0 0 0.6rem;
}
.ml-hero .section-title .description{
  line-height: 1.15;
  color: #fff;
  font-weight: 500;
  font-size: 40px;
  text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.ml-hero .row-items {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1350px;
  margin: -82px auto 0;
}

.ml-hero .col-item {
  display: inline-block;
  text-align: center;
  padding: 0 32px;
}

.ml-hero .col-item img {
  width: 164px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}

.ml-hero .col-item span {
  display: block;
  margin-top: -22px;
  background-color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: rgb(52, 58, 64);
}
.ml-hero .col-item a{
  color: rgb(52, 58, 64);
}

.ml-yellow{
  background-color: #FFF8E1;
}
.ml-search.jobs-lobby {
    margin: 40px 0 13rem;
}
.jobs-lobby.ml-search .search-area {
  border: 1px solid #FFC979;
  background-color: #FFC979;
  border-radius: 30px;
  padding: 40px 40px;
  margin-bottom: 80px;
}
.jobs-lobby.ml-search .search-area form button {
  border-color: #0C4661;
  border-radius: 30px;
  background: #0C4661;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  color: #fff;
}
.jobs-lobby.ml-search h2{
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: #0C4661;
  margin: 0 0 3.2rem;
}
.jobs-lobby.two-fields .search-area form div.input{
  width: calc((100% - 200px) / 2);
}
.jobs-lobby.ml-search .styled-select .select2-selection,
.jobs-lobby.ml-search .search-area form input[type=text] {
    border: 0;
    background: #fff;
}
.jobs-lobby.ml-search .styled-select .select2-container .select2-selection--single .select2-selection__rendered{
  color: #171717;
}
.jobs-lobby.ml-search .search-area form button {
  width: 198px;
}
.media-lobby.mlc-style-2{
  padding-bottom: 6rem;
}

.mlc-style-2.media-lobby-content{
  background: transparent;
}

.jobs-lobby.ml-search .search-area form .placeholder{
  z-index: 9 !important;
}
.mlc-style-2 .media-latest-clips .to-all-clips{
  color: #0C4661;
  border-color: #0C4661;
}
.mlc-style-2 .media-latest-clips .to-all-clips:hover{
  background-color: transparent;
}
.mlc-style-2 .media-latest-clips h2{
  color: #0C4661;
  font-size: 64px;
  margin-bottom: 4rem;
}
.mlc-style-2 .ml-small-media .image{
  height: 213px;
}
.mlc-style-2 .col-sm-6{
  padding: 1rem 0 !important;
  float: none;
  width: 100% !important;
}
.mlc-style-2 .ml-small-media .content{
  min-height: 224px;
}
.mlc-style-2.media-lobby .ml-small-media{
  margin: 0;
  padding: 0;
}
.mlc-style-2.media-lobby .ml-img-desc{
  display: none;
}
.mlc-style-2 .media-latest-clips .slick-prev, 
.mlc-style-2 .media-latest-clips .slick-next{
  background-color: #0C4661;
  color: #fff;
}
.mlc-style-2 .present-btn-2 {
  background-color: #0C4661;
  border: 2px solid #0C4661;
}
.mlc-style-2 .present-btn-2 span{
  color: #fff !important;
}
.mlc-style-2 .present-btn-2:hover,
.mlc-style-2 .present-btn-2:active{
  background-color: #0C4661;
  border: 2px solid #0C4661;
  text-decoration: underline;
}
.mlc-style-2 .present-btn-2:hover span,
.mlc-style-2 .present-btn-2:active span{
  color: #fff !important;
  text-decoration: underline !important;
}
.mlc-style-2 .media-search-list.home-news .medium-item .desc,
.mlc-style-2 .ml-small-media .content{
  padding: 2rem 3rem 2.4rem;
}
.mlc-style-2 .home-news .medium-item .desc > span{
  color:#9A9A9A;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 18px;
}
.mlc-style-2 .books-item .present-btn-2{
  margin: 0.8rem 0 0px;
}
.mlc-style-2 .books-item h3{
  margin-bottom: 0 !important;
}

.flex-title{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-title > *{
  float: none !important;
}
.home-news .books-item .col-item .img{
  background-size: contain;
  background-color: #fff;
}
@media only screen and (max-width: 1200px) {
  .ml-search.jobs-lobby {
    margin-bottom: 8rem;
  }
}

@media only screen and (max-width: 992px) {
  .ml-hero .row-bg {
    min-height: 490px;
  }

  .ml-hero .section-title {
    font-size: 48px;
  }

  .ml-hero .col-item {
    display: inline-block;
    text-align: center;
    padding: 10px;
  }

  .ml-hero .col-item img {
    width: 140px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
  }

  .ml-hero .col-item span {
    font-size: 24px;
  }
  .ml-hero .section-title h2 {
    font-size: 60px;
  }
  .ml-hero .section-title .description{
    font-size: 28px;
  }
  .ml-search.jobs-lobby {
    margin: 2px 0 6rem;
  }
  .mlc-style-2 .media-latest-clips h2{
    font-size: 48px;
  }
  .media-lobby.mlc-style-2{
    padding-bottom: 3rem;
  }
}

@media only screen and (max-width: 768px) {
  .ml-hero {
    margin-bottom: 0 !important;
  }
  .ml-hero .breadcrumbs{
    top: 2rem;
  }
  .ml-hero .section-title h2 {
    font-size: 48px;
  }
  .ml-hero .section-title .description{
    font-size: 24px;
    line-height: 28px;
  }
  .ml-hero .row-items{
    margin-top: -41px;
  }
  .ml-hero .col-item img {
    width: 82px;
  }
  .ml-hero {
    padding-bottom: 2px;
  }
  .ml-hero .col-item {
    padding: 10px 3px;
  }
  .ml-search.jobs-lobby {
    margin: 23px 0 3rem;
  }
  .mlc-style-2 .media-latest-clips h2{
    font-size: 36px;
    margin-bottom: 3.3rem;
  }
  .jobs-lobby.ml-search .search-area{
    padding: 39px 20px 32px;
    margin-bottom: 5rem;
  }
  .jobs-lobby.ml-search h2{
    font-size: 28px;
    margin: 0px 0 1.8rem;
  }
  .jobs-lobby .search-area form button {
    padding: 12px 0;
  }
  .mlc-style-2 .media-latest-clips .to-all-clips{
    font-size: 16px;
    padding: 8px 16px;
    line-height: 1;
  }
  .media-lobby.mlc-style-2{
    padding-bottom: 0;
  }
  .ml-search.jobs-lobby .search-area form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .ml-search.jobs-lobby .search-area form > *{
    float: none !important;
    width: 100% !important;
  }
}

@media only screen and (max-width: 480px) {
}

/*Megalim Children END*/

/*Megalim Education START*/

.ml-gray{
  background-color: #F3F3F3;
  padding-top: 3rem;
}
.ml-white{
  padding-top: 1.5rem;
}
.ml-search-3.jobs-lobby {
  margin: 40px 0 5rem;
}
.jobs-lobby.ml-search-3 .search-area {
  border: 1px solid #F3F3F3;
  background-color: #F3F3F3;
  border-radius: 30px;
  padding: 40px 40px;
  margin-bottom: 80px;
}
.jobs-lobby.ml-search-3 .search-area form button {
  border-radius: 30px;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}
.jobs-lobby.ml-search-3 h2{
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  margin: 0 0 3.2rem;
}
.jobs-lobby.three-fields .search-area form div.input{
  width: calc((100% - 200px) / 3);
}
.jobs-lobby.ml-search-3 .styled-select .select2-selection,
.jobs-lobby.ml-search-3 .search-area form input[type=text] {
  border: 0;
  background: #fff;
}
.jobs-lobby.ml-search-3 .styled-select .select2-container .select2-selection--single .select2-selection__rendered{
  color: #171717;
}
.jobs-lobby.ml-search-3 .search-area form button {
  width: 198px;
}
.media-lobby.mlc-style-3{
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.media-lobby.mlc-style-3.mb-0{
  margin-bottom: 0;
}
.media-lobby.mlc-style-3.mb-0 .megalim-period-items{
  margin-bottom: 3rem;
}
.mlc-style-3.media-lobby-content{
  background: transparent;
}
.jobs-lobby.ml-search-3 .search-area form .placeholder{
  z-index: 9 !important;
}
.mlc-style-3 .media-latest-clips h2{
  font-size: 64px;
  margin-bottom: 4rem;
}
.mlc-style-3 .ml-small-media .image{
  height: 213px;
}
.mlc-style-3 .col-sm-6{
  padding: 1rem 0 !important;
  float: none;
  width: 100% !important;
  height: 100%;
}
.mlc-style-3 .col-sm-6 > * {
  min-height: 100%;
}
.mlc-style-3 .col-sm-6 > .ml-art2-item{
  min-height: 0;
}
.mlc-style-3 .ml-small-media .content{
  min-height: 224px;
}
.mlc-style-3.media-lobby .ml-small-media{
  margin: 0;
  padding: 0;
}
.mlc-style-3.media-lobby .ml-img-desc{
  display: none;
}


.mlc-style-3 .media-search-list.home-news .medium-item .desc,
.mlc-style-3 .ml-small-media .content{
  padding: 2rem 3rem 2.4rem;
}
.mlc-style-3 .home-news .medium-item .desc > span{
  color:#9A9A9A;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 18px;
}
.mlc-style-3 .books-item .present-btn-2{
  margin: 0.8rem 0 0px;
}
.mlc-style-3 .books-item h3{
  margin-bottom: 0 !important;
}
.mlc-style-3 .home-news .medium-item .desc h3{
  min-height: 210px;
}

.mlc-style-3 .home-news .articles-item .medium-item .desc h3,
.mlc-style-3 .home-news .books-item .medium-item .desc h3{
  min-height: 0;
}

@media only screen and (max-width: 1200px) {
  .ml-search-3.jobs-lobby {
    margin-bottom: 4rem;
  }
}

@media only screen and (max-width: 992px) {
  .ml-search-3.jobs-lobby {
    margin: 2px 0 3rem;
  }
  .mlc-style-3 .media-latest-clips h2{
    font-size: 48px;
  }
  .media-lobby.mlc-style-3{
    padding-bottom: 3rem;
  }
}

@media only screen and (max-width: 768px) {
  .ml-search-3.jobs-lobby {
    margin: 23px 0 3rem;
  }
  .mlc-style-3 .media-latest-clips h2{
    font-size: 36px;
    margin-bottom: 3.3rem;
  }
  .jobs-lobby.ml-search-3 .search-area{
    padding: 39px 20px 32px;
    margin-bottom: 5rem;
  }
  .jobs-lobby.ml-search-3 h2{
    font-size: 28px;
    margin: 0px 0 1.8rem;
  }
  .jobs-lobby .search-area form button {
    padding: 12px 0;
  }
  .mlc-style-3 .media-latest-clips .to-all-clips{
    font-size: 16px;
    padding: 8px 16px;
    line-height: 1;
  }
  .media-lobby.mlc-style-3{
    padding-bottom: 0;
  }
  .ml-search-3.jobs-lobby .search-area form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .ml-search-3.jobs-lobby .search-area form > *{
    float: none !important;
    width: 100% !important;
  }
  .mlc-style-3 .home-news .medium-item .desc h3 {
    min-height: 0;
  }
}

@media only screen and (max-width: 480px) {
}

/*Megalim Education END*/

/*Megalime Institute start*/
.ml-hero-little {
  padding: 0;
}

.ml-hero-little .row-bg {
  position: relative;
  min-height: 469px;
  text-align: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ml-hero-little .section-title {
  position: relative;
  z-index: 6;
  display: block;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.65);
  max-width: 990px;
  width: 100%;
  padding: 4.7rem 2rem 4rem;
}
.ml-hero-little .section-title h2{
  line-height: 1;
  color: #fff;
  font-weight: 700;
  font-size: 80px;
  text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.6);
  margin: 0 0 1.6rem;
}
.ml-hero-little .section-title .description{
  line-height: 1.15;
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  max-width: 770px;
  text-align: center;
  text-shadow: 0px 3px 10px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}
.ml-gray .ml-lobby-content .media-featured{
  padding-bottom: 3rem;
  border:none;
}

@media only screen and (max-width: 992px) {
  .ml-hero-little .row-bg {
    min-height: 490px;
  }
  .ml-hero-little .col-item img {
    width: 140px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
  }
  .ml-hero-little .section-title h2 {
    font-size: 60px;
  }
  .ml-hero-little .section-title .description{
    font-size: 22px;
  }
}

@media only screen and (max-width: 768px) {
  .ml-hero-little .section-title h2 {
    font-size: 48px;
  }
  .ml-hero-little .section-title .description{
    font-size: 20px;
    line-height: 28px;
  }
}

/*Megalime Institute end*/

.mod-training-courses-cf{
  background: rgba(255, 248, 225, 1);
  padding: 25px 0 0;
  overflow: hidden;
}
.mod-training-courses-cf .section-title {
  font-size: 32px;
  line-height: 38px;
  margin-bottom: 0;
  padding-top: 5px;
  font-weight: 700;
  color: #1D1D1D;
}
.mod-training-courses-cf.yellow .schools-contact-form{
  background: rgba(255, 248, 225, 1);
  padding: 0 0 15px 0;
  margin-top: 15px;
}



.ml-areas{
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.ml-areas h2,
.ml-h2{
  color: #1D1D1D;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  margin: 0 0 5.3rem;
}

.ml-areas .area-item{
  margin-bottom: 2.4rem;
}
.ml-areas .area-image{
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 90%;
  box-shadow: 4px 6px 11px 0px rgba(0, 0, 0, 0.1);
}
.ml-areas .area-item .desc{
  padding-bottom: 4.9rem;
  width: 100%;
  position: absolute;
  z-index: 9;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  transition: all .5s ease;
}
.ml-areas .area-item:hover .desc{
  bottom: 40%;
  transform: translate(-50%, 50%);
}
.ml-areas .desc:after{
  content: '';
  display: block;
  height: 2px;
  width: 200px;
  left: 0;
  right: 0;
  margin: auto;
  top: 100%;
  background-color: #fff;
  position: absolute;
}
.ml-areas .area-item .desc h3{
  color: #fff;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  text-align: center;
  margin-bottom: 2rem;
}

.ml-areas .area-item .desc p{
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 0;
}
.ml-areas .area-item:hover .desc h3,
.ml-areas .area-item:hover .desc p{
/*  text-decoration: underline;*/
}
.ml-areas .area-image .area-shadow{
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20.57%, rgba(0, 0, 0, 0.6) 100%);
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.ml-areas .area-image .aOver{
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.periods-slider-box{
  background: #F3F3F3;
  padding-top: 5rem;
  padding-bottom: 1rem;
}
.periods-slider-box h2{
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 4rem;
}
.ml-media-slider {
  margin: 40px auto;
}

.ml-media-slider .slide-item {
  padding: 10px 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: right;
}

.ml-media-slider .slide-content {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #fff;
  border-right: 8px solid #FFCC00;
  padding: 1.8rem 16px 1rem 2rem;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}

.ml-media-slider .slide-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #1D1D1D;
}
.ml-media-slider .slide-content:hover .slide-title{
  text-decoration: underline;
}

.ml-media-slider .slide-description {
  font-size: 18px;
  line-height: 1.4;
  color: #1D1D1D;
  margin: 0;
}

.ml-media-slider .slide-ages {
  color: #9A9A9A;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.ml-media-slider .slide-link {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
}

.ml-media-slider .slick-prev,
.ml-media-slider .slick-next {
  position: absolute;
  top: 50%;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  z-index: 10;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.ml-media-slider .slick-next,
.ml-activities .home-activities .activities-slider .slick-next{
  left: -7px;
  background-image: url(../img/icon-arrow-yellow-next.svg) !important;
  background-color: #FFCC00;
}
.ml-activities .home-activities .activities-slider .slick-next{
  left: -22px;
}

.ml-media-slider .slick-prev,
.ml-activities .home-activities .activities-slider .slick-prev {
  right: -7px;
  background-image: url(../img/icon-arrow-yellow-prev.svg) !important;
  background-color: #FFCC00;
}
.ml-activities .home-activities .activities-slider .slick-prev{
  right: -22px;
}
.ml-activities .home-activities{
  padding: 13.3rem 0 5rem;
}
.ml-media-slider .slick-arrow.slick-disabled {
  display: none !important;
}
.ml-activities .details > p,
.ml-activities .slick-slide div.slider-item .desc > span{
  display: none !important;
}
.ml-activities .home-activities .slider-item .desc .details a{
  position: relative;
}
.ml-activities .home-activities .slider-item .desc .details{
  text-align: left;
}



.lectures-block {
  padding-top: 3rem;
  padding-bottom: 6rem;
}
.flex-title .ml-h2{
  margin-bottom: 0;
}

.lectures-block .subtitle {
  color: #9A9A9A;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 1.1rem 0 3.8rem;
}

.lectures-block .lecture-item {
  margin-bottom: 20px;
  background: #fff;
  height: 100%;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  display: table;
  width: 100%;
  min-height: 240px;
  table-layout: fixed;
}

.lectures-block .lecture-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.lectures-block .lecture-content {
  padding: 22px 24px 10px 15px;
  text-align: right;
}
.lectures-block .lecture-img,
.lectures-block .lecture-content {
  display: table-cell;
  vertical-align: top;
  height: 100%;
}

.lectures-block .lecture-img {
  background-size: cover;
  background-position: center;
  display: flex; 
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 10px;
}
.lectures-block .lesson-plan{
  font-size: 18px;
  line-height: 1;
  color: #1D1D1D;
  margin-bottom: 1.3rem;
}

.lectures-block .lecture-content h3 {
  margin-bottom: 1rem;
  color: #1D1D1D;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}
.lectures-block .lecture-content h3 a{
  color: #1D1D1D;
  text-decoration: none;
}
.lectures-block .lecture-content h3 a:hover,
.lectures-block .lecture-content h3 a:focus{
  color: #1D1D1D;
  text-decoration: underline;
}

.lectures-block .lecture-content .lesson-text {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  margin: 0;
  color:#5A5D61;
}
.ml-all-clips{
  border: 2px solid #1D1D1D;
  border-radius: 43px;
  font-size: 24px;
  line-height: 28px;
  padding: 14px 40px;
  color: #1D1D1D;
  font-weight: 600;
}
.ml-videos-institute .media-lobby.mlc-style-3{
  padding-top: 8rem;
}

@media only screen and (max-width : 1200px) {
}

@media only screen and (max-width : 992px) {
  .mlc-style-3 .media-latest-clips h2,
  .ml-h2,
  .ml-areas h2,
  .periods-slider-box h2{
    font-size: 48px;
  }
  .ml-activities .home-activities .section-title{
    text-align: right;
  }

}
@media only screen and (max-width : 768px) {
  .mlc-style-3 .media-latest-clips h2,
  .ml-h2,
  .ml-areas h2,
  .periods-slider-box h2{
    font-size: 36px;
    margin-bottom: 3.3rem;
  }
  .ml-all-clips {
    font-size: 16px;
    padding: 8px 16px;
    line-height: 1;
  }
  .lectures-block .lecture-item {
    display: block;
  }
  .lectures-block .lecture-img,
  .lectures-block .lecture-content {
    display: block;
    width: 100%;
  }
  .lectures-block .lecture-img {
    min-height: 180px;
  }
  .ml-areas .area-item .desc {
    padding-bottom: 2.5rem;
  }
  .ml-areas .area-item .desc h3{
    font-size: 53px;
    margin-bottom: 0.6rem;
  }
  .ml-areas .area-item .desc p{
    font-size: 26px;
  }
  .ml-areas .desc:after{
    width: 163px;
  }
  .ml-areas {
    padding-bottom: 0.3rem;
  }
  .periods-slider-box{
    padding-top: 3rem;
  }
  .ml-media-slider {
    margin: 27px auto;
  }
  .ml-activities .home-activities {
    padding: 4rem 0 3rem;
  }

  .ml-activities .home-activities .section-btn,
  .page-template-megalim .section-btn{
    padding: 8px 16px;
    height: auto !important;
    line-height: 1 !important;
    font-size: 16px;
    display: inline-block;
  }
  .lectures-block {
    padding-top: 3rem;
    padding-bottom: 1rem;
  }
}
@media only screen and (max-width : 480px) {

}


/*Megalim Form*/
.ml-form-section {
  background: #fff8e1;
  padding: 25px 0 40px;
  overflow: hidden;
}
.ml-form-section.white{
  background-color: #fff;
}
.ml-form-section .section-title {
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 0;
  padding-top: 5px;
}

.ml-form-section .ml-schools-contact-form {
  background: #fff8e1;
  margin-top: 23px;
  padding: 0;
}
.ml-form-section.white .ml-schools-contact-form {
  background-color: #fff;
}

.ml-schools-contact-form {
  background: #fff;
  padding-bottom: 100px;
  z-index: 23;
}
.ml-schools-contact-form .wpcf7-spinner {
    position: absolute;
    top: 18px;
    z-index: 10;
}

.ml-schools-contact-form p {
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  color: #1d1d1d;
  margin-bottom: 38px;
}

.ml-form-section .ml-schools-contact-form input:not(.wpcf7-submit),
.ml-form-section #wrap-promo-checkbox .wpcf7-list-item .wpcf7-list-item-label::before {
  background: #fff;
}

.ml-schools-contact-form input {
  height: 60px;
  width: 100%;
  border: 1px solid #535353;
  font-size: 20px;
  font-weight: 500;
  outline: none;
  position: relative;
  z-index: 5;
  background: transparent;
  padding: 0 23px;
  direction: ltr !important;
}

body.rtl .ml-schools-contact-form input {
  direction: rtl !important;
}

.ml-schools-contact-form label {
  background: transparent;
  font-size: 20px;
  font-weight: 500;
  color: #535353;
  position: absolute;
  top: 12px;
  left: 39px;
  z-index: 2;
  transition: 0.3s;
  display: block !important;
  margin: 0;
  padding: 0;
}

.ml-form-section .ml-schools-contact-form label {
  z-index: 7;
}

body.rtl .ml-schools-contact-form label {
  right: 39px;
  left: auto;
}
.search-list-inner .item .image{
  position: relative;
}

.ml-schools-contact-form form [type="submit"] {
  padding: 12px 44px;
  border-radius: 30px;
  font-size: 24px;
  line-height: 29px;
  border: 3px solid #ffcc00;
  font-weight: 600;
  color: #000;
  background: #ffcc00;
  max-width: 244px;
  float: left;
}

.ml-schools-contact-form .col-xs-12 {
  margin-bottom: 30px;
}

.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow-wrap: normal !important;
}

.ml-schools-contact-form .wpcf7-response-output {
  margin: 0 !important;
}

.load-more-btn2.loading:after {
  font-family: WooCommerce;
  content: "\e01c";
  vertical-align: top;
  font-weight: 400;
  position: absolute;
  top: 0.5em;
  left: 12px;
  -webkit-animation: spin 2s 
  linear infinite;
  animation: spin 2s 
  linear infinite;
}

@media (max-width: 992px) {
  .ml-form-section {
    padding: 50px 0;
  }

  .ml-form-section .section-title {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 10px;
    text-align: center;
  }

  .ml-schools-contact-form p {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 35px;
  }

  .jobs-lobby.ml-art-lobby .search-area form div.input{
      float: none !important;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
      margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .ml-form-section {
    padding-bottom: 30px;
  }

  .ml-form-section .section-title {
    font-size: 30px;
    line-height: 36px;
    text-align: inherit;
  }

  .ml-form-section .ml-schools-contact-form {
    padding-bottom: 40px;
  }

  .ml-schools-contact-form {
    padding-bottom: 0;
  }

  .ml-schools-contact-form input {
    height: 50px;
  }

  .ml-schools-contact-form label {
    font-size: 18px;
    top: 14px;
  }

  .ml-schools-contact-form form [type="submit"] {
    padding: 8px 44px;
    font-size: 22px;
    float: none;
    margin: 0 auto;
    display: block;
  }
  .ml-video-lobby .jobs-lobby .search-area form div.input {
      float: none !important;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
      margin-bottom: 30px;
  }
}
/*Megalim Form end*/

/*Variations tooltip*/
.variation-tooltip {
  position: relative;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
}

.variation-tooltip img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

.variation-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: 120%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 8px;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  min-width: 230px;
  max-width: 250px;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 9999;
}
.variation-tooltip::before{
  position: absolute;
  top: 120%;
  margin-top: -6px;
  left: 50%;
  margin-left: -6px;
  content: "";
  display: block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid #333;
  visibility: hidden;
  z-index: 9999;
  transition: all 0.05s ease-in-out !important;
}

.variation-tooltip:hover::after,
.variation-tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}
/*variations tooltip end*/

/*HTML sitemap +*/
/* Container */
.simple-sitemap-container {
  line-height: 1.6;
  direction: rtl; /* RTL friendly */
}

/* Section titles (Post type, Tags) */
.simple-sitemap-container h3.post-type,
.simple-sitemap-container h3.term-tag {
  font-size: 2.2rem;
  margin: 1rem 0 1.2rem;
  color: #1D1D1D;
  font-weight: 700;
  border-bottom: 2px solid #fc0;
  display: inline-block;
  padding-bottom: 4px;
}

.simple-sitemap-container h3.post-type{
  font-size: 3.2rem;
}
/* Wrap each sitemap group */
.simple-sitemap-wrap {
  margin-bottom: 1.5rem;
}

/* Main list */
.simple-sitemap-page.main,
.simple-sitemap-post.main {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 0.75rem;
}

/* Items */
.sitemap-item {
  position: relative;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 4px;
  transition: all 0.25s ease;
  font-size: 18px;
}

.sitemap-item:hover {
  background: #E5E5E5;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Links */
.sitemap-item a {
  text-decoration: none;
  color: #1d1d1d;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sitemap-item a:hover {
  color: #1d1d1d;
  text-decoration: none !important;
}

/* Add icons before links */
.sitemap-item a::before {
  content: "🔗";
  font-size: 0.85rem;
  opacity: 0.8;
}
.sitemap-item a:hover::before {
  text-decoration: none !important;
}

/* Child lists */
.sitemap-item ul.children {
  list-style: none;
  margin: 0.5rem 0 0 1rem;
  padding: 0.5rem 0 0 1rem;
  border-left: 2px solid #ddd;
}

ul.children .sitemap-item {
  background: #fff;
  font-size: 16px;
  margin-top: 0.4rem;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .simple-sitemap-page.main,
  .simple-sitemap-post.main {
    grid-template-columns: 1fr;
  }
}
/*HTML sitemap -*/
