/*Search Box start*/

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

#primary {
    margin: 3rem 0 !important;
}

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

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

body {
    color: var(--teflie-text-primary) ;
}

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

.course-top {
    background: white;
    border-radius: 20px;
    margin-bottom: 40px;
}

.course-bottom {
    background: white;
    padding: 30px;
    border-radius: 20px;
}

.fa-check {
    width: 20px;
    height: 20px;
    background: #405364;
    padding: 3px;
    border-radius: 20px;
    color: white;
}

.search-col-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.search-col-inner div.search-field {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e7e7e8;
    padding-right: 40px;
}

.search-section {
    background-color: #fff;
    border-radius: 40px;
    padding: 15px 0 15px 15px;
    border: 1px dashed;
}

.search-field select {
    border: none;
    background-color: transparent;
    padding: 0px !important;
    width: 200px;
    height: 30px;
    font-size: 1rem !important;
    outline: none;
    font-weight: 400;
    color: #444D55;
    -webkit-appearance: none;
    background-image: url(/wp-content/uploads/2021/07/down-arrow.svg);
    background-position: right -20%;
    background-repeat: no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.search-field label {
    font-size: 0.875rem;
    font-weight: 600;
}

.search-col-inner .degree-div {
    border-right: none !important;
    padding-right: 0px !important;
}

.timer-container {
    display: none;
    text-align: center;
    background: rgba(0, 0, 0, 0.075);
    width: 300px;
    padding: 10px 20px;
    border-radius: 20px;
    margin: 0 auto 50px;
}

.course-includes-img img {
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.course-includes {
    display: flex;
}

.course-inc-head {
    margin-bottom: 20px;
    font-size: 21px;
    color: #193848;
    font-weight: 700;
}

.course-img-div img {
    object-fit: cover;
    height: 200px;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.recommended-banner-div {
    position: absolute;
    padding: 10px 0px;
    top: -26px;
    text-align: center;
    width: 280px;
    left: calc(50% - 140px);
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.recommended-banner {
    /* background-color: #e6af29; */
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.82px;
    color: #fff;
    margin-right: 0px !important;
}

.recommended-banner-div:hover {
    background-color: var(--color-primary);
}

.recommended-banner i {
    font-size: 1.6rem;
    margin-right: 7px;
}

.content-div .course-title {
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.course-includes {
    color: #193848;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    padding: 0 0 20px 0;
}

.course-includes-img {
    margin-right: 5px;
}

.guide {
    background: #EDEFF0;
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    margin: 10px 0 30px;
}

.guide .title {
    font-size: 15px;
    color: #193848;
}

.course-col {
    display: flex;
}

.course-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.course-col-inner .content-div {
    padding: 0 30px 30px 30px;
}

.course-btn-div {
    display: flex;
    justify-content: center;
    padding: 0 30px 30px;
    flex-direction: column;
    gap: 10px;
}

.learn-more-link {
    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;
    width: 100%;
    padding: 12px 24px;
    border-radius: 100px;
    text-align: center;
    outline: none;
    border: none;
    display: inline-block;
}

.learn-more-link:hover {
    color: white !important;
}

.feather-check {
    width: 20px;
    height: 20px;
    background: #405364;
    flex: none;
    margin-right: 10px;
    border-radius: 10px;
    padding: 3px;
    color: white;
}

.recommended-icon {
    background: #E92375;
}

.course-col-inner .course-price,
.courses .course-price {
    background: #D9D9D9;
    height: 44px;
    margin: -22px 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    z-index: 111;
    position: relative;
}

.course-col-inner .course-pric del,
.courses .course-price del {
    position: relative;
    top: -2px;
    margin-right: 4px;
}

.course-col-inner .course-pric ins,
.courses .course-price ins {
    font-size: 24px;
    font-weight: 700;
}

h4.course-title {
    padding: 0 30px 30px;
    font-size: 21px;
    min-height: 80px;
}

.course-result-container .offer-ends {
    display: none;
}

.course-result-col .section-heading,
.course-result-col>p {
    text-align: center;
    font-size: 23px;
    font-weight: 700;
    color: #193848;
}

.page-id-48278 #search_section {
    margin: 50px 0;
}

.course-search-text {
    margin-bottom: 80px !important;
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
}

.video {
    margin: 50px 0;
    display: flex;
    align-items: center;
}

.video .content {
    width: 40%;
}

.video .thumbnail {
    width: 60%;
    height: 400px;
    border-radius: 40px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    border: 10px solid #D1D1D1;
    align-items: end;
}

.video .thumbnail:after {
    content: "";
    background: #DFB428 url(https://www.friidesigns.com/wp-content/uploads/2018/11/white-play-icon-png-6.png) no-repeat center center / 50px;
    width: 100px;
    height: 100px;
    position: absolute;
    border-radius: 0 15px 0 25px;
}

.video .content .title {
    font-size: 32px;
    line-height: 1.5;
    color: #193848;
}

.video_player {
    background: #405364;
    color: white;
    border-radius: 10px;
    padding: 15px 80px;
    text-transform: uppercase;
    letter-spacing: 2.84px;
    font-size: 20px;
    display: inline-block;
    margin-top: 30px;
}

.video_player:hover {
    color: white;
}

.faqs-heading {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .faqs-accordion {
        max-width: 75%;
        margin: 0 auto;
    }
}

.show-more-faqs {
    width: 20%;
    text-align: center;
    display: block !important;
    margin: 0 auto;
}

.forms {
    margin: 50px 0;
    display: flex;
    gap: 20px;
}

.callback {
    background: #DCE2E4;
    border-radius: 20px;
    padding: 30px;
    width: 50%;
}

.newsletter {
    background: #DCE2E4;
    border-radius: 20px;
    padding: 30px;
    width: 50%;
}

.flex {
    display: flex;
    gap: 20px;
}

form p {
    margin: 0;
}

.forms .wpcf7-submit {
    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: 16px !important;
    display: block !important;
    padding: 10px 16px !important;
    /* margin-bottom: -50px !important; */
    font-size: 16px !important;
    width: 100%;
    /* text-transform: capitalize; */
}

input[type=email],
input[type=number],
input[type=password],
input[type=reset],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    color: #193847;
    border: 0;
    border-radius: 10px;
    font-family: "zeitung-micro";
}

.callback .title {
    color: #193848;
    font-size: 19px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.forms span.wpcf7-form-control-wrap {
    margin-bottom: var(--teflie-space-sm);
}

.newsletter .form-header {
    display: none;
}

.newsletter .form-subheader {
    display: none;
}

.newsletter .form-disclaimer {
    display: none;
}

.mc4wp-checkbox-contact-form-7 {
    margin: 0 0 0px 10px;
    display: block;
}

.promo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.promo .title {
    font-size: 23px;
    line-height: 1.5;
    color: #193848;
}

/*Search Box end*/

@media screen and (max-width: 1200px) {
    .search-col-inner div.search-field {
        padding: 0;
    }
}

@media screen and (max-width:985px) {
    .search-col-inner div.search-field {
        margin-right: 10px;
        padding-right: 20px;
        background-image: url(/wp-content/uploads/2021/07/down-arrow.svg);
        background-position: right 75%;
        background-repeat: no-repeat;
        background-size: 15px;
        cursor: pointer;
    }

    .search-field select {
        width: 100%;
        background-position: 90% -20%;
    }

    .search-col-inner>div {
        flex: 2;
    }

    .search-btn-div {
        flex: 1 !important;
    }
}

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

    .course-result-col .section-heading, .course-result-col>p {
        margin-bottom: 10px
    }    
    .course-search-text {
        font-size: 16px;
        margin-bottom: 40px!important;
        padding: 0 20px;
    }
    .forms {
        flex-direction: column;
    }

    .callback {
        width: 100%;
    }

    .promo {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .video .content .title {
        font-size: 22px;
    }

    .newsletter {
        width: 100%;
    }

    .video {
        flex-direction: column;
    }

    .video .content {
        width: 100%;
        text-align: center;
    }

    .video .thumbnail {
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }

    .course-result-col {
        width: 100%;
    }

    .search-col-inner {
        flex-direction: column;
        justify-content: unset;
        align-items: unset;
        padding: 20px;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        display: grid;
    }

    .search-field {
        border-right: none !important;
        margin-bottom: 10px;
    }

    .tefl-search-btn:after {
        content: 'Search Courses';
        color: #fff;
        font-weight: 600;
    }

    .search-btn-div {
        text-align: center;
        grid-column: 1 / -1;
        margin-top: 0.5rem;
    }

    .tefl-search-btn {
        background-color: #DFB428;
        display: flex;
        border-radius: 25px;
        align-items: center;
        justify-content: center;
    }

    .tefl-search-btn img {
        max-width: 40px;
        margin-right: 10px;
        padding: 5px;
    }

    .search-field select {
        background: none;
    }

    .page-id-48278 .course-col {
        margin-bottom: 50px;
    }
}


/*
 * CSS to fix mobile design by Przemek 
 * 11th May 2022
 */
@media (max-width: 544px) {
    .search-section {
        border-radius: 20px;
        padding: 0;
        margin: 0px 10px 40px!important;
    }
}