@media only screen and (max-width : 799px) {
.tablechat {
	position: absolute;
	width: 96%;
	left: 1%;
	top: 0;
	border-left: 5px black solid;
    border-right: 5px black solid;
}
#table td {
  padding: 5px; /* для красоты добавляем отступы в ячейках */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 4vw;
  text-transform: uppercase;
  cursor: pointer;
}
}
@media only screen and (min-width : 800px) {/*--- tablet landscape ---*/
.tablechat {
	position: absolute;
	width: 60%;
	left: 20%;
	top: 0;
	border-left: 5px black solid;
    border-right: 5px black solid;
}
#table td {
  padding: 5px; /* для красоты добавляем отступы в ячейках */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 1vw;
  text-transform: uppercase;
  cursor: pointer;
}
}
body {
	color: white;
	font-family: 'SansNarrow', sans-serif;
	background-color: black;
}

caption {
	background: #FF9000;
	color: white;
	padding: 5px 0px 5px;
	font-weight: bold;
	border-bottom: 1px white solid;
}

#table img {
  width: 100%;
  height: 100%;/* растягиваем изображение на всю ширину ячейки */
}
#table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* вот оно, лекарство от недуга IE6 и IE7 */
  background-color: white;
}

.sortable .head h3 {
	background: url(TETATETIMG/sort.gif) 7px center no-repeat;
	padding: 12px;
}
.sortable .desc h3 {
	background: url(TETATETIMG/desc.gif) 7px center no-repeat;
	padding: 12px;
}
.sortable .asc h3 {
	background: url(TETATETIMG/asc.gif) 7px center no-repeat;
	padding: 12px;
}
#perpage {
	float: left;
	width: 20%;
    height: 50px;
    padding-top: 10px;
}
#navigation {
	float: right;
	width: 80%;
    height: 50px;
    padding-top: 10px;
    text-align: center;
}
select {
	height: 50px;
}
.fa.fa-fast-backward,.fa.fa-backward,.fa.fa-forward,.fa.fa-fast-forward {
	padding-left: 5px;
    padding-right: 5px;
    font-size: 40px;
}
#text {
	width: 100%;
	text-align: center;
	height: 80px;
}
h3 {
	overflow: hidden;
}

/* tet-a-tet */

.dtable {
	background: black;
	color: white;
}
.evenrow {
	background: #FF9000;
	border-bottom: 1px black solid;
}
.oddrow {
	background: #FF9000;
	border-bottom: 1px black solid;
}

.sortable .head h3 {
	background: url(/css/TETATETIMG/sort.gif) 7px center no-repeat;
	padding: 12px;
}
.sortable .desc h3 {
	background: url(/css/TETATETIMG/desc.gif) 7px center no-repeat;
	padding: 12px;
}
.sortable .asc h3 {
	background: url(/css/TETATETIMG/asc.gif) 7px center no-repeat;
	padding: 12px;
}
#perpage {
	background-color: black;
}
#navigation {
	background-color: black;
}
#pagelimit {
	color: lime;
}
#currentpage {
	color: red;
}
.fa.fa-fast-backward,.fa.fa-backward,.fa.fa-forward,.fa.fa-fast-forward {
	color: white;
}
#text {
	background-color: black;
	color: white;
}
tbody {
	color: white;
}
a {
	text-decoration: none;
	color: inherit;
}

.fa.fa-info-circle {
	font-size: 50px;
	color: black;
}