/* Global */
a{
    transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
}
a:hover{
    text-decoration: none;
}

body{
    font-size: 12px;
    color: #333333;
}

.btn-primary, 
.btn-theme,
#main-container .btn-primary{
    background-color: #008FC3;
    border-color: #008FC3;
    color: #fff;
    transition: all 0.3s ease-in-out;
    padding: 0.25rem 1.5rem
}

.btn-primary:hover,
.btn-primary:focus,
.btn-theme:hover,
.btn-theme:focus{
    background-color: #26a0cc;   
    border-color: #26a0cc;  
}
/* Top header */
.nav-utility{
    background-color: #2d2d2d;
    padding: 0;
}

.nav-utility section,
.nav-container section
{
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.nav-utility section a{
    color: #888;
    font-size: 0.875rem;
    font-weight: 400;
}

.nav-utility section a:not(:last-child) {
    padding-right: 1rem; /* or whatever value you want */
}

.nav-utility section a:hover{
    color: #009ac7;
}

.nav-utility .top-header-menu{
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.nav-utility .top-header-menu .c_switcher ul li{
    display: flex; 
    flex-direction: row;
    align-items: center;
}

.nav-utility .top-header-menu .c_switcher .dropdown-menu{
    background-color: #2d2d2d;
}

.nav-utility .top-header-menu .c_switcher .dropdown-item:hover,
.nav-utility .top-header-menu .c_switcher .dropdown-item:focus,
.nav-utility .top-header-menu .c_switcher .dropdown-item:active{
    background: linear-gradient(to bottom, #1882a8 0%, #4fa3c7 100%);
    color: #fff;
}

.nav-utility .region-user-right .clearfix{
    overflow: visible;
}


/* Top header midle */
.nav-container .header-middle{
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    background: linear-gradient(to bottom, #1882a8 0%, #4fa3c7 100%);
}

.nav-container .header-right .region-menu-right{
    display: flex; 
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.nav-container .header-right .region-menu-right .clearfix{
    overflow: visible;
}

.nav-container .header-right .region-menu-right .ib-button{
    background-color: #3d6278;
    text-transform: uppercase;
    padding: 2px 20px;
    font-size: 12px;
    border-radius: 40px;
    color: #fff;
    border-color: #3d6278;
    border: none;
    transform: none;
}

.nav-container .header-right .region-menu-right .ib-button:hover,
.nav-container .header-right .region-menu-right .ib-button.show
{
    background-color: #eee;
    color: #666;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
    transform: none;
}

.nav-container .header-right .region-menu-right .ib-button.dropdown-toggle:after{
    display: none;
}

.nav-container .header-right .region-menu-right .dropdown-menu{
    padding: 5px 8px;
    background: linear-gradient(to bottom, #eee 0%, #ccc 100%);
    min-width: 360px;
    border: none;
    border-top-left-radius: 0;
    margin-top: -3px !important;
}

.nav-container .header-right .region-menu-right .dropdown-menu h4{
    font-size: 16px; 
    color: #3d6278;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.nav-container .header-right .region-menu-right .dropdown-menu a{
    margin-bottom: 5px;
}

.nav-container .header-right .region-menu-right .block{
    max-width: 240px;
    text-align: right;
}

.nav-container .header-right .region-menu-right .social-blocks{
    text-align: right;
    display: flex;
    justify-content: end;
}

.path-frontpage .block-page-title-block{
    display: none;
}

.nav-container .header-right .region-menu-right .custom-search-form {
    width: 100%;
    max-width: 240px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    padding: 0;
  }

.nav-container .header-right .region-menu-right .search-input-wrapper {
    position: relative;    
    display: flex;
    align-items: center;
    background: #f3f3f3; /* lighter background */
    border-radius: 20px;
    padding: 2px 8px 2px 12px;
    box-shadow: none; /* remove shadow for a flatter look */
    justify-content: end;
  }

.nav-container .header-right .region-menu-right .custom-search-input {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: transparent;
    font-size: 12px;
    color: #444;
    outline: none;
    box-shadow: none;
    text-transform: lowercase;    
    width: 120px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    line-height:18px;
    max-height: 26px;
}

.nav-container .header-right .region-menu-right .custom-search-input:focus{
    width: 220px;
}

.nav-container .header-right .region-menu-right .custom-search-input::placeholder {
    color: #888;
    opacity: 1;
    font-size: 12px;
    text-transform: lowercase;
}

.nav-container .header-right .region-menu-right .custom-search-btn {
    position: absolute;
    right: 8px;    
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    max-width:20px;
    max-height:20px;
    margin: 0;
  }

.nav-container .header-right .region-menu-right .search-icon {
    width: 12px;
    height: 12px;
    pointer-events: none;
    stroke: #888;
  }

.nav-container .sub-menu{
    background: #eee;
    min-height: 28px;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.2);
}
.nav-container .sub-menu section{
    padding-top: 0;
    padding-bottom: 0;
}

.nav-container .sub-menu .ultimenu__flyout{
    background-color: #def1f8;
    border-color: #85bfd7;
    border-radius: 0 0 4px 4px;
    border-style: solid;
    border-width: 1px;
    padding: 0 !important;
}
.nav-container .sub-menu .ultimenu__flyout .block{
    padding-top: 0;
}

.nav-container .sub-menu .ultimenu__flyout .ultimenu__region{
    background-color: #def1f8;
    padding: 0;
}

.nav-container .sub-menu .ultimenu__link.is-unlinked{
    font-weight: bold;
    color: #2d2d2d;
    font-size: 12px;
}

.nav-container .sub-menu .ultimenu__link:hover{
    background: #85BFD7;
}

.nav-container .sub-menu .ultimenu__flyout .ultimenu__region h3.mm-header {
    background: #85BFD7;
    margin: 0 0 5px 0;
    padding: 8px;
    font-size: 12px;
    font-weight: bold;
    width: 100%;
}

.nav-container .sub-menu .ultimenu__flyout .ultimenu__region .menu-column div{
    display: flex;
    flex-direction: row; 
    align-items:center;
    margin-bottom: 10px;
}

.nav-container .sub-menu .ultimenu__flyout .ultimenu__region .menu-column div img{
    margin: 0;
    padding: 0;
}

.nav-container .sub-menu .ultimenu__flyout .ultimenu__region .menu-column div a{
    font-size: 12px;
    padding-left: 5px;
}

.nav-container .sub-menu .ultimenu__flyout .ultimenu__region .menu-column div p{
    padding-left: 18px;
}



/* Footer Styles */
.footer-1{
    background: url(/sites/all/themes/republic/images/footertexture.gif) repeat #1b1b1b;
    color: #666;
    padding: 20px 0 0 0;
    border-top: 2px solid rgba(0, 0, 0, .3);
    border-top: 6px solid #008FC3;
}

.footer-1 h4.blocktitle{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    text-shadow: 0 2px 0 rgb(0, 0, 0);
    color: #fff;
}

.footer-1 .region-footer .block ul{
    padding-bottom: 20px;
}

.footer-1 ul:not(.list-inline):not(.slides) > li{
    line-height: 20px !important;
}

.footer-1 ul li a{
    color: #b2b2b2;
    font-weight: bold;
    transition: color 0.5s ease-in;
}

.footer-1 ul li a:hover{
    color: #008FC3;
}

.footer-1 .region-footer{
    padding: 20px 0 15px;
}

.footer-1 .region-footer #block-stack-subtheme-copyright{
    padding: 13px;
    background: #111;
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
    box-shadow: 0 0 3px rgba(0, 0, 0, .7) inset;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .7) inset;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,.7) inset;
    margin-top: 30px;
}

.footer-1 .region-footer .copyright{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items:center;
    font-size: 12px;
}

.footer-1 .region-footer .copyright a{
    color: #008FC3;
    font-size: 12px;
    transition: color 0.5s ease-in;
}

.footer-1 .region-footer .copyright a:hover{
    color: #fff;
}

.footer-1 .region-footer .copyright .copyright_rep,
.footer-1 .region-footer .copyright .copyright_links{
    padding: 0 15px;
}


/* Banner Area */
.bannerArea section{
    padding: 0;
}

.bannerArea .flexslider{
    border: none;
    margin-bottom: 0;
}

.bannerArea .flex-control-nav {    
    bottom: 10px;
    z-index: 99;
}

/* main content area */
#main-container{
    min-height: 50vh;
    padding-bottom: 40px;
}

#main-container .ept-container{
    border: none;
  }

  #main-container .ept-container .ui-tabs-nav{
    background: #fff;
    border-top: none;
    border-left: none;
    border-right: none;
  }
  #main-container .ept-container .ui-tabs-nav .ui-tabs-tab a{
    font-weight: bold;
    color: #008FC3;
  }

  #main-container .ept-container .ui-tabs-nav .ui-tabs-tab.ui-state-active a{
    color: #333;
  }

  #main-container .ept-container .ui-tabs-nav .ui-tabs-tab.ui-state-default {
    padding: 5px 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-right: 2px;
    line-height: 14px;
    font-size: 12px;
    font-weight: bold;
    color: #008FC3;
    border: 1px solid #cccccc;
    text-align: center;
    padding-top: 8px;
    line-height: 20px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    background-color: rgba(0, 0, 0, 0.05);
    background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));
    background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));
    background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.25));
    -webkit-box-shadow: inset 0 1px white, inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 2px #dadada, 0 3px #c4c4c4, 0 4px 3px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px white, inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 2px #dadada, 0 3px #c4c4c4, 0 4px 3px rgba(0, 0, 0, 0.1);
}



