/** !
Theme Name: Sax Funding Ltd
Theme URI: https://www.saxfunding.com/
Description: Bespoke Theme for Sax Funding Ltd using WordPress. Gutenberg compatible. Using Bootstrap 4 and Font Awesome 5.
Author: Elms Creative
Author URI: https://www.elmscreative.com/
Version: 1.0
Text Domain: elmscreative
*/

/* ==========================================================================
    Elements
   ========================================================================== */

html,
body {
    height: 100%;
}
html {
    background: #fff;
    overflow: auto;
}
body {
    background: none;
    color: #4c4c4c;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 auto 1em;
    color: #cc9b56;
    text-transform: capitalize;
    font-family: "Roboto", Arial, Helvetica, sans-serif !important;
    font-weight: 700;
}
p {
    font-size: 0.94rem;
    line-height: 1.4;
}
ul > li,
ol > li {
    font-size: 0.94rem;
}

label {
    color: #fff;
}
input[type="text"],
input[type="url"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
    padding: 0.75em 0.85em !important;
    color: #4c4c4c;
    font-size: 0.9rem !important;
    background-color: #fff !important;
    border: #cecece 1px solid !important;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-family: "Roboto", Arial, Helvetica, sans-serif !important;
}
input[type="file"] {
    color: #4c4c4c;
}
select {
    color: #4c4c4c;
    font-family: "Roboto", Arial, Helvetica, sans-serif !important;
    height: auto;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    background-color: #fff !important;
    border: #cecece 1px solid !important;
}
textarea {
    min-height: 175px !important;
    max-height: 175px !important;
    padding: 0.75em 0.85em !important;
    font-size: 0.9rem !important;
    background-color: #fff !important;
    border: #cecece 1px solid !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    font-family: "Roboto", Arial, Helvetica, sans-serif !important;
}

input[type="submit"] {
    width: auto;
    font-size: 0.9rem;
    padding: 0.75rem 2.75rem;
    text-decoration: none;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    background: #cc9b56;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: #cc9b56 1px solid;
    -moz-transition: color 0s linear 0s;
    -webkit-transition: color 0s linear 0s;
    -o-transition: color 0s linear 0s;
    transition: color 0s linear 0s;
}
input[type="submit"]:hover {
    color: #fff !important;
    background: #1b1e25;
    text-decoration: none;
    border: #1b1e25 1px solid;
}
.btn {
    width: auto;
    font-size: 0.9rem;
    padding: 0.75rem 2.75rem;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    background: #cc9b56;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: #cc9b56 1px solid;
    -moz-transition: color 0s linear 0s;
    -webkit-transition: color 0s linear 0s;
    -o-transition: color 0s linear 0s;
    transition: color 0s linear 0s;
}
.btn:hover {
    color: #fff !important;
    background: #1b1e25;
    text-decoration: none;
    border: #1b1e25 1px solid;
}

.forminator-ui.forminator-design--flat .forminator-button-submit {
    width: auto !important;
    font-size: 0.9rem !important;
    padding: 0.75rem 2.75rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-align: center !important;
    background: #cc9b56 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    border: #cc9b56 1px solid !important;
    -moz-transition: color 0s linear 0s !important;
    -webkit-transition: color 0s linear 0s !important;
    -o-transition: color 0s linear 0s !important;
    transition: color 0s linear 0s !important;
    -webkit-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
    -moz-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
    box-shadow: 0 0 0 0 rgba(50, 50, 50, 0) !important;
}
.forminator-ui.forminator-design--flat .forminator-button-submit:hover {
    color: #fff !important;
    background: #1b1e25 !important;
    text-decoration: none !important;
    border: #1b1e25 1px solid !important;
}

/* ==========================================================================
    Structure
   ========================================================================== */

header {
    padding: 0.5em 0;
    position: relative;
    z-index: 10;
    background: #1b1e25;
}
header p {
    margin: 0;
    color: #fff;
}
header .logo-wrap {
    padding: 1em;
    position: absolute;
    top: 18px;
    left: 79px;
    z-index: 5;
    display: block;
    background: rgba(27, 30, 37, 0.9);
}
header .logo-wrap .logo {
    width: 180px;
    display: block;
}
header .details > div > a {
    color: #fff;
    font-size: 0.9rem;
}
header .details > div > a:hover {
    color: #cc9b56;
}
header .details > div > hr {
    margin: 0.65em 0;
    border-top: #414755 1px solid;
}
header .details > div > a > svg {
    color: #cc9b56;
}

