@font-face {
  font-family: "pixelnes";
  src: url("../fonts/Pixel_NES.otf") format("opentype");
}

@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
[v-cloak] {display: none}

*:not(i){
  font-family: 'Rubik', sans-serif!important;
}

body,
html {
  background-color: rgb(34 34 34) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #393939;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ff4065;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ff1744;
}

.uk-button:not(:disabled), .uk-input, .uk-modal-dialog{
  border-radius: 3px;
}

.blasterColor{
  color:#FF1744;
}

#search {
  position: absolute;
  z-index: 6;
  background-color: #252525;
  color: white;
  border: none;
  width: 80px;
  margin: 0;
  padding-left: 7px;
  box-shadow: inset -5px 0px 0px #202020;

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

#main {
  display: none;
  background-color: rgb(40 40 40) !important;
  height: 100%;
  position: relative;
}

#pdf {
  display: none; 
  color: #fff !important;
}

#uiCanvas {
  position: absolute;
  image-rendering: pixelated;
  image-rendering: optimizeSpeed;
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  background-color: transparent;
}

#backgroundCanvas,
#renderCanvas,
#maskCanvas,
#maskCanvasHD/*,
#canvas4*/ {
  position: absolute;
  image-rendering: pixelated;
  image-rendering: optimizeSpeed;
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  background-color: transparent;
}

#info {
  display: none;
  position: absolute;
  background-color: #222;
  padding: 10px;
  width: 100%;
  height: 100%;
  overflow: scroll;
  
}
#new {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #222;
  z-index: 100;
}

#controls {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #222;
}

#discover {
  background-size: cover;
  background-repeat: no-repeat;
  /* background-image: url('../img/new.png');*/
}

#discoverName {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: white;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 8px;
}

#new-grid {
  height: 100%;
}

.table-container {
  border-radius: 10px;
}

.table {
  color: white;
}
#color-table {
  height: 320px;
  overflow-y: auto;
}

#info-table tr, #color-table tr,
#info-table td, #color-table td {
  padding-top: 4 !important;
  padding-bottom: 4 !important;
  background-color: #393939;
  border: #4e4e4e solid 1px !important;
}
#info-table td{
  width: 120px;
}
#colorAmount{
  text-align: right;padding-right: 14px;
}
/*
table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
*/

th {
  line-height: 1.4;
  background-color: #ff1744;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  border: none !important;
  font-size: 30px;
  font-weight: bold !important;
  color: white !important;
}

h1 span {
  font-size: 16px;
}

.btnfloat {
  position: fixed;
  right: 10px;
  top: 20px;

  display: flex;

  color: white;
  /* z-index: -1;*/

  user-select: none;
  transition: opacity 700ms ease 0s, color 700ms ease 0s;
  cursor: pointer;
  opacity: 1;
  align-items: center;
  justify-content: center;
  background: rgb(60, 60, 60);
  width: 36px;
  height: 36px;
  border-radius: 100%;
  font-size: 20px;
  box-shadow: rgba(15, 15, 15, 0.2) 0px 0px 0px 1px,
    rgba(15, 15, 15, 0.2) 0px 2px 4px;

  z-index: 10;
}
#openinfo{
  background: #ff1744!important;
  top: 29px!important;
  position: absolute!important;
}
#closenew, #closeinfo,#closecropper{
  background: #ff1744
}

#previewContainer {
 /* width: 512px;
  height: 512px;*/
}

#previewCanvas,
#previewCrop {
  border: #4e4e4e solid 1px;

  image-rendering: pixelated;
  image-rendering: optimizeSpeed;
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  max-width: 100%;
  background-color: rgb(255 255 255 / 6%);
  width: 100%;
}

#previewCanvas {
  display: block;
  margin: auto;
}

#navbar {
  display: block;
  height: 60px;
  margin-bottom: 0px !important;
  box-shadow: inset 0px -5px 0px #202020;
  z-index: 100;

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