#main-container .ept-container .ui-tabs-nav .ui-tabs-tab.ui-state-active,
#main-container .ept-container .ui-tabs-nav .ui-tabs-tab:hover
{    
    cursor: default;
    background-color: transparent;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 0px solid #fff;
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0));
    -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), inset 0 -1px 1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.05), -1px 0 rgba(0, 0, 0, 0.05), 0 1px rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), inset 0 -1px 1px rgba(0, 0, 0, 0.05), 1px 0 rgba(0, 0, 0, 0.05), -1px 0 rgba(0, 0, 0, 0.05), 0 1px rgba(255, 255, 255, 0.4);
}

#main-container .ept-container .ept-tab-content{
    padding-top: 15px;
}

#main-container .ui-tabs .ui-tabs-panel{
    padding-left: 0;
    padding-right: 0;
}

#main-container .accordion-group {
    margin-bottom: 2px;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
#main-container .accordion-heading {
    box-shadow: none;
    background: #f8f8f8;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    font-size: 16px;
    padding: 15px;
  }

#main-container .accordion-inner {
    padding: 9px 15px;
    border-top: 1px solid #e5e5e5;
  }

  #main-container .accordion-body{
    padding: 0;
  }

  #main-container table.table-bordered{
    border: 1px solid #dddddd;
  }

  #main-container table.table-bordered th {
    background-color: #ECECEC;
    border-bottom: 3px solid #ccc;
  }

  #main-container table.table-bordered td {
    border-left: 1px solid #dddddd;
  }
  
