/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 /* bmgr Plugin CSS */


/* CUSTOMIZE HEADER - Overriding what's in the WP template */
#header .top-header .header-logo
{
	background-image: none,url(../media/QRKeg_logo_wht_150px.png) !important;
	background-size: 150px !important;
	width: 150px !important;
	height: 150px !important;
	color: rgba(255, 255, 255, 0.0) !important; /* hide our text logo */
}

/* CUSTOMIZE SPINNER */


#spinner-div {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 25000;
}


input:invalid {
  /*border: 2px dashed red;*/
}

input:invalid:required {
  /*background-image: linear-gradient(to right, pink, lightgreen);*/
  background-color: rgba(255,  00,  0, 0.25);
}

input:valid {
  border: 1px solid black;
}

.bmgr-input-readonly {
	background-color: #a1a1a1;
}

.bmgr-col-1 {
	max-width:4rem;
}

.bmgr-input-col-1 {
	max-width:4rem;
}

/* CUSTOMIZE FOOTER */
.login-logout-footer
{
	text-align: center;
	align-content: center;
	width: 100%;
	display: flex;
	justify-content: center;
}

select:invalid + .select2-container > span.selection > span.select2-selection {
    /*border-color: #dc3545;   */
    border-color: #FF0000;
}

select:invalid + .select2-container--focus > span.selection > span.select2-selection {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

select:valid + .select2-container > span.selection > span.select2-selection {
    /* border-color: #28a745; /* green */
}

select:valid + .select2-container--focus > span.selection > span.select2-selection {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.hidden {
	display: none; 
}

.modal {
}

/* Change sandbox icon color */
.bmgr-ri-sandbox
{
	color: red;
}

.mb-3
  {   /* tighten up forms */
	  margin-bottom: 1.2rem!important;
  }

/* SPREAD OUT OUR BUTTONS A LITTLE */
.bmgr-sml-button 
{
	padding-left:6px;
	padding-right:6px;
}

.bmgr-container-fluid
{
	min-width:100%;
}
  
.bmgr-container-align-right
{
	text-align: right;
}

#bmgr_contact_button_bar
{
	padding-top:8px;
}

#bmgr_customer_button_bar
{
	padding-top:8px;
}

.bmgr_table_button_bar
{
	padding-top:8px;
}

.bmgr_datatable_filter_dropdown
{
	padding-top:8px;
}

.bmgr_wide_accordion_header
{
	padding-right:20px;
}

.bmgr_datatable_container
{
	padding-bottom:10px;
}

.bmgr-accordion .accordion-button
{
	padding-top:3px;
	padding-bottom:2px; 
	padding-left:0px; 
	padding-right:0px;

}
.bmgr-itemlocationinventory-end-date-span
{
	padding-right:10px;
}
/* NORMAL MOBILE PHONES */
@media only screen 
  and (min-device-width: 300px) 
  and (max-device-width: 1024px) 
{ 
  #header .top-header .header-logo
  {
	background-image: none,url(../media/QRKeg_logo_wht_150px.png) !important;
	background-size: 100px !important;
	width: 100px !important;
	height: 100px !important;
  }
  
  .mb-3
  {   /* tighten up forms */
	  margin-bottom: 1rem!important;
  }
  
  .bmgr_datatable_header
  {/* preserve padding in header*/
	padding-left:10px;
	padding-right:10px;
	padding-top:10px;
  }
  
  .btn-secondary
  {
	padding: 8px;
  }
  
  .bmgr-container-fluid
  {
	padding-right:0px;
	padding-left:0px;
  }

  .bmgr-card-body
  {
	padding-right:8px;
	padding-left:8px;  
  }
  
  #bmgr_customer_editor_filter
  {
	padding-top:0px;
  }
  
  .bmgr-customer-modal-body
  {
	padding-bottom:0px;
  }
  
  .bmgr-customer-extra-modal-footer
  {
	padding-top:0px;
  }
  
  .bmgr_table_editor_div_class td{
	padding-right: 5px;
	padding-left: 4px;
	width:auto;
  }
  
} /* end mobile definitions */

.content-page, .content
{
	/* 100vh - topbar height */	
	/*
	 height:calc(100dvh - 72px);
	*/
}



.bmgr-page-render-container
{
	display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.stick-to-bottom 
{
	position: fixed;
	left: 0;
	width: 100%;
	transform: translateY(-100%);
	text-align: center;
	/* align-self: flex-end;*/
    /*
	position: absolute;
    bottom: 60px;
    left: 10;
    */
}
/* ---------------------*/
/* Widget toolbar
/* ---------------------*/
.bmgr-toolbar-container
{
	
	display: flex;
  	  /*border-top:1px solid #333333;
	  border-bottom:1px solid #333333;*/
	  /*height:60px;*/
	/*position: sticky;*/
}
.bmgr-toolbar-forward, #comms-toolbar-forward-container
{
	justify-self: end;
    margin-left: auto;
}
.btn-toolbar-info-container, #toolbar-info-container
{
	flex: 1;
	margin: 0 0px;
	padding: 0px;
}
/* ---------------------*/
/* Comms toolbar
/* ---------------------*/
.bmgr-comms-toolbar-container
{
	display: flex;
	  align-items:center;
	  /*border-top:1px solid #333333;
	  border-bottom:1px solid #333333;*/
	  height:60px;
	position: sticky;
}
.comms-toolbar-back-container, .btn-comms-toolbar-back-container
{
	/*float:left;*/
}
.comms-toolbar-forward-container, .btn-comms-toolbar-forward-container
{
	/*float:right;*/
}
.toolbar-info-container, .btn-toolbar-info-container
{
	flex: 1;
	margin: 0 0px;
	padding: 0px;
}
/* ---------------------*/
/* bmgr-desk 
/* ---------------------*/
.bmgr-desk
{
	display: grid;
    min-block-size: 100dvh;
    grid-template:
        "desk_logo desk_header" 65px
        "desk_sidebar desk_main" 1fr
        "desk_sidebar desk_footer" / 75px 1fr;
}
.bmgr-desk-logo
{
	grid-area: desk_logo;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bmgr-desk-sidebar
{
	grid-area: desk_sidebar;
}
.bmgr-desk-header
{
	grid-area: desk_header;
	background: var(--ct-topbar-bg);
}
.bmgr-desk-main
{
	grid-area: desk_main;
}
.bmgr-desk-footer
{
	grid-area: desk_footer;
	min-height: 60px;
	background: var(--ct-topbar-bg);
}

/* ---------------------*/
/* Comms bottom bar
/* ---------------------*/
.bmgr-comms-bottombar-container
{
	display: flex;
	  align-items:center;
	  /*border-top:1px solid #333333;
	  border-bottom:1px solid #333333;*/
	  height:60px;
  /* sticky */
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--ct-topbar-bg);
}
.bmgr-comms-bottombar-msg-container
{
	flex: 1;
	margin: 0 0px;
	padding-right: 0px;
	padding-left: 10px;
}
.bmgr-comms-bottombar-msg
{
	flex: 1;
	margin: 0 0px;
	padding: 0px;
}
.sms_body_input{
	padding-left: 5px;
	padding-right: 0px;
}
/* ---------------------*/
.navbar-custom-contact{
	
}
.navbar-contact-icon > svg{
	stroke: gray;
}
.navbar-custom
{
	padding: 0rem;
}
.navbar-collapse{
	/*padding-top:10px;*/
}
.bmgr-navbar-button-right 
{
	margin-left: auto; /* was float:right;*/
}
.bmgr-widget-card-header
{
	min-height: 4rem;
	color: var(--ct-topbar-item-color); /*var(--ct-topbar-item-hover-color);*/
}
.bmgr-widget-temperature-display
{
	color: var(--ct-topbar-item-color);
}
.bmgr-widget-header-dropdown
{
	border-radius: 20%;
	min-width: 5%;
	height: 100%; /* fill header */
	text-align: center;
}
.bmgr-widget-header-delay-dropdown
{
	border-radius: 20%;
	min-width: 5%;
	height: 100%; /* fill header */
	text-align: center;
	margin-left: auto; /* leftmost icon gets auto */
}
.bmgr-widget-header-alerter-dropdown
{
	border-radius: 20%;
	min-width: 5%;
	height: 100%; /* fill header */
	text-align: center;
	margin-left: 5px; /* was margin-left: auto; */
}
.bmgrw-delay-warn
{
	background-color: yellow;
}
.bmgrw-delay-error
{
	background-color: red;
}
/* --------------------- */

/* ---------------------*/
/* Custom contact toolbar
/* ---------------------*/
.custom_contact_select_bar
{
	margin-top:1px; /* remove margin added in content-page, but without causing other issues... */
	display: flex;
	  align-items:center;
	  /*border-top:1px solid #333333;
	  border-bottom:1px solid #333333;*/
	  min-height:50px;
	position: sticky;
	background: var(--ct-topbar-bg);
}
.custom_contact_toolbar
{
	margin-top:-5px; /* remove margin added in content-page, but without causing other issues... */
	display: flex;
	  align-items:center;
	  /*border-top:1px solid #333333;
	  border-bottom:1px solid #333333;*/
	  height:50px;
	position: sticky;
}

.contact_toolbar-back-container, .btn-contact_toolbar-back-container
{
	/*float:left;*/
}
.contact_toolbar-forward-container, .btn-contact_toolbar-forward-container
{
	/*float:right;*/
}
.toolbar-info, .btn-toolbar-info
{
	flex: 1;
	margin: 0 0px;
	padding: 0px;
}
.bmgr-contact-info{
	margin-top: 5px;
}
.contact-flow-date
{
	align-items:center;
	text-align: center;
	color: var(--ct-border-color);
}
.contact-flow-item
{
	width : 1fr;
}

.contact_activity
{
	max-width: 80%;
	margin-left: auto; /* was float:right;*/
	text-align:right;
	padding-right:10px;
}
.contact_comm_in
{
	max-width: 80%;
	margin-right: auto; /* was float:left; */
	text-align:left;
	padding-left:10px;
}
.contact_recurring_msg
{
	max-width: 80%;
	margin-left: auto; /* was float:right;*/
	text-align:right;
	padding-right:10px;
}
/* --------------------- */


.bmgr_comm_sms_incoming
{
	text-align: left;
}
.bmgr_comm_sms_outgoing
{
	text-align: right;
}

/* TINY MOBILE PHONES */
@media only screen 
  and (min-device-width: 100px) 
  and (max-device-width: 300px) 
{ 
  #header .top-header .header-logo
  {
	background-image: none,url(../media/QRKeg_logo_wht_150px.png) !important;
	background-size: 75px !important;
	width: 75px !important;
	height: 75px !important;
  }
} /* end mobile definitions */

.dashboard_row
{
	text-align: center;
	align-content: center;
	width: 100%;
	display: flex;
	justify-content: center;
}

.pie_status_distribution
{
	align-content: center;
	width: 400px;
	height: 400px;
}

/* FORMAT SOME TABLES */
.tag_status_table, .tag_history_table {
    width: 100%;
    border: 1px solid;
}

.tag_status_table td, .tag_history_table td {
    border: 1px solid;
}

/* CUSTOMIZE OUR LOGIN PAGE */
/* https://codex.wordpress.org/Customizing_the_Login_Form */
body.login  
{
  background-image: url(../media/kegs-background-scaled.webp) !important;
  background-position: center top;
  background-size: cover;
}

body.login div#login
{
	/* background: #fff;*/
    background-color:rgba(255, 255, 255, 0.75)
}

body.login form
{
	background: #fff;
    opacity: 1.0;
}

.bmgr-logo-header a
{
	text-decoration: none !important; 
	color: #8c9597 !important;
}

body.login h1 a
{
	background-image: none,url(../media/logo_wide_dark_650w.png);
	background-size: 200px;
	width: 200px;
}

.bmgr_table_editor_container{
	padding: 5px;
	border-width: 2px;
}

/*
.relative {
  position: relative;
}

.absolute-center {
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

p {
  font-size: 1.5rem;
}
*/