

/* Styles for the mobile version of IROB */

@import url("/css/bootstrap-icons.css");


/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - UTILITY KEYFRAMES                                              */
/* __________________________________________________________________________ */
@-ms-keyframes spin {
	from { -ms-transform: rotate(0deg); }
	to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
	from { -moz-transform: rotate(0deg); }
	to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
	from { -webkit-transform: rotate(0deg); }
	to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
	from {
		transform:rotate(0deg);
	}
	to {
		transform:rotate(360deg);
	}
}

/* Blinking dots */
@keyframes blink_dots {50% { color: transparent }}
.loader__dot { animation: 1s blink_dots infinite }
.loader__dot:nth-child(2) { animation-delay: 250ms }
.loader__dot:nth-child(3) { animation-delay: 500ms }
	
	
/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - ICONS STYLES - Styles for the new icons of bootstrap           */
/* __________________________________________________________________________ */



.mob_icons_alarm_OFF {/* The alarm is OFF, so the color is green */
	color: #0f0;    /* Green */
	font-size: 1.5rem;
}
.mob_icons_alarm_ON { /* The alarm is activated, so the color is red */
	/*color: #ff1a1a;	OLD Red */
	color: #f83c3c;	/* New Red for black backgrounds*/
	font-size: 1.5rem;
}

.mob_icons_alarm_animation_adjust{
	padding: 3px 0px 2px 0px; /* To avoid displacement */
}

i.mob_icons_alarm_animation{
	display: block;
    width: 1rem;
    float: right;
}
.mob_icons_alarm_animation{
	
	
	
	-webkit-animation-name: spin;
	-webkit-animation-duration: 2000ms;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: spin;
	-moz-animation-duration: 2000ms;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;
	-ms-animation-name: spin;
	-ms-animation-duration: 2000ms;
	-ms-animation-iteration-count: infinite;
	-ms-animation-timing-function: linear;
	
	animation-name: spin;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;

}


/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - COLOR RANGE STYLE - For numbers and backgrounds                */
/* __________________________________________________________________________ */

/* Gas injection */
.mobile_gas_inj_background_color {
	background-color: #555;
	background: linear-gradient(15deg, rgba(98,98,98,1) 0%, rgba(207,206,206,1) 35%, rgba(153,151,151,1) 100%);
}
.mobile_gas_inj_text_color {
	color: #fff;
}
.mobile_gas_inj_text_color_table {
	color: #000;
}
.mobile_gas_inj_border_color {
	border: solid 1px #555 !important;
}


/* Gas production */
.mobile_gas_prod_background_color {
	background-color: #ab0303;
	background: linear-gradient(15deg, rgba(124,4,4,1) 0%, rgba(249,101,101,1) 35%, rgba(171,3,3,1) 100%);
}
.mobile_gas_prod_text_color {
	color: #fff;
}
.mobile_gas_prod_text_color_table {
	color: #f00;
}
.mobile_gas_prod_border_color {
	border: solid 1px #ab0303 !important;
}


/* Gas flared */
.mobile_gas_flare_background_color {
}
.mobile_gas_flare_text_color {
}
.mobile_gas_flare_text_color_table {
}
.mobile_gas_flare_border_color {
}


/* Water fluid */
.mobile_fluid_water_background_color {
	background-color: #6ae2fd; 
	background: linear-gradient(15deg, rgba(7,105,128,1) 0%, rgba(106,226,253,1) 35%, rgba(5,144,176,1) 100%);
}
.mobile_fluid_water_2_background_color {
	background-color: #95e7f9; /* Important: This is because the date picker of the trending gets darker with the same colour... */
}
.mobile_fluid_water_text_color {
	color: #000;
}
.mobile_fluid_water_text_color_table {
	/* color: #4db1dd; --This is the color for the water at the battery height table values */
	
	color: #69abfe;
}
.mobile_fluid_water_border_color {
	border: solid 1px #6ae2fd !important;
}


/* Oil fluid */
.mobile_fluid_oil_background_color {
	background-color: #fdc26a;
	background: linear-gradient(15deg, rgba(133,83,8,1) 0%, rgba(253,194,106,1) 35%, rgba(180,111,9,1) 100%);
}
.mobile_fluid_oil_2_background_color {
	background-color: #ffc775; /* Important: This is because the date picker of the trending gets darker with the same colour... */
}
.mobile_fluid_oil_text_color {
	color: #000;
}
.mobile_fluid_oil_text_color_table {
	/* color: #db831c; --This is the color for the water at the battery height table values */
	color: #fbab34;
}
.mobile_fluid_oil_border_color {
	border: solid 1px #fdc26a !important;
}

/* Oil cut */
.mobile_fluid_oil_cut_background_color {
	background-color: #fdc26a;
	background: linear-gradient(15deg, rgba(5,144,176,1) 0%, rgba(106,226,253,1) 49%, rgba(253,194,106,1) 51%, rgba(133,83,8,1) 100%);
}
.mobile_fluid_oil_cut_border_color {
}

/* Plunger */
.mobile_plunger_background_color {
	background-color: #fff !important;
}
.mobile_plunger_text_color {
	color: #000 !important;
}
.mobile_plunger_text_color_table {
	color: #000;
}
.mobile_plunger_border_color {
	border: solid 1px #fff !important;
}


/* Wellhead */
.mobile_wellhead_background_color {
	background-color: #dafbda;
	background: linear-gradient(15deg, rgba(5,128,5,1) 0%, rgba(104,251,104,1) 35%, rgba(4,171,4,1) 100%);
}
.mobile_wellhead_text_color {
	color: #000 !important;
}
.mobile_wellhead_text_color_table {
	color: #000;
}
.mobile_tubing_text_color_table {
	color:#1ac80d;
}
.mobile_casing_text_color_table {
	color:#095a03;
}
.mobile_wellhead_border_color {
	border: solid 1px #dafbda !important;
}


/* LACT */
.mobile_lact_border_color{
	border: solid 1px #dafbda !important;
}
.mobile_lact_background_color{
	background-color: #dafbda;
	background: linear-gradient(15deg, rgba(5,128,5,1) 0%, rgba(104,251,104,1) 35%, rgba(4,171,4,1) 100%);	
}
.mobile_lact_background_color_table{
	background-color: #dafbda;
}
.mobile_lact_text_color{
	color: #000 !important;
}
.mobile_lact_text_color_table {
	color: #000;
}



/* ########## Color for the numbers ########## */

.mobile_generic_light_green_text_color {
	color: #00ff00 !important;
}
.mobile_generic_dark_green_text_color {
	color: #04b111 !important;
}

/* Style for the yesterday's production of any type */
.mobile_generic_yest_prod_text_color {
	color: #ffffbc !important;
}

.mobile_differential_text_color {
	color: #fdbbfa !important;
}
.mobile_static_text_color {
	color: #fd61f4 !important;
}


.mobile_generic_color_label {
	color: #999;
}





/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - NAVBAR STYLES                                                  */
/* __________________________________________________________________________ */

/* ########## Styles for the NavBar ########## */


/* .dropdown-menu {background-color: #b5b5b5;} */ 
.dropdown-menu {background-color: #d1d1d1;} 

#navbarSupportedContent{
	font-size: 1.3rem;
}
.navbar-brand{
	font-size: 1.8rem;
}


.active {
	font-weight: bold; 
	color: #f00;
	/*background: url(/images/MENU_selected.png);*/
	background-color: #fff;
	border-radius: 5px;
	background-repeat: no-repeat;
	background-size: 1.5rem 3rem;
	padding: 0.7rem;
	padding-left: 1rem !important;
	border: solid 1px #1c3c6a;
	/*box-shadow: 0px 0px 2px 1px #343a40 inset;*/
	box-shadow: 1px 1px 1px 0px #343a40 inset;
	}
	
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #989d9f;	
	font-weight: normal;
	}
	
	
	
	
	

/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - Menus and utilities - Accordion menu                           */
/* __________________________________________________________________________ */


.accordion>.card:not(:last-of-type) {

	border-top: 1px solid rgba(0,0,0,.125);
	border-left: 1px solid rgba(0,0,0,.125);
	border-right: 1px solid rgba(0,0,0,.125);
}
.accordion>.card:last-of-type {

	border: 1px solid rgba(0,0,0,.125);
}

.accordion>.card {
	background-color: transparent;margin: 0;
}


.accordion button.rotateAccordion{
	padding: 1rem;
}

/* ##### Styles for the button that moves with the menu */
.rotateAccordion .bi-caret-down::before {
	-moz-transition: all .4s linear;
	-webkit-transition: all .4s linear;
	transition: all .4s linear;
}
.rotateAccordion.down .bi-caret-down::before {
	-moz-transform:rotate(180deg);
	-webkit-transform:rotate(180deg);
	transform:rotate(180deg);
}

button.rotateAccordion .bi-caret-down {
	margin-left:auto;
	right: 0.5rem;
	position: absolute;
}

	
/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - Background styles and colors                                   */
/* __________________________________________________________________________ */


/* This classes are used for to apply into a div element that is fixed to the webpage.
This is used for IPHONE IOS to work, because the background image doesn't work at those devices */
/*
	Portrait: width: 100%
	
	Landscape: height:100%
*/
.mobile_background_fixed {
	position:fixed;
	/*top: 110px;*/
	height: 100%;
	z-index: -1;
	background-color:black;
}
/*.mobile_background_fixed_image {
	width: 100%;
}*/
@media (orientation: portrait) {
	.mobile_background_fixed_image {
			
		width: 100%;
		/*height: auto;*/
	}
}
@media (orientation: landscape) {
	.mobile_background_fixed_image {
			
		height: 100%;
	}
}
	
/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - GENERIC BUTTONS                                                */
/* __________________________________________________________________________ */


/* ------- MOBILE --------- */	
@media only screen and (max-width: 768px){	
	
	.button_app_laptop_view {
		margin-bottom:0.4rem;
	}
}


/*  --------  LAPTOP  --------  */			
@media only screen and (min-width: 768px){
		
	.button_app_laptop_view {
		padding-bottom: 1rem; 
		margin-bottom: 1rem; 
		border-bottom: solid 1px #ccc;
		
		/* Modif 2022-12-20 */
		border-bottom: solid 0px #ccc;
	}
	
}

/* Modif 2022-12-20 */
.button_app_laptop_view button.button-desplegable {
	box-shadow: 1px 1px 1px #fff inset, -1px -1px 1px #333 inset;
	border: 0px;
}



/*  */

/* ########## Styles for the generic buttons ########## */
.mobile_button_link_edition {
	color:#000;
	font-weight:bold;
	background-color: #ccc;
	margin: 0.8rem 0px;
	padding: 0.2rem 0.7rem;
	display: inline-flex;
	border-radius: 0.3rem;
	box-shadow: -1px -1px 1px 1px #777 inset, 1px 1px 1px 1px #fff inset;
	border: 1px #000;
}


.mob_icono_alarma{
	max-width: 100%;
}
.mob_button_title{
}

.mob_button_title_info{
	width: 2rem;
	margin-right: 0.2rem;
}

.mobile_button_close_modal {
	width:100%;
}

.mobile_button_go_top {
	width: 4rem;
	position:  fixed;
	bottom:  1rem;
	right:  1rem;
	z-index: 9;
	box-shadow: 5px 5px 5px rgba(68, 68, 68, 0.6);
	cursor: pointer;
}

