/**
* Template Name: TowneBank Newsletter, 1.0
* Author: The Meridian Group
* Template boilerplate URL: https://bootstrapmade.com/multi-responsive-bootstrap-template/
* License: https://bootstrapmade.com/license/
*/


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  touch-action: none !important;
  touch-action: pan-y !important;
  scroll-behavior: smooth;
}

body {
  font-family: 'Red Hat Display', "Nunito", sans-serif;
  color: #000000;
  letter-spacing: 0.05em;
  line-height: 1.45em;
}

a {
  color: #002a52;
  white-space: nowrap;
}

p a,
p a:hover,
figcaption a,
figcaption a:hover {
  text-decoration: underline;
}

a:hover {
  color: #002a52;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
}

h3 {
  font-size: 1.25rem;
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
  margin-bottom: 0.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
}

.h2,
h2 {
  font-size: 1.6rem;
  margin-top: 1.35em;
}

h1.section-header {
  color: #002a52;
  text-align: center;
  margin-bottom: 0em;
  margin-top: 1em;
  font-weight: 650;
}

h1.section-header-rev {
  color: #c1ab67;
  text-align: center;
  margin-bottom: 0em;
  margin-top: 1em;
  font-weight: 650;
}

.container {
  background-color: inherit;
}

section {
  background-color: #ffffff;
}

section.hghlt-qte {
  margin-bottom: 0px;
}

section div {
  background-color: inherit;
}

div.carousel-container {
  background-color: transparent !important;
}

h1.article-header {
  font-size: 4.75em;
  color: #002147;
  font-weight: bold;
  font-family: 'Gelasio', "Montserrat", sans-serif;
  line-height: 1.05;
  width: 80%;
}

article.featured-article,
article.regular-article {
  margin-bottom: 7vw;
}

article>.container>.row>div {
  height: fit-content;
}

/* section#towne-family-news article:first-of-type {
  margin-top: 14em;
} */

h1.section-header:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  border-top: 2px solid black;
  background: black;
  width: 100%;
  transform: translateY(-50%);
}

h1.section-header-rev:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  border-top: 2px solid #c1ab67;
  background: #c1ab67;
  width: 100%;
  transform: translateY(-50%);
}

.regular-article img.bio-pic {
  width: 40%;
}

.contact-info {
  width: 40%;
}

.contact-info-card>div {
  overflow: hidden;
  height: fit-content;
  max-height: 200px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.contact-info-card>div:nth-child(2) {
  width: 200px;
  justify-content: start;
  margin: 1em;
  overflow: visible;
}

.fig-container {
  flex-direction: column;
  width: 100%;
  height: 400px;
  min-height: fit-content;
  text-align: center;
  display: flex;
  justify-content: center;
}

.fig-container figure {
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

img.logo-pic {
  max-width: 200px;
}

.contact-info-card {
  margin-top: 2em;
  padding: 1.5em;
  display: flex;
  align-items: center;
}

.about .content .contact-info-card p {
  margin: 2em 0;
  padding: 0 0 0 2em;
  width: 100%;
}

.disclaimer {
  font-style: italic;
  font-size: 85%;
  margin: 2em;
}

.about .content .contact-info-card p>span {
  font-weight: 500;
}

.info-card-section {
  border-top: 1px solid #919191;
  margin-top: 3em;
}

figcaption.figure-caption.lowercase {
  text-transform: lowercase;
  margin-bottom: 2.5em;
}

figcaption.figure-caption.container {
  text-align: left;
}

#mobile-page-label {
  display: none;
  position: absolute;
  transform: translate(-15px, 80px);
  color: #ffffff;
  font-size: .8rem;
  font-weight: 100;
  font-family: 'Red Hat Display';
  background-color: #c1ab67;
  padding: 0 10px;
  width: 100vw;
  top: 30px;
}

h1.section-header span {
  background-color: inherit;
  padding: 0 1vw;
  z-index: 99;
  width: fit-content;
  padding: 0px 15px;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  justify-content: center;
}

h1.section-header-rev span {
  background-color: inherit;
  padding: 0 1vw;
  z-index: 99;
  width: fit-content;
  padding: 0px 15px;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  justify-content: center;
}

h1.section-header {
  padding: 0 10px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  background-color: inherit;
  margin: 0em 0em 2em !important;
}

h1.section-header-rev {
  padding: 0 10px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  background-color: inherit;
  margin: 2em 0em 1em !important;
}

section>div {
  background-color: inherit;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: .5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1px;
}

article {
  padding: 0 0 3em 0;
}

article.featured-article {
  padding-top: 0;
}

.quote-container {
  border-top: 3px solid #002147;
  padding: 1em 0em 2.5em;
}

.quote-container ol li {
  margin: 0.25em 0;
  padding: 0em 0 0.35em;
  line-height: 1.5;
}

.quote-container ol {
  font-size: .75em;
  margin: 0.5em 0 0 0;
  padding: 0 0.5em 0 1.5em;
}

blockquote {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1.65em;
  line-height: 165%;
  text-align: left;
  color: #002147;
}

.story-front {
  font-size: 1.25em;
  line-height: 1.5;
  margin-bottom: 0.75em !important;
}

.social {
  margin-top: 2em;
  align-items: center;
}

.social-container {
  margin-top: 1.5em;
}

.art-body figure {
  width: 100%;
}

.art-body h5 {
  margin-top: 2em;
}

figure img {
  min-width: 100%;
  object-fit: cover;
  max-height: 400px;
}

.col-lg-12 figure img {
  min-width: 100%;
  object-fit: cover;
  max-height: unset;
}

figure.figure {
  display: inline-block;
  width: 100%;
}

.figure-image-container {
  height: auto;
  max-height: 350px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-article figure.figure img {
  max-height: 800px;
}

.figure-caption {
  font-size: 0.82em;
  color: #000000;
  margin-bottom: 2em;
  margin-top: 0.5em;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 768px) {
  #mobile-page-label {
    display: block;
  }

  h1.article-header {
    font-size: 4.75em;
    color: #002147;
    font-weight: bold;
    font-family: 'Gelasio', "Montserrat", sans-serif;
    line-height: 1.12;
    width: 100%;
  }
}

@media (min-width: 768px) {

  .feature-article img,
  .regular-article .copy img {
    width: 100%;
  }

  .feature-article figure img,
  .regular-article .copy figure img {
    width: 100%;
  }

  .regular-article img.bio-pic {
    width: 40%;
  }

  .regular-article figure {
    display: block;
    margin: 0;
  }

  .regular-article figure figcaption {
    padding: 0.25em 0 0;
  }
}

@media (min-width: 768px) {
  .art-body figure {
    width: 50%;
  }
}

@media (max-width: 768px) {
  footer .row>div {
    padding: 0 8% !important;
    margin: 0 !important;
    text-align: center !important;
  }

  h1.section-header:before {
    content: '';
    position: absolute;
    top: 80%;
    left: 0;
    border-top: 0px solid black;
    width: 0%;
  }

  article,
  article:first-of-type {
    margin-bottom: 2em !important;
    padding-bottom: 0.25em !important;
    padding-top: 0.25em !important;
  }

  article.featurette {
    margin-bottom: 0em;
  }

  h1.section-header-rev:before {
    content: '';
    position: absolute;
    top: 80%;
    left: 0;
    border-top: 0px solid black;
    width: 0%;
  }

  .contact-info-card img {
    width: 100% !important;
  }

  .contact-info-card {
    margin-top: 2em;
    padding: 1.5em;
    border-top: 1px solid #919191;
    display: flex;
    align-items: center;
    flex-flow: column;
  }

  .contact-info-card:first-of-type {
    border-top: none;
  }

  article.featured-article>figure>figcaption.figure-caption {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }

  .feature-article img,
  .regular-article .copy img {
    width: 100%;
  }

  .long-story-img>.landscape-img-portrait {
    width: 100%;
    height: calc(100% - 60px) !important;
  }

  h1.article-header {
    font-size: 2.5em;
    color: #002147;
    font-weight: bold;
    margin-bottom: 0.2em !important;
  }

  .story-front {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 0.75em !important;
  }

  .quote-container {
    border-top: 3px solid #002147;
    padding: .5em 0em 0em;
    margin: 0 0 0.25em;
  }

  .social {
    margin-top: 2em;
  }

  h1.section-header {
    margin: 0em !important;
  }

  h1.section-header-rev {
    margin: 1em 0 0 0 !important;
  }
}

/*--------------------------------------------------------------
# Print Styles
--------------------------------------------------------------*/

@media print {
 .noprint {
    visibility: hidden !important;
    display: none !important;
 }
img {
   width: auto;
   height: 500px;
 }

}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #002a52;
  border-top-color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
}

