/* JL - 02/2023 - bring back all of Ryan's CRIMS styles but only for the mobile versions (facility audit portal mobile / device tester portal mobile)
    I'm doing this because, for those 2 parts of the portal only, I have decided to *not* update all the kendo js/css and stick with the previous version
*/
/* stretch the form element */
html, body, #mobileContainer {
  height: 100%;
  min-width: 100%;
}

/* remove margin and padding */
body {
  margin: 0;
  padding: 0;
}

span.k-icon, span.k-icon k-i-arrow-w {
  background-image: none !important;
}

.crimsContainer .k-widget .k-state-selected, .crimsContainer .k-list .k-state-selected, .crimsContainer .k-list .k-item {
  padding: 0px;
  text-decoration: none !important;
  color: #676767 !important;
  background-color: transparent !important;
  font-size: 1.4rem !important;
  padding: 0px !important;
}

#mobileContainer {
  /*remove CRD theme from dropdownlists*/
  /*mobile view dropdownlist modal popup*/
  /*mobile styling of dropdownlists -- added this is as latest chrome browser in android devices causes issue with popup functionality*/
}
#mobileContainer h1 {
  font-size: 1.5rem;
  margin-top: 22px;
  font-family: "ff-dax-web-pro", Arial, sans-serif;
}
#mobileContainer h2 {
  font-size: 0.8rem;
  font-family: "ff-dax-web-pro", Arial, sans-serif;
}
#mobileContainer .editor label {
  float: left;
  clear: left;
  width: 130px;
  text-align: left;
}
#mobileContainer .selectmenu, #mobileContainer #nonmobileContainer .selectmenu {
  width: auto;
  position: relative;
  border: 0px !important;
  background: none;
  overflow: hidden;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#mobileContainer .selectmenu, #mobileContainer .selectmenu-button, #mobileContainer .selectmenu, #mobileContainer .selectmenu-button {
  background: none !important;
}
#mobileContainer .k-textbox, #mobileContainer input[type=tel], #mobileContainer input[type=select], #mobileContainer input[type=password], #mobileContainer input[type=email], #mobileContainer input[type=number] {
  padding: 0px !important;
  width: 161px !important;
  border-color: #c5c5c5;
  background-color: #fff !important;
  font-size: 1em !important;
  text-align: left !important;
}
#mobileContainer input[type=tel][disabled], #mobileContainer input[type=text][disabled], #mobileContainer input[type=select][disabled], #mobileContainer input[type=password][disabled], #mobileContainer input[type=email][disabled], #mobileContainer input[type=number][disabled] {
  padding: 0px !important;
  width: 161px !important;
  border-color: transparent !important;
  background-color: transparent !important;
  font-size: 1em !important;
  text-align: left !important;
}
#mobileContainer .k-numerictextbox {
  width: 161px !important;
  background-color: transparent !important;
}
#mobileContainer .datepicker {
  width: 161px !important;
  background-color: transparent !important;
}
#mobileContainer .mdatepicker {
  background-color: transparent !important;
  width: 161px !important;
  line-height: normal;
  position: absolute;
  right: 0;
}
#mobileContainer .k-state-focused.k-state-selected, #mobileContainer .k-list > .k-state-focused.k-state-selected, #mobileContainer .k-listview > .k-state-focused.k-state-selected, #mobileContainer td.k-state-focused.k-state-selected {
  /*-webkit-box-shadow: inset 0 0 3px 4px #10C4B2;
  box-shadow: inset 0 0 3px 4px #10C4B2;*/
}
#mobileContainer .k-state-selected, #mobileContainer .k-state-selected:link, #mobileContainer .k-state-selected:visited, #mobileContainer .k-list > .k-state-selected, #mobileContainer .k-list > .k-state-highlight, #mobileContainer .k-panel > .k-state-selected, #mobileContainer .k-ghost-splitbar-vertical, #mobileContainer .k-ghost-splitbar-horizontal, #mobileContainer .k-draghandle.k-state-selected:hover, #mobileContainer .k-scheduler .k-scheduler-toolbar .k-state-selected, #mobileContainer .k-scheduler .k-today.k-state-selected, #mobileContainer .k-marquee-color {
  color: #fff !important;
  background-color: #10C4B2 !important;
  border-color: #10C4B2 !important;
}
#mobileContainer ul.k-list.k-reset {
  height: 100% !important;
}
#mobileContainer .kendoDropDownList .k-widget .k-state-selected, #mobileContainer .k-list .k-state-selected {
  /*background: #10C4B2;
  border-color: #10C4B2;*/
}
#mobileContainer .k-list > .k-state-focused.k-state-selected, #mobileContainer .k-listview > .k-state-focused.k-state-selected, #mobileContainer .k-state-focused.k-state-selected, #mobileContainer td.k-state-focused.k-state-selected {
  box-shadow: inset 0 0 3px 1px #10C4B2 !important;
}
#mobileContainer .crimsMobileLandingLoginBackground {
  background-color: #fff !important;
  height: 300px;
  max-height: 300px;
  background: url("/Custom/Images/header-wave.png") bottom right no-repeat;
  position: relative;
}
#mobileContainer .crimsMobileLandingLoginBackgroundLogo {
  background-color: #fff !important;
  background: url("/Custom/Images/CRD_Logo.png") top left no-repeat;
  position: relative;
  z-index: 100;
  width: 172px;
  height: 59px;
  left: 20px;
  top: 20px;
}
#mobileContainer .crimsMobileLandingLoginButton {
  display: block;
  text-align: center;
}
#mobileContainer .crimsMobileView {
  /*This way they will not be displayed when the app is first rendered.*/
  /*display: none;*/
  /*height: 100% !important;*/
}
#mobileContainer .crimsMobileModalView {
  /* RS THERE IS A BUG IN KENDO. Only appears in IE -- if you don't specify below, the modal window content doesn't appear*/
  /*width: 300px !important;
  height: 300px !important;*/
  width: 325px !important;
  height: auto !important;
}