.desplegable{
	display:flex; 
	white-space: normal; 
	margin-bottom:5px; 
	color: #000;
	border: solid 1px #ccc;
	/*
	background: linear-gradient(5deg, rgb(0 184 255 / 0%), rgba(255,0,0,0) 70.71%),
				linear-gradient(5deg, rgb(0 137 255 / 30%), rgba(0,255,0,0) 70.71%),
				linear-gradient(348deg, rgb(122 255 132 / 50%), rgba(200 251 204,1) 70.71%);
	*/			
	background-color:#fff;
	/*background: linear-gradient(5deg, rgba(255 255 255 / 100%), rgba(255,255,255,0.5) 100%);     2022-01-18   This doesn't work on iphones*/
	background: linear-gradient(5deg, rgba(255,255,255,1), rgba(255,255,255,0.5));
}

.mobile_alarm{
	color: #fff;
	
	background: red; /* This is included because in older versions of iphone, linear-gradient doesn't work  */
	
	/*background: linear-gradient(5deg, rgba(255 0 0 / 100%), rgba(255,0,0,0) 100%);    2022-01-18   This doesn't work on iphones*/
	background: linear-gradient(5deg, rgba(255,0,0,1), rgba(255,255,255,1));
	

}

.mobile_offline{
	color: #fff;
	/*background: linear-gradient(5deg, rgba(0 0 0 / 100%), rgba(0,0,0,0) 100%);    2022-01-18   This doesn't work on iphones*/
	background: linear-gradient(5deg, rgba(0,0,0,1), rgba(0,0,0,0));
	
}

.mobile_alarm_connection_error{
	background-image: url(/images/icons/off-line.png);
	background-repeat: no-repeat;
	background-size: 35px;
	padding-left: 40px;
}
.mobile_critical_alarm_error{
	background-image: url(/images/critical_icon.png);
	background-repeat: no-repeat;
	background-size:contain;
	padding-left: 35px;
}

.mobile_button_gray {
	color: #000;
    font-weight: bold;
    background-image: linear-gradient(#a7a5a5, #f1f1f1,#999999);
    border: solid 1px #444;
}




/* ########## Styles for the menu and titles ########## */
.meter_title{
	margin: 1rem auto 0 auto; 
	padding: 25px 0 15px 0; 
	text-align: center; 
	color: #fff; 
	text-shadow: 1px 1px #000;
}

.modal-header {
	display:block;
	text-align: center;
}
.modal-title-top {
	margin-top:10px;
}
.modal-title-bottom {
	margin-bottom:10px;
}

.mobile_modal_title_paragraph {
	margin: auto;
	display: table;
	width: max-content;
	max-width: 95%;
	
	border-radius: 8px;
	padding: 10px 20px;
	
	text-align: center;											
	text-shadow: 1px 1px #000;


	/* 2022-12-20 - Modifications of the background */
	background: -webkit-linear-gradient(#333, #777, #333);
    background: linear-gradient(342deg, #333, #777, #333);
    color: #fff;
    /*box-shadow: 2px 2px 1px #000 inset, -1px -1px 1px #aaa inset;*/
    border: 1px solid #aaa;
	
}

.mob_button_export_CSV {
	
	
}

.mob_button_edition {
	padding:0.3rem;
	
	
}


/* ########## Styles for the BUTTONS ########## */
.button-desplegable-active {
	

	color: #11a202;
	background-color: #fff;
	box-shadow: 0 0 0 0.2rem rgb(38 255 52 / 50%);
	
	/*background: linear-gradient(5deg, rgba(255 255 255 / 100%), rgba(255,255,255,1) 100%);    2022-01-18   This doesn't work on iphones*/
	background: linear-gradient(5deg, rgba(255,255,255,1), rgba(255,255,255,1));
	
}

.button-desplegable-visited {
	
	background-image: url(/images/icons/checked.png);
	background-repeat: no-repeat;
	background-size: 25px;
	padding-left: 35px;
	
	/*background: linear-gradient(5deg, rgb(255 255 255 / 0%), rgba(255,255,255,0) 100%);*/
	
}

.mobile_button_live {
	color: #fff;
	font-weight: bold;
	box-shadow: 1px 1px 1px #fff inset, -1px -1px 1px #ddd inset;
	background-image: linear-gradient(#af8080, #c63737,#fd0000);
	border: solid 1px #444;
	text-shadow: -1px -1px #555;
}

.mobile_button_well_view {
	color: #fff;
	font-weight: bold;
	border: solid 1px #444;
	text-shadow: -1px -1px #555;
	font-weight: normal;
	background-image: linear-gradient(#87d2f7, #326178,#417893);
	box-shadow: 1px 1px 1px #000;
}

.mobile_button_trending {
    width: 50px;
    cursor: pointer;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 2px 1px #2b2b2b;
    -moz-box-shadow: 0px 0px 2px 1px #2b2b2b;
    box-shadow: 0px 0px 2px 1px #2b2b2b;
    filter: brightness(90%);
}


/* ## Silver button */
.mobile_button_silver_generic {
	/*margin: 0 auto;
	padding: 5px 10px;
	background-image: linear-gradient(#ababab, #f0f0f0,#ababab);
	*/
	border-radius: 5px;
	background-color:#fff;
	margin-top: 10px;
	
	
    padding: 0.6rem 1.2rem;
    background-image: linear-gradient(#ababab, #f0f0f0,#ababab);
    box-shadow: 2px 2px 1px #fff inset, -2px -2px 1px #333 inset;
    font-weight: 500;
    display: inline-flex;
    color: black;
	
	border:0px;
	cursor: pointer; /* This is useful for IOS to recognice it as a button */
	
}
.mobile_button_silver_generic_active {
	border-radius: 5px;
	background-color:#fff;
	margin-top: 10px;
	padding: 0.6rem 1.2rem;
    background-image: linear-gradient(#ababab, #f0f0f0,#ababab);
    font-weight: 500;
    display: inline-flex;
    color: black;
	
	border:0px;
	box-shadow: 2px 2px 1px #333 inset, -2px -2px 1px #fff inset;
}

.mobile_button_silver_generic:hover, .mobile_button_silver_generic_active:hover{
	text-decoration: none !important; 
	color:black;
	filter: brightness(1.1);
}
.mobile_button_silver_generic:active {
	box-shadow: 2px 2px 1px #333 inset, -2px -2px 1px #fff inset;
	outline: 0px;
}
.mobile_button_silver_generic:focus , .mobile_button_silver_generic_active:focus {
	outline: 0px;
}

	
	



/* ########## Route buttons ########## */
.mobile_route_text {
	position: relative;
	display: inline;
	margin-right: 1rem;
	padding: 3px 5px;
	border-radius: 3px;
	text-align: center;
	box-shadow: 1px 1px 2px #000;
}
.mobile_route_text_north {
	background-color: #dedede;
	border: solid 2px #7c7d07;
	color:#7c7d07;
}
.mobile_route_text_south {
	background-color: #dedede;
	border: solid 2px #9825f9;
	color:#9825f9;
}
.mobile_route_text_munson {
	background-color: #dedede;
	border: solid 2px #8a241a;
	color:#8a241a;
}
.mobile_route_text_saratoga {
	background-color: #dedede;
	border: solid 2px #0080bf;
	color:#0080bf;
}
.mobile_route_text_university {
	background-color: #dedede;
	border: solid 2px #bf8400;
	color:#bf8400;
}




/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - SEARCH BOXES AND FILTER BOXES                                  */
/* __________________________________________________________________________ */

#refresh_button{
	
	z-index: 99;
}
#refresh_button2{
	margin:0px;
	z-index: 99;
}

.mobile_box_text_loading{
	text-align: left;
	color: #fff;
	background-color:#000;
	font-weight: bold;
	padding: 5px 10px;
	border-radius: 5px;
	border: solid 1px #fff;
}

.mobile_filter_box_name{
	color:#aaa;
	display: inline-flex;
}
.mobile_filter_box {
	margin-top: 2px;
	padding: 2px 15px;
	border: solid 1px #000;
	display: inline-block;
	border-radius: 3px;
	background-color: #fff;
	font-weight: bold;
	color: #000;
}
.mobile_filter_box_label{
	color: #000;
}

/* ###### Route Lease Selectors  ###### */
#mobile_container_selector_lease_route{
	color: rgba(255,255,255,.5);
}
#mobile_form_selector_lease_route{
}
.mobile_selector_lease_route {
	cursor:pointer;
	border-radius: 0.3rem;
	margin-left: 0.9rem;
	min-width: 7rem;
	height:2.6rem;
}


/* ## Filter for the battery */
.mobile_selector_battery_filter{
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
/* Select tag style generic for all website */
.mobile_selector_general{
	box-shadow: 2px 2px 1px #000 inset;
	padding: 2px 0 0 2px;
	border: 0px;
	border-radius: 0.3rem;
	margin-left: 0.9rem;
	min-width: 7rem;
	height: 2.6rem;
}

/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - AUTOCOMPLETE FORM                                              */
/* __________________________________________________________________________ */
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}
		
		
		
		






/* __________________________________________________________________________ */

/* IMAGES */
/* __________________________________________________________________________ */

	.mobile_turbine_off{
		border-radius: 50%;
		display: inline-flex;
		width: 25px;
		margin-left: 5px;
		background-color: #fff;
		border: solid 1px #7dfe3f;
		padding: 1px;
	}
	.mobile_turbine_on{
		border: solid 1px #7dfe3f;
		border-radius: 50%;
		display: inline-flex;
		width: 25px;
		margin-left: 5px;
		background-color: #000;
		padding: 1px;
	}
	
	/* This is the loading cover when we require the load of each page */
	#loading_cover{
		display: block;
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: #fff;
		z-index: 999999; 
	}
	
	/*#loading_cover_main_img{
		width: 80%;
		margin: 50px 10%;
	}
	#loading_cover_load_img{
		width: 100%;
	}*/
	
	#loading_cover_main_img{
		width: 30%;
		display: block;
		margin: 6rem auto 2rem auto;
		filter: invert(1);
	}
	#loading_cover_load_img{
		/*width: 80%;*/
		
		width: auto;
		max-width: 100%;
	
		display: block;
		margin: auto;
	}
	
	@media only screen and (min-width: 768px){
		
		#loading_cover_main_img{
			width:15%;
		}
	}


/* __________________________________________________________________________ */