.menu {
    max-width: 28px;
    margin: 0;
    color: #fff;
    cursor: pointer;
}
.menu > img {
    width: 20px;
}
.menu > img:hover {
    color: #cc9b56;
    fill: #cc9b56;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg)
        brightness(104%) contrast(97%);
}
.overlay {
    width: 0;
    height: 100%;
    position: fixed;
    z-index: 1020307;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    background-size: cover;
    overflow-x: hidden;
    transition: 0.5s;
}
.overlay-content {
    width: 100%;
    position: relative;
    top: 25%;
    text-align: center;
    margin-top: 0;
}
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #fff;
    display: block;
    transition: 0.3s;
}
.overlay a:hover,
.overlay a:focus {
    color: #fff;
}
.overlay .closebtn {
    position: absolute;
    top: 26px;
    right: 37px;
    font-size: 60px;
}

section#hero {
    background: url("img/homepage-hero.jpg") center no-repeat;
    background-size: cover;
    overflow: hidden;
}
section#hero h1 {
    margin-bottom: 0.25em;
    font-size: 4rem;
    color: #cc9b56;
}
section#hero p {
    color: #fff;
    font-size: 1.25rem;
}
section#hero .inner {
    padding: 10em 1.25em;
}

.social {
    padding: 1em;
    color: #fff;
    background: #cc9b56;
}
.social > div > hr {
    margin: 0.65em 0;
    border-top: #d9b481 1px solid;
}
.social > div > a {
    color: #fff;
}

main#content h1,
main#content h2,
main#content h3,
main#content h4 {
    padding-left: 0.5em;
    border-left: #1b1e25 3px solid;
}

aside {
    position: relative;
    z-index: 0;
}
aside h1 {
    margin: 0;
    text-align: left;
    font-weight: 300;
    font-size: 2rem;
    color: #fff;
    transform-origin: 0 0;
    transform: rotate(-90deg);
    position: absolute;
    bottom: -5px;
    left: 30px;
    z-index: 20;
    padding: 0 !important;
    border: none !important;
}
aside h1 > svg {
    margin-right: 12px;
    color: #cc9b56;
    font-size: 2rem;
    position: relative;
    top: 2px;
}

footer {
    background: #2d313b;
    overflow: hidden;
}
footer #details {
    padding: 2.75em 2.5em 2em;
}
footer h5 {
    margin-bottom: 0.25em;
    color: #fff;
    font-size: 0.9rem;
}
footer p {
    color: #cbcbcb;
    font-size: 0.8rem;
}
footer p:last-child {
    margin: 0;
}
footer hr {
    margin: 0.25em 0 1em;
    border-top: #cbcbcb 1px solid;
}
footer a:active,
footer a:visited,
footer a:link {
    color: #fff;
}
footer a:hover {
    color: #cc9b56;
}
footer .logo-alt {
    max-width: 220px;
    margin: 65px auto;
    display: block;
}
footer .powered {
    padding: 0.65em 2.5em;
    background: #1b1e25;
}
footer .powered p {
    margin: 0;
    color: #fff;
    font-size: 0.8rem;
}

/* ==========================================================================
    Links and Navigation
   ========================================================================== */

a {
    font-weight: 600;
    text-decoration: none;
    -moz-transition: color 0.1s linear 0.1s;
    -webkit-transition: color 0.1s linear 0.1s;
    -o-transition: color 0.1s linear 0.1s;
    transition: color 0.1s linear 0.1s;
}
a:active,
a:visited,
a:link,
a[href^="tel"] {
    color: #4c4c4c;
}
a:hover,
a[href^="tel"]:hover {
    text-decoration: none;
    color: #cc9b56;
}
a.nostyle:active,
a.nostyle:visited,
a.nostyle:link {
    color: inherit;
    text-decoration: none;
}
.nostyle:hover {
    color: inherit;
    text-decoration: none;
}

.navbar-toggler {
    position: relative;
    z-index: 35;
}
.navbar-toggler > svg {
    color: #323232;
}
.navbar-dark .navbar-toggler {
    color: #323232;
    border-color: transparent;
}

#primary {
    margin: 0;
    padding: 0;
}
#primary > li {
    padding: 1.25rem 0;
}
#primary > li > a {
    padding: 0;
    color: #fff;
    font-weight: 700;
    line-height: 2;
}
#primary > li > a:hover {
    color: #cc9b56;
}
#primary > li.active > a {
    color: #cc9b56;
}

#secondary {
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
    text-align: left;
}
#secondary > li {
    float: left;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 1px 0px;
    display: block;
    position: relative;
    top: 1px;
}
#secondary > li > a {
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 0.8rem;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    text-transform: capitalize;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-transform: capitalize;
    text-decoration: none;
}
#secondary > li > a:hover {
    color: #cc9b56;
    background: none;
}
#secondary > li.active > a {
    color: #cc9b56;
}

