body, html {
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

div.content {
    height: calc(100vh - 50px);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
    backface-visibility: hidden;
    will-change: overflow;
    overflow-y: auto;
}

/* hide bootbox close button */
.bootbox-close-button {
    display: none !important;
}

/* Top Navigation */
.navbar-right {
    margin-right: 0;
}
.navbar {
    margin-bottom: 0;
}

/* Flot Chart Containers */
.flot-chart {
    display: block;
    height: 400px;
}
.flot-chart-content {
    width: 100%;
    height: 100%;
}

.text-nonessential {
    color: #777;
}

.editable {
    border-bottom: none !important;
    cursor: pointer;
}

.word-wrap {
    word-wrap: break-word;
    word-break: break-all;
}

div.content div.bootstrap-table {
    width: 100%;
}

/* select2 */
.select2-container {
    width: 100%;
}
.select2-choice, .select2-choices, .select2-arrow {
    min-height: 34px !important;
    padding-top: 1px !important;
}
.select2-choices .select2-search-field input {
    padding: 0 0 0 8px !important;
}

/* table actions */
table td:last-child button {
    float: right;
    margin: 0 0 1px 1px;
}

/* pulse */
.pulse {
    animation-name: pulse_animation;
    animation-duration: 5000ms;
    transform-origin:70% 70%;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes pulse_animation {
    0% { transform: scale(1); }
    30% { transform: scale(1); }
    40% { transform: scale(1.3); }
    50% { transform: scale(1); }
    60% { transform: scale(1); }
    70% { transform: scale(1.2); }
    80% { transform: scale(1); }
    100% { transform: scale(1); }
}

input[type="file"][hidden] {
    display: none;
}

.pointer {
    cursor: pointer;
}

div.homelogo {
    vertical-align:bottom;
}

/* fix select2 width (https://xcellerant.net/2015/09/17/fixing-the-width-of-a-select-2-with-a-long-value-in-a-bootstrap-form-group-or-input-group/) */
.form-group .select2-container {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    display: table;
    table-layout: fixed;
}
.input-group .select2-container {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    display: table;
    table-layout: fixed;
}

/* tabs border */
ul.nav-tabs a {
    outline: none;
}
div.tab-content {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 3px 3px;
}

@media (min-width:1402px) {
    .modal-lg {
        width:1400px
    }
}

.form-horizontal .label-left{
    text-align: left;
}

.form-horizontal .label-center{
    text-align: center;
}

.highlight a{
    background-color: #29f274 !important;
    color: #ffffff !important;
}

.snom, .mailto, .to_clipboard {
    cursor: pointer;
}

.useralert {
    color: rgb(247, 8, 8);
}

.grey {
    background-color: rgb(236, 236, 236);
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: -5px;
}


.img-thumbnail {
    cursor: pointer;
}
  
.img-thumbnail:hover {opacity: 0.7;}

.pic_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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.9); /* Black w/ opacity */
}
  
.pic_modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1400px;
}
  
#pic_caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
  
.pic_modal-content, #pic_caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
  
.pic_close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.pic_prev {
    position: absolute;
    top: 50%;
    left: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.pic_next {
    position: absolute;
    top: 50%;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.pic_prev, .pic_next, .pic_close {
    display: none;
}
  
.pic_prev:hover, .pic_prev:focus, .pic_next:hover, .pic_next:focus, .pic_close:hover, .pic_close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
@media only screen and (max-width: 700px){
    .pic_modal-content {
        width: 100%;
    }
}


ul li:hover ul{
    display: block;
    opacity: 1;
    visibility: visible;
}



.pdf_modal, .pdfapprove_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999999; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    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.9); /* Black w/ opacity */
}
  
.pdf_modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 2000px;
    height: 95%;
}

.pdfapprove_modal-content {
    margin: auto;
    display: block;
    width: 60%;
    max-width: 2000px;
    height: 95%;
}
  
#pdf_caption, #pdfapprove_caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 20px;
}

.pdf_prev, .pdfapprove_prev {
    position: absolute;
    top: 50%;
    left: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.pdf_next, .pdfapprove_next {
    position: absolute;
    top: 50%;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

#pdfapprove_approved {
    position: absolute;
    top: 40%;
    color: #ccc;
    right: 20px;
    font-size: 20px;
}

.pdfapprove_approve {
    position: absolute;
    top: 45%;
    width: 300px;
    right: 20px;
    font-size: 20px;
}

.pdfapprove_block {
    position: absolute;
    top: 60%;
    width: 300px;
    right: 20px;
    font-size: 20px;
}

.pdfapprove_note {
    position: absolute;
    top: 67%;
    width: 300px;
    right: 20px;
    font-size: 20px;
}

.pdf_close, .pdfapprove_close {
    position: absolute;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
 
.pdf_prev:hover, .pdf_prev:focus, .pdf_next:hover, .pdf_next:focus, .pdf_close:hover, .pdf_close:focus, .pdfapprove_prev:hover, .pdfapprove_prev:focus, .pdfapprove_next:hover, .pdfapprove_next:focus, .pdfapprove_close:hover, .pdfapprove_close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  

div.nesting {
    padding-left: 0;
    padding-right: 0;
}

form.mainpadding {
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-y: auto;
    height: calc(100vh - 50px);

}

.pointer {
    cursor: pointer;
}

div.padl0 {
    padding-left: 0;
}
div.padr0 {
    padding-right: 0;
}
div.space3 {
    margin: 0;
    padding: 3px;
}