/************************

 + Global Styles
  - Elements
  - Classes
  - Forms
 + Custom Bootstrap
 + Custom Hover
 + Framework
 + Text Defaults
 + Custom Animation
  - Fade-In
  - Ken Burns
 + Backgrounds
 + Buttons
 + Preloader
 + Scroll-To-Top
 + Forms

************************/

/************************
 Global Styles
************************/
.rel { position: relative; }
.abs { position: absolute; }


body {
	position: relative;
}
/* Elements */
html {
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    padding: 0;
    margin: 0;
    font-family: var(--font-2);
    background-color: #fff;
    overflow-x: hidden;
    webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: unset;
    font-smoothing: unset;
    text-rendering: geometricPrecision;
}
article {
    padding-right: 0;
    padding-left: 0;
}
a,
a:hover,
img,
img:hover {
    transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
}
a {
    color: var(--first-color);
    text-decoration: none;
}
a:hover {
    color: var(--fifth-color);
    text-decoration: none;
}
ul,
ol,
li {
    list-style: none;
    margin: 0;
}
.content-area ul,
.content-area ol,
.content-area li {
    list-style: inside;
    margin: 0 .5rem 1rem;
}

p {
    margin: 0 0 1.5rem;
}
sub, sup {
    font-size: 50%;
    top: -0.7em;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0;
}
button:focus, :focus{
  outline:none;
}

/* WP Editor Colors */
.has-black-color {
  color: #000000;
}
body.single .has-black-color {
  color: #000000 !important;
}
.has-cyan-blish-gray-color {
  color: #abb8c3;
}
body.single .has-cyan-blish-gray-color {
  color: #abb8c3 !important;
}
.has-white-color {
  color: #ffffff;
}
body.single .has-white-color {
  color: #ffffff !important;
}
.has-pale-pink-color {
  color: #f78da7;
}
body.single .has-pale-pink-color {
  color: #f78da7 !important;
}
.has-vivid-red-color {
  color: #cf2e2e;
}
body.single .has-vivid-red-color {
  color: #cf2e2e !important;
}
.has-luminous-vivid-orange-color {
  color: #ff6900;
}
body.single .has-luminous-vivid-orange-color {
  color: #ff6900 !important;
}
.has-luminous-vivid-amber-color {
  color: #fcb900;
}
body.single .has-luminous-vivid-amber-color {
  color: #fcb900 !important;
}
.has-light-green-cyan-color {
  color: #7bdcb5;
}
body.single .has-light-green-cyan-color {
  color: #7bdcb5 !important;
}
.has-vivid-green-cyan-color {
  color: #00d084;
}
body.single .has-vivid-green-cyan-color {
  color: #00d084 !important;
}
.has-pale-cyan-blue-color {
  color: #8ed1fc;
}
body.single .has-pale-cyan-blue-color {
  color: #8ed1fc !important;
}
.has-vivid-cyan-blue-color {
  color: #0693e3;
}
body.single .has-vivid-cyan-blue-color {
  color: #0693e3 !important;
}
.has-vivid-purple-color {
  color:#9b51e0;
}
body.single .has-vivid-purple-color {
  color:#9b51e0 !important;
}

/* Classes */
.hide {
    visibility: hidden;
    display: none;
}
.force-hidden {
  display: none !important;
}
.display-block {
    display: block !important;
}
.display-inline {
    display: inline !important;
}
.display-inline-block {
    display: inline-block !important;
}
.clear {
    position: static;
}
.clear:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
    z-index: 0;
}
.table {
    display: table;
    margin: 0;
}
.table-row {
    display: table-row;
}
.table-cell-middle {
    vertical-align: middle;
}
.table-cell {
    display: table-cell;
}
.table.full-width {
    width: 100%;
}
.table.full-height {
    height: 100%;
}
.block-content {
    width: 100%;
}
.sr-only{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

.c-white { color: var(--white); }
.c-grey { color: var(--grey); }
.c-blue { color: var(--blue); }
.c-red { color: var(--red); }
.c-green { color: var(--green); }
.c-purple { color: var(--purple); }
.c-yellow { color: var(--yellow); }
.c-pink { color: var(--pink); }
.c-teal { color: var(--teal); }
.c-cyan { color: var(--cyan); }

/* Forms */
input {
    outline-style:none;
    box-shadow:none;
}

/************************
 Custom Bootstrap
************************/
.container {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}
.row {
    margin-right: auto;
    margin-left: auto;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,.col, .col-1, .col-10, .col-11, .col-12,
.col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-sm-3, .col-sm-6, .col-sm-9, .col-sm-12 {
    padding-right: 0;
    padding-left: 0;
}
.card {
    border: none;
    border-radius: 0;
}
.col-15 {
    position: relative;
    min-height: 1px;
    padding-right: 0;
    padding-left: 0;
    width: 20%;
    float: left;
}
@media (min-width: 1200px) {
  .container {
    max-width: 100%;
  }
  .full-width-container {
    max-width: 100%;
  }
}
@media (max-width: 1199px) {
  .container {
    max-width: 100%;
  }
  .full-width-container {
    max-width: 100%;
  }
}
@media (max-width: 1024px) {

  #header-container .row,
  #main-footer .row,
  #leftRight.row,
  #ihf-login-form .row {
    display: flex;
  }
}
@media (max-width: 767px) {
   #leftRight.row {
    display: table;
    }
}

.full-width-content {
    width: 100%;
}
.max-width {
    max-width: 1170px;
    margin: 0 auto;
}


/************************
 404
************************/

.error-page {
    display: block;
    position: relative;
    height: 95vh;
    min-height: 800px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    top: 0;
    background-color: var(--first-color)
}

.error-page .text-content{
    top: calc(50% + 80px);
    left: 50%;
    transform: translate(-50%,-50%);
}

.error-page .text-content h1,.error-page .text-content h2,.error-page .text-content h3{
    color: #fff;
}
.error-page .text-content h1{
    font-size: 230px;
    line-height: 230px;
}
/*
.error-page .text-content h1:before{
        display: inline-block;
    content: '\f085';
    color: #000;
    margin: auto;
    font: 400px/1 FontAwesome;
    position: absolute;
    left: 35%;
    z-index: -1;
    opacity: .1;
    top: -60px;
}
*/
.error-page .text-content h2{
    font-size: 60px;
    line-height: 72px;
    margin-bottom: 4rem;
}
.error-page .text-content h3{
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 3rem;
}
.error-button {
    border:2px solid #fff!important;
}

@media (max-width: 991px) {
  .error-page .text-content h1 {
    font-size: 120px;
    line-height: 120px;
  }
  .error-page .text-content h2 {
    font-size: 42px;
    line-height: 32px;
    margin-bottom: 2rem;
  }
  .error-page .text-content h3 {
    font-size: 22px;
    line-height: 30px;
    width: 80%;
    margin: 0 auto 2rem;
  }
  .error-page {
    height: 90vh;
    min-height: 600px;
  }
  .error-page .text-content h1:before{
    display: none;
  }

}
/************************
 Framework
************************/

/* Wrappers */
#global-wrapper {
    display: block;
    position: relative;
    height: auto;
    width: 100%;
    top: 0;
}
#content-wrapper {
    display: block;
    height: auto;
    width: 100%;
}
.container.global {
    width: 100%;
    max-width: none;
    height: auto;
}
.row.narrow {
    max-width: 1170px;
}
.content-container.x-center {
    text-align: center;
    margin: 0 auto;
}
.content-container.y-center {
    position: relative;
    width: 100%;
    top: calc(50% + 60px);
    transform: translate(0,-50%);
    height: calc(100% - 120px)!important;
}
@media (min-width: 1200px) {
  .container.global {
    max-width: none;
  }
}
@media (max-width: 1199px) {
  .container.global {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .content-container.y-center {
    top:50%;
  }
}

/************************
 Text Defaults
************************/
/*h1,h2 {
	font-family: var(--font-1) !important;
}
h3 {
	font-family: var(--font-2) !important;
}
h4 {
  font-family: var(--font-3) !important;
}
h5,h6,p,a {
	font-family: var(--font-4) !important;
}*/
.agenta-button {
/*	font-family: var(--font-4) !important;*/
  border-radius: 0;
  text-shadow: none;
  padding: .75rem 1.25rem;
}
.bio-copy-block .about-me-details a{
  /* margin-left: 35px; */
  display: initial;
}
.bio-copy-block .about-me-details a span {
    display: table-cell;
}
.bio-copy-block .social-links a {
    position: relative;
    margin-right: 10px;
    font-size: 22px;
    line-height: 70px;
    opacity: .8;
    font-family: agenta-icons;
    margin-left: 0;
}
.bio-contact .agent-phone::before, .bio-contact .agent-email::before, .bio-contact .agent-address::before,.bio-contact .brokerage-phone::before, .bio-contact .brokerage-email::before, .bio-contact .brokerage-address::before {
    display: block;
    position: absolute;
    font-family: agenta-icons;
    left: 0;
    margin-top: 0px;
    text-align: center;
}
.bio-contact .agent-phone::before,.bio-contact .brokerage-phone::before {
    font-size: 22px;
    left: 3px;
}
.bio-contact .agent-email::before,.bio-contact .brokerage-email::before {
    font-size: 18px;
}
.bio-contact .agent-address::before,.bio-contact .brokerage-address::before {
    font-size: 20px;
}

#contact-form .bio-contact .agent-phone::before, #contact-form .bio-contact .agent-email::before {
    display: inline-block;
    position: relative;
}
/*#contact-form .bio-contact .agent-phone a{
  padding-left: 14px;
}
#contact-form .bio-contact .agent-email a{
  padding-left: 8px;
}*/

