﻿body, html {
    height: 100%;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 140%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 60px
}



.v-cloaking {
    transition: opacity 0.7s ease;
}

[v-cloak] {
    opacity: 0;
}

.vue-is-loading {
    opacity: 0 !important;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}


.no-transition {
    transition: none;
}

.h3 {
    font-size: 20px;
}

.cb-modal-content {
    display: none;
    background-color: white;
    padding: 20px;
    border: 1px solid gray;
    overflow: scroll;
    height: 450px;
    position: relative;
}

.cb-modal-content.noscroll {
    display: none;
    background-color: white;
    padding: 20px;
    border: 1px solid gray;
    overflow: hidden;
    height: 450px;
}

.custombox-modal {
    overflow: hidden;
}


/* thx to http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-centered-columns */
.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
}

.row-centered {
    text-align:center;
}

.cleartext-eye {
    position: absolute;
    right: 20px;
    height: 34px;
    line-height: 34px;
    cursor:pointer;
}


.cleartext-eye:hover {
    color: blue;
}

/*****************************
  Login and login support Page
 *****************************/


#loginForm form {
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

#loginForm form > .login-title {
    flex: 0 1 60px;
}

#loginForm form > .text-danger {
    flex: 0 1 auto;
}

#loginForm form > .takeover-session {
    flex: 0 1 auto;
}

#loginForm form > .company-information {
    flex: 0 1 auto;
}

#loginForm form > .database-selection {
    flex: 0 1 auto;
}

#loginForm form > .normal-login-row  {
    flex: 0 1 auto;
}

#loginForm form > .login-rubber-row-top  {
    flex: 50 1 auto;
    margin: 0;
    padding: 0;
}

#loginForm form > .login-rubber-row-bottom  {
    flex: 100 1 auto;
    margin: 0;
    padding: 0;
}

#loginForm form > .login-button  {
    flex: 0 1 auto;
}


#loginForm form > .login-message {
    padding-left: 0;
    padding-right: 0;
}


#loginForm .centered {
    text-align: center;
}

#loginForm .login-message ul {
    list-style-type: none;
    list-style-image: none;
    margin-left: 0;
    padding-left: 0;
}

#loginForm .login-message li {
    list-style-type: none;
    list-style-image: none;
}

#loginForm .takeover-session.form-group div.toggle {
    width: 60px !important; /* As we add moustache expressions into the data attribute for labels, the box will be set too wide. */
}

#loginForm form .form-group > label {
    text-align: left;
}

.no-padding {
    padding: 0;
}



/* Element spinner */

.element-spinner, 
.element-spinner > img {
    height: inherit;
}

.element-spinner {
    transition: opacity ease 0.3s;
    opacity: 0;
    height: 115%;
    margin-bottom: 1000px;
    margin-top: -3px;
}
.element-spinner.no-transitions {
    transition: none;
}



.element-spinner.element-spinner-button {
    position: absolute;
    margin-top: 0;
    text-align: center;
    margin-bottom: 0;
    z-index: 99999;
}

.element-spinner.element-spinner-button > img {
    height: 90%;
    padding-top: 6%;
}

.spinnable {
    overflow: hidden;
}
.label-explanation {
    font-size: 11px;
}