.back-to-top i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #002a52;
  color: #fff;
  transition: all 0.4s;
}

.back-to-top i:hover {
  background: #c1ab67;
  color: #fff;
}

span.visually-hidden {
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
  font-size: 0px !important;
  position: absolute !important;
}

span.visually-hidden:focus {
  clip: auto !important;
  height: auto !important;
  overflow: auto !important;
  position: absolute !important;
  width: auto !important;
  font-size: 0px !important;
  position: absolute !important;
}

.navbar-toggler {
  right: 4%;
  top: 0.9%;
  position: fixed;
}

.navbar {
  padding: 1.5em 0.25em;
  text-align: center;
}

#navbar a.nav-item.nav-link.active-menu-nav,
#navbar a.nav-item.nav-link.active-menu-nav:hover {
  text-shadow: 0px 0px 0px transparent;
  -webkit-text-fill-color: unset;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: unset;
  cursor: unset !important;
  background-color: #c1ab67 !important;
  color: #001247 !important;
}

#header {
  padding: 3rem 1rem;
}

a.nav-item.nav-link {
  color: #ffffff !important;
  color: #ffffffb5 !important;
  margin: 0.35em;
  font-size: 0.90em;
}

a.nav-item.nav-link {
  text-align: center;
}

section#hero+main#main,
section#hero+main#main section {
  margin-top: 0;
}


a.nav-item.nav-link:hover {
  text-shadow: 7px 4px 7px #06041a;
  -webkit-text-fill-color: white;
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: white;
}

@media (min-width: 1400px) {

  .hero-fig-img-container {
    width: 100%;
    overflow: hidden;
    height: 40vw;
  }
  
  .featured-article figure.figure .hero-fig-img-container img {
    max-height: 100vw;
    height: auto !important;
    width: 100vw !important;
    transform: translate(0, 0);
  }
  #hero {
    width: 100%;
    height: 80vh;
    background-color: rgba(4, 12, 21, 0.8);
    overflow: hidden;
    position: relative;
    margin-top: 6em !important;
  }


  nav#navbar .row.w-100 {
    justify-content: center;
    align-items: center;
  }

  header {
    height: calc(70px + 2vw);
  }

  main#main {
    margin-top: 95px;
  }

  section#hero+main#main {
    margin-top: 0;
  }
}

@media (min-width: 768px) and (max-width: 1053px) {
  #header {
    z-index: 997;
    padding: 3rem 0;
    height: 240px;
  }

  section {
    margin-top: 240px;
  }

  section#towne-family-news {
    margin-top: 300px;
  }

  header #navbar div.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  div#myTogglerNav {
    align-items: center;
    justify-content: center;
    margin-top: calc(2.5em - 2vw);
  }
}

@media (min-width: 1054px) and (max-width: 1400px) {
  #header {
    z-index: 997;
    padding: 3rem 0;
    height: 180px;
  }

  main#main {
    margin-top: 175px;
  }

  section#hero+main#main {
    margin-top: 0;
  }

  header #navbar div.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  div#myTogglerNav {
    align-items: center;
    justify-content: center;
    margin-top: calc(2.5em - 2vw);
  }

    #hero .carousel-container {
      text-align: center;
      bottom: 5vw;
    }
}

