/* CSS Document for Twopcharts */ 
:root { --main-blue: #1da1f2; --main-dark: #333333; --main-dark-lighter: #999999; --main-green: #1df2a1; --main-green-lighter: #b7fbe1; } 
.bigger { font-size: 1.2rem }
.big { font-size: 1.3rem }
.biggest {font-size:  1.4rem}
.dark { color:  var(--main-dark); }
.dark-lighter { color:  var(--main-dark-lighter); }
.blue { color:  var(--main-blue); }
.bold { font-weight: bold; }
.pointer { cursor: pointer; }
.border { border-width: 1px; }
.noborder { border-width: 0px; }
.div-header { width: 100%; text-align: center; font-weight: bold; margin-bottom: 10px; }
.bg_grey { background: #f3f3f3; }
.center { text-align: center; }
.left { text-align: left; }



* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Heebo', sans-serif;
  color:  #333333;
  -webkit-appearance: none;
}

input[type="radio"] { -webkit-appearance: radio; }
input[type="checkbox"] { -webkit-appearance: checkbox; }

body, form {
  line-height: 20px;
  font-size:  16px;
  color:  var(--main-dark);
}

.wrapper {
  background-color: #ffffff;
  display: grid;
  border-style: solid;
  border-color: red;
  border-width:  0px;
  grid-template-columns: 300px 1fr 300px;
  grid-template-rows: auto auto 1fr auto;
  grid-gap: 1px;
  //width: 100vw;
  //width:  100%;
  max-width:  1500px;
  margin:  auto;
  //height: 100vh;
  padding:  1px;
}

.header {
  border:  solid 0px red;
  background-color: #333333;
  font-size:  1.4em;
  color: #1da1f2;
  display: grid;
  grid-column: 1 / 4;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.selectors {
  border:  solid 0px red;
  background-color: #ffffff;
  border-bottom:  solid 5px #333333;
  display:  flex;
  grid-column: 1 / 4;
  grid-row: 2;
  padding: 5px;
}
.selectors-item {
  flex: 1;
  text-align: center;
}

.two {
  margin:  5px 0px 5px 5px;
  border: solid 1px #999999;
  grid-column: 1;
  grid-row: 3; 
}
.mid {
  border: solid 0px red;
  grid-row: 3;
  grid-column: 2;
  padding:  5px;
  overflow-y:  auto;
}
.four {
  margin:  5px 5px 5px 0px;
  border: solid 1px #999999;
  grid-column: 3;
  grid-row: 3;
}

.textbox {
  border-style: solid;
  border-color: #999999;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 10px;
}

input, table, button, textarea { font-size: 16px; }
.avabox {width:  70px}

@media only screen and (max-width: 580px) {      
  body, form { line-height: 17px; font-size:  14px; }
  input, table, button, textarea{ font-size: 14px; }   
  .textbox {padding:  5px; }
  .avabox {width:  50px}  
}

@media only screen and (max-width: 1000px) {  		
		.wrapper { 
	 	  grid-template-columns: 0px 1fr 0px;
		 	grid-gap:  10px 0px;
		 	}
    .two { display: none;}
		.mid { grid-column: 2; }
		.four { display: none;}

}



.footer {
  border-style: solid;
  grid-column: 1 / 4;
  grid-row: 4;
  display: flex;
  background-color: #333;
  padding:  5px;
}
.footer-left {
  flex:  1;
  text-align: left; 
}
.footer a {
  color: #ffffff;
  text-decoration: none;
}
.footer-text {
  color: #1da1f2;
}
.footer a:hover {
  color: #999999;
  text-decoration: underline;
}

.menu_elements a {
  color: #333333;
  font-weight: bold;
  text-decoration: none;
}
.menunav { background-color: #fff; padding: 5px }
.menunav a { padding: 6px; color: #1da1f2; text-decoration: none; display: block }
.menunav a:hover { color: #ffffff; background: #1da1f2 }

.bluwhi, .whiblu, .greywhi, .whigre, .redwhi, .whired, .gregrey {-webkit-appearance: none; width:  auto; padding: 6px; font-size: 14px; font-weight: bold; text-decoration: none; border-radius: 5px; margin: 3px}
.whiblu:hover, .bluwhi:hover, .greywhi:hover, .whired:hover, .redwhi:hover { color:  #ffffff; background: #666666; border: solid 1px #000000}
.bluwhi, .whiblu {border: solid 1px #1da1f2}
.redwhi, .whired {border: solid 1px #f21c1c}
.greywhi {border: solid 1px #1da1f2; width: 100%; margin: 0; font-weight: normal}
.bluwhi { color: #1da1f2; background: #ffffff}
.whiblu { background: #1da1f2; color: #ffffff}
.redwhi { color: #f21c1c; background: #ffffff}
.whired { background: #f21c1c; color: #ffffff}
.greywhi { background: #e7f5fe; color: #333333}

.blue-link a { color: #1da1f2; text-decoration: none; font-weight: normal;}
.blue-link a:hover { color: #666666; text-decoration: underline; }

.input-username {
  background:  #ffffff;
  border: solid 0px green;
  display: inline-grid;
  grid-template-columns: auto auto auto;
}
.input-username-item {
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: #999999;
  border-style: solid;  
}
.show_user_1 {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(6, 1fr);
  width: 100%;
  grid-gap:  0px;
 }
 
 .show_user_1_banner {
    grid-column: 1 / span 15;
    grid-row: 1 / span 5;
    aspect-ratio:  3/1;
    margin: 0;
    padding: 0;
    z-index: 1;  
 }

  .show_user_1_banner > img {
       box-sizing: border-box;
    max-width:  100%;
    border:  solid 5px #333333; 
 }
  .show_user_1_ava {
    grid-column: 2 / span 3;
    grid-row: 4 / span 3;  
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    z-index: 2;
 }
  .show_user_1_ava > img {
    box-sizing: border-box;
    max-width:  100%;
    border:  solid 5px #333333;  
    border-radius:  8px;
    z-index: 2;
  }
   .show_user_1_username {
    grid-column: 5 / span 11;
    grid-row: 6; 
    padding-left: 10px;
    display: flex;
    //align-items: center;
    }

.grid_user_2 {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(5, 1fr);
  width: 100%;
  grid-gap:  0px;
 }
 
.show_user_2_banner { grid-column: 1 / span 15; grid-row: 1 / span 5; aspect-ratio:  3/1; margin: 0; padding: 0; z-index: 1; }
.show_user_2_banner > img { max-width:  100%; border: solid 3px #333333 }
.show_user_2_ava { grid-column: 1 / span 5; grid-row: 1 / span 5; aspect-ratio: 1; margin: 0; padding: 10px; z-index: 2; }
.show_user_2_ava > img { box-sizing: border-box; max-width: 100%; border: solid 3px #333333; border-radius:  0px; z-index: 2; }

.grid_user_3 { background-color: #ffffff; border: solid 3px #333333; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(1, 1fr); width: 100%; grid-gap:  0px; }
.show_user_3_ava { grid-column: 1 / span 1; grid-row: 1 / span 1; aspect-ratio: 1; margin: 0; padding: 5px; z-index: 2; }
.show_user_3_ava > img { box-sizing: border-box; max-width: 100%; border: solid 3px #333333; border-radius:  0px; z-index: 2; }

.grid_user_4 {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: repeat(3, auto);
  width: 100%;
  grid-gap:  0px;
 }
.grid_user4_pos1 { grid-column: 1 / span 3; grid-row: 1; margin: 0; padding: 0; font-weight: bold; }
.grid_user4_pos2 { grid-column: 1 / span 1; grid-row: 2 / span 1; margin: 0; padding: 5px; background: cyan; }
.show_user4_pos2 > img { width: 70px; border-radius:  8px; }
.grid_user4_pos3 { grid-column: 2; grid-row: 2; margin: 0; padding: 0; background: pink; }
.grid_user4_pos4 { grid-column: 3; grid-row: 2; margin: 0; padding: 0; background: greenyellow; }
.grid_user4_pos5 { grid-column: 1 / span 3; grid-row: 3; margin: 0; padding: 0; }



  .ts {
  background-color: yellow;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(7, 1fr);
  width: 100%;
  grid-gap:  5px;
 }

 .ts > div {
  background-color: orange;
 }

.download-overview { width:  100%; padding-top: 5px; font-weight:  bold; color: var(--main-dark-lighter);text-align: center; cursor: pointer; }
.download-overview:hover { color: var(--main-dark); }
.table1 table {width: 100%; border-collapse: collapse; background: #ffffff; color: #333333}
.table1 td, .table1 th {padding: 5px; border: solid 1px #999999; text-align: center}
.table1 tr:nth-child(even) {background: #ffffff}
.table1 tr:nth-child(odd) {background: #f3f3f3}

.highcharts { display:  block; border: solid 1px #999999; border-radius: 8px; padding: 5px; max-height: 500px; margin: 0 auto; }

.sidenav {height: 100%; width: 0; position: fixed; top: 0; left: 0; background: var(--main-dark); transition: 0.5s; padding: 0px 0px; overflow: auto }
.sidenav a { padding: 8px 8px 8px 32px; text-decoration: none; color: #f3f3f3; display: block; transition: 0.3s }
.sidenav a:hover { color: #f1f1f1; background: var(--main-blue) }
.sidenav .closebtn { position: absolute; top: 0; right: 0px; padding: 10px; font-size: 36px }
@media screen and (max-height: 450px) {
  .sidenav { padding-top: 15px } 
  .sidenav a {font-size: 18px;}
  }

#myBtn_up {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 10px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: var(--main-blue); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px 15px; /* Some padding */
    border-radius: 5px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}  

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(29,161,242,0.8); /* Black background with opacity */
  z-index: 3; /* Specify a stack order in case you're using a different order for other elements */
}

.popup {
  display:  none;
  border: solid 0px red;
  grid-row: 3;
  grid-column: 2;
  margin:  0px;
  padding:  0px;
  z-index:  4;
  overflow-y:  auto;

}
.popup > div {
  margin: 0px 10px;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
}
.popupClose {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  border-bottom: solid 1px #cccccc;
  cursor:  pointer;  
}
.popupClose:hover {
  background:  #f3f3f3;
}

.popupContent { margin-top: 10px; }
#description { display:  none; }

.selected,  .selectable, .unselectable { -webkit-appearance: none; float: left; font-size: 14px; margin: 5px; width: 80px; border-radius: 5px; color: #333333; padding: 5px; border: solid 2px #999999; }
.selected { background: var(--main-green); }
.selectable { background: var(--main-green-lighter); }
.unselectable { background: #f3f3f3; }
.selected:hover,  .selectable:hover, .unselectable:hover { color: #ffffff; background: var(--main-blue); }

#ava_style {width: 48px; height: 48px; border-radius: 5px}
#tweet1 a:link {color: #1da1f2; font-weight: normal; text-decoration: none}  
#tweet1 a:visited {color: #1da1f2; font-weight: normal text-decoration: none}
#tweet1 a:hover {color: #666666; text-decoration: underline}
#tweet2 a:link {color: #999999; font-size: 14px; font-weight: normal; text-decoration: none}  
#tweet2 a:visited {color: #999999; font-size: 14px; font-weight: normal; text-decoration: none}
#tweet2 a:hover {color: #666666; text-decoration: none}
#tweet3 a:link {color: #666666; font-size: 12px; font-weight: bold; text-decoration: none}  
#tweet3 a:visited {color: #666666; font-size: 12px; font-weight: bold; text-decoration: none}
#tweet3 a:hover {color: #666666; text-decoration: none}
#tweet4 a:link {color: #006295; font-size: 12px; font-weight: bold; text-decoration: none}  
#tweet4 a:visited {color: #006295; font-size: 12px; font-weight: bold; text-decoration: none}
#tweet4 a:hover {color: #333333; text-decoration: underline}

.imgio {
  position: absolute;
  transition-property: top, left, width, height, border-radius;
  transition-duration: 1.0s;
}
  
#bgio1 {
  position: relative;
  margin: auto;
  padding: 1px 0px;
  background-repeat: no-repeat;
  transition-property: width, height, border-radius, background-size;
  transition-duration: 1.5s;  
}

.imagetweet {
  outline: none;
  height: 300px;
  width: 300px;
  


  font-family: arial;
  border-style: solid;
  border-width: 5px;
  border-color: red;
  background-color: #f3f3f3;
  color: black;
  font-size:  1rem;
  line-height: 1.25;
  padding: 5px;
  margin: auto;
  background-image: url('');
  background-size:cover;
  background-position: center;
}

.history table {width: 100%; margin: auto; border-collapse: collapse; background: #ffffff; text-align: center; border: solid 0px #999999;}
.history tr:hover td { color: #ffffff; background: #333333; }
.history td, .history th { padding: 5px; border: solid 2px #999999; } 
