/****************************/
/* BOOTSTRAP OVERRIDES      */
/****************************/

#pagebody {  }

#adminbox { 
  margin-top: 80px !important; 
  background-color: inherit; 
}

#adminbox #thumbgrid .thumbnail > img { 
  max-width: 240px; 
}

#adminbox #footerline { 
  border-top: 1px dotted #0bf; 
  position: relative; 
  width: 100%; 
  text-align: center; 
  background: inherit; 
}

#adminbox .btn-sm .badge { 
  padding-top: 1px; 
  padding-bottom: 1px; 
}

#adminbox .w-100 { width: 100%; }

#statsbox { 
  min-width: 250px; 
  width: 100%; 
  margin: 0 auto; 
  font-family: consolas, 'lucida console', monospace; 
  font-weight: normal; 
  text-align: center; 
}

#adminlinks { 
  font-family: Tahoma, Geneva, sans-serif; 
  font-size: 12px; 
  color: #000; 
  margin: 0 auto; 
  padding: 5px;
  width: 100%; 
  text-align: center; 
  background: #fff;
}

#adminlinks a:link, #adminlinks a:visited, #adminlinks a:active { color: #000; }
#adminlinks a:hover { color: #555; }

.admin-titlefix { display: none; }

.monospace { font-family: 'lucida console', 'lucida sans typewriter', monaco, monospace; }
.monospace-input { font-family: 'Lucida Console', Monaco, monospace; }

textarea { resize: none; }

.side-pad {
  padding-left: 10px; 
  padding-right: 10px;
}

.panel-title {
  font-weight: bold;
}

.well-sm h1, .well-sm h2, .well-sm h3, .well-sm h4, .well-sm h5, .well-sm h6, .well-sm { margin-left: 0; }
.well-sm { margin-left: 3px; margin-right: 3px;}

input.checkbox { border: none; }
input:focus, select:focus { border: 1px dotted; }
input.error, select.error { border: 2px solid #ff0000 !important; }
div.error-container, div.email-error-container, div.pwd-error-container { 
  margin-top: 10px; 
  display: none; 
}

label.error { 
  margin-top: 10px; 
  display: none;
}

div.error-container li, div.email-error-container li, div.pwd-error-container li {
  display: none; 
  vertical-align: top; 
}

.error-container li>label, .email-error-container li>label, .pwd-error-container li>label {
  font-weight: normal !important;
}

.centerdiv { 
  margin: 0 auto; 
  text-align: center; 
}

a img:hover { 
  filter:alpha(opacity=80); 
  opacity: 0.8; 
  -moz-opacity: 0.8;   
  -webkit-opacity: 0.8; 
}

input[type="image"]:hover { 
  filter:alpha(opacity=80); 
  opacity: 0.8; 
  -moz-opacity: 0.8;   
  -webkit-opacity: 0.8; 
}

.form-control:focus {
  box-shadow: none; 
  background: #ddd !important; 
  border: 1px solid var(--light); 
  transition: all 0.5s;
}

.form-control { transition: all 0.5s; }

.pop-bigheader { font-weight: bold; font-size: 22px; }
.pop-header { font-weight: bold; font-size: 14px; }
.pop-text { font-weight: normal; font-size: 12px; }
.pop-centered { text-align: center; }
.pop-left { text-align: left; }
.pop-right { text-align: right; }

.fb_edge_widget_with_comment span.fb_edge_comment_widget iframe.fb_ltr { display: none !important; }

.dl-horizontal.responsive { }
.dl-horizontal.responsive dt { 
  width: 40%; 
  word-break: break-word; 
  white-space: normal; 
  text-align: right !important; 
}

.dl-horizontal.responsive dd { 
  margin-left: 42%; 
  width: 57%; 
}

#ui-datepicker-div { z-index:10000 !important; }

#thumbgrid .thumbnail > img { padding: 10px; }
#thumbgrid .thumbnail a > img { max-width: 170px; }

#adminbox .btn { margin-top: 2px; margin-bottom: 2px; }
#adminbox .toggle-group .btn, #adminbox .toggle.btn { margin: 0 !important; }
#adminbox .my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
#adminbox .py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }

#item-controls .glyphicon { font-size: 2em; padding-right: 30px; padding-top: 10px; padding-bottom: 10px; }
#item-controls-last .glyphicon { padding-right: 0; }

@media print { 
  .noprint { display: none; } 
}


@media (max-width: 480px) {
  .admin-titlefix { clear: both; display: block; margin-bottom: 10px; }
  #adminbox #footerline #footer-app { font-size: 90%; }
  #g-recaptcha-wrapper {
    transform:scale(0.78);
    -webkit-transform:scale(0.78);
    transform-origin:0 0;
    -webkit-transform-origin:0 0; 
  }

}