blockquote{
    padding-bottom: 30px;
}

.flex-next,
.flex-prev {
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}
 
/* hightlighted regions */
.highlighted section, .highlighted_custom section, .highlighted_below section, .highlighted_below_second section{
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.highlighted_custom{
    background-color: #161616;
    border-top: 6px solid #008FC3;
}

.highlighted_below{
    background-color: #f7f7f7;
    padding-top: 50px;
    padding-bottom: 50px;
}

.highlighted_custom .image-effects {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    max-height: 160px;
    max-width: 280px;
    margin: 0 auto;
}

.highlighted_custom .image-effects img {
    transform: scaleY(1);
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    transition: all 0.7s ease-in-out 0s;
    -webkit-transition: all 0.7s ease-in-out 0s;
    -moz-transition: all 0.7s ease-in-out 0s;
}

.highlighted_custom .image-effects:hover img {
    opacity: 0;
    transform: scale(10);
    -webkit-transform: scale(10);
    -moz-transform: scale(10);

}

.highlighted_custom .image-effects h2{
    margin: 0;
}

.highlighted_custom .image-effects h2 a {
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transition: all 0.5s linear 0s;
    -webkit-transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s;
    padding-bottom: 5px;
}

.highlighted_custom .image-effects p a{
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transition: all 0.5s linear 0s;
    -webkit-transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s;
}

.highlighted_custom .image-effects:hover p a, .image-effects:hover h2 a {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
}

.highlighted_custom .image-effects .effect-hover {
    opacity: 0;
    transition: all 0.5s linear 0s;
    -webkit-transition: all 0.5s linear 0s;
    -moz-transition: all 0.5s linear 0s;
    width: 280px;
    height: 160px;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    visibility: hidden;
}

.highlighted_custom .image-effects:hover .effect-hover {
    opacity: 1;
    visibility: visible;
}

.highlighted_custom .effect-hover, .highlighted_custom .effect-hover:hover {
    background: #009BC9;
    padding: 5px 10px;
}

/* commercial Pages */

/* Commercial home page */
.page-node-344 .fullBody{
    background: url(/sites/all/themes/republic/images/republictt/commercial_banking/commercial-bg2.jpg) no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-position: top center;
    min-height: 1250px;
    background-size: cover;
}

.page-node-344 .fullBody .block-page-title-block{
    display: none;
}

.commercial-block-1{
    margin-top: 40px;
    background: rgba(255, 255, 2555, 0.8);
    position: relative;
    padding: 10px;
}

.com-block-img{
    width: 100%;
    margin: 0;
}

.com-head {
    width: 100%;
    background: #008fc3;
    padding: 5px 10px 10px;
    position: relative;
    z-index: 1;
}

.com-head h2{
    color: #fff;
    font-size: 29px;
}

.com-head p,
.com-head a{
    color: #fff;
}

.com-inner{
    position: relative;
    min-height: 165px;
}

.com-inner .sme-grapic {
    right: 0;
    margin-bottom: 0;
    position: absolute;
    bottom: 0px;
    z-index: 2;
}

.com-inner .sme-content{
    position: relative;
    z-index: 3;
    padding-bottom: 19px;
}

.com-inner .sme-content p{
    font-weight: bold;
    padding: 10px;
}

.com-inner .btn-orange{
    background: #FF6600;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.commercial-block {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 14px;
    -moz-box-shadow: 0 0 5px #333;
    -webkit-box-shadow: 0 0 5px #333;
    box-shadow: 0 0 5px #333;
  }

/* Navigation Block Styles */
.navigation-block .navigation-links {
  display: flex;
  position: relative;
}

.navigation-block .navigation-links a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #888;
  transition: all 0.3s ease;
  position: relative;
}