.uk-grid-small > *,
.uk-grid-column-small > * {
  padding-right: 15px !important;
}

.uk-logo,
.uk-logo:hover {
  color: white;
}
.uk-logo sup {
  font-size: 12px;
}

.uk-navbar-item,
.uk-navbar-nav > li > a,
.uk-navbar-toggle {
  min-height: 40px;
}
.uk-navbar-container:not(.uk-navbar-transparent),
.uk-navbar-dropdown {
  background: rgb(37, 37, 37);
}
.uk-navbar-container {
  color: white !important;
}

.navbar{
  z-index: 10;
}

.color {
  width: 20px;
}

.uk-button-secondary {
  color: white !important;
  background-color: #ff1744 !important;
}

.uk-button-primary {
  color: white !important;
  background-color: #1e87f0 !important;
}

input[type="range"] {
  width: 100%;
}

.label-radio {
  padding: 10px 10px 10px 0px;
}

/*------------------------------

            CONTROLS

------------------------------*/

#controls ul {
  list-style: none;
  padding-left: 0px;
}

#controls li {
  padding-top: 3px;
  padding-bottom: 3px;
}

.keyboard_keys {
  background-image: url("../img/keys.png");
  background-size: 500px;
  vertical-align: middle;
  display: inline-block;
}

.button_key {
  width: 31px !important;
  height: 31px !important;
}

.ctrl_z {
  background-position: 0px 0px;
}

.cmd_z {
  background-position: -31px 0px;
}

.plus_cam {
  background-position: calc(31px * 7)  -31px;
}

.minus_cam {
  background-position: calc(31px * 6)  -31px;
}
.right_cam {
  background-position: -62px 0px;
}

.left_cam {
  background-position: -93px 0px;
}

.up_cam {
  background-position: -124 0px;
}

.down_cam {
  background-position: -155 0px;
}

.erase_tool {
  background-position: calc(calc(31px * 10) + 2px) 0px;
}

.fill_tool {
  background-position: calc(calc(31px * 9) + 2px) 0px;
}

.draw_tool {
  background-position: calc(calc(31px * 8) + 2px) 0px;
}

.pick_tool {
  background-position: calc(calc(31px * 7) + 2px) 0px;
}

.num_1 {
  background-position: calc(31px * 6) 0px;
}

.num_2 {
  background-position: calc(31px * 5) 0px;
}

.num_3 {
  background-position: calc(31px * 4) 0px;
}

.num_etc {
  background-position: calc(calc(31px * 3) + 2px) 0px;
}
.ctrl_key {
  background-position: calc(31px * 2) 0px;
}
.shift_key {
  background-position: calc(31px * 1) 0px;
}
.arrows_key{
  background-position: calc(calc(31px * 3) + 1px) -31px;
}
.q_key{
  background-position: calc(calc(31px * 5) + 1px) -31px;
}
.w_key{
  background-position: calc(calc(31px * 4) + 1px) -31px;
}
.r_key{
  background-position: calc(calc(31px * 10) + 1px) -31px;
}
.c_key{
  background-position: calc(calc(31px * 9) + 1px) -31px;
}
.t_key{
  background-position: calc(calc(31px * 8) + 1px) -31px;
}
/*------------------------------

            TSR

------------------------------*/

#consoles img {
  image-rendering: pixelated;
  transition: 0.3s;
}

#consoles img:hover {
  transform: scale(1.2);
}

#consoles h3 {
  color: white;
  font-family: "pixelnes";
}

/*------------------------------

            tooltip

------------------------------*/

.tooltip {
  display: block !important;
  z-index: 10000;
}

.tooltip .tooltip-inner {
  background: black;
  color: white;
  border-radius: 16px;
  padding: 5px 10px 4px;
}

.tooltip .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
  border-color: black;
  z-index: 1;
}

.tooltip[x-placement^="top"] {
  margin-bottom: 5px;
}