/* TABLE STYLE - Generic style for tables */
/* __________________________________________________________________________ */


	/* Styles for regular tables */
	.table_generic_val{
		width:100%;
		text-align: center;
		font-size: small;
		
		background-color: white;
		border-radius: 3px;	
		padding: 5px;
		
	}
	.table_generic_val tr:nth-child(even){
		background-color: #f2f2f2;
	}
	.table_generic_val td, .table_generic_val th {
		border-bottom: 1px solid #333;
		padding: 3px 0;
	}
	.table_generic_val th {
		padding: 15px 0px;
	}
	/*.table_generic_val td{
		border: 0px solid #000;
	}*/
	.table_generic_val_header{
		background-color: #000;
		color: #fff;
		cursor: pointer;
		border-bottom: 2px solid white;
	}
	
	.table_generic_val_title {
		position: relative;
		border: 1px solid #ddd;
	}
	.table_generic_val_sort_btn {
		padding: 3px 5px;
		margin: 10px 0 0 0;
		border-radius: 5px;
		border: solid 1px #fff;
		display: inline-flex;
		background-color: #fff; color: #000;
	}
	
	
	
	/* Styles for the id prodview table */
	.prodview_id_table{
		width: 100%;
		text-align: center;
	}
	.prodview_id_table tr {
		background-color: #fff;
	}
	.prodview_id_table th {
		background-color: #000; color: #fff;
	}
	.prodview_id_table th, .prodview_id_table td {
		padding: 0.2rem 0.3rem;
	}
	.prodview_id_table td, .prodview_id_table {
		border: 1px solid #ddd;
	}
	
	
	
	
	
	/* Styles for the battery table */
	#tank_levels_table{
		width:100%;
		text-align: center;
		
	}
	#tank_levels_table tr{
		background-color: #fff;
	}
	#tank_levels_table tr:nth-child(even){
		background-color: #f2f2f2;
	}
	#tank_levels_table td, #tank_levels_table th {
	  border: 1px solid #ddd;
	}
	
	.tank_label{
		width: 12%;
		height: 54%;
		border: solid 0px #f00;
		color: white;font-size: 0.8rem;
		position: absolute;
		text-align: center;
		z-index: 99;
	}
	
	/* This classis used only because the tables need to be in display: block to be collapsible */
	.table_body_collapsible {
		display:block;
	}
	
	
	
	.table_footer_btn_arrow{
		margin-top: 10px;
		width: 20px;
		height: 20px;
		position: relative;
		border-bottom: 6px solid;
		border-left: 6px solid;
		display: inline-block;
		color: lightGray;
	}
	.btn_arrow_down {
		transform: rotate(315deg);
	}
	
	.btn_arrow_up {
		margin-top: 20px; /* Because of the rotation, the arrow will be close to the previous object */
		transform: rotate(135deg);
	}
		
	

	/* ###### Styles for tha tables ###### */	
	/* Style for the table cards with the info. This values usually comes from bootstrap. */
	.table_label {
		color: #999;
		width: 100%; /* 2022-01-03 This is to fix safari's issues withe table widths */
		
	}
	.table_val {
		color: #ccc;
		text-align: right;
	}
	.table_units {
		color: #999;
		font-size: 60%;
	}
	.table_label_main {
		font-weight: bold;
	}
	.table_val_main {
		text-align: right;
		font-weight: bold;
	}
	
	
	/* ######### Table style for the production values ###############  */
	
	.table_prod_separator {
		border-left: solid 1px #ccc;
		padding-left: 0.5rem;
	}
	.table_prod_val {
		font-size: 1.25rem;
		padding: 0 0.2rem 0 0.4rem;
		text-align: right;
	}
	.table_prod_title {
		text-align: center;
		color: #999
	}
	
	
	/* ######### Table style for the Grease table ###############  */
	.mobile_table_grease_values {
		border-right: solid 1px #ccc;
		text-align: center;
		padding:0;
		width: 16.6%
	}
	.mobile_table_grease_general {
		width:auto;
		border: solid 1px #ccc;
		border-radius:0.5rem;
		overflow: hidden;
		padding:0.2rem;
		margin-top:0.5rem;
		margin-bottom:0.5rem;
	}
	
	
	
	
	/* ######### Table style for the Documentation, Gas calibration, and Safety ###############  */
	table.mobile_data_table {
		border-collapse: collapse;
		width: 100%;
	}

	.mobile_data_table th, .mobile_data_table td {
		padding: 8px;
		text-align: left;
		border-bottom: 1px solid #DDD;
	}

	.mobile_data_table tr:nth-child(even){background-color: #f2f2f2;}
	.mobile_data_table tr:hover {background-color: #ddd;}
		
		
/* __________________________________________________________________________ */

/* BOOTSTRAP - Overwriting some of the bootstrap values
/* __________________________________________________________________________ */
	
		
		
	/*  BOOTSTRAP
	
		Overwriting some of the bootstrap card-body classes to delete some padding */
	.card {
		background: #000;
		height: max-content;
		border-radius: 8px
	}
		
	div.card-body{
		padding: 0.5rem;
		margin-bottom: 4px;
	}
	
	div.card-title-container{
		border-radius: 7px 7px 0 0;
	}
	
	div.card{
		border: 1px solid white;
		margin-bottom: 4px;
	}
	
	.card-title{
		padding: 7px 0 0 0;
	}
	
	.modal-body{
		background-color: #222;
	}
	
	button.btn-primay:focus{
		
	}
	

	
	.gathering_green{ background-image: linear-gradient(#38f53e, #b6ffb8,#38f547); }
	.gathering_red  { background-image: linear-gradient(#f53838, #ffb6b6,#f53838); }
	.gathering_yellow  { background-image: linear-gradient(#f5de38, #fffdb6,#f5d538); }
	
		
		


	/* ########## Styles for the info displayed ########## */

	.blinking {
		animation: blinkingText 1.2s infinite;
		color: #f00;
		font-weight: bold
	}

	.mobile_Gas_Comp_running_img{
		float: left;
		width: 55px;
		border: 0 solid #fff;
		border-bottom: 0 solid #fff;
		text-align: left;
		padding: 8px;
		margin-top: -8px;
	}

	/* This style is for the loading text... */
	.Modal_container_loading_text {
		color: white;
	}

	/* This style is for the container of the trending and live buttons */
	.mobile_container_buttons{
		text-align-last: justify;
		padding-top: 0.5rem;
		border-top: solid 1px #ccc;
		
		/* 2022-01-03 New aditions for the Iphone display */
		position: relative;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		display: inline-flex;
	
	}
	
	.mobile_container_buttons_engineer {
		border-top: 0px;
		margin: 0.5rem 0;
		text-align: center;
		padding-top: 0.6rem;
		padding-bottom: 0.3rem;
	}



/* __________________________________________________________________________ */

/* MOBILE - GENERIC CANVAS                                                    */
/* __________________________________________________________________________ */

.mobile_general_leyend {
	
	max-width: 40rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
	padding: 5px 15px 10px 15px;
	
	border: 0px;
	background: none;
	text-align: center;
	font-size: 1.25rem;
	color: #ccc;
}

div.mobile_general_leyend_canvas {
	min-width: 50%;
	display: table;		/* This is mandatory because Safari don't work very well with "width: max-content;" */
    width: max-content;
	
	padding: 0.5rem;
	margin: 0 auto;
	overflow: hidden;
	border: 2px solid #ddd;
	background-color: white;
}

.mobile_general_leyend_canvas_obj {
	width:100%;
	max-width: 11rem;
	position:relative;
	margin: 0 auto;
	text-align: left;
}

.mobile_general_leyend_title {
}


/* We want for the canvas to be smaller in big screens */
@media only screen and (min-width: 900px) {
	.CanvasTrending {
		/* 2022-05-19 - There was an error in big screens that showed black background at the right of the canvas trending
		max-width: 30rem;
		*/
	}
}

.card_canvas_container {
	/*width:100%; overflow: hidden; border: 2px solid #ddd; padding: 0px;*/
	width:100%;
	overflow: hidden;
	border: 0px !important;
	
	padding: 1px !important;
	box-shadow: 1px 1px 1px #777 inset, -1px -1px 1px #ddd inset;
}

.card_canvas_container .CanvasTrending {
	
	width:calc(100% - 1px); margin:1px 0 0 1px; border:0px solid #d3d3d3; position:relative; background-color: #fff;
	
	border-radius: 7px !important;
	padding: 3px 0 0 3px !important;
	
	
}




/* ######### TRENDING TOOLTIP ########## */
.mobile_trend_tooltip_main {
	margin: 0.3rem;
	width: 100%;
	font-size: 90%;
}
.mobile_trend_tooltip_date {
	font-weight:bold;
}
.mobile_trend_tooltip_value {
	font-weight:bold;
	display:inline;
}
.mobile_trend_tooltip_name {
}




/* __________________________________________________________________________ */

/* MOBILE - LIVE VALUES - STYLES                                              */
/* __________________________________________________________________________ */


	/* ########## Styles for LIVE - header ########## */
	.mobile_title_live_menu {
		padding: 3px;
		margin: 10px 0.5rem 20px 0.5rem;
		box-shadow: 1px 1px #999 inset, -1px -1px #fff inset;
		font-weight: bold;
		text-align: center;
		color: #f00;
		background-color: #eee;
		border-radius:5px; border: solid 0px #f00;

		width: 80%;
	}
	.mobile_title_live_menu_row {
		margin: 0px;
		justify-content: space-between;
	}
	.mobile_title_live_menu_escape_btn {
		height: max-content;
	}
	.mobile_title_live_menu_escape_btn_img {
		width: 40px;
		margin-top: 4px;
	}

	.mobile_card_live{
		padding-bottom: 3px;
		border-bottom: solid 0px #ccc;
		width: 100%;
	}
		
		
	/* ########## Styles for LIVE - GAUGE  ########## */
	.mobile_live_gauge_container {
		width: calc(50% - 3px);
		display: inline-flex;
		padding: 0px;
		margin: 1px;
		border: 0px;
		background: #ccc;
		text-align: center;
	}

	.mobile_live_gauge_graphic {
		position: relative;
		margin: 0.5rem;
	}

	.mobile_live_gauge_graphic_img {
		top: 0;
		left: 0;
		width: 100%;
	}
	.mobile_live_gauge_graphic_needle{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}
	.mobile_live_gauge_graphic_reflection{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}

	.mobile_live_gauge_graphic_warning {
		width: 25px;
		bottom: 25%;
		right: 35%;
		position: absolute;
	}

/* __________________________________________________________________________ */

/* MOBILE - TRENDING VALUES - STYLES                                          */
/* __________________________________________________________________________ */


	/* ########## Styles for TRENDING  ########## */
	
	div.mobile_collapse_trending_card_container, .mobile_collapse_trending_card_container{
		overflow: hidden; 
		border: 1px solid #444; 
		padding: 1rem 0.5rem 0.5rem 1rem;
		background: #fff; 
		/* background: linear-gradient(0deg, rgb(221 219 219) 0%, rgb(255, 255, 255) 50%, rgb(185 180 180) 100%);    2022-01-18   This doesn't work on iphones*/
		background: linear-gradient(0deg, rgba(221,219,219,0), rgba(255,255,255,0.5), rgba(185,180,180,1) );
		background: #fff;
		box-shadow: 1px 1px 2px #000 inset, -1px -1px 2px #fff inset;
	}
	
	
	div.mobile_collapse_trending_title, .mobile_collapse_trending_title{
		display: inline-flex;
		font-size: 90%; 
		color: #fff;
		border: solid 1px #444;
		border-radius: 5px;
		font-weight: bold; 
		margin: 0 auto;
		margin-left: 0;
		text-align: center;			
		padding: 0.25rem 1rem;
		
		min-width:5rem;
		
		box-shadow: 1px 1px #ddd inset, -1px -1px #444 inset;
	}
	
	.mobileCollapseTrendingMainSelector {
		
	}

	div.mobileCollapseTrendingDateSelector, .mobileCollapseTrendingDateSelector{
		border-radius: 5px;
		padding: 0.25rem;
		margin: 0.1rem;
		background-color: #eee;
		border: solid 1px #999;
		
		font-weight:bold;
	}
	
	div.mobileCollapseTrendingMaxValSelector, .mobileCollapseTrendingMaxValSelector{
		border-radius: 5px;
		padding: 0.25rem;
		margin: 0.5rem;
		background-color: #eee;
		border: solid 1px #999;
		
		font-weight:bold;
	}
	
	.mobile_trending_well_view_box {
		padding: 2px;
		overflow: hidden;
		/*border: 1px solid #444;*/
		background: #fff;
		background: linear-gradient( 0deg, rgba(221,219,219,0), rgba(255,255,255,0.5), rgba(185,180,180,1) );
		background: #fff;
		box-shadow: 1px 1px 2px #000 inset, -1px -1px 2px #fff inset;
		border-radius: 8px;
	}
	
	.mobile_button_overview_time_text {
		font-weight: bold;
		color: #555;
		font-size:60%;
		
		
		width: calc(100% + 3.3rem);
		margin: -0.25rem -2.3em;
		table-layout: fixed;
		text-align: center;
	}
	
	
	.mobileTrendingChartUnits {
		padding-left:0.7rem;
		font-size: 0.8rem;
		position: absolute;
		margin-top: 4.2rem;
	}				 


/* __________________________________________________________________________ */

/* MOBILE - PRODUCTION VALUES - STYLES                                        */
/* __________________________________________________________________________ */

.mobile_production_table_values {
	width: 100%;
	
	background-color: white;
	padding: 0.5rem;
	font-size: 70%;
	
	color: #000; /* Just in case, we set the default color */
	background-color: #fff;
	
	/*margin-top: 0.4rem;
	border: 2px solid #ddd;
	border-radius: 8px;*/
}

.mobile_container_prod_numbers {
	
	background-color: #fff;
	border: 1px solid #bbb;
	box-shadow: 1px 1px 1px #000 inset, -1px -1px 1px #fff inset;
	width: fit-content;
	padding: 0.2rem 0.5rem;
	margin-top: 0.3rem;
	

	min-width: 16rem;
	overflow: hidden;

}

/* We want for the canvas to be smaller in big screens */
@media only screen and (min-width: 900px) {
	.mobile_container_prod_numbers {
		max-width: 30rem;
	}
}




/* __________________________________________________________________________ */

/* MOBILE - NETWORK VALUES - STYLES                                           */
/* __________________________________________________________________________ */


/* Other buttons */
.selected_button{
	box-shadow: 0px 0px 3px #555;
	display: inline-flex;
    margin: 5px -5px 0px 30px;	
    font-weight: bold;
    font-size: 100%;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
	color: #11a202;
    background: #fff;
	box-shadow: 0 0 0 0.1rem rgb(38 255 52 / 50%);
}

.unselected_button{
	display: inline-flex;
    margin: 5px -5px 0px 30px;	
    font-weight: bold;
    font-size: 100%;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
    color: #ccc;
    background: #505050;
	box-shadow: 0 0 0 0.1rem #ccc;
}

.mobile_network_buttons_container {
	margin: 0 auto; 
	margin:0 0 2rem 0;
	padding: 1rem 0;			
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;			
	text-align: center;
	font-size: 100%;
}
.mobile_network_button {
	border-radius: 5px;
    margin-top: 10px;
    background-color: #fff;
    background-image: linear-gradient(#ababab, #f0f0f0,#ababab);
    box-shadow: 2px 2px 1px #fff inset, -2px -2px 1px #000 inset;
    font-weight: 500;
    /* min-width: 5rem; */
    padding: 0.6rem 1.2rem;
    display: inline-flex;
    color: black;
}

.mobile_network_button.selected_button{
	box-shadow: -2px -2px 2px #fff inset, 2px 2px 2px #000 inset;
}




/* __________________________________________________________________________ */

/* MOBILE - BATTERY VALUES - STYLES                                           */
/* __________________________________________________________________________ */

.mobile_battery_device_title {
	text-align: center;
	background: -webkit-linear-gradient(#000, #555, #000);
	-webkit-background-clip: text;
}


.mobile_battery_box_running_info {
	text-align: center;
	-webkit-background-clip: text;
	border-radius: 8px;
	border: solid 1px #000;
	background: #000;
	padding: 8px 0;
	width: 50%;
	margin: 0 auto;
	margin-bottom: 0.5rem;
}

/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - PLUNGER EDITION STYLES                                         */
/* __________________________________________________________________________ */

.mobile_edition_success, .mobile_edition_error {
	margin: 1rem;
	text-align: center;
	border-radius: 0.3rem;
	color: #fff;
	padding: 1rem;
	text-shadow: 1px 1px 3px #000000;
}
.mobile_edition_success {
	background-color: #00cc00;
}
.mobile_edition_error {
	background-color: #ff2525;
}

div.mobile_plunger_edit_card {
	width: calc(100% - 3px);
	display: inline-flex;
	border: solid 0px #000;
	margin: 1rem auto 1.5rem auto;
	background-color: transparent;
	max-width:500px;
	border: 0px solid white;
}


.mobile_plunger_edit_container {
	background-color: #eee;
	margin-top: 2rem;
	margin-bottom: 2rem;
	display:block;
	width: auto;
}

label.mobile_plunger_edit_label {
	color: #999;
	padding-left: 0px;
	font-size: 90%;
}

/* #### STYLES For the EDIT Plunger response #### */
.mob_edit_text_box {
	background: linear-gradient(to bottom, #bbbbbb 0%, #eeeeee 100%);
}

.mob_edit_text_box, .mob_edit_error_text{
	padding: 5px;
	border: solid 1px #ccc;
	border-radius: 5px;
	width: 300px; 
	background-color: #eee;
}

.mob_edit_error_text {
	
	background-color: #f00;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	
}

.mob_edit_message {
	display:block;
}

.mob_edit_message_title {
	padding: 10px; 
	font-weight: bold; 
	font-size: 120%; 
	border: solid 1px #868383; 
	border-radius: 5px; 
	width: 600px;
	background-color: #eee;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
}


/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - PLUNGER                                                        */
/* __________________________________________________________________________ */

.mobile_plunger_type_box {
	
	text-align: center;
	font-size: 70%;
	font-weight: bold;
	margin: 0 auto;
	margin-top: 0.3rem;
	margin-bottom: 0.5rem;
	border-radius: 0.2rem;
	width: 50%;
	color:#eee;
	box-shadow: 1px 1px 1px #111 inset, -1px -1px #fff inset;
	
}

/* __________________________________________________________________________ */

/* DONT KNOW WHERE IT GOES                                                    */
/* __________________________________________________________________________ */

#live_data_btn{
	top: 20px;
	right: 220px;
	width: 130px;
	border-radius: 10px;
	display:none;
}



/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - ALERT and ALARM boxes                                          */
/* __________________________________________________________________________ */

/* These values are from the network error alert, so all the web page have to had those values */
div.mobile_alert_error_box {
	margin: -15px 0 5px 0;
	padding: 5px 0 15px 0;
	color: #000;
	border: solid 0px #ccc; 
}

.mobile_alert_error_title {
	color: #fdadac;
}

.mobile_alert_error_title_image {
	width: 10%;
	margin: -5px 5px 0 0;
}

div.mobile_alert_error_main_text {
	font-size: 0.8rem;
	border: solid 1px #f00;
	background-color: #000;
	color: #fff;
}


/* Values for the alarm text box. This values are the same for the alert values */
div.mobile_alarm_error_box {
	margin: -15px 0 5px 0;
	padding: 5px 0 15px 0;
	color: #000;
	border: solid 0px #ccc;  
}

.mobile_alarm_error_title {
	color: #f5c903; /* Yellow */
}

.mobile_alarm_error_title_image {
	width: 10%;
	margin: -5px 5px 0 0;
}

div.mobile_alarm_error_main_text {
	 font-size: 0.8rem;
	 border: solid 1px #f5c903; /* Yellow */
	 background-color: #000;
	 color: #fff;
}



/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - SARATOGA Battery Styles                                        */
/* __________________________________________________________________________ */


	.mob_icons_alarm_OFF {
		font-size: 1rem;
	}
	.mob_icons_alarm_ON {
		font-size: 1rem;
	}
/*	.table_label {
		text-align:right;
		padding-right: 1rem;
	}*/
	.table_units{
		text-align:left;
		padding-left: 0.3rem;
	}


	.table_main_element {
		
		padding-bottom: 3px;
		border-bottom: solid 0px #ccc;
		display: inline-block;
		width: auto; /* Just for safari */
		
		margin: auto;
	}
	
	.card_container_table {
		overflow-x:hidden;
		text-align:center;
		display: table;
		margin: auto;
		width: auto;
	}
	

	
	.mobile_trend_button_battery_title{
		   width: 100%;
	}
	.mobile_trend_button_battery{
		width: auto;
		margin-left: auto;
		margin-right: 0;
		padding-top: 0.5rem;
		display: inline;
		justify-content: space-between;
		
	}
	
	.mobile_battery_device_title {
		display: flex;
		align-items: center;
		padding:0 0.5rem;
		justify-content: center;
	}




/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - Form values for generic data                                   */
/* __________________________________________________________________________ */
	
.form_row_data {
	margin-bottom: 1rem;
	margin-top: 1rem;
}
.form_col_data {
	padding: 0px;
	margin: 0px;
	align-self: center;
}
.form_mandatory_icon {
	color: red;
	padding-right:0.4rem;
	font-weight:bold;
}
.form_small_units{
	font-size:80%;
	color:#ccc;
}

/* __________________________________________________________________________ */
/*                                                                            */
/*    MOBILE - CHEMICAL PUMPS Styles                                          */
/* __________________________________________________________________________ */


.mobile_ch_tank_container{
	display: inline-flex;
	position: relative;
}
.mobile_ch_tank_percentage{
	position: absolute;
    text-align: center;
    top: 10%;
    font-size: 1.5rem;
    width: 100%;
    font-weight: 700;
}








/* __________________________________________________________________________ */

/*OILEV BACKGROUND                                                            */
/* __________________________________________________________________________ */

/* Para poner variables en CSS, y luego cambiarlas segun sea el usuario. */
:root {
	
	/* Las variables llamadas -orig con las que contienen los valores originales */

	 --Oilev-background-landscape-orig: none;
	--Oilev-background-portrait-orig: none;

	--Oilev-background-landscape: url('/images/fondo.webp');
	--Oilev-background-portrait: url('/images/fondo.webp');

	--Oilev-background-color-orig: #505050; /* Este es el color original */
	--Oilev-background-color: #000;
  
  
  
	/* 2022-12-20 - Modification to change the background */
	--Oilev-background-landscape-orig: url('/images/fondo.webp');
	--Oilev-background-portrait-orig: url('/images/fondo.webp');
	--Oilev-background-color-orig: #000; /*Este es el color original */

  
  
}






@media (orientation: landscape) {
  body {
    background-image: var(--Oilev-background-landscape-orig);  /* Esto son variables propias del CSS. Se van a usar para seleccionar la imagen de background */
	background-size: auto 100vh;
	
  }
}

@media (orientation: portrait) {
  body {
    background-image: var(--Oilev-background-portrait-orig);  /* Esto son variables propias del CSS. Se van a usar para seleccionar la imagen de background */
	background-size: 100vw auto;	
	background-position: left 0px top 110px;
  }
}  

body {
	/*top: 0;
	left: 0;width: 100%; 
	height: 100%;
	z-index: -99; */
	
	
	background-color: var(--Oilev-background-color-orig) !important;
 /* background-color: #505050; */      /* THIS IS THE OLD VALUE */
	background-repeat: no-repeat;			
	background-attachment: fixed;
}
