﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

/* Page & Form */
html {

}

body {
  font-family: 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif;
  /*font-size: 14px;*/
  /*font-weight: 600;*/
  overflow-x: hidden;
  color: black;
}

input, select, textarea, .btn {
  /*font-size: 14px;*/
}

a {
  color: darkblue;
}

header {
  margin-top: 60px;
}

main {
  /*font-size: 12px;*/
}

footer {
  background-color: white;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .footer {
    position: relative;
  }
}

.btn {
  /*font-weight: 600;*/
}


form .form-group {
  margin-bottom: 5px;
}

form .buttons {
  margin: 5px;
  /*text-align:center;*/
}
form .buttons > button {
  margin: 5px;
}


form .control-label {
  font-weight: normal;
}

form .control-label.required {
  font-weight: bold;
}

form .required:after {
  color: red;
  content: " *";
}

.form-control > .radio-inline,
.form-control > .checkbox-inline {
  padding-top: 0;
}


.bold {
  font-weight: bold;
}

.strike {
  text-decoration: line-through;
}

.underline {
  text-decoration: underline;
}

.info {
  color: #337ab7;
}

.success {
  color: blue;
}

.warn {
  color: brown;
}

.error {
  color: red;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.fleft {
  float: left;
  padding-left: 5px;
}
.fright {
  float: right;
  padding-right: 5px;
}

.top {
  vertical-align: top;
}

.bottom {
  vertical-align: bottom;
}

.nowrap {
  white-space: nowrap;
}

.transparent {
  background-color: transparent;
  color: transparent;
}

.black {
  color: black;
}

.gray {
  color: gray;
}

.lightgray {
  color: lightgray;
}

.darkgray {
  color: #333;
}

.white {
  color: white;
}

.red {
  color: #ca1919;
}

.orange {
  color: darkorange;
}

.blue {
  color: #3333cc;
}

.darkblue {
  color: darkblue;
}

.lightblue {
  color: lightblue;
}

.green {
  color: #5cb85c;
}

.darkgreen {
  color: darkgreen;
}

.yellow {
  color: #eea236;
}

.bg-info {
  background-color: #5bc0de !important;
}

.bg-warn {
  background-color: #d9534f !important;
}

.bg-success {
  background-color: #5cb85c !important;
}

.bg-red {
  background-color: #d9534f !important;
  color: white !important;
}

.bg-blue {
  background-color: #337ab7 !important;
  color: white !important;
}

.bg-darkblue {
  background-color: darkblue !important;
  color: white !important;
}

.bg-green {
  background-color: #5cb85c !important;
  color: white !important;
}

.bg-darkgreen {
  background-color: darkgreen !important;
  color: white !important;
}

.bg-orange {
  background-color: #eea236 !important;
  color: white !important;
}

.bg-yellow {
  background-color: yellow !important;
}

.bg-lightblue {
  background-color: lightblue !important;
}

.bg-lightgreen {
  background-color: lightgreen !important;
}

.bg-lightyellow {
  background-color: lightyellow !important;
}

.bg-pink {
  background-color: pink !important;
}

.highlight {
  background-color: yellow !important;
}

.padding-sm {
  padding: 5px;
}
.padding-md {
  padding: 10px;
}
.padding-lg {
  padding: 20px;
}

.mobile-only {
  display: none;
  visibility: hidden;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
    visibility: visible;
  }
  .mobile-hide {
    display: none;
    visibility: hidden;
  }
}

.badge {
  font-size: 10px;
  font-weight: normal;
  vertical-align: super;
  /*background-color: orange;*/
  /*float: right;*/
}

.reload {
  color: white;
  cursor: pointer;
  float: right;
}

.number {
  text-align: right;
}
.datetime {
  text-align: center;
}

.text-sm {
  font-size: 80%;
}

.text-md {
  font-size: 100% !important;
}

.text-lg {
  font-size: 120%;
}

