/*
 Theme Name:   UnderStrap Child
 Theme URI:    https://www.understrap.com
 Description:  UnderStrap Child Theme
 Author:       Holger Koenemann
 Author URI:   http://www.holgerkoenemann.de
 Template:     understrap
 Version:      0.6.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: holger1411/understrap-child
*/

:root {
    --red: #79112B;
    --darkred: #6F1C2C;
}

@font-face {
    font-family: "Adelle";
    src: url('fonts/adelle-cufonfonts/Adelle_Reg.otf') format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: "Adelle";
    src: url('fonts/adelle-cufonfonts/Adelle_Bold.otf') format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: "Proxima Nova Bold";
    src: url('fonts/Proxima_Nova_Bold.otf') format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: "Proxima Nova Regular";
    src: url('fonts/ProximaNova-Regular.otf') format("opentype");
    font-weight: normal;
}

body {
    font-family: 'Proxima Nova Regular', serif;
}

p {
    line-height: 26px;
    margin-bottom: 15px;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    font-family: 'Adelle', sans-serif;
}

h2 {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Adelle', sans-serif;
    padding-bottom: 15px;
}

h3 {
    font-size: 26px;
    font-family: 'Adelle', sans-serif;
    font-weight: 600;
}

h4 {
    font-size: 24px;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 36px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 0;
}

h5 {
    font-weight: bold;
    margin-bottom: 0;
    padding-bottom: 15px;
    font-size: 18px;
}

h6 {
    line-height: 30px;
    padding-bottom: 1.8em;
    font-weight: normal;
    font-size: 16px;
}

h5, h6 {
    font-family: 'Merriweather', serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--red);
}

.red {
    color: var(--red);
}

a:hover {
    text-decoration: none;
}

#content ul {
    list-style-position: inside;
    list-style-type: none;
    padding-left: 1em;
}

#content ul li {
    padding: 0.59em 0;
    position:relative;
}

#content ul li:before {
    height: 5px;
    width: 5px;
    background: #6f1c2c;
    content: '';
    transform: rotate(45deg);
    top: 18px;
    left: -15px;
    position: absolute;
}
#content ul.pagination li:before {
    display: none;
}
.entry-title{
    padding-bottom: 15px;
}

/* Top Navigation */
#wrapper-navbar {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 999;
}
.navbar-dark .navbar-brand {
    width:200px;
    height:46px;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-dark .navbar-nav .nav-link {
    color: #FFF;
    padding-left: 18px;
    padding-right: 18px;
}
.navbar-dark.fixed-top .navbar-nav .nav-link {
    padding-top: 20px;
    padding-bottom: 20px;
}
.navbar-dark .navbar-toggler {
    border: none;
    padding: 13px;
    margin-right: 7px;
}

/* Page Headers */
#page-wrapper {
	padding: 0;
}
.full-width-title-background-image, 
.full-width-headline-background-image {
    height: 530px;
    overflow: hidden;
}
.full-width-title-background-image .background-image,
.full-width-headline-background-image .background-image {
    min-width: 100%;
    min-height: 100%;
    background-size: cover !important;
    background-position-x: center !important;
}
.home .full-width-title-background-image, 
.home .full-width-headline-background-image {
	border-bottom: 5px solid var(--red);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url(images/navtoggle.svg) !important;
    padding: 18px;
}

.bg-primary .navbar-nav .nav-link{
    padding-top: 34px;
    padding-bottom: 34px;
    transition: 0.3s;
    outline: none;
}
ul li .nav-link {
    padding: 0;
    font-family: "Proxima Nova Regular", serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.68px;
}

ul#main-menu li {
    padding: 0;
    align-self: stretch;
}

#main-menu > li:last-child a {
    border: solid 1px #FFF;
    color: #FFF;
    padding: 6px 10px 5px 10px;
    margin-left: 30px;
    margin-right: 45px;
    vertical-align: baseline;
    margin-top: 12px;
}

#main-menu > li:last-child a:hover {
    color: var(--red);
    background: #FFF;
}

#main-menu .dropdown-menu {
    font-size: 14px;
    border: none;
    font-family: "Proxima Nova Regular", sans-serif;
    border-radius: 0;
}

.dropdown-toggle::after {
    display: none;
}

.menu-item-has-children > a {
    border-bottom: 5px solid transparent;
}

hr {
    border-top: 2px solid rgb(233 224 226);
    padding-bottom: 1.4em;
}
hr.red{
    border-top: 2px solid #B18F96;
}
hr.darkred{
    border-top: 2px solid var(--darkred);
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 540px
}

.content-area {
    padding: 0;
}

.carousel-control-prev, .carousel-control-next {
    width: 6%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    top: 12px;
    position: relative;
}

.carousel-control .icon:after {
    border: 2px solid #FFF;
    width: 10px;
    height: 10px;
    display: block;
    transform: rotate(45deg);
    content: " ";
    position: relative;
    top: -16px;
    left: 10px;
    transition: 0.5s;
    opacity: 0;
}

.carousel-control:hover .icon:after {
    transition: 0.5s;
    opacity: 1;
}

.carousel-control-next .icon:after {
    border: 2px solid #FFF;
    width: 10px;
    height: 10px;
    display: block;
    transform: rotate(45deg);
    content: " ";
    position: relative;
    top: -16px;
    left: -8px;
    transition: 0.5s;
    opacity: 0;
}

.carousel-indicators {
    bottom: 5px;
}

