/*
Theme Name: 0538 Franklin Bank Trust V2
Theme URI: http://csibankanytime.com/
Author: CSI ( Sera Bargas, Bri Grimsley )
Description: Design Pro 3 CSI Banking Theme
Version: 2.8.0
Text Domain: design-pro-3
*/
/* TYPOGRAPHY
-------------------------------------------------------------------------------------- */
:root {
  --primary-color: #002E54;
  --secondary-color: #B00314;

  --border-radius: 20px;
  --primary-font: 'Inter';
  --secondary-font: 'Gupter';
}
body,
html {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--secondary-font);
  color: var(--primary-color);
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 3.125rem;
}

h3 {
  font-size: 2.75rem;
}

h4 {
  font-size: 2.375rem;
}

h5 {
  font-size: 1.875rem;
}

h6 {
  font-size: 1.5rem;
}

p,
ul,
dl,
ol {
  color: #000911;
  font-family: var(--primary-font);
}

.lead {
  font-size: 1.125rem;
}
section.white .text-muted {
  color: #6A6F71 !important;
}
.standard-section.blue .text-muted {
  color: white !important;
}

/* BUTTONS AND LINKS
Before Changing any Hover/Focus behavior, ensure the new behavior still complies with
ADA requirements (at least 3.0 contrast change or underline change)
-------------------------------------------------------------------------------------- */
a {
  color: var(--secondary-color);
  font-weight: 700;
}
a:hover, a:focus {
  color: var(--secondary-color);
  text-decoration: underline;
}

.csi-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 40px;
  padding: .625rem 3rem;
  font-family: var(--primary-font);
  display: inline-block;
}

.csi-btn:hover, .csi-btn:focus {
  background: var(--primary-color);
  color: white;
}

/* GENERAL STYLES
-------------------------------------------------------------------------------------- */
.csi-container1400 {
  max-width: 1400px;
  margin: auto;
  width: 100%;
}
.csi-container1600 {
  max-width: 1600px;
  margin: auto;
}
hr {
  height: 2px;
  background: var(--secondary-color);
}
section.blue, section.gray {
  background: var(--primary-color);
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  position: relative;
  right: 50%;
  width: 100vw;
}
.standard-section.blue h1, .standard-section.blue h2, .standard-section.blue h3, .standard-section.blue h4, .standard-section.blue h5, .standard-section.blue h6, .standard-section.blue p, .standard-section.blue ul, .standard-section.blue li, .standard-section.blue a, .standard-section.blue ol, .tabs.blue h1, .tabs.blue h2, .tabs.blue h3, .tabs.blue h4, .tabs.blue h5, .tabs.blue h6, .tabs.blue p, .tabs.blue ul, .tabs.blue li, .tabs.blue a, .tabs.blue ol {
  color: white;
}
section.blue > *, section.gray > * {
  max-width: 1400px;
  margin: auto;
}
section.blue .nav-tabs .nav-item.show .nav-link, section.blue .nav-tabs .nav-link.active {
  background: transparent;
  color: white !important;
  border-color: white !important;
}
section.blue .nav-tabs {
  border-color: white !important;
}
.standard-section h2 {
  font-size: 3.5rem;
}
.standard-section.gray {
  background: #F6F6F6;
}
section .csi-btn {
  margin-bottom: .5rem;
}

/* HOME PAGE
-------------------------------------------------------------------------------------- */
.csi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#csiMenuWrapper .csi-Menu-inner .toggle, #csiMenuWrapper-secondary .csi-Menu-inner .toggle {
  padding: 0;
}
.csi-btn.signup-btn, .csi-ib a.trust-btn {
  white-space: nowrap;
  background: var(--primary-color);
}
.csi-ib a.trust-btn {
  margin-top: .5rem;
  border-radius: 40px;
  border: 1px solid var(--primary-color);
  padding: .5rem 3rem;
}
.csi-btn.signup-btn:hover, .csi-btn.signup-btn:focus {
  background: var(--secondary-color);
}
#csiMenuWrapper .toggle-inner .toggle-text, #csiMenuWrapper-secondary .toggle-inner .toggle-text {
  color: white;
}
#csiMenuWrapper .nav-toggle svg, #csiMenuWrapper-secondary .nav-toggle svg {
  fill: white;
}
#csiMenuWrapper .menu-modal-inner, #csiMenuWrapper-secondary .menu-modal-inner {
  background: var(--primary-color);
}
#csiMenuWrapper .primary-menu .icon, #csiMenuWrapper-secondary .primary-menu .icon {
  color: white;
}

/* SECTION ONE */
.section-one {
  margin-block: 6rem;
}
.section-one .content-wrapper {
  box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.15);
  padding: 5rem 7rem;
  border-radius: 40px;
}
.section-one h2 {
  font-size: 4.125rem;
}
.section-one iframe, .section-one img {
  border-radius: 20px;
  border: none;
}

/* SECTION TWO */
.section-two {
  background: var(--primary-color);
  padding-block: 6.25rem;
}
.section-two h3 {
   color: white;
}
.section-two .card-wrapper {
  min-height: 400px;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}
.section-two .card-wrapper:hover .hidden-content, .section-two .card-wrapper:focus .hidden-content {
  transform: translateY(0); 
}
.section-two .card-wrapper:hover:before, .section-two .card-wrapper:focus:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 81.25%);
}
.section-two .card-wrapper h4 {
  color: white;
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-inline: 1rem;
  justify-content: center;
}
.card-wrapper .card-content {
  height: 100%;
  padding: 1rem;
}
.section-two .card-wrapper:hover .front-title, .section-two .card-wrapper:focus .front-title {
  display: none;
}
.section-two .card-wrapper:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.75) 81.25%);
  content: "";
  border-radius: 20px;
}
.hidden-content {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out; 
  z-index: 2; 
}
.hidden-content p {
  color: white;
}
.section-two .half-width > *:nth-last-child(-n+2) {
  flex: 0 0 50%;
  max-width: 50%;
}
.section-two .full-width .col-lg-4:last-child {
  flex: 0 0 100%;
  max-width: 100%;
}

/* SECTION-THREE */
.section-three {
  margin-block: 6.25rem;
}
#imageCarousel .carousel-item {
  min-height: 500px;
  border-radius: 20px;
  display: flex;
  align-items: flex-end;
}
#imageCarousel .carousel-item .carousel-text {
  background: rgba(255, 255, 255, 0.80);
  border-radius: 20px;
  padding: 1rem;
  margin: 1rem;
}
.section-three h2 {
  font-size: 3.5rem;
}
.section-three .content {
  padding-right: 3rem;
  line-height: 27px
}
#imageCarousel .carousel-indicators {
  position: relative;
  margin-top: 1rem;
}
#imageCarousel .carousel-indicators li {
  width: 15px;
  height: 15px;
  border-radius: 100px;
  margin-right: 10px;
  transition: all .2s ease-in-out;
  background-color: var(--primary-color);
  border: none;
}
.section-three hr {
  margin-block: 4rem;
}
/* SECTION FOUR */
.section-four {
  margin-bottom: 6.25rem;
}
/* SECTION FIVE */
.section-five {
  background: var(--primary-color);
  padding-block: 6.25rem;
}
.section-five h3 {
  color: white;
  text-align: center;
}
#testimonialCarousel .carousel-indicators li {
  width: 15px;
  height: 15px;
  border-radius: 100px;
  margin-right: 10px;
  transition: all .2s ease-in-out;
  border: none;
}
#testimonialCarousel .carousel-item {
  flex: 0 0 25%;
  display: block;
  opacity: 1;
  padding-inline: .375rem;
  margin: 0;
}
#testimonialCarousel .content-wrapper {
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: #000911;
}
#testimonialCarousel .carousel-item p {
  color: white;
}
#testimonialCarousel .carousel-inner {
  display: flex;
} 
#testimonialCarousel .carousel-indicators {
  position: relative;
  margin-top: 3rem;
}
/* SECTION-SIX */
.section-six {
  margin-block: 6.25rem;
}

