﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.successWarningColor {
    background-color: green !important;
}

.cautionWarningColor {
    background-color: yellow !important;
}

.dangerWarningColor{
    background-color: red !important;
}

/* Absolute Center Spinner */

/* 

.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  } */
  
  /* Transparent Overlay */
  .loading:before {
    content: '';
    z-index: 998;
    display: block;
    position: fixed;
    top: 0;
    /* left: 0; */
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
  }

/* @media(min-width:768px) {
    .loading:before {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        min-height: 1300px;
        border-left: 1px solid #e7e7e7;
    }
}
   */
  /* :not(:required) hides these rules from IE9 and below */
  .loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }

/* .loading:not(:required):after {
    z-index: 999;
    width: 75px;
    height: 75px;
    display: block;
    border-width: 2px;
    border-color: rgb(255, 0, 0);
    border-color: rgba(255, 255, 255, 0.05); 
    border-top-color: #fff;
    animation: spin 1s infinite linear;
    border-radius: 100%;
    border-style: solid;
} */

.loading:not(:required):after {
    content: '';
    z-index: 998;
    display: block;
    position: fixed;
    /* top: 200px; */

    top: 25%;
    left: 48%;

    font-size: 10px;
    width: 100px;
    height: 100px;
    border-width: 5px;
    border-color: rgba(0, 0, 0, 0.80);
    /* border-color: rgba(255, 255, 255, 0.05);  */
    border-top-color: rgba(255, 255, 255, 0.05);
    animation: spin 1s infinite linear;
    border-style: solid;
    border-radius: 100%;
  } 

  @-webkit-keyframes spin {
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

@-moz-keyframes spin {
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  @-o-keyframes spin {
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  @keyframes spin {
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  .top-label {
    padding-top: 16px;
  }

  .no-link-style, .no-link-style:hover, .no-link-style:focus {
    color: rgb(51, 51, 51);
    text-decoration: none;
  }

  @media print
{    
    .print-ignore, .print-ignore *
    {
        display: none !important;
    }
}

.details-btn {
    pointer-events: all !important;
    cursor: pointer !important;
    filter: alpha(opacity=1) !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

  /* Transparent Overlay */
  .inside-loading:before {
    content: '';
    z-index: 998;
    display: block;
    position: absolute;
    top: 0;
    /* left: 0; */
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
  }

  .inside-loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
  }

.inside-loading:not(:required):after {
    content: '';
    z-index: 998;
    display: block;
    position: absolute;
    /* top: 200px; */

    top: 25%;
    left: 40%;

    font-size: 10px;
    width: 100px;
    height: 100px;
    border-width: 5px;
    border-color: rgba(0, 0, 0, 0.80);
    /* border-color: rgba(255, 255, 255, 0.05);  */
    border-top-color: rgba(255, 255, 255, 0.05);
    animation: spin 1s infinite linear;
    border-style: solid;
    border-radius: 100%;
  } 


  .invoice-canceled-reference label {
    text-decoration: line-through;
  }

/* fix checkbox */
input[type="checkbox"] {
    margin: 0 0 0 !important;
}

.range-value-label {
  text-align: center;
}

crud h1.page-header button {
  margin-left: 5px;
}