.tabs_wrapper {
  width: 85%;
  text-align: center;
  margin: 0 auto;
  background: transparent;
}

@media (max-width: 781px) {
.tabs_wrapper {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  background: transparent;
}
}

ul.tabs {
  display: inline-block;
  vertical-align: top;
  position: relative;
  z-index: 10;
  margin: 25px 0 0;
  padding: 0;
  width: 25%;
  min-width: 175px;
  list-style: none;
  -ms-transition: all .3s ease;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
ul.tabs li {
  margin: 0;
  cursor: pointer;
  padding: 0px 15px;
  line-height: 31px;
  color: white;
  text-align: left;
  font-size: 13px;
  background-color: #666;
  background: #00428a;
  /* Old browsers */
  background: -moz-linear-gradient(top, #00428a 0%, #00428a 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00428a), color-stop(100%, #00428a));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #00428a 0%, #00428a 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #00428a 0%, #00428a 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #00428a 0%, #00428a 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #00428a 0%, #00428a 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00428a', endColorstr='#00428a',GradientType=0 );
  /* IE6-9 */
  -ms-transition: all .3s ease;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  border: solid;
}
ul.tabs li:hover {
  background: #00428a;
  background: -moz-linear-gradient(top, #00428a 0%, #00428a 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00428a), color-stop(100%, #00428a));
  background: -webkit-linear-gradient(top, #00428a 0%, #00428a 100%);
  background: -o-linear-gradient(top, #00428a 0%, #00428a 100%);
  background: -ms-linear-gradient(top, #00428a 0%, #00428a 100%);
  background: linear-gradient(to bottom, #00428a 0%, #00428a 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00428a', endColorstr='#00428a',GradientType=0 );
  color: white;
  -ms-transition: all .3s ease;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}
ul.tabs li.active {
  background: #00428a;
  background: -moz-linear-gradient(top, #616A6B 0%, #616A6B 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #616A6B), color-stop(100%, #616A6B));
  background: -webkit-linear-gradient(top, #616A6B 0%, #616A6B 100%);
  background: -o-linear-gradient(top, #616A6B 0%, #616A6B 100%);
  background: -ms-linear-gradient(top, #616A6B 0%, #616A6B 100%);
  background: linear-gradient(to bottom, #616A6B 0%, #616A6B 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#616A6B', endColorstr='#616A6B',GradientType=0 );
  color: #dddddd;
  -ms-transition: all .3s ease;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.tab_container {
  display: inline-block;
  vertical-align: top;
  position: relative;
  z-index: 20;
  left: -2%;
  width: 70%;
  min-width: 10px;
  text-align: left;
  background: white;
  border-radius: 12px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.tab_content {
  padding: 20px;
  height: 100%;
  display: none;
}

.tab_drawer_heading {
  display: none;
}

.table{
		font-size:13px;
	}

@media screen and (max-width: 781px) {
	.table{
		font-size:10px;
	}

  ul.tabs {
    display: none;
  }

  .tab_container {
    display: block;
    margin: 0 auto;
    width: 95%;
    border-top: none;
    border-radius: 0;
    box-shadow: 0px 0px 10px black;
  }

  .tab_drawer_heading {
    background-color: #ccc;
    background: #00428a;
    /* Old browsers */
    background: -moz-linear-gradient(top, #00428a 0%, #00428a 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00428a), color-stop(100%, #00428a));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #00428a 0%, #00428a 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #00428a 0%, #00428a 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #00428a 0%, #00428a 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #00428a 0%, #00428a 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00428a', endColorstr='#00428a',GradientType=0 );
    /* IE6-9 */
    color: #fff;
    margin: 0;
    padding: 5px 20px;
    display: block;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: left;
	font-size: 13px;
	border: solid;
  }
  .tab_drawer_heading:hover {
    background: #ccc;
    background: #00428a;
    background: -moz-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00428a), color-stop(100%, #00428a));
    background: -webkit-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: -o-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: -ms-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: linear-gradient(to bottom, #00428a 0%, #00428a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00428a', endColorstr='#00428a',GradientType=0 );
    color: white;
	
  }

  .d_active {
    background: #fff;
    background: #00428a;
    background: -moz-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #00428a), color-stop(100%, #00428a));
    background: -webkit-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: -o-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: -ms-linear-gradient(top, #00428a 0%, #00428a 100%);
    background: linear-gradient(to bottom, #00428a 0%, #00428a 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00428a', endColorstr='#00428a',GradientType=0 );
    color: #dddddd;
  }
}