@media (min-width: 768px) {
  #navbar .navbar-expand-md .navbar-nav .nav-link {
    padding: 1em 1.7em;
  }

  .navbar-expand-md .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0em;
  }

  a.logo.mr-auto.nav-menu {
    float: left;
  }

  header.fixed-top.scrolling-active nav.site-nav {
    background-color: #002a52;
  }

  .navbar-nav {
    margin-top: 1em;
  }

  div#myTogglerNav {
    background-color: #002a52;
    margin: 0.9em -1em;
    padding: 0px 1.5em 2.35em;
    width: 100vw;
  }

  div#myTogglerNav.show {
    -webkit-box-shadow: 0px 7px 5px -2px rgb(0 0 0 / 61%);
    box-shadow: 0px 10px 19px 2px rgb(0 0 0 / 32%);
  }
}


/*--------------------------------------------------------------
# Read more/less button
--------------------------------------------------------------*/
#section {
  width: 500px;
  height: 400px;
  word-wrap: break-word;
}

.moretext-new {
  display: none;
  margin-bottom: 1em;
}

.moreless-button-new {
  cursor: pointer;
  margin-top: 1em;
  display: inline-block;
}

.moretext {
  display: none;
}

/*--------------------------------------------------------------
# Mobile Hamburger Menu Icon animation
--------------------------------------------------------------*/
/* Icon 1 */
#nav-icon1,
#nav-icon2,
#nav-icon3,
#nav-icon4 {
  width: 40px;
  height: 25px;
  position: fixed;
  right: 7%;
  top: 30px;
  margin: 0px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  border: none;
}

#nav-icon1 span,
#nav-icon3 span,
#nav-icon4 span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 18px;
}

#nav-icon1 span:nth-child(3) {
  top: 36px;
}

#nav-icon1.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* Icon 2 */
#nav-icon2 {}

#nav-icon2 span {
  display: block;
  position: absolute;
  height: 9px;
  width: 50%;
  background: #d3531a;
  opacity: 1;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
  left: 50%;
  border-radius: 0 9px 9px 0;
}

#nav-icon2 span:nth-child(odd) {
  left: 0px;
  border-radius: 9px 0 0 9px;
}

#nav-icon2 span:nth-child(1),
#nav-icon2 span:nth-child(2) {
  top: 0px;
}

#nav-icon2 span:nth-child(3),
#nav-icon2 span:nth-child(4) {
  top: 18px;
}

#nav-icon2 span:nth-child(5),
#nav-icon2 span:nth-child(6) {
  top: 36px;
}

#nav-icon2.open span:nth-child(1),
#nav-icon2.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),
#nav-icon2.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
  left: 5px;
  top: 7px;
}

#nav-icon2.open span:nth-child(2) {
  left: calc(50% - 5px);
  top: 7px;
}

#nav-icon2.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
  left: 5px;
  top: 29px;
}

#nav-icon2.open span:nth-child(6) {
  left: calc(50% - 5px);
  top: 29px;
}

/* Icon 3 */
#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),
#nav-icon3 span:nth-child(3) {
  top: 18px;
}

#nav-icon3 span:nth-child(4) {
  top: 36px;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/* Icon 4 */
#nav-icon4 {}

#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 11px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 23px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 4px;
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 24px;
  left: 2px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: transparent;
  transition: all 0.5s;
  z-index: 997;
  padding: 3rem 0;
}

#header.header-scrolled {
  padding: 3rem 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 26px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#header .logo a {
  color: #002a52;
}

a.logo.mr-auto.nav-menu {
  max-width: 20vw;
}

#header .logo img {
  max-height: 100%;
}

@media (max-width: 768px) {
  #header {
    background: transparent;
    transition: all 0.5s;
    z-index: 997;
    padding: 0 !important;
    background-color: #002147;
    height: 110px;
  }

  #header .logo img {
    max-height: 100%;
    width: 340px !important;
    margin-left: -38px;
    max-width: none;
    overflow: hidden;
  }

  main#main {
    margin-top: 125px;
  }

  section#hero+main#main {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  #header .logo {
    font-size: 28px;
    max-width: 272px;
    margin: 0.75em 0em 0em 0.5em;
    overflow: hidden;
  }
}

@media (min-width: 769px) and (max-width: 992 px) {
  #header .logo {
    font-size: 28px;
    max-width: 272px;
    margin: 0.75em 0em 0em 0.5em;
  }
}

/*--------------------------------------------------------------
# menu scroll
--------------------------------------------------------------*/
.scrolling-active {
  background: #002a52 !important;
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul {
  display: flex;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
  padding: 10px 0 10px 28px;
}

.nav-menu a {
  display: block;
  position: relative;
  color: #ffffff;
  transition: 0.3s;
  font-size: 14px;
  font-family: 'Red Hat Display', "Nunito", sans-serif;
}

.footer-nav-menu a {
  display: block;
  position: relative;
  color: #ffffff;
  transition: 0.3s;
  font-size: 14px;
  font-family: 'Red Hat Display', "Nunito", sans-serif;
}

.nav-menu a:hover,
.nav-menu .active-menu-nav>a,
.nav-menu li:hover>a {
  color: #ffffff;
}

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 15px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #002a52;
}

.nav-menu .drop-down ul a:hover,
.nav-menu .drop-down ul .active-menu-nav>a,
.nav-menu .drop-down ul li:hover>a {
  color: #002a52;
}

.nav-menu .drop-down>a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down>a {
  padding-right: 35px;
}

.nav-menu .drop-down .drop-down>a:after {
  content: "\eaa0";
  font-family: IcoFont;
  position: absolute;
  right: 15px;
}