#nonmobileContainer .editor label {
  float: left;
  clear: left;
  width: 150px;
  text-align: left;
}
#nonmobileContainer .kendoDropDownList, #nonmobileContainer .kendoDropDownList {
  width: 300px !important;
  background: none !important;
}
#nonmobileContainer .selectmenu, #nonmobileContainer .selectmenu-button {
  width: auto;
  position: relative;
  border: 0px !important;
  background: none;
  overflow: hidden;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background: none !important;
}
#nonmobileContainer input[type=tel][disabled], #nonmobileContainer input[type=text][disabled], #nonmobileContainer input[type=select][disabled], #nonmobileContainer input[type=password][disabled], #nonmobileContainer input[type=email][disabled], #nonmobileContainer input[type=number][disabled] {
  padding: 0px !important;
  width: 300px !important;
  border-color: transparent !important;
  height: 2.13em;
  background-color: transparent !important;
  font-size: 1em !important;
  text-align: left !important;
}
#nonmobileContainer input[type=tel], #nonmobileContainer input[type=text], #nonmobileContainer input[type=select], #nonmobileContainer input[type=password], #nonmobileContainer input[type=email], #nonmobileContainer input[type=number] {
  padding: 0px !important;
  width: 300px !important;
  border-color: #c5c5c5;
  height: 2.13em;
  background-color: transparent !important;
}
#nonmobileContainer input[type=number], #nonmobileContainer input.k-numerictextbox[type=text], #nonmobileContainer input[type=text][data-role=numerictextbox], #nonmobileContainer input[type=text][data-role=datepicker] {
  padding: 0px !important;
  width: 300px !important;
  border-color: transparent !important;
  height: 2.13em;
  background-color: transparent !important;
}

#facilityContactContainer input[type=tel], #facilityContactContainer input[type=text], #facilityContactContainer input[type=select], #facilityContactContainer input[type=password], #facilityContactContainer input[type=email], #facilityContactContainer input[type=number] {
  padding: 0px !important;
  width: 300px !important;
  border-color: #c5c5c5;
  height: 2.13em;
  background-color: transparent !important;
}
#facilityContactContainer .selectmenu, #facilityContactContainer .selectmenu-button {
  width: auto;
  position: relative;
  border: 0px !important;
  background: none;
  overflow: hidden;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background: none !important;
}
#facilityContactContainer .kendoDropDownList, #facilityContactContainer .kendoDropDownList {
  width: 300px !important;
  background: none !important;
}

.left, .right {
  float: left;
  width: 50%;
}

.clearer {
  clear: both;
  height: 0;
  padding-bottom: 5px;
}

.posleft {
  width: 50%;
}

.posright {
  width: 50%;
}

@media only screen and (max-width: 960px) {
  .posleft {
    width: 100%;
  }
  .posright {
    width: 100%;
  }
}
@media only screen and (min-width: 960px) and (max-width: 1280px) {
  .posleft {
    float: left;
  }
  .posright {
    float: right;
  }
}
@media only screen and (min-width: 1280px) {
  .posleft {
    float: left;
  }
  .posright {
    float: right;
  }
}
@media only screen and (min-width: 481px) and (max-width: 960px) {
  .posleft {
    float: left;
  }
  .posright {
    float: right;
  }
}
@media only screen and (max-width: 480px) {
  .posleft {
    width: 100%;
  }
  .posright {
    width: 100%;
  }
}
.editor {
  padding-top: 5px;
  vertical-align: middle;
  clear: both;
}

.editor span {
  text-align: left;
}

.editor input[type=text]:disabled {
  background-color: #ebebe3;
}

.editor input[type=text].uppercasetextbox {
  text-transform: uppercase;
}

a.sfFormSubmit {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  zoom: 1;
  *display: inline;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-size: 1.4rem;
  background-color: #006d84;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #088f98), color-stop(100%, #006d84));
  background-image: -webkit-linear-gradient(#088f98 0%, #006d84 100%);
  background-image: -moz-linear-gradient(#088f98 0%, #006d84 100%);
  background-image: -o-linear-gradient(#088f98 0%, #006d84 100%);
  background-image: linear-gradient(#088f98 0%, #006d84 100%);
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr="#088f98", EndColorStr="#006d84"), progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=140, Color="#4d4f53");
  border: 0;
  color: white;
  padding: 6px 20px 4px;
  display: inline-block;
}

/* line 16, C:/development/Sitefinity6/CRD.Sitefinity.Web-MobileAdvisory/SitefinityWebApp/App_Data/Sitefinity/WebsiteTemplates/CRD/App_Themes/CRD/sass/partial/_parts.scss */
a.sfFormSubmit:hover, a.sfFormSubmit:focus, a.sfFormSubmit:visited {
  color: white;
  text-decoration: none;
}

.content {
  position: relative;
  width: 100%;
}

.bold {
  font-weight: bold;
}

.passed {
  color: green !important;
}

.failed {
  color: red !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.KendoGrid_empty-grid {
  color: #888;
  background: #eee;
  text-align: center;
  padding: 10px;
}

select.error, input.error {
  border: 2px solid red;
}

/*facility contact login username/pwd fields*/
.sfLoginFieldsWrp .sfTxtLbl:before {
  color: red !important;
  content: "* " !important;
}

.required:before, .field-required:before {
  color: red !important;
  content: "* " !important;
}

.onlineStatus {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  padding: 10px;
}

.online {
  color: #060;
}

.offline {
  color: #900;
}

.status {
  position: relative;
  color: red;
}

.Visible {
  display: block;
  visibility: visible;
}

.Hidden {
  display: none;
  visibility: hidden;
}

.progress-indicator {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  text-align: center;
  /* IE filter */
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  -moz-opacity: 0.5; /* Mozilla extension */
  -khtml-opacity: 0.5; /* Safari/Conqueror extension */
  opacity: 0.5; /* CSS3 */
  z-index: 1000;
  background-color: white;
  display: none;
}

.progress-indicator2 {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  text-align: center;
  /* IE filter */
  filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  -moz-opacity: 0.5; /* Mozilla extension */
  -khtml-opacity: 0.5; /* Safari/Conqueror extension */
  opacity: 0.5; /* CSS3 */
  z-index: 1000;
  background-color: white;
  display: none;
}

.progress-indicator img {
  text-align: center;
  position: fixed;
  top: 45%;
  left: 50%;
}

.progress-indicator2 img {
  text-align: center;
  position: fixed;
  top: 45%;
  left: 50%;
}

#deviceTestTabstripContainer {
  height: 100%;
  border-width: 0;
}

.km-footer {
  text-align: center;
}

.crdfooter {
  text-align: center;
  background: #088f98 url("/Custom/Images/bg-footer.png") top center no-repeat;
  color: white;
}

div.custom-checkbox input {
  position: relative;
  margin: 5px;
}

div.custom-checkbox label {
  background: none;
}

#oustandingdevicetests {
  position: relative;
  padding: 10px;
  margin-bottom: -1px;
  min-height: 100px;
}

#testList #done {
  background-color: Green;
}

#testList .km-view-title {
  color: #fff;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.5);
}

#testList li > a {
  text-decoration: none;
  color: #fff;
}

#testList .km-listview .km-group-title {
  padding: 0;
  border-top: 0;
  box-shadow: none;
}

#testList .km-group-title h2 {
  margin: 0;
  padding-top: 0.2em;
  text-shadow: none;
}

#testList .km-group-title h2 {
  color: #974d2e;
  font-weight: normal;
  font-size: 1.4em;
}

.deviceTestsGroupHeader {
  padding: 5px;
  background-color: #eee;
}

.deviceTestsGroupItem {
  padding: 5px;
  border-bottom: 1px solid #eee;
}

#loginContainer input[type=input], #loginContainer input[type=select], .km-flat .km-list .k-dropdown-wrap, .km-flat .km-list textarea, .km-list .k-dropdown, .km-list textarea {
  font-size: 1em !important;
  text-align: left !important;
  width: 161px !important;
}

.km-drawer-button:before, .km-drawer-button:after {
  content: "\e077";
}

.k-listview:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.addressField {
  text-transform: uppercase;
}

#deviceTestTabstrip li {
  margin-top: 0px;
}

ul {
  list-style-type: none;
}

ol#testResultsList-list {
  list-style-type: decimal;
}

.k-pager-numbers li, .k-reset li {
  margin-top: 0px !important;
}

#testResultsList-list > li:nth-child(2n) {
  background-color: #eee !important;
}

input[type=radio] {
  margin-left: 10px;
}

.info, .success, .warning, .error, .validation {
  border: 1px solid;
  margin: 10px 0px;
  padding: 15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
}

li.info, li.success, li.warning, li.error, li.validation {
  margin-top: 10px !important;
}

.info {
  color: #00529B;
  background-color: #BDE5F8;
  background-image: url("../Images/info.png");
}

.success {
  color: #4F8A10;
  background-color: #DFF2BF !important;
  background-image: url("../Images/success.png");
}

.warning {
  color: #9F6000;
  background-color: #FEEFB3 !important;
  background-image: url("../Images/warning.png");
}

.error {
  color: #D8000C;
  background-color: #FFBABA !important;
  background-image: url("../Images/error.png");
}

.validation {
  color: #D63301;
  background-color: #FFCCBA;
  background-image: url("../Images/error.png");
}

#outstandingdevicetest li {
  margin-top: 0px !important;
}

.imgAddDevice {
  background-image: url("../Images/add.png");
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.sf-button {
  vertical-align: middle !important;
  zoom: 1 !important;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  -ms-border-radius: 2px !important;
  -o-border-radius: 2px !important;
  border-radius: 2px !important;
  -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25) !important;
  -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25) !important;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25) !important;
  font-size: 14px !important;
  background-color: #006d84 !important;
  background-image: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0%, #088f98), color-stop(100%, #006d84)) !important;
  background-image: -webkit-linear-gradient(#088f98 0, #006d84 100%) !important;
  background-image: -moz-linear-gradient(#088f98 0, #006d84 100%) !important;
  background-image: -o-linear-gradient(#088f98 0, #006d84 100%) !important;
  background-image: linear-gradient(#088f98 0, #006d84 100%) !important;
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr="#088f98",EndColorStr="#006d84"), progid:DXImageTransform.Microsoft.Shadow(Strength=1,Direction=140,Color="#4d4f53") !important;
  border: 0 !important;
  color: white !important;
  padding: 6px 20px 4px !important;
  display: inline-block;
}

.km-button {
  font-size: 1em;
  color: #4c5356;
}

/*prevent android being upside-down*/
.km-root .km-android .km-view {
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
}

.km-ios #testResultsList-drawer .km-content, .km-android #testResultsList-drawer .km-content, .km-blackberry #testResultsList-drawer .km-content,
.km-ios #testResultsList-drawer .km-list > li, .km-android #testResultsList-drawer .km-list > li, .km-blackberry #testResultsList-drawer .km-list > li,
.km-ios #testResultsList-drawer .km-listview-link > .km-icon, .km-android #testResultsList-drawer .km-listview-link > .km-icon, .km-blackberry #testResultsList-drawer .km-listview-link > .km-icon,
.km-ios #testResultsList-drawer .km-list li > .km-icon, .km-android #testResultsList-drawer .km-list li > .km-icon, .km-blackberry #testResultsList-drawer .km-list li > .km-icon {
  background-color: #4e4e4e;
  color: #fff;
}

.km-ios #testResultsList-drawer .km-group-title,
.km-blackberry #testResultsList-drawer .km-group-title {
  background-color: #6e6e6e;
  color: #fff;
}