/************************
 Custom Animation
************************/


/* Fade-In */
.fade-in {
  animation: animationFrames ease 2s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%;
  animation-fill-mode:forwards; /*when the spec is finished*/
  -webkit-animation: animationFrames ease 2s;
  -webkit-animation-iteration-count: 1;
  -webkit-transform-origin: 50% 50%;
/*   -webkit-animation-fill-mode:forwards; */ /*Chrome 16+, Safari 4+*/
  -moz-animation: animationFrames ease 2s;
  -moz-animation-iteration-count: 1;
  -moz-transform-origin: 50% 50%;
  -moz-animation-fill-mode:forwards; /*FF 5+*/
  -o-animation: animationFrames ease 2s;
  -o-animation-iteration-count: 1;
  -o-transform-origin: 50% 50%;
  -o-animation-fill-mode:forwards; /*Not implemented yet*/
  -ms-animation: animationFrames ease 2s;
  -ms-animation-iteration-count: 1;
  -ms-transform-origin: 50% 50%;
  -ms-animation-fill-mode:forwards; /*IE 10+*/
}
@keyframes animationFrames {
  0% {
    opacity:0;
    transform:  translate(0rem,-2rem);
  }
  100% {
    opacity:1;
    transform:  translate(0rem,0rem);
  }
}
@-moz-keyframes animationFrames {
  0% {
    opacity:0;
    -moz-transform:  translate(0rem,-2rem);
  }
  100% {
    opacity:1;
    -moz-transform:  translate(0rem,0rem);
  }
}
@-webkit-keyframes animationFrames {
  0% {
    opacity:0;
    -webkit-transform:  translate(0rem,-2rem);
  }
  100% {
    opacity:1;
    -webkit-transform:  translate(0rem,0rem);
  }
}
@-o-keyframes animationFrames {
  0% {
    opacity:0;
    -o-transform:  translate(0rem,-2rem);
  }
  100% {
    opacity:1;
    -o-transform:  translate(0rem,0rem);
  }
}
@-ms-keyframes animationFrames {
  0% {
    opacity:0;
    -ms-transform:  translate(0rem,-2rem);
  }
  100% {
    opacity:1;
    -ms-transform:  translate(0rem,0rem);
  }
}

/* Ken Burns */
.ken-burns {
    animation: move 40s ease;
    -ms-animation: move 40s ease;
    -webkit-animation: move 40s ease;
    -o-animation: move 40s ease;
    -moz-animation: move 40s ease;
}
.ken-burns.infinite {
    animation: move 40s ease infinite;
    -ms-animation: move 40s ease infinite;
    -webkit-animation: move 40s ease infinite;
    -o-animation: move 40s ease infinite;
    -moz-animation: move 40s ease infinite;
}
@-webkit-keyframes move {
  0% {
    -webkit-transform-origin: center center;
    -moz-transform-origin: center center;
    -ms-transform-origin: center center;
    -o-transform-origin: center center;
    transform-origin: center center;
    transform: scale(1.2);
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -moz-transform: scale(1.2);
  }
  100% {
    transform: scale(1.0);
    -ms-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -o-transform: scale(1.0);
    -moz-transform: scale(1.0);
  }
}

.kill-ken .background-container .lazy{
  animation: none;
  -ms-animation: none;
  -webkit-animation: none;
  -o-animation: none;
  -moz-animation: none;
}


/* Test Alignment Classes */

.text-left {
  text-align: left !important;
}
.text-right {
  text-align: right !important;
}
.text-center {
  text-align: center !important;
}

/************************
 Backgrounds
************************/
.light-gray-background {
    background-color: #eee;
    margin: 0;
    max-width: 100%;
}
.parallax-image-background {
    position: relative;
    color: #fff;
    overflow: hidden;
    height: auto;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: bottom center;
    background-attachment: fixed;
    text-align: center;
    transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -webkit-backface-visibility: hidden;
}
.background-container {
    position: absolute;
    overflow: hidden;
    display: block;
    height: 100%;
    width: 100%;
    top:0;
    /* background-color: #000; */
}
.video-wrapper .lazy ,
.background-container .lazy {
    position: relative;
    overflow: hidden;
    display: block;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    -webkit-backface-visibility: hidden;
    z-index: 0;
}
#leftRight .background-container .lazy {
    position: relative;
    overflow: hidden;
    display: block;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;
    background-attachment: scroll;
    -webkit-backface-visibility: hidden;
    z-index: 0;
}
.parallax-image-background-alt {
    position: relative;
    overflow: hidden;
    height: auto;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    background-attachment: fixed;
    text-align: center;
    transition: all .2s;
    -moz-transition: all .2s;
    -webkit-transition: all .2s;
    -webkit-backface-visibility: hidden;
}
/* .carousel + .background-container .lazy{
  background-attachment: scroll;
} */
@media (max-width: 1024px) {
  .background-container .lazy {
    background-size: cover;
    background-position: center;
    background-attachment: scroll!important;
  }
}
@media (max-width: 767px) {
  .background-container .lazy {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }
  #leftRight .background-container .lazy {
    height: 35vh;
  }
  .parallax-image-background-alt p,.parallax-image-background-alt h4,.parallax-image-background-alt label {
    color: #666;
  }
}

/************************
 Buttons
************************/
.btn {
    position: relative;
    overflow: hidden;
    padding: 14px 30px;
    border: none;
    margin-bottom: 20px;
    margin-right: 15px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.btn:last-child {
    margin-right: 0;
}
.btn i {
    margin-left: 10px;
    margin-right: -5px;
}
.btn-lg {
    padding: 9px 40px 10px 40px;
    font-size: 15px;
}
.btn-xs {
    padding: 5px 20px 6px 20px;
    font-size: 11px;
}
.btn:focus,
button:focus,
:focus,
.btn:active {
    outline: 0 !important;
    box-shadow: none;
}
.btn:hover {
    border-radius: 0;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.16), 0 3px 12px 0 rgba(0, 0, 0, 0.12);
}

/* Default Button 1 */
.btn-default-1 {
    background-color: var(--first-color);
}
.btn-default-1:hover,
.btn-default-1:focus {
    color: #fff ;
    background-color: var(--second-color);
}
.btn-default-1.bordered {
    border: 1px solid #7c7c7c;
    background-color: transparent;
    color: #7c7c7c;
}

/* Default Button 2 */
.btn-default-2 {
    background-color: var(--fifth-color);;
    color: #fff;
}
.btn-default-2:hover,
.btn-default-2:focus {
    color: #fff;
    background-color: var(--second-color);
}
.btn-default-2.bordered {
    border: 1px solid #7c7c7c;
    background-color: transparent;
    color: #7c7c7c;
}

/* Default Button Grey */
.btn-grey {
    background-color: #e1e1e1;
    color: #464646;
}
.btn-grey:hover,
.btn-grey:focus {
    color: #464646;
}
.btn-grey.waves .waves-ripple {
    background-color: #f2f2f2;
}
.btn-grey.bordered  {
    border: 1px solid #e1e1e1;
    background-color: transparent;
    color: #8f8f8f;
}

/************************
 Preloader
************************/
#preloader {
    display: block;
    opacity: 1;
    position: fixed;
    overflow: hidden;
    height: 100%;
    width: 100%;
    top:0;
    z-index: 9999999;
    pointer-events: none;
    clip: rect(auto, auto, auto, auto);

}

#spinner{
  transition: transform 0.1s;
}

#preloader .container {
    display: block;
    height: 100%;
    width: 100%;
}

#preloader .container img {
    display: block;
    height: 100%;
    width: 100%;
    max-height: 100px;
    max-width: 100px;
    position: fixed;
    margin: 0 auto;
    top: 50%;
    left: calc(50% - 50px);
    transform: translate(0,-50%);
}

#preloader #spinner {
    animation: fadeOut;
    -webkit-animation: fadeOut;
    animation-duration: .3s;
    -webkit-animation-duration: .3s;
    animation-delay: 2s;
    -webkit-animation-delay: 2s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

@-webkit-keyframes swipeUp {
    from {height: 100%;}
    to {height: 0;}
}

@keyframes swipeUp {
    from {height: 100%;}
    to {height: 0;}
}

