div {margin:0px;}
html {height: 100%;}
body {
padding:0px;
margin:0px;
font-family: "Arial", sans-serif;
height:100%;
}

.float{
	position:fixed;
	width:35px;
	height:35px;
	top:40px;
	right:40px;
	background-color:rgb(0, 73, 83);
	color:#FFF;
	border-radius:50px;
	text-align:center;
	box-shadow: 2px 2px 2px #333;
    z-index: 10;
}

.my-float{
	padding:2px 6px 0px 6px;;
}

#ui {
  font-family: sans-serif;
  font-size: 18px;
}

.colorbox-element {
  float:left;
}

.colorbox-text {
  font-size:24px;
  display: block;
  position: relative;
  overflow: hidden;
}

.colorbox-text p {
  margin:0;
}

.colorbox-ui {
  overflow: hidden;
  display: grid;
  align-items: center;
  align-content:space-around;
  opacity: 0.8;
}

.colorbox-controls {
  width:250px;
  overflow-x:hidden;
  position: absolute;
  left:-250px;
  top:0px;
  bottom:0px;
  background-color: #fefefe;
  color: #333;
  opacity: 0.95;
  transition: all 0.3s ease;
  font-size:18px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.colorbox-wrapper {
  display: grid;
  align-content: center;
  grid-template-columns: 60px auto;
}

#colorbox-area {
  height:100%;
  display:grid;
  grid-template-rows: 25% 25% 25% 25%;
}
.ui-buttons {
  display:table-cell;
  vertical-align: middle;
  text-align:center;
}
.ui-buttons:first-child.ui-button:first-child {
  opacity: 0.25;
}
.ui-button {
  background-color: rgb(0,0,0,0.0);
  border:0;
  border-radius:0;
  font-size:24px;
  cursor:pointer;
  margin:5px 0px;
}
.ui-button:last-child {
  margin-top:20px;
}
.ui-button:first-child {
  margin-bottom:20px;
}
label {
  display:block;
}
.colorbox-element {
  margin:3px;
  clear:both;
}
input {
  padding:4px;
  border: 1px solid #ccc;
  margin:2px;
  display: block;
  float:left;
}
input[type="color"] {
  opacity: 1.0;
}
.rgb-element>input {
  width:2em;
  padding:1px;
  text-align:right;
}
.rgb-element {
  text-align:center;
}
.rgb-table {
  position: relative;
  top: -14px;
  border-spacing:0px;
  font-size: small;
}
.slider {
  width:180px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }