/*

RESPONSTABLE 2.0 by jordyvanraaij
  Designed mobile first!

If you like this solution, you might also want to check out the 1.0 version:
  https://gist.github.com/jordyvanraaij/9069194

*/
.responstable {
  margin: 1em 0;
  width: 100%;
  overflow: hidden;
  background: #FFF;
  color: #024457;
  border-radius: 10px;
  border: 1px solid #167F92;
}
.responstable tr {
  border: 1px solid #D9E4E6;
}
.responstable tr:nth-child(odd) {
  background-color: #EAF3F3;
}
.responstable th {
  display: none;
  border: 0px solid #FFF;
  background-color: #167F92;
  color: #FFF;
  padding: 1em;
}
.responstable th:first-child {
  display: table-cell;
  text-align: center;
}
.responstable th:nth-child(2) {
  display: table-cell;
}
.responstable th:nth-child(2) span {
  display: none;
}
.responstable th:nth-child(2):after {
  content: attr(data-th);
}
@media (min-width: 480px) {
  .responstable th:nth-child(2) span {
    display: block;
  }
  .responstable th:nth-child(2):after {
    display: none;
  }
}
.responstable td {
  display: block;
  word-wrap: break-word;
  max-width: 7em; 
}
.responstable td:first-child {
  display: table-cell;
  text-align: center;
  border-right: 1px solid #D9E4E6;
}
@media (min-width: 480px) {
  .responstable td {
    border: 1px solid #D9E4E6;
  }
}
.responstable th, .responstable td {
  text-align: left;
  margin: .5em 1em;
}
@media (min-width: 480px) {
  .responstable th, .responstable td {
    display: table-cell;
    padding: 1em; //1em quyle
  }
}

body {
 // padding: 0 1em;//quyle rem 2em
  font-family: Arial, sans-serif;
  color: #024457;
  background: #ffffff; //#f2f2f2;
}

h1 {
  font-family: Verdana;
  font-weight: normal;
  color: #024457;
}
h1 span {
  color: #167F92;
}

.row-title{
	
    background: #6cafd8 !important;
    font-size: 15px;
    font-weight: bold;
	//text-align: center;
}

th.time, th.staff {
  width: 34px;
}
th.action, th.phone {
  width: 70px; /* Not necessary, since only 70% width remains */
}

th.name, th.phone, th.email, th.dayoff {
  width: 25%;
}

/* .responstable td:last-child { */
  /* display: table-cell; */
  /* text-align: center; */
  /* border-right: 1px solid #D9E4E6; */
  /* margin: 2px; */
/* } */

.table-header{
	background: hotpink !important;
	height: 35px;
}

.hidden {
	display: none !important;
}

.align-center {
	text-align: center;
}

.search {
	width: calc(100% - 150px);
	border-radius: 5px;
	border-style: solid;
}

.savebtn {
	float: right;
}

.selected {
	background: lightgreen;
	color: #0000ff;
}

.locked {
	background: lightgrey;
	color: darkgrey;
}

.service-selected {
	color: blue;
	font-size: small;
}

.scroll-table{
	overflow : auto;
}

.timeworking-table{
	
}
.timeworking-table td{
	border: 3px solid #7eb6d7;
}

.container-table {	
	overflow: auto;
	padding: 10px;
}

th div {
	width: 100px;
	overflow: hidden;
}


/* ------------------------------------ Appointment Table---------------------- */

.basictable tr {
  border: 1px solid #D9E4E6;
}
.basictable tr:nth-child(odd) {
  background-color: #EAF3F3;
}



.col-ap-1 {
	min-width: 70px !important;
}

.col-ap-2 {
	min-width: 80px !important;
}

.col-ap-3 {
	min-width: 100px !important;
}

.col-ap-4 {
	min-width: 110px !important;
}

.col-ap-5 {
	min-width: 120px !important;
}

.col-ap-6 {
	min-width: 200px !important;
}



.ctable th,
.ctable td {
  padding: 2px;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
}

.ctable {
	margin-bottom: 1rem;
}

/* ------------------------------------ End Appointment Table---------------------- */