/* Get Started Button */
.get-started-btn {
  margin-left: 25px;
  background: #002a52;
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px 9px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.get-started-btn:hover {
  background: #ef6445;
  color: #fff;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  top: 23px;
  right: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #002a52;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #002a52;
  padding: 10px 20px;
  font-weight: 500;
  outline: none;
}

.mobile-nav a:hover,
.mobile-nav .active-menu-nav>a,
.mobile-nav li:hover>a {
  color: #002a52;
  text-decoration: none;
}

.mobile-nav .drop-down>a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active-menu-nav.drop-down>a:after {
  content: "\eaa1";
}

.mobile-nav .drop-down>a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(4, 12, 21, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

@media (max-width: 768px) {
  .mobile-nav-toggle i {
    color: #4376a5;
  }
  .get-started-btn {
    margin: 0 48px 0 0;
    padding: 6px 20px 7px 20px;
  }
}

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }

  .nav-menu .drop-down .drop-down:hover>ul {
    left: -100%;
  }

  .nav-menu .drop-down .drop-down>a:after {
    content: "\ea9d";
  }
}

/*--------------------------------------------------------------
# Aside bullet navigation
--------------------------------------------------------------*/
aside {
  position: fixed;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 999999988;
  display: none;
}

aside ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style-type: none;
  margin: 0;
}

aside ul li .indicator {
  cursor: pointer;
  margin-top: 1rem;
  display: block;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background-color: #001247;
}

aside ul li .active-bullet {
  transform: scale(1.7);
  transition: transform 200ms ease-in-out;
  background-color: #c1ab67;
}

@media (max-width: 768px) {
  aside {
    position: fixed;
    top: unset;
    bottom: 15px;
    transform: translate(-50%, 0%);
    z-index: 999999988;
    background-color: white;
    box-shadow: 2px 5px 7px -1px #00000066;
    border-radius: 13px;
    padding: 12px;
    display: none;
  }

  aside {
    position: fixed;
    top: 48%;
    transform: translate(-50%, -50%);
    z-index: 999999988;
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 127vh;
  background-color: rgba(4, 12, 21, 0.8);
  overflow: hidden;
  position: relative;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 99;
}

#hero .carousel-item {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

#hero .carousel-item::before {
  content: '';
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6881127450980392) 1%, rgba(0, 0, 0, 0.4500175070028011) 14%, rgba(0, 0, 0, 0) 51%);
  background-color: #001c3612;
}

#hero .carousel-container {
  display: flex;
  align-items: center;
  position: absolute;
  top: 3%;
  left: 50px;
  right: 50px;
  z-index: 200;
}

#hero h2 {
  color: #fff;
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: 2.5px;
}

#hero p {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  color: #fff;
  margin-top: 10px;
}

.carousel-item .carousel-container>div {
  background-color: #00132588;
}



#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-left,
#hero .carousel-inner .active.carousel-item-right {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-left,
#hero .carousel-inner .carousel-item-prev.carousel-item-right {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-left,
#hero .carousel-inner .active.carousel-item-right {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
  top: 112px;
  z-index: 202;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 36px;
  line-height: 1;
  width: auto;
  height: auto;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: .6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active-menu-nav {
  opacity: 1;
  background: #002a52;
}

#hero .btn-get-started {
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 4px;
  margin-top: 15px;
}

#hero .btn-get-started:hover {
  background: #c1ab67;
}

.container.text-center {
  padding: 2em;
  width: 50%;
}

.container.text-center {
  padding: 2em;
  width: 100%;
}

@media (min-width: 768px) {
  .container.text-center {
    padding: 2em;
    width: 80%;
  }

  #hero h2 {
    font-family: Gelasio;
    color: #fff;
    margin: 0;
    font-size: 33px;
    font-weight: 700;
    letter-spacing: inherit !important;
    padding: 0 3em;
  }

  #hero h3 {
    padding: 0 3em;
  }
}

@media (max-width: 1399px) {
  #hero {
    height: 75vh;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 1.5em;
  }

  #hero h3 {
    font-size: 1.25em;
  }
}

@media (max-width: 992px) {
  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    top: 66px;
  }
  #hero {
    height: 85vh;
  }

  #hero .carousel-container {
    text-align: center;
    bottom: -20vw;
  }
}

@media (min-width: 1024px) {

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (min-width: 1200px) {
  #hero p {
    width: 50%;
  }
}

/*--------------------------------------------------------------
# Section: In this issue of TowneToday
--------------------------------------------------------------*/
i.bx.bx-right-arrow-circle {
  margin-top: 12px;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 0 0;
  margin-bottom: 8em;
}

section#chairman {
  padding: 12em 0 0;
  margin-bottom: 8em;
}

section#portfolio {
  margin-bottom: 0 !important;
}

section#testimonials {
  padding-top: 0;
  margin-bottom: 0;
}

section.card {
  padding-top: 0px;
  box-shadow: 0 2px 8px -3px #777;
  min-height: 690px;
}

section.short-story {
  margin-bottom: 5em;
}

.section-bg {
  background-color: #f6f9fd;
}

section#chairman {
  margin-bottom: 0;
}

#chairman h2 {
  margin: 0.5em auto;
}

.lfc #header {
  background: transparent;
  transition: all 0.5s;
  z-index: 997;
  padding: 3rem 0;
  background-color: #002a52;
}

#header {
  background: transparent;
  transition: all 0.5s;
  z-index: 997;
  padding: 3rem 0;
  background-color: #002147;
}

.section-title {
  padding-bottom: 40px;
  padding-top: 3em;
}

.section-title h4 {
  padding: .75em;
  color: white;
  background-color: #002a52;
  font-size: .75em;
  width: max-content;
  font-weight: bolder;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 500;
  padding: 0;
  line-height: 1.3em;
  margin: 0 0 0.25em 0;
  letter-spacing: 2px;
  color: #000000;
  font-family: "Poppins", sans-serif;
  width: 80%;
}

.diaag-background {
  display: inline-block;
  border: 1px solid #ccc;
  margin: 10px;
  padding: 10px;
  background: url(http://i.piccy.info/i7/c7a432fe0beb98a3a66f5b423b430423/1-5-1789/1066503/lol.png);
  background-size: 100% 100%;
}

.ssssection-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #f38b74;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #002a52;
}

.long-story {
  margin-bottom: 14em;
}

.long-story-img {
  width: 100%;
  overflow: hidden;
  display: flex;
  height: fit-content;
  max-height: 600px;
  align-items: center;
  justify-content: center;
}

.group-portrait-img-container {
  height: fit-content;
}