.tooltip[x-placement^="top"] .tooltip-arrow {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

.tooltip[x-placement^="bottom"] {
  margin-top: 5px;
}

.tooltip[x-placement^="bottom"] .tooltip-arrow {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent !important;
  border-right-color: transparent !important;
  border-top-color: transparent !important;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

.tooltip[x-placement^="right"] {
  margin-left: 5px;
}

.tooltip[x-placement^="right"] .tooltip-arrow {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.tooltip[x-placement^="left"] {
  margin-right: 5px;
}

.tooltip[x-placement^="left"] .tooltip-arrow {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.tooltip.popover .popover-inner {
  background: #f9f9f9;
  color: black;
  padding: 24px;
  border-radius: 5px;
  box-shadow: 0 5px 30px rgba(black, 0.1);
}

.tooltip.popover .popover-arrow {
  border-color: #f9f9f9;
}

.tooltip[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s, visibility 0.15s;
}

.tooltip[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.15s;
}

*:focus {
  outline: none;
}

@media screen and (min-width: 1024px) {
  .navbar {
    min-height: 2.7rem !important;
  }
}

canvas {
  max-width: none !important;
}

.nested.dropdown:hover > .dropdown-menu {
  display: block;
}
.nested.dropdown .dropdown-menu {
  top: -15px;
  margin-left: 100%;
}
.nested.dropdown .dropdown-trigger button {
  padding: 0px 0px;
  border: 0px;
  font-size: 14px;
  font-weight: 400;
  height: 2em;
}

.navbar-brand a:hover {
  background-color: transparent !important;
}

.tsrbg {
  background-image: url("https://i.pinimg.com/originals/56/58/6c/56586c83d06a53b3c25ce54bb4278f62.jpg");
  background-size: cover;
}

.header-icon {
  font-size: 20px;
}
#info-icon {
  padding-right: 20px;
  padding-left: 6px;
}

#pdf-container {
  padding-left: 10px;
  text-align: right;
}

.icon-reset {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  padding-right: 8px;
}

#pdf-icon,
#img-icon, 
#printeable-icon,
#fullimage{
  font-size: 23px;

}

.social-btn {
  display: inline-block;
  margin-top: 15px;
  margin-left: 2px;
  width: 180px;
  height: 38px;
  background-color: #4285f4;
  border-radius: 2px;
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25);
}
.social-btn .icon-wrapper {
  position: absolute;
  margin-top: 1px;
  margin-left: 1px;
  width: 34px;
  height: 35px;
  border-radius: 2px;
  background-color: #fff;
}
.social-btn .icon-img {
  position: absolute;
}
.social-btn .btn-text {
  float: right;
  color: #fff;
  letter-spacing: 0.2px;
  font-family: "Roboto", sans-serif;
}

.google-btn .btn-text {
  margin: 11px 17px 0 0;
  font-size: 12px;
}

.google-btn .icon-img {
  margin-top: 9px;
  margin-left: 8px;
  width: 18px;
  height: 18px;
}


.facebook-btn .btn-text {
  margin: 11px 12px 0 0;
  font-size: 11px;
}

.facebook-btn .icon-img {
  margin-top: 4px;
  margin-left: 2px;
  width: 23px;
  height: 23px;
}


.social-container {
  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position-x: center;
}

#login-box ,#register-box {
  border-radius: 4px;
}

.uk-card-title {
  color: white !important;
}

.login-button{
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  color: white;
}

.uk-switcher .uk-card-body{
  background-color: #393939;
  padding: 0px;
  border-radius: 4px;
}

.uk-switcher  .uk-card-body:hover{
  transition: box-shadow 0.2s ease-in-out;
  box-shadow: 3px 3px 11px 1px #00000047;
}

.uk-switcher  .uk-card-body img{
  border-radius: 4px 4px 0 0 ;
}


.uk-switcher  .uk-card-body h3{
  margin-top: 5px!important;
  margin-bottom: 5px!important;
  font-size: 14px;
}

#project-list,#personal-project-list {
  overflow: auto;
  max-height: 560px;

}

