

  html, body {
    background-color: white;
    margin: 0;
    padding: 0;
  }

  .container {
    max-width: 840px;
    height: auto;
    margin: 0 auto;
  }

  .user {
    display: flex;
    max-width: 850px;
    height: 510px;
    margin: 0 auto;
  }

  #user_map {
    box-sizing: border-box;
    display: block;
    width: 500px;
    height: 500px;
    border: 1px solid black;
  }

  .left-side {
    width: 335px;
    min-width: 335px;
    align-items: center;
  }

  .right-side {
    width: 510px;
    display: flex;
    justify-content: center;
  }

  .user-img {
    box-sizing: border-box;
    display:block;
    width: 300px;
    height: 200px;
    margin-bottom: 5px;
  }

  .text-user {
    box-sizing: border-box;
    display:block;
    text-align: left;
    width: 300px;
    height: 155px;
	font-family: verdana,arial,sans-serif;
	font-size:16px;
    margin-bottom: 5px;
  }

  .text-user p {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .text-qso {
    box-sizing: border-box;
    display:block;
    text-align: left;
    width: 300px;
    height: 75px;
	font-family: verdana,arial,sans-serif;
	font-size:16px;
    margin-bottom: 5px;
  }

  .text-qso p {
    margin-top: 0px;
    margin-bottom: 0px;
  }


  .qso-timer {
    display: inline-block;
    box-sizing: border-box;
    min-width: 82px;
    height: 36px;
    margin: 0 5px 0 auto;
    padding: 2px 8px;

    border: 2px solid #555;
    border-radius: 7px;

    background-color: #ddd;

    font-family: "Courier New", monospace;
    font-size: 22px;
    font-weight: bold;
    line-height: 32px;
    text-align: center;
    color: black;

    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
  }

  .qso-timer.warning {
    color: orange;
  }

  .qso-timer.danger {
    color: red;
  }


  .last-heard {
    margin-top: 10px;
    max-width: 840px;
    height: 750px;
    max-height: 750px;
    min-height: 100px;
    overflow: scroll;
  }

table.mtable {
	font-family: verdana,arial,sans-serif;
	font-size:14px;
	color:#333333;
	border-width: 0px;
	border-color: #e6e6e6;
	border-collapse: collapse; 
 	width: 100%;
}

table.mtable th {
	border-width: 0px;
	font-size:14px;
	font-weight: bold;
	padding: 5px;
	border-style: solid;
	background-color: #FAFAFA;
	border-color: #e6e6e6;
	height:30px;
}

table.mtable td {
	border-width: 0px;
	padding: 5px;
	height: 30px;
}

table.mtable tr:nth-child(even) {
	background-color: #ffffff;
	color: black;
	height: 30px;
    text-align :center;  
}

table.mtable tr:nth-child(odd) {
	background-color: #e6e6e6;
	color: black;
	height:30px;
    text-align :center;  
}

table.mtable tr.tx td {
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.mtable tr.tx a:link {
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.mtable tr.tx a:visited{
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.mtable tr.tx a:hover{
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.mtable tr.tx a:active{
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.ltable {
	font-family: verdana,arial,sans-serif;
	font-size:14px;
	color:#333333;
	border-width: 0px;
	border-color: #e6e6e6;
	border-collapse: collapse; 
 	width: 100%;
}

table.ltable th {
	border-width: 0px;
	font-size:14px;
	font-weight: bold;
	padding: 5px;
	border-style: solid;
	background-color: #FAFAFA;
	border-color: #e6e6e6;
	height:30px;
}

table.ltable td {
	border-width: 0px;
	padding: 5px;
	height: 30px;
}

table.ltable tr:nth-child(even) {
	background-color: #ffffff;
	color: black;
	height: 30px;
    text-align :center;  
}

table.ltable tr:nth-child(odd) {
	background-color: #e6e6e6;
	color: black;
	height:30px;
    text-align :center;  
}

table.ltable tr.tx td {
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.ltable tr.tx a:link {
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.ltable tr.tx a:visited{
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.ltable tr.tx a:hover{
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

table.ltable tr.tx a:active{
	text-decoration: none;
	background-color: #00AFE9; 
	font-weight: bold;
	color: white;
}

a:link { 
	text-decoration: none;
	font-weight: bold;
	color: black;
}

a:visited { 
	text-decoration: none;
	font-weight: bold;
	color: black;
}

a:hover { 
	text-decoration: none;
	font-weight: bold;
	color: black;
}

a:active { 
	text-decoration: none; 
	font-weight: bold;
	color: black;
}

.tab {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;  
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}



/* Mobile layout */
@media screen and (max-width: 750px) {

  .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .user {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .left-side {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .right-side {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .user-img {
      width: 300px;
      height: 200px;
      margin-top: 0px;
      margin-bottom: 0px;
/*    display: none;     */
  }

  .text-user {
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .text-qso {
    width: 300px;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #user_qso:empty {
    display: none;
  }

  #user_map {
    width: 100%;
    height: 250px;
    box-sizing: border-box;
    border: 1px solid black;
  }


  .last-heard {
    width: 100%;
    max-width: 100%;
    height: 750px;
    max-height: 750px;
    margin-top: 3px;
    overflow-x: auto;
    overflow-y: auto;
    box-sizing: border-box;
  }
  table.mtable,
  table.ltable {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }

  table.mtable th,
  table.mtable td,
  table.ltable th,
  table.ltable td {
    padding: 1px 2px;
    height: 24px;
    white-space: normal;
  }

  table.mtable tr:nth-child(even),
  table.mtable tr:nth-child(odd),
  table.ltable tr:nth-child(even),
  table.ltable tr:nth-child(odd) {
    height: 24px;
  }

  table.mtable tr,
  table.ltable tr {
    height: 24px;
  }

  .tab button {
    padding: 8px 8px;
    font-size: 14px;
  }

  .qso-timer {
    min-width: 70px;
    height: 28px;
    margin: 0 5px 0 auto;
    padding: 0 6px;
    font-size: 16px;
    line-height: 24px;
  }


  #table_lh th:nth-child(1),
  #table_lh td:nth-child(1) {
    width: 38%;
    white-space: nowrap;
  }

  #table_lh th:nth-child(2),
  #table_lh td:nth-child(2) {
    width: 14%;
  }

  #table_lh th:nth-child(3),
  #table_lh td:nth-child(3) {
    width: 14%;
  }

  #table_lh th:nth-child(4),
  #table_lh td:nth-child(4) {
    width: 18%;
  }

  #table_lh th:nth-child(5),
  #table_lh td:nth-child(5) {
    width: 16%;
  }




}