.long-story-img>img {
  height: auto;
  width: 100%;
}

.long-story-img>.landscape-img {
  height: 100%;
  width: auto;
}

.header-profile-img {
  width: 100%;
  overflow: hidden;
  text-align: center;
  display: block;
  height: fit-content;
  max-height: 300px;
}

.long-story-img.portrait-img-container {
  height: 100%;
  max-height: 500px;
  min-height: 200px;
  justify-content: start;
  padding: 0 20%;
}

.portrait-img-container {
  display: flex;
  justify-content: end;
  align-items: center;
  padding-right: 5em !important;
}

.portrait-img-container img {
  width: auto !important;
  max-height: 600px;
}

h1.long-story {
  font-size: 3em;
  font-weight: 800;
  color: #002147;
  line-height: 1;
  margin-bottom: 0.1em !important;
}

h1.long-story+h2 {
  color: #002147;
  margin-bottom: 1em !important;
  margin-top: 0.25em;
}

.long-story h4 {
  padding: 0 0 0 0;
  line-height: 140%;
}

.short-story-img {
  overflow: hidden;
  width: 100%;
  height: auto;
  margin-bottom: 2em;
  padding: 0 2em 0em 0;
}

.short-story-img img {
  object-fit: cover;
  width: 100%;
  height: 450px;
  object-position: center;
}

article.short-story::after {
  border-top: 1px solid gray;
  display: block;
  width: 90%;
  background: #808080;
  border-right: 1px white;
  content: '';
  text-align: center;
  margin: 5em auto 0em;
}

article.location-reps::after {
  border-top: 0px solid gray !important;
  margin: 0px;
}

article.long-story::after {
  border-top: 1px solid gray;
  display: block;
  width: 90%;
  background: #808080;
  border-right: 1px white;
  content: '';
  text-align: center;
  margin: 5em auto 0em;
}

article.featured-article+article.regular-article:before {
  border-top: 1px solid gray;
  display: block;
  width: 90%;
  border-right: 1px solid white;
  content: '';
  text-align: center;
  /*margin: 0em auto 7vw;*/
  padding-bottom: 4em;
}

#towne-family-news>article:nth-child(1)::before {
  border-top: 0px solid white;
}

@media (max-width: 768px) {
  .long-story h4 {
    padding: 0.5em 0.5em 0.5em 0em;
    line-height: 140%;
  }

  .section-title {
    padding-bottom: 10px !important;
    padding-top: 0;
  }

  section {
    margin-bottom: 2em;
  }

  h1.long-story {
    font-size: 2.5em;
    font-weight: 800;
    color: #002147;
    line-height: 1;
    margin-bottom: 0.1em !important;
  }

  h1.long-story+h2 {
    color: #002147;
    font-weight: 400;
    margin: 0.25em 0 1em !important;
    font-size: 1.5em;
    line-height: 1.2;
  }
}

@media (max-width:728px) {
  .short-story-img {
    margin-bottom: 0em;
  }

  article.featured-article+article.regular-article:before {
    padding-bottom: 1em;
  }

  .short-story-img {
    padding: 0;
  }

  article.long-story::before,
  article.short-story::before {
    margin: 0 auto 2em;
  }

  .portrait-img-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    flex-basis: 100%;
    flex-direction: column;
    margin: 0 !important;
    height: fit-content;
  }

  figure.portrait-img-container img {
    height: 100% !important;
    max-height: 100% !important;
    width: auto;
  }

  figure.float-lg-right img {
    max-height: 400px !important;
  }

  article.location-reps {
    padding: 2em 0 !important;
  }

  main#main-lfc {
    margin-top: 6em;
  }

  section#hero+main#main {
    margin-top: 0;
  }

  /* #towne-family-news>article:nth-child(1)::before {
    border-top: 0px solid white;
    margin: 0;
  } */

  .long-story-img.portrait-img-container {
    height: 100%;
    max-height: 400px;
    min-height: 200px;
    justify-content: start;
    padding: 0;
  }

  .header-profile-img {
    display: flex;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 400;
  font-size: 1.4em;
  margin-top: 1em;
}

.about .content ul {
  list-style: circle;
  padding: 0;
  margin: 0.5em 0 1em;
}

.art-body ol li {
  margin: 1em 0 0.45em 0em;
  padding: 0 0 0 0.5em;
}

.about .content ul li {
  padding-left: 1em;
  position: relative;
  margin: 0 0 0 2em;
}

.about .content ul li+li {
  margin-top: 0.25em;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #002a52;
  line-height: 1;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .btn-learn-more {
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 5px;
  transition: 0.3s;
  line-height: 1;
  color: #002a52;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  margin-top: 6px;
  border: 2px solid #002a52;
}

.about .content .btn-learn-more:hover {
  background: #002a52;
  color: #fff;
  text-decoration: none;
}

img.letter-from-prez {
  width: 100%;
  height: auto;
  float: right;
}

.image-container {
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .image-container {
    overflow: hidden;
    width: 80%;
    margin: 4em 4em 0 6em;
  }
}

@media (min-width: 768px) {
  .image-container {
    overflow: hidden;
    width: 80%;
    margin: 2.35em 5em 0 8vw;
  }
}

@media (max-width: 992px) {
  .col-lg-6.align-items-stretch.video-box.order-2.why-us {
    height: 403px !important;
  }

    .long-story-img>img {
      height: 300px !important;
    }

    .hero-fig-img-container>img {
      height: 300px !important;
      object-fit: cover !important;
    }

    figure {
      width: auto !important;
    }

    figure img {
      object-fit: contain !important;
    }

    .featured-article figure.figure img {
      height: 250px !important;
      object-fit: cover !important;
    }

    .featured-article figure.figure img.side-align-mobile {
      height: 342px !important;
      object-fit: contain !important;
    }

    .landscape-img-container img {
      height: 250px !important;
    }

    .banner-img img {
      height: 92px !important;
    }

}

@media (max-width: 768px) {
  .letter-from-prez {
    width: 100% !important;
    margin: 0 0 3em 0 !important;
    padding: 0px;
  }
}

/*--------------------------------------------------------------
# Featureted Articles
--------------------------------------------------------------*/
.feature-hero-img {
  height: 700px;
  width: 100%;
  margin-bottom: 3em;
  text-align: center;
  vertical-align: middle;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
}

#central-nc-feature-a .feature-hero-img {
  background: url(../img/slide/slide-1.jpg), #002147;
}

