/*
Theme Name: albfinanz
Author: icehouse design
Version: 1
*/

/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/

body {
    font-family: "PT Sans", sans-serif;
    line-height: 1.58;
}

a {
    text-decoration: none;
    color: #004A7F;
    transition: color .3s ease;
}

a:hover,
a:focus {
    color: #F07F3C;
    text-decoration: none;
}

p {
    margin: 1em 0;
}

input,
textarea,
select {
    background-color: #fff;
    border: 1px solid #D8D8D8;
    border-radius: .5rem;
    padding: .75rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Volkhov', serif;
}

/*--------------------------------------------------------------
2.0 Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #004A7F;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/*--------------------------------------------------------------
3.0 Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
Font & Color Helpers
--------------------------------------------------------------*/
.text-primary {
    color: #004A7F;
}

.text-secondary {
    color: #F07F3C;
}

.bg-primary {
    background-color: #004A7F;
}

.bg-secondary {
    background-color: #F07F3C;
}

.border-primary {
    border-color: #004A7F;
}

.border-secondary {
    border-color: #F07F3C;
}

.font-heading {
    font-family: 'Volkhov', serif;
    font-weight: bold;
}

.font-cursive {
    font-family: 'Gochi Hand', cursive;
}

/*--------------------------------------------------------------
Common
--------------------------------------------------------------*/

.site {
    min-height: 100vh;
}

.wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 940px;
    width: 100%;
}

.iacfp-container,
.iacfp-container-half {
    padding-left: 3rem;
    padding-right: 3rem;
}

.section,
.section-HalfImageHalfContent .column {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-Map,
.section-HalfImageHalfContent,
.section-ImagesWithOverlay {
    padding: 0;
}

/*--------------------------------------------------------------
Buttons
--------------------------------------------------------------*/

.button,
input[type="submit"] {
    display: inline-block;
    padding: .75rem 1.25rem;
    line-height: 1;
    font-size: 16px;
    font-size: 1rem;
    border-radius: 100em;
    color: #fff;
    position: relative;
    -webkit-transition: background-color .3s ease, color .3s ease;
    transition: background-color .3s ease, color .3s ease;

    background-color: #F07F3C;
}

input[type="submit"] {
    padding-left: 1.25rem;
    cursor: pointer;
}

.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    color: #fff;
    background-color: #cd6e33;
}

/*--------------------------------------------------------------
Widgets
--------------------------------------------------------------*/
.widget_nav_menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_nav_menu li + li {
    margin-top: .5rem;
}

.widget_nav_menu a {
    padding-left: 1.75rem;
    position: relative;
    display: block;
}

/*--------------------------------------------------------------
Site Header
--------------------------------------------------------------*/

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    z-index: 100;
    border-top: 15px solid #004A7F;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
    background-color: #fff;
}

body.is-loaded .site-header {
    transition: padding .3s ease, background-color .3s ease;
}

body.is-scrolled .site-header {
    /*padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, .9);*/
}

.site-header .custom-logo-link {
    margin-right: 1em;
}