@-webkit-keyframes swipeLeft {
    from {width: 100%;}
    to {width: 0;}
}

@keyframes swipeLeft {
    from {width: 100%;}
    to {width: 0;}
}




@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
@-webkit-keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}
@keyframes zoom {
    from {
        transform:scale(.5);
    }
    to {
        transform:scale(1);
    }
}
@-webkit-keyframes zoom {
    from {
        transform:scale(.5);
    }
    to {
        transform:scale(1);
    }
}
@keyframes reveal {
    from {
        clip: rect(100px, 100px, 100px, 0px);
        opacity: 0;
    }
    to {
        clip: rect(0px, 100px, 100px, 0px);
        opacity: 100%;
    }
}
@-webkit-keyframes reveal {
    from {
        clip: rect(100px, 100px, 100px, 0px);
        opacity: 0;
    }
    to {
        clip: rect(0px, 100px, 100px, 0px);
        opacity: 100%;
    }
}

#preloader i {
    color: transparent;
}
@media (max-width: 768px) {

  #preloader .container img {
    max-height: 80px;
    max-width: 80px;
  }
}

}

/*!
 * font-awesome-animation - v0.0.6
 * https://github.com/l-lin/font-awesome-animation
 * License: MIT
 */
@-webkit-keyframes wrench {
  0% {
    -webkit-transform: rotate(-12deg);
    transform: rotate(-12deg);
  }

  8% {
    -webkit-transform: rotate(12deg);
    transform: rotate(12deg);
  }

  10% {
    -webkit-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  18% {
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  20% {
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  28% {
    -webkit-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  30% {
    -webkit-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  38% {
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  40% {
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  48% {
    -webkit-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  50% {
    -webkit-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  58% {
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  60% {
    -webkit-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  68% {
    -webkit-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  75% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes wrench {
  0% {
    -webkit-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    transform: rotate(-12deg);
  }

  8% {
    -webkit-transform: rotate(12deg);
    -ms-transform: rotate(12deg);
    transform: rotate(12deg);
  }

  10% {
    -webkit-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  18% {
    -webkit-transform: rotate(-24deg);
    -ms-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  20% {
    -webkit-transform: rotate(-24deg);
    -ms-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  28% {
    -webkit-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  30% {
    -webkit-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  38% {
    -webkit-transform: rotate(-24deg);
    -ms-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  40% {
    -webkit-transform: rotate(-24deg);
    -ms-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  48% {
    -webkit-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  50% {
    -webkit-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  58% {
    -webkit-transform: rotate(-24deg);
    -ms-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  60% {
    -webkit-transform: rotate(-24deg);
    -ms-transform: rotate(-24deg);
    transform: rotate(-24deg);
  }

  68% {
    -webkit-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    transform: rotate(24deg);
  }

  75% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

.faa-wrench.animated,
.faa-wrench.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-wrench {
  -webkit-animation: wrench 2.5s ease infinite;
  animation: wrench 2.5s ease infinite;
  transform-origin-x: 90%;
  transform-origin-y: 35%;
  transform-origin-z: initial;
}

/* BELL */

@-webkit-keyframes ring {
  0% {
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
  }

  2% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }

  4% {
    -webkit-transform: rotate(-18deg);
    transform: rotate(-18deg);
  }

  6% {
    -webkit-transform: rotate(18deg);
    transform: rotate(18deg);
  }

  8% {
    -webkit-transform: rotate(-22deg);
    transform: rotate(-22deg);
  }

  10% {
    -webkit-transform: rotate(22deg);
    transform: rotate(22deg);
  }

  12% {
    -webkit-transform: rotate(-18deg);
    transform: rotate(-18deg);
  }

  14% {
    -webkit-transform: rotate(18deg);
    transform: rotate(18deg);
  }

  16% {
    -webkit-transform: rotate(-12deg);
    transform: rotate(-12deg);
  }

  18% {
    -webkit-transform: rotate(12deg);
    transform: rotate(12deg);
  }

  20% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

@keyframes ring {
  0% {
    -webkit-transform: rotate(-15deg);
    -ms-transform: rotate(-15deg);
    transform: rotate(-15deg);
  }

  2% {
    -webkit-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
    transform: rotate(15deg);
  }

  4% {
    -webkit-transform: rotate(-18deg);
    -ms-transform: rotate(-18deg);
    transform: rotate(-18deg);
  }

  6% {
    -webkit-transform: rotate(18deg);
    -ms-transform: rotate(18deg);
    transform: rotate(18deg);
  }

  8% {
    -webkit-transform: rotate(-22deg);
    -ms-transform: rotate(-22deg);
    transform: rotate(-22deg);
  }

  10% {
    -webkit-transform: rotate(22deg);
    -ms-transform: rotate(22deg);
    transform: rotate(22deg);
  }

  12% {
    -webkit-transform: rotate(-18deg);
    -ms-transform: rotate(-18deg);
    transform: rotate(-18deg);
  }

  14% {
    -webkit-transform: rotate(18deg);
    -ms-transform: rotate(18deg);
    transform: rotate(18deg);
  }

  16% {
    -webkit-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    transform: rotate(-12deg);
  }

  18% {
    -webkit-transform: rotate(12deg);
    -ms-transform: rotate(12deg);
    transform: rotate(12deg);
  }

  20% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

.faa-ring.animated,
.faa-ring.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-ring {
  -webkit-animation: ring 2s ease infinite;
  animation: ring 2s ease infinite;
  transform-origin-x: 50%;
  transform-origin-y: 0px;
  transform-origin-z: initial;
}

/* VERTICAL */

@-webkit-keyframes vertical {
  0% {
    -webkit-transform: translate(0,-3px);
    transform: translate(0,-3px);
  }

  4% {
    -webkit-transform: translate(0,3px);
    transform: translate(0,3px);
  }

  8% {
    -webkit-transform: translate(0,-3px);
    transform: translate(0,-3px);
  }

  12% {
    -webkit-transform: translate(0,3px);
    transform: translate(0,3px);
  }

  16% {
    -webkit-transform: translate(0,-3px);
    transform: translate(0,-3px);
  }

  20% {
    -webkit-transform: translate(0,3px);
    transform: translate(0,3px);
  }

  22% {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
  }
}

@keyframes vertical {
  0% {
    -webkit-transform: translate(0,-3px);
    -ms-transform: translate(0,-3px);
    transform: translate(0,-3px);
  }

  4% {
    -webkit-transform: translate(0,3px);
    -ms-transform: translate(0,3px);
    transform: translate(0,3px);
  }

  8% {
    -webkit-transform: translate(0,-3px);
    -ms-transform: translate(0,-3px);
    transform: translate(0,-3px);
  }

  12% {
    -webkit-transform: translate(0,3px);
    -ms-transform: translate(0,3px);
    transform: translate(0,3px);
  }

  16% {
    -webkit-transform: translate(0,-3px);
    -ms-transform: translate(0,-3px);
    transform: translate(0,-3px);
  }

  20% {
    -webkit-transform: translate(0,3px);
    -ms-transform: translate(0,3px);
    transform: translate(0,3px);
  }

  22% {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
  }
}

.faa-vertical.animated,
.faa-vertical.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-vertical {
  -webkit-animation: vertical 2s ease infinite;
  animation: vertical 2s ease infinite;
}

/* HORIZONTAL */

@-webkit-keyframes horizontal {
  0% {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
  }

  6% {
    -webkit-transform: translate(5px,0);
    transform: translate(5px,0);
  }

  12% {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
  }

  18% {
    -webkit-transform: translate(5px,0);
    transform: translate(5px,0);
  }

  24% {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
  }

  30% {
    -webkit-transform: translate(5px,0);
    transform: translate(5px,0);
  }

  36% {
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
  }
}

@keyframes horizontal {
  0% {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
  }

  6% {
    -webkit-transform: translate(5px,0);
    -ms-transform: translate(5px,0);
    transform: translate(5px,0);
  }

  12% {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
  }

  18% {
    -webkit-transform: translate(5px,0);
    -ms-transform: translate(5px,0);
    transform: translate(5px,0);
  }

  24% {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
  }

  30% {
    -webkit-transform: translate(5px,0);
    -ms-transform: translate(5px,0);
    transform: translate(5px,0);
  }

  36% {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
  }
}

.faa-horizontal.animated,
.faa-horizontal.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-horizontal {
  -webkit-animation: horizontal 2s ease infinite;
  animation: horizontal 2s ease infinite;
}

/* FLASHING */

@-webkit-keyframes flash {
  0%, 100%, 50% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

@keyframes flash {
  0%, 100%, 50% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

.faa-flash.animated,
.faa-flash.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-flash {
  -webkit-animation: flash 2s ease infinite;
  animation: flash 2s ease infinite;
}

/* BOUNCE */

@-webkit-keyframes bounce {
  0%, 10%, 20%, 50%, 80% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }

  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%, 10%, 20%, 50%, 80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    transform: translateY(-15px);
  }

  60% {
    -webkit-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.faa-bounce.animated,
.faa-bounce.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-bounce {
  -webkit-animation: bounce 2s ease infinite;
  animation: bounce 2s ease infinite;
}

/* SPIN */

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    -ms-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.faa-spin.animated,
.faa-spin.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-spin {
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

/* FLOAT */

@-webkit-keyframes float {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    -webkit-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  100% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

.faa-float.animated,
.faa-float.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-float {
  -webkit-animation: float 2s linear infinite;
  animation: float 2s linear infinite;
}

/* PULSE */

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

  50% {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }
}

.faa-pulse.animated,
.faa-pulse.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-pulse {
  -webkit-animation: pulse .75s linear infinite;
  animation: pulse .75s linear infinite;
}

/* SHAKE */

.faa-shake.animated,
.faa-shake.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-shake {
  -webkit-animation: wrench 2.5s ease infinite;
  animation: wrench 2.5s ease infinite;
}

/* TADA */

@-webkit-keyframes tada {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  10%, 20% {
    -webkit-transform: scale(.9) rotate(-8deg);
    transform: scale(.9) rotate(-8deg);
  }

  30%, 50%, 70% {
    -webkit-transform: scale(1.3) rotate(8deg);
    transform: scale(1.3) rotate(8deg);
  }

  40%, 60% {
    -webkit-transform: scale(1.3) rotate(-8deg);
    transform: scale(1.3) rotate(-8deg);
  }

  80% {
    -webkit-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
  }
}

@keyframes tada {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  10%, 20% {
    -webkit-transform: scale(.9) rotate(-8deg);
    -ms-transform: scale(.9) rotate(-8deg);
    transform: scale(.9) rotate(-8deg);
  }

  30%, 50%, 70% {
    -webkit-transform: scale(1.3) rotate(8deg);
    -ms-transform: scale(1.3) rotate(8deg);
    transform: scale(1.3) rotate(8deg);
  }

  40%, 60% {
    -webkit-transform: scale(1.3) rotate(-8deg);
    -ms-transform: scale(1.3) rotate(-8deg);
    transform: scale(1.3) rotate(-8deg);
  }

  80% {
    -webkit-transform: scale(1) rotate(0);
    -ms-transform: scale(1) rotate(0);
    transform: scale(1) rotate(0);
  }
}

.faa-tada.animated,
.faa-tada.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-tada {
  -webkit-animation: tada 2s linear infinite;
  animation: tada 2s linear infinite;
}

/* PASSING */

@-webkit-keyframes passing {
  0% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0;
  }
}

@keyframes passing {
  0% {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 0;
  }

  50% {
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    opacity: 0;
  }
}

.faa-passing.animated,
.faa-passing.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-passing {
  -webkit-animation: passing 3s linear infinite;
  animation: passing 3s linear infinite;
}

/* WAVE */

@-webkit-keyframes burst {
  0% {
    opacity: .6;
  }

  50% {
    -webkit-transform: scale(1.8);
    transform: scale(1.8);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes burst {
  0% {
    opacity: .6;
  }

  50% {
    -webkit-transform: scale(1.8);
    -ms-transform: scale(1.8);
    transform: scale(1.8);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.faa-burst.animated,
.faa-burst.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-burst {
  -webkit-animation: burst .75s infinite linear;
  animation: burst .75s infinite linear;
}


/************************
  Process Sticky Nav
************************/
#process-sticky-nav {
 position: sticky;
 display: block;
 width: max-content;
 top: 50%;
 transform: translate(0,-50%);
 z-index: 999;
 margin: 0;
 margin-left: -19px;
}
#process-sticky-nav .nav-container {
 background-color: rgba(255,255,255,.9);
 padding: 1.4rem 1rem;
 box-shadow: 2px 2px 10px rgba(0,0,0,.2);
 text-align: left;
 opacity: 0;
 border-radius: 0;
border-top: 5px solid var(--first-color);
 transition: opacity .25s ease-in-out;
 -moz-transition: opacity .25s ease-in-out;
 -webkit-transition: opacity .25s ease-in-out;
}
#process-sticky-nav .featured-box {
 text-align: left;
 padding: 4rem 0 4rem 1rem;
}

#process-sticky-nav a {
 color: #000;
 font-size: .9rem;
 cursor: pointer;
 transition: .2s;
 -webkit-transition: .2s;
 -moz-transition: 2s;
 position: relative;
 right: -10px;
 padding-right: 10px;
 opacity:.6;
}
#process-sticky-nav a:hover {
 right:0;
 opacity:1;
}
@media (max-width: 991px) {
 #process-sticky-nav {
 margin-right: 800px;
 }
}

/* Process Steps */

.process-step li {
list-style-type: circle;
list-style-position: outside;
margin-left:1.5rem;
padding-right:1.5rem;
}

@media (max-width: 1024px) {
 .row.process-step {
 display: flex;
 }
}

@media (max-width: 768px) {
 .row.process-step {
 display: table;
 }
 #process-sticky-nav .nav-container {
  display: none;
}
}


/************************
 Facebook-Chat
************************/
.fb_dialog_content iframe {
  transform: scale(0.8);
}
.fb_dialog {
    background: transparent!important;
}


/************************
 Scroll-To-Top
************************/
#scroll-up {
    position: fixed;
    z-index: 8030;
    bottom: -1px;
    left: 50%;
    transform: translate(-50%,0);
    display: none;
    width: 46px;
    height: 35px;
    border-radius: 0;
    color: #fff;
    font-size: 18px;
    line-height: unset;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
#scroll-up span{
  transform: rotate(90deg);
    display: block;
    margin-top: 9px;
}
#scroll-up:hover {
    background-color: var(--first-color);
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.16), 0 3px 12px 0 rgba(0, 0, 0, 0.12);
}
#scroll-up.waves .waves-ripple {
    background-color: #4c5966;
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1366px)
and (orientation : landscape) {
    #scroll-up {
      display: none;
    }
  }
@media (max-width: 767px) {
  #scroll-up {
    display: block;
  }
}

/************************
  Mortgage Calc
************************/

.calculator .emc-field label {
  display: block;
}


/************************
  Juicer
************************/
.juicer-feed .j-paginate {
    border: 2px solid var(--first-color)!important;
    color: var(--first-color)!important;
}
.juicer-feed .j-paginate:hover {
    background: var(--first-color)!important;
    color: #fff!important;
}
.j-loading {
    border: 4px solid var(--first-color)!important;
}
.j-loading:before {
    background-color: var(--first-color)!important;
}
.j-poster {
  display:none!important;
}

/************************
  Forms
************************/

/* Newsletter Slim */
fieldset.newsletter-slim {
  display: flex;
  flex-direction: column;
}

fieldset.newsletter-slim .opt-in-consent-container {
text-align: left;
}

fieldset.newsletter-slim div.submit {
position: absolute;
right: 0;
top: 0;
}

fieldset.newsletter-slim .emailAddress-field {
  min-height: 50px;
}

.contact-form-newsletter.form-box fieldset.newsletter-slim div.captcha-notice {
  text-align: left!important;
}

/* Custom Newsletter Slim */
.contact-form-custom.newsletter-slim .form-box .form-field.half-width {
  width: calc(50% - 33px)!important;
  margin: 0 0 20px;
  float: left;
}
.newsletter-slim.contact-form-custom.form-main-container .button-container {
  position: absolute;
  top: 0;
  right: 0;
}
@media (max-width: 768px) {
  .contact-form-custom.newsletter-slim .form-box .form-field.half-width {
    width: calc(50% - 25px)!important;
    margin: 0 0 20px;
    float: left;
  }
}

/* Opt-in consent checkbox */
input#oic {
  width: 20px!important;
  height: 20px;
  position: relative;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.opt-in-consent-container {
  margin: 0.25rem 0 0.25rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.opt-in-consent-container p { 
  color: #000; 
  font-size: 10px; 
  font-family: sans-serif; 
  line-height: 1.25; 
  text-align: left; 
  text-wrap: pretty; 
}
.p-white .opt-in-consent-container p {
  color: #fff;
}
.dark .opt-in-consent-container p { 
  color: #fff; 
}
.opt-in-consent-container a:hover { 
  text-decoration: underline; 
}
.dark .opt-in-consent-container a:hover {
  text-decoration: underline;
}

/* REcaptcha */
.p-white .captcha-notice {
  color: #fff;
}
.captcha-notice { color: #000; }
.dark .captcha-notice { color: #fff; }

.contact-form-custom fieldset {
	-webkit-transition: opacity 500ms;
	-moz-transition: opacity 500ms;
	transition: opacity 500ms;
	opacity: 0;
}
fieldset legend,
.contact-form-basic fieldset.inactive ,
.contact-form-simple fieldset.inactive ,
.contact-form-newsletter fieldset.inactive ,
.contact-form-custom fieldset.inactive {
	display: none;
}
.contact-form-basic fieldset.active .submit ,
.contact-form-simple fieldset.active .submit ,
.contact-form-newsletter fieldset.active .submit {
  text-align: center;
  display: inline-block;
  float: unset;
}

.contact-form-custom fieldset.active {
	opacity: 1;
}
.modal .icon-close{
  font-size: 24px;
}

.form-field {
  position: relative;
  background: #fff;
  vertical-align: top;
}
.form-field label {
    margin-bottom: 0;
    color: var(--first-color);
}
.error {
    color: #fff;
    display: none;
    position: absolute;
    bottom: 0;
    padding: 2px 4px;
    width: auto;
    background: #e42424;
    right: 0;
    margin-bottom: 0;
    font-size: .65rem;
    font-weight: 600;
    text-align: right;
    line-height: .9rem;
}
.error.active {
  display: block;
}
.g-recaptcha{
  position: absolute;
  display: block;
  margin: 0;
}
.form-box .form-submit{
  margin: 10px 0 0!important;
  text-transform: none;
}
.mail-fail ,
.mail-auth ,
.mail-success {
  display: none;
  color: #FFFFFF;
  width: fit-content;
  /* padding: 6px 20px; */
  margin: 15px auto;
}
.mail-fail p ,
.mail-auth p ,
.mail-success p {
  color: #FFFFFF;
  text-align: center;
}
.mail-fail {
  border: 2px solid #e42424;
  background-color: #e42424;
  padding: 6px 20px;
}
.mail-success {
  border: 2px solid #5FC17D;
  background-color: #5FC17D;
  padding: 6px 20px
}
.mail-fail p ,
.mail-auth p ,
.mail-success p {
  margin: 0;
  padding: 0;
  text-align: left;
}

.captcha-notice {
    z-index: 0;
    padding-top: 20px;
    font-size: .8rem;
    clear: both;
}
.captcha-notice .captcha-notice-link {
	margin: 0;
	padding: 0;
	font-weight: bold;
}

.button-container .submit .form-submit {
  padding: .75rem 1.25rem;
}

.contact-form-custom fieldset > .button-container .fieldset-button {
	/* margin: 0 0 0 0; */
  margin: 10px 0 0!important;
	border: 0;
} 
.contact-form-custom fieldset .fieldset-button ~ .fieldset-button {
	margin: 0 0 0 15px;
} 

/* Custom Form */
 /* Centered Form buttons */
.contact-form-custom .button-container {display: flex; gap: 1rem; justify-content: center;}
/* Left / Right Form buttons */
.contact-form-custom fieldset input.fieldset-button.fieldset-previous.left-right { float: left; }
.contact-form-custom.form-box input.form-submit.left-right, 
.contact-form-custom fieldset input.fieldset-button.fieldset-next.left-right {
  float: right;
  /* margin: 10px 0 0!important; */
  position: relative;
  margin-left: auto!important;
}
.contact-form-custom.left-right .button-container {justify-content: space-between;}
.contact-form-custom fieldset input.form-submit.left-right { margin-top: 0px !important; }
/* Left Form buttons */
.contact-form-custom.left-btns .button-container {justify-content: flex-start;}
/* Right Form buttons */
.contact-form-custom.right-btns .button-container {justify-content: flex-end;}

/* Horizontal Form */
.horizontal-form input#oic {
  max-width: 20px;
}
.horizontal-form.contact-form-custom .button-container {
  justify-content: flex-end;
  display: flex;
  width: 20%;
  float: right;
}
.horizontal-form .submit {
  float: right;
  width: 100%!important;
}
.horizontal-form .opt-in-consent-container {
  justify-content: flex-end;
  top: 0.5rem;
}
.horizontal-form .captcha-notice {
  bottom: 2rem;
  width: fit-content;
  float: right;
}
@media (max-width: 767px) {
  .horizontal-form.contact-form-custom .button-container {
    bottom: unset;
    justify-content: flex-start;
    margin: 1rem 0 0.5rem 0;
    width: fit-content;
    float: none;
  }
  .horizontal-form .opt-in-consent-container {
    bottom: unset;
  }
  .horizontal-form .captcha-notice {
    bottom: 2rem;
  }
}

/* MLP Property Details Form */
#mlp-property-details-form input#oic {
  max-width: 20px;
}
#mlp-property-details-form .opt-in-consent-container p {
  color: #fff;
}

/* End Custom Form  */
/* All form types */
.contact-form-basic form ,
.contact-form-simple form ,
.contact-form-newsletter form ,
.contact-form-custom form {
    z-index: 1;
}
form.form-box .form-field p ,
form.form-box .form-field label {
    float: left;
    width: 22%;
    text-align: left;
    font-size: 1rem;
    padding: 0px 10px;
    color: var(--first-color);
}
form.form-box .form-field p {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}
form.form-box .form-field label.label-text { 
	line-height: 50px; 
	padding-top: 0; 
	padding-bottom: 0; 
	white-space: nowrap;
}
form.form-box .g-recaptcha {
   visibility:hidden;
}
form.form-box .form-field input,
form.form-box .form-field textarea, .select-multiple {
    float: right;
    width: 78%;
    padding: 10px 15px;
    font-size: .9rem;
    line-height: 1.4rem;
    border: none;
    background: transparent;
    border-left: 1px solid #ccc;
    border-radius: 0;
}
form.form-box .form-field.top-label input,
form.form-box .form-field.top-label textarea ,
form.form-box .form-field.border-label input,
form.form-box .form-field.border-label textarea,
form.form-box .form-field.top-label .select-multiple {
    border-left: none;
}
form.form-box .form-field label.label-text,
form.form-box .form-field input[type="text"],
form.form-box .form-field input[type="submit"] {
	min-height: 50px;
}
form ul.form-checkbox-box { display: table; }
form ul.form-checkbox-box li { display: table-cell; }
form ul.form-checkbox-box li.form-col-checkbox-box { width: 30px; vertical-align: top; }
/* form.form-box .form-field:not(.top-label) select ,
form.form-box .form-field:not(.top-label) .form-fields.list-h ,
form.form-box .form-field:not(.border-label) select ,
form.form-box .form-field:not(.border-label) .form-fields.list-h { border-left: 1px solid #ccc; } */

@media (min-width: 768px) {
  .form-box .form-field.half-width {
    width: calc(50% - 7px);
    margin: 0 0 15px 0;
  }
  /* .form-box .form-field.half-width:nth-child(odd) {
    margin-left: 7px;
  }
  .form-box .form-field.half-width:nth-child(even) {
    margin-right: 7px;
  } */
  .form-box .form-field.half-width:nth-child(odd) ,
  .form-box .form-field.half-width:nth-child(even) { margin-right: unset; }
  .form-box .form-field.half-width.cell-odd {
    margin-right: 7px !important;
  }
  .form-box .form-field.half-width.cell-even {
    margin-left: 7px  !important;
  }
}

/* Basic */
.contact-form-basic .form-field {
  width: 100%;
  display: flex;
  border: 1px solid #ccc;
  margin: 0 0 15px 0;
}
.contact-form-basic .form-field label {
    float: left;
    width: 22%;
    text-align: left;
    font-size: 1rem;
    padding: 6px 10px;
}


/* Newsletter */
.contact-form-newsletter .form-field {
  width: 100%;
  display: inline-block;
  border: 1px solid #ccc;
  margin: 0 0 15px 0;
  float: left;
}
.contact-form-newsletter div.submit {
    display: inline-block;
    padding: 0;
    float: left;
}
.contact-form-newsletter div.submit .form-submit{
    line-height: unset;
    padding: 8px;
    font-size: .8rem;
    height: 52px;
    width: 75px;
    margin: 0!important;
}

.contact-form-newsletter .mail-success,
.contact-form-newsletter .mail-fail {
    margin: 20px 0 0;
    position: relative;
    width: auto;
    right: 0;
    text-align: center;
}


/* Simple */
.contact-form-custom .form-field ,
.contact-form-simple .form-field {
  width: 100%;
  display: flex;
  border: 1px solid #ccc;
  margin: 0 0 15px 0;
}
/* .contact-form-custom .form-field label:not(.form-fields-box) , */
.contact-form-simple .form-field labell:not(.form-fields-box) {
    float: left;
    width: 22%;
    text-align: left;
    font-size: 1rem;
    padding: 6px 10px;
	position: relative;
	top: 0px;
}
.contact-form-custom .form-field input,
.contact-form-custom .form-field textarea ,
.contact-form-simple .form-field input,
.contact-form-simple .form-field textarea ,
.contact-form-custom .form-fields {
    float: right;
    width: 78%;
    padding: 10px 15px;
    font-size: .9rem;
    line-height: 1.4rem;
    border: none;
    background: #fff;
    /* border-left: 1px solid #ccc; */
}
.contact-form-custom .form-fields ,
.contact-form-custom .form-field input ,
.contact-form-custom .form-field select {
    min-height: 50px!important;
    border-radius: 0;
}


/* Custom */
.contact-form-custom { color: var(--first-color); }
.contact-form-custom .form-field select {
	border-width: 0 0 0 0;
    border-color: #ccc;
}

.contact-form-custom .form-field select ,
.contact-form-custom .form-field .form-fields {
	/* width: 77%; */
	width: 100%;
	height: fit-content;
}
.contact-form-custom .form-field .form-fields .form-fields-box {
	padding: 0;
}
.contact-form-custom .form-field .form-fields.list-v {
	display: block;
	padding: 15px 10px;
}
.contact-form-custom .form-field .form-fields.list-v > .form-fields-box {
	float: none;
	margin: 0 0 0 0;
}
.contact-form-custom .form-field .form-fields.list-v .form-fields-box ~ .form-fields-box {
	margin: 20px 0 0;
  width: 100%;
}
.contact-form-custom .form-field .form-fields.list-v label {
  width: 100%;
}
form.form-box .form-field .form-fields.list-h {
	/* display: flex; */
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}
form.form-box .form-field .form-fields.list-h .form-fields-box {
	flex-grow: 1;
	flex-basis: 0;
  width: fit-content;
  margin-left: 20px;
  margin-left: 20px;
  position: relative;
  top: 4px;
}
form.form-box .form-field .form-fields.list-h .form-fields-box:first-of-type {
  margin-left: 0px;
}
form.form-box .form-field .form-fields.list-h .form-fields-box label {
	text-align: center;
}
.contact-form-custom .form-fields input[type="radio"] ,
.contact-form-custom .form-fields input[type="checkbox"] {
	width: auto;
	float: none;
}
.contact-form-custom .form-fields-box {
	display: block;
	position: relative;
	/* padding-left: 35px; */
	margin-bottom: 0;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-align: center;
	text-indent: 35px;
}
.contact-form-custom .form-fields-box input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	cursor: pointer;
}
.contact-form-custom .form-fields-box:hover input ~ .checkmark {
	background-color: #ccc;
}
.contact-form-custom  .form-fields-box input:checked ~ .checkmark {
/* 	background-color: #2196F3; */
}
.contact-form-custom .form-fields-box .radio.checkmark ,
.contact-form-custom .form-fields-box .checkbox.checkmark {
	position: absolute;
	top: 1px;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #eee;
  border-color: transparent;
}
.contact-form-custom .form-fields-box .radio.checkmark {
	border-radius: 50%;
}
.contact-form-custom .form-fields-box .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.contact-form-custom .form-fields-box input:checked ~ .checkmark:after {
	display: block;
}
.contact-form-custom .form-fields-box .radio.checkmark:after {
	top: 6px;
	left: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}
.contact-form-custom .form-fields-box .checkbox.checkmark:after {
	left: 8px;
	top: 4px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.contact-form-custom .form-field.code-block {
  border: 0;
}

div[id^=nb-field-] {
  width: 100%;
}
div[id^=nb-field-] input {
  width: 100% !important;
}

/* Firefox */
@-moz-document url-prefix() {

}


body.password-protected { position: relative; height: 100vh; width: 100%; background-color: #000; color: #fff; }
.password-protected-prompt { background-color: #000; color: #fff; text-align: center; margin: 0; display: flex !important; justify-content: center; align-items: center; height: 100vh !important; text-align: center;}
.password-protected-prompt p { color: #fff; }
.password-protected-prompt-box { width: 635px; text-align: center; }
.password-protected-prompt .passwd-field button { color: #fff; height: auto; border: 2px solid #fff; padding: 5px 25px 7px; background-size: 100% 200%; background-color: transparent; background-image: linear-gradient(to top, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 50%); -webkit-transition: all .3s; -moz-transition: all .3s; transition: all .3s; font-weight: 400; margin: 0 0 0 15px; }
.password-protected-prompt .passwd-field button:hover { color: #000; border: 2px solid #fff; background-position: 0 100%; }
.password-protected-prompt .email-field input { width: 100%; min-width: 287px; margin-bottom: 15px; }
.password-protected-prompt .email-field input, .password-protected-prompt .passwd-field input { outline-style: none; box-shadow: none; padding: 5px 6px 7px; }
.password-protected-prompt img.password-logo { margin: 20px 0; }
.password-protected-prompt .passwd-box { max-width: 287px; margin: 0 auto; }

/* Counters */
.counters.container { }
.counter-box { text-align: center; padding: .5%; }
.counter-box .counter { width: 100%; height: auto; position: relative; background-color: #c0c0c0; text-align: center; }
.counter-box .counterInner { padding: 2.5%; width: 100%; height: 100%; position: relative; }
.counter-box .counter .bg { height: 100%; width: 100%; background-position: center center; background-repeat: no-repeat; background-size: cover; position: absolute; top: 0; left: 0;  }
.counter-box .counter .ico { max-width: 50px; max-height: 50px; height:50px; width: 50px; display: inline; margin-bottom: 2rem; /* background-position: top center; background-size: contain; background-position: 50% 20%; top: 2.5%; */ }
.counter-box .counter .txt { font-size: 40px; font-weight: normal; margin: 0; padding: 0; text-align: center; width: auto; /* width: 100%; position: absolute; top: 61%; */ }
.counter-box .counter p.count-text , .counter-box .counter h2.count-counter { margin: 0; padding: 0; }
.counter-box .counter .txt span , .counter-box .counter .txt .num , .counter-box .counter .txt p.count-text , .counter-box .counter .txt .num h2.count-number { font-size: 2rem; line-height: unset; }
.counter-box .counter .txt span , .counter-box .counter .txt .num h2.count-number { display: inline; margin: 0px; padding: 0px; }
.counter-box .counter .txt p.count-text { font-size: 20px; margin-bottom: 5px; }
.counter-box .counter .txt span { font-size: 1rem; position: relative; top: -10px; }
.counter-box .counter .txt span.pre { top: -10px; }
.counter-box .counter .txt span.suf { /* top: -10px; */ }
.counter-box .counter.noIco { height: auto; }
.counter-box .counter.noIco .counterInner { padding-left: 0; padding-right: 0; }
.counter-box .counter.noIco p.count-text { padding: 0; margin: 0; }
.counter-box .counter.noIco .txt { margin: 0; width: 100%; /* position: absolute; top: 50%; -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); */ }

.carousel-fade .carousel-item { opacity: 0; transition-duration: .6s; transition-property: opacity; }
.carousel-fade .carousel-item.active, .carousel-fade .carousel-item-next.carousel-item-left, .carousel-fade .carousel-item-prev.carousel-item-right { opacity: 1; }
.carousel-fade .active.carousel-item-left, .carousel-fade .active.carousel-item-right { opacity: 0; }
.carousel-fade .carousel-item-next, .carousel-fade .carousel-item-prev, .carousel-fade .carousel-item.active, .carousel-fade .active.carousel-item-left, .carousel-fade .active.carousel-item-prev { transform: translateX(0); transform: translate3d(0, 0, 0); }

.flickity-page-dots { position: relative; }
.flickity-prev-next-button, .flickity-prev-next-button:hover { background-color: transparent; } .flickity-prev-next-button svg { display: none; }
.flickity-enabled button { font-family: 'agenta-icons'; background-image: none; opacity: .8; width: auto; height: auto; font-style: normal; font-size: 3.75rem; color: #777; transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -webkit-transition: all .2s ease-in-out; -moz-appearance: all .2s ease-in-out; }


body.search #post-header-title-card .content-container .hero-text h1 { line-height: 5rem; }
body.search #post-header-title-card h1, body.search-results #post-header-title-card h2, body.search-results #post-header-title-card h3, body.search-results #post-header-title-card h4, 
body.search #post-header-title-card h5, body.search-results #post-header-title-card h6, body.search-results #post-header-title-card p { margin: 0 auto; width: 100%; }
body.search #post-header-title-card { display: contents; position: relative; height: auto; width: 100%; text-align: center; transition: all .2s; -moz-transition: all .2s; -webkit-transition: all .2s; -webkit-backface-visibility: hidden; }
body.search #post-header-title-card .content-container .hero-text { padding: 0 40px; max-width: 1200px; margin: 0 auto; }
body.search #post-header-title-card .hero-text .centered-text { top: unset; transform: none; }

/* Button position */
/* Center */
form.form-box, form.form-box div.captcha-notice, form.form-box.left-right, form.form-box.left-right div.captcha-notice, form.form-box.left-right .auth-box, form.form-box.left-right .auth-box .submit { text-align: center; }
/* Left */
form.form-box.left-btns, form.form-box.left-btns div.captcha-notice, form.form-box.left-btns div.captcha-notice, form.form-box.left-btns .auth-box, form.form-box.left-btns .auth-box .submit { text-align: left; }
/* Right */
form.form-box.right-btns, form.form-box.right-btns div.captcha-notice, form.form-box.right-btns div.captcha-notice, form.form-box.right-btns .auth-box, form.form-box.right-btns .auth-box .submit { text-align: right; }
form.form-box.right-btns { text-align: right; }
form.form-box div.form-field.hide { display: none; }

/* New form style for 2FA auth fieldset */
.form-main-container { width: 100%; }
.mail-auth-resend {
  text-wrap: nowrap;
  display: flex;
  align-items: center;
  padding: 10px 15px;
}
fieldset.auth-box div.mail-auth {
  border: 1px solid #ccc;
}

.mail-auth.form-field {
  display: flex!important;
  justify-content: space-between;
}
fieldset.auth-box div.mail-auth input#agenta2fa {
  border: none!important;
}

.mail-auth-container {
  display: flex;
  flex-direction: column;
}

.mail-auth-container label, .mail-auth-container h3 {
  color: var(--first-color);
  text-align: left;
}

.dark .mail-auth-container label, .dark .mail-auth-container h3 {
  color: #fff;
}

/* Inline lable auth box */
/* .inline-label .mail-auth-resend {
  padding: 10px 15px;
}

fieldset.auth-box div.mail-auth.inline-label {
  border: 1px solid #ccc;
  padding: 0;
}
fieldset.auth-box div.mail-auth.inline-label .submsg {
  border-right: 1px solid #ccc;
  padding: 10px 15px;
}
@media (max-width: 1200px) { 
  fieldset.auth-box div.mail-auth.inline-label .submsg {
    width: 40%;
  }
} */

@media (max-width: 767px) {
  /* fieldset.auth-box div.mail-auth {   
    padding: 2rem 1rem 0 1rem;
  } */

  fieldset.auth-box div.mail-auth.inline-label #agenta2fa, fieldset.auth-box div.mail-auth.top-label #agenta2fa{
    border: none!important;
  }

  fieldset.auth-box div.mail-auth.inline-label #agenta2fa {
    max-width: 120px!important;
  }

  /* .inline-label .mail-auth-resend {
    text-wrap: wrap;
    padding-left: 0;
  } */
}

form.form-box div.form-field.top-label { margin-bottom: 30px; }
form.form-box div.form-field.top-label label:not(.form-fields-box) { 
	position: absolute; 
	left: 5px; top: -27px; 
	background: transparent; 
	width: auto !important; 
	height: auto !important; 
	line-height: unset;
	min-height: auto;
	padding: 0px 10px;
	z-index: 1;
}
form.form-box div.form-field.top-label input[type="text"],
form.form-box div.form-field.top-label input[type="tel"],
form.form-box div.form-field.top-label select,
form.form-box div.form-field.top-label textarea,
.select-multiple { width: 100% !important; }
/* form.form-box div.form-field.top-label label.form-fields:not(.form-fields-box) { width: 100%; } */
form.form-box div.form-field.top-label label.form-fields-box:not(.form-fields-box) { position: unset; }
form.form-box div.form-field.top-label select { text-indent: 15px; font-size: .9rem; }
form.form-box div.form-field.top-label div label.form-fields-box { text-align: left; }
html.firefox form.form-box div.form-field.top-label select { text-indent: 1px; line-height: 50px; }
html.safari form.form-box div.form-field.top-label select { text-indent: 4px; padding-left: 9px; }
html.chrome form.form-box div.form-field.top-label select { text-indent: 6px; }


form.form-box div.form-field select.selectable-option { color: #000000; }
form.form-box div.form-field select.placeholder { color: #747474; }

form.form-box div.form-field.border-label { margin-bottom: 30px; }
form.form-box div.form-field.border-label label:not(.form-fields-box) { 
	position: absolute; 
	left: 5px; top: -13px; 
	background: inherit; 
	width: auto !important; 
	height: auto !important; 
	line-height: unset;
	min-height: auto;
	padding: 0px 10px;
	z-index: 1;
}
form.form-box div.form-field.border-label input[type="text"],
form.form-box div.form-field.border-label input[type="tel"],
form.form-box div.form-field.border-label select,
form.form-box div.form-field.border-label textarea { width: 100% !important; }
/* form.form-box div.form-field.border-label label.form-fields:not(.form-fields-box) { width: 100%; } */
form.form-box div.form-field.border-label label.form-fields-box:not(.form-fields-box) { position: unset; }
form.form-box div.form-field.border-label select { text-indent: 15px; }
form.form-box div.form-field.border-label div label.form-fields-box { text-align: left; }
html.firefox form.form-box div.form-field.border-label select { text-indent: 1px; line-height: 52px; }
html.safari form.form-box div.form-field.border-label select { text-indent: 4px; padding-left: 9px; }
html.chrome form.form-box div.form-field.border-label select { text-indent: 6px; }

form.form-box.dark .form-field {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
}
.contact-form-custom,
form.form-box.dark div.form-field label,
form.form-box.dark div.form-field input,
form.form-box.dark div.form-field textarea,
form.form-box.dark div.form-field input::placeholder,
form.form-box.dark div.form-field select::placeholder,
form.form-box.dark div.form-field select.placeholder,
form.form-box.dark div.form-field select.selectable-option {
    color: #fff;
}
form.form-box.dark .form-field input,
form.form-box.dark .form-field textarea,
form.form-box.dark .form-field input,
form.form-box.dark .form-field textarea,
form.form-box.dark .form-fields {
    background: inherit !important;
}
form.form-box.dark div.form-field.border-label label:not(.form-fields-box) {
    background: #000;
}
form.form-box.dark fieldset > .fieldset-button, 
form.form-box.dark fieldset > .button-container .fieldset-button {
  border: 1px solid #fff;
  color: #fff!important;
  background-color: transparent!important;
}
form.form-box.dark .form-submit {
    background: transparent;
    border: 1px solid #fff;
}
form.form-box.dark .form-submit:hover {
    background-color: #fff!important;
    color: #000 !important;
}
form.form-box.dark select {
    background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA0LjkgMTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQuOSAxMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiNGRkZGRkY7fQo8L3N0eWxlPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjEuNCw0LjcgMi41LDMuMiAzLjUsNC43ICIvPgo8cG9seWdvbiBjbGFzcz0ic3QwIiBwb2ludHM9IjMuNSw1LjMgMi41LDYuOCAxLjQsNS4zICIvPgo8L3N2Zz4K') no-repeat;
    background-position: right 5px top;
    -moz-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 4px 20px;
}

select{
        background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat;
        background-position: right 5px top; 
        -moz-appearance: none; 
        -moz-appearance: none; 
        -webkit-appearance: none; 
        appearance: none;
            padding : 4px 20px 
}

@media (min-width: 768px)
{
	.form-box .form-field input, 
	.form-box .form-field textarea, 
	.form-box .form-fields {
	    width: 87%;
	}
  /*
	.form-box .form-field{
	    margin: 0 10px 20px 0;
	}
  */
	.form-box .form-field label {
	    width: 13%;
	}
	.form-box .form-field, .contact-form-simple .form-field {
	    display: inline-flex;
	}
	/* .form-box .form-field.half-width {
	    width: calc(50% - 30px);
	} */
	.form-box .form-field.third-width {
	    width: calc(33.333333% - 20px);
	}
	.form-box .form-field.quarter-width {
	    width: calc(25% - 10px);
	}
	.height-normalize {
	   min-height: 44px;
	}
	.form-box .top-label.form-field select ,
	.form-box .border-label.form-field select {
	    padding: 0 10px;
      border-left: 0px solid #ccc;
	}
	.form-box .inline-label.form-field select {
      padding: 4px 20px;
	    /* padding: 15px 10px 0px; */
      border-left: 1px solid #ccc;
	}
  html.firefox .form-box .inline-label.form-field select {
      padding: 15px 10px 0px;
  }
  
	.half-width.add-width {
	    width: calc(50% + 20px)!important;
	    margin: 0 0 0 0!important;
	}
	.third-width.add-width {
	    width: calc(33.333333% + 20px)!important;
	    margin: 0 0 0 0!important;
	}
	.quarter-width.add-width {
	    width: calc(25% + 20px)!important;
	    margin: 0 0 0 0!important;
	}
	.half-width label,
	.third-width label,
	.quarter-width label {
	    width: 33%!important;
	}
	.radios .form-fields-box {
	    flex-grow: unset!important;
	    flex-basis: unset!important;
	    margin-right: 30px!important;
	    width: fit-content!important;
	}
	.radios .form-fields.list-h {
	    border: none!important;
	    margin: 10px 0!important;
	    justify-content: start!important;
	}
	.radios.form-field label {
	    padding: 20px 20px!important;
	}
	.radios.form-field .form-fields-box {
	    padding: 0!important;
	}
}
@media (max-width: 767px) {
	form.form-box .form-field {
		display: inline-block;
		padding: 0;
		border: 0;
	}
	form.form-box .form-field .form-fields.list-h {
		float: left; width: 100%; border: 1px solid #ccc;
	}
	form.form-box .form-field label.label-text { 
		min-height: 25px;
		line-height: 20px; 
	}
	form.form-box .form-field label ,
	form.form-box .form-field label:not(.form-fields-box) {
	    width: 100%;
	    /* padding: 6px 0px; */
		padding: 10px 0px 6px;
	}
	form.form-box .form-field input, 
	form.form-box .form-field textarea,  
	form.form-box .form-field select,
  .select-multiple {
	    width: 100%;
	    /* border: 1px solid #ccc; */
	    min-height: 44px;
	}
	
	form.form-box .form-field:not(.border-label) input:not(.search-bar), 
	form.form-box .form-field:not(.border-label) textarea,  
	form.form-box .form-field:not(.border-label) select,
  .select-multiple {
	    border: 1px solid #ccc !important;
	}
	form.form-box .form-field {
	    /* border: none; */
	    margin:0;
	}
  form.form-box .form-fields.list-v {
      border: 1px solid #ccc;
      width: 100%;
  }
	div.contact-form-newsletter form.contact-form-newsletter .form-field ,
	div.contact-form-newsletter form.contact-form-newsletter .form-field input {
		width: 100%;
	}
	div.contact-form-newsletter form.contact-form-newsletter .form-field {
		margin-bottom: 15px;
	}
	.modal-body .container .container{
		padding: 1rem 1rem 2rem !important;
	}
}

/*
.btn:focus, button:focus, :focus, .btn:active {
  outline: 1px solid #ccc !important;
  box-shadow: none;
} 
*/

div[id^=nb-field-].nb-error div.nb-feedback, 
div[id^=nb-field-] div.nb-feedback, div.nb-feedback { opacity: 0 !important; }

div.post-author span, div.post-tax span {
  margin-right: 10px;
} 

.pac-container { z-index: 9500; }

/* 2FA Auth Container */
fieldset.auth-box {
  display: flex;
  flex-direction: column;
}

fieldset.auth-box, 
fieldset.auth-box div.buttons { 
  width: 100%; 
}

fieldset.auth-box div.mail-auth { clear: both; }

fieldset.auth-box div.mail-auth { 
  text-align: center; display: inline-block; 
}

fieldset.auth-box div.submit,
fieldset.auth-box div.back { 
  width: fit-content; 
}

fieldset.auth-box div.back { float: left; text-align: left; } 
fieldset.auth-box div.submit { text-align: right; float: right; }

fieldset.auth-box div.back input, 
fieldset.auth-box div.submit input {
  margin: 0!important;
  text-transform: none;
}

@media (max-width: 767px){
  fieldset.auth-box div.back input, 
  fieldset.auth-box div.submit input {
    margin: 10px 0 0!important;
    text-transform: none;
  }
}

form.form-box.dark .auth-box .form-submit:hover, form.form-box.dark .auth-box .fieldset-previous:hover {
  background-color: #fff!important;
  color: #000 !important;
}

form.form-box.dark .auth-box .form-submit, form.form-box.dark .auth-box .fieldset-previous {
  background: transparent;
  border: 1px solid #fff;
}
/* fieldset.auth-box div.mail-auth input#agenta2fa, fieldset.auth-box div.mail-auth input#sms2fa { min-height: 50px; width: 200px; padding: 10px 15px; font-size: .9rem; line-height: 1.4rem; border: none; background: #fff; border-left: 1px solid #ccc; border-radius: 0; }  */
fieldset.auth-box a.resend { color: var(--first-color); margin: 10px 0px; display: inline-block; text-decoration: none; cursor: pointer; } fieldset.auth-box a.resend:hover { color: var(--first-color); text-decoration: underline; }

div.video-wrapper iframe::-webkit-media-controls ,
div.video-wrapper iframe .player .vp-player-ui-overlays{
    display: none;
  }
  
/* Base styles for the custom select dropdown */
.select-multiple {
	line-height: unset!important;
  padding: 8px 16px;
}
.select-multiple input {
	border-left: none!important;
  padding: 0!important;
  min-height: unset!important;
}
.select-multiple select {
	display: none;
}
/* Styles for the active div and its children */
.select-multiple .active-list {
	position: relative;
	z-index: 2;
	font-size: 14px;
	transition: box-shadow 0.3s ease;
	display: flex;
  width: 100%;
  gap: 0.5rem;
}
.select-multiple .active-list input {
  min-width: unset;
  max-width: 20%;
  margin-right: 0.75rem;
}
.select-multiple > div:hover {
	/* box-shadow: 0 4px 24px -1px rgba(22, 42, 90, 0.16); */
}
/* Search bar */
.search-bar {
	position: relative;
	width: 100%;
	height: 35px;
	border: none;
}
/* Placeholder text styles */
.select-multiple .placeholder-span {
	color: #99A3BA;
	display: block;
	position: absolute;
	left: 12px;
	cursor: pointer;
	top: 8px;
	line-height: 28px;
	transition: all 0.3s ease;
	width: 100%;
	text-align: left;
}
.select-multiple .placeholder-span.hide {
	opacity: 0;
	visibility: hidden;
	transform: translate(-4px, 0);
}
/* Styles for selected option tags */
.select-multiple .selectedTag {
	position: relative;
	padding: 8px;
	display: flex;
	/* margin-right: 0.5rem; */
	background: var(--first-color);
	border-radius: 4px;
	width: fit-content;
	align-items: center;
	gap: 0.75rem;
	text-wrap: nowrap;
}
.select-multiple .selectedTag:hover {
	color: #fff!important;
}
/* Close Icon */
.selectedTag .icon-close {
	font-size: 10px;
	cursor: pointer;
}	
.selectedTag .icon-close:hover {
	font-size: 10px;
	color: #787878!important;
}	
/* Showing and removing tags */
.select-multiple a.notShown {
	opacity: 0;
}
.select-multiple a.notShown.shown {
	opacity: 1;
}
/* Styles for the options list */
.select-multiple > ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
	z-index: 1;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	visibility: hidden;
	opacity: 0;
	border-radius: 8px;
	transform: translateY(-20px); /* Initially move up for the sliding down effect */
	transition: opacity 0.4s ease, transform 0.4s ease; /* Transition for sliding and fading */
	box-shadow: 0 12px 20px rgba(22, 42, 90, 0.08);
}
/* Styles for each option item */
.select-multiple ul li {
  color: #333;
  background: #fff;
  padding: 12px 16px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, opacity 0.5s ease;
  text-align: left;
}
/* .select-multiple ul li:hover {
	background: #777;
	color: #fff;
} */
.select-multiple ul li:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	border-radius: 100%;
	transform: scale(1) translate(-50%, -50%);
	transform-origin: 50% 50%;
}
/* State styles for the open dropdown */
.select-multiple.open > .option-list {
	transform: translateY(0); /* Move to the original position (slide down) */
	opacity: 1; /* Fade in */
	visibility: visible;
	filter: drop-shadow(0 16px 24px rgba(22, 42, 90, 0.16));
  z-index: 3;
}
@media (max-width: 767px) {
  .select-multiple .active-list {
    flex-wrap: wrap;
  }
}

/* Concessions */
div#row-hdr {
  background: #f4f4f4;
}
div#row-hdr .af-flex-table-cell{
  text-transform: uppercase;
}
.aw-concessions.af-flex-table {
	display: flex;
	flex-direction: column;
  border: 1px solid #eee;
}
.aw-concessions .af-cell-border {
    border: 1px solid #eee;
}
.aw-concessions .af-flex-table-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
.aw-concessions .af-flex-table-row a {
  font-size: 1.1rem;
}
.aw-concessions .af-flex-table-cell {
	padding: 1rem;
	flex: 1;
	text-align: left;
}
.aw-concessions .af-flex-table-cell p {
	margin: 0;
	line-height: 1;
}

@media (max-width: 767px){
	.aw-concessions.af-flex-table {
		gap: 1rem;
	}
	.aw-concessions .af-flex-table-row {
		flex-direction: column;
	}
	.aw-concessions .af-cell-border {
		border: none;
	}
}

.single-blog #primary figure.is-type-video {
	max-width: 1000px;
	margin: auto;
}
.wp-block-embed {
    overflow-wrap:break-word
}
.wp-block-embed figcaption {
    margin-bottom: 1em;
    margin-top:.5em
}
.wp-block-embed iframe {
    max-width:100%
}
.wp-block-embed__wrapper {
    position:relative
}
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper:before {
    content: "";
    display: block;
    padding-top:50%
}
.wp-embed-responsive .wp-has-aspect-ratio iframe {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width:100%
}
.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper:before {
    padding-top:42.85%
}
.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper:before {
    padding-top:50%
}
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper:before {
    padding-top:56.25%
}
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before {
    padding-top:75%
}
.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper:before {
    padding-top:100%
}
.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper:before {
    padding-top:177.77%
}
.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper:before {
    padding-top:200%
}
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 125px;
}
.wp-block-embed iframe {
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Edge on Windows OS */
@media (prefers-color-scheme: light){
	select .selectable-option {
		color: #000;
	}
}
@media (prefers-color-scheme: dark){
	select .selectable-option {
		color: #000;
	}
}