/*!
 * Tennie's Local Styles
 * Copyright 2008-2017 Punchmark
 */


 /*==================

 General

==================*/


@font-face {
    font-family: 'Elan ITC Std';
    /* src: url('../fonts/ElanITCStd-Medium.eot'), */
    src: url('../fonts/ElanITCStd-Medium.woff2') format('woff2'),
        url('../fonts/ElanITCStd-Medium.woff') format('woff'),
        url('../fonts/ElanITCStd-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

h1,h2,h3,h4,h5,h6, 
.h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: 'Elan ITC Std', serif !important;
}

@font-face {
    font-family: 'Flemish Script';
    /* src: url('../fonts/FlemishScriptBT-Regular.eot'); */
       src: url('../fonts/FlemishScriptBT-Regular.woff2') format('woff2'),
        url('../fonts/FlemishScriptBT-Regular.woff') format('woff'),
        url('../fonts/FlemishScriptBT-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.script {
    font-family: 'acroterion-jf', serif !important;
}


[data-widget-element="widgetHeader"].display-1 .script, [data-widget-element="widgetHeader"].display-2 .script, [data-widget-element="widgetHeader"].display-3 .script, [data-widget-element="widgetHeader"].display-4 .script {
    transform: translateY(-0.095rem) !important;
}

@media (min-width: 1200px) {
    [data-widget-element="widgetHeader"].display-1 .script, [data-widget-element="widgetHeader"].display-2 .script, [data-widget-element="widgetHeader"].display-3 .script, [data-widget-element="widgetHeader"].display-4 .script {
        transform: translateY(-0.095rem) !important;
    }
}

/*==================

Header

==================*/

header a#logo img {
    max-height: none !important;
    max-width: 225px !important;
}

@media (max-width: 991px) {
    header a#logo img {
        max-width: 190px !important;
    }
}

@media (max-width: 767px) {
    header a#logo img {
        max-width: 170px !important;
    }
}

header .main-content > .row > .col {
    min-height: 90px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    header .main-content > .row > .col {
        min-height: 130px;
    }
}

/*==================

Footer

==================*/


footer .required-links li a:hover,
footer .required-links li a:focus {
    text-decoration: underline;
}

footer h6, 
footer .h6 {
    color: var(--primary) !important;
}

footer p>table tr>td>strong, footer .p>table tr>td>strong, 
footer .small>table tr>td>strong,
footer address>table tr>td>strong,
footer p>table tr>td>span, 
footer .p>table tr>td>span, 
footer .small>table tr>td>span, 
footer address>table tr>td>span,
footer p a, 
footer .p a, 
footer .small a,
 footer address a {
    color: var(--bs-p-color) !important;
}

footer .social-networks .network,
footer .social-networks .network i {
    color: var(--primary) !important;
}

footer .social-networks .network {
    opacity: 1;
    transition: opacity 0.15s linear;
}

footer .social-networks .network:hover,
footer .social-networks .network:focus {
    opacity: 0.7 !important;
}