.uk-section {
  padding-top: 10px!important;
  padding-bottom: 10px!important;
}

ul[uk-tab] .uk-active{
  background-color: #ff4065;
  padding-right: 20px;
  border-radius: 5px 5px 0 0;
}

ul[uk-tab] .uk-active a{
  color: white!important;
  border: none
}

.uk-fieldset{
  
  padding: 20px;
}

.uk-legend{
  padding-top: 0px;
}




input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

input[type="checkbox"]:focus {
  outline: 0;
}

.toggle {
  height: 20px;
  width: 42px;
  border-radius: 16px;
  display: inline-block;
  position: relative;
  margin: 0;
  border: 2px solid #474755;
  transition: all .2s ease;
}

.toggle:after {
  content: '';
  position: absolute;
  top: 1px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(44, 44, 44, 0.2);
  transition: all 0.2s cubic-bezier(0.5, 0.1, 0.75, 1.35);
}

.toggle:checked {
  border-color: #ff1744;
  background: #ff1744;

}

.toggle:checked:after {
  transform: translatex(20px);
}

#togglePublic{
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  
  justify-content: center;
  align-items: center;
  
  width: 140px;
  height: 40px;
}

#togglePublic label{
  color: white;
  padding-left: 10px;
}

.search-bar{
  width: 100%
}

.select-bar{
  margin-left: 30px;
}

.uk-tab::before{
  border-bottom: 2px solid #ff4065;
}

.uk-legend i{
  color: #ff4065;
}

#project{
  padding:12px
}

#project img{
  height: 100px;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  border-radius: 3px;
  display: block;
  margin: 0 auto;
}

.img-full{
  width: 40%;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  border-radius: 3px;
}

.fav{
    display: inline;
}

.fav i,.fav .uk-card-title{
  display: inline;
}
.fav i{
  padding-left: 5px;
}


.fav .fas{
  color: #ff4065;
}

.fav button{
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.uk-modal-dialog span{
  padding-top: 10px;
  padding-right: 10px;
  float: right;
  font-size: 16px;
  display: inline;
}
.uk-modal-dialog h2{
  display: inline;
}

.uk-modal-dialog span i{
 color: #ff4065;
}

#nameInput{
  background-color: rgb(47 47 47);
  border: none;
  background-image: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-radius: 4px;
  color: white;
  padding: 5px;
}


#projectName{
  display: none;
}

/* LOADING */

#loading-container{
  background-color: #00000033;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
}

.lds-ring {
  display: inline-block;
  position: fixed;
  width: 80px;
  left: 49%;
  top: 49%;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.uk-navbar-dropdown{
  width:230px!important;
}

#overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 13; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgba(0,0,0, 0.5); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  pointer-events:none;
  
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  opacity: 0%;
}

.magic-preview{
  width: 300px;
  display: block;
  margin: auto;
}

.color-selector{
  width: 20px;
  height: 20px;
  margin: 3px;
  border: 1px solid white;
  display: inline-block;
  border-radius: 50%;
  opacity: 1;
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

.colordisabled{
  opacity: 0.3!important;
}

.floatmenu{
  position: absolute;
  top: 100px;
  right: 0px;
  width: 160px;
  z-index: 100;
}

.floatmenu button{
  width: 140px;
  margin-bottom: 10px;
}
.floatmenu p {
  width: 160px;
  text-align: center;
  color: white;
}
.report{
  width: 185px;
  position: absolute;
  right: 16px;
  z-index: 1000;
  cursor: pointer;
  bottom: 68px;
}

#new{
  overflow: auto;
}

#slider-container {
  position: fixed;
  top: 100px;
  left: 150px;
  width: 87px;
  height: 6px;
  background-color: #9b9d9e;
  border-radius: 2px;
  cursor: pointer;
  z-index: 1000;
}

#slider-handle {
  position: absolute;
  top: -5px;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #999;
  border-radius: 50%;
  cursor: pointer;
  background: #ff1744;
}