/* ==========================================================================
    Misc
   ========================================================================== */

.section {
    padding: 5em 0;
    position: relative;
    z-index: 5;
}
.section-mini {
    padding: 2.5em 0;
    position: relative;
    z-index: 5;
}
.section-very-mini {
    padding: 1em 0;
    position: relative;
    z-index: 5;
}
.section-none {
    padding: 0;
    position: relative;
    z-index: 5;
}

.dark-blue-bg {
    background: #1b1e25;
}
.inner-section {
    padding: 3em 2em;
    position: relative;
    z-index: 5;
}
#bready {
    padding: 1em 1.5em;
    border-top: #ccc 1px solid;
}
p#breadcrumbs {
    margin: 0;
}
p#breadcrumbs > span {
    color: #cc9b56;
}

.card.card-service {
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.card.card-enquiry {
    background: #f8f8f8;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.card.card-enquiry > .card-body {
    padding: 4em;
}

/* ==========================================================================
    Cookie Consent
   ========================================================================== */

.cc-window {
    opacity: 1;
    transition: opacity 1s ease;
}
.cc-window.cc-invisible {
    opacity: 0;
}
.cc-animate.cc-revoke {
    transition: transform 1s ease;
}
.cc-animate.cc-revoke.cc-top {
    transform: translateY(-2em);
}
.cc-animate.cc-revoke.cc-bottom {
    transform: translateY(2em);
}
.cc-animate.cc-revoke.cc-active.cc-bottom,
.cc-animate.cc-revoke.cc-active.cc-top,
.cc-revoke:hover {
    transform: translateY(0);
}
.cc-grower {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s;
}
.cc-link,
.cc-revoke:hover {
    text-decoration: underline;
}
.cc-revoke,
.cc-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 9999;
}
.cc-window.cc-static {
    position: static;
}
.cc-window.cc-floating {
    padding: 2em;
    max-width: 24em;
    -ms-flex-direction: column;
    flex-direction: column;
}
.cc-window.cc-banner {
    padding: 1em 1.8em;
    width: 100%;
    -ms-flex-direction: row;
    flex-direction: row;
}
.cc-revoke {
    padding: 0.5em;
}
.cc-header {
    font-size: 18px;
    font-weight: 700;
}
.cc-btn,
.cc-close,
.cc-link,
.cc-revoke {
    cursor: pointer;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.cc-link {
    opacity: 0.8;
    display: inline-block;
    padding: 0.2em;
}
.cc-link:hover {
    opacity: 1;
}
.cc-link:active,
.cc-link:visited {
    color: initial;
}
.cc-btn {
    display: block;
    padding: 0.4em 0.8em;
    font-size: 0.9em;
    font-weight: 700;
    border-width: 2px;
    border-style: solid;
    text-align: center;
    white-space: nowrap;
}
.cc-banner .cc-btn:last-child {
    min-width: 140px;
}
.cc-highlight .cc-btn:first-child {
    background-color: transparent;
    border-color: transparent;
}
.cc-highlight .cc-btn:first-child:focus,
.cc-highlight .cc-btn:first-child:hover {
    background-color: transparent;
    text-decoration: underline;
}
.cc-close {
    display: block;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 1.6em;
    opacity: 0.9;
    line-height: 0.75;
}
.cc-close:focus,
.cc-close:hover {
    opacity: 1;
}
.cc-revoke.cc-top {
    top: 0;
    left: 3em;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
}
.cc-revoke.cc-bottom {
    bottom: 0;
    left: 3em;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}
.cc-revoke.cc-left {
    left: 3em;
    right: unset;
}
.cc-revoke.cc-right {
    right: 3em;
    left: unset;
}
.cc-top {
    top: 1em;
}
.cc-left {
    left: 1em;
}
.cc-right {
    right: 1em;
}
.cc-bottom {
    bottom: 0;
}
.cc-floating > .cc-link {
    margin-bottom: 1em;
}
.cc-floating .cc-message {
    display: block;
    margin-bottom: 1em;
}
.cc-window.cc-floating .cc-compliance {
    -ms-flex: 1;
    flex: 1;
}
.cc-window.cc-banner {
    -ms-flex-align: center;
    align-items: center;
}
.cc-banner.cc-top {
    left: 0;
    right: 0;
    top: 0;
}
.cc-banner.cc-bottom {
    left: 0;
    right: 0;
    bottom: 0;
}
.cc-banner .cc-message {
    -ms-flex: 1;
    flex: 1;
    font-size: 0.9em;
}
.cc-compliance {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: justify;
    align-content: space-between;
}
.cc-compliance > .cc-btn {
    -ms-flex: 1;
    flex: 1;
}
.cc-btn + .cc-btn {
    margin-left: 0.5em;
}
.cc-message {
    color: #4c4c4c;
}
.cc-btn {
    color: #fff !important;
}

.cc-floating.cc-theme-classic {
    padding: 1.2em;
    border-radius: 5px;
}
.cc-floating.cc-type-info.cc-theme-classic .cc-compliance {
    text-align: center;
    display: inline;
    -ms-flex: none;
    flex: none;
}
.cc-theme-classic .cc-btn {
    border-radius: 5px;
}
.cc-theme-classic .cc-btn:last-child {
    min-width: 140px;
}
.cc-floating.cc-type-info.cc-theme-classic .cc-btn {
    display: inline-block;
}
.cc-theme-edgeless.cc-window {
    padding: 0;
}
.cc-floating.cc-theme-edgeless .cc-message {
    margin: 2em 2em 1.5em;
}
.cc-banner.cc-theme-edgeless .cc-btn {
    margin: 0;
    padding: 0.8em 1.8em;
    height: 100%;
}
.cc-banner.cc-theme-edgeless .cc-message {
    margin-left: 1em;
}
.cc-floating.cc-theme-edgeless .cc-btn + .cc-btn {
    margin-left: 0;
}

/* ==========================================================================
    Google Recapatcha V3
   ========================================================================== */

.grecaptcha-badge {
    display: none !important;
}

/* ==========================================================================
    WP Page Navi
   ========================================================================== */

.wp-pagenavi {
    width: 100%;
    height: auto;
    margin: 1rem auto;
    text-align: center;
    clear: both;
}
.wp-pagenavi a,
.wp-pagenavi span {
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    color: #4c4c4c;
    border: 0px solid #029bab;
    padding: 3px 5px;
    margin: 2px;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
    border-color: #4c99ab;
}
.wp-pagenavi span.current {
    color: #4c4c4c;
    font-weight: 600;
}

/* ==========================================================================
    Media Queries: iPad
   ========================================================================== */

/* iPad [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
}

/* iPad [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
}

/* iPad 3/4 [landscape] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {
}

/* iPad 3/4 [portrait] */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
}

/* ==========================================================================
    Bootstrap Queries
   ========================================================================== */

@media (max-width: 575.98px) {
    header .logo-wrap .logo {
        width: 140px;
    }
    header .logo-wrap {
        left: auto;
        right: 20px;
    }
    #primary > li > a {
        line-height: 1;
        font-size: 1.5rem;
    }
    aside h1 {
        bottom: 30px;
        left: 28px;
        font-size: 1.5rem;
        transform: rotate(0deg);
    }
    aside h1 > svg {
        font-size: 1.25rem;
        top: 0px;
    }
    section#hero > .container-fluid {
        padding: 0 !important;
    }
    section#hero .inner {
        padding: 10em 3em;
    }
    section#hero h1 {
        font-size: 2.6rem;
    }
    section#hero p {
        font-size: 1.1rem;
    }
    footer .powered {
        flex: none;
        width: 100%;
        display: block !important;
        overflow: hidden;
    }
    footer .powered > div {
        flex: none;
        width: 100%;
        margin: 0 !important;
        display: block;
        text-align: center;
    }
    footer .powered p {
        font-size: 0.7rem;
    }
    .card.card-enquiry > .card-body {
        padding: 2em;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    header .logo-wrap .logo {
        width: 140px;
    }
    header .logo-wrap {
        left: auto;
        right: 20px;
    }
    #primary > li > a {
        line-height: 1;
        font-size: 1.5rem;
    }
    aside h1 {
        bottom: 30px;
        left: 28px;
        font-size: 1.5rem;
        transform: rotate(0deg);
    }
    aside h1 > svg {
        font-size: 1.25rem;
        top: 0px;
    }
    section#hero > .container-fluid {
        padding: 0 !important;
    }
    section#hero .inner {
        padding: 10em 3em;
    }
    section#hero h1 {
        font-size: 2.6rem;
    }
    section#hero p {
        font-size: 1.1rem;
    }
    footer .powered {
        flex: none;
        width: 100%;
        display: block !important;
        overflow: hidden;
    }
    footer .powered > div {
        flex: none;
        width: 100%;
        margin: 0 !important;
        display: block;
        text-align: center;
    }
    footer .powered p {
        font-size: 0.7rem;
    }
    .card.card-enquiry > .card-body {
        padding: 2em;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    section#hero .inner {
        padding: 14em 1.25em 8em;
    }
    aside h1 {
        bottom: 30px;
        left: 28px;
        transform: rotate(0deg);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
}

@media (min-width: 1200px) {
}

/* ==========================================================================
    Print
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
