body {
    background: var(--teflie-background-warm) !important;
    color: var(--teflie-text-primary);
}

#primary {
    margin: 5rem auto !important;
}

.ast-container {
    max-width: 1300px !important;
    margin: 0 auto !important;
}

h1,
h2,
h3,
h4 {
    color: var(--teflie-text-primary-dark) !important;
}

p {
    color: var(--teflie-text-primary) !important;
    line-height: 140% !important;
}

.smaller-height {
    height: 10rem !important;
}

.tefl-section {
    margin-bottom: 3.75rem;
}

.sub-heading {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
}

.heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
}

.title-row .heading {
    margin-bottom: 0;
}

#studentTestimonialSlider {
    display: grid;
    grid-template-columns: auto auto;
}

.great-for-tag {
    text-align: center;
    background-color: #BEDDEC;
    padding: 1rem 0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    color: var(--teflie-text-primary-dark);
}

.great-for-tag span {
    font-weight: 400;
    color: var(--teflie-text-primary);
}

.great-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.banner-image-container {
    height: 420px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 24px;
}

.english-level-test-txt {
    background-color: #BEDDEC;
    text-align: justify;
    padding: 15px 35px;
    border-radius: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.english-level-test-txt .tag-heading {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
    flex: 1;
    color: var(--teflie-text-primary);
}

.english-level-test-txt .tag-content {
    font-size: 0.8rem;
    flex: 3;
}

.english-level-test-txt .tag-content p {
    font-weight: 700;
    margin-bottom: 0!important;
}

.take-test-button {
    flex: 1;
}

.course-tab {
    background-color: #ffffff;
    padding: 1.5rem 3rem 1.5rem;
    border-radius: 0 0 2rem 2rem;
    position: relative;
}

.product-price {
    margin-bottom: 1rem;
    font-size: 22px;
    font-weight: 700;
}

.progress img {
    width: 100%;
}

.average-duration {
    font-size: 14px;
    margin-bottom: 1rem;
}

.average-duration span {
    font-weight: 700;
}

.course-duration {
    font-size: 4.268rem;
    font-weight: 400;
}

.course-duration span {
    font-size: 0.883rem;
    text-transform: uppercase;
    font-weight: 500;
}

.title-part.heading {
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
}

.btn {
    display: block;
}

.ask-a-question-btn {
    margin: 15px 0;
}

.heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    color: var(--teflie-text-primary);
}

.course-details--context {
    font-size: 1.125rem;
    line-height: 2rem;
    color: #444D55;
    font-weight: 400;
    opacity: 0.9;
}

.course_content_row {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.normaltitle {
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.list {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    color: #444D55;
    opacity: 0.9;
}

.list img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: none;
}

.preview_your_cert {
    display: flex;
    background-color: #E3E7E9;
    text-align: center;
    padding: 4rem;
    border-radius: 3rem;
    margin-bottom: 2rem;
    gap: 2rem;
}

.cert-img {
    border: 10px solid #f3f3f3;
    box-shadow: 10px 10px #d4d4d5;
    display: flex;
}

.cert-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.preview-line {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    line-height: 2rem;
}

.cert-btns {
    display: flex;
    justify-content: space-around;
}

/* .cert-btns a {
    color: #ffffff;
    font-size: 0.5rem;
} */

.video-description-section {
    border-left: 5px solid #E3E7E9;
    margin-top: 30px;
    padding-left: 30px;
    text-transform: uppercase;
}

.video-description-section>div {
    margin-bottom: 0.3rem;
}

.video-description-section--author-name {
    font-size: 23px;
    font-weight: 700;
}

.video-description-section--institute-name {
    font-size: 14px;
    font-weight: 700;
}

.video-description-section--designation {
    font-size: 14px;
    font-weight: 700;
}

.video-container {
    position: relative;
}

.video-section-image {
    height: 22rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 2rem 2rem;
    margin: 0 3rem;
}

.video-btn {
    position: absolute;
    right: 6rem;
    bottom: -3rem;
    display: flex;
    outline: none;
    border: none;
}

.student-video-btn {
    right: 4rem;
    bottom: -2rem;
}

.student-video-btn img {
    height: 50px;
    width: 50px;
}

.slick-prev.slick-arrow {
    left: 0;
}

.slick-prev.slick-arrow:before {
    content: url(/wp-content/uploads/2021/07/Group-121.png);
}

.slick-prev.slick-arrow:hover {
    background: transparent;
}

.slick-next.slick-arrow {
    right: 0;
}

.slick-next.slick-arrow:before {
    content: url(/wp-content/uploads/2021/07/Group-122.png);
}

.slick-next.slick-arrow:hover {
    background: transparent;
}

.slick-arrow {
    position: absolute;
    top: calc(50% - 30px/2);
    width: 30px;
    height: 30px;
    font-size: 0;
    background-color: transparent;
    padding: 0;
    outline: none!important;
    z-index: 999;
}

#testimonialSlider .slick-list.draggable {
    padding-bottom: 75px;
}