.carousel-indicators li {
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    margin: 0 9px;
    border: solid #FFF 1px;
    background: none;
}

.carousel-indicators li.active {
    background: #FFF;
}

.carousel-caption, .contained_image_cta p {
    top: 17%;
    font-size: 16px;
    text-align: left;
    font-family: 'Merriweather', serif;
}

.carousel-caption h2, .contained_image_cta h2, .page-title {
    font-weight: bold;
    color: #FFF;
    font-family: 'Adelle', sans-serif;
    padding-bottom: 5px;
    width: 100%;
}

.btn.btn-outline-primary {
    text-transform: uppercase;
    border-radius: 0;
    border: 2px solid var(--red);
    padding: 0.8em 1em;
    font-family: "Proxima Nova Bold";
    letter-spacing: 1.96px;
    font-size: 14px;
    margin-top: 1.1em;

}

.darkbg .btn.btn-outline-primary {
    font-weight: normal;
    font-family: "Proxima Nova Regular";
}
.darkbg h4, .darkbg h1{
    color: #FFF;
}
.btn-outline-primary, .wpcf7 input[type=submit] {
    color: var(--darkred);
    border-color: var(--darkred);
    font-weight: bold;
}

.btn-outline-primary:hover {
    color: #FFF;
    background: #6F1C2C;
}
.btn.btn-lg{
    font-size: 20px;
    font-family: 'Merriweather', serif;
    line-height: 24px;
    text-transform: unset;
    border: 3px solid #6F1C2C;
    margin: 5px;
    letter-spacing: 0;
    font-weight: normal;
    border-radius: 0;
    width: 176px;
    height: 112px;
    display: inline-flex;
    justify-content: center; /* center the content horizontally */
    align-items: center; /* center the content vertically */
}
.btn.btn-lg.btn-outline-primary:hover {
    background: #79112B;
}
.darkbg .btn-outline-primary:hover {
    color: #636E82;
    background: #FFF;
}
/* full-width-slider*/
.full-width-slider p{
    line-height: 30px;
    font-weight: 300;
}
/*contained carousel*/
.container.carousel-contained, .contained_image_cta {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.carousel-contained .icon {
    filter: invert(1);
}

.contained .carousel-item img {
    object-fit: cover;
    height: 540px;
    position: relative;
}

.contained .carousel-control-next-icon, .contained .carousel-control-prev-icon {
    filter: brightness(0.5);
}

.contained .carousel-indicators {
    bottom: -60px !important;
}

.contained .carousel-indicators li {
    border: solid #656E80 1px;
}

.contained .carousel-indicators li.active {
    background: #636E82;
}

.carousel .btn-outline-primary, .wpcf7 input[type=submit], .contained_image_cta .btn-outline-primary {
    color: #FFF;
    border-color: #FFF;
}

.carousel .btn-outline-primary:hover, .contained_image_cta .btn-outline-primary:hover {
    color: #636E82;
    background: #FFF;
}

.grey-bg {
    background: #F7F7F7;
}
.grey-bg.form{
    background: #E5E5E5;
}
/*contained image cta*/
.contained_image_cta .background-image {
    height: 530px;
    width: 100%;
    max-width: 944px;
    color: #FFF;
    padding: 25% 15px 0;
}

/*contained text one column*/
.contentarea {
    padding-top: 35px;
    padding-bottom: 35px;
}
.extra-padding-top{
    padding-top: 70px;
}
.extra-padding-bottom{
    padding-bottom: 70px;
}
.two_column_text h2, .three_column_text h2 {
    border-bottom: 2px solid rgb(233 224 226);
    margin-bottom: 40px;
}

.two_column_text .body {
    padding-right: 45px;
}
.two_column_text h4, .three_column_text h4{
    line-height:36px;
}
.container.md {
    max-width: 782px;
}

.right-caret {
    margin-left: 5px;
    top: -2px;
    position: relative;
}

.modal-dialog {
    margin: 10% auto;
}

.modal-dialog .close {
    position: absolute;
    right: 0;
    z-index: 1;
    font-size: 60px;
    font-weight: 100;
    padding: 10px 20px;
    color: #E7DDDF;
    pointer-events: all;
}

.closemobile {
    font-size: 60px;
    font-weight: 100;
    color: #E7DDDF;
    pointer-events: all;
}

.modal-content {
    padding: 30px;
}

.myfilter {
    position: relative;
    transition: 0.3s;
}

.myfilter img {
    width: 100%;
}
.myfilter:hover img {
    filter: contrast(1.05) grayscale(1);
    transition: 0.3s;
}

.bluefilter:hover {
    background: rgb(118 160 234 / 51%);
    mix-blend-mode: multiply;
    transition: 0.3s ease-in;
}
.redfilter:hover {
    background: rgb(255 107 144 / 60%);
    mix-blend-mode: multiply;
    transition: 0.3s ease-in;
}


.person img {
    object-fit: contain;
    width: 100%;
    height: auto;
}
.person p{
    font-size:17px;
    line-height: 22px;
}
.person h5{
    font-size:20px;
}
.person a:hover {
    text-decoration: none;
}

.person a:hover h5, .person a:hover .red {
    opacity: 0.5;
    transition: 0.3s;
}

.people .entry-content .top-area a {
    font-size: 16px;
    padding: 0;
    font-family: 'Merriweather', serif;
    width: 100%;
    display: block;
    font-weight: 600;
    line-height: 35px;
}

.people .entry-content .top-area a:hover {
    opacity: 0.5;
}

.people span {
	font-size: 16px;
	padding: 0;
	font-family: 'Merriweather', serif;
	width: 100%;
	display: block;
	font-weight: 600;
	line-height: 35px;
	color: #79112b;
}

.people .phone {
	display: inline-block;
	vertical-align: top;
	margin-top: 4px;
}

.three_column_photo h6 {
    font-size: 16px;
    padding-bottom: 0;
}

/*two and three column background image*/
.background_photo .background-image, .image-left-text-right .background-image, .inner-border{
    padding: 20px;
    background-size: cover !important;
}

.background_photo .background-image .inner, .image-left-text-right .background-image .inner, .inner-border .inner{
    padding: 15px 35px;
    border: solid 2px #FFF;
    color: #FFF;
}
.attribution .inner-border{
    padding: 10px;
}
.background_photo h3, .background_photo h6, .background_photo .btn-outline-primary, .background_photo .right-caret {
    color: #FFF;
}

.background_photo h3 {
    line-height: 45px;
}

.background_photo .cta {
    text-transform: uppercase;
    font-size: 14px;
    color: #FFF;
    letter-spacing: 2px;
    display: inline-block;
    padding-top: 5px;
}

.background_photo p {
    margin-bottom: 5px;
    font-weight: bold;
}

.background_photo a:hover {
    text-decoration: none;
}

.home .two-column-image-menu.darkbg .background-image:hover {
    filter: opacity(0.7) grayscale(1) contrast(1.05);
    transition: 0.3s;
}

.background_photo .inner {
    min-height: 275px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.background_photo .right-caret {
    top: -2px;
    position: relative;
}

/*two column photo*/
.two_column_photo img {
    width: 560px;
    height: 316px;
    object-fit: cover;
}

.two_column_photo .body, .two_column_photo .headline {
    padding-left: 10%;
    padding-right: 10%;
}

.learnmore {
    font-size: 14px;
    font-family: "Proxima Nova Bold", sans-serif;
}

.learnmore svg {
    top: -2px;
    margin-left: 4px;
    position: relative;
}

.learnmore:hover svg {
    transition: 0.3s;
    transform: rotate(360deg);
    opacity: 0.5;
}

.quote p{
    font-style: italic;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
    color: #636E82;
}
.quoteslider{
    font-style: italic;
}
.quoteslider p{
    font-size: 18px;
    line-height: 30px;
    color: var(--red);
}
.testimonial-slider .carousel-inner{
    background: #F7F7F7;
    width: auto;
}
.testimonial-slider .carousel-indicators {
    bottom: 0px !important;
}
.testimonial-slider .carousel-item{
    min-height: 31em;
}
.fixed-top .navbar-brand img{
    display:none;
}
.fixed-top .navbar-brand{
    background:url('/wp-content/uploads/2021/03/logo.svg');
    background-size:contain;
    background-repeat: no-repeat;
    margin-top: 10px;
}
#main-menu > li:last-child a{
    margin-top: 26px;
}
.fixed-top #main-menu > li:last-child a{
    margin-top: 11px;
}
.two_column_background_photo p, .full_width_background_photo p{
    font-size: 16px;
    font-family: 'Merriweather', serif;
    font-weight: normal;
}
.border-grey{
    border-color: #A2A8B3;
}
.testimonial{
    padding-bottom: 1rem;
}
.testimonials h5{
    font-family: 'Adelle', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #636E82;
}
.testimonials h6{
    color: #636E82;
    font-size: 16px;
    padding-bottom: 0;
    margin-bottom: 0;
}
.image-left-text-right .inner{
    height: 328px;
}
.attribution .inner{
    height: 157px;
}
.image-left-text-right h3{
    border-bottom: 2px solid rgb(233 224 226);
    padding-bottom: 15px;
}
.background-image{
    background-size: cover!important;
    background-repeat: no-repeat;
}
/* forms */
.form-control:focus, .wpcf7 .wpcf7-validation-errors:focus, .wpcf7 input:focus[type=color], .wpcf7 input:focus[type=date], .wpcf7 input:focus[type=datetime-local], .wpcf7 input:focus[type=datetime], .wpcf7 input:focus[type=email], .wpcf7 input:focus[type=file], .wpcf7 input:focus[type=month], .wpcf7 input:focus[type=number], .wpcf7 input:focus[type=range], .wpcf7 input:focus[type=search], .wpcf7 input:focus[type=submit], .wpcf7 input:focus[type=tel], .wpcf7 input:focus[type=text], .wpcf7 input:focus[type=time], .wpcf7 input:focus[type=url], .wpcf7 input:focus[type=week], .wpcf7 select:focus, .wpcf7 textarea:focus{
    background: #E9DDDF;
    box-shadow:none;
}
.form .nf-form-content .list-select-wrap .nf-field-element>div:focus, .form .nf-form-content input:not([type=button]):focus, .form .nf-form-content textarea:focus, .nf-form-content select.ninja-forms-field:focus{
    background: #E9DDDF;
}
body .nf-form-content .list-select-wrap .nf-field-element>div, body .nf-form-content input:not([type=button]), body .nf-form-content textarea,
.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child), .wpcf7 .input-group>.wpcf7-validation-errors:not(:last-child), .wpcf7 .input-group>input:not(:last-child)[type=color], .wpcf7 .input-group>input:not(:last-child)[type=date], .wpcf7 .input-group>input:not(:last-child)[type=datetime-local], .wpcf7 .input-group>input:not(:last-child)[type=datetime], .wpcf7 .input-group>input:not(:last-child)[type=email], .wpcf7 .input-group>input:not(:last-child)[type=file], .wpcf7 .input-group>input:not(:last-child)[type=month], .wpcf7 .input-group>input:not(:last-child)[type=number], .wpcf7 .input-group>input:not(:last-child)[type=range], .wpcf7 .input-group>input:not(:last-child)[type=search], .wpcf7 .input-group>input:not(:last-child)[type=submit], .wpcf7 .input-group>input:not(:last-child)[type=tel], .wpcf7 .input-group>input:not(:last-child)[type=text], .wpcf7 .input-group>input:not(:last-child)[type=time], .wpcf7 .input-group>input:not(:last-child)[type=url], .wpcf7 .input-group>input:not(:last-child)[type=week], .wpcf7 .input-group>select:not(:last-child), .wpcf7 .input-group>textarea:not(:last-child){
    border:none;
}
body .nf-form-content .listselect-wrap .nf-field-element div, body .nf-form-content .ninja-forms-field,
.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child), .wpcf7 .input-group>.wpcf7-validation-errors:not(:last-child), .wpcf7 .input-group>input:not(:last-child)[type=color], .wpcf7 .input-group>input:not(:last-child)[type=date], .wpcf7 .input-group>input:not(:last-child)[type=datetime-local], .wpcf7 .input-group>input:not(:last-child)[type=datetime], .wpcf7 .input-group>input:not(:last-child)[type=email], .wpcf7 .input-group>input:not(:last-child)[type=file], .wpcf7 .input-group>input:not(:last-child)[type=month], .wpcf7 .input-group>input:not(:last-child)[type=number], .wpcf7 .input-group>input:not(:last-child)[type=range], .wpcf7 .input-group>input:not(:last-child)[type=search], .wpcf7 .input-group>input:not(:last-child)[type=submit], .wpcf7 .input-group>input:not(:last-child)[type=tel], .wpcf7 .input-group>input:not(:last-child)[type=text], .wpcf7 .input-group>input:not(:last-child)[type=time], .wpcf7 .input-group>input:not(:last-child)[type=url], .wpcf7 .input-group>input:not(:last-child)[type=week], .wpcf7 .input-group>select:not(:last-child), .wpcf7 .input-group>textarea:not(:last-child){
    font-size:18px;
    font-family:"Merriweather", sans-serif;
    color:#79112B!important;
}
.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content .ninja-forms-field,
.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child), .wpcf7 .input-group>.wpcf7-validation-errors:not(:last-child), .wpcf7 .input-group>input:not(:last-child)[type=color], .wpcf7 .input-group>input:not(:last-child)[type=date], .wpcf7 .input-group>input:not(:last-child)[type=datetime-local], .wpcf7 .input-group>input:not(:last-child)[type=datetime], .wpcf7 .input-group>input:not(:last-child)[type=email], .wpcf7 .input-group>input:not(:last-child)[type=file], .wpcf7 .input-group>input:not(:last-child)[type=month], .wpcf7 .input-group>input:not(:last-child)[type=number], .wpcf7 .input-group>input:not(:last-child)[type=range], .wpcf7 .input-group>input:not(:last-child)[type=search], .wpcf7 .input-group>input:not(:last-child)[type=submit], .wpcf7 .input-group>input:not(:last-child)[type=tel], .wpcf7 .input-group>input:not(:last-child)[type=text], .wpcf7 .input-group>input:not(:last-child)[type=time], .wpcf7 .input-group>input:not(:last-child)[type=url], .wpcf7 .input-group>input:not(:last-child)[type=week], .wpcf7 .input-group>select:not(:last-child), .wpcf7 .input-group>textarea:not(:last-child){
    padding: 8px;
}
.nf-form-content .listselect-wrap .nf-field-element div, .form .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]){
    height: 42px;
}
body .nf-form-content .list-select-wrap .nf-field-element>div:focus, body .nf-form-content input:not([type=button]):focus, body .nf-form-content textarea:focus,
{
    background: #E9DDDF;
}
.label-above .nf-field-label, #nf-form-3-cont > div > div.nf-form-layout > form > div > div.nf-before-form-content > nf-section > div{
    display: none;
}
.ninja-forms-field::placeholder, input.field::placeholder{
    color:#79112B;
}
.form .nf-error.field-wrap .nf-field-element:after{
    background: #79112b;
    line-height: 40px;
    height: 40px;
}
.form .nf-form-content .listselect-wrap .nf-field-element div, .form .nf-form-content input.ninja-forms-field, .form .nf-form-content select.ninja-forms-field:not([multiple]), input {
    height: 42px;
    line-height: 15px;
    padding-top: 0;
    padding-bottom: 0;
}
.form .nf-form-content textarea.ninja-forms-field {
    height: 113px;
}
.form .nf-form-content button, .form .nf-form-content input[type=button], .form .nf-form-content input[type=submit]{
    background:none;
    border:solid 2px #6F1C2C;
    font-size:14px;
    font-family:"Proxima Nova Bold", sans-serif;
    text-transform:uppercase;
    letter-spacing:2px;
    border-radius: 0;
    padding-top: 0.1em;
}
.form .nf-form-content input[type=button]:hover, .form .nf-form-content input[type=submit]:hover{
    background:#6F1C2C;
    color:#FFF!important;
}
.form .nf-form-content .list-select-wrap>div div:after {
    font-size: 12px;
    line-height: 60px;
    color: #6F1C2C;
}
.form .nf-form-content select:focus{
    border-bottom:6px solid var(--darkred)!important;
}
.form .nf-form-content select option{
    font-family:"Proxima Nova Regular";
    color:#272323;
    font-size:14px;
}
.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%;
}
.searchicon{
    background:#FFF;
}
.searchicon input {
    height: auto;
}
.searchicon:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 10px;
    bottom: 0;
    width: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.707' height='18.707' viewBox='0 0 18.707 18.707'%3E%3Cg id='Group_184' data-name='Group 184' transform='translate(1 1)'%3E%3Ccircle id='Ellipse_2' data-name='Ellipse 2' cx='8.09' cy='8.09' r='8.09' fill='none' stroke='%23a2a8b3' stroke-miterlimit='10' stroke-width='2'/%3E%3Cline id='Line_16' data-name='Line 16' x2='3.19' y2='3.19' transform='translate(13.81 13.81)' fill='none' stroke='%23a2a8b3' stroke-miterlimit='10' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
}
#searchform input:focus + .searchicon{
    background:#B78D96 ;
    width:50px;
    color:#FFF;
}
#searchform input:focus + .searchicon:after{
    filter: grayscale(100%) brightness(5) brightness(1);
}
#error-404-wrapper #main{
    padding-top: 4rem;
    padding-bottom: 4rem;
}
/* three column link list */
#content ul.no-icon li:before{
    display: none;
}
.definition h6{
    font-weight: bold;
    padding-bottom: 0;
    margin-bottom: 0;
}
.definition h4{
    font-size: 24px;
    padding-bottom: 0;
}
.back-to-posts{
    cursor: pointer;
}
#content .definition ul li {
    padding: 5px 0;
}
.posts_three_column .post-item p, .four_column_photo .post-item p{
    font-size: 20px;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 30px;
    padding-bottom: 0;
    height: 4.5em;
    overflow: hidden;
}
.four_column_photo .post-item p{
    height: unset;
    margin-bottom: 0;
}
.four_column_photo .post-item .thumbnail{
    object-fit: contain;
}
.posts_three_column .thumbnail:hover{
    opacity:0.7;
    transition: 0.3s;
}
.post-item{
    background: #FFF;
    margin-bottom: 60px;
}
.four_column_photo .post-item{
    background: none;
    margin-bottom: 1em;
}
.excerpt{
    padding:0 1em 1em 1em;
}
.btn-link{
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #6F1C2C!important;
    text-decoration: none;
    letter-spacing: 2px;
    cursor: pointer;
}
.btn-link:hover{
    opacity: 0.7;
    text-decoration: none;
}
.subhead{
    font-family: "Proxima Nova Regular", serif;
    font-size: 14px;
    color: #272323;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    padding-bottom: 2em;
}
.site-footer{
    background:#636E82;
    border-top:6px solid var(--darkred);
    padding-top: 100px;
    padding-bottom: 100px;
    color: #FFF;
}
.border-bottom-1{
    border-bottom: 1px solid #FFF;
    height: 100%;
    padding-bottom: 2.5rem;
}
footer .row .col-md-4 .border-bottom-1 {
    border-bottom: 2px solid rgb(230,220,222);
}
.site-footer h6{
    padding-bottom: 0;
    color: #FFF;
    font-weight: bold;
    font-size: 20px;
}
#footer-sidebar2 p, #footer-sidebar3 p{
    font-size: 18px;
}
#footer-sidebar4 p, #footer-sidebar5 p, #footer-sidebar6 p{
    font-size: 14px;
}
.two-column-image-menu .background-image .inner{
    border:none;
}
.two-column-image-menu .toggle{
    opacity: 0;
    transition: 0.3s;
    display:none;
    max-width: 372px;
    margin: 0 auto;
}
.two-column-image-menu a:hover + .inner .body, .two-column-image-menu a:hover + .inner .toggle{
    display:block;
}
.two-column-image-menu .background-image:hover{
    opacity:1;
}
.two-column-image-menu .background-image{
    height: 315px;
}
.two-column-image-menu .redfilter:hover .inner .toggle{
    opacity: 1;
}
.two-column-image-menu .inner{
    position: absolute;
    width:100%;
    top: 0;
    pointer-events: none;
    padding-top:30px;
    padding-left: 15px;
    padding-right: 15px;
}
.two-column-image-menu .cta{
    font-weight: bold;
}
.two-column-image-menu p{
    font-weight: normal;
    font-family: 'Merriweather', serif;
    color: #FFF;
}
.single .attribution a, .single .attribution .title{
    display:block;
    padding:5px;
    padding-left:10px;
}
.single .attribution .title{
    padding-top:20px;
}
.single .attribution br{
    display: none;
}
.four_column_photo h2{
    border-bottom: 2px solid var(--darkred);
}
.four_column_photo .col-xl-4{
    padding-left:8px;
    padding-right:8px;
}
.modal-body .ninja-forms{
    padding-top: 45px;
}
.modal-body .ninja-forms h3{
    font-size: 26px;
    font-family: 'Merriweather', serif;
    font-weight: 300;
    line-height: 36px;
    border-bottom: 2px solid #B18F96;
    padding-bottom: 0.2em;
    margin-bottom: 1em;
}
.modal-body .nf-loading-spinner{
    display: none;
}
.modal-dialog .grey-bg .close{
    color: #A2A8B3;
    margin-right: 10px;
}
.modal-dialog .grey-bg .modal-header{
    height: 0;
}
.form .nf-form-content input[type=submit]::after{
    background-image: url("data:image/svg+xml,%3Csvg class='right-caret' xmlns='http://www.w3.org/2000/svg' width='6.721' height='10.615' viewBox='0 0 6.721 10.615'%3E%3Cpath id='Path_21' data-name='Path 21' d='M526.5,245.313l4.6,4.6-4.6,4.6' transform='translate(-525.793 -244.606)' fill='none' stroke='%23fff' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E");
    height: 10px;
    widows: 10px;
}

