.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #eceeef;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #eceeef;
}

.table tbody + tbody {
  border-top: 2px solid #eceeef;
}

.table .table {
  background-color: #fff;
}

.table-sm th,
.table-sm td {
  padding: 0.3rem;
}

.table-bordered {
  border: 1px solid #eceeef;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #eceeef;
}

.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 2px;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-active,
.table-active > th,
.table-active > td {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-success,
.table-success > th,
.table-success > td {
  background-color: #dff0d8;
}

.table-hover .table-success:hover {
  background-color: #d0e9c6;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
  background-color: #d0e9c6;
}

.table-info,
.table-info > th,
.table-info > td {
  background-color: #d9edf7;
}

.table-hover .table-info:hover {
  background-color: #c4e3f3;
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
  background-color: #c4e3f3;
}

.table-warning,
.table-warning > th,
.table-warning > td {
  background-color: #fcf8e3;
}

.table-hover .table-warning:hover {
  background-color: #faf2cc;
}

.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
  background-color: #faf2cc;
}

.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f2dede;
}

.table-hover .table-danger:hover {
  background-color: #ebcccc;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
  background-color: #ebcccc;
}

.thead-inverse th {
  color: #fff;
  background-color: #292b2c;
}

.thead-default th {
  color: #464a4c;
  background-color: #eceeef;
}

.table-inverse {
  color: #fff;
  background-color: #292b2c;
}

.table-inverse th,
.table-inverse td,
.table-inverse thead th {
  border-color: #fff;
}

.table-inverse.table-bordered {
  border: 0;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.table-responsive.table-bordered {
  border: 0;
}

/* services table */

.services-table { width:90%; margin-top:-25px; border-collapse:collapse; }
.services-table tbody { border-bottom: 1px solid #ddd; border-left: 1px solid #ddd;  }
.services-table>thead>tr>th { border-bottom:0; }
.services-table .glyphicon { text-align:center; /* color:#fe0000; */ }
.services-table th.row-header{
  width: auto;
  font-weight:normal;
  vertical-align: middle;
}
.services-table td {
  width: 80px;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  vertical-align: middle;
  text-align: center;
}
.services-table th.rotate {
  height: 100px;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  font-size: 1.2rem;
  font-weight:normal;
  line-height: 1.4rem;  
}
.services-table th.rotate > div {
  position: relative;
  top: 0px;
  left: 51px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  height: 100%;
  -ms-transform:skew(-45deg,0deg);
  -moz-transform:skew(-45deg,0deg);
  -webkit-transform:skew(-45deg,0deg);
  -o-transform:skew(-45deg,0deg);
  transform:skew(-45deg,0deg);
  overflow: hidden;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
}
.services-table th.rotate span {
  -ms-transform:skew(45deg,0deg) rotate(315deg);
  -moz-transform:skew(45deg,0deg) rotate(315deg);
  -webkit-transform:skew(45deg,0deg) rotate(315deg) translate3d( 0, 0, 0);
  -o-transform:skew(45deg,0deg) rotate(315deg);
  transform:skew(45deg,0deg) rotate(315deg);
  position: absolute;
  bottom: 40px; /* 40 cos(45) = 28 with an additional 2px margin*/
  left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  display: inline-block;
  // width: 100%;
  width: 125px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  text-align: center;
  // white-space: nowrap; /*whether to display in one line or not*/
  /* color:#262626; */
  /* fix jaggies */
}

.services-table .glyphicon { font-size:29px; width:29px; padding:0; margin:0; position:relative; top:3px; }

.services-table th, .services-table td { border-top:none; }

.cms-content .bronze { color:#bf7302; font-weight:bold; }
.cms-content .silver { color:#848484; font-weight:bold; }
.cms-content .gold { color:#d8ba13; font-weight:bold; }

.bronze-bg { background-color:#bf7302; color:#fff; }
.silver-bg { background-color:#848484; color:#fff; }
.gold-bg { background-color:#d8ba13; color:#fff; }

/***** Tablet (768px - 1000px) *****/
@media only screen and (min-width: 768px) and (max-width: 1000px) {
	.services-table th.rotate > div {
		-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-o-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		transform: rotate(90deg);
		position: relative;
		bottom: 0; /* 40 cos(45) = 28 with an additional 2px margin*/
		left: 0; /*Because it looked good, but there is probably a mathematical link here as well*/
	}
	.services-table th.rotate span {
		  -ms-transform:skew(0deg,0deg) rotate(0deg);
		  -moz-transform:skew(0deg,0deg) rotate(0deg);
		  -webkit-transform:skew(0deg,0deg) rotate(0deg) translate3d( 0, 0, 0);
		  -o-transform:skew(0deg,0deg) rotate(0deg);
		  transform:skew(0deg,0deg) rotate(0deg);
		  position: relative;
		  bottom: -40px; /* 40 cos(45) = 28 with an additional 2px margin*/
		  left: -10px; /*Because it looked good, but there is probably a mathematical link here as well*/
		  display: inline-block;		
	}
	.table-responsive {
		overflow-x: visible;
		margin-top:20px;
	}
}

/***** Phone *****/
@media only screen and (max-width: 767px) { 
	.services-table th.rotate > div {
		-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-o-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		transform: rotate(90deg);
		position: relative;
		bottom: 0; /* 40 cos(45) = 28 with an additional 2px margin*/
		left: 0; /*Because it looked good, but there is probably a mathematical link here as well*/
	}
	.services-table th.rotate span {
		  -ms-transform:skew(0deg,0deg) rotate(0deg);
		  -moz-transform:skew(0deg,0deg) rotate(0deg);
		  -webkit-transform:skew(0deg,0deg) rotate(0deg) translate3d( 0, 0, 0);
		  -o-transform:skew(0deg,0deg) rotate(0deg);
		  transform:skew(0deg,0deg) rotate(0deg);
		  position: relative;
		  bottom: -40px; /* 40 cos(45) = 28 with an additional 2px margin*/
		  left: -10px; /*Because it looked good, but there is probably a mathematical link here as well*/
		  display: inline-block;		
	}
	.table-responsive {
		overflow-x: visible;
		margin-top:20px;
	}
}