/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
  .edit{
 width: 100%;
 height: 25px;
}
.editMode{
 border: 1px solid black;
}

/* TradePlan Table Layout */
.tpTable {
 border:3px solid lavender;
 border-radius:3px;
 font-size:80%;
}

.tpTable tr:nth-child(1){
 background-color:dodgerblue;
}
.tpTable tr:nth-child(1) th{
 color:white;
 padding:10px 0px;
 letter-spacing: 1px;
}

/* TradePlan Table rows and columns */
.tpTable td{
 padding:10px;
}
.tpTable tr:nth-child(even){
 background-color:lavender;
 color:black;
}
 
 
 
 
.formcontainer { 
  display: grid; 
  grid-template-rows:1fr; 
  grid-template-columns:50% 50%; 
}
 
 
 
 
 .column {
  float: left;
  width: 300px;
  /*padding: 30px;*/
  border-radius: 25px;
  margin-left: 30px; 
  margin-top: 30px;
  height: 300px; /* Should be removed. Only for demonstration */
}

form {
    width: 90%;
    margin: 0 auto;
    padding: 0 1em;
}

form label {
    display: block;
    font-size: 0.8em;
    color: darkslategrey;
    padding-left: 3px;    
}

select {
	overflow: visible;
    padding: 7px 15px;
    outline: none;
    transition: border-color 0.35s;
    margin-bottom: 15px;
    border: 1px solid #CCC;
}
 
 /* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
  margin-top: 30px;
  
}

.confirmButton{
	position: relative;
}


.wrapper {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  box-sizing: inherit;
}


.wrapper .icon {
  position: relative;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50%;
  border-color: black;
  padding: 15px;
  margin: 5px;
  width: 30px;
  height: 30px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon button:disabled
{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}



.wrapper .tooltip,
.wrapper .confirmation{
  position: absolute;
  top: 0;
  font-size: 14px;
  background-color: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before,
.wrapper .confirmation::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background-color: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .confirmation_ask {
  top: -53px;
  width: 150px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover .tooltip{
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip, 
.wrapper .confirmation_ask{
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .start:hover,
.wrapper .start:hover .tooltip,
.wrapper .start:hover .tooltip::before {
  background-color: #3b5999;
  color: #ffffff;
}

.wrapper .stop:hover,
.wrapper .stop:hover .tooltip,
.wrapper .stop:hover .tooltip::before {
  background-color: #46c1f6;
  color: #ffffff;
}

.wrapper .suspend:hover,
.wrapper .suspend:hover .tooltip,
.wrapper .suspend:hover .tooltip::before {
  background-color: #e1306c;
  color: #ffffff;
}

.wrapper .resume:hover,
.wrapper .resume:hover .tooltip,
.wrapper .resume:hover .tooltip::before {
  background-color: #333333;
  color: #ffffff;
}

.wrapper .emergencystop:hover,
.wrapper .emergencystop:hover .tooltip,
.wrapper .emergencystop:hover .tooltip::before,
.wrapper .confirmation,
.wrapper .confirmation::before{
  background-color: #de463b;
  color: #ffffff;
}

.wrapper .showlog:hover,
.wrapper .showlog:hover .tooltip,
.wrapper .showlog:hover .tooltip::before {
  background-color: #c0c0c0;
  color: #ffffff;
}

.wrapper .info1:hover,
.wrapper .info1:hover .tooltip,
.wrapper .info1:hover .tooltip::before {
  background-color: #46c1f6;
  color: #ffffff;
}

.wrapper .info2:hover,
.wrapper .info2:hover .tooltip,
.wrapper .info2:hover .tooltip::before {
  background-color: #46c1f6;
  color: #ffffff;
}

.wrapper .settings:hover,
.wrapper .settings:hover .tooltip,
.wrapper .settings:hover .tooltip::before {
  background-color: #8000ff;
  color: #ffffff;
}


.yesNoButton{
 color: #ffffff;
 width: 20px;
 height: 20px;
 padding: 0.1em 0.1em;
 font-size: 14px;
 border-radius: 50%;
 background: #cf3023;
 border: 1px solid #cf3023;
 transition: all .3s;
 box-shadow: 1px 1px 2px #cf3023,
             -1px -1px 2px #cf3023;
}

.yesNoButton:active {
 color: #666;
 box-shadow: inset 1px 1px 3px #804040,
             inset -1px -1px 3px #ff8080;
}



.elemContainer
{
	  line-height: 1;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    flex-wrap: wrap;
}

.element
{
	  line-height: 1;
    box-sizing: border-box;
    vertical-align: baseline;
    min-width: 320px;
    max-width: 31.5%;
    width: 100%;
    margin: 0px 8px 32px;
    align-self: baseline;
    /*background: rgb(18, 24, 39);*/
    background: rgb(138, 141, 151);
    
    border-radius: 32px;
    box-shadow: rgba(25, 19, 38, 0.1) 0px 2px 12px -8px, rgba(25, 19, 38, 0.05) 0px 1px 1px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 24px;
    position: relative;
    text-align: center;
}