.well-sm {
  margin-top: 5px;
  margin-bottom: 5px;
}

.panel-primary > .panel-heading a {
  color: white;
}

/* Popup */
.modal-lg {
  min-height: 500px;
  max-height: 99%;
}
.modal-sm {
  width: 98%;
  min-height: 300px;
}
.modal-mx {
  width: 98%;
  height: 92%;
}

.model-content {
  min-height: 300px;
}

.modal-lg .modal-content,
.modal-sm .modal-content,
.modal-mx .modal-content {
  height: 100%;
}

.modal-lg .modal-body,
.modal-sm .modal-body, 
.modal-mx .modal-body {
  height: 90%;
}

.modal-lg iframe {
  min-height: 575px;
}

@media (max-height: 900px) {
  .modal-lg iframe {
    min-height: 720px;
  }
}
@media (max-height: 800px) {
  .modal-lg iframe {
    min-height: 500px;
  }
}
@media (max-height: 700px) {
  .modal-lg iframe {
    min-height: 475px;
  }
}
@media (max-height: 600px) {
  .modal-lg iframe {
    min-height: 400px;
  }
}
@media (max-height: 500px) {
  .modal-lg iframe {
    min-height: 320px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    min-width: 1024px;
    max-width: 100%;
  }
}

@media (min-width: 1400px) {
  .modal-lg {
    min-width: 1200px;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .modal-sm {
    width: 600px;
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .modal-sm {
    width: 98%;
    min-height: 500px;
  }
}

.iframe-tab {
  min-height: 750px;
}

.sticky-table {
  display: inline-block;
  width: 100%;
  max-height: 700px;
  overflow-y: auto;
}

@media (max-height: 900px) {
  .iframe-tab {
    min-height: 665px;
  }

  .sticky-table {
    max-height: 640px;
  }
}

@media (max-height: 800px) {
  .iframe-tab {
    min-height: 645px;
  }
  .sticky-table {
    max-height: 565px;
  }
}

@media (max-height: 740px) {
  .iframe-tab {
    min-height: 560px;
  }
  .sticky-table {
    max-height: 500px;
  }
}

@media (max-height: 650px) {
  .iframe-tab {
    min-height: 520px;
  }
  .sticky-table {
    max-height: 490px;
  }
}

@media (max-height: 600px) {
  .sticky-table {
    max-height: 470px;
  }
}

@media (max-height: 500px) {
  .sticky-table {
    max-height: 345px;
  }
}

.sticky-table table th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: rgba(245,245,245,0.8);
  z-index: 999;
}

#preview-data {
  max-height: 565px;
}

@media (max-height: 740px) {
  #preview-data {
    max-height: 435px;
  }
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #e9e9d9;
}

th.active {
  background-color: #eee;
}

.table-sm {
  font-size: 85%;
  margin-bottom: 10px;
}

.submenu
{
  list-style-type: square;
}
.submenu > li {
  padding: 2px;
}
.submenu > li > a {
  padding: 5px;
  clear: both;
  font-weight: 400;
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
}

.breadcrumb {
  margin-bottom: 5px;
}

#loading {
  position: absolute;
  top: 10%;
  left: 40%
}