@media (max-width: 500px) {
  #defaulthours .input-group-addon { padding-left: 5px; padding-right: 5px; font-size: .8em; }
}

@media (max-width: 700px) { 
  #item-controls { padding-top: 15px; padding-bottom: 15px; } 
}

@media (max-width: 768px) {
  .footertext { 
    font-size: 75%; 
    padding-top: 18px; 
  }
  #statsbox { font-size: 75%; }
  .alert { 
    margin-right: 5px; 
    margin-left: 5px; 
    padding-left: 5px; 
    padding-right: 5px; 
  }
  .btn-lg {padding: 10px;}
  .panel-body { padding-left: 5px; padding-right: 5px; }
  #item-controls {padding-left: 0; }

}

@media (max-width: 992px) {
  div#item-controls { padding-right: 5px; }
}




.truncate-text {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


div.toggle .btn.btn-sm {
  margin-top: 0;
}

div.dropdown { 
  cursor: pointer; 
  position: relative; 
  display: inline-block;
}
ul.dropdown-menu { 
  left: auto; 
  right: 0; 
}


.text-shadow { text-shadow: 2px 2px 0 #000000; }
.text-shadow-white { text-shadow: 0 0 15px rgba(255, 255, 255, 0.9); }
.text-shadow-blur { text-shadow: 2px 2px 15px #ffffff; }
.text-stroke-black { font-weight: normal !important; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.text-stroke-white { font-weight: normal !important; text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; }
.text-stroke-primary { font-weight: normal !important; text-shadow: -5px -5px 0 var(--primary), 5px -5px 0 var(--primary), -5px 5px 0 var(--primary), 5px 5px 0 var(--primary); }
.text-stroke-white-thick { font-weight: normal !important; text-shadow: -5px -5px 0 #fff, 5px -5px 0 #fff, -5px 5px 0 #fff, 5px 5px 0 #fff; }

.shadowbox { -moz-box-shadow: 0 0 4px #000000; -webkit-box-shadow: 0 0 4px #000000; box-shadow: 0 0 4px #000000; }
.shadowbox-bottom { -moz-box-shadow: 0 2px 4px #000000; -webkit-box-shadow: 0 2px 4px #000000; box-shadow: 0 2px 4px #000000; }
.shadowbox-white { -moz-box-shadow: 0 0 10px #ffffff; -webkit-box-shadow: 0 0 10px #ffffff; box-shadow: 0 0 10px #ffffff;  }


.form-inline .select2-container--bootstrap {min-width: 250px; max-width: 360px;}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}
.success-border { border: 2px solid #439666; }
#thumbgrid .thumbnail { border-width: 2px; }


@-moz-document url-prefix() { 
  fieldset { display: table-cell; } 
}


div#srchError {
    color: #ff0000;
    font-weight: bold;
    padding: 5px;
}

a:hover {
    color: #ffb445 !important;
}

.btn-primary:hover {
    color: #fff !important;
    background: #a3a3a3 linear-gradient(180deg, #838383, #777777) repeat-x !important;
    border-color: #4b4b4b !important;
}

.btn-secondary:hover {
    color: #212529 !important;
    background: #d9cc00 linear-gradient(180deg, #FFC107, #fff000) repeat-x !important;
    border-color: #ccc000 !important;
}