﻿@import url('https://fonts.googleapis.com/css?family=Work+Sans');

/**
* Hide when Angular is not yet loaded and initialized
*/
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

:root {
    --scale-tec-blue: #0F4068;
    --scale-tec-yellow: #E7A640;
    --scale-tec-red: #ED2024;
    --scale-tec-darkblue: #0F4068;
    --scale-tec-gray: #58595B;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

md-toolbar.header {
    /*box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);*/
    height:90px;
}
md-toolbar.header > span {
    display:inherit;
}


md-toolbar.header .reap {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    align-items: center;
}
md-toolbar.header .reap > img {
    margin-left: 50px;
    margin-right: 50px;
}
md-toolbar.header .toolbar-buttons {
    margin-right: 130px;
}

md-toolbar.header .toolbar-buttons .active {
    background: rgba(255,255,255, .15);
}
md-toolbar.header .divider.vertical {
    width: 1px;
    height: 45px;
    opacity: 0.3;
    background: #ffffff;
    margin-left: 20px;
    margin-right: 20px;
}

.toolbar-link {
    font-size: 9px;
    line-height: normal;
}

/* Make the parent content area gray */
md-content.md-default-theme, md-content {
    background-color: #f2f2f2;
}

md-grid-tile[ng-click] {
    cursor: pointer;
}

.panel.md-whiteframe-1dp,
.panel.md-whiteframe-2dp,
.panel.md-whiteframe-3dp,
.panel.md-whiteframe-4dp,
.panel.md-whiteframe-5dp,
.panel.md-whiteframe-6dp,
.panel.md-whiteframe-7dp,
.panel.md-whiteframe-8dp,
.panel.md-whiteframe-9dp,
.panel.md-whiteframe-10dp {
    background-color: white;
}

span.md-subhead {
  font-size: 12px;
  color: rgba(0,0,0,0.54);
}

span.md-title {
  font-size: 18px;
}

span.md-headline {
  font-size: 18px;
}

.boxshadow {
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
}

.progress_bar {
    border: 1px solid black;
    color: white;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    height: 24px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 0%,  60%, transparent 60%), linear-gradient(to bottom, #0374c1 0%, var(--scale-tec-blue) 100%);
}


/* The sidebar menu */
md-sidenav,
md-sidenav.md-locked-open,
md-sidenav.md-closed.md-locked-open-add-active {
    min-width: 210px !important;
    width: 85vw !important;
    max-width: 210px !important;
    text-transform: uppercase !important;
    color: var(--scale-tec-blue);
}

.nav-active {
    background-color: #F0F0F0;
}

.footer {
    box-sizing: border-box;
    height: 61px;
    border: 1px solid #979797;
    background-color: #FFFFFF;

}

.copyright {
    color: #0A132F;
    font-size: 14px;
}

#applicationVersion {
    font-size: 60%;
    text-align: center;
}

md-toolbar.header .md-button img {
    margin-top:12px;
}

md-nav-bar {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
}

.md-nav-item ._md-nav-button {
    color:black;
    font-weight:bold;
}

.nav-spacer {
    width : 80px;
}

md-nav-bar md-nav-ink-bar {
  height:5px;
  width: 125px;

}

.leftnav-tab {
    height: 45px;
}

.user-menu-link {
    color: var(--scale-tec-blue);
}

    .user-menu-link:hover {
        background-color: var(--scale-tec-yellow);
    }

.reap-button {
    height: 45px;
    line-height:1.75em;;
    min-width: 155px;
    border-radius: 2px;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
    /* All buttons at this point are aligned to the right edge of the container */
    margin-left: auto;
}

.reap-button > img {
    margin-right: 12px;
    vertical-align: middle;
}

.edit-button {
    height: 45px;
    line-height: 1.75em;
    border-radius: 2px;
    min-width: 100px;
    background-color: var(--scale-tec-blue) !important;
    color: white !important;
}

.edit-button:hover {
    background-color: var(--scale-tec-yellow) !important;
}

.cancel-button {
    height: 45px;
    line-height:1.75em;
    min-width: 155px;
    border-radius: 2px;
    box-shadow: 1px 1px 1px 1px var(--scale-tec-blue);
    /* All buttons at this point are aligned to the right edge of the container */
    margin-left: auto;
    color: var(--scale-tec-blue) !important;
    background-color: white !important;
    border: 2px solid var(--scale-tec-blue);
    border-radius: 2px;
    display: flex;
    justify-content:center;
}

.cancel-button > img {
    margin-right: 12px;
    vertical-align: middle;
}

.delete-button {
    height: 45px;
    line-height: 35px;
    min-width: 80px;
    border-radius: 2px;
    /* All buttons at this point are aligned to the right edge of the container */
    background-color: white !important;
    border: 2px solid var(--scale-tec-red) !important;
    border-radius: 2px;
}

.delete-button > img {
    vertical-align: middle;
}

.content-list {
    margin-top: 20px;

    margin-bottom:15px;
    background: #fff;
    height: auto;
    overflow: auto;
}

