/*#region Global classes***************************************************************************/
.validation-summary-valid {
    display: none !important;
}

body {
    font-weight: 300;
}

.logo-image > a > img {
    max-width: 100%;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
}

img {
    vertical-align: middle;
}

.footer{
    padding-top: 50px;
}

#back-to-top {
    position: fixed;
    right: 20px;
    top: auto;
    z-index: 9999;
}

#back-to-top.affix {
    bottom: 40px;
}
#back-to-top a {
    outline: none;
}
#back-to-top i {
    font-size: 28px;
}

#btnBackToTop
{
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 1px;
}

.modal-header {
    background-color: #EFEFEF;
    border-bottom: 0px !important;
    text-align:center;
}

.modal-footer {
    border-top: 0px !important;
    text-align: center;
}

.modal-body {
    text-align: center;
}

.module-title {
    border: 1px solid;
}

.ui-helper-reset {
    padding: 5px;
}

.alert-error {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #b94a48;
}

.visible-md-inline-block {
    display: inline-block !important;
}

.img-fulltext-float-right {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

.img-fulltext-float-left {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.img-intro-float-right {
    float: right;
    margin-left: 5px;
    margin-bottom: 5px;
}

.img-intro-float-left {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('/fonts/glyphicons-halflings-regular.eot');
    src: url('/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.field-required-after:after {
    color: red;
    content: " * ";
}

.field-required:before {
    color: red;
    content: "* ";
}

/*#endregion***************************************************************************************/

/*#region Dashboard********************************************************************************/
.circle {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 1px solid #c0c0c0;
    border-radius: 80px;
    font-size: 25px;
    font-weight: bold;
    line-height: 80px;
}

.circledescription {
    position: relative;
    display: block;
    font-size: 12px;
    line-height: normal;
    font-weight: bold;
}
/*#endregion***************************************************************************************/

/*#region Lists************************************************************************************/
.list-striped,
.row-striped {
    list-style: none;
    line-height: 20px;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid #dddddd;
    margin-left: 0;
    padding-left: 0;
}
.list-striped li,
.list-striped dd,
.row-striped .row,
.row-striped .row-fluid {
    border-bottom: 1px solid #dddddd;
    padding: 10px 15px;
}
.list-striped li:nth-child(odd),
.list-striped dd:nth-child(odd),
.row-striped .row:nth-child(odd),
.row-striped .row-fluid:nth-child(odd) {
    background-color: #f9f9f9;
}
.list-striped li:hover,
.list-striped dd:hover,
.row-striped .row:hover,
.row-striped .row-fluid:hover {
    background-color: #f5f5f5;
}
.row-striped .row-fluid {
    width: 97%;
}
.row-striped .row-fluid [class*="span"] {
    min-height: 10px;
}
.row-striped .row-fluid [class*="span"] {
    margin-left: 8px;
}
.row-striped .row-fluid [class*="span"]:first-child {
    margin-left: 0;
}
/*#endregion***************************************************************************************/

/*#region Loading Spinner**************************************************************************/
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 100001;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}
/* :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 {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

@-webkit-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-o-keyframes spinner {
    0% {
      -webkit-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes spinner {
      0% {
          -webkit-transform: rotate(0deg);
          -moz-transform: rotate(0deg);
          -ms-transform: rotate(0deg);
          -o-transform: rotate(0deg);
          transform: rotate(0deg);
      }

      100% {
          -webkit-transform: rotate(360deg);
          -moz-transform: rotate(360deg);
          -ms-transform: rotate(360deg);
          -o-transform: rotate(360deg);
          transform: rotate(360deg);
      }
  }
/*#endregion***************************************************************************************/

/*#region Nav Bar**********************************************************************************/
.minListBoxHeight {
    width: 100%;
}

@media (max-width: 480px) {
    .navbar-brand {
        display: none;
    }

    .dropdown > a .caret {
    position: absolute;
    top: 40%;
    right: 12px;
}
}
@media (min-width: 768px) {
    .minListBoxHeight {
        min-height: 800px;
        width: 100%;
    }
}
/*#endregion***************************************************************************************/

/*#region KML Legend********************************************************************************/

.kml-color-legend {
    border-radius: 10px;
    margin: 20px;
    color: white;
    padding: 20px;
    text-align: center;
}

.kml-color-Label {
    border-radius: 10px;
    padding: 0 20px;
}
/*#endregion*/

/*#region Map Regions********************************************************************************/
.regions {
    margin: 20px 0;
}
/*#endregion*/
.has-warning .select2-selection {
    border-color: #8a6d3b !important;
}

td.details-control {
    background: url('../../images/plus.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('../../images/minus.png') no-repeat center center;
}

.ispLogoUpload img {
    margin: 0 auto;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: red;
    cursor: inherit;
    display: block;
}

.attachment-file {
    background-color: white !important;
    cursor: text !important;
}

td.centered
{
   text-align: center;
   margin: 0 auto;
}

.text-nowrap {
    white-space: nowrap;
}

.unit_dropdown {
    width: 200px;
}

.row-disabled {
    color: #c0c0c0;
}

.predefined_btn_column {
    min-width : 80px !important;
}

#premises tr > td:last-of-type {
    text-align: right !important;
}

.text-scroll {
    max-height: 40px !important;
    max-width: 350px;
    overflow-wrap: normal;
    overflow-y: auto;
}

.list-group-item.active a{
    color: #ffffff !important;
}