#testimonialSlider .slide-item {
    padding-bottom: 60px;
}

.rplg-slider-review {
    background-color: #fff;
    padding: 20px 0 0 !important;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.rplg .rplg-box {
    background-color: #fff !important;
    border: 0 !important;
    min-height: 155px;
}

.rplg-slider .rplg-box:before {
    display: none !important;
}

.rplg-slider .rplg-review-badge {
    display: none !important;
}

.rplg-slider .rplg-box .rplg-box-content:before {
    display: none !important;
}

.rplg-slider .rplg-row {
    flex-direction: column;
    padding-bottom: 20px !important;
    padding-top: 10px!important;
}

.rplg-slider .rplg-row .rplg-row-left {
    margin-bottom: 60px;
}

.rplg-slider .rplg-row .rplg-row-left img {
    position: relative;
    margin-right: 0 !important;
    z-index: 99999;
    width: 70px!important;
    height: 70px!important;
}

.rplg-slider-review .rplg-stars {
    position: absolute;
    bottom: -130px;
    left: calc(50% - 55px);
}

.rplg-box-content .rplg-review-text {
    text-align: center !important;
    display: block;
}

.rplg-slider-review .rplg-review-time {
    text-align: center;
    color: #193847!important;
    font-weight: bold !important;
}

.rplg-slider-review .rplg-review-name {
    text-align: center;
    color: #193847!important;
    text-transform: uppercase;
    font-size: 0.825rem !important;
}

.rplg-row-left:before {
    content: "";
    height: 1px;
    width: 240px;
    background-color: #c7c7c7;
    position: absolute;
    top: 50%;
    left: calc(50% - 120px);
    z-index: 1;
}

.rplg-row-right {
    margin-top: 8px !important;
}

.rplg-slider .rplg-box .rplg-box-content {
    margin: 20px!important;
}

.guide {
    background: #E3E7E9;
    margin-bottom: 50px;
    padding: 50px 50px 50px 25px;
    border-radius: 0 0 25px 25px;
}

.guide img {
    margin-left: 40px;
    border-radius: 25px;
    height: 16rem;
}

.guide .btn {
    display: inline-block;
}

.free-guide-label {
    display: flex;
    justify-content: flex-end;
    margin: -70px 0 35px 0;
}

.free-guide-label span {
    background: #BEDDEC;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

td.enroll_btn a {
    background: var(--color-primary);
    color: #fff;
    display: block;
    padding: 10px 0px;
    font-weight: 600;
    border-radius: 30px;
    width: 100px;
    margin: 0 30px 0 0;
    text-align: center;
}

td.date {
    width: 45%;
}

td.time {
    width: 20%;
}

td.availability {
    width: 10%;
    text-align: center;
}

td.price {
    width: 15%;
}

td.enroll_btn {
    width: 10%;
}

#timetable tr th,
#timetable tr td {
    border: none;
    padding: 15px 0;
    text-align: left;
}

#timetable .tablecontent {
    border: none;
}

#timetable tr th {
    border-bottom: .25px solid #cdced0;
    font-size: 0.75rem;
    text-transform: uppercase;
}

#timetable tr td {
    font-size: 0.8rem;
    font-weight: 400;
}

.flexible-booking-btn {
    display: flex;
    justify-content: center;
    margin-block: 2rem; 
}

.flexible-booking-btn a {
    background: linear-gradient(0deg, #039D95, #039D95), /* solid background */ radial-gradient(65.28% 65.28% at 26.39% 20.83%, rgba(255, 255, 255, 0.354) 0%, rgba(255, 255, 255, 0) 69.79%), radial-gradient(92.09% 85.42% at 86.3% 87.5%, rgba(0, 0, 0, 0.23) 0%, rgba(0, 0, 0, 0) 86.18%);
    background-blend-mode: lighten, normal, multiply;
    box-shadow: 4px 38px 62px 0px #0000001F, -3px -4px 7px 0px #FFFFFF26 inset;
    border: none;
    color: #fff;
    outline: none;
    transition: 0.3s ease;
    border-radius: 33px;
}






#post-dublin {
    padding: 20px;
}

.entry-content h1 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

.tefl-google-map {
    margin-bottom: 40px;
    position: relative;
    background: #f7f7f7;
    padding: 20px 50px;
    border-top: 2px solid #eee;
    display: flex;
    width: 100%;
}

.tefl-google-map iframe {
    width: 100%;
    height: 500px;
}

.tefl-google-map h5 {
    font-size: 1em;
    margin-bottom: 20px;
}