#central-nc-feature-b .feature-hero-img {
  background: url(../img/Design-Works-interior-shot.jpg), #002147;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.fa-b .feature-hero-img {
  height: 500px;
}

.fa-b {
  background: #f4f1ed;
}

.fa-b h1.article-header {
  font-size: 2.75em;
  color: #002147;
  font-weight: bold;
  font-family: 'Gelasio', "Montserrat", sans-serif;
}

.fa-b .lead-up {
  font-size: 1.05em;
}

/*--------------------------------------------------------------
# Featurettes
--------------------------------------------------------------*/
.featurette h1 {
  font-family: Gelasio;
  font-weight: 700;
  font-size: 2em;
}

div.table.donations {
  margin: 2em 0;
}

table.table {
  border: 1px solid #001247;
  font-size: .75em;
}

.table-label {
  color: #ffffff;
  background: #001247;
  font-size: 1.25em;
  font-weight: 600;
  text-align: center;
  padding: .25em;
}

table.table td,
table.table th {
  padding: 0.2rem 1em;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  text-align: center;
}

table.table td {
  vertical-align: middle;
}

table.table td p {
  text-align: center;
}

table.table th.header-row:last-of-type {
  border-right-style: solid;
  border-right-width: 2pt;
  border-right-color: #434968;
}

.top-header-row {
  color: #ffffff;
  background: #001247;
  font-size: 1.25em;
  font-weight: 600;
  text-align: center;
  padding: .25em;
}

p.s109 {
  line-height: 1.35;
}

#hidden-text {
  display: none;
}

.rm-btn {
  background-color: #18d26e;
}

.rm-btn:hover {
  background-color: #136b3c;
}

.event-cards {
  max-height: 100px;
}

/*--------------------------------------------------------------
# Associate Featurette Cards
--------------------------------------------------------------*/
.associate-featurette {
  margin-bottom: 4em;
}

.sub-section-label {
  border-bottom: 1px solid #001247;
  margin-bottom: 4em;
  padding-bottom: .5em;
}

.card {
  border-radius: 0.7rem;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.7rem - 1px);
  border-top-right-radius: calc(0.7rem - 1px);
}

.feat-label {
  background: #002147;
  width: 100%;
  padding: .25em;
  text-align: center;
  font-size: .85em;
  color: #ffffff;
  margin-bottom: 2em;
}

.card-img-container {
  height: 300px;
}

.card-lg-title {
  font-size: 1.5em;
}

.associate-featurette .card-body h1 {}

.layout-title.card-title {
  font-size: 1.35em;
}

.modal-content button {
  width: 5em;
}

.modal .social.mb-2.d-flex {
  margin: 0;
  padding: 0 0 2em;
}

/* wealth management */
.fl-twm {
  background: #64765c;
}

/* insurance */
.fl-ti {
  background: #002147;
}

/* commercial mortgage */
.fl-tcm {
  background: #2b63a6;
}

/* benefits */
.fl-tbb {
  background: #2b63a6;
}

/*--------------------------------------------------------------
# Associate Promotions Listings
--------------------------------------------------------------*/
article#art-assc-promo-list {
  background: #f8eed6;
  color: #002147;
}

#art-assc-promo-list ul li {
  padding: .1em .2em;
  font-weight: 900;
  margin: 0 0 0 1.5em;
}

#art-assc-promo-list ul li span {
  padding: 0;
  font-weight: 400;
}

ul.promo-lists {
  margin: 0px;
  padding: 0px;
}

#art-assc-promo-list ul li.location-section-label {
  color: #ffffff;
  background: #002147;
  text-transform: uppercase;
  padding: .25em .25em .25em 1.25em;
  list-style: none;
  margin: 0px 0px 1.5em;
}

@media (max-width: 768px) {
  .associate-featurette {
    padding: 3em;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding-top: 0;
}

.counts .count-box {
  box-shadow: -10px -5px 40px 0 rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
}

.counts .count-box i {
  display: block;
  font-size: 30px;
  color: #002a52;
  float: left;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: #002a52;
  margin-left: 50px;
}

.counts .count-box p {
  padding: 30px 0 0 0;
  margin: 0;
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
  font-size: 14px;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #164682;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #2169c4;
}

h1.section-header.chairman {
  color: #002a52;
  text-align: center;
  font-weight: 650;
  margin-bottom: 0px !important;
}

#chairman h2 {
  color: #8fa3bb;
  text-align: center;
  margin-bottom: .3em;
  font-weight: 650;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us .content {
  padding: 30px 100px 0 100px;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
  color: #002a52;
  margin-bottom: .65em;
}

.why-us .content h4 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
}

.why-us .content p {
  font-size: 15px;
  color: #262626;
}

.why-us .video-box {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 400px;
  position: relative;
}

.why-us .accordion-list {
  padding: 0 100px 60px 100px;
}

.why-us .accordion-list ul {
  padding: 0;
  list-style: none;
}

.why-us .accordion-list li+li {
  margin-top: 15px;
}

.why-us .accordion-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
}

.why-us .accordion-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding-right: 30px;
  outline: none;
  color: #002a52;
}

.why-us .accordion-list span {
  color: #002a52;
  font-weight: 600;
  font-size: 18px;
  padding-right: 10px;
}

.why-us .accordion-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.why-us .accordion-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.why-us .accordion-list .icon-show {
  display: none;
}

.why-us .accordion-list a.collapsed {
  color: #002a52;
}

.why-us .accordion-list a.collapsed:hover {
  color: #002a52;
}

.why-us .accordion-list a.collapsed .icon-show {
  display: inline-block;
}

.why-us .accordion-list a.collapsed .icon-close {
  display: none;
}

