﻿
/*==========================================================
                        Program HQ
==========================================================*/


/* Page & Form */
html {
  /*font-weight: 600;*/
}
body {
  overflow-x:hidden;
  /*color: black;*/
}

header {
  /*margin-top: 120px;*/
}

main {
  /*font-size: 12px;*/
}

footer {
  /*background-color: white;
  width: 100%;*/
}

@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: " *";
}

.bold {
  font-weight: bold;
}

.strike {
  text-decoration: line-through;
}

.underline {
  text-decoration: underline;
}

.info {
  color: #337ab7;
}

.warn {
  color: brown;
}

.error {
  color: red;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.fright {
  float: right;
  padding-right: 5px;
}

.top {
  vertical-align: top;
}

.bottom {
  vertical-align: bottom;
}

.white {
  color: white;
}

.red {
  color: #ca1919;
}

.orange {
  color: darkorange;
}

.blue {
  color: #3333cc;
}

.darkblue {
  color: darkblue;
}

.green {
  color: #5cb85c;
}

.yellow {
  color: #eea236;
}

.bg-red {
  background-color: #d9534f;
  color: white;
}

.bg-blue {
  background-color: #337ab7;
  color: white;
}

.bg-green {
  background-color: #5cb85c;
  color: white;
}

.bg-yellow {
  background-color: #eea236;
}

.bg-lightblue {
  background-color: lightblue;
}

.bg-lightgreen {
  background-color: lightgreen;
}

.bg-lightyellow {
  background-color: lightyellow;
}

.bg-pink {
  background-color: pink;
}

.highlight {
  background-color: yellow;
}

.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;
  vertical-align: super;
  /*background-color: orange;*/
}

.reload {
  color: white;
  cursor: pointer;
  float: right;
}

.number {
  text-align: right;
}
.datetime {
  text-align: center;
}

.text-sm {
  font-size: 80%;
}

.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: 600px;
}

@media (max-height: 900px) {
  .modal-lg iframe {
    min-height: 720px;
  }
}
@media (max-height: 800px) {
  .modal-lg iframe {
    min-height: 600px;
  }
}
@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: 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;
  }
}


th.active {
  background-color: #eee;
}

.table-sm {
  font-size: 85%;
  margin-bottom: 10px;
}


.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 #eee;*/
  /*border-radius: 4px;*/
  /*padding: 5px;*/
  /*margin: 5px;*/
}

.border {
  border: 1px solid #ccc;
  border-radius: 5px;
}


.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;
}

.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: 3px 7px;
  margin: 2px;
}

.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: #ffff88;
  border: none;
  font-size: 80%;
  overflow: hidden;
}

.post-it-edit {
  background: #ffff88;
  font-size: 80%;
}

.audits {
  clear: both;
  width: 100%;
  min-height: 40px;
  margin: 2px;
  padding: 2px;
  background: lightgreen;
  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 {
  }
}

.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-md {
  font-size: 100%;
}
.label-lg {
  font-size: 120%;
}

@media (min-width: 768px) {
  .oversize {
    width: 120%;
  }
}


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;
}











/*==========================================================
                        Reward Websites
==========================================================*/

a:hover {
  text-decoration: none;
}

@media (max-width: 767px) {
  header {
    padding: 9px 0 9px !important;
  }
}

.container {
  /*padding: 0;*/
}

.sf-menu {
  list-style: none;
}

.sf-menu a {
  font-weight: 600;
  text-decoration: none;
}

.sf-menu .caret, .rd-mobilemenu .caret {
  display: none;
}

.dropdown-menu > li > a {
  white-space: normal;
}

.dropdown:hover > .dropdown-menu {
  display: block;
  /*margin-top: 2px;*/
}

.rewards_display a {
  /*font-weight: 600;*/
}
.participant a {
  /*font-weight: 600;*/
}

@media (min-width: 768px) {
  .grid_14 {
    margin-left: -10%;
  }
}

ul.nav-tabs > li.active {
  border-bottom: 3px;
  border-bottom-color: black;
  border-bottom-style: solid;
}

ul.nav-tabs > li.active > a, ul.nav-tabs > li > a:hover, ul.nav-tabs > li > a:not(hover) {
  border: none !important;
  background: none !important;
}

ul.nav-stacked {
  border-left: 1px;
  border-left-color: #dedede;
  border-left-style: solid;
}

ul.nav-stacked > li > a {
  font-size: 18px;
  padding: 5px;
}

ul.nav-stacked > li.active {
  border-left: 3px;
  border-left-color: black;
  border-left-style: solid;
}

ul.nav-stacked > li.active > a {
  background: none !important;
  color: inherit !important;
}



