.wrap_early_bird{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.wrap_early_bird.gridCourses2{
    gap: 0 !important;
}

/* #newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div > div.courses_filter > div > div > div.select-menu.active > ul > li:nth-child(2){
    margin-top: 15px;
}

#newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div > div.courses_filter > div > div > div.select-menu.active > ul > li:nth-child(2)::after {
    content: "";
    display: block;
    border-bottom: 2px solid #333;
    border-radius: 0;
    width: 100%;
    position: absolute;
    top: 62px;
    padding-bottom: 10px;
    height: 5px;
    border-top: 2px solid #333;
    left: 0;
    right: 0;
}


#newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div > div.courses_filter > div > div > div.select-menu.active > ul > li:nth-child(3)::after {
    content: "";
    display: block;
    border-bottom: 2px solid #333;
    border-radius: 0;
    width: 100%;
    position: absolute;
    bottom: 260px;
    padding-bottom: 10px;
    height: 5px;
    border-top: 2px solid #333;
    left: 0;
    right: 0;
}

#newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div > div.courses_filter > div > div > div.select-menu.active > ul > li:nth-child(4)::after {
    content: "";
    display: block;
    border-bottom: 2px solid #333;
    border-radius: 0;
    width: 100%;
    position: absolute;
    bottom: 10px;
    padding-bottom: 10px;
    height: 5px;
    border-top: 2px solid #333;
    left: 0;
    right: 0;
}

#newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div > div.courses_filter > div > div > div.select-menu.active > ul > li:nth-child(4){
    margin-top:20px;
}

#newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div > div.courses_filter > div > div > div.select-menu.active > ul > li:nth-child(9){
    margin-top:20px;
} */

.select_filter_wrap{
    width: 32%;
    margin: 0 15px;
}

.courses_search_top{
    display: flex;
}

button.btn_show_allnew {
    padding: 0 30px;
    height: 46px;
    border: 0;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-left: 12px;
    font-weight: 500;
}

button.btn_show_allnew:hover{
    opacity: 0.8;
}

span.eb_highlight {
    text-align: center;
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
    /* background: #ff001a; */
    color: #fff;
    padding: 5px;
    /* border-top: 4px dotted #ff001a;
    border-right: 4px dotted #ff001a;
    border-left: 4px dotted #ff001a; */
    margin-bottom: 0;
    padding: 15px;
    font-size: 15px;
    background: #3b3b3b;
    font-family: Montserrat, sans-serif;
}

span.eb_highlight i{
    color: #ffd924;
}


.highlight_wrap .ttbase-class-item-image-content{
    background-color: #111;
    border-top: 4px solid #fff;
}

.highlight_wrap a.ttbase-class-item-image .ttbase-class-item-heading{
    color: #fff;
}

.ttbase-col-3{
    width: 32.4%;
    padding: 0 !important;
    
}

.flex_courses{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0px;
    padding: 0 9px;
    margin-bottom: 15px !important;
    margin-bottom: 40px;
}

#coursesNames {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 30px !important;
    text-align: center;
}

#coursesNames2 {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 30px !important;
}

.ttbase-class-item {
    box-shadow: 12px 12px 60px 0 rgb(0 0 0 / 10%);
}

.ttbase-col{
    margin: 0 0 10px !important;
}

.ttbase-colnew{
    margin: 0 7px 26px !important;
}

.ttbase-col-3.ttbase-colnew{
    width: 32%;
}

a.ttbase-class-item-image:hover .ttbase-class-item-heading {
    color: #fff;
}

.ttbase-class-item-image-content {
    border-top: 4px solid #232a35;
    background: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 105px;
}

p.dates_courses {
    color: #fff;
    margin-top: 3px;
    font-size: 14px;
}

a.ttbase-class-item-image .ttbase-class-item-heading {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    color: #020000;
    padding-right: unset;
    line-height: 22px !important;
}

.highlightdata .ttbase-class-item-image-content{
    background-color: #ffffff;
}

/* .highlightdata.ttbase-colnew{
    margin: 0 7px 0 !important;
} */

/* .highlightdata h3.ttbase-class-item-heading{
    color: #020000 !important;
} */

/* .highlightdata .ttbase-class-item-image-content {
    border-top: 4px solid #eee;
} */

.highlightdata .ttbase-class-item-image{
    /* border: 4px solid #ffd924; */
}


.earlyBox{
    position: relative;
    padding: 4px !important;  
}

