ul.autotabs {
    list-style: none;
    overflow: hidden;
    padding: 0.5em 0 1em 0;
    margin: 0;
}

/*csslint box-sizing: false*/
li.autotab {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin: 0;
    line-height: 150%;
    margin-right: 1px;
    box-sizing: border-box;

}

/*csslint box-sizing: false*/
li.autotab a {
    display: block;
    text-decoration: none;
    color: #777;
    margin: 0;
    padding: 5px 10px;
    box-sizing: border-box;
    /*border-bottom:0px solid #666;*/
    /*border-bottom: 0;*/
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    /*background-color: #efefef;*/
    text-align: center;
    border: 1px solid #e4eaef;
}

li.autotab a:hover{
    color: rgba(224, 0, 77, 1);
    /*cursor: default;*/
    background-color: #ddd;
}

li.autotab a:visited{
    /*color: rgba(224, 0, 77, 1);*/
    /*cursor: default;*/
}

li.current a {
    /*background-color: #fff;
    color: #000;
    cursor: default;*/
    color: rgba(224, 0, 77, 1);
    cursor: pointer;
    border-color: #e4eaef;
    /*border: 1px solid #666;*/
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #e4eaef;
    border-bottom:none;
}

li.autotab:hover {
    background-color: #fff;
    color: #000;
    color: rgba(224, 0, 77, 1);

}

.tab-pane {
    display: none;
}

.current {
    display: block;
}

//Original
//Tabs
#tabs{
  margin-bottom: 1.25em;
}

#tabs a {
    overflow: hidden;
    /* border: 1px solid #ccc; */
    background-color: inherit;
    padding-right: 80px;
    padding-left: 80px;
}

ul.autotabs{
  position: relative;
  bottom: -20px;
  text-align: center;
}

li.autotab a{
  border:darkslategray;
}
  
a.tab {
  /*background-color: inherit;*/
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}
  
a.tab:hover{
  background-color: #ddd;
  color: rgba(224, 0, 77, 1);
  cursor: default;
}

.tab{
  display: block;
  padding: 1.875em;
  border: 1px solid #eee;
  /*border-top: 0;*/
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-radius: 5px;
}
  
.autotab.current {
  /*background-color: #ccc;*/
  color: rgba(224, 0, 77, 1);
  cursor: pointer;
  border-color: #eee;
}

li.current a {
    /*background-color: #fff;
    color: #000;
    cursor: default;*/
    color: rgba(224, 0, 77, 1);
    cursor: pointer;
    border-color: #eee;
    /*border: 1px solid #666;*/
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #eee;
    border-bottom:none;
}