/* 
Theme Name: York Associates
Theme URI: https://github.com/elementor/hello-theme/
Description: York Associates is a child theme of Hello Elementor, created by Instadesign
Author: Elementor Team
Author URI: https://instadesign.co.uk
Template: hello-elementor
Version: 1.0.1
Text Domain: york-associates
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/


@font-face {
    font-family:"ARS Maquette Pro";
    src:url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Regular.woff2") format("woff2"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Regular.woff") format("woff"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Regular.otf") format("opentype");
    font-style:normal;font-weight:400;
font-display:swap;}

@font-face {
    font-family:"ARS Maquette Pro";
    src:url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Italic.woff2") format("woff2"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Italic.woff") format("woff"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Italic.otf") format("opentype");
    font-style:italic;font-weight:400;
font-display:swap;}

@font-face {
    font-family:"ARS Maquette Pro";
    src:url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Bold.woff2") format("woff2"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Bold.woff") format("woff"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-Bold.otf") format("opentype");
    font-style:normal;font-weight:900;
font-display:swap;}

@font-face {
    font-family:"ARS Maquette Pro";
    src:url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-BoldItalic.woff2") format("woff2"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-BoldItalic.woff") format("woff"),url("https://york-associates.co.uk/wp-content/themes/york-associates/ARSMaquettePro-BoldItalic.otf") format("opentype");
    font-style:italic;font-weight:900;
font-display:swap;}

@font-face {
    font-family:"Jaws";
    src:url("https://york-associates.co.uk/wp-content/themes/york-associates/Laffayette_Comic_Pro.woff2") format("woff2"),url("https://york-associates.co.uk/wp-content/themes/york-associates/Laffayette_Comic_Pro.woff") format("woff");
    font-style:normal;font-weight:400;
font-display:swap;}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, button, .elementor-widget-button .elementor-button {
	font-family: "ARS Maquette Pro", sans-serif !important;
	font-weight: 900 !important;
	font-size: 1.4em;
}

body, input, select, textarea, .elementor-widget-text-editor, .elementor-widget-theme-post-content, .elementor-element, .elementor-nav-menu, .elementor-item, .elementor-widget-premium-addon-progressbar .premium-progressbar-left-label, .skill-set p, .comment-form-author label, .comment-form-email label, .comment-form-url label, .comment-form-rating label, .comment-form-comment label, .widget_calendar #wp-calendar caption, .widget.widget_rss li .rsswidget, .eg-jimmy-carter-element-9, .eg-jimmy-carter-element-9:hover {
	font-family:"ARS Maquette Pro", sans-serif !important;	
}

.elementor a {
    color: var(--e-global-color-edca60b);
}

*::selection {
    background-color: #009FE3;
    color: #ffffff;
}

.navy * a:hover {
    color: #009FE3;
}

span.cyan {
    color: #009FE3;
}

figcaption.wp-caption-text {
    font-size: 12px;
}

.page-template-default .page-header h1 {
    text-align: center;
}

/* GERMAN */

html[lang="de-DE"] body {

-ms-word-break: break-all;
     word-break: break-all;

     /* Non standard for WebKit */
     word-break: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}


/* shrinking header section */

.main-header {
    height: 120px;
    transition: all .2s linear!important;
    -webkit-transition: all .2s linear!important;
    -moz-transition: all .2s linear!important;
}

.main-header.elementor-sticky--effects {
    height: 80px;
    padding-top: 2px!important;
    padding-bottom: 2px!important;
    box-shadow: 0px 6px 30px -4px rgba(0,0,0,.05);
    transition: all .2s linear!important;
    -webkit-transition: all .2s linear!important;
    -moz-transition: all .2s linear!important;
}

/* shrinking logo image */

.logo img {
    width: 327px!important;
    transition: all .2s linear!important;
    -webkit-transition: all .2s linear!important;
    -moz-transition: all .2s linear!important;
}

.main-header.elementor-sticky--effects .logo img {
    width: 218px!important;
    transition: all .2s linear!important;
    -webkit-transition: all .2s linear!important;
    -moz-transition: all .2s linear!important;
}