.earlyBox::after, .earlyBox::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    /* background-image: conic-gradient(from var(--angle), #ff001a, #ffd924, #ffd924, #ff0095, #ff4545); */
    background: linear-gradient(var(--angle), 
    #032146,  #C3F2FF, #ff001a);
  /* animation: rotate 10s linear infinite; */
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    /* border-radius: 10px; */
    /* animation: 3s spin linear infinite; */
  }
  /* .earlyBox::before{
    filter: blur(0.2rem);
    opacity: 0.5;
  } */

  .earlyBox::after{
    filter: blur(5px);
  }




  @keyframes rotate {
    0%     { --angle: 0deg; }
    100%   { --angle: 360deg;
    }
  }

  @keyframes spin{
    from{
      --angle: 0deg;
    }
    to{
      --angle: 360deg;
    }
  }



.highlightdata .ttbase-class-item{
    position: relative;
    padding: 4px; 
}

  @property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  .highlightdata .ttbase-class-item::after, .highlightdata .ttbase-class-item::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), #ff001a, #ffd924, #ffd924, #ff0095, #ff4545);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    /* border-radius: 10px; */
    /* animation: 4s spin linear infinite; */
  }
  .highlightdata .ttbase-class-item::before{
    filter: blur(0.2rem);
    opacity: 0.5;
  }

  .courses_box.highlightdata_2{
    position: relative;
  }

  /* .courses_box.highlightdata_2::after{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), #ff001a, #ffd924, #ffd924, #ff0095, #ff4545);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
  } */

  @keyframes spin{
    from{
      --angle: 0deg;
    }
    to{
      --angle: 360deg;
    }
  }



  /* select */

  #newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div.flex_courses > div > ul > li:nth-child(6) {
    margin-bottom: 25px;
}