span.woocs_price_code {
    color: #93BFCE;
    font-size: 24px;
    font-weight: 500;
}

.btn-success,
.btn-success:focus {
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
}

.btn-wrapper {
    display: flex;
    align-items: center;
}

.view-now-btn {
    margin-left: 20px;
    border-radius: 0;
    padding: 5px 15px;
}

#pa_location {
    display: none;
}

hr {
    margin-top: 0;
    border: 0;
    border-top: 2px solid rgb(255, 140, 105);
}

.tablepara .fa {
    color: #ff8c69 !important;
}

.tablecontent td {
    padding: 10px 0px !important;
    border-width: 0px!important;
    text-align: left;
    color: #111;
}

a.table_btn.btn-success.enrol-now-btn {
    text-align: center;
}

.tablecontent tbody tr.table_header {
    background-color: rgba(214, 214, 214, 0.8)!important;
}

.image-block {
    position: relative;
    width: calc(100% - 25px);
    height: 500px;
    background-size: cover !important;
    background-position: center !important;
}

.text-block {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    background-color: rgba(14, 9, 9, 0.73);
    color: white;
    padding-left: 0px;
    text-align: center;
    padding-right: 0px;
}

.tefl-google-map .col-md-4,
.tefl-google-map .col-md-8 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.text-block h4 {
    text-transform: uppercase;
}