.km-flat .km-switch-handle,
.km-flat .k-slider-selection,
.km-flat .km-switch-background,
.km-flat .km-loader,
.km-flat .km-rowinsert,
.km-flat .km-state-active,
.km-flat .km-scroller-pull,
.km-flat .k-slider-selection,
.km-flat .km-touch-scrollbar,
.km-flat .km-pages .km-current-page,
.km-flat .k-slider .k-draghandle,
.km-flat .k-slider .k-draghandle:hover,
.km-flat .km-tabstrip .km-state-active,
.km-flat .km-scroller-refresh.km-load-more,
.km-flat .km-popup .k-state-hover,
.km-flat .km-popup .k-state-focused,
.km-flat .km-popup .k-state-selected,
.km-flat .km-actionsheet > li > a:active,
.km-flat .km-actionsheet > li > a:hover,
.km-flat li.km-state-active .km-listview-link,
.km-flat li.km-state-active .km-listview-label,
.km-flat .km-listview-label input[type=radio]:checked,
.km-flat .km-listview-label input[type=checkbox]:checked,
.km-flat .km-filter-wrap > input:focus {
  border-color: #10C4B2 !important;
}

.k-state-selected, .k-state-selected:link, .k-state-selected:visited, .k-state-selected:hover {
  /*background-color: #fff;*/
}

.km-native-scrolling, .km-native-scrolling .km-view, .km-native-scrolling .km-splitview .km-pane {
  /*min-height: 0;*/
}

.km-buttongroup {
  margin: 0 !important;
}

/* added to override navbar style on outstanding device tests view*/
.km-view-title {
  color: #000 !important;
  text-shadow: none !important;
}

/* added to override style for 'addresses' */
.k-block, .k-widget {
  background-color: transparent;
}

.k-maskedtextbox {
  background-image: none;
  position: unset;
}

.k-grid tbody .k-button {
  min-width: 0px;
}

.k-grid-Details span {
  width: 14px;
  height: 14px;
  line-height: 14px;
  display: inline-block;
}

.k-tabstrip-items {
  padding: 0.3em 0.3em 0 !important;
}

.k-loading-image {
  background-image: url("../Images/loading-image.gif");
}

.MobileWindow button:active, #MobileCheckWindow button:active, #addDevicePopup button:active, #submittedConfirmationPopup button:active, #submitConfirmationPopup button:active, #repairConfirmationPopup button:active, #submittedConfirmationPopup a:active, #submitConfirmationPopup a:active {
  background: #10C4B2 !important;
  -webkit-box-shadow: inset 0 0 3px 4px #10C4B2;
  box-shadow: inset 0 0 3px 4px #10C4B2;
  border-color: #10C4B2;
}

.MobileWindow button:active, .MobileWindow.k-button:active:hover, .MobileWindow.k-button.k-state-active:hover {
  background: #10C4B2 !important;
  -webkit-box-shadow: inset 0 0 3px 4px #10C4B2 !important;
  box-shadow: inset 0 0 3px 4px #10C4B2 !important;
  border-color: #10C4B2 !important;
}

.alternatecolors li {
  background: #fff;
}

.alternatecolors li:nth-child(odd) {
  background: #fafafa;
}

.k-list-container.k-popup li.k-item {
  padding: 0px !important;
  text-decoration: none !important;
  color: #676767 !important;
  font-size: 1.5rem !important;
}

.k-list-container.k-popup li.k-item.k-state-focused {
  padding: 0px !important;
  text-decoration: none !important;
  color: #676767 !important;
  font-size: 1.5rem !important;
}

.k-widget.k-tooltip-validation {
  color: #9F6000 !important;
  background-color: #FEEFB3 !important;
}

.km-flat .km-actionsheet > li > a, .km-flat .km-popup .k-item {
  background-color: #f4f4f4 !important;
  border-color: #10C4B2 !important;
}

.k-button.k-state-focused, .k-button.k-state-focused.k-state-disabled, .k-button:focus, .k-button:focus:hover, .k-state-disabled .k-button.k-state-focused {
  border-color: #f4f4f4 !important;
  box-shadow: 0 0 2px 1px #f4f4f4 !important;
}

.delete-confirm .k-button .sf-button:focus, .delete-confirm .k-button .sf-button:hover {
  border-color: #f4f4f4 !important;
  box-shadow: 0 0 2px 1px #f4f4f4 !important;
}

/*RS 12.2 added*/
.k-pager-wrap.k-pager-lg .k-pager-numbers, .k-pager-wrap.k-pager-md .k-pager-numbers, .k-pager-wrap.k-pager-sm .k-pager-numbers {
  position: relative !important;
}

#sfLoginWidgetWrp .sfError {
  border: 1px solid;
  margin: 10px 0px;
  padding: 15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
  color: #D8000C;
  background-color: #FFBABA;
  background-image: url("../Images/error.png");
}