/* Home Page */
.home .two-column-image-menu.darkbg .d-block.redfilter {
	background: #000;
	mix-blend-mode: multiply;
	display: block !important;
}
.home .two-column-image-menu.darkbg .background-image {
	filter: opacity(0.7);
}

/* Mobile-First */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
.navbar-dark .navbar-brand {
	margin-left: 20px;
}
.full-width-title-background-image .background-image, .full-width-headline-background-image .background-image {
    align-items: center;
    justify-content: center;
    display: flex;
}
.full-width-title-background-image .background-image h1, .full-width-headline-background-image .background-image h1{
    padding-top:1.7em;
}
.full-width-title-background-image .background-image h4{
    height: 0;
    padding:0;
}
.current_page_item .nav-link {
	font-weight: 600;
}

/* Nav Spacing */
.navbar-expand-md {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
}
.post-item .thumbnail > div img{
    height: 100%;
    object-fit: cover;
}
[data-aos][data-aos][data-aos-duration="400"], body[data-aos-duration="400"] [data-aos] {
    transition-duration: 0.8s;
}

/*form padding*/
#nf-form-3-cont > div > div.nf-form-layout > form > div > div.nf-form-content > nf-rows-wrap > div > nf-cells > div:nth-child(1){
    padding-left:0;
}
#nf-form-3-cont > div > div.nf-form-layout > form > div > div.nf-form-content > nf-rows-wrap > div > nf-cells > div:nth-child(3){
    padding-right:0;
}
/*comments field*/
#nf-form-3-cont > div > div.nf-form-layout > form > div > div.nf-form-content > nf-rows-wrap > div:nth-child(3) > nf-cells > div{
    padding-left:0;
    padding-right:0;
    width:100% !important;
}
.page-id-520 #main > div.container-fluid.contained-text-one-column.contentarea.extra-padding-top > div > div > h4,
.page-id-520 #main > div.container-fluid.two_column_text.testimonials.contentarea > div > div > div{
    padding-bottom: 0;
}
/* Tablet */
@media screen and (min-width: 768px) {

    /* Force Mobile Nav on Tablet */
    .navbar-expand-md .navbar-toggler {
	    display: inherit;
	}
	.navbar-expand-md .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
		display: none;
	}
	.collapsed span:not(.navbar-toggler-icon) {
		display: none;
	}
	.navbar-expand-md .navbar-collapse:not(.show) {
		display: none !important;
	}
	/* Expanded Menu */

}
.full-width-title-background-image .page-title, .full-width-title-background-image h4{
    text-align: center;
    max-width: 100%;
}
:target{
    display: block;
    position: relative;
    top: -70px;
}
/* Desktop */
@media screen and (min-width: 960px) {
	#wrapper-navbar {
		opacity: 0.9;	
	}
	/* Force Mobile Nav on Tablet */
	.navbar-expand-md .navbar-toggler {
	    display: none;
	}
	.navbar-expand-md .navbar-collapse {
	    display: -webkit-box !important;
	    display: -ms-flexbox !important;
	    display: flex !important;
	    -ms-flex-preferred-size: auto;
	    flex-basis: auto;
	}
	/* Nav Spacing */
	.navbar-expand-md {
	    -webkit-box-orient: horizontal;
	    -webkit-box-direction: normal;
	    -ms-flex-flow: row nowrap;
	    flex-flow: row nowrap;
	    -webkit-box-pack: start;
	    -ms-flex-pack: start;
	    justify-content: flex-start;
	}
	.navbar-dark .navbar-brand {
        margin-left: 45px;
    }
	/* Expanded Menu */
	.navbar-expand-md .navbar-collapse:not(.show) {
	    display: -webkit-box !important;
	    display: -ms-flexbox !important;
	    display: flex !important;
	    -ms-flex-preferred-size: auto;
	    flex-basis: auto;
	}

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 34px;
    }
    h4 {
        font-size: 26px;
    }

    h5 {
        font-size: 18px;
    }

    h6 {
        font-size: 18px;
    }
    .definition h4{
        font-size: 24px;
        padding-bottom: 0;
    }
    .container:not(.text-center) h3, .container:not(.text-center) h6, .page-header > h2 {
        padding-left: 5px;
    }
    .four_column_photo .container:not(.text-center) h3{
        padding-left: 7px;
    }
    .contentarea {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .modal-lg, .modal-xl {
        max-width: 944px;
    }

    .modal-content {
        padding: 90px;
    }

    #main-menu .dropdown-menu li a:hover {
        background: #E9DDDF;
    }
    .carousel-caption, .contained_image_cta p {
        top: 17%;
        font-size: 18px;
        text-align: left;
        font-family: 'Merriweather', serif;
        max-width: 740px;
    }
    .full-width-title-background-image h4{
        line-height: 42px;
    }
    .carousel-caption p {
        max-width: 700px;
    }

    .carousel-caption h2, .contained_image_cta h2, .page-title {
        font-size: 50px;
        font-weight: bold;
        color: #FFF;
        font-family: 'Adelle', sans-serif;
        max-width: 740px;
        padding-bottom: 5px;
        width: 100%;
    }

    .contained .carousel-item img {
        width: 85%;
        left: 7%;
    }

    .contained_image_cta .background-image {
        padding: 8rem 30% 8rem 6rem;
    }

    .myfilter:hover:after {
        width: 100%;
        height: auto;
    }

    .contentarea.people .col-md-3 {
        border-top: 2px solid rgb(233 224 226);
        padding-top: 15px !important;
        margin-top: 15px !important;
    }

    .contentarea.people .col-md-3:nth-child(2) {
        padding-right:22px;
        padding-left:8px;
    }
    .contentarea.people .col-md-3:nth-child(3) {
        padding-right:8px;
        padding-left:22px;
    }
    .contentarea.people .col-md-3:first-child, .contentarea.people .col-md-3:nth-child(5) {
        padding-left:0;
        padding-right:30px;
    }
	.contentarea.people .col-md-3:nth-child(4n) {
        padding-right:0;
        padding-left:30px;
    }
	
    .two_column_text h4, .three_column_text h4{
        line-height:42px;
    }
    .testimonial-slider .carousel-inner{
        padding: 60px;
    }
    .three-column-link-list ul {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        width: 100%;
    }
    .testimonial{
        padding-bottom: 4.5rem;
    }
    .navbar-dark .navbar-nav .nav-link {
        border-bottom: 5px solid transparent;
        height: 100%;
    }
    .navbar-dark .navbar-nav .nav-link:hover, 
    .navbar-dark .navbar-nav .current_page_item .nav-link,
    .navbar-dark .navbar-nav .show .nav-link {
        border-bottom: 5px solid #5D1625;
    }
    #main-menu .dropdown-menu {
        background: #f7f7f7;
    }
    #main-menu > li:last-child a {
        height: 35px;
    }
    .post-item .thumbnail{
        width: 100%;
        height: 268px;
        padding-bottom: 1em;
    }

    .post-item .thumbnail > div{
        height: 100%;
    }
    .two-column-image-menu p{
        font-size: 18px;
    }
    .two-column-image-menu h3 {
        font-size: 40px;
    }

    /* If footer design was aligned on grid: */
    footer .row {
        justify-content: space-between;
    }
    footer .row .col-md-4 {
        max-width: 273px;
        padding: 0;
    }
    .extra-padding-top{
        padding-top: 120px;
    }
    .extra-padding-bottom{
        padding-bottom: 120px;
    }
    .container-fluid > .container > .row{
        margin-right: 0;
        margin-left: 0;
    }
}
@media screen and (max-width: 992px) {
    #main{
        overflow: hidden;
    }
    #main-menu {
        height: 100vh;
        margin-top: 2rem;
    }
    .navbar-dark .navbar-brand{
        padding-top: 3px;
    }
    .navbar-dark .navbar-nav .nav-link {
        font-size: 24px;
        padding-left: 4.4rem;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .navbar{
        position:fixed;
    }
    .menu-item-has-children:before{
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.802' height='12.776' viewBox='0 0 7.802 12.776'%3E%3Cpath id='Path_95' data-name='Path 95' d='M526.5,245.313l5.681,5.681-5.681,5.681' transform='translate(-525.793 -244.606)' fill='none' stroke='%23fff' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E%0A");
        width: 8px;
        height: 12px;
        content: "";
        background-repeat: no-repeat;
        left: 45px;
        top: 26px;
        display: inline-block;
        position: absolute;
        transform: rotate(
                90deg
        );
    }
    .menu-item-has-children.show:before{
        transform: rotate(
                0deg
        );
        transition: 0.3s;
    }
    /*nav mobile x*/
    .navbar-toggler>.close {
        display:inline-block;
    }
    .navbar-toggler.collapsed>.close, .navbar-toggler:not(.collapsed)>.navbar-toggler-icon {
        display:none;
    }
    .navbar-toggler:focus{
        outline: none;
    }
    .close, .close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover {
        opacity: 1!important;
    }
    #main-menu .dropdown-menu{
        background: #79112B;
        font-size: 24px;
        color: #FFF;
    }
    #main-menu .dropdown-menu a{
        color: #FFF;
        padding-left: 4.4rem;
        line-height: 48px;
    }
    #main-menu .dropdown-menu a:hover, #main-menu .dropdown-menu a:focus{
        background-color: unset;
    }
    .menu-item-has-children.show>a{
        border-bottom: 5px solid #5D1625;
        display:inline-block;
        padding-left: 0!important;
        padding-bottom: 0!important;
        margin-left: 4.4rem;
    }
    #main-menu > li:last-child a {
        margin-top: 30px;
        display: inline-block;
        margin-left: 4.4rem;
    }
    .carousel-control {
        display: none;
    }

    .carousel-caption {
        right: 5%;
        left: 5%;
    }

    .carousel-caption p {
        max-height: 9.5em;
        overflow: hidden;
    }

    .carousel-contained .carousel-caption {
        padding: 0;
    }
    .post-item .thumbnail > div img{
        height: 368px;
    }
}
@media screen and (max-width: 767px) {
    .container-fluid > .container{
        padding-left:0;
        padding-right:0;
    }
    .col {
        padding-bottom: 60px;
    }

    .col-sm-12 .person img {
        height: 300px;
    }

    .background_photo .container {
        padding: 0;
    }
    .full-width-title-background-image .background-image {
        background-position: 60%!important;
    }
    .testimonial-slider .carousel-inner {
        margin:0;
        padding: 20px
    }
    .testimonial-slider .container, .testimonial-slider.container-fluid {
        padding-left:0;
        padding-right:0;
    }
    .quote p {
        font-size: 20px;
    }
    .horizontal-menu .btn.btn-lg{
        width:100%;
    }
    .firstname-container, .lastname-container, .company-container{
        margin-bottom: 25px!important;
    }
    .contained-image img{
        min-height: 256px;
        object-fit: cover;
    }
    #error-404-wrapper #main {
        padding-top: 6.5rem;
        padding-bottom: 6.8rem;
    }
    #error-404-wrapper #main h2{
        font-size: 40px;
    }
    #error-404-wrapper #main h4{
        font-size: 26px;
    }
    .full-width-title-background-image, .full-width-headline-background-image{
        height: 362px;
    }
    .posts_three_column .thumbnail{
        padding-bottom: 20px;
    }
    .border-bottom-red{
        border-bottom: #79112B 5px solid;
    }
    .modal-content {
        padding: 20px;
    }
    .modal .people .closemobile{
        display: none;
    }
    .modal .people .wp-post-image{
        height: 226px;
        object-position: left;
        object-fit: contain;
    }
    .people .entry-content .top-area a {
        word-break: break-word;
    }

    .myfilter img {
        /* FIXME filter: contrast(1.05) grayscale(1);
        transition: 0.3s; */
    }

    .bluefilter {
        /* FIXME background: rgb(118 160 234 / 51%);
        mix-blend-mode: multiply;
        transition: 0.3s ease-in; */
    }
    .redfilter {
        background: rgb(255 107 144 / 60%);
        mix-blend-mode: multiply;
        transition: 0.3s ease-in;
    }
    .myfilter:hover, .bluefilter:hover,.redfilter:hover{
        background:unset;

    }
    .myfilter:hover img, .home .two-column-image-menu.darkbg .background-image:hover{
        /* FIXME filter: none; */
    }
    .home .two-column-image-menu.darkbg .background-image {
        filter: opacity(0.7) grayscale(1) contrast(1.05);
        transition: 0.3s;
    }
    .two-column-image-menu a + .inner .body {
        display: block;
    }
    .two-column-image-menu .toggle {
        opacity: 1;
        display: block;
    }

    .nf-form-wrap.nf-multi-cell .nf-cell{
        padding: 0;
    }
}