.why-us .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#002a52 50%, rgba(0, 66, 103, .5) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.why-us .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.aaddff {
  border: none;
  padding: 8px;
  font-size: 20px;
  background: linear-gradient(141deg, #0fb8ad 0%, #1fc8db 51%, #2cb5e8 75%);
  color: white;
  font-family: cursive;
  box-sizing: border-box;
}

.why-us .play-btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(0, 66, 103, .5);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.why-us .play-btn:hover::after {
  border-left: 15px solid #002a52;
  transform: scale(20);
}

.why-us .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

@media (max-width: 1024px) {

  .why-us .content,
  .why-us .accordion-list {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .why-us .content {
    padding-top: 30px;
  }

  .why-us .accordion-list {
    padding-bottom: 30px;
  }
}

@-webkit-keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  background: #fefefe;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #002a52;
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
  position: relative;
  z-index: 2;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: '';
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: #f9c6bb;
  border-radius: 5px;
  transition: all .3s ease-out 0s;
  transform: translateZ(-1px);
  z-index: 1;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #002a52;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  background: #002a52;
  border-color: #002a52;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #002a52;
}

.services .icon-box:hover .icon::before {
  background: #f1775d;
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 0px;
  text-align: center;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 1em;
  margin: 30px 15px;
  min-height: 200px;
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.3); 
  box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.3);
  position: relative;
  background: #fff;
  display:inline-block;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #fdedea;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .owl-nav,
.testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.testimonials .owl-dot.active {
  background-color: #002a52 !important;
}

section#testimonials>div {
  padding-bottom: 3em;
}

.social-follow {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.social-follow .section-title,
.social-follow .social {
  margin-bottom: 0 !important;
}

#testimonials .share-label {
  width: 100%;
}

#testimonials .social.mb-2.d-flex {
  flex-wrap: wrap;
}

.testimonials p {
  line-height: 1.05;
}

.testimonial-item>iframe {
  border: none;
  overflow: hidden;
  width: 100% !important;
  height: 500px !important;
}

@media (max-width: 992px) {
  .social.mb-2.mb-sm-5.d-flex>div {
    padding-left: 0;
    margin-left: 0;
  }

  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    margin: 0 auto;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }

  .owl-dots {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-80%, -100%);
    margin: 1em !important;
  }

  .owl-stage-outer {
    padding-top: 4em;
    padding-bottom: 1vw;
  }

  .testimonial-item>div:first-of-type {
    text-align: center;
  }

  .testimonials .testimonial-item {
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.3); 
box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.3);
  }

  #testimonials .social.mb-2.d-flex {
    flex-wrap: unset;
}

}



/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
section#cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.cta {
  background-size: cover;
}

.cta {
  padding: 80px 0;
  background: #002a52;
  height: 300px;
}

.cta>div>div.text-center {
  text-shadow: 0px 2px 20px rgba(0, 0, 0, 0.8);
}

#cta {
  /* The image used */
  background-image: url("img_parallax.jpg");
  /* Set a specific height */
  min-height: 600px;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cta h3 {
  color: #fff;
  font-size: 2.5em;
  font-weight: 700;
}

.cta p {
  color: #fff;
  font-size: 1.5em;
  padding: 0 13%;
}

.cta .cta-btn {
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 35px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #002a52;
  color: #fff;
}

.cta .cta-btn:hover {
  background: #002a52;
  border: 2px solid #002a52;
}

.tooltiptext {
  opacity: 0;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 7px;
  transition: opacity 1s;
  width: 100vw;
  position: absolute;
  left: 50%;
  margin-left: -50vw;
  top: 60px;
  z-index: 1;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  z-index: 1;
}

@media (min-width: 768px) {
  .brand-logo-container a.logo:hover .tooltiptext {
    opacity: .5;
  }
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio {
  background-color: #002a52;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #002a52;
}

.portfolio #portfolio-flters li:hover {
  color: #002a52;
  background-color: rgba(300, 300, 300, .5);
}

.portfolio #portfolio-flters li.filter-active {
  color: #ffffff;
  background-color: rgba(300, 300, 300, .15);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h2 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #002a52;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #1a5298;
  font-size: 14px;
  margin-bottom: 0;
  max-width: 80%;
  line-height: 1.2;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #002a52;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #002a52;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 0px;
}

.portfolio .portfolio-item .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-item .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-links a:hover {
  color: #f59f8c;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

.portfolio h1 {
  color: #c1ab67;
  text-align: center;
  margin-bottom: .3em;
  font-weight: 650;
}

.portfolio .portfolio-info h2 {
  margin-top: 0;
}

.article-buttons {
  position: relative;
  bottom: 9px;
}

#portfolio li.label,
#portfolio li.label:hover,
#portfolio li.label:focus,
#portfolio li.label:active {
  font-weight: 400;
  cursor: unset;
  background-color: transparent;
  color: #ffffffbe;
  text-transform: unset;
  font-size: 1em !important;
  letter-spacing: 1.2;
}

/*--------------------------------------------------------------
# location-reps
--------------------------------------------------------------*/
.location-reps {
  background: #f4f1ed;
  padding: 8em 0 6em;
  margin-bottom: 6em;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  margin-bottom: 20px;
  background: #343a40;
  position: relative;
  overflow: hidden;
}

.team .member .member-info {
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
}

.team .member .member-info-content {
  position: absolute;
  left: 50px;
  right: 0;
  bottom: 0;
  transition: bottom 0.4s;
}

.team .member .member-info-content h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: #fff;
}

.team .member .member-info-content span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

.team .member .social {
  position: absolute;
  left: -50px;
  top: 0;
  bottom: 0;
  width: 50px;
  transition: left ease-in-out 0.3s;
  background: rgba(11, 35, 65, 0.5);
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  display: block;
  color: #fff;
  margin-top: 15px;
}

.team .member .social a:hover {
  color: #002a52;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.social-links {
  display: flex !important;
  list-style: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 2px 5px !important;
}

.social-links li {
  padding: 0.75em !important;
  margin: 0 auto !important;
}

