body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#edf8fd;
}

/* Top Bar */

.top-bar{
    background:#0398d8;
    padding:10px 0;
}

.social-icons{
    text-align:right;
}

.social-icons a{
    color:#fff;
    margin-left:18px;
    font-size:15px;
    text-decoration:none;
}

/* Header */

.header{
    background:#fff;
    padding:22px 0;
}

.logo-area{
    display:flex;
    align-items:center;
}

.logo-area img{
    margin-right:15px;
}

.logo-area h2{
    color:#1187d8;
    font-size:42px;
    font-weight:700;
    margin:0;
}

/* Navigation */

.custom-navbar{
    background:#0b8ed6;
    padding:0;
}

.custom-navbar .nav-link{
    color:#fff;
    padding:15px 25px;
    font-weight:600;
    font-size:15px;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active{
    background:#077cc0;
    color:#fff;
}

/* Banner */

.page-banner{
    background:url(https://www.mahalakshmicoopbank.com/wp-content/uploads/2019/07/page-top-2.jpg) center center no-repeat;
    background-size:cover;
    height:230px;
    position:relative;
}

.banner-overlay{
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    display:flex;
    align-items:center;
}

.banner-content h1{
    color:#fff;
    font-size:55px;
    font-weight:300;
    margin-bottom:12px;
}

.banner-content p{
    color:#fff;
    font-size:18px;
}

.banner-content span{
    margin:0 8px;
}
.content-section{
    background:#eef8fd;
}

.content-box{
    background:#fff;
    padding:25px;
}

.interest-table{
    margin-bottom:0;
}

.interest-table thead th{
    background:#e4007d;
    color:#fff;
    border:0;
    padding:16px;
    font-size:16px;
    font-weight:600;
    vertical-align:middle;
}

.interest-table tbody td{
    padding:16px;
    border:1px solid #e6e6e6;
    font-size:15px;
}

.interest-table tbody tr:nth-child(even){
    background:#fafafa;
}

.interest-table tbody tr:hover{
    background:#f3f9fd;
}
.sidebar{
    padding-left:25px;
}

.sidebar-widget{
    margin-bottom:40px;
}

.sidebar-widget h3{
    font-size:32px;
    font-weight:300;
    color:#333;
    margin-bottom:20px;
}

.sidebar-widget img{
    width:100%;
    border-radius:3px;
}

.deposit-menu{
    list-style:none;
    margin:0;
    padding:0;
}

.deposit-menu li{
    border-bottom:1px solid #e5e5e5;
}

.deposit-menu li a{
    display:block;
    padding:14px 0;
    color:#555;
    text-decoration:none;
    transition:.3s;
}

.deposit-menu li a:hover{
    color:#e4007d;
    padding-left:8px;
}

.terms-title{
    font-size:28px;
    margin-bottom:20px;
    color:#333;
}

.terms-list{
    padding-left:22px;
}

.terms-list li{
    margin-bottom:12px;
    line-height:28px;
    color:#555;
}


.section-row td{
    background:#e4007d !important;
    color:#fff;
    font-weight:600;
}

.loan-widget {
    background: #eefaff;
    padding: 0 15px 15px;
}

.loan-widget h3 {
    margin-bottom: 5px;
}

.latest-title {
    display: block;
    color: #d72e34;
    font-size: 14px;
    margin-bottom: 15px;
}

.latest-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.latest-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 15px;
}

.latest-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.latest-content {
    padding-top: 0;
}

.latest-content a {
    display: block;
    color: #49637a;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    margin-bottom: 5px;
}

.latest-content a:hover {
    color: #d72e34;
}

.latest-content span {
    display: block;
    color: #49637a;
    font-size: 12px;
    line-height: 1.5;
}


#facilitySlider {
    width: 300px;
    padding-bottom: 35px;
}

#facilitySlider .carousel-item img {
    width: 270px;
    height: 190px;
    object-fit: cover;
    display: block;
}

#facilitySlider .carousel-indicators {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

#facilitySlider .carousel-indicators button {
    width: 10px;
    height: 10px;

    padding: 0;
    margin: 0 4px;

    border-radius: 50%;

    border: 1px solid #aaa;
    background-color: #fff;

    opacity: 1;
}

