﻿@media only screen and (max-width: 768px) {
    .modal-dialog {
        width: 100%;
    }

    #span-release-notes {
        visibility: hidden;
    }
}

body {
    padding-top: 0;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 400px;
}

.cases {
    max-width: 100%;
}

/* bootstrap overrides */
.navbar {
    margin-bottom: 0 !important;
    border-radius: 0px !important;
}

.navbar-brand {
    padding: 5px 10px !important;
}

.navbar-default {
    background-color: #007bff !important;
    padding: 5px !important;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: #9c3 !important;
}

.navbar-commands {
    top: 0px;
    background-color: #D4E6F1 !important;
    padding: 10px !important;
    position: relative;
    z-index: 0;
}

.navbar-commands-button {
    background-color: #027bff;
}

.alert {
    margin-top: 20px;
}

.dropdown-menu > li > a {
    color: black !important;
}

.navbar-default a {
    color: white !important;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: #9c3;
}

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #9c3;
    border-radius: 4px;
}

.menu-item {
    margin: 0px 0px 0px 4px;
}

.menu-item > a:hover {
    background-color: #9c3 !important;
    border-radius: 4px;
}

.menu-active {
    background: #9c3;
    border-radius: 4px;
}

.modal-dialog {
    width: 80%;
}

#span-release-notes {
    position: fixed;
    right: 10px;
    top: 10px;
    color: white;
}

.portal-modal-header {
    background: #9c3;
}

.portal-delete {
    color: red;
}

.portal-map {
    position: inherit !important;
    height: 100%;
}

/* Quill */
.ql-editor {
    min-height: 175px;
}

/* Cases */
/* - Awesomplete */
.cases-dropdown-btn {
    padding-inline: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: 1px solid #ccc;
    border-left: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.d-flex {
    display: flex;
}

.w-100 {
    width: 100%;
}

.align-items-stretch {
    align-items: stretch;
}

.dropdown-input, .awesomplete input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Case Priorities */
.priority {
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin-right: 5px;
    opacity: 0.8;
    width: 10px;
}

.p1 {
    background-color: #e62121;
}

.p2 {
    background-color: #ea6821;
}

.p3 {
    background-color: #ed9522;
}

.p4 {
    background-color: #eeb222;
}

.p5 {
    background-color: black;
}

.p6 {
    background-color: black;
}

.p7 {
    background-color: #bebebe;
}

/* Avatar */
.circle {
    background-color: #fff;
    border: 2px dashed black;
    height: 100px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 100px;
}

/* Google Maps */
#legend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 3px solid #000;
}

#legend h3 {
    margin-top: 0;
}

#legend img {
    vertical-align: middle;
}

/* CRM Classes */
.crm-sent {
    color: white;
    background-color: #337ab7;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}

.crm-received {
    color: white;
    background-color: #9c3;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
}

/* WRRS */
.captured-image {
    max-width: 100%;
    border: black solid 2px;
    padding: 10px;
}

/* Awesomplete */
.awesomplete > input {
    width: 400px;
}

/* - Handles blank/empty option so it isn't just a sliver in the dropdown */
.awesomplete > ul > li {
    min-height: 25px
}