.social-links li:hover {
  cursor: pointer;
}

.team .member:hover .member-info {
  background: linear-gradient(0deg, rgba(11, 35, 65, 0.9) 0%, rgba(11, 35, 65, 0.8) 20%, rgba(0, 212, 255, 0) 100%);
  opacity: 1;
  transition: 0.4s;
}

.team .member:hover .member-info-content {
  bottom: 30px;
  transition: bottom 0.4s;
}

.team .member:hover .social {
  left: 0;
  transition: left ease-in-out 0.3s;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .row {
  padding-top: 40px;
}

.pricing .box {
  padding: 80px 40px;
  margin-bottom: 30px;
  box-shadow: 0px 5px 90px 0px rgba(110, 123, 131, 0.1);
  background: #fff;
  text-align: center;
}

.pricing h3 {
  font-weight: 300;
  margin-bottom: 15px;
  font-size: 28px;
}

.pricing h4 {
  font-size: 46px;
  color: #002a52;
  font-weight: 400;
  font-family: 'Red Hat Display', "Nunito", sans-serif;
  margin-bottom: 25px;
}

.pricing h4 span {
  color: #bababa;
  font-size: 18px;
  display: block;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #999;
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding-bottom: 12px;
}

.pricing ul i {
  color: #002a52;
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na {
  color: #ccc;
}

.pricing ul .na i {
  color: #ccc;
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .get-started-btn {
  display: inline-block;
  padding: 10px 40px 11px 40px;
  border-radius: 4px;
  color: #002a52;
  transition: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid #002a52;
  background: #fff;
}

.pricing .get-started-btn:hover {
  background: #002a52;
  color: #fff;
}

.pricing .featured {
  z-index: 10;
  padding: 100px 40px;
  border: 4px solid #002a52;
}

.pricing .featured .get-started-btn {
  background: #002a52;
  color: #fff;
  border-color: #002a52;
}

.pricing .featured .get-started-btn:hover {
  background: #ef6445;
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Social Sharing
--------------------------------------------------------------*/

html#facebook button {
  background: #002a52 !important;
}

div.social>div {
  margin: 0 0.25em;
}

.social-share {
  background: transparent;
  border-radius: 3px;
  padding: 5px;
  display: inline-block;
  position: static !important;
  line-height: 1 !important;
  font-size: 1em !important;
}

.social-share:hover {
  cursor: pointer;
  background: #d4d4d4;
  padding: 5px;
  position: static !important;
  line-height: 1 !important;
}

.copyurl_label {
  margin-left: 1em;
  font-weight: 500;
}

.share-label {
  padding: 5px;
}

div.social i {
  color: #002a52;
}

.fb-share-button svg {
  width: 18px;
  fill: white;
  vertical-align: middle;
  border-radius: 2px
}

.fb-share-button span {
  vertical-align: middle;
  color: white;
  font-size: 14px;
  padding: 0 3px
}




/* .fb_iframe_widget {
  max-width: 100% !important;
}

.fb_iframe_widget span {
  max-width: 100% !important;
} */

.fb_iframe_widget iframe, .fb_iframe_widget span, .fb_iframe_widget {
  min-width: 100% !important;
}








span.share-label {
  padding-left: 0;
}

.social-follow .social > div {
  background: transparent;
  border-radius: 3px;
  padding: 5px;
  display: inline-block;
  position: static !important;
  line-height: 1 !important;
  font-size: 1.65em !important;
}

.social-follow .social > div:hover {
  cursor: pointer;
  background: #d4d4d4;
  padding: 5px;
  position: static !important;
  line-height: 1 !important;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-item {
  margin: 20px 0;
  padding: 20px 0;
  border-bottom: 1px solid #e9f1fb;
}

.faq .faq-item i {
  color: #669ee5;
  font-size: 20px;
  float: left;
  line-height: 0;
  padding: 13px 0 0 0;
  margin: 0;
}

.faq .faq-item h4 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  margin: 0 0 10px 28px;
  font-family: "Poppins", sans-serif;
}

.faq .faq-item p {
  font-size: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #002a52;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  background: #fff;
}

.contact .info-box i {
  font-size: 32px;
  color: #002a52;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #fbdad2;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  background: #fff;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #002a52;
}

.contact .php-email-form input {
  padding: 20px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #002a52;
  border: 0;
  padding: 10px 30px;
  border-radius: 4px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #ef6445;
}

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

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #f6f9fd;
  min-height: 40px;
  margin-top: 82px;
}



.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 600;
  color: #002a52;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #002a52;
  content: "/";
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 74px;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav,
.portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #002a52 !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0 0 0 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    width: 100%;
  }

  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

@media (min-width: 992px) {
  .portfolio {
    height: fit-content;
    transition-property: height;
    transition-duration: 4s;
    transition-delay: 2s;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #002a52;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 15px;
  background: #05101e;
  border-top: 4px solid #002a52;
  text-align: center;
  padding: 30px 20px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: 'Red Hat Display', "Montserrat", sans-serif;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  background: #0a1e38;
}

#footer .footer-top .social-links a:hover {
  color: #fff;
  background: #002a52;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

.footer-link,
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-logos img {
  filter: invert(100%);
}

.footer-logos a {
  margin: 0 0.75em;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ef6445;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #ef6445;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px 2px 20px;
  background: #002a52;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: #ef6445;
}

#footer .copyright {
  border-top: 1px solid #002a52;
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

@media (min-width: 1200px) {
  #footer>div>div>div>div:nth-child(2)>nav>ul>li:nth-child(1) {
    padding: 10px 0 10px 10px;
  }
}

@media (max-width: 575px) {
  #footer .footer-top .footer-info {
    margin: -20px 0 30px 0;
  }
}

.footer-copyR {
  float: none;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 575px) {
  .footer-copyR {
    float: right;
    text-align: left;
  }
}

/* Adjustment for sticky header when arriving via anchored link */
article[id]::before {
  content: '';
  position: relative;
  display: block;
  height: 150px;
  margin-top: -150px;
  visibility: hidden;
}
