
@font-face {
    font-family: Petrona;
    src: url(../../fonts/Petrona/static/Petrona-Medium.ttf);
}

@font-face {
    font-family: Petrona;
    src: url(../../fonts/Petrona/static/Petrona-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: Petrona;
    src: url(../../fonts/Petrona/static/Petrona-Light.ttf);
    font-weight: lighter;
}

@font-face {
    font-family: Petrona;
    src: url(../../fonts/Petrona/static/Petrona-Italic.ttf);
    font-style: italic;
}

@font-face {
    font-family: Lato;
    src: url(../../fonts/Lato/Lato-Light.ttf);
}

@font-face {
    font-family: Lato;
    src: url(../../fonts/Lato/Lato-Regular.ttf);
    font-weight: bold;
}

@font-face {
    font-family: Lato;
    src: url(../../fonts/Lato/Lato-LightItalic.ttf);
    font-style: italic;
}


h1 {
    margin: 1.5rem 0rem;
    color: #221c20;
    font-weight: normal;
    font-size: 2.6em;
    line-height: 1.05em;
    font-family: Petrona;
}

h2 {
    margin: 1.5rem 0rem 1rem 0rem;
    color: #221c20;
    font-weight: normal;
    font-size: 1.8em;
    line-height: 1.25em;
    font-family: Petrona;
}

h3 {
    margin: 1.25rem 0rem 1rem 0rem;
    color: #221c20;
    font-size: 1.35em;
    line-height: 1.25em;
    font-family: Petrona;
}

h4 {
    margin: 1.25rem 0rem 1rem 0rem;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.5em;
    font-family: Petrona;
}

    h1.altcolor, h2.altcolor, h3.altcolor, h4.altcolor, h5.altcolor, h6.altcolor {
        color: #b74721;
    }

p {
    font-size: 1.05em;
    margin: 1rem 0rem;
}

    h1:first-child,
    h2:first-child,
    h3:first-child,
    h4:first-child,
    p:first-child {
        margin-top: 0px;
    }

    h1:last-child,
    h2:last-child,
    h3:last-child,
    h4:last-child,
    p:last-child {
        margin-bottom: 0px;
    }

a {
    color: #b74721;
    font-weight: bold;
}

    a:link,
    a:active,
    a:visited {
        text-decoration: none;
    }

    a:hover {
        color: #221c20;
    }

    a img {
        border: 0px;
    }

.btn {
    color: #fff;
    font-family: Petrona;
    font-size: 0.9em;
    background-color: #b74721;
    border-radius: 0;
    padding: 0.5em 1.2em;
    transition: all .5s ease;
}

    .btn:hover {
        color: #fff;
        background-color: #a13c1a;
    }

a.pdf {
    display: inline-block;
    padding-left: 22px;
    background: url('../../images/pdf.png') left 2px no-repeat;
}

a.word {
    display: inline-block;
    padding-left: 22px;
    background: url('../../images/doc.png') left 2px no-repeat;
}

/*-----------------------------------------------------------------------------------------------*/

.clearer {
    clear: both;
    height: 0px;
    overflow: hidden;
    font-size: 0px;
    line-height: 0px;
}

.clear:after {
    content: " ";
    clear: both;
    display: block;
}

hr {
    height: 1px;
    overflow: hidden;
    color: #666666;
    border: none;
    background-color: #666666;
    margin: 2em auto;
}

.spacer {
    margin-top: 15px;
    margin-bottom: 15px;
}

.spacer_top {
    margin-top: 15px;
}

.spacer_bottom {
    margin-bottom: 15px;
}

.padder {
    padding-left: 15px;
    padding-right: 15px;
}

.padder_left {
    padding-left: 15px;
}

.padder_right {
    padding-right: 15px;
}

.nopadding {
    padding: 0px !important;
}

.nopadding_right {
    padding-right: 0px !important;
}

.nopadding_left {
    padding-left: 0px !important;
}

.push_right {
    float: right;
}

.push_left {
    float: left;
}

img.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 4px;
    display: block;
}

img.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 4px;
    display: block;
}

img.aligncenter {
    text-align: center;
    margin: 1em auto 5px auto;
    clear: both;
    display: block;
}

img.fullwidth {
    margin: 0px;
    display: block;
}

/*-----------------------------------------------------------------------------------------------*/

html {
    font-size: 16px;
}

body {
    margin: 0px;
    color: #221c20;
    background-color: #fdfdfd;
    font-size: 1.4rem;
    line-height: 1.5em;
    font-family: Lato, Helvetica, Tahoma, Geneva, Verdana, Sans-Serif;
}

    body > form {
        margin: 0px;
    }

.blur {
    -webkit-filter: blur(7px);
    -moz-filter: blur(7px);
    filter: blur(7px);
}

/*-----------------------------------------------------------------------------------------------*/

#topContent {
    position: fixed;
    z-index: 100;
    width: 100%;
}

#header {
    padding: 1em 4em 0;
    font-family: Petrona;
    display: flex;
    background-color: #fff;
    backdrop-filter: blur(5px);
}

    /*#header:before {
        content: "";
        height: 2px;
        background-color: #b74721;
        position: absolute;
        bottom: -2px;
        left: 0;
    }*/

    #header .logo {
        display: block;
        float: left;
        line-height: 0px;
        width: 300px;
    }

        #header .logo img {
            max-width: 100%;
        }

    #header nav {
        margin-top: 3.2em;
        flex-grow: 1;
    }

    #header .header_text {
        display: flex;
        flex-flow: column;
        padding: 1.5em 0;
        /*justify-content: center;*/
    }

    #header .header_text p {