#facilitySlider .carousel-indicators button.active {
    background-color: #168acb;
    border-color: #168acb;
}

#facilitySlider .facility-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(255, 255, 255, 0.95);
    padding: 18px 20px;

    color: #333;
    font-size: 16px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);
    transition: all 0.3s ease;

    z-index: 5;
}

#facilitySlider .carousel-item:hover .facility-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#facilitySlider .facility-content:hover {
    color:#e4007d;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 991px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Header */
    .header {
        padding: 15px 0;
    }

    .logo-area {
        justify-content: center;
    }

    .logo-area img {
        max-width: 100%;
        height: auto;
    }

    /* Navbar */
    .custom-navbar .navbar-toggler {
        margin: 8px 0;
        border-color: rgba(255,255,255,.6);
    }

    .custom-navbar .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .custom-navbar .navbar-collapse {
        width: 100%;
    }

    .custom-navbar .nav-link {
        text-align: center;
        padding: 12px 15px;
    }

    /* Banner */
    .page-banner {
        height: 190px;
    }

    .banner-content h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .banner-content p {
        font-size: 15px;
    }

    /* Content */
    .content-section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .content-box {
        padding: 15px;
        width: 100%;
        overflow-x: auto;
    }

    /* Table */
    .interest-table {
        width: 100%;
        margin-bottom: 0;
    }

    .interest-table th,
    .interest-table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    /* Sidebar */
    .sidebar {
        padding-left: 0;
        margin-top: 30px;
    }

    .sidebar-widget h3 {
        font-size: 28px;
    }

    /* Loan widget */
    .loan-widget {
        padding: 0 10px 15px;
    }

    .latest-item {
        width: 100%;
    }

    .latest-content {
        flex: 1;
    }

    /* Facilities */
    #facilitySlider {
        width: 100%;
    }

    #facilitySlider img {
        width: 100%;
        height: auto;
    }
}


/* =========================================
   MOBILE - 575px
========================================= */

@media (max-width: 575px) {

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Top bar */
    .top-bar {
        padding: 8px 0;
    }

    .social-icons {
        text-align: center;
    }

    .social-icons a {
        margin: 0 8px;
    }

    /* Logo */
    .header {
        padding: 12px 0;
    }

    .logo-area {
        justify-content: center;
    }

    .logo-area img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    /* Navbar */
    .custom-navbar {
        width: 100%;
    }

    .custom-navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Banner */
    .page-banner {
        height: 170px;
    }
    
    .banner-content {
        text-align: center;
    }

    .banner-content h1 {
        font-size: 28px;
        line-height: 1.25;
    }

    .banner-content p {
        font-size: 13px;
    }
    .banner-content a {
        color:#fff;
        text-decoration: none;
    }
    /* Main content */
    .content-section {
        padding: 20px 0 !important;
    }

    .content-box {
        padding: 10px;
    }

    /* Table should fit screen */
    .interest-table {
        width: 100%;
        table-layout: auto;
    }

    .interest-table th,
    .interest-table td {
        padding: 9px 6px;
        font-size: 12px;
        line-height: 1.3;
    }

    .interest-table thead th {
        font-size: 12px;
        white-space: normal;
    }

    /* Terms */
    .terms-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .terms-list {
        padding-left: 18px;
    }

    .terms-list li {
        font-size: 13px;
        line-height: 21px;
        margin-bottom: 8px;
    }

    /* Sidebar */
    .sidebar {
        padding-left: 0;
        margin-top: 25px;
    }

    .sidebar-widget {
        margin-bottom: 30px;
    }

    .sidebar-widget h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    /* Latest loans */
    .latest-item {
        display: flex;
        width: 100%;
        margin-bottom: 18px;
    }

    .latest-image {
        width: 70px;
        height: 70px;
        margin-right: 14px;
    }

    .latest-image img {
        width: 70px;
        height: 70px;
    }

    .latest-content {
        flex: 1;
    }

    .latest-content a {
        font-size: 20px;
        line-height: 1.4;
    }

    .latest-content span {
        font-size: 15px;
    }

    /* Facilities */
    #facilitySlider img {
        width: 100%;
        height: auto;
    }

    /* Deposits */
    .deposit-menu li a {
        padding: 11px 0;
        font-size: 14px;
    }
}
