@media print {
    .container {
        width: auto;
    }
}

.body_margin {
    margin-bottom: 100px;
}

.branding {
    height: 55px;
    margin-right: 20px;
}
.page-title {
    text-transform: uppercase;
    text-align: right;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
}
.main-title {  
    vertical-align: middle;
}
.main-title span {  
    padding: 0px 7px 2px 10px;
    margin: 0 10px;
    background-color: #e2671f;
}
.navbar {
    background-color: #d9dada;
}

.navbar-collapse {
    padding: 10px;
}
.navbar-toggler {
    margin: 0 10px;
}

#locationMap,#locationMapEdit {
    height: 250px;
}

div.content-grey{
    background-color: #f5f3f3;
    padding: 10px;
    border-radius: 15px;
}

@media (max-width: 768px)
{
    .navbar-togler-container {
        width: 100%;
        display: flex;
        justify-content: end;
    }
}

@media (min-width: 768px)
{
    .page-title {
        font-size: 1.5rem;
    }
    .navbar-collapse {
        padding: 0;
    }
}

#wrapper {
    min-height: calc(100vh - 122px);
}
#wrapper.wrapper-w-menu {
    min-height: calc(100vh - 178px);
}

.bg-primary {
    background-color: #626262 !important;
    color: #ffffff;
}

.text-primary {
    color: #262626 !important;
}
.border-primary {
    border-color: #000000 !important;
}

.btn-primary{
    background-color: #000000;
    border-color: #000000;
}
.btn-outline-primary{
    color: #000000;
    border-color: #000000;
}
.btn-outline-primary:hover{
   background-color: #000000;
    border-color: #000000;
}

.bg-secondary {
    background-color: #e2671f !important;
}

.text-secondary {
    color: #e2671f !important;
}
.border-secondary {
    border-color: #e2671f !important;
}

.btn-secondary{
    background-color: #e2671f;
    border-color: #e2671f;
}
.btn-outline-secondary{
    color: #e2671f;
    border-color: #e2671f;
}
.btn-outline-secondary:hover{
      background-color: #e2671f;
    border-color: #e2671f;
}

.page-item:not(.active) > .page-link{
    color: #e2671f !important;
}

.page-item.active > .page-link{
    color: white !important;
    background-color: #e2671f !important;
    border-color: #e2671f !important;
}

h1 {
    font-size: 1.6rem;
}
h2 {
    font-size: 1.25rem;
}
h3 {
    font-size: 1rem;
}

.fs-6 {
    font-size: 0.8rem!important;
}
.display-7{
    font-size: 1.5rem;
}
.remove-link-format{
    color: #212529 !important; 
    text-decoration: none !important;
}
input.search-input{
    padding: .15rem .75rem !important;
}

dt {
    font-weight: normal;
}
dd{
margin-bottom: 0;
}

.input-group-w0 {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.input-group-w0>.form-control, .input-group-w0>.form-floating, .input-group-w0>.form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

a>i:hover{
    color: #000000 !important;

}
table .btn-sm {
    line-height: 1;
}
.btn.submit {
    min-width: 108px;
}

.field-required:after {
    content: "*";
    color: red;
}

.nav-link.active {
    font-weight: bold;
}

.aps-cards .card {
    border-style: solid;
    border-width: 2px;
}

.aps-cards .card.primary{
    background-color: #000000;
    border-color: #000000;
    color: #212529 ;
}
.aps-cards .card.primary-outlined{
    border-color: #000000;
}
.aps-cards .card.primary-outlined .card-title{
    color: #000000 ;
}

.aps-cards .card.secondary{
    background-color: #e2671f;
    border-color: #e2671f;
    color: white ;
}
.aps-cards .card.secondary-outlined{
    border-color: #e2671f;
}
.aps-cards .card.secondary-outlined .card-title{
    color: #e2671f ;
}

.aps-cards .card.danger{
    background-color: #dc3545;
    border-color: #dc3545;
    color: white ;
}
.aps-cards .card.danger-outlined{
    border-color: #dc3545;
}
.aps-cards .card.danger-outlined .card-title{
    color: #dc3545 ;
}

.aps-cards .card-body {
    flex: 1 1 auto;
    padding: 0.1rem 0.1rem;
    display: flex;
    flex-direction: column;
}
.aps-cards .card-title {
    margin-top: auto;
}

.aps-cards .col {
    margin-top: 15px;
}

.aps-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

dd {
    text-align: right;
    font-weight: 500;
}
.opacity-100{
    opacity: 1 !important;
}

.form-text-important{
    animation: attention 1.5s ease-in-out 3; /* Run 3 cycles over 1.5 seconds */
    opacity: 1;
    transform: scale(1);
}

@media (min-width: 576px)
{
    .container, .container-sm {
        max-width: unset;
    }
    dd {
        text-align: left;
        font-weight: 400;
    }
}


.footer a:hover {
    color: #c5c6c6;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    padding: 0 20px;
}



.aps-marker {
  background-image: url('../imgs/aps-pointer-green.png');
  background-size: contain;
  background-repeat: no-repeat;
  width: 21px;
  height: 31px;
}
.aps-marker-green {
    background-image: url('../imgs/aps-pointer-green.png');
}
.aps-marker-red {
    background-image: url('../imgs/aps-pointer-red.png');
}
.aps-marker-yellow {
    background-image: url('../imgs/aps-pointer-yellow.png');
}

.custom-popup p{
    margin: 0;
}
.custom-popup .btn-sm{
    padding: .1rem .5rem;
}

.alert-danger {
    color: #212529;
    background-color: #ffe199;
    border-color: #fdcc57;
}
.alert-success {
    color: #212529;
    background-color: #d0ffe9;
    border-color: #35a773;
}

.abox {
    margin-bottom: 1rem;
    min-height: calc(100% - 1rem);
}
.abox p {
    margin-bottom: 0.3rem;
}

.clickable-table tr {
    cursor: pointer;
}
#devices-table tr {
    cursor: pointer;
}

