
.srctabcontainer {
  display: inline-block;
  width: 240px;
  /*width: auto;*/
  padding: 0px;
  margin: 0px;
  min-height: 780px;
}

.srctabcontainer .tab-content {
  min-height: 630px;
  width: 240px;
  /*width: auto;*/
}

.tabcontainer
{
  /*min-height: 1000px;*/
}
.tabcontainer .tab-content {
  min-height: auto;
}

.tabs {
  display: inline-block;
  vertical-align: top;
  position: relative;
  clear: both;
  margin: 25px 0;
  padding: 0px;
  width: 100%;
}

.tab {
  float: left;
}

.tab label {
  background: #eee;
  padding: 10px;
  border: 1px solid #ccc;
  margin-left: -1px;
  position: relative;
  left: 1px;
}

.tab [type=radio] {
  display: none;
}

#main 
{
   border-bottom: 0px;
}
.tab-content {
  position: absolute;
  top: 26px;
  left: 0;
  background: white;
  right: 0px;
  bottom: 0px;
  padding: 20px;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 2px solid white;
  display: none;
}

.tab [type=radio]:checked ~ label {
  background: white;
  border-bottom: 1px solid white;
  z-index: 2;
}

.tab [type=radio]:checked ~ label ~ .tab-content {
  z-index: 1;
  display: block;
}

.tab-innerwrapper {
  margin-left: 20px;
  margin-top: -17px;
  padding-bottom: 10px;
  margin-right: 5px;
  min-height: 400px;
}
.tab-outerwrapper {
  box-sizing: border-box;
  background: rgba(255,255,255, 0.6);
  width: auto;
  padding: 0px 27px 23px 27px;
  margin-left: -47px;
  margin-top: 39px;
  margin-right: -47px;
  /*
  margin-left: -20px;
  margin-top: 38px;
  margin-right: -20px;
  padding-bottom: 0px;
  border: 1px solid red;*/
}
.tab-wrapper {
  /*width: 896px;*/
  width: auto;
  background: white;
  /*margin-left: 27px;*/
  margin-left: 0px;
  /*margin-right: 5px;*/
  margin-right: 0px;
}

.tab [type=radio]:checked ~ label ~ .tab-content-b {
  z-index: 1;
  display: block
}

.tab-content-b {
  position: absolute;
  top: 26px;
  left: 0;
  background: white;
  right: 0;
  bottom: 0;
  padding: 20px;
  border: 1px solid #ccc;
  height: 650px;
  overflow-y: scroll;
}