.site-header .custom-logo {
    height: 50px;
    width: auto;
    display: block;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.site-header-social .menu {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.site-header-social li + li {
    margin-left: .25rem;
}

.site-header-social a {
    display: block;
    padding: .25em;
    transition: all .3s;
}

.site-header-social a:hover,
.site-header-social a:focus {
    border-radius: .25rem;
    background-color: #004A7F;
}

.site-header-social a:hover .fab,
.site-header-social a:focus .fab {
    color: #fff;
}

.site-header-social .fab {
    font-size: 1.5rem;
    display: block;
}

.site-header-social .fa-facebook {
    color: #3B5998;
}

.site-header-social .fa-youtube {
    color: #C4302B;
}

.single-featured-image-header {
    border-bottom: 7px solid #004A7F;
    position: relative;
}

.single-featured-image-header img {
    display: block;
    width: 100%;
}

.single-featured-image-header__slider,
.single-featured-image-header__wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-featured-image-header__slider {
    z-index: 5;
    display: flex;
    overflow: hidden;
}

.single-featured-image-header__slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: margin-left .5s ease;
}

.single-featured-image-header__wrap {
    z-index: 10;
}

.single-featured-image-header .wrap {
    position: relative;
    height: 100%;
}

.single-featured-image-header__text {
    background: #FFFFFF;
    border: 8px solid #004A7F;
    border-radius: 50%;
    position: absolute;
    bottom: -2rem;
    right: 0;
    width: 240px;
    height: 240px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 25px;
}

.single-featured-image-header__title {
    color: #004A7F;
    font-size: 30px;
}

/*--------------------------------------------------------------
Site Navigation
--------------------------------------------------------------*/

.menu-toggle {
    color: #004A7F;
    transition: all .3s;
    padding: .25em .5em;
    border-radius: .25rem;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: #004A7F;
    color: #fff;
}

.menu-toggle .fas {
    width: 1.75rem;
    text-align: center;
}

.main-navigation .menu-toggle {
    align-self: flex-end;
    margin: 1rem;
    margin-bottom: 2rem;
    color: #fff;
}

.main-navigation .menu-toggle:hover,
.main-navigation .menu-toggle:focus {
    background-color: #F07F3C;
    color: #fff;
}

.main-navigation {
    position: fixed;
    left: 100%;
    top: 0;
    bottom: 0;
    color: #fff;
    background-color: #004A7F;
    width: 350px;
    transform: translate3d(0, 0, 0);
    z-index: 150;
    padding: 0;
    transition: transform .5s ease;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
}

.main-navigation.toggled-on {
    transform: translateX(-100%);
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#primary-menu li {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

#primary-menu .menu > li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#primary-menu a {
    color: #fff;
    font-weight: bold;
    display: block;
    padding: .75rem 1rem;
    transition: all .3s ease;
}

#primary-menu a:hover,
#primary-menu a:focus {
    background-color: rgba(255, 255, 255, .3);
}

#primary-menu a[href="#"] {
    pointer-events: none;
}

#primary-menu a[href="#"]:hover,
#primary-menu a[href="#"]:focus {
    background-color: transparent;
}

.main-navigation ul ul {
    background-color: rgba(255, 255, 255, .1);
    display: none;
}

.main-navigation ul ul.toggled-on {
    display: block;
}

.main-navigation .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
}

.main-navigation .menu-item-has-children > a {
    flex-grow: 1;
}

.main-navigation .menu-item-has-children > ul {
    width: 100%;
}

.dropdown-toggle {
    padding: .5rem .75rem;
    color: #fff;
    width: 2.5rem;
    text-align: center;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: rgba(255, 255, 255, .3);
}

.dropdown-toggle .fas {
    transition: transform .3s ease;
}

.dropdown-toggle.toggled-on .fas {
    transform: rotate(90deg);
}

#social-menu {
    margin-top: auto;
    list-style: none;
    background-color: #003D68;
    display: flex;
    padding: 0 1.5rem;
    align-items: center;
    height: 50px;
}

#social-menu a {
    color: #fff;
    padding: .75rem;
    display: block;
}

#social-menu a:hover,
#social-menu a:focus {
    color: #F07F3C;
}

#footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

#footer-menu li {
    display: flex;
    align-items: center;
}

#footer-menu li + li::before {
    content: '•';
}

#footer-menu a {
    color: #fff;
    display: block;
    padding: .5rem;
}

/*--------------------------------------------------------------
Site Content
--------------------------------------------------------------*/

.site-content {
    background-color: #F8F8F8;
}

.site-main {
    background: #FFFFFF;
    box-shadow: 0 1px 24px 12px rgba(0, 0, 0, 0.09);
}

.site-content-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10rem 0;
}

.site-content-header__image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

.site-content-header__content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

/*--------------------------------------------------------------
Site Footer
--------------------------------------------------------------*/

.site-footer,
.site-info {
    background: #003D68;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.site-info {
    background: #004A7F;
}

.site-footer a {
    color: #004A7F;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #004A7F;
    text-decoration: underline;
}

.site-footer .widget-area {
    display: flex;
    flex-wrap: wrap;
}

.site-footer .widget {
    margin: 1rem 0;
    min-width: 33.3333%;
    flex: 1;
}

.site-footer .textwidget > :first-child {
    margin-top: 0;
}

.site-footer .textwidget > :last-child {
    margin-bottom: 0;
}

.site-footer p {
    margin-top: 1rem;
}

.site-footer .widget_nav_menu a {
    color: #fff;
}

@media screen and (max-width: 767px) {
    .site-footer .widget-area {
        display: block;
    }
}

.site-contact {
    position: sticky;
    z-index: 50;
    bottom: 0;
    width: 100%;
    background-color: #004A7F;
    color: #fff;
    box-shadow: 0 -2px 6px 0 rgba(0, 0, 0, 0.25);
}