#users-table tr {
    cursor: pointer;
}

img.photo {
    cursor: pointer;
}

#newUserForm .input-group{
    width: 75% !important;
}
.image-preview .preview-img {
    position: relative;
    width: 48%;
    padding: 2px;
    padding-top: 35.4%;
    overflow: hidden;
    float: left;
    border: 1px solid #ced4da;
    text-align: center;
    cursor: pointer;
}

.image-preview img {
    position: absolute;
    top: 50%;
    left: calc( 50% + 2px );
    width: calc(100% - 8px);
    transform: translate( calc(-2px - 50%), -50%);
}

@media (min-width: 768px)
{
    .image-preview .preview-img {
        width: 32%;
        padding-top: 23.75%;
    }
}


.preview-img .delete-photo {
    position: absolute;
    top: 5px;
    right: 4px;
    background: rgb(255 255 255 / 75%);
    padding: 6px;
    cursor: pointer;
}

.preview-img .delete-photo:hover {
    background: white;
    color: #0d6efd;
}

.photo-name-badge {
    position: absolute;
    top: 5px;
    left: 4px;
    padding: 6px;
}


.img-thumbnail {
    border: none;

}

.floating-box {
    left: 50px;
    display: block;
    right: 50px;
    min-height: 50px;
    position: fixed;
    top: 106px;
    width: auto;
    z-index: 999;
}

.general-info-box {
    display: block;
    right: 50px;
    min-height: 50px;
    position: fixed;
    bottom: 50px;
    width: auto;
    z-index: 999;
}

.general-info-box .alert-warning {
    --bs-alert-border-color: #c86e30;
}

#bg {
    position: fixed;
    background: #ffffffd9;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.modal-dialog img {
    max-width: 100%;
}

.min-w-170 {
    min-width: 170px;
}

.edit-button{
    cursor: pointer;
}
.edit-button:hover{
    color: #000000;
}
.clickable{
    cursor: pointer;
}

.clickable-with-animation{
    cursor: pointer;
}

.clickable-with-animation:hover{
    color: #e2671f;
}
.clickable-with-animation.selected{
    color: #e2671f;
}
.hoverable:hover{
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.clickable-icon{
    cursor: pointer;
}
.clickable-icon:hover{
    color:#e2671f;
}

.selected-card{
   transform: scale(1.05);
   box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.data-table tbody tr{
    cursor: pointer;
}

.progress{
    height: 24px;
    background: rgba(0,0,0,0.1);
    border-radius: 15px;
    margin-bottom: 30px;
    overflow: visible;
    position: relative;
}
.progress .progress-bar{
    border-radius: 15px;
    box-shadow: none;
    position: relative;
    animation: animate-positive 2s;
    overflow: visible;
}
.progress .progress-value{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    line-height: 38px;
    background: #fff;
    border: 5px solid #0d6efd;
    font-size: 12px;
    font-weight: 600;
    color: #0d6efd;
    position: absolute;
    top: -11px;
    right: -5px;
    box-shadow: 0px 0px 3px 1px rgb(0 0 0 / 52%);
}
.progress .progress-value span{
    font-size: 14px;
}

.aps-preview{
    padding: 0.5rem;
    height: 100%;
}
.aps-preview:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    cursor: pointer;
    z-index: 1;
}
.aps-preview .img-container{
    text-align: center;
    position: relative;
    width: 100%;
    padding: 2px;
    padding-top: 75%;
    overflow: hidden;
}
.aps-preview img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

.reason {
    font-size: 0.8rem;
}

.fault-badge {
    font-size: 13px;
}
.faultCarouselLink {
    font-weight: 600;
    cursor: pointer;
}
.faultCarouselLink:hover {
    color: #0d6efd;
}

.short-table {
    max-height: 160px;
    overflow-x: hidden;
    border: 1px solid #dee2e6;
}
#useExistingUserCheck .form-check-input {
    margin-left: -10px;
    margin-right: 10px;
}

.signal-ico {
    width: 32px;
}

.select2-in-modal{
    z-index: 1056;
}
.select2-container--bootstrap4 .select2-results__group {
  font-weight: bold;
  font-size: 12px;        
  padding: 3px 10px 0px;
  border-top: 1px solid #ccc;
}
@media print {
    * {
        -webkit-print-color-adjust: exact !important;   /* Chrome, Safari */
        color-adjust: exact !important;                 /*Firefox*/
    }

    body {
        font-size: 13px!important;
        zoom: 70%;
    }
    h1 {
        font-size: 18px!important;
    }
    h2 {
        font-size: 16px!important;
    }

    .edit-button{
        display: none;
    }
    .navbar{
        display: none;
    }

    #requestStateTable .action{
        display: none;
    }

    @page {
        margin-top: 2cm;
        margin-bottom: 2cm;
        margin-left: 2cm;
        margin-right: 2cm;
    }



}


/*Transitions*/
@keyframes attention {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.7;
      transform: scale(1.2);
    }
  }