.courses_content{
    margin-top: 30px;
}

  #newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div.flex_courses > div > ul > li:nth-child(6)::after {
    content: "";
    display: block;
    border-bottom: 2px solid #333;
    border-radius: 0;
    width: 100%;
    position: absolute;
    bottom: 131px;
    /* padding-bottom: 10px; */
    height: 5px;
    border-top: 2px solid #333;
    left: 0;
    right: 0;
}
  
  .select-menu {
    /* max-width: 341px; */
    max-width: 100%;
    width: 100%;
    position: relative;
    /* margin: 50px auto; */
  }
  .select-menu .select-btn {
    display: flex;
    height: 50px;
    background: #fff;
    padding: 20px;
    font-size: 17px;
    font-weight: 400;
    border-radius: 8px;
    align-items: center;
    cursor: pointer;
    justify-content: space-between;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }
  .select-menu .options {
    position: absolute;
    /* max-width: 341px; */
    max-width: 100%;
    width: 100%;
    overflow-y: auto;
    max-height: 435px;
    min-width: 220px;
    right: 0;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation-name: fadeInDown;
    -webkit-animation-name: fadeInDown;
    animation-duration: 0.35s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.35s;
    -webkit-animation-fill-mode: both;
  }
  .select-menu .options .option {
    display: flex;
    height: 46px;
    cursor: pointer;
    padding: 0 16px;
    border-radius: 8px;
    align-items: center;
    background: #fff;
  }
  .select-menu .options .option:hover {
    background: #f2f2f2;
  }
  .select-menu .options .option i {
    font-size: 20px;
    margin-right: 12px;
  }
  .select-menu .options .option .option-text {
    font-size: 15px;
    color: #333;
    font-weight: 400;
  }
  
  .select-btn i {
    font-size: 20px;
    transition: 0.3s;
  }
  
  .select-menu.active .select-btn i {
    transform: rotate(-180deg);
  }
  .select-menu.active .options {
    display: block;
    opacity: 0;
    z-index: 10;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
    animation-duration: 0.4s;
    animation-fill-mode: both;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-fill-mode: both;
  }
  
  @keyframes fadeInUp {
    from {
      transform: translate3d(0, 30px, 0);
    }
    to {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
  }
  @keyframes fadeInDown {
    from {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
    to {
      transform: translate3d(0, 20px, 0);
      opacity: 0;
    }
  }


/* New CSS */

.courses_search {
    margin-bottom: 25px;
    margin-left: 12px;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    position: relative;
    max-width: 360px;
    margin-bottom: 35px;
}

.courses_search i{
    position: absolute;
    right: 0;
    padding: 10px 24px 9px 20px;
    cursor: pointer;
}

input.quicksearch {
    border: 0;
    border-bottom: 2px solid #333;
    display: block;
    padding: 0;
    margin-bottom: 0;
    width: 360px;
    margin-right: 20px;
}

.isotope-pager{
  display: flex;
    gap: 20px;
    justify-content: center;
}

.isotope-pager a{
  color: #333333 !important;
}

.courses_wrap {
    /* display:flex; */
    /* gap: 40px; */
    /* margin-top: 70px; */
    /* max-width: 1440px; */
    margin: 0 auto 50px;
}

.courses_filter {
    /* max-width: 355px; */
    width: 100%;
    background: #fff;
}

.courses_right {
    display: flex;
    width: 100%;
    justify-content: center;
}

.courses_content{
    width: 100%;
    max-width: 1170px;
    position: relative;
}


ul.courses_filter_list {
    list-style: none;
    cursor: pointer;
    margin-left: 0;
    /* padding: 1.4rem 0 2.5rem; */
    padding: 10px 0 14px;
}

li.courses_filter_listnew {
    text-transform: lowercase;
    text-transform: capitalize;
    margin-bottom: 15px;
    padding: 8px 30px !important;
}

li.courses_filter_listnew:hover{
    color: #ff001a;
}

li.courses_filter_listnew.active{
    color: #ff001a; 
    font-weight: 500;
}

.filter_heading_icon .minicon{
    display: none;
}

.filter_heading_icon .plusicon{
    display: block;
}

span.filter_heading_icon {
    margin-top: 3px;
}

.filter_heading_icon.active .minicon{
    display: block;
}

.filter_heading_icon.active .plusicon{
    display: none;
}

.courses_flex{
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr; */
    display: flex;
    /* gap: 25px; */
    flex-wrap: wrap;
}

.courses_filter_heading {
    background: #f0f0f0;
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.courses_filter_item {
    /* padding: 1rem; */
    background: #ffffff;
    box-shadow: 0 8px 13px 0 rgba(0, 0, 0, .1);
    margin-top:25px;
}

.courses_box {
    /* display: grid; */
    /* gap: 23px; */
    /* background: #ffffff;
    box-shadow: 0 8px 13px 0 rgba(0, 0, 0, .1);
    margin-bottom: 32px;
    grid-template-columns: 240px auto 110px;
    column-gap: 1.5rem; */
    /* position: relative; */
    display: block;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    min-height: 445px;
    padding: 15px;
}

.courses_box_image {
    width: 100%;
    /* max-width: 240px; */
    /* min-height: 220px; */
    /* height: 235px; */
    /* border-top-right-radius: 20px;
    border-top-left-radius: 20px; */
    border-radius: 20px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.courses_box_image::after {
    content: "";
    display: block;
    padding-bottom: 72%;
}

.courses_box_title {
    color: #000000;
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 400;
    padding: 4px 0px 10px;
}

.courses_box_price {
    padding: 0;
    font-weight: 700;
    font-size: 20px;
    color: #000000;
    display: flex;
    justify-content: flex-start;
    padding-left: 0;
}

.courses_box_title i{
    margin-left: 10px;
}
a.courses_links {
    margin-bottom: 30px;
    display: block;
    /* width: 100%; */
    padding: 4px;
    /* position: relative; */
    width: 33.33%;
    padding: 8px;
    overflow: hidden;
}

a.courses_links:hover {
    opacity: 0.8;
}
.courses_box_cec{
    color: #595959;
    padding-top: 15px;
    font-size: 13px;
    font-weight: 500;
}
.courses_box_content{
    padding: 5px 0;
    /* text-align: center; */
}

/* #newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div.courses_wrap > div.courses_filter > div.courses_filter_item > ul > li:nth-child(6){
    position: relative;
    margin-bottom: 20px;
} */

/* #newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div.courses_wrap > div.courses_filter > div.courses_filter_item > ul > li:nth-child(6)::after{
    content: "";
    display: block;
    border-bottom: 2px solid #333;
    border-radius: 0;
    width: 100%;
    position: absolute;
    bottom: -20px;
    height: 5px;
    border-top: 2px solid #333;
    left: 0;
    right: 0;
} */

/* #newcoursesid > div > div > div > div.wpb_text_column.wpb_content_element > div > div.courses_wrap > div.courses_filter > div.courses_filter_item > ul > li:nth-child(7){
    margin-top: 40px;
} */

span.eb_new {
    position: absolute;
    top: 31px;
    color: #ffffff;
    background: #E9F250;
    padding: 4px 15px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.ribbon {
    margin: 0;
    padding: 0;
    background: #333333 !important;
    color: white;
    padding: 1em 0;
    position: absolute;
    top: -16px !important;
    right: -34px !important;
    transform: translateX(12%) translateY(0%) rotate(45deg);
    transform-origin: top left;
  }
  .ribbon:before,
  .ribbon:after {
    content: '';
    position: absolute;
    top:0;
    margin: 0 -1px; /* tweak */
    width: 100%;
    height: 100%;
    background:#333333;
  }
  .ribbon:before {
    right:100%;
  }

span.eb_courses{
    position: absolute;
    font-size: 13px;
    top: 212px;
    /* background: red; */
    background: #333333;
    color: #fff;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    padding: 6px;
    border-radius: 20px;
    width: 74%;
    font-weight: 500;
    /* text-transform: uppercase; */
}

.ribbon.ebnewred{
    background:#ff001a !important;;
}

.ribbon.ebnewred:before,
  .ribbon.ebnewred:after{
    background:#ff001a;
}

.span.eb_courses.ebnewred{
    background:#ff001a;
}



.eb_new_2{
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin-top:-5px;
}

.eb_courses_new{
    position: relative;
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin-bottom: 5px !important;
}

.courses_box_heading i{
    color: #ff001a;
}

@media only screen and (max-width: 1400px) {
    .courses_box_image{
        /* height: 300px; */
    }
    span.eb_courses {
        /* position: absolute; */
        font-size: 11px;
        top: 247px;
    }
    .courses_box_title{
        font-size: 18px;
    }
    .courses_box_price{
        font-size: 20px;
        margin-top: 10px;
    }

    .span.eb_new{
        font-size: 12px;
    }

    .courses_box_title {
        padding: 2px 0px 5px;
    }
}

@media only screen and (max-width: 1025px) {
    .eb_new_2{
        margin-top: 5px;
    }
    .courses_wrap{
        flex-direction: column;
    }
    .courses_filter{
        max-width: 100%;
    }
    a.courses_links{
        width: 50%;
    }
    .flex_courses{
        flex-direction: column;
    }
    .courses_right {
        width: 100%;
        /* justify-content: center;
        flex-direction: column; */
        margin: 20px;
    }
    .courses_search{
        /* max-width: 360px;
        margin: 0 auto 20px; */
        margin-left: 42px;
    }

    .select-menu .options{
        max-width: 100%;
        width: 100%;
    }
    .select_filter_wrap h4{
        font-size: 12px;
    }
}


@media only screen and (max-width: 600px) {

    .select_filter_wrap h4{
        font-size: 1.125rem;
    }


    .courses_right{
        flex-direction: column;
        margin: 0;
    }

    .select_filter_wrap{
        width: 94%;
    }

    .courses_search_top {
        display: flex;
        flex-direction: column;
        margin-bottom: 12px;
    }

    .courses_search{
        margin-left: 0;
    }


    /* .courses_filter_item{
        display: none;
    } */
    a.courses_links {
        width: 100%;
        margin-bottom: 20px;
    }
    .courses_box_title{
        padding: 4px 0px 0;
    }
    .courses_filter{
        max-width: 100%;
    }
    .courses_wrap {
        margin-top: 0 !important;
    }
    .courses_box{
        grid-template-columns: 1fr;
    }
    .courses_box_image{
        max-width: 100%;
    }
    .courses_box_content {
        padding: 2px 4px 0;
    }
    .courses_box_price {
        padding: 0 5px;
    }
    input.quicksearch{
        width: 100%;
        margin-right: 0;
    }
    .courses_search i {
        padding: 10px 5px 10px 20px;
    }
    .courses_search{
        margin-bottom: 20px;
        margin-top: 20px;
        max-width: 100%;
        width: 95%;
        margin-left: 16px;
    }
    .select-menu {
        margin-top: 15px;
        margin-bottom: 20px;
        max-width: 100%;
    }
    .img-responsive {
        display: block;
        max-width: 100%;
        height: auto;
    }
    .flex_courses{
        flex-direction: column;
        margin-bottom: 30px !important;
    }
    .ttbase-col-3.ttbase-colnew{
        width: 100%;
    }
    body a.ttbase-class-item-image .ttbase-class-item-heading {
        font-size: 1rem !important;
    }
    .ttbase-colnew{
        margin: 0 0 24px !important;
    }
    /* body .highlightdata.ttbase-colnew {
        margin: 0 0 20px !important;
    } */
}