/* Slider Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 5px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

.box {
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.box.active {
  border: 2px solid darkblue;
}
.box.outofstock {
  border: 2px solid orange;
}
.box.inactive {
  border: 2px solid red;
}
.box.new {
  border: 4px solid #5cb85c;
}
.box.primary {
  border: 2px solid #3333cc;
}
.box.current {
  border: 2px solid #337ab7;
}
.box.secondary {
  border: 2px solid #ccc;
}

.border {
  border: 1px solid #ccc;
  border-radius: 5px;
}

.box-lg {
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 5px;
  padding: 15px;
  margin: 15px;
}

.panel-heading,
.panel-body {
  padding: 10px;
}
.pagination {
  margin: 0px;
}
  .pagination > .processing > a, .pagination > .processing > a:hover {
    color: white;
    background-color: skyblue;
    border-color: skyblue;
    cursor: default;
  }

.user-roles th,
.user-roles td {
  border: solid 1px #eee;
  cursor: default;
  text-align: center;
  padding: 2px 5px 2px 5px !important;
}

.user-roles td.primary {
  background-color: #337ab7;
  color: white;
}
.user-roles td.secondary {
  background-color: #5bc0de;
  color: white;
}
.user-roles td.inactive {
  background-color: #d9534f;
  color: white;
}
.user-roles td.nodata {
  background-color: #ddd;
  color: darkgray;
  cursor: no-drop;
}

.program-months th, 
.program-months td {
  border: solid 1px #eee;
  cursor: default;
  text-align: center;
}

.program-months td.processed {
  background-color: #337ab7;
  color: white;
}
.program-months td.processing {
  background-color: #5bc0de;
  color: white;
}
.program-months td.nodata {
  background-color: #ddd;
  color: darkgray;
  cursor: no-drop;
}

/* Webgrid Pager */
.pager > td {
  padding-top: 10px;
}

.pager > td > a {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 4px 8px;
  margin: 3px;
}

.pager > td > a:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}


ul.nobullets {
  list-style-type: none;
  list-style-position: inside;
  padding-left: 0;
}

.clear {
  clear: both;
  display: block;
}

.nowrap {
  white-space: nowrap;
}

/* Post it */
.post-it {
  clear: both;
  width: 100%;
  min-height: 40px;
  margin: 2px;
  padding: 2px;
  background: #ffffcc;
  border: none;
  font-size: 80%;
  overflow: hidden;
}

.post-it-edit {
  background: #ffffcc;
  font-size: 80%;
}

.post-it-private {
  background: #ffeedd;
  font-size: 80%;
}

.audits {
  clear: both;
  width: 100%;
  min-height: 40px;
  margin: 2px;
  padding: 2px;
  background: #ccffcc;
  border: none;
  font-size: 80%;
  overflow: hidden;
}

.image-preview {
  display: inline-block;
}

#preview-image {
  position: absolute;
  border: 3px solid #ccc;
  background: #333;
  padding: 5px;
  display: none;
  color: #fff;
  box-shadow: 4px 4px 3px rgba(103, 115, 130, 1);
}

.sortable li {
  cursor: move;
  border: 1px solid #c8d9e1;
  border-radius: 3px;
  padding: 10px;
  list-style-position: inside;
}

@media (min-width: 768px) {
  .navbar-right {
    position: absolute;
    right: 15px;
  }
}

.nav-tabs > li.active > a {
  background-color: #f5f5f5;
}

ul.nav-stacked > li {
  padding-top: 0;
  padding-bottom: 0;
}

ul.nav-stacked > li > a {
  padding-top: 5px;
  padding-bottom: 10px;
}


.label {
  font-family: Arial, Helvetica, sans-serif;
  /*font-weight: 500;*/
}

.label-sm {
  font-size: 75%;
}
.label-md {
  font-size: 100%;
}
.label-lg {
  font-size: 120%;
}

@media (min-width: 768px) {
  .oversize {
    width: 125%;
  }
}


.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu .glyphicon {
  display: none;
}

.dropdown-submenu {
  position: relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}


td.found {
  background-color: #5bc0de;
  color: white;
  font-weight: bold;
}
td.update {
  background-color: #f0ad4e;
  color: white;
  font-weight: bold;
}
td.warning {
  color: #d9534f;
  font-weight: bold;
}
td.error {
  background-color: #d9534f;
  color: white;
  font-weight: bold;
}

#spinner {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  background: url(../../Images/Loading.gif) 50% 50% no-repeat;
  background-color: transparent;
}

#tinymce {
  font-size: 12px !important;
}

#EmailBody .tox-tinymce {
  min-height: 500px;
}

@media print {
  .no-print, .no-print * {
    display: none !important;
  }
}
