/*!*Fluid Typography*!*/
html {
  font-size: 16px;
}


body {
    font-family: Ubuntu, sans-serif;
    color: #595959;
}

.navbar-light .navbar-nav .nav-link{
    color: #003b7a;
}

.navbar-light .navbar-nav .nav-link:hover{
    color: #f28b25;
}

.nav .nav-link{
    color: #003b7a;
}

.nav .nav-link:hover{
    color: #f28b25;
}

.nav-link {
    color: #003b7a;
}

.nav-link:hover{
    color: #f28b25;
}


.crm-banner {
    font-size: 1em;
}

button {
    background-color: #003b7a;
    color: white;
    cursor: pointer;
  border: solid 1px #003b7a;
  outline: none;
  transition: 0.4s;
  font-size: inherit;
    border-radius: 8px;
    padding-right: 2em;
    padding-left: 2em;
    padding-top: .7em;
    padding-bottom: .7em;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

button:hover {
  background-color: #f28b25;
}

.btn {
    margin-top: 0px;
    margin-bottom: 0px;
}
/* Style the buttons used on partials for form actions */
.mtm-btn {
    background-color: #003b7a;
    color: #fff;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    padding: .375rem .75rem;
    width: auto;
    text-align: center;
    border: none;
    border-radius: 0.25rem;
    transition: 0.4s;
    font-size: inherit;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.btn:hover {
  background-color: #f28b25;
    color: #fff;
}

.mtm-icon-btn {
    background-color: transparent;
    color: #003b7a;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    padding: .175rem .375rem;
    text-align: center;
    border: solid 1px #003b7a;
    border-radius: 0.25rem;
    transition: 0.4s;
    font-size: inherit;
}

.mtm-icon-btn:hover {
    background-color: transparent;
    color: #f28b25;
    border: solid 1px #f28b25;
}

.mtm-icon-disabled {
    background-color: transparent;
    color: grey;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    padding: .175rem .375rem;
    text-align: center;
    border: solid 1px grey;
    border-radius: 0.25rem;
    transition: 0.4s;
    font-size: inherit;
}

.mtm-icon-disabled:hover {
    background-color: transparent;
    color: grey;
    border: solid 1px grey;
}

.mtm-icon-active {
    background-color: transparent;
    color: #059F4B;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    padding: .175rem .375rem;
    text-align: center;
    border: solid 1px #059F4B;
    border-radius: 0.25rem;
    transition: 0.4s;
    font-size: inherit;
}

.mtm-icon-active:hover {
    background-color: transparent;
    color: #059F4B;
    border: solid 1px #059F4B;
}

/*Accordion styles*/

/* Style the buttons that are used to open and close the accordion panel */
.mtm-component .mtm-accordion {
  background-color: #fff;
  color: #003b7a;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  text-align: left;
  border: solid 1px #f28b25;
  outline: none;
  transition: 0.4s;
  font-size: inherit;
    border-radius: 8px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.mtm-component .active,
.mtm-accordion:hover {
  background-color: #f28b25;
    color: #fff;
}

.mtm-component .mtm-accordion:focus {
  border: 3px solid #f28b25;
  padding: -3px;
}

.mtm-accordion:after {
  content: 'View';
  font-size: inherit;
  color: #003b7a;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: 'Hide';
  font-size: inherit;
    color: #fff;
}

.mtm-accordion:hover:after {
    color: #fff;
}

/* Style the accordion panel. Note: hidden by default */
.mtm-panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
    overflow-y: scroll;
  transition: max-height 0.2s ease-out;
}

/* Message Animation to fade*/

/* Define an animation for messages, to hide them after a specified time */
@keyframes hidealert {
    0% {
        opacity: 1;
        padding: 20px;
        margin-bottom: 10px;
    }

    100% {
        opacity: 0;
        height: 0px;
        min-height: 0px;
        padding: 0px;
        margin-bottom: 0px;
    }
}

/* apply the animation to the class associated with messages */
.alert-fade {
    font-size: 1.0em;
    animation-duration: 0.5s;
    animation-name: hidealert;
    animation-delay: 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/*Tooltip styling */

*[data-tooltip] {
    position: relative;
}

*[data-tooltip]::after {
    content: attr(data-tooltip);

    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;

    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -ms-transition: opacity .15s ease-in-out;
    -o-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;

    display: block;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    background: #ffffff;
    padding: 2px 2px;
    border: 1px solid #003B7A;
    box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.4);
}

*[data-tooltip]:hover::after {
    opacity: 1;
}

.related-object-container {
    border-style: solid;
	border-width: 3px 1px 1px 3px;
	border-color: lightgray;
    padding: 1rem;
    margin-bottom: 2rem;
}

.band-1 {
    border: 5px solid #003b7a;
    border-radius: 5px;
    opacity: 1;
}

.link-primary {
    color: #003b7a;
    text-align: right;
}
.link-primary:hover{
   color: #f28b25;
}
.link-dark:hover{
   color: #f28b25;
    text-align: right;
}

.mtm-info-border {
    border: solid 1px #003b7a;
}

.mtm-info-border {
  animation: fadeInAnimation ease 1s;
    animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.sticky-refresh {
    position: sticky;
    padding-top: 1rem;
    padding-bottom: 1rem;
    top: 0px;
    background-color: #d5e6ff;
}

.fixed-refresh {
    position: fixed;
    bottom: 5%;
    border-radius: 5px;
    right : 5px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #d5e6ff;
}

/* Suppress bullet points on django-filter multicheckbox*/
.mtm-filter ul {
    list-style-type: none;
}