/*                font-size:1rem;*/

    }

    #header, #header .logo img, #header .navbar#navigation, #header.scrolled .header_text {
        transition: all .7s ease;
    }

        #header.scrolled {
        }

            #header.scrolled .logo img {
                max-width: 200px;
            }

            #header.scrolled .navbar#navigation {
                margin-top: 0;
            }

            #header.scrolled:before {
                width: 100%;
            }

            #header.scrolled .header_text {
                padding: 0.8em 0;
            }


        #content {
            margin-top: 30px;
        }


.block_widget {
    background-color: #b74721;
    color: #fff;
}

    .block_widget .block_branches img {
        width: 100%;
    }

.wave_block_widget, .wave_block_wide_widget {
    background-color: #b74721;
    color: #fff;
    display: flex;
    justify-content: flex-end;
    margin: 2em 0;
}

.wave_block_widget.home.black_text {
    color: #000;
}

.wave_block_widget_content, wave_block_wide_widget_content {
    display: flex;
    flex-flow: column;
}

.white_text h1, .white_text h2, .white_text h3, .white_text h4, .white_text h5, .white_text h6, .white_text a {
    color: #fff;
}

.black_text p {
    color: #000;
}

.wave_block_widget.home {
    background-color: #fff;
}

.wave_block_widget.home .altcolor{
    color: #000;
}

.wave_block_widget hr {
    width: 80%;
    background-color: #fff;
}

.wave_block_widget .wave_block_text, .wave_block_wide_widget .wave_block_wide_text {
    padding: 4em 3em 4em 1em;
    margin-left: 15vw;
}

.wave_block_widget .wave_block_image, .wave_block_wide_widget .wave_block_wide_image {
    width: 40%;
    margin: -20px 0;
}
.wave_block_widget_content,
.wave_block_wide_widget_content {
    width: 60%;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
}

.wave_block_wide_widget .wave_block_wide_image {
    /*width: 100%;*/
    overflow: hidden;
}

    .wave_block_widget .wave_block_image p, .wave_block_wide_widget .wave_block_wide_image p {
        height: 100%;
    }

        .wave_block_widget .wave_block_image p img, .wave_block_wide_widget .wave_block_wide_image p img {
            width: 100%;
            object-fit: cover;
            object-position: center;
        }

.wave_block_widget .wave_block_branches, .wave_block_wide_widget .wave_block_wide_branches {
    overflow: hidden;
}

    .wave_block_widget .wave_block_branches img, .wave_block_wide_widget .wave_block_wide_branches img {
        width: 100%;
    }

.podcast-block {
    background-color: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    margin: 2em 0;
}

.podcast-block .wave_block_widget_content {
    justify-content: center;
}
    

    .podcast-image {
        max-width: 500px;
    }

.padded_text_widget {
    padding: 1em;
}

.padded_text_widget.thoughts {
    margin: 0 4em;
}

.image_grid_widget {
    display: flex;
    justify-content: center;
    margin: 0 2em;
}

    .image_grid_widget .image_grid_block {
        flex: 1;
        margin: 2em;
        opacity: 0;
        transition: all .4s linear;
    }

        .image_grid_widget .image_grid_block.shown {
            opacity: 1;
        }

        .image_grid_widget .image_grid_block p img {
            object-fit: cover;
            object-position: center;
        }

/*-----------------------------------------------------------------------------------------------*/
.lower_banner {
    height: 500px;
    overflow: hidden;
    position: relative;
    background-attachment: fixed;
    background-size: contain;
    background-position: center 620px;
}

    .lower_banner .image_upload {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .lower_banner .container {
        position: relative;
        text-align: center;
    }

    .lower_banner img {
        width: auto !important;
        height: 100% !important;
        max-width: none !important;
    }

    .lower_banner .container h1,
    .lower_banner .container p {
        position: absolute;
        left: 15px;
        bottom: 15px;
        margin: 0px;
        padding: 15px;
        color: #FFFFFF;
        font-weight: normal;
        font-size: 2.6em;
        line-height: 1.05em;
        background-color: #4C61BB;
    }


.login_form {
    margin-bottom: 4em;
}

.sidebar_text {
    padding-right: 3em;
}
/*-----------------------------------------------------------------------------------------------*/

.breadcrumb {
    padding: 0px;
    background-color: transparent;
}

    .breadcrumb > li + li:before {
        color: #000000;
    }

    .breadcrumb > .active {
        color: #000000;
    }

/*-----------------------------------------------------------------------------------------------*/

.footer_img {
    margin-top: 20px;
}

    .footer_img img {
        width: 100%;
    }

#footer {
    padding: 20px 4em;
    font-size: 0.8em;
    display: flex;
    flex-flow: column;
    align-items: center;
    font-family: Petrona;
    background-color: #fff;
}

    #footer .logo {
        margin-bottom: -62px;
        z-index: 1;
        padding: 0 1em;
        background-color: #fff;
    }

    #footer hr {
        width: 100%;
        background-color: #221c20;
    }


    #footer .footer_content {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

        #footer .footer_content .footer_text {
            display: flex;
            flex-flow: column;
        }

    #footer .socials img {
        margin: 0 0.2em;
        transition: all .5s ease;
    }

        #footer .socials img.overlay {
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            transition: all .5s ease;
        }

    #footer .socials .img_hover {
        position: relative;
        display: inline-block;
    }

        #footer .socials .img_hover:hover img {
            opacity: 0;
        }

            #footer .socials .img_hover:hover img.overlay {
                opacity: 1 !important;
            }


    #footer .footer_separator {
        padding: 0px 10px;
    }

    #footer .footer_item {
        margin: 0 0.5em;
    }
