.cd-tabs {
  position: relative;
  width: 100%;
  margin: 0 auto 0;
}
.cd-tabs:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs::after {
  /* subtle gradient layer on top right - to indicate it's possible to scroll */
  position: absolute;
  top: 0;
  right: 0;
  height: 60px;
  width: 50px;
  z-index: 1;
  pointer-events: none;
  background: -webkit-linear-gradient( right , #f8f7ee, rgba(248, 247, 238, 0));
  background: linear-gradient(to left, #f8f7ee, rgba(248, 247, 238, 0));
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.no-cssgradients .cd-tabs::after {
  display: none;
}
.cd-tabs.is-ended::after {
  /* class added in jQuery - remove the gradient layer when it's no longer possible to scroll */
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}

ul.cd-tabs-content {
    margin: 0 auto;
    padding: 0 0;
	border: 1px solid #ccc;
	position: relative;
	top: -2px;
	width: 100%;
	max-width: 900px;

	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}


@media only screen and (min-width: 768px) {
  .cd-tabs::after {
    display: none;
  }
}

 .cd-tabs nav {
    position: relative;
    float: none;
    background: transparent;
    box-shadow: none;
	height: 61px;
	margin: 0 auto;
  }

.cd-tabs-navigation {
	* tabbed on top on big devices */
	width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.cd-tabs-navigation:after {
  content: "";
  display: table;
  clear: both;
}
.cd-tabs-navigation li{
float: left;
background: #f4f4f4;
border: 1px solid #ccc;
border-bottom: none;
border-right: none;
}

.cd-tabs-navigation li:hover{
background: #e1e1e1;
}


.cd-tabs-navigation li:first-child{
border-top-left-radius: 4px;
}

.cd-tabs-navigation li:last-child{
border-right: 1px solid #ccc;
border-top-right-radius: 4px;
}

.cd-tabs-navigation a {
  position: relative;
  display: block;
  height: 60px;
	line-height: 60px;
  width: auto;
  text-align: center;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0 .75rem;
	font-weight: 200;
	color: black;
}

#content .cd-tabs .cd-tabs-navigation a:hover{
text-decoration: none;
}

.no-touch .cd-tabs-navigation a:hover {
  color: #29324e;
  background-color: rgba(233, 230, 202, 0.3);
}

.cd-tabs-navigation a.selected {
	background-color: #ffffff !important;
	color: #000;
	z-index: 1000;
	font-weight: bold;
	border-radius: 0;
}

.cd-tabs-navigation a:last-child.selected{
border-top-right-radius: 4px;
}

.cd-tabs-navigation a:first-child.selected{
border-top-left-radius: 4px;
}

  
  .cd-tabs-navigation a::before {
    top: 50%;
    margin-top: -10px;
    margin-left: 0;
    left: 38px;
  }

.cd-tabs-content {
  background: #ffffff;
}
.cd-tabs-content li {
  display: none;
  padding: 3rem 3rem 2rem;
	margin: 0 0;

}

.cd-tabs-content li.selected {
  display: block;
  -webkit-animation: cd-fade-in 0.5s;
  -moz-animation: cd-fade-in 0.5s;
  animation: cd-fade-in 0.5s;
}

.cd-tabs-content li p {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #8493bf;
  margin-bottom: 2em;
}

@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/* ------------------------------------------ */
/* mobile search*/
/* ------------------------------------------ */

@media only screen and (max-width: 768px) {
  .cd-tabs{
	display: none;
	}
}

/* ------------------------------------------ */
/* homepage search*/
/* ------------------------------------------ */


@media only screen and (max-width: 900px) {
.lib-home .cd-tabs-navigation a {
	padding: 0 .75rem;
}
}

@media only screen and (min-width: 768px) and (max-width: 991px){
.lib-home .cd-tabs-navigation a {
font-size: 1.15rem;
}
}


/* ------------------------------------------ */
/* Branches search*/
/* ------------------------------------------ */


@media only screen and (min-width: 992px) and (max-width: 1060px){
.branches-content .cd-tabs-navigation a{
font-size: 1.15rem;
}
}

