/*
Theme Name: Hometown Bank
Theme URI: http://csibankanytime.com/
Author: CSI
Description: Design Pro 3 CSI Banking Theme
Version: 2.0.5
Text Domain: design-pro-3
*/


/* *{ transition: all 0.7s ease; -webkit-transition: all 0.7s ease } */

/*
==============================================
slideDown
==============================================
*/


.slideDown {
    animation-name: slideDown;
    -webkit-animation-name: slideDown;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
    visibility: visible !important;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }

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

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

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


#wpadminbar #wp-admin-bar-wp-logo {
    display: none;
}

.section-padding {
    padding: 80px 0px;
}

@media (max-width: 767px) {
    .fdic-logo {
        float: left;
        padding: 5% 2%;
    }
}

.personal-section, .business-section, .lending-section {
    text-align: center;
    padding: 0;
}

    .personal-section:hover h3, .business-section:hover h3, .lending-section:hover h3, .personal-section:focus h3, .business-section:focus h3, .lending-section:focus h3 {
        display: block;
        font-weight: bold;
        color: white;
        font-size: 1.7rem;
    }

    .personal-section p, .business-section p, .lending-section p, .personal-section a, .business-section a, .lending-section a, .personal-section h3, .business-section h3, .lending-section h3 {
        display: none;
    }

    .personal-section a, .business-section a, .lending-section a {
        border: none;
        /* border-radius: 5px;*/
        background-color: #E5002B;
        color: white;
        padding: 10px 30px;
        max-width: 100%;
        margin-top: 30px;
    }

    .personal-section:hover .overlay, .business-section:hover .overlay, .lending-section:hover .overlay, .personal-section:hover .overlay, .business-section:hover .overlay, .lending-section:hover .overlay,
    .personal-section:focus .overlay, .business-section:focus .overlay, .lending-section:focus .overlay, .personal-section:focus .overlay, .business-section:focus .overlay, .lending-section:focus .overlay {
        background: rgba(38,77,187,.85);
        position: absolute;
        top: 0px;
        width: 100%;
        height: 100%;
    }

    .personal-section:hover p, .business-section:hover p, .lending-section:hover p, .personal-section:hover a, .business-section:hover a, .lending-section:hover a,
    .personal-section:focus p, .business-section:focus p, .lending-section:focus p, .personal-section:focus a, .business-section:focus a, .lending-section:focus a {
        display: block;
        color: white;
        width: 50%;
        margin-left: 25%;
        margin-right: 25%;
    }

section.top-footer-section {
    border-top: 8px solid #264DBB;
    border-bottom: 8px solid white;
    margin-bottom: -15px;
}

@media (min-width: 992px) {
    .business-section {
        -webkit-clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
        clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    }

    .personal-section {
        -webkit-clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
        clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
    }

    .lending-section {
        -webkit-clip-path: polygon(25% 0%, 100% 0%, 100% 99%, 0% 100%);
        clip-path: polygon(25% 0%, 100% 0%, 100% 99%, 0% 100%);
    }

    .personal-section, .business-section, .lending-section {
        margin-right: -10%;
        width: 40%;
        max-height: 400px;
    }
}


/*main CSS Styling */
html {
    font-size: 1rem;
}

h1, .text-xxl {
    font-size: 2.074rem;
}

h2, .text-xl {
    font-size: 1.728rem;
}

h3, .text-lg {
    font-size: 1.44rem;
}

h4, .text-md {
    font-size: 1.2rem;
}

h5, .text-sm {
    font-size: 1.1rem;
}

h6, .text-xs {
    font-size: 1.0rem;
}

body {
    overflow-x: hidden;
}

.red {
    color: red;
}

.green {
    color: green;
}

.admin-bar .navbar-fixed-top {
    margin-top: 32px;
}

.fdic-logo img {
    height: 50px;
    float: right;
}

img {
    max-width: 100%;
}

ul {
    list-style-type: none;
}

.standard-section ul li {
    margin: 10px 0px;
}

li.page_item_has_children ul.children {
    display: block;
}

.csi-header {
    z-index: 10;
    position: relative;
}

.sub-menu li {
    width: 100%;
}

.section-padding {
    padding: 50px 0px;
}

.btn {
    border-radius: 0px;
}

footer {
    background: linear-gradient(to bottom, rgba(229,1,43,.8), rgba(229,1,43,0.8)), url("footer_bg.jpg");
    background-size: cover;
    background-position-y: 82%;
    color: white;
}

    footer a {
        color: white;
    }

    footer .fa {
        font-size: 1.5rem;
    }

.copyright {
    line-height: 1.5rem;
}

footer .copyright img {
    height: 100%;
}

.sub-menu li {
    width: 100%;
}

body .navbar {
    min-height: 40px;
}

body .navbar-inverse .navbar-nav > li > a:focus {
    background: #070855;
}

body .navbar-inverse .navbar-nav > li > a:hover {
    background: #070855;
    text-decoration: underline;
}

.logo-section img {
    max-width: 100%;
}

.accordion .panel-heading {
    color: #fff;
    background-color: #070855;
    border-color: white;
    border-radius: 0px;
    text-align: center;
    margin-bottom: 10px;
}

.accordion .collapse {
    margin-bottom: 10px;
}

.panel-default {
    border: none !important;
}

.panel-body {
    border: none !important;
}

/* Responsive styling */

@media (min-width: 992px) {
    .header-container {
        padding: 50px 30px;
    }
}

@media (min-width: 1642px) {
    /* .header-container {
		padding: 50px 300px;
	} */
    .nav-padding {
        padding: 0px 270px;
    }
}

.tagline, .bankLogin {
    background-color: rgba(233, 228, 225, .8);
    border: 10px solid rgba(216, 212, 213, 0.9);
    padding: 25px;
}

@media (min-width: 1200px) {
    .bankLogin {
        margin-right: -20px;
    }
}

@media (max-width: 991px) {
    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 992px) {
    .display-mobile {
        display: none;
    }
}

@media (max-width: 459px) {
    .personal-section p, .business-section p, .lending-section p {
        font-size: .6rem;
    }

    .personal-section h3, .business-section h3, .lending-section h3 {
        font-size: 1rem !important;
    }

    .personal-section a, .business-section a, .lending-section a {
        margin-top: 5px;
    }
}

.tagline h2 {
    color: #010159;
    font-weight: 700;
    font-size: 2.5rem;
    margin-top: 0px;
    margin-bottom: 20px;
}

.hero-bottom-links .margin-25 a:hover .col-md-3,
.hero-bottom-links .margin-25 a:focus .col-md-3 {
    -moz-box-shadow: inset 0 0 10px #000000;
    -webkit-box-shadow: inset 0 0 10px #000000;
    box-shadow: inset 0 0 10px #000000;
}

.hero-bottom-links .margin-25 {
    border: 10px solid white;
    background: linear-gradient(#ccc, #a09595);
}

.hero-bottom-links h6 {
    font-size: .8rem;
    position: absolute;
    bottom: 0;
    transform: translateX(50%);
    right: 50%;
}

.hero-bottom-links a {
    color: black;
}

.hero-bottom-links > .container-fluid > .row > a > .col-md-3 {
    min-height: 148px;
}

.appstore > a > img {
    float: right;
}

.bottom-section em, .bottom-section strong {
    color: white;
    font-size: 1.7rem;
    float: left;
}

.mobileTitle {
    font-size: 2rem;
    font-family: roboto slab;
    font-weight: 200;
}

    .mobileTitle > p {
        text-align: center;
        width: 100%;
        font-size: 1.2rem;
        font-weight: bold;
        color: white;
    }

.right {
    padding-left: 30px;
}

.hero-bottom-links .fa {
    font-size: 4rem;
    color: #e5012d;
    padding: 10px 0;
}

@media (min-width: 992px) {
    .margin-25 {
        margin: 0 25%;
    }

    .hero-bottom-links .margin-25 {
        margin-top: -50px;
    }

        .hero-bottom-links .margin-25 .col-md-3 {
            border-right: 1px solid white;
        }
}

.hero-bottom-links {
    text-align: center;
}
/* .hero-bottom-links  */
.bottom-section {
    background-color: #070855;
    padding: 20px 0px;
    border-top: 10px solid #e5012c;
}

.tagline a, .red-btn {
    border: none;
    /*border-radius: 5px;*/
    background-color: #E5002B;
    color: white;
    padding: 10px 100px;
    max-width: 100%;
}

.bankLogin .red-btn {
    padding: 5px 0px;
    width: 100%;
    text-align: center;
}

.bankLogin input[type="text"] {
    width: 100%;
    border: none;
    /*border-radius: 5px;*/
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 5px;
}

.bankLogin-links {
    margin-top: 10px;
    text-align: center;
}

    .bankLogin-links a {
        color: #9B1032;
    }

        .bankLogin-links a:hover {
            color: #070855;
        }

.tagline a:hover, .taglinea a:focus,
.red-btn:hover, .red-btn:focus {
    background-color: #010159;
    text-decoration: none;
}

.top-border-bg {
    height: 10px;
    background: url('top-border.png');
}

@media (min-width: 992px) {
    .header-links {
        padding-top: 57px;
    }
}

section#hero-section {
    min-height: 400px;
}

.page-id-179 section#hero-section {
    min-height: 500px;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

    .acf-map img {
        max-width: inherit !important;
    }

.archive-events, .archive-people, .archive-videos {
    padding: 15% 0 5%;
    min-height: 600px;
}

    .archive-events .button, .archive-people .button, .archive-videos .button, .button {
        background: #878787;
        color: white;
        border: 1px solid gray;
        border-radius: 20px;
        padding: 10px 5%;
    }
/* Financial calculator styling overrrides for better compliance */
#tabs a.tab {
    background: black;
}

#tabs a.selectedTab {
    background: white;
}
/* match responsive nav width in media queries */
@media (min-width:992px) {
    .sub-menu {
        display: none;
        position: absolute;
        background: #222;
        padding: 10px 15px;
        width: 200px;
    }

    li:hover .sub-menu {
        display: block;
    }

    #navbar li.menu-item-has-children ul.focused.sub-menu {
        display: block;
    }
}

.sub-menu li {
    margin-bottom: 10px;
    list-style: none;
}

    .sub-menu li:last-child {
        margin-bottom: 0;
    }

.sub-menu a {
    color: #999;
    text-decoration: none;
}

    .sub-menu a:hover {
        color: #fff;
    }

.current-menu-item > a, .current-menu-parent > a {
    background: #070855 !important;
}

.current-menu-parent li a {
    background: inherit;
}

.current-menu-parent .current-menu-item a {
    color: #fff;
    font-weight: bold;
}


.sidebar {
    margin-top: 40px;
    color: #444
}

    .sidebar h3 {
        color: #888;
    }

@media (max-width:992px) {
    .nav-tabs {
        display: none;
    }
}

.home .hero-bottom-links .container-fluid .row {
    position: absolute;
    z-index: 1000;
    width: 50%;
}

.home .standard-section .row {
    margin-top: 75px;
}

@media (max-width: 992px) {
    .home .hero-bottom-links .container-fluid .row {
        position: relative;
        z-index: 0;
        width: auto;
    }

    .home .standard-section .row {
        margin-top: 0;
    }
}

@media (max-width: 570px) {
    .mobile-format-links {
        clear: both;
    }
}

/* ===============================================
								STYLE FOR THE HEADER
=============================================== */
.background-red, #navbar {
    background-color: #E5002A;
}

.csi-nav .navbar {
    margin-bottom: 0;
}

.csi-nav .navbar-inverse .navbar-nav > li > a {
    color: white;
}

.csi-nav .navbar-inverse {
    border: none;
}
/*.logo-section a {
  color: #d2002c;
  font-size: 1.2rem;
  float: right;
  padding-right: 25px;
}*/
.header-links a {
    color: #d2002c;
    font-size: 1.2rem;
    float: right;
    padding-right: 25px;
}

    .header-links a img {
        max-width: 25px;
    }

.logo-section a:hover, .logo-section a:focus {
    text-decoration: none;
}

.logo-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (max-width: 996px) {
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }

        .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
            background: gray;
        }

    .navbar-inverse .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}

.no-padding {
    padding: 0;
}

.footer-container {
    padding: 2rem 0 3rem 0;
}

.footerNav {
    padding: 4rem 0 0 0;
}

.page-links a {
    padding: 30px;
    width: 30%;
    margin: 10px 10px;
    float: left;
    border: solid 3px #010159;
    color: #010159;
    text-align: center;
    font-size: .9rem;
    line-height: 1.6rem;
}

    .page-links a:hover, .page-links a:focus {
        text-decoration: none;
        background-color: #010159;
        color: #fff;
    }

/* #footerNav {
	padding-bottom: 4rem;
} */

#footerNav > .row > .navbar > .nav > li > a {
    background: transparent;
    color: #fff;
}

    #footerNav > .row > .navbar > .nav > li > a:hover {
        background: #070855;
    }

#footerNav > .row > .navbar > .nav > .open > a:hover {
    background: #080808;
}

#footerNav > .row > .navbar > .nav > li > a > span {
    display: none;
}

#footerNav {
    padding-bottom: 0;
}

.pageJumper {
    /* padding: 1rem 1rem 0 0; */
}

    .pageJumper > a {
        background: #070855;
        padding: 1rem;
        float: right;
    }

        .pageJumper > a:hover {
            background: #080808;
            text-decoration: none;
            color: white;
        }

@media (max-width: 992px) {
    .pageJumper {
        padding-top: 0px;
    }

    #footerNav {
        padding-bottom: 0;
    }

    .pageJumper {
        padding: 0 0 0 0;
        text-align: center;
    }

        .pageJumper > a {
            width: 100%;
        }
}

#menu-footer-menu-1 {
    margin: 0;
}

footer {
    position: relative;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS styles go here */
    .personal-section, .lending-section, .business-section {
        width: 33.33%;
        margin-right: 0;
    }
}
