﻿:root {
    --maptek-green: #4D9D37;
    --cloud-blue: #337ab7;
    --error-red: #dc143c;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

.modal-sl {
    width: 85%;
    margin: 0 auto;
    padding: 50px;
    position: relative;
    max-width: 2500px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    width: 80%;
    min-width: 1440px;
}

/* Responsive grid style */
.col-template-val {
    margin: 0 0 1em .5em;
}

/* Overwriting switch styles */
.k-switch {
    font-size: 10px !important;
}

.k-switch-on .k-switch-container {
    background-color: green !important;
}

/* Background colours for cards */
.maptek-background {
    background: #4D9D37;
    opacity: 0.6;
}

.cloud-background {
    background: #337ab7;
    opacity: 0.6;
}

.disabled-background {
    background: gray;
    opacity: 0.5;
}

/* Reduce padding for table elements */
.table th, .table td {
    padding: 0.25rem;
}

.tr td {
    padding-left: 50%;
}

.sideMargin {
    margin-left: 5px;
    margin-right: 5px;
}

/* Navigation menu styles */
.navbar-background {
    background: rgba(51, 51, 51, 0.925);
    border: none;
    max-height: 50px;
}

.navrow-background {
    background-color: #999999;
    height: 10px;
}

/* Default body background for all pages */
.body-background {
    background-color: #eeeeee;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* Footer styles */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    border-top: 1px solid #ffffff;
    padding: 15px;
    height: 50px;
    background-color: #cccccc;
    z-index: 99;
}

/* Selected grid row style*/
div.k-grid .k-selectable tr.k-state-selected {
    background-color: transparent;
}

/* Telerik grid row padding */
.k-grid tbody td {
    padding: 6px;
}

/* Telerik card height and width */
.container {
    display: flex;
    flex-wrap: wrap;
}

.k-card {
    width: 265px;
    margin: 5%;
    height: 220px;
    position: relative;
}

/* Overflowing text style with ellipsis*/
.truncate {
    width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Word wrap */
.word-wrap {
    word-wrap: break-word;
}

/* Disable harsh bold table heading */
th {
    font-weight: normal;
}

.badge-pill {
    margin-right: 5px;
    font-size: 85%;
}

.badge-active {
    color: #fff;
    background-color: #4d9d37;
}

.badge-inactive {
    color: #fff;
    background-color: #dc3545;
}

.badge-artefacts {
    color: #fff;
    background-color: #5a3795;
}

.badge-redirect-input {
    color: #fff;
    background-color: #ff581a;
}

.badge-web {
    color: #fff;
    background-color: #007bff;
}

.badge-locked {
    color: #fff;
    background-color: #ffc107;
}

.badge-hidden {
    color: #fff;
    background-color: #ff581a;
}

.badge-all-downloads {
    color: #fff;
    background-color: #4d9d37;
}

.badge-chart-preference {
    color: #fff;
    background-color: #7194a5;
}

.badge-no-downloads {
    color: #fff;
    background-color: #dc3545;
}

.badge-test-data-available {
    color: #fff;
    background-color: #8abdd5;
}

.badge-engine-available {
    color: #fff;
    background-color: #0372a6;
}

.badge-all {
    color: #fff;
    background-color: #3c782c;
}

.badge-gold {
    color: #fff;
    background-color: #ffd700;
}

.badge-silver {
    color: #fff;
    background-color: #b4b4b4;
}

.badge-copper {
    color: #fff;
    background-color: #b87333
}

.badge-zinc {
    color: #fff;
    background-color: #bac4c8;
}

.badge-iron {
    color: #fff;
    background-color: #a19d94;
}

.badge-lead {
    color: #fff;
    background-color: #6c6c6a;
}

.badge-competitor {
    color: #fff;
    background-color: #8abdd5;
}

.badge-admin {
    color: #fff;
    background-color: #5a3795;
}

.badge-supervisor {
    color: #fff;
    background-color: #0372a6;
}

.badge-gpuenabled {
    color: #fff;
    background-color: #3c782c;
}

.badge-staticmachine {
    color: #fff;
    background-color: #7194a5;
}

/* Settings table width */
.responsive-table-width {
    width: 50%;
}

.settings-control-width {
    width: 25%;
}

.text-burnt-warning {
    color: #ff581a !important;
}

.text-gold {
    color: #f5bf03 !important;
}

.text-blue {
    color: #007bff !important;
}


/* Expired notifications background */
.bg-expired-notification {
    background: lightgray;
}

/* Telerik font */
.telerik-font {
    font-size: 16px;
    font-family: "Segoe UI", Arial, Sans-serif;
}

.navbar-toggler {
    margin: 0 auto;
    margin-right: 0;
}

/* Setup Error Colour */
.setup-error {
    background-color: orangered;
}

.btnMedia {
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    padding: 0.375rem 0;
}

@media all and (min-width: 480px) {
  .deskContentBlock {
    display: block;
  }

  .deskContentInline {
    display: inline;
  }

  .phoneContent {
    display: none;
  }

  .phoneContentPaddingTop {
    padding-top: 0px;
  }

  .deskContentVisibility {
    visibility: visible;
  }

  .phoneContentVisibility {
    visibility: collapse;
  }
}

@media all and (max-width: 479px) {
  .deskContent {
    display: none;
  }

  .deskContentInline {
    display: none;
  }

  .phoneContent {
    display: block;
  }

  .phoneContentPaddingTop {
    padding-top: 8px;
  }

  .deskContentVisibility {
    visibility: collapse;
  }

  .phoneContentVisibility {
    visibility: visible;
  }
}


@media all and (max-width: 799px) {
    .smallScreenInline {
        display: none;
    }
}

@media all and (min-width: 800px) {
    .smallScreenInline {
        display: inline-block;
    }
}

@media all and (min-height: 850px) {
  .footer-padding {
      padding-bottom: 60px;
  }

  .deskContentHeightBlock {
    display: block;
  }
}

@media all and (max-height: 849px) {
  .footer-padding {
      padding-bottom: 20px;
  }

  .deskContentHeightBlock {
    display: none;
  }
}

@media (max-width: 800px) {
  .homeMinWidth {
    min-width: 0px !important;
  }
}

/* For mobile phones: */
@media only screen and (max-width: 768px) {
    /* Settings table width */
    [class*="responsive-table-width"] {
        width: 100%;
    }
    /* Settings control width - textbox and numerictextbox*/
    [class*="settings-control-width"] {
        width: 75%;
    }
    /* Notifications card content width */
    [class*="col-6"] {
        width: 100% !important;
    }
    /* Footer */
    [class="footer"] {
        position: absolute;
    }
}

/* For large screens */
@media (min-width: 1200px) {
    .pull-right-lg {
        float: right;
    }
}