.navigation-block .navigation-links a.active {
  color: #fff;
  font-weight: bold;
}

.navigation-block .navigation-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  z-index: 1;
}

.navigation-block .navigation-links a:hover {
  color: #fff;
}

/* Breadcrumb Styles */
.breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.breadcrumb-item {
  color: #888;
}

.breadcrumb-item a {
  color: #008FC3;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #26a0cc;
}

.breadcrumb-item.active {
  color: #333;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #888;
  padding: 0 0.5rem;
}

/* Page Title */
.block-page-title-block h1{
    padding-top: 20px;
}


/* Right Sidebar Styles */


#sidebar-second .sidebar{
    background: white;
    border-left: 1px dashed #bbb;
    border-top: none;
    border-right: none;
    border-bottom: none;
    padding: 0 0 0 25px;
}

#sidebar-second .sidebar h2{
    color: #008fc3;
    font-size: 18px;
}

#sidebar-second .sidebar ul{
    display:flex;
    flex-direction: column;
    background: -moz-linear-gradient(left, rgba(247,247,247,1) 0%, rgba(255,255,255,1) 99%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(247,247,247,1)), color-stop(99%,rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%);
    background: -o-linear-gradient(left, rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%);
    background: -ms-linear-gradient(left, rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%);
    background: linear-gradient(to right, rgba(247,247,247,1) 0%,rgba(255,255,255,1) 99%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#ffffff',GradientType=1);
    margin: 5px 0 10px 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 0 4px rgba(150,150,150, .19);
    -webkit-box-shadow: 0 0 4px rgba(150,150,150, .19);
    -moz-box-shadow: 0 0 4px rgba(150,150,150, .19);
}


#sidebar-second .sidebar ul li a{
    margin: 0;
    padding: 9px 25px 9px 18px;
    display: block;
    border-bottom: 1px solid #e5e5e5;
    color: #555;
    position: relative;
}

#sidebar-second .sidebar .block-menu ul li a:after {
  content: '\203A'; /* Unicode for single right-pointing angle quotation mark */
  color: #008FC3;   /* Match your theme's blue */
  font-size: 20px;
  margin-left: 0.5em;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
  transition: color 0.2s;
  position: absolute;
  right: 5px;
}
#sidebar-second .sidebar .block-menu ul li a:hover:after {
  color: #26a0cc; /* Lighter blue on hover */
}
