﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 100vh;
    min-width: 100vw;
}

body::after{ content:''; display:block; height:10vh; }

footer{ 
  position:absolute; 
  bottom:0; 
  width:100%; 
  height:10vh; 
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 600px;
}

textarea {
    min-height: 50px;
    text-wrap: normal;
    word-wrap: hyphenate;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 0px;
    }
    .body-content {
        padding: 0;
    }
}

.lead {
    font-size:medium !important;
}   

.riskimage {
    width: 200px;
    height: auto;
}

.devicedisplay {
    min-height: 98vh;
    width: 99%;
    max-width: 800px;
    margin-top: 5px;
    border: 2px solid darkorange;
    border-radius: 4px;
}

.vakata-context .vakata-contextmenu-shortcut  {
  font-size: 0.8em;
  color: black;
  opacity: 0.5;
  display: block !important;
}


@media only screen and (max-width: 700px) {
    #usersessioncontainer {
        /*margin: auto;*/
        position: fixed;
        top: 20vh;
        left: 0;
        bottom: 0;
        right: 0;
    }
}

@media only screen and (min-width: 701px) {
    #usersessioncontainer {
        /*margin: auto;*/
        position: fixed;
        top: 20vh;
        left: 0;
        bottom: 0;
        right: 0;
    }
}

.listrisk:hover {
    background-color: #007bff;
    color:aliceblue;
    cursor:pointer;
    border-radius: 3px;
}

.spocrow:hover {
    background-color: #007bff !important;
    color:aliceblue;
    cursor:pointer;
    border-radius: 3px;
}

.expand-transition {
  transition: all .3s ease;
  height: 30px;
  padding: 10px;
  background-color: #eee;
  overflow: hidden;
}


/* The container must be positioned relative: */
.custom-select {
    position: relative;
    font-family: Arial;
}

    .custom-select select {
        display: none; /*hide original SELECT element: */
    }

.select-selected {
    background-color: DodgerBlue;
}

    /* Style the arrow inside the select element: */
    .select-selected:after {
        position: absolute;
        content: "";
        top: 14px;
        right: 10px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-color: #fff transparent transparent transparent;
    }

    /* Point the arrow upwards when the select box is open (active): */
    .select-selected.select-arrow-active:after {
        border-color: transparent transparent #fff transparent;
        top: 7px;
    }

/* style the items (options), including the selected item: */
.select-items div, .select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

.trshadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.mainmenuimage {
    padding: 0px !important;
    width: 47px;
    height: auto;
}


[contenteditable] {
    padding-left: 10px;
    /*background: #eee;*/
}

[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    color: #888;
    font-style: italic;
}