.site-contact a {
    color: #F07F3C;
}

.site-contact a:hover,
.site-contact a:focus {
    color: #fff;
}

.site-contact__wrap {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

a.site-contact__link {
    display: block;
    margin-left: 2rem;
    color: #fff;
    position: relative;
    padding-right: 4rem;
}

a.site-contact__link:hover,
a.site-contact__link:focus {
    color: #F07F3C;
}

.site-contact__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 5px;
    right: 0;
    background-color: #fff;
    color: #F07F3C;
    border: 3px solid #004A7F;
    font-size: 20px;
}

/*--------------------------------------------------------------
Blog
--------------------------------------------------------------*/
body.hfeed .site-main,
body.single .site-main {
    background-color: transparent;
    box-shadow: none;
    padding: 0 1rem;
}

body.hfeed .hentry,
body.single .hentry {
    padding: 1rem;
    background: #FFFFFF;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
    margin: 4rem 0;
}

body.hfeed .hentry {
    display: flex;
    border-bottom-right-radius: 44px;
}

body.hfeed .hentry:nth-child(even) {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 44px;
}

body.hfeed .hentry:nth-child(even) .post-thumbnail {
    order: 2;
    margin-right: 0;
    margin-left: 2rem;
}

body.hfeed .hentry > .post-thumbnail {
    width: 48%;
    width: calc(50% - 2rem);
    flex-shrink: 0;
    margin-right: 2rem;
    display: flex;
}

body.hfeed .hentry > .post-thumbnail a {
    display: flex;
}

body.hfeed .hentry > .post-thumbnail img {
    object-fit: cover;
}

body.hfeed .hentry .entry-header {
    margin-top: 1rem;
}

body.hfeed .hentry .entry-content-btn {
    text-align: right;
}

.pagination {
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.pagination-prev,
.pagination-next {
    width: 32px;
    height: 32px;
    border: 1px solid #F07F3C;
    color: #F07F3C;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.pagination-prev:hover,
.pagination-prev:focus,
.pagination-next:hover,
.pagination-next:focus {
    border-color: #004A7F;
}

body.single .pagination-prev,
body.single .pagination-next {
    width: auto;
    padding: 0 10px;
}

body.single .pagination-next {
    margin-left: auto;
}

body.single .pagination-prev i {
    margin-right: .5rem;
}

body.single .pagination-next i {
    margin-left: .5rem;
}

.pagination form {
    margin: 0 auto;
}

.pagination input {
    color: #F07F3C;
    background-color: rgba(255, 255, 255, .5);
}

.pagination-links {
    justify-content: center;
}

.pagination-links .page-numbers {
    margin: 0 .5rem;
}

.pagination-links .prev,
.pagination-links > .page-numbers:not(.next):last-child {
    margin-right: auto;
}

.pagination-links .next,
.pagination-links > .page-numbers:not(.prev):first-child {
    margin-left: auto;
}

/*--------------------------------------------------------------
Sections
--------------------------------------------------------------*/

.section-FrontPageSection__wrap {
    display: flex;
    justify-content: flex-end;
}

.section-FrontPageSection__text > :first-child {
    margin-top: 0;
}

.section-FrontPageSection__text > :last-child {
    margin-bottom: 0;
}

.section-FrontPageSection__action {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F07F3C;
    color: #fff;
    border-radius: 50%;
    margin-top: 1rem;
    width: 50px;
    height: 50px;
}

.section-FrontPageSection__action i {
    font-size: 40px;
    margin-left: 5px;
}

.section-FrontPageSection__content {
    background: rgba(255, 255, 255, 0.83);
    border: 8px solid #004A7F;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
    padding: 1rem;
}

@media screen and (min-width: 768px) {
    .section-FrontPageSection__content {
        width: 70%;
        padding: 10%;
        background: rgba(255, 255, 255, 0.83);
        border: 8px solid #004A7F;
        box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
        border-radius: 50%;
        text-align: center;
        position: relative;
    }

    .section-FrontPageSection__action {
        position: absolute;
        bottom: -50px;
        left: 15%;
        width: 100px;
        height: 100px;
    }

    .section-FrontPageSection__action i {
        font-size: 80px;
        margin-left: 10px;
    }
}

@media screen and (min-width: 1024px) {
    .section-FrontPageSection__content {
        width: 50%;
        padding: 8%;
    }

    .section-FrontPageSection__action {
        bottom: -25px;
    }
}

@media screen and (min-width: 1440px) {
    .section-FrontPageSection__content {
        width: 60%;
        padding: 7%;
    }
}

.section.vertical-centered {
    position: relative;
}

.section-anchor {
    position: relative;
    top: -200px;
}

.section.vertical-centered .section-anchor {
    position: absolute;
}

/*--------------------------------------------------------------
Rows
--------------------------------------------------------------*/

.row-RecentPosts__item {
    background: #FFFFFF;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
    border-bottom-right-radius: 44px;
    text-align: center;
}

.row-RecentPosts__img {
    display: block;
}

.row-RecentPosts__btn {
    transform: translateY(-50%);
    margin-bottom: -1rem;
}

.row-RecentPosts__title {
    text-align: left;
    padding: 0 1rem .5rem;
    font-size: 20px;
    color: #004A7F;
}

.row-RecentPosts__excerpt {
    text-align: left;
    padding: 0 1rem 1rem;
}

/*--------------------------------------------------------------
Modules
--------------------------------------------------------------*/

.module-TextBoxIcon {
    border-width: 0;
    padding-bottom: 4rem;
    background-color: #004A7F;
    color: #fff;
    border-bottom-right-radius: 26px;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.25);
}

.module-TextBoxIcon__title {
    font-family: 'Volkhov', serif;
    font-weight: bold;
}

.module-TextBoxIcon__icon {
    top: auto;
    right: 4px;
    bottom: 4px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F07F3C;
    border-width: 0;
}

.module-ModuleTestimonials__item {
    background: #FFFFFF;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
    border-radius: 0 0 44px 0;
    padding: 1.5rem;
    text-align: center;
    display: none;
    transition: all .3s;
}

.module-ModuleTestimonials__img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: block;
    margin: 0 auto;
    border: 6px solid #004A7F;
}

.module-ModuleTestimonials__name {
    color: #004A7F;
    margin-top: .5rem;
}

.module-ModuleTestimonials__title {
    font-size: 22px;
    margin-top: .5rem;
    color: #004A7F;
}

.module-ModuleTestimonials__text {
    text-align: left;
    margin-top: .5rem;
}

.module-ModuleTestimonials__text > :last-child {
    margin-bottom: 0;
}

.module-ModuleTestimonials__item--active {
    display: block;
}

.module-ModuleTestimonials__nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.module-ModuleTestimonials__nav-item {
    display: block;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 50%;
    margin-right: .5rem;
    transition: all .3s ease;
}

.module-ModuleTestimonials__nav-item:hover,
.module-ModuleTestimonials__nav-item:focus {
    background-color: #ddd;
}

.module-ModuleTestimonials__nav-item--active,
.module-ModuleTestimonials__nav-item--active:hover,
.module-ModuleTestimonials__nav-item--active:focus {
    background-color: #F07F3C;
}

.row-RecentPosts .slick-arrow {
    color: #004A7F;
    transition: color .3s ease;
}

.row-RecentPosts .slick-arrow:hover,
.row-RecentPosts .slick-arrow:focus {
    color: #F07F3C;
}

/*--------------------------------------------------------------
Responsive
--------------------------------------------------------------*/

@media (max-width: 767px) {
    .site-header .custom-logo {
        height: 40px;
    }

    .site-tagline {
        width: 100%;
        order: 0;
        font-size: 13px;
        margin-bottom: .5rem;
    }

    .site-branding,
    .site-header-social,
    .menu-toggle {
        order: 1;
    }

    .site-header-social {
        margin-left: auto;
    }

    .site-contact {
        position: fixed;
        top: 145px;
        z-index: 100;
        bottom: auto;
        box-shadow: none;
        width: 100vw;
    }

    .site-contact__wrap {
        align-items: flex-end;
    }

    .site-contact__wrap > .font-heading {
        align-self: center;
        font-size: 80%;
    }

    a.site-contact__link {
        padding: 0;
        margin-left: 60px;
    }

    .site-contact__text {
        display: none;
    }

    .site-content-contain {
        overflow: hidden;
    }

    .single-featured-image-header,
    .site-content-contain {
        margin-top: 50px;
    }

    .single-featured-image-header + .site-content-contain {
        margin-top: 0;
    }

    body.hfeed .hentry {
        display: block;
    }

    body.hfeed .hentry > .post-thumbnail {
        width: 100%;
        margin-left: 0 !important;
    }
}
