/*
Theme Name: 0857 Security Bank of the Ozarks
Theme URI: http://csibankanytime.com/
Author: CSI ( CSI Designer Name, CSI Developer Name )
Description: Design Pro 3 CSI Banking Theme
Version: 2.9.0
Text Domain: design-pro-3
*/

/* ROOT VARIABLES
-------------------------------------------------------------------------------------- */

:root {
  --primary-color: #A80000;
  --secondary-color: #6D6D6D;
  --tertiary-color: #000;
  --primary-font: "Playfair Display", serif;
}

/* TYPOGRAPHY
-------------------------------------------------------------------------------------- */
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 {
  font-family: "Playfair Display", serif;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.5;
}

h1 {
  font-size: 56px;
  font-weight: 700;
}
h2 {
  font-size: 40px;
  font-weight: 700;
}
h3 {
  font-size: 32px;
  font-weight: 700;
}
h4 {
  font-size: 26px;
  font-weight: 700;
}
h5 {
  font-size: 20px;
  font-weight: 700;
}
h6 {
  font-size: 18px;
  font-weight: 700;
}

.panel-title h5 {
  font-family: "Open Sans", sans-serif;
}

.carousel-caption h1 {
  color: white !important;
}

p,
ul,
dl,
ol {
  color: #000;
}

ul li::marker {
  color: var(--primary-color);
}

/* 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: #000;
  text-decoration: underline;
  font-weight: 600;
}
a:hover, a:focus {
  color: var(--secondary-color);
  text-decoration: none;
}

.csi-ib .form-control {
  color: white;
}

.carousel-caption .btn-primary {
  background-color: var(--secondary-color, #536D79);
  border-color: var(--secondary-color, #536D79);
  color: white;
}

.carousel-caption .btn-primary:focus,
.carousel-caption .btn-primary:hover {
  background-color: var(--primary-color, #536D79);
  border-color: var(--primary-color, #536D79);
  color: white;
}

.csi-btn {
  color: #fff;
  text-decoration: none;
  height: 54px;
  padding: 13px 34px;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  border-radius: 50px;
}
.csi-btn:focus,
.csi-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.csi-learnMoreBtn {
  margin: -25px auto 40px auto;
  text-decoration: none;
  width: 30%;
  border-radius: 0 0 8px 8px !important;
  background-color: var(--primary-color, #536D79);
  border-color: var(--primary-color, #536D79);
}
.csi-learnMoreBtn:focus,
.csi-learnMoreBtn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.accordion .csi-learnMoreBtn::after {
  content: " \25BC";
  font-size: 1em;
  margin-left: 12px;
  display: inline-block;
  transform: rotate(0deg) scaleX(1.8);
  transition: transform 0.5s ease-in-out;
}

.csi-learnMoreBtn[aria-expanded=true]::after {
  transform: rotate(180deg) scaleX(1.5);
}

.csi-banner-10 .carousel-caption .btn-primary:hover,
.csi-banner-10 .carousel-caption .btn-primary:focus {
  color: var(--primary-color)
}

/* HERO STYLES
-------------------------------------------------------------------------------------- */

.csi-banner-10 {
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-color) 60%, #FFFFFF 60%, #FFFFFF 100%);
}

body:not(.home) .csi-banner-10 .carousel-item {
  min-height: 594px !important;
}

body:not(.home) .csi-banner-10 .carousel-caption {
  display: block;
}

.csi-banner-10 .csi-ib .dropdown-menu {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
 
.fa-magnifying-glass:before, .fa-search:before {
  color: white;
}

.csi-banner-10 .search-form input::placeholder {
  color: white !important;
  font-style: italic;
}

.search-form {
  width: 250px;
}

.csi-banner-10 .search-form input[type=search] {
  color: white !important;
  padding: 0.25em 10px 0.25em 40px;
  position: relative;
  /* left: 40px; */
  width: 250px;
  border: none;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  background: transparent;
  z-index: 4;
  cursor: pointer;
  color: var(--gradient-overlay-text, #253137);
  width: 300px;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gradient-overlay-text, #fff);
}

.csi-banner-10 form.search-form {
  position: absolute;
  right: 3%;
  display: none;
}

.search-form .fa-search {
  display: none;
}

.csi-banner-10 .carousel-caption .btn-primary:hover,
.csi-banner-10 .carousel-caption .btn-primary:focus {
  border: 1px solid var(--secondary-color, #536D79);
}

/* GENERAL STYLES
-------------------------------------------------------------------------------------- */

.primary-menu a {
  color: white !important;
  text-transform: uppercase;
  font-family: "Open Sans", sans-serif !important;
}

.sub-menu a {
  color: black !important;
}

input#ib-username::placeholder {
  color: white;
  font-weight: 100;
  font-style:italic;
}

.textbtns {
  display: flex;
  justify-content: center;
}

/* TAB STYLES
-------------------------------------------------------------------------------------- */
.nav-tabs .nav-link {
  font-weight: 700;
  color: var(--secondary-color);
  border-radius: 8px 8px 0 0;
  margin-bottom: -3px;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border: none;
  color: white;
  background-color: var(--secondary-color);
}

.nav-tabs .nav-link.active {
  color: white;
  background-color: var(--primary-color);
}

.tab-pane {
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--secondary-color);
  border-right: none;
  border-bottom: none;
  border-left: none;
  padding: 2.75rem 0;
}


/* TABLE STYLES
-------------------------------------------------------------------------------------- */
.table-responsive {
  border-collapse: separate; /* Required for padding to work on the table element */
  padding: 20px;
  background: var(--primary-color);
  border-radius: 20px;
  margin: 0 0 30px 0;
  text-align: center;
}

table th {
  background: var(--primary-color);
  border: none;
  color: white;
  font-weight: 700;
}

table td:first-child {
  background: var(--primary-color);
  border: none;
  color: white;
  font-weight: 700;
}

.fa-check:before {
  color: var(--primary-color);
}

table tr:nth-child(odd) {
  background: #d0d1d0;
}

table tr {
  background: white;
}

.table td {
  border: none;
}

.table thead th {
  border: none;
}

table tr:last-child td:last-child {
  border-radius: 0 0 20px 0;
}
table tr:first-child td:last-child {
  border-radius: 0 20px 0 0;
}

table tr:last-child td:nth-child(2) {
  border-radius: 0 0 0 20px;
}

table tr:nth-child(1) td:nth-child(2) {
  border-radius: 20px 0 0 0;
}

table tr:only-child td:nth-child(2) {
  border-radius: 20px 20px 20px 20px;
}

/* If there is only 1 row, round both all corners of the last cell */
table tr:only-child td:last-child {
  border-radius: 20px 20px 20px 20px;
}

table.specTbl tr:last-child td:nth-child(2) {
  border-radius: 0 0 20px 20px;
}

table.specTbl tr:nth-child(1) td:nth-child(2) {
  border-radius: 20px 20px 0 0;
}



/* CARDS STYLES
-------------------------------------------------------------------------------------- */
.singleCard {
  border: 3px solid #CED7DB;
  border-radius: 8px;
  width: 100%;
  margin: 20px 10px;
}

.singleCard:focus,
.singleCard:hover {
  background: var(--primary-color);
  color: white;
  border: 3px solid var(--primary-color);
}
.singleCard:focus .card-icon,
.singleCard:hover .card-icon {
  filter: brightness(0) invert(1);
}
.singleCard:focus h3,
.singleCard:hover h3,
.singleCard:focus p,
.singleCard:hover p {
  color: white;
}

/* BODY 6 STYLES
-------------------------------------------------------------------------------------- */

.csi-body-6 .card-icon {
  border-radius: 8px;
  height: 231px;
  border: 3px solid var(--Tertiary, #CED7DB);
  background: var(--Pure-White, #FFF);
}

.csi-body-6 .card-link-icon img {
  max-height: 75px;
  max-width: 75px;
}

.csi-body-6 .card-title h6 {
  font-size: 1.5rem;
  font-family: "Open Sans", sans-serif;
  padding: 0;
  color: var(--primary-font-color, #253137);
  text-decoration: none;
}

.csi-body-6 .card-icon:hover, 
.csi-body-6 .card-icon:focus {
  background: var(--primary-color);
  border: 3px solid var(--primary-color);
}

.csi-body-6 .card-icon-link:hover img,
.csi-body-6 .card-icon-link:focus img {
  filter: brightness(0) invert(1);
}

.csi-body-6 .card-icon-link:hover .card-title h6,
.csi-body-6 .card-icon-link:focus .card-title h6 {
  color: white;
}

.csi-body-6 a {
  text-decoration: none;
}

.csi-body-6 h3, .csi-body-6 h4, .csi-body-6 h5, .csi-body-6 h6 {
  font-family: "Open Sans", sans-serif;
}



/* BODY 5 STYLES
-------------------------------------------------------------------------------------- */

.csi-body-5 .content {
  text-align: center;
}

.csi-body-5 .icon-image {
  max-height: 75px;
  max-width: 75px;
}

.csi-body-5 h3, .csi-body-5 h4, .csi-body-5 h5, .csi-body-5 h6 {
  font-family: "Open Sans", sans-serif;
}

/* FOOTER STYLES
-------------------------------------------------------------------------------------- */

.trueFooter {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
  margin-top: 50px;
}

footer .row {
  justify-content: space-between;
}

footer p {
  color: black;
}

.social-media-icon {
  height: 30px;
  margin: 0 10px 50px;
  filter: invert(100%);
}

.social-media-icon:hover,
.social-media-icon:focus {
  filter: invert(60%) sepia(100%) saturate(0%) hue-rotate(328deg);

}