.ic-theme--circle .image-choices-choice .gform-field-label:after {
    background-color: var(--e-global-color-edca60b);
}

.image-choices-choice-selected span {
    filter: grayscale(1);
}

.ic-theme--circle .image-choices-choice .gform-field-label:after {
    top: calc(var(--ic-height-medium) / 2.3333) !important;
}

.image-choices-field[class*=ic-theme--] .image-choices-choice-text {
    font-family: "ARS Maquette Pro", sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .balance {
    text-wrap: balance;
}

.dce-visibility-event {
    margin-block-end: 20px !important;
}

/* HIDE COURSE STUFF */

.dce-post-item-14592, .eg-post-id-14592 /*ESP*/,
.dce-post-item-14558, .eg-post-id-14558 /*WORK PLACEMENT*/ {
    display: none !important;
}

/*HIDE TRAINERS ON FIERCE TRAINER COURSE */
.postid-17438 .meet-the-trainers {
    display: none;
}

.col-50 {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.col-50:first-of-type {
    margin-right: 2%;
}

/* BUTTONS */

[type=button], [type=submit], button {
    border: none !important;
}

/* TILES */

/*DISCOUNTS*/

.discount-banner, .be-course-discount-price {
/*ON OR OFF*/
    display: none;
}

#be-tile:before, section.be-course-card:before {
/*ON OR OFF */
    display: none;
    position: absolute;
    margin-left: 16px;
    margin-top: -8px;
    content:"25% off";
    width: calc(64px + 1vw);
    height: calc(64px + 1vw);
    background-color: #c36;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    padding-top: calc(2px + 0.25em);
    padding-left:4px;
    padding-right:4px;
    padding-bottom:  calc(4px + 0.1em);
    font-weight: 600;
    font-size: calc(12px + 1vw);
    line-height: 1;
    z-index: 999 !important;
}
/*
.be-course-price span.tx-before, .be-course-price .edc-acf
, .tax_business-english .booking-fee .edc-acf {
    text-decoration-line: line-through;
}

.be-course-price span.price_new, .be-course-discount-price {
    margin-left: 1em;
    color: #CC3366;
}

/*

/*
*******************************************
LANDING PAGES
*******************************************
*/

.max-800px-height {
    min-height: 800px);
    max-height: 900px;
}

/* SOCIAL PROGRAMME */

#going-solo .elementor-image {
filter: drop-shadow(-5px 5px 3px rgba(0, 0, 0, 0.2));
}

/* RESPONSIVE HEADING */


h2.responsive, h2.tag-line {
    font-size: clamp(1.5rem, 3vw, 4rem);
    line-height: 1;
}

h2.tag-line {
    color: var( --e-global-color-secondary );
}

/* COURSE SLIDER */

.slick-slider button.slick-arrow {
    width: 32px !important;
    height: 32px !important;
}

.swiper-button-prev {
    left: -44px !important;
}

.swiper-button-next {
    right: -44px !important;
}

.swiper-button-prev svg, .swiper-button-next svg {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
}

/*
*******************************************
COURSE ARCHIVE
*******************************************
*/


.post-type-archive-course .course-category-selection .dce-menu ul {
    gap: 16px;
    justify-content: space-between !important;
}

.post-type-archive-course .course-category-selection .dce-menu li {
    background-color: var(--e-global-color-6841be67);
    border-radius: 9px;
    overflow: hidden;
    padding-right: 16px;
}