.elementHeader
{
	  line-height: 1;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 12px;
}

.elemHeaderLeft
{
	  line-height: 1;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    width: 100%;
    padding-top: 0%;
}
.elemHeaderImg
{
	  line-height: 1;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    max-width: 100%;
}
.elemHeaderRight
{
	  line-height: 1;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.elemHeaderText
{
	  text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    color: rgb(255, 255, 255);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.1;
    font-size: 20px;
}

.headerRightSplitter
{
	  line-height: 1;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}
.headerRight_left
{
	  text-align: center;
    box-sizing: border-box;
    margin: 0px;
    vertical-align: baseline;
    -webkit-box-align: center;
    align-items: center;
    background-color: transparent;
    border: 2px solid rgb(0,0,0);
    border-radius: 16px;
    color: rgb(0,0,0);
    display: inline-flex;
    font-size: 14px;
    font-weight: 400;
    height: 28px;
    line-height: 1.5;
    padding: 0px 8px;
    white-space: nowrap;
}
.headerRight_right
{
	  text-align: center;
    box-sizing: border-box;
    margin: 0px;
    vertical-align: baseline;
    -webkit-box-align: center;
    align-items: center;
    background-color: rgb(255, 114, 13);
    border: 2px solid rgb(255, 114, 13);
    border-radius: 16px;
    color: rgb(255, 255, 255);
    display: inline-flex;
    font-size: 14px;
    font-weight: 400;
    height: 28px;
    line-height: 1.5;
    padding: 0px 8px;
    white-space: nowrap;
    margin-left: 4px;
}

.greenBox
{
    text-align: center;
    box-sizing: border-box;
    margin: 0px;
    vertical-align: baseline;
    -webkit-box-align: center;
    align-items: center;
    background-color: transparent;
    border: 2px solid rgb(104, 207, 41);
    border-radius: 16px;
    color: rgb(104, 207, 41);
    display: inline-flex;
    font-size: 14px;
    font-weight: 400;
    height: 28px;
    line-height: 1.5;
    padding: 0px 8px;
    white-space: nowrap;
}
.infoRow
{
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    color: rgb(255, 255, 255);
    margin-bottom: 4px;
    line-height: 1.2;	
}

.infoFieldLeft
{
	  line-height: 1;

    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    position: relative;

    display: flex;
    flex-direction: column;
    width: 47%;
    padding-top: 0%;
}

.infoFieldRight
{
	  line-height: 1;
	  position: relative;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    flex-direction: column;
    width: 47%;
}
.infoFields
{
	  line-height: 1;
	  font-size: 12px;
	  
	  position: relative;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.separator
{
	  line-height: 1;
    text-align: center;
    box-sizing: border-box;
    vertical-align: baseline;
    background-color: rgb(82, 75, 99);
    height: 1px;
    margin: 10px auto;
    width: 100%;
}
 