/* ============ desktop view ============ */

/* hover navmenu open */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
    }

    .navbar .nav-item:hover .nav-link {
        color: #fff;
    }

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }
    .navbar-dark .navbar-brand {
        width:264px;
    }
    .fixed-top .navbar-brand{
        width: 85px;
    }
    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }
    .post-item .thumbnail{
        width: 100%;
        height: 368px;
    }
    .four_column_photo .post-item .thumbnail{
        width: 100%;
        height: 476px;
        padding-bottom: 0;
    }
    .four_column_photo .post-item{
        padding-bottom: 0;
        margin-bottom: 1em;
    }
    .testimonial-slider .carousel-item{
        min-height: 24em;
    }
    #nf-form-3-cont > div > div.nf-form-layout > form > div > div.nf-form-content > nf-rows-wrap > div > nf-cells > div{
        width:33.3% !important;
    }
}

/*
 * Force Bootstrap v4 transitions
 * (ignores prefers-reduced-motion media feature)
 * https://gist.github.com/robssanches/33c6c1bf4dd5cf3c259009775883d1c0
 */

.fade {
    transition: opacity 0.15s linear !important;
}

.collapsing {
    transition: height 0.35s ease !important;
}

.custom-switch .custom-control-label::after {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out !important;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out !important;
}

.custom-range::-webkit-slider-thumb {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.custom-range::-moz-range-thumb {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.custom-range::-ms-thumb {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.custom-control-label::before, .custom-file-label, .custom-select {
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.badge {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.progress-bar {
    transition: width 0.6s ease !important;
}

.progress-bar-animated {
    -webkit-animation: progress-bar-stripes 1s linear infinite !important;
    animation: progress-bar-stripes 1s linear infinite !important;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out !important;
    transition: transform 0.3s ease-out !important;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out !important;
}

.carousel-item {
    transition: -webkit-transform 0.6s ease-in-out !important;
    transition: transform 0.6s ease-in-out !important;
    transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out !important;
}

.carousel-fade .carousel-item {
    transition-property: opacity !important;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    transition: 0s 0.6s opacity !important;
}

.carousel-control-prev, .carousel-control-next {
    transition: opacity 0.15s ease !important;
}

.carousel-indicators li {
    transition: opacity 0.6s ease !important;
}

.form-control {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.btn {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}
#back-to-cat{
    left: -15px;
    position: relative;
}
@media screen and (min-width: 1200px) {
    /* To match footer design specs: */
    footer .row {
        justify-content: start;
    }
    footer .row .col-md-4 {
     margin-right: 107px;
    }
    .testimonial-slider .carousel-inner{
        margin: 0 5.5rem;
        padding: 60px 120px 60px 120px;
    }
}