/* FOOTER */
.footer-banner {
  margin-top: 6.25rem;
}
.footer-banner-wrapper {
  border-radius: 20px;
  position: relative;
  padding: 3rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.footer-banner-wrapper:before {
  content: "";
  border-radius: 20px;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.70) 70.91%);
}
.footer-banner-wrapper h2, .footer-banner-wrapper p, .footer-banner-wrapper a {
  position: relative;
}
.footer-banner-wrapper h2, .footer-banner-wrapper p {
  color: white;
}
footer {
  background: var(--primary-color);
  text-align: unset;
  padding-bottom: 1%;
  margin-top: 6.25rem;
}
footer hr {
  height: 1px;
  background: white;
  border: none;
  margin-bottom: 3rem;
}
footer .social-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
footer .copyright p {
  margin-bottom: 0;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  color: white;
}

/* DESIGN ELEMENTS */
section.white .csi-defaultAccordion a, section.white .inside-panel-group>.panel>a {
  background: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
}
section.blue .csi-defaultAccordion a, section.blue .inside-panel-group>.panel>a {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  border-radius: 8px;
}
.csi-defaultAccordion .head h5 {
  color: white;
}
.csi-defaultAccordion a h5, .inside-panel-group>.panel>a h5 {
  color: white !important;
  font-size: 1.688rem;
  font-weight: 400;
  margin-bottom: 0;
}
section.white .csi-defaultAccordion a:hover, section.white .csi-defaultAccordion a:focus, section.white .inside-panel-group>.panel>a:hover, section.white .inside-panel-group>.panel>a:focus {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}
section.blue .csi-defaultAccordion a:hover, section.blue .csi-defaultAccordion a:focus, section.blue .inside-panel-group>.panel>a:hover, section.blue .inside-panel-group>.panel>a:focus {
  background: transparent;
}
.panel-default a[aria-expanded="true"] span.icon-open-close::before, .panel-default a[aria-expanded="true"] .panel-heading::before {
  float: right !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f068";
  padding-right: 5px;
  font-size: 2rem;
  font-style: normal;
}
.panel-default a span.icon-open-close::before, .panel-default a .panel-heading::before {
  float: right !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f067";
  padding-right: 5px;
  color: white;
  font-size: 1.75rem;
  font-style: normal;
  background: none;
}
.panel-default a .panel-heading::after, .csi-defaultAccordion .icon-open-close:after {
  background: none;
  transform: none;
}
.csi-defaultAccordion a {
  padding-bottom: 1.25rem !important;
}
.csi-defaultAccordion a, .inside-panel-group>.panel>a {
  padding: 15px 25px 15px;
  margin-bottom: 0;
}
.csi-defaultAccordion a[aria-expanded=true], .inside-panel-group>.panel>a[aria-expanded=true] {
  border-bottom: 0 none transparent;
  border-radius: 8px 8px 0px 0px !important;
}
.csi-defaultAccordion .panel-body {
  border-radius: 0 0 8px 8px;
}
.csi-defaultAccordion, .inside-panel-group {
  box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.inside-panel-collapse .panel-body, .csi-defaultAccordion .panel-body {
  border: none;
  padding: 2rem
}
section.white .csi-productAccordion .csi-btn2 {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
section.white .csi-productAccordion .csi-btn2:hover, section.white .csi-productAccordion .csi-btn2:focus {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}
.csi-productAccordion .panel-body, .csi-productAccordion .panel-heading {
  border-radius: 8px;
}
.csi-productAccordion {
  border: none;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: white;
  margin-bottom: 1rem;
}
.productAccordionImage {
  max-width: 140px;
  display: flex;
  object-fit: contain;
}
.csi-productAccordion .col-xl-3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.csi-productAccordion .col-xl-3 .csi-btn {
  margin-bottom: 0;
}
.panel-body {
  background: white;
}
.panel-body p, .panel-body li, .panel-body h1, .panel-body h2, .panel-body h3, .panel-body h4, .panel-body h5, .panel-body h6 {
  color: black !important;
}
.csi-defaultAccordion .panel-body a:not(.inside-panel-group .panel > a) {
  background: none;
}
section.white .csi-productAccordion .panel-body {
  border-top: 1px solid var(--primary-color);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.csi-productAccordion .panel-title {
  font-size: 1.875rem;
}
.csi-productAccordion .panel-teaser p {
  font-size: 1.125rem;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  border: none;
  border-bottom: 4px solid var(--primary-color);
  color: var(--primary-color);
}
.nav-tabs {
  border-bottom: 1px solid var(--primary-color);
}
.tab-pane {
  border: none;
  padding: 1.75rem;
}
.nav-tabs .nav-link {
  font-size: 1.25rem;
  color: #507695;
  padding-right: 2rem;
}
table {
  border-collapse: separate;
  border-spacing: 0 0.5rem;
}
.table thead th, .table td, .table th {
  border: none;
}
table thead th {
  text-align: center;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.125rem;
}
table td {
  font-size: 1.125rem;
  font-weight: 400;
}
table tbody tr:nth-of-type(odd) {
  background: #F6F6F6;
}
tr td:first-child {
  border-radius: 8px 0 0 8px;
  text-align: left;
}
tr td:last-child {
  border-radius: 0 8px 8px 0;
} 
.table td, .table th {
  padding: 1.25rem;
  text-align: center;
  vertical-align: middle;
}
.table td ul {
  text-align: left;
}
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6, .card p, .card ul, .card li, .card a, .card ol {
  color: unset !important;
}
.card-deck {
  display: unset;
  margin-inline: unset;
  padding-inline: .5rem;
}
.card-deck .card {
  margin-inline: 0;
  border-radius: 20px;
  border: none;
  box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.15);
  padding: 0 2rem;
  height: 100%;
}
.card-deck:nth-child(odd) .card {
  border-top: 4px solid var(--secondary-color);
}
.card-deck:nth-child(even) .card {
  border-top: 4px solid var(--primary-color);
}
section.blue .card-deck .card {
  border-top: 4px solid var(--secondary-color)
}
.csi_cards .card-icon {
  margin: unset;
  padding: 2rem 1.25rem 0rem;
}
.csi_cards {
  text-align: left;
}
.csi_cards .card-body {
  margin-top: 0;
  padding-bottom: 2rem;
}
.csi_cards .card-body hr {
  height: 1px;
}
.csi_cards .card-body a, .csi_cards .card-body button, a.card-expander {
  background: white;
  color: black;
  border: 1px solid var(--secondary-color);
}
a.card-expander {
  max-width: fit-content;
}
.card-accordion {
  display: none;
}
.csi_cards .card-body a:hover, .csi_cards .card-body a:focus {
  background: var(--secondary-color);
  color: white !important;
}
.csi_cards .expanding-body {
    display: none;
}
iframe.video-embed {
  max-width: 950px;
  margin: auto;
  max-height: 530px;
  display: flex;
}
.split-content-row {
  box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding: 2.5rem 2rem;
}
.split-content-row .row {
  position: relative;
}
.split-content-row .row:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--secondary-color);
}
.split-content-row .row .col-md-6 {
  display: flex;
  flex-direction: column;
  padding-inline: 2rem;
}
.people-post img {
  min-height: 340px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.people-post p {
  margin-bottom: 0;
  font-size: 1.125rem;
}
#wpcf7-f100400-o1.wpcf7 form {
  background: white;
  box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.15);
  padding: 2.813rem;
  border-radius: 20px;
  margin-top: 0;
}
.wpcf7 form input[type="text"], .wpcf7 form input[type="email"], .wpcf7 form input[type="tel"], .wpcf7 form textarea {
  width: 100%;
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  height: 48px;
  padding-left: 1rem;
}
.wpcf7 form textarea {
  height: unset;
}
.wpcf7 form .form-col label {
  max-width: 50%;
}
.wpcf7 form .form-col p {
  display: flex;
  gap: .5rem;
}
.wpcf7 form label, .wpcf7 form select {
  width: 100%;
}
.wpcf7 form label {
  font-weight: 600;
  margin-bottom: .5rem;
}
.wpcf7 form select {
  height: 48px;
  border-radius: 20px;
}
.wpcf7 form input[type="submit"] {
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 20px;
  color: white;
  padding-block: .25rem;
  width: fit-content;
  padding-inline: 3rem;
}
.wpcf7 form label span {
  margin-top: .5rem;
}
.wpcf7 h4 {
  font-size: 2.25rem;
}
.acf-map {
  border: none;
}
.location-wrapper {
  margin-bottom: 3rem;
  padding: 1rem;
  background: white;
  box-shadow: 0 4px 36px 0 rgba(0, 0, 0, 0.15);
  border-radius: 20px;
}
.location-wrapper h3 {
  font-size: 2rem;
}
.location-wrapper i.fa-solid.fa-location-dot {
  font-size: 2rem;
  color: var(--secondary-color);
}
.video-content {
  background: var(--primary-color);
  padding: 2rem 1.75rem;
  z-index: 2;
  position: relative;
  max-width: 415px;
  margin: auto;
  margin-bottom: 2rem;
  border-radius: 8px;
}
.video-content h5 {
  color: white !important;
}
.video-wrapper {
  max-width: 90%;
  z-index: 2;
  position: relative;
  box-shadow: 2px 2px 19px 0 rgba(0, 12, 27, 0.20);
}
.video-content .csi-btn, .video-content .csi-btn {
  border: 2px solid var(--secondary-color);
}
.video-modal .modal-dismiss {
  background: none;
  border: none;
  text-align: right;
  padding-top: 1rem;
  padding-right: 1rem;
}
.video-modal .modal-header h5 {
  width: 100%;
}
.video-modal iframe {
  min-height: 400px;
}
.section-three .link-wrapper a {
  margin-bottom: .5rem;
  max-width: fit-content;
}

