@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: portrait) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}

.butTR {
	max-width: 8vw;
	max-height: 8vw;
	width: 64px;
	height: 64px;
}
.bbInd {
	width:5vw; max-width: 64px; min-width: 38px;
	height:5vw; max-height: 64px; min-height: 38px;

}


  #contextMenu { width: 150px; height: 150px;  min-width: 150px; min-height: 150px; background-color: rgba(0,0,0,0.65);
    border: 1px inset rgba(28,110,164,0.72);
    border-radius: 75px; display: none;}
  #contextMenu img { width: 48px; height: 48px; opacity: 0.5;}
  #contextMenu img:hover { width: 48px; height: 48px; opacity: 1.0;
    -webkit-filter: drop-shadow(0px 0px 16px #ffffff);
     filter: drop-shadow(0px 0px 16px #ffffff);
      }

      .unwear { cursor: crosshair; }
      .wear { cursor: cell; }

  canvas { width: 100%; height: 100%; }

  a { cursor: pointer; }

  .tinyExit {
    background-color: #500000; color: white; font-size: 1vw; border-radius: 0.5vw; margin: 0.25vw; padding-left: 0.25vw; padding-right: 0.25vw;
    }
    #chatMessages { list-style-type: none; margin: 0; padding: 0; text-shadow: 1px 1px 3px black;}
    #chatMessages li { padding: 2px 10px; color: #dfa0ff;}
    #chatmodalIframe { width: 100%; height: 100%; padding: 0px; margin: 0px; border: none; border-radius: 1vw; overflow: hidden; background: none; }

    button {
      border-radius: 1vw;
      padding: 0.5vw;
      padding-top: 0px;
      padding-bottom: 0px;
      background-color: #400040;
      color: white;
    }
    .leftBut {
      font-size:14pt;
      width: fit-content;
      background-color: rgba(0,0,0,0.5);
      color: white;
      border-top-right-radius: 1vw;
      border-bottom-right-radius: 1vw;
      margin-right: 1vw;

    }

    .leftButLabel {
      font-size: 48px;
      padding: 4px;
      padding-left: 0.5vw;
      background-color: rgba(0,0,0,0.5);
      color: white;
      text-shadow: 1px 1px 3px black;
      border-top-right-radius: 1vw;
      border-bottom-right-radius: 1vw;

    }

    .leftButContent {
      position: fixed;
      bottom: 0px;
      left: 0px;
      padding: 6px;
      z-index: 230;
      background-color: rgba(0,0,0,0.75);
      border-radius: 8px;
      border-color: gray;
      border-style: solid;
      border-width: 1px;
    }

    .rightBut {
      font-size: 1.2em;
      width: fit-content;
      background-color: rgba(0,0,0,0.5);
      color: white;
      border-top-left-radius: 1vw;
      border-bottom-left-radius: 1vw;
      margin-left: 1vw;

    }

    .rightButLabel {
      font-size: 2em;
      padding: 4px;
      padding-right: 0.5vw;
      background-color: rgba(0,0,0,0.5);
      color: white;
      text-shadow: 1px 1px 3px black;
      border-top-left-radius: 1vw;
      border-bottom-left-radius: 1vw;

    }

    .rightButContent {
      padding: 6px;
      z-index: 230;
    }

    .leftStrip {
      position: absolute;
      top: 4px;
      left: 4px;
      width: 80px; min-width: 80px; max-width: 80px;

    }

    .topRightInfo {
      position: absolute;
      top: 4px;
      right: 1vw;
      font-size: 1vw;
      color: #d0d080;
    }
    .bottomRightInfo {
      position: absolute;
      bottom: 3vh;
      right: 1vw;
      font-size: 1vw;
      color: #d0d080;
      z-index: 180;
    }

    .hymodalmenus {
      z-index: 300;
      background-color: rgba(0,0,0,0.5);
    	border-radius: 1vw;
      border: 1px solid #d3d3d3;
      font-size: 14pt;
    }

    /*Drgable */

    .hymodalmenus {
      position: absolute;
      /*resize: both; !*enable this to css resize*! */
      overflow: auto;
    	z-index: 309;
    }

    .hymodalmenus-header {
      padding: 10px;
      cursor: move;
      z-index: 310;
      background-color: rgba(128,40,128,0.5);
      color: #fff;
    	text-shadow: 1px 1px 3px black;
    	font-size: 14pt;

    }
    .youCanDragMe {
    	animation:fadeOutUcan 1.5s 1;
    	-webkit-animation:fadeOutUcan 1.5s 1;

    	animation-delay:3s;
    	-webkit-animation-delay:3s; /* Safari and Chrome */
    	-webkit-animation-fill-mode: forwards;
    }
    @keyframes fadeOutUcan {
        to {height:0; width: 0; overflow: hidden;}
    }
    @-webkit-keyframes fadeOutUcan {
        to {height:0; width: 0; overflow: hidden;}
    }

    /*Resizeable*/

    .hymodalmenus .resizer-right {
      width: 5px;
      height: 100%;
      background: transparent;
      position: absolute;
      right: 0;
      bottom: 0;
      cursor: e-resize;
    }

    .hymodalmenus .resizer-bottom {
      width: 100%;
      height: 5px;
      background: transparent;
      position: absolute;
      right: 0;
      bottom: 0;
      cursor: n-resize;
    }

    .hymodalmenus .resizer-both {
      width: 5px;
      height: 5px;
      background: transparent;
      z-index: 10;
      position: absolute;
      right: 0;
      bottom: 0;
      cursor: nw-resize;
    }

    /*NOSELECT*/

    .hymodalmenus * {
      -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
      -khtml-user-select: none; /* Konqueror HTML */
      -moz-user-select: none; /* Firefox */
      -ms-user-select: none; /* Internet Explorer/Edge */
      user-select: none; /* Non-prefixed version, currently
                                      supported by Chrome and Opera */
    }

    .closethis {
    	cursor: pointer;
    }

    .avatarNamesList {
    	text-shadow: 1px 1px 3px black;


    }
    ul {
    	list-style: none;
    	padding-left: 1.4em;
      text-indent: -1.2em;
    	margin: 0px;
    	margin-left: 8px;
    }

    li:before {
      content: '⬤ ';
    	display: block;
        float: left;
        width: 1em;
        padding-right: 4px;
        color: #00FF00;
    }


    .joycontainer {
    	font-family: Courier, monospaced;
    	font-size: 16px;
    	font-weight: bold;
    	position: absolute;
    	bottom: 340px;
    	right: 64px;
    	z-index: 440;
    }
    #status1 {
    	position: absolute;
    	top: 500px;
    	left: 0px;
    	z-index: 440;

    }
    #status2 {
    	position: absolute;
    	top: 500px;
    	left: 100px;
    	z-index: 440;

    }

    ::-webkit-scrollbar {
     width: 8px;
     height: 8px;
    }
    ::-webkit-scrollbar-thumb {
     background: linear-gradient(13deg, #f9d4ff 14%,#c7ceff 46%);
     border-radius: 15px;
    }
    ::-webkit-scrollbar-thumb:hover{
     background: linear-gradient(13deg, #c7ceff 14%,#f9d4ff 64%);
    }
    ::-webkit-scrollbar-track{
     background: #ffffff;
     border-radius: 15px;
     box-shadow: inset 7px 10px 12px #f0f0f0;
    }

    body {
			margin: 0;
			height: 100vh;
			width: 100vw;
			overflow: hidden;
			color: white;
			font-size: 1vw;
			font-family: sans-serif;
			background-color: black;
      position: fixed;
      top: 0px;
      left: 0px;
		}
		a { cursor: pointer; color: #ffd0ff; text-decoration: none;}
		a:visted { cursor: pointer; color: #ffd0ff; text-decoration: none;}

	* { touch-action: manipulation; }

	button {
		cursor: pointer;


	border: 1px solid #ffffff;
	border-radius: 1vw;
	box-shadow: 5px 5px 5px black;
	text-shadow: 1px 1px 5px black;
	background: rgb(2,0,36);
	background: linear-gradient(0deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);

	color: #c0ffc0;
	padding: 0.5vw;
	font-size: 16pt;
	}

  .flashit{
  -webkit-animation: flash linear 1s infinite;
  animation: flash linear 1s infinite;

}
@-webkit-keyframes flash {
  0% { opacity: 1; }
  50% { opacity: .1; }
  100% { opacity: 1; }
}
@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: .1; }
  100% { opacity: 1; }
}