.post-type-archive-course .course-category-selection .dce-menu li a {
display: flex;
    align-content: center;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/*
*******************************************
SINGLE COURSE
*******************************************
*/


/* FAST FACTS AND AT A GLANCE */

.fast-facts {
    font-size: 14px;
}

.fast-facts h6 {
    font-size: inherit;
}

div.premium-progressbar-progress {
    margin-bottom: 1em;
    background-color: #ffffff;
}

div.premium-progressbar-progress-bar {
    background-attachment: local;
    background-size: cover;
    background-repeat: no-repeat;
}

/*

.dimension-1 .premium-progressbar-bar {
    background-image: url(https://york-associates.co.uk/wp-content/themes/york-associates/progress-bar-cyan-bg.png);
}

.dimension-2 .premium-progressbar-bar {
    background-image: url(https://york-associates.co.uk/wp-content/themes/york-associates/progress-bar-green-bg.png);
}

.dimension-3 .premium-progressbar-bar {
    background-image: url(https://york-associates.co.uk/wp-content/themes/york-associates/progress-bar-grey-bg.png);
}

.dimension-4 .premium-progressbar-bar {
    background-image: url(https://york-associates.co.uk/wp-content/themes/york-associates/progress-bar-navy-bg.png);
}

*/
/*
*******************************************
SEARCH AND FILTER
*******************************************
*/

form.searchandfilter ul {
    padding: 0px;
}

form.searchandfilter ul li li {
    padding: 2px 0px;
}

form.searchandfilter label {
    max-width: calc(100% - 16px);
    margin-top: -6px;
}

li.sf-field-submit input[type="submit"] {
    background-color: var( --e-global-color-primary );
}

li.sf-field-submit input[type="submit"]:hover {
    background-color: var( --e-global-color-secondary );
}

#search-filter-form-18212>ul>.sf-field-taxonomy-course_category ul .sf-item-0 {
            display: none; /* HIDE "All Course Categories" */
}

#search-filter-form-19206 /* Teams filter */ li.sf-level-0 {
    display: inline;
    margin-right: 16px;
    padding: 8px;
    border-radius: 9px;
    color: #ffffff;
    font-weight: 700;
    background-color: var(--e-global-color-secondary);
}

/*
*******************************************
DCE TEAM GRID
*******************************************
*/

article.team .dce-post-title {
    min-height: 5em;
}

article.team .dce-post-content {
    min-height: 10em;
}


/*
*******************************************
DCE COURSE GRID
*******************************************
*/

article.course .dce-post-block>* {
    padding-left: 8px;
    padding-right: 8px;
}

article.course .dce-item_custommeta {
    padding: 0px;
    margin-bottom: 8px;
    background-color: var(--e-global-color-edca60b);
    border-radius: 9px 9px 0px 0px;
    text-align:  center;
}

article.course .dce-item_custommeta h6 {
    margin: 8px;
    color: var(--e-global-color-1266b3bb);
    font-size: 14px;
}

article.course .dce-post-title {
    min-height: 5em;
}

article.course .dce-item_custommeta {
    min-height: 32px;    
}

article.course .dce-meta-item {
    font-size: 14px;
    color: var( --e-global-color-secondary );
}

article.course .dce-post-terms {
    min-height: 6em;
}

article.course .dce-post-terms .dce-term-item {
    display: inline !important;
}

article.course .dce-terms-list .dce-separator {
    padding-left: 0px;
}

article.course .dce-post-content {
    min-height: 10em;
}

article.course .dce-post-block ul.dce-taxonomy-course_category {
    display: none;
}

article.course .dce-post-block ul:before {
    font-style: normal;
    font-weight: 200;
}

article.course ul.dce-taxonomy-course_tag:before {
    content: "Tags: ";   
}

article.course ul.dce-taxonomy-course_delivery:before {
        content: "Delivered ";
}

article.course .dce-post-block li.dce-term-item {
    display: inline-block;
}

article.course .dce-item_readmore {
    margin-bottom: 8px !important;
}

/*
*******************************************
ESSENTIAL GRIDS
*******************************************
*/

.eg-course-cards-wrapper .esg-entry-media-wrapper, .esg-entry-cover { /*temporarily hide featured image */
    display: none;
}

.esg-entry-content.eg-course-cards-content {
    padding-top: 0px;
}

.eg-course-cards-element-3-a {
    height: 32px;
}

/* FILTERS */

.flat-dark .navigationbuttons,
.flat-dark .esg-pagination,
.flat-dark .esg-filters {
            text-transform:none;
            text-align: center;
            font-family: "ARS Maquette Pro", sans-serif !important;
            font-weight: 900;
}

.flat-dark .esg-navigationbutton:hover,
.flat-dark .esg-filterbutton:hover,
.flat-dark .esg-sortbutton:hover,
.flat-dark .esg-sortbutton-order:hover,
.flat-dark .esg-cartbutton-order:hover,
.flat-dark .esg-filterbutton.selected { color:#fff;
            border-color:none;
            background:#27a1dd;
            background-color: #27a1dd !important;
                                     }