.ui-dialog.ui-widget-content {
  background: white;
  text-align: center;
  margin-inline: 3rem;
  padding: 50px 75px 20px;
  right: 0;
  margin-inline: auto;
  max-width: 1000px;
  width: 90%;
  border-radius: 0;
}
.ui-dialog.ui-widget-content .ui-dialog-content h6, .ui-dialog.ui-widget-content .ui-dialog-content p {
  color: var(--text-color);
}
.ui-dialog-buttonset button:first-child, .ui-dialog-buttonset button:first-child:focus, .ui-dialog-buttonset button:first-child:hover {
  background: var(--secondary-color);
  padding-inline: 3rem;
  text-transform: uppercase;
  border-color: var(--secondary-color);
  border-radius: 0;
  color: white;
}
.ui-dialog .ui-dialog-buttonpane button {
  font-size: 1.125rem;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ui-dialog-buttonset button:nth-child(2) {
  background: none;
  color: var(--primary-color);
  border: none;
}
.ui-dialog .ui-dialog-buttonpane button {
  font-size: 1.125rem;
}
.ui-dialog.ui-widget-content .ui-dialog-content h2, .ui-dialog.ui-widget-content .ui-dialog-content p {
  color: var(--primary-color);
}
.page-template-page-privacy-policy-php .table td, .page-template-page-privacy-policy-php .table th {
  text-align: left;
}
.csi_cards .card-body a:hover, .csi_cards .card-body button:hover, .csi_cards .card-body a:focus, .csi_cards .card-body button:focus, a.card-expander:hover, a.card-expander:focus {
  background: var(--secondary-color);
  color: white;
}
.csi_cards a.card-expander:hover, .csi_cards a.card-expander:focus {
  color: white !important;
  text-decoration: none;
  font-weight: 400;
}
.wpcf7 form input[type="submit"]:hover, .wpcf7 form input[type="submit"]:focus {
  background: white;
  color: var(--secondary-color);
}
