/* PROXIMA NOVA FONT */

@font-face{
    font-family:"proxima-nova";
    src:url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-regular.woff2") format("woff2"),url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family:"proxima-nova";
    src:url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-italic.woff2") format("woff2"),url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-italic.woff") format("woff");
    font-weight: normal;
    font-style: italic;
}

@font-face{
    font-family:"proxima-nova";
    src:url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-light.woff2") format("woff2"),url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face{
    font-family:"proxima-nova";
    src:url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-bold.woff2") format("woff2"),url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face{
    font-family:"proxima-nova";
    src:url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-bold-italic.woff2") format("woff2"),url("/wp-content/themes/emberly-child/fonts/proxima-nova/proxima-nova-bold-italic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
}

/***** *****/
body main#content {
    padding-right: 0!important;
    padding-left: 0!important;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/***** BGS *****/
.bg-primary {
    background-color: #2a789b;
}

.bg-secondary {
    background-color: #0F5580;
}

.bg-grey {
    background-color: #F4F4F4;
}

/**** BUTTONS *****/
body a.button, body button, input[type=submit], body .gform_wrapper #field_submit input, body .editor-styles-wrapper .content-block .button {
    border-radius: 6px;
    background-color: #E6B42B;
}

a.button:hover, .button a:hover, body .gform_wrapper #field_submit input:hover {
    background-color: #f2c446;
}

.button:hover svg, .button-secondary:hover svg {
    margin-left: 15px;
}

.content-block .button-container, body .editor-styles-wrapper .content-block .button-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/***** GRAVITY FORM MAIL SIGNUP ****/
.block-subscribe-box label.gfield_label {
    color: #fff;
}

.block-subscribe-box input {
    border-radius: 6px;
    border: none;
}

.block-subscribe-box span.gfield_required.gfield_required_asterisk {
    display: none;
}

.block-subscribe-box .gform_footer { display: none!important; }


@media screen and (max-width: 767px) {
    .block-subscribe-box { display: block; margin-top: 20px; }
    .block-subscribe-box .gform_footer.top_label { margin-left: 0; }
}

.block-editor__container .toggle-heading img {
    width: 20px;
}


/***** DARK THEME *****/

.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark h5, .theme-dark h6, .theme-dark p, .theme-dark div {
    color: #fff;
}

.theme-dark .button-secondary, .theme-dark .button-secondary span {
    color: #fff;
}

.theme-dark .button-secondary svg {
    fill: #fff;
}

.theme-dark #breadcrumbs a {
    color: #fff;
}


/***** News *****/
@media screen and (min-width: 800px){
    .card-items {
        margin-right: -3%;
        margin-left: -3%;
    }

    .card-items .card-item {
        margin-right: 1.5%;
        margin-left: 1.5%;
    }
}

.card-items a {
    color: #000;
    text-decoration: none;
}

/***** TOGGLES *****/
.em-toggle-heading {
    font-size: 15px;
}

.em-toggle-header {
    padding: 8px 16px;
}

/**** TEXT TRANSFORM ****/
.text-transform-uppercase {
    text-transform: uppercase;
}
.text-transform-capitalize {
    text-transform: capitalize;
}

/***** TEXT COLORS ****/
body .text-dark h1, body .text-dark h2, body .text-dark h3, body .text-dark h4, body .text-dark h5, body .text-dark h6, body .text-dark p, body .text-dark div, body .text-dark, body .text-dark a {
    color: #222222;
}



form.header-search-form {
	position: relative;
	display: flex;
	align-items: center;
}

.mobile-search {
    padding: 20px 35px;
}

.mobile-search input[type="search"] {
	width: 100%;
}

.mobile-search input[type="search"] {
    width: 100%;
    font-size: 18px;
    padding: 13px 20px;
}

.mobile-search input[type=submit] {
    display: none;
}

.mobile-search .search-icon {
    background: #e6b42b;
    padding: 0 14px;
    fill: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
	width: 50px;
    height: 50px;
}

/*** Video Embed Container ***/
.embed-container { 
    position: relative; 
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}