/****************************/
/* BOOTSTRAP OVERRIDES      */
/****************************/

#pagebody {  }
#adminbox { margin-top: 80px !important; background-color: inherit; }
#adminbox #thumbgrid .thumbnail > img { max-width: 200px; max-height: 200px !important;}
/* 
#adminbox #contentline { margin-bottom: 2rem; }
@media (max-width: 768px) {
  #adminbox #contentline { margin-bottom: 4rem; }
}
*/
#adminbox #footerline { border-top: 1px dotted #0bf; position: relative; /* bottom: 0; background: inherit;*/ width: 100%; text-align: center; }
#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 { color: #000; }
#adminlinks a:visited { color: #000; }
#adminlinks a:active { color: #000; }
#adminlinks a:hover { color: #555; }

/* gallery module fixes */
#adminbox #thumbgrid .thumbnail .caption h3,
#adminbox #thumbgrid .thumbnail .caption h4,
#adminbox #thumbgrid .thumbnail .caption h5,
#adminbox #thumbgrid .thumbnail .caption p
{
  margin-top: .25rem; margin-bottom: 0; line-height: 1.4;


}

#adminbox .btn-group .btn-sm.dropdown-toggle .badge {
  font-size: 12px; 
  top: -2px;
  padding-top: 2px;
}

#adminbox .mgricon { display: inline-block; max-width: 24px; width: 100%; height: auto; }
#adminbox .mgricon img { display: block; width: 100%; height: auto; }
#ui-timepicker-div, #ui-timepicker-div * { box-sizing: initial; }
#ui-datepicker-div .ui-datepicker-table td a, #ui-timepicker-div .ui-timepicker-table td a { padding: 0.2em; }
#ui-timepicker-div .ui-timepicker-table { font-size: .9em; }

.admin-titlefix { display: none; }
.monospace { font-family: 'lucida console', 'lucida sans typewriter', monaco, monospace; }
textarea {resize: none;}
.monospace-input { font-family: 'Lucida Console', Monaco, monospace; }

@-moz-document url-prefix() { fieldset { display: table-cell; } }

.side-pad {padding-left: 10px; padding-right: 10px;}

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;}

.success-border { border: 2px solid #439666 !important; }

.centerdiv { margin: 0px auto; text-align: center; }

a img:hover { filter:alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; -khtml-opacity: 0.8; }
input[type="image"]:hover { filter:alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; -khtml-opacity: 0.8; }

.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;}

#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%; }
    /* #pagebody { margin-bottom: 50px !important; } */
    .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,div.dropup { cursor: pointer; position: relative; display: inline-block;}
ul.dropdown-menu { left: auto; right: 0; }


.text-shadow { text-shadow: 2px 2px 0 #000000; }
.text-shadow-soft { text-shadow: 1px 1px 1px #000000; }

.text-shadow-white { text-shadow: 0px 0px 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; }

.form-inline .select2-container--bootstrap {min-width: 250px; max-width: 360px;}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}


#thumbgrid .thumbnail { border-width: 2px; }