.i3-button {
    height: 45px;
    line-height: 40px;
    min-width: 155px;
    border-radius: 5px;
    /* All buttons at this point are aligned to the right edge of the container */
    margin-left: auto;
}
.i3-button > img {
    margin-right: 12px;
    vertical-align: middle;
}

.md-button.default-button {
    border: solid 2px var(--scale-tec-blue);
}

.data-row {
    margin-top:20px;
    margin-bottom:5px;
}

.animate-show-hide.ng-hide {
  opacity: 0;
}

.animate-show-hide.ng-hide-add,
.animate-show-hide.ng-hide-remove {
  transition: all linear 0.3s;
}

.action-buttons > img {
    margin-right: 12px;
    vertical-align:middle;
}

.action-buttons {
    width: 150px;
    text-align: right;
}

#globalErrors {
    padding-left: 40px;
    padding-right: 40px;
    color: white !important;
}
.dialog-errors {
    /* For whatever reason any padding at all causes this element to fill the available space, which is what we want */
    padding: 1px;
    color: white !important;
    background: var(--scale-tec-yellow);
}
#globalErrors li,
.dialog-errors li {
    list-style: none;
}

img[ng-click],
a[ng-click],
a[ng-click] > img {
    cursor: pointer;
}

body > md-content {
    /* Hack to use inset shadow because outset shadow on nav doesn't work */
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.24), inset 0 2px 2px 0 rgba(0, 0, 0, 0.12);
}

#mainContent .md-tab {
    text-transform: none;
    color: black;
}
#mainContent md-tabs .md-tab {
    font-size: 120%;
}
#mainContent md-tabs .md-tab.md-active {
    font-weight: bold;
}

.overview-row {
    font-size: 120%;
    font-weight: bold;
}
.item-detail {
  background:#f3f3f3;
  color:#3b3b3b;
  opacity: 1;
  border-radius:5px;
  padding:20px 20px 20px 20px;

}

.details-card {
    background:#ffffff;
    padding-left: 30px;
    padding-bottom: 40px;
    min-height: 80px;
}
.item-detail-label {
    color:dimgrey;
}

.details-card .label-container,
.details-card .label-container div {
    font-size: 12px;
    color: dimgray;
}

.item-selected {
    -webkit-transition: 0.25s ease-out;
    -moz-transition: 0.25s ease-out;
    -o-transition: 0.25s ease-out;
    transition: 0.25s ease-out;
    transform: rotate(180deg);
}

.item-detail-panel {
    width:65%;
    height:95%;
}
.selected-row {
    font-weight: bold;
}
.nofocus:focus {
    outline: none;
}

md-input-container.no-validation {
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
    line-height: 10px;
}
md-input-container.no-validation .md-errors-spacer {
    display: none;
}

md-input-container.md-input-invalid label,
md-input-container.md-input-invalid label::after,
md-input-container.md-input-invalid input,
md-input-container.md-input-invalid div {
    color: #DC5F29;
    border-color: #DC5F29 !important;
}

div.md-input-message-animation {
    color: #DC5F29 !important;
}

md-select.ng-invalid.ng-touched .md-select-value,
md-select.ng-invalid.ng-touched span::after {
    color: #DC5F29 !important;
    border-color: #DC5F29 !important;
}

.panel {
    border-radius: 1px;
    background-color:#ffffff;
}

.divider {
    width:1px;
    margin-top:20px;
    margin-bottom:20px;
}
/* Panel headers */
.panel md-toolbar {
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
}

.panel md-toolbar .md-toolbar-tools {
    color: white;
}

:focus {
    outline: none;
    border: 0;
}
.entity-detail {

}

.admin-marker {
    text-decoration-color: var(--scale-tec-blue);
    color: white;
}

md-sidenav md-list-item .md-no-style.md-button {
    font-size: 90%;
    font-weight: bold !important;
    text-transform: uppercase;
}
md-sidenav md-list-item .md-no-style.md-button:hover,
md-sidenav md-list-item .md-no-style.md-button:active {
    color: white !important;
}
md-sidenav md-list-item:hover,
md-sidenav md-list-item:active {
    color: white !important;
    background-color: var(--scale-tec-yellow);
}
md-sidenav md-list-item .md-button:not([disabled]):hover .md-list-item-text {
    color: white !important;
}


/** Specializations for account preferences, admin, and activity pages, which are structured differently from all other pages */
md-content#admin .title {
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 600;
}

.number-column {
    display: block;
    max-width: 100px;
    text-align: right;
}

/* Hack to make autocomplete dropdowns look like input fields because Angular Material's floating label support for md-autocomplete is horribly broken */
form[name='transferForm'] .md-whiteframe-z1
{
    box-shadow: none;
    color: red;
}

@media screen and (min-width: 960px) {
    /* Centering logic for mdToast because the Toast team has proven quite recalcitrant about centering */
	md-toast.md-center {
		margin-left: auto;
		margin-right: auto;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		padding: 0px;
	}
}

@media screen and (max-width: 1700px) {
    /* Site header bar should expand to fill horizontal viewport space that it 'encompasses' navbar items */
    md-toolbar.header .reap {
        margin-left: 10px;
    }
    md-toolbar.header .toolbar-buttons {
        margin-right: 10px;
    }
    .nav-spacer {
        width: 10px;
    }
    .details-card {
        padding-left: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

.i3-title {
  height: 21px;
  font-family: Work Sans;
  font-size: 18px;
  font-weight: 300;
  text-align: left;
  color: #000000;

}

.i3-default-action {
  font-family: Work Sans;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  color: var(--scale-tec-blue);
}


.i3-cancel {
  font-family: Work Sans;
  font-size: 12px;
  text-decoration:underline;
  letter-spacing: 1px;
  text-align: center;

  color: var(--scale-tec-yellow);
}
.i3-panel {
    min-width:390px;
    min-height:160px;
}

md-dialog md-dialog-content {
    min-height:80px;
}

.md-button.left {
    border-radius: 5px 0 0 5px;
    margin-right:0px;

}
.md-button.middle {
    border-radius: 0;
    border-left: 1px solid rgba(230, 230, 230, 0.96);
    border-right: 1px solid rgba(230, 230, 230, 0.96);
}
.md-button.right {
    border-radius: 0 5px 5px 0;
    margin-left:0px;

}
.toggle {
     min-width:60px;
}

.toggle.md-button:not([disabled]):hover,
.toggle.md-button.md-primary.md-raised:not([disabled]):hover {
    background-color: var(--scale-tec-blue);
    color: #fff;
    transition: 0.3s;

}
.md-button.active {
   background-color: var(--scale-tec-blue);
   transition: 0.3s;
}
.md-button.button-add-subtract {
   max-height:40px;
   margin-right:1px;
}

.md-button.delete {
  background-color: red;
}


.toggle.md-button.button-preference {
   max-height:40px;
   margin-right:1px;
}

.toggle.md-button.button-preference {
    background-color: white;
    color: black;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.26)
}
.toggle.md-button.button-preference.selected {
    background-color: var(--scale-tec-blue);
    color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
}
.toggle.units {
    max-height:30px;
}

.panel-description {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
    color: #565656;
}

.list-header {
    color: var(--scale-tec-blue);
    font-size: 11px;
    font-weight: bold;
    line-height: 13px;
    text-transform: uppercase;
}

.list-header > div.sortable {
    cursor: pointer;
}

.white-background {
  background-color: white;
}

.status {
    font-size:9pt;
}

.inreview   {
    color:red;
}

.season-select .md-select-value .md-select-icon {

    color: white;
    text-align: left;

}
md-select.season-select.md-default-theme:not([disabled]):focus .md-select-value, md-select.season-select:not([disabled]):focus .md-select-value {
    color: white;
}

.clickable {
    cursor: pointer;
}

.organization-header {
    margin-top: 20px;
    margin-bottom: 26px;
    height: 30px;
}

/** MyJohnDeere import styles*/
.import-progress .progress {
    display: inline-block;
}

.import-progress .progress {
    color: black;
    width: 100px;
    text-align: center;
}

.import-progress .progress .progress-number {
    margin: auto;
}

.import-progress .progress .progress-number-container {
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50px;
    font-weight: bold;
    border: 1px solid black;
    margin-left: auto;
    margin-right: auto;
}

.import-progress .progress.current .progress-number-container {
    background: var(--scale-tec-blue);
    border-color: #2D5A9B;
    color: white;
}

.import-progress .progress.completed .progress-number-container {
    background-color: var(--scale-tec-yellow);
    border-color: var(--scale-tec-yellow);
    color: white;
}

.import-progress .progress .progress-title {
    margin-top: 10px;
    display: block;
}

.import-progress .progress.current .progress-title {
    color: var(--scale-tec-blue);
}

.import-progress .progress.completed .progress-title {
    color: var(--scale-tec-yellow);
}

.import-progress hr {
    width: 100px;
    margin-top: 25px;
}

.import-progress hr.completed {
    border: 1px solid var(--scale-tec-yellow);
}

.inputbox {
    border-color: #A9A9A9;
    border-style: solid;
    border-radius: 3px;
    border-width: 2px;
    width: 60px;
    height: 30px;
    text-align: center;
    -moz-appearance: textfield;
}

    .inputbox::-webkit-outer-spin-button,
    .inputbox::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    .inputbox.ng-invalid-max {
        background-color: #FFF0F5;
        color: red;
    }

.bracketed-layout {
   
}

.loading {
  text-align: left;
  width: 50%;
  margin-left: 15px;
}

.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 900ms infinite;
  animation: ellipsis steps(4,end) 900ms infinite;
  content: "\2026";
  width: 0px;
}

.dismiss-button {
    color: white;
    font-family: Barlow, sans-serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 22px;
    height: 50px;
    width: 450px;
    border-radius: 8px;
    background-color: var(--scale-tec-blue);
    box-shadow: 0 5px 12px 1px rgba(15,64,104,0.2);
    margin-top: 25px;
    text-align: center;
}

    .dismiss-button:hover {
        background-color: var(--scale-tec-yellow) !important;
    }

.dismiss-title {
    color: var(--scale-tec-blue);

}

@keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}