.flat-dark .esg-navigationbutton:hover * { color:#fff; }
.flat-dark .esg-sortbutton-order.tp-desc:hover  { color:#fff; }
.flat-dark .esg-filter-checked {padding:1px 3px;
            color:transparent;
            background:#000;
            background: rgba(0,0,0,0.2);
            margin-left:7px;
            font-size:9px;
            font-weight:300;
            line-height:9px;
}

.flat-dark .esg-filter-wrapper .esg-filterbutton {
            line-height: 16px;
            padding: 8px 16px;
            background-color: #062E4E;
}

/* FORMS */

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input, .gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 4px !important;
}

.mc4wp-form-fields .col-50 label {
        width: 100%;
        line-height: 1.5 !important;

}

/*
*******************************************
TABLES
*******************************************
*/

.tablepress thead th {
    font-family: "ARS Maquette Pro", sans-serif !important;
    color: #009FE3;
}

.tablepress td {
    border: 1px solid #F1F6F9 !important;
}

/* HOMESTAY */

.tablepress thead th {
    text-align: center;
}

.tablepress.homestay-table tr {
    border-bottom: 1px solid #009FE3;
}

.tablepress.homestay-table .odd td {
    background-color: transparent;
}

.tablepress.homestay-table tbody td {
        vertical-align: middle;
        text-align: center;
}


/* SAMPLE COURSE PROGRAMME */

.sample-course-programme table caption+thead tr:first-child th {
    border: none;
}

.sample-course-programme .odd td {
    background-color: #F1F6F9;
}

.sample-course-programme .tablepress thead th {
    background-color: #009FE3;
    font-weight: 700;
    font-size: 1em;
    color: #ffffff;
}


/*
*******************************************
TESTIMONIALS
*******************************************
*/

.ttshowcase p:before, .ttshowcase p:after, .ttshowcase_rl_quote_block p:before,  .ttshowcase_rl_quote_block p:after {
    font-family: "ARS Maquette Pro", sans-serif !important;
}

.ttshowcase p:before, .ttshowcase_rl_quote_block p:before {
    content: "“"
}

.ttshowcase p:after, .ttshowcase_rl_quote_block p:after {
    content: "”";
}

/* SINGLE TESTIMONIAL */

.single-ttshowcase .elementor-page-title {
    margin-bottom: 0px !important;
}

.single-ttshowcase h1 {
    font-family: "Jaws", sans-serif !important;
    font-size: 200% !important;
    margin-bottom: 0px !important;
    color: #062E4E !important;
}

.single-ttshowcase .ttshowcase_single_subtitle {
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 900;
    color: #333333 !important;
}

.single-ttshowcase .ttshowcase_single_readall {
    display: none;
}

.single-ttshowcase .ttshowcase p {
    margin-top: 16px;
}

/* SINGLE STAFF MEMBER */


/* FOOTER */

.footer-4 h5 {
    min-height: 42px;
}

/*
*******************************************
MEDIA QUERIES
*******************************************
*/


@media screen and (max-width: 580px) {
    #home-col-1 {
        min-height: 100vh;
        background-color: rgba(255, 255, 255, 0.8);
    }
}

@media screen and (min-width: 769px) {
        /* COURSE FUNNEL */

        #search-filter-form-18212>ul>li {
            display: inline-block;
            vertical-align: top;
            padding: 0px;
            margin-right: 1%;
        }

        #search-filter-form-18212>ul>.sf-field-taxonomy-course_category {
            width: 24%;
        }

        #search-filter-form-18212>ul>.sf-field-taxonomy-course_tag {
            width: 38%;
        }

        #search-filter-form-18212>ul>.sf-field-taxonomy-course_tag .chosen-container {
            width: 100% !important;
        }

        #search-filter-form-18212>ul>.sf-field-taxonomy-course_delivery {
            width: 16%;
        }

        #search-filter-form-18212>ul>.sf-field-submit {
            width: 19%;
            vertical-align: middle;
            text-align: right;
            margin-right: 0px;
            margin-top: 3%;
        }

}