button.view-time-table-btn {
    background: #e07551;
    padding: 5px 20px 5px 20px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.book-now-field {
    background: #8998a0;
    padding: 20px 0px 80px 0px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

button.book-now-btn {
    background: #596269;
}

.slider-content p,
.lead {
    color: #111;
    font-size: 1rem;
    font-weight: 400;
}


/*this could be yours field*/

.this_could_be_yours .guide-content-col.col-md-5.col-sm-12.col-right-container {
    width: 100% !important;
    padding-right: 0px;
    margin-bottom: 40px;
}

.this_could_be_yours .img-div {
    width: 100% !important;
    height: 400px !important;
}

.this_could_be_yours .img-div img {
    left: -35% !important;
    height: 300px !important;
}

.teaching_guide_sec.section.this_could_be_yours .img-div:after {
    content: "";
    background: none !important;
    height: 0 !important;
}

.teaching_guide_sec.section.this_could_be_yours {
    padding-left: 150px;
    padding-bottom: 50px;
}

a.accredited_btn:visited {
    color: #fff;
}

a.accredited_btn {
    background: gray;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff !important;
}

a.preview_certificate_btn:visited {
    color: #fff;
}

a.preview_certificate_btn {
    background: #e07551;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: grabbing;
    color: #fff;
}

.guide-content p {
    margin-bottom: 3rem;
}

a.preview_certificate_btn:hover {
    box-shadow: 0px 9px 17px 0px #bbbbbb;
}

a.accredited_btn:after {
    content: '\2713';
    margin: 5px;
}

.teaching_guide_sec .img-div:before {
    border-bottom: 400px solid transparent;
    border-left: 120px solid #fff;
    position: absolute;
    width: 100px;
    height: 100%;
    display: block;
    content: ' ';
    left: 0;
}


/*buttom field*/

.guide-content-col.col-md-5.col-sm-12.col-right-container h2 {
    text-transform: uppercase;
}

.section-padding.time-table {
    padding-top: 0;
}


/*TEFL Course Page*/

p.lead {
    font-size: inherit;
    font-weight: inherit;
}

.teaching_guide_sec.section.this_could_be_yours {
    background-image: url(https://tefl.ie/wp-content/uploads/2019/05/topography-background-1024x1020.png);
}

.availability .good {
    color: #008016;
}

.availability .poor {
    color: #ff9900;
}

.availability span {
    font-weight: 500;
}


/*.coupon-discount{
    display: none;
}

.coupon-discount.active{
    display: contents;
}

table.tablecontent.table.table-striped tr {
    cursor: pointer;
}*/

tr.coupon-discount td {
    text-align: center;
    font-weight: bold;
    background-color: #fff;
    color: #dd2e44;
}

.tablecontent tbody tr.active {
    background-color: #fff !important;
}

.instructor-info-container {
    display: none;
}


/* ----- HEADER: Add LOCATIONS before PRICE ----- */
.tablecontent thead tr th.price {
    position: relative;
    padding-left: 110px; /* width of new column */
}

.tablecontent thead tr th.price::before {
    content: "LOCATIONS";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #122b3f; /* match theme */
    font-size: 12px;
    letter-spacing: .5px;
}

/* ----- ROWS: Add "Zoom" before price ----- */
.tablecontent tbody td.price {
    position: relative;
    padding-left: 110px; /* same width */
}

.tablecontent tbody td.price::before {
    content: "Zoom";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #122b3f;
}


/* ------------------------------
   1) Make DATES column smaller
------------------------------ */
.tablecontent td.date,
.tablecontent th.date {
    font-size: 14px;     /* smaller text */
    width: 240px;        /* tighten column */
}


/* ------------------------------
   2) Add more space before PRICE
      so Zoom is fully visible
------------------------------ */
.tablecontent th.tablepara.price,
.tablecontent td.price {
    position: relative;
    padding-left: 150px;   /* increased from ~110px */
    padding-right: 22px !important;
}


/* ------------------------------
   3) Header label: LOCATIONS
------------------------------ */
.tablecontent th.tablepara.price::before {
    content: "LOCATIONS";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .5px;
    color: #808285;
}


/* ------------------------------
   4) Row label: Zoom
------------------------------ */
.tablecontent td.price::before {
    content: "Zoom";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #122b3f;
}

/* HEADER: widen space before PRICE */
.tablecontent th.tablepara.price {
    padding-left: 100px !important;
}

/* ROWS: widen space before PRICE for Zoom text */
.tablecontent td.price {
    padding-left: 100px !important;
}

.fa.fa-question {
    display: none;
}

/* COUNTDOWN TIMER */

.clock {
    display: flex;
    /*justify-content: center;*/
    font-weight: 500;
    padding: 20px 0;
    /*width: 250px;*/
}

.clock-inner {
    display: flex;
    justify-content: center;
}

.clock-inner .base {
    font-size: 2rem;
    line-height: 2.5rem;
    font-weight: 400;
}

.digit-text {
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
}

.clock-inner .digit {
    text-align: center;
    display: flex;
    justify-content: center;
    /* text-indent: 0.3em; */
    width: auto;
    color: var(--color-primary);
}

.clock>div {
    padding: 0 5px;
    text-align: center;
    width: 100%;
}

.clock-day {
    padding-left: 0px !important;
}

.offer-ends {
    text-transform: uppercase;
    margin-bottom: 0px !important;
    font-weight: 700;
    font-size: 0.75rem;
}

@media (max-width:768px) {
    .this_could_be_yours {
        padding: 0px!important;
    }
    .this_could_be_yours_left_side>h2,
    .this_could_be_yours_left_side>p {
        color: #333;
    }
    .this_could_be_yours .img-div {
        background: none!important;
    }
    .teaching_guide_sec .img-div img {
        position: relative!important;
        max-width: unset!important;
        top: 0!important;
        left: 0!important;
    }
    .teaching_guide_sec .guide-content>a {
        display: block;
        margin: 20px auto;
        color: #fff;
    }
    .teaching_guide_sec .guide-content>br {
        display: none;
    }
    .tefl-google-map {
        padding: 15px;
        flex-direction: column;
    }
    .teaching_guide_sec .img-div {
        height: auto!important;
        margin: auto!important;
    }
    .teaching_guide_sec .col-md-7 {
        padding: 0px;
    }
    .teaching_guide_sec .img-div:before {
        display: none;
    }
    div#home_course_slider {
        padding: 0px!important;
    }
    .slider-section.carousel-inner {
        padding-bottom: 0px;
    }
    .tablecontent td {
        padding: 5px!important;
        font-size: 12px;
    }
    td.tablepara>i {
        display: none;
    }
    .book-now-field {
        padding: 0px!important;
    }
    .book-now-field>div>div:not(:last-child) {
        margin-bottom: 10px;
    }
    body .discount_banner {
        height: 500px!important;
    }
    .regulated-slider-wrapper {
        min-height: unset!important;
    }
    .guide-content-col.col-right-container {
        margin-top: 20px;
    }

    .ast-container {
        padding: 0 20px !important;
    }

    .heading {
        letter-spacing: 0;
        line-height: 140%;
        margin-bottom: 10px !important;
        font-size: 1.2rem;
    }

    .sub-heading {
        font-size: 1rem;
    }

    .great-for-tag {
        font-size: 12px;
        padding: 1rem;
    }

    .great-for-tag span {
        font-weight: 600;
    }

    .english-level-test-txt {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    p {
        font-size: 16px !important;
    }

    .cert-btns {
        flex-direction: column;
        gap: 10px;
    }

    .normaltitle {
        text-align: center;
    }

    .rplg-slider .rplg-slider-next {
        right: -15px !important;
    }

    .guide img {
        margin-left: 7px;
    }

    .guide {
        padding: 50px 25px !important;
    }

    .section-heading {
        margin: 20px 0;
        font-size: 1.5rem;
    }
}

@media (max-width:767px) {
    .why-take-10-hrs-class iframe {
        height: 200px;
        margin-bottom: 25px;
    }
    .section-padding.time-table {
        padding: 0;
    }
    .why-take-10-hrs-class.section-padding {
        padding: 0;
    }
    .image-block {
        width: 100%;
        margin-bottom: 25px;
    }
}