#accordion > .panel > a::after {
  /*  content: ' \25B2';*/
  font: 400 20px/30px "FontAwesome";
  content: "\f139";
  float: right;
  color: #D42E12;
}

#accordion > .panel > a.collapsed::after {
  /*    content: ' \25BC';*/
  font: 400 20px/30px "FontAwesome";
  content: "\f13a";
  float: right;
  color: #D42E12;
}

.accordion > .panel > a::after {
  /*  content: ' \25B2';*/
  font: 400 20px/30px "FontAwesome";
  content: "\f139";
  float: right;
}

.accordion > .panel > a.collapsed::after {
  /*    content: ' \25BC';*/
  font: 400 20px/30px "FontAwesome";
  content: "\f13a";
  float: right;
}

.img-responsive {
  width: 100%;
}



/*========================   Menu 2   ==========================*/


#HeaderNav .nav-pills > li > a {
    /*color: #BC3219;*/
    font-weight: bold;
    background-color: transparent;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

#HeaderNav .nav-pills > li.active > a, 
#HeaderNav .nav-pills > li > a:hover,
#HeaderNav .nav-pills > li > a:focus,
#HeaderNav .dropdown.open > a {
    color: #FFFFFF;
    background-color: #858585;
}

#HeaderNav .dropdown.active > a {
    color: #FFFFFF;
    background-color: #BC3219 !important;
}

#HeaderNav .dropdown:hover > .dropdown-menu,
#HeaderNav .dropdown:focus > .dropdown-menu {
    display: none !important;
    margin-top: 0;
}

#HeaderNav .dropdown.open > .dropdown-menu {
    display: block !important;
    margin-top: 0;
    padding: 0;
    min-width: 250px;
    background: #666;
    z-index: 220;
}

#HeaderNav .dropdown.open > .dropdown-menu > li > a {
    padding: 3px 15px;
    color: #ffffff;
    text-decoration: none;
}

#HeaderNav .dropdown.open > .dropdown-menu > li.active > a {
    background-color: rgba(255, 255, 255, 0.2);
}
#HeaderNav .dropdown.open > .dropdown-menu > li > a:hover,
#HeaderNav .dropdown.open > .dropdown-menu > li > a:focus {
    padding-left: 20px;
    color: #000000;
    background-color: #BC3219;
}
#HeaderNav .dropdown.open > .dropdown-menu > li:first-child > a {
    border-radius: 3px 3px 0 0;
}
#HeaderNav .dropdown.open > .dropdown-menu > li:last-child > a {
    border-radius: 0 0 3px 3px;
}

/* NEW 2nd-Level Dropdown CSS START */
#HeaderNav .dropdown-submenu {
    position: relative;
}
#HeaderNav .dropdown-submenu .caret {
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg); 
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
#HeaderNav .dropdown-submenu > .dropdown-menu {
    top:0; 
    left:100%; 
    margin-top:-6px; 
    margin-left:-1px;
    padding: 0;
    min-width: 250px;
    background-color: #858585;
    border-radius: 5px;
}
#HeaderNav .dropdown-submenu > .dropdown-menu .active a {
    background-color: #9d9d9d;
    background-color: rgba(255, 255, 255, 0.2) !important;
}
#HeaderNav .dropdown-submenu > .dropdown-menu a,
#HeaderNav .dropdown-submenu > .dropdown-menu a:link, 
#HeaderNav .dropdown-submenu > .dropdown-menu a:active {
    color: #ffffff;
    background-color: #858585;
}
#HeaderNav .dropdown-submenu > .dropdown-menu a:hover,
#HeaderNav .dropdown-submenu > .dropdown-menu a:focus {
    padding-left: 20px;
    color: #000000;
    background-color: #BC3219;
}
#HeaderNav .dropdown-submenu.open > a:after {
    border-left-color:#fff;
}
#HeaderNav .dropdown-submenu.open > .dropdown-menu {
    display: block;
}
#HeaderNav .dropdown-submenu.open > .dropdown-submenu-toggle {
    background-color: #858585;
    background-color: rgba(255, 255, 255, 0.2);
}
#HeaderNav .dropdown-submenu .dropdown-submenu-toggle {
    display: block;
    padding: 3px 20px;
}
#HeaderNav .dropdown-submenu .dropdown-menu {
    margin-bottom: 8px;
}
#HeaderNav .dropdown-submenu > .dropdown-menu > li:first-child > a {
    border-radius: 3px 3px 0 0;
}
#HeaderNav .dropdown-submenu > .dropdown-menu > li:last-child > a {
    border-radius: 0 0 3px 3px;
}


@media screen and (min-width:992px){
    #HeaderNav .dropdown-submenu .dropdown-menu{
        margin-bottom: 2px;
    }
}
/* NEW 2nd-Level Dropdown CSS END */

