/*========================================================================================================================*/
/*                                         Overrides to existing template styles                                          */
/*========================================================================================================================*/

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

.card-header.card-header-left{
	text-align: left;
}

.navbar-nav {
	z-index: 200;
}

.alert {
	margin-top: 1rem;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background: #1B5FA7;
    border: 1px solid #1B5FA7;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{
	cursor: default;
}

.field-user-verifycode img {
	margin-bottom:1rem;
}

.help-block {
	color: var(--red);
}

.fa-chevron-collapse::after{
    content: "\f077";
}

.collapsed .fa-chevron-collapse::after{
    content: "\f078";
}

.sidebar .nav-item .nav-link{
    padding-top: 0.5rem;
    padding-bottom: 0.65rem;
}

.sidebar .nav-item .nav-link-group{
    padding: 0.5rem;
    width: 14rem;
    text-align: left;
    position: relative;
}

.sidebar .nav-item .nav-link-group a{
    color: rgba(255,255,255,.8);
}

.sidebar .nav-item .nav-link-group a:hover{
    color: #fff;
    text-decoration: none;
}

#wrapper .sidebar .nav-item .collapse-inner .collapse-item{ /*#wrapper used to push it to higher priority that the base template*/
    padding: 0.5rem;
}

.sidebar .nav-item .collapse-inner .collapse-item a{
    color:#3a3b45;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
}

.sidebar .nav-item .collapse-inner .collapse-item a.hover-info{
    position: absolute;
    float: right;
    margin-left:-10px;
    width:10px;
}

@media (max-width: 768px){
	th, td {
		text-overflow: ellipsis;
		overflow: hidden; 
		white-space:nowrap;
	}
}
#wrapper #content-wrapper {
    overflow-x: clip;
  }

body {
    font-size: 0.9rem;
    color: #444444;
}

.table, .btn {
    color: #444444;
}

.h1,
h1 {
 font-size:2rem;
}

.h2,
h2 {
 font-size:1.75rem;
}

.h3,
h3 {
 font-size:1.5rem;
}

.h4,
h4 {
 font-size:1.25rem;
}

.h5,
h5 {
 font-size:1rem;
}

.h6,
h6 {
 font-size:0.75rem;
}


/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                       Overrides for bootstrap's default colors                                         */
/*========================================================================================================================*/
.btn.btn-success {
	color: #fff;
    background-color: #0C845D;
    border-color: #0C845D;
}

.btn.btn-grey{
	color: #fff;
    background-color: #9AA1B7;
    border-color: #9AA1B7;
}

.btn.btn-primary{
	color: #fff;
    background-color: #1B5FA7;
    border-color: #1B5FA7;
}

.btn.btn-primary:hover{
	color: #fff;
    background-color: #2071C7;
    border-color: #2071C7;
}

.btn.btn-yellow{
	color: #fff;
    background-color: #D1B102;
    border-color: #D1B102;
}


.text-success{
	color: #0C845D !important;
}

.text-warning{
	color: #D1B102 !important;
}

.text-secondary{
	color: #9AA1B7 !important;
}

.summary{
    margin-left: 1rem;
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                               Classes for global use                                                   */
/*========================================================================================================================*/
.pull-right{
	float:right;
	margin-left:auto;
}

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

.border-top-purple{
    border-top: .25rem solid #cc00cc;
}

.border-top-red {
    border-top: 4px solid #e74a3b;
}

.border-bottom-purple{
    border-bottom: .25rem solid #cc00cc;
}

.border-bottom-red{
    border-bottom: .25rem solid #e74a3b;
}

.border-bottom-yellow{
    border-bottom: .25rem solid #f6c23e;
}

.card-full-primary{
    border: 2px solid #1b5fa7;
    border-top: 4px solid #1b5fa7;
}

.card-full-primary .card-header{
    background-color: #1b5fa7;
    color: white;
    border-radius: 0;
}

.hint {
    border-bottom: 1px dotted;
    cursor: help;
}

.nowrap{
    white-space: nowrap;
}

tr td.nostretch, tr th.nostretch{
    width:1%;
    white-space:nowrap;
}

.hover-info{
    color: #444444;
}

.hover-info.info-white{
    color: #eeeeee;
}

/* TODO: sistemare allineamento collapsed */
.home-link{
    text-align: center!important;
}

.sidebar.toggled .home-link{
    font-size: .65rem;
}

.hidden{
    display: none!important;
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                                        Breadcrumbs                                                     */
/*========================================================================================================================*/
.breadcrumb {
  background-color: unset !important;	
  padding-left: 0rem !important;
}

.breadcrumb-item.active{
    color: #444444;
}

@media (max-width: 768px){
	.breadcrumb{
		display:none;
	}
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                                     Page Title Style                                                   */
/*========================================================================================================================*/
.content-title{
    color: #5a5c69!important;
    margin-bottom: 0!important;
  }
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                                     Pagination Buttons                                                 */
/*========================================================================================================================*/
.pagination-center{
	text-align:center;
}

.pagination-no-margin .pagination{
	margin:0;
}
	
.pagination{
	justify-content:center;
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                          Styles for the user registration pages                                        */
/*========================================================================================================================*/
.reg-type-radio-buttons input{
    display: none;
}

.register-bottom-button{
	margin-top: -20px;
	margin-bottom: 40px;
}

.register-extended-image{
	padding-left:90px;
	margin:0;
	width:565px;
	height:513px;
}

.register-extended-image{
	padding-left:90px;
	margin:0;
	width:565px;
	height:513px;
	
}
@media (max-width: 576px) {
	.register-extended-image {
		padding-left:0;
		width:475px;
	}
  }

.register-light-image{
	padding-right:20px;
	width:278px;
	height:513px;
	display:inline-block;
}

.register-light-image-container{
	text-align:center;
	padding-top:50px;
}

@media (max-width: 992px) {
	.register-light-image-container{
		padding-top:0px;
		margin-top: -50px;
	}
}

.register-reward-card:hover{
	box-shadow: 0 1rem 3rem rgba(0,0,0,.255);
	border-top-color: #c2c6d1;
}

.register-reward-card:hover .card-header{
	background-color: #c2c6d1;
}

.register-reward-card:hover .card-body{
	background-color: #eceef3;
    
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                          Styles for the widget home page                                               */
/*========================================================================================================================*/
.widget-frame table {
	table-layout:fixed;
		
}

.widget-frame th { 
	overflow:hidden;
	text-overflow: ellipsis;
    font-size: 0.9rem;
    text-align:center;
    white-space:nowrap;
}

.widget-frame th:hover{
  overflow: visible;
  background-color: #ffffff;
}

.widget-frame td { 
    overflow: hidden; 
    text-overflow: ellipsis; 
    font-size: 0.8rem;
    white-space:nowrap;
}

.widget-frame td:hover{
  overflow: visible;
}

.widget-frame-large table {
	table-layout:fixed;
}

.widget-frame-large th { 
	overflow:hidden;
	text-overflow: ellipsis;
    text-align:center;
    white-space:nowrap;
}

.widget-frame-large th:hover{
  overflow: visible;
}

.widget-frame-large th:hover span {
	overflow: visible;
    background:#ffffff;
	position:relative;
}

.widget-frame-large td { 
    overflow: hidden; 
    text-overflow: ellipsis;
    white-space:nowrap;
}
.widget-frame-large td:hover{
  overflow: visible;
}

.widget-frame-large td:hover span {
	overflow: visible;
    background:#ececec;
	position:relative;
}

.widget-link-row {
	width: 100%;
	height: 200px;
	overflow-x:auto;
	overflow-y:hidden;
	white-space:nowrap;
}

.widget-link-row .card {
	width: 148px;
	display:inline-block;
}

.widget-link-row .card .card-header {
	text-align: center;
	font-size: 0.9rem;
}

.widget-link-row .card .card-body {
	background-color:#333333;
    
}

.widget-link-row .card .card-body img {
	width: 140px;
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                  Used in the csv machine registration page                                             */
/*========================================================================================================================*/
.upload-feedback-success{
	color:var(--green);
}

.upload-feedback-error{
	color:var(--red);
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                  Cards that enclose the full page content                                              */
/*========================================================================================================================*/
.card-content{
	padding: 10px;
}

.card-content > .card-header{
	margin:-10px;
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                                   Print Rules                                                          */
/*========================================================================================================================*/
@media print {
	#accordionSidebar {
		display: none;
	}
	
	.external-sidebar-toggle{
		display: none;
	}
	
	.topbar {
		display: none;
	}
	
	.breadcrumb {
		display: none;
	}
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                                 Style for the sidebar                                                  */
/*========================================================================================================================*/

/*Sidebar Side Toggle Button*/
.external-sidebar-toggle {
	position: fixed;
	z-index: 199;
	margin-left: 10rem;
	margin-top: 1.4rem;
	height: 2.5rem;
	width: 6rem;
	color: #fff;
	text-align:right;
	padding-right:0.8rem;
	background-color: rgb(21, 74, 129);
	border-radius: 10px;
	transition: all 0.05s;
}

.external-sidebar-toggle::after {
  font-weight: 900;
  content: '\f104';
  font-family: 'Font Awesome 5 Free';
  font-size: 1.5em;
}

.external-sidebar-toggle:hover {
  background-color: rgb(15, 40, 100);
  z-index: 1;
}

.sidebar-toggled .external-sidebar-toggle{
	margin-left: 2.5rem;
}

.sidebar-toggled .external-sidebar-toggle::after {
  font-weight: 900;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
}

.recent-machines{
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar .sidebar-brand{
    height:auto;
    display: block;
}

/*________________________________________________________________________________________________________________________*/


/*========================================================================================================================*/
/*                               Icons displayed on the left of sortable column headers                                   */
/*========================================================================================================================*/
.asc::before{
	font-weight: 900;
	content: '\f0de  ';
	font-family: 'Font Awesome 5 Free';
}

.desc::before{
	font-weight: 900;
	content: '\f0dd  ';
	font-family: 'Font Awesome 5 Free';
}

[data-sort]:not(.asc):not(.desc)::before{
	font-weight: 900;
	content: '\f0dc  ';
	font-family: 'Font Awesome 5 Free';
}
/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                          Style for the store pages                                       */
/*========================================================================================================================*/

.store-table thead {
    background-color:  #1B5FA7 !important;	
    color: #fff !important;
}
  
.store-table th, .store-table td {
    padding: 5px;
}

.table-status-icon{
    white-space: normal; 
    padding:5px;
}

.table-status-icon img{
    width:36px; 
}

.app-compatibility-text{
    border-radius: 3px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border:1px solid #ff4444;
}

.app-compatibility-text.good{
    color: #0f6848;
    background-color: #d2f4e8;
    border-color: #bff0de;
}
.app-compatibility-text.good a{
    color: #093b29;
}

.app-compatibility-text.bad{
    color: #c92111;
    background-color: #fadbd8;
    border: 2px solid #c92111;
}

.app-compatibility-text.bad a{
    color: #a02519;
}



/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                           Styles for the product purchase page                                         */
/*========================================================================================================================*/

.price-period-list{
    border-bottom: 1px solid #ddd;
    list-style: none;
    padding-left: 0;
}

.price-panel{
    font-size: 4rem;
    text-align: center;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
    background-color: #f6f6f6;
}

.button-price-period{
    border: 1px solid #1B5FA7;
    border-bottom: 0;
    border-radius: 0;
}

li:first-child .button-price-period{
    border-radius: 5px 5px 0 0;
}

li:last-child .button-price-period{
    border-radius: 0 0 5px 5px;
    border-bottom: 1px solid #1B5FA7;
}

.button-price-period:hover{
    color: white;
    background-color: #1B5FA7bb;
}

.button-price-period.selected, .button-price-period.selected:hover{
    color: white;
    background-color: #1B5FA7;
}

.button-price-period.selected .hover-info, .button-price-period:hover .hover-info{
    color: white;
}

.button-price-period.selected .hover-info:hover, .button-price-period:hover .hover-info:hover{
    color: #dddddd;
}



/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                Style for the table in the device management page                                       */
/*========================================================================================================================*/

.device-list-table thead {
    background-color:  #1B5FA7;	
    color: #fff;
}

.device-list-table thead a {
    color: #fff;
}

.device-list-table thead a:hover {
    color: #ddd;
    text-decoration: none;
}
  
.device-list-table th, .device-list-table td {
    padding: 5px;
}

.device-toggle-button{
    color: white;
}

.device-toggle-button.device-enabled{
    background-color: #0C845D;
}

.device-toggle-button.device-disabled{
    background-color: var(--red);
}

/*________________________________________________________________________________________________________________________*/

/* confirm registration page */
.confirm-registration {
	background-image: url('../images/img_login2.jpg') !important;
	opacity: 0.2 !important;
}

/* TODO: classe workaround perch� tooltipster con bootstrap 4 non visualizza immagine/oggetto e cambia posizione */
.displayimage{
	opacity: 1 !important;
	position: unset !important;
	cursor: pointer;
}

.dispalycart{
	font-weight: 700;
}

.nodisplayitem{
 display: none;	
}

.displayitem{
	display: block !important;
}

.background-reg{
	/*background-image: url('../images/reg-background.jpg');*/
	background-color: black;
}

/* style for payment page*/
.payment-info-form .input-group-text{
	width: 130px;
	justify-content: center;
}

/*________________________________________________________________________________________________________________________*/

.cart-menu{
	background: #CFD8DC;
	opacity: 0.5;
	line-height:4;
	text-align:center;
}

.cart-menu.cart-menu-active{
	/*background: #263238;*/
	background: #4262be;
	color: #fff;
	opacity: 1;
}

.cart-menu span{
	vertical-align: middle;
}

@media (max-width: 576px) {
	.cart-menu:not(.cart-menu-active){
		display:none;
    }
}

.form-payment{
	
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 15px;
}

.form-payment-field{
	width: 40%;
	margin-top: 15px;
}

.form-payment-field-large{
	width: 80%;
	margin-top: 15px;
}

/* dygraph custom layout legend */
      .dygraph-legend {
        /*background-color: rgba(200, 200, 255, 0.75) !important; */
        background-color: #fff !important;
        padding: 4px;
        border: 1px solid #000;
        border-radius: 10px;
        box-shadow: 4px 4px 4px #888;
        pointer-events: none;
        width: 135px;
      }
      
      pre {
        margin-top: -30px;
      }
      
    .dygraph-legend-line {
    display: inline-block;
    position: relative;
    bottom: .5ex;
    padding-left: 1em;
    height: 3px;
    border-bottom-width: 5px;
    border-bottom-style: solid;
}

.statistics-graph .dygraph-legend{
    width: auto;
}

.statistics-table{
    text-align: center;
    border-collapse: separate;
    border-spacing: 15px 0;
}

.statistics-table td{
    border: 1px solid #333333;
    border-bottom: 0;
    padding:5px;
}

.statistics-table tr:first-child+tr td{
    border-radius: 5px 5px 0 0;
}

.statistics-table tr:last-child td{
    border-bottom: 1px solid #333333;
    border-radius: 0 0 5px 5px;
}

.spaced-form-inline > * {
    margin-right: 10px;
}     
      
/* fine layout dygraph legend   */    

/* style for disabled options */
select option:disabled {
    color: lightgrey;
}
/* end */

/*========================================================================================================================*/
/*                                              Styles for Locations List page                                            */
/*========================================================================================================================*/

.location-list-group{
    padding: 0.30rem 0.75rem;
    border-radius: 0 !important;
    display: flex;
    align-content: center;
    align-items: center;
}

.location-list-group:hover{
    background-color: #eef;
}

.location-list-group .location-details{
    margin-left: auto;
}

.location-list-group.machine a{
    color: #1cc88a;
}

.location-list-group.machine a:hover{
    color: #16865d;
}

.location-tab-offset{
    margin-left: 4%;
    padding-right:0;
}

.location-tab-toggle[aria-expanded=true] .fa-chevron-right {
    display: none;
 }

.location-tab-toggle[aria-expanded=false] .fa-chevron-down {
    display: none;
 }

.location-tab-toggle:has(ul){
    display: none;
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                            Styles for the application grid                                             */
/*========================================================================================================================*/

.app-card{
    border-top: 1px solid #e3e6f0;
    margin-bottom: 5px;
}

.category-card, .category-card .card-header{
    border-radius: 0;
    border-top: none;
    border-left: 1px;
    border-right: 1px;
    border-bottom: 1px solid white;
}

.category-card:first-child, .category-card:first-child .card-header, .app-card .card-header{
    border-radius: 0.25rem 0.25rem 0 0;
}

.category-card:last-child, .category-card:last-child .card-header{
    border-radius: 0 0 0.25rem 0.25rem;
    border-bottom: none;
}

.category-card:last-child .card-header:not(.collapsed){
    border-radius: 0;
}

.category-card > .card-body{
    padding: 0;
}

.category-card-header{
    background-color:#1b5fa7;
    color: white;
    text-align: left;
}

.category-card-header:hover{
    background-color: #105297;
    color: white;
}

.app-card-header{
    color: #858796;
    background-color: #ffffff;
    text-align: left;
}

.app-card-header:hover{
    color: #455255;
    background-color: #eeeeee;
}

.card .app-card-header.card-header[aria-expanded="true"]{
    background-color: #4F83CC;
}

.app-card-header.card-header[aria-expanded="true"] .text-muted, .app-card-header.card-header[aria-expanded="true"] .text-success{
    color: #ffffff!important;
}

.app-card-header i{
    font-size: 1.6rem;
    vertical-align: middle;
    margin-right: 15px;
}

.app-purchase-buttons{
    float:right;
    margin-left:auto;
    margin-bottom:15px;
}

.hide-defaults .default-application-row{
    display:none;
}
/*________________________________________________________________________________________________________________________*/


/*========================================================================================================================*/
/*                                           Styles for the horizontal menu bar                                           */
/*========================================================================================================================*/
.machine-menu-row{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.machine-menu-card{
    min-height: 100%;
    border-radius: 5px;
    border-top: 0;
    border-right: 0;
    border-left:0;
    margin-right:5px;
}

.machine-menu-card .card-header i{
    font-size:1.5em;
    float: left;
    padding-left:5px;
}

.machine-menu-card.machine-section-card{
    width: 33%;
}

.machine-menu-card.machine-shop-card{
    width: 36%;
}

.machine-menu-card.machine-inventory-card{
    width: 50%;
}

.machine-menu-card.machine-shop-card  .card-header i{
    float: none;
}

.machine-menu-row-small{
    display: none;
}

.machine-menu-row-small .machine-menu-card{
    width: 100%;
    color: white;
}

.machine-menu-row-small .dropdown-item, .machine-menu-row-small .dropdown-header{
    padding-left: 45px;
}

@media (max-width: 768px) {
    .machine-menu-row-small{
        display: flex;
    }

    .machine-menu-row{
        display: none;
    }
}

.machine-menu-card .dropdown-menu{
    width:100%;
}

.machine-menu-card .card-header{
    padding: .50rem .40rem;
    border-radius: 5px 5px 0 0;
    border-top: 0;
    border-bottom:0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b5fa7;
    color: white;
}

.machine-menu-card-selected .card-header{
    background-color: #105297;
}

.machine-menu-card:hover:not(.machine-menu-card-selected){
    border-bottom-width: .5rem;
}

.machine-menu-card:hover:not(.machine-menu-card-selected) .card-header{
    background-color: #105297;
    padding-bottom: .25rem;
}

.machine-menu-card:hover .card-header{
    text-decoration: none;
}

@media (max-width: 1200px) {
    .machine-menu-card .card-header{
        height: 100%;
    }
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                     Styles for the Machine Information page                                            */
/*========================================================================================================================*/

.card.machine-info-card .machine-info-card-header{
    background-color: #154a81; 
    justify-content: center;
    height: 80px;
    display: flex;
}

.card.machine-info-card .machine-info-card-header .machine-model-img{
    max-width: 240px;
}

.card.machine-info-card .machine-info-card-header .control-panel-img{
    max-width: 130px;
}

.card.machine-info-card .machine-info-card-header .pnp-img{
    max-width: 120px;
}

/* Ajax input fields */
.onclick-input {
    margin-left: auto;
    max-width: calc(100% - 50px);
    width: 100%;
	border-radius: 4px;
}

.onclick-input.onclick-input-title {
    color: #154a81;
    font-size: 1.75rem;
    font-weight: bold;
}

.onclick-input-title-area {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
    height: 62px;
}

.onclick-input-title-display {
    vertical-align: bottom;
    overflow: hidden;
    display: inline-block;
    padding : 10px;
}

.onclick-input-title-display h2 {
    white-space: nowrap;
    text-overflow: ellipsis;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
}

/* .onclick-input-title-display:hover {
    white-space: normal;
    text-overflow: "";
} */

.onclick-input-button{
    display:inline-block;
    vertical-align: text-top;
}

.onclick-input-button.onclick-input-title-button{
    display:inline-block;
    vertical-align: baseline;
    font-size: 1.25em;
}

.edit-name {
    font-weight: bold;
}
/*--------------------*/


.machineinfo-tab-button{
    flex-grow: 1;
}

.machineinfo-tab-button .nav-link{
    border-radius: 0;
}

/* .machineinfo-tab-button.selected{
    background-color: #1B5FA7;
    color: #E3E6F0;
}

.machineinfo-tab-button:not(.selected):hover{
    background-color: #155495;
    color: #E3E6F0;
} */

.machineinfo-list .machineinfo-list-row:nth-of-type(2n+1){
    background-color: rgba(0,0,0,.05);
}

.machineinfo-list-collapsible{
    width:100%;
}

.machineinfo-list-shop-link{
    background-color: #1b5fa7;
    padding: 0.6em;
    border-radius: 0 0 10px 10px;
    text-align: center;
}

.machineinfo-list-shop-link a{
    color: #31708f;
}

.machineinfo-list-shop-link a:hover{
    color: #fcac17;
    text-decoration: none;
}

.application-info-table {
    width: 100%;
}

.application-info-table td {
    vertical-align: middle;
}

.application-info-date {
    text-align: center;
}

.application-info-button{
	font-size: 0.9em;
	background: none !important;
	border: none !important;
	outline: none !important;
	outline-style: none;
	float: right;
	text-decoration: none;
}

.application-extended-info{
	margin-top: 15px;
	margin-right: 100px;
}

.application-more-info-link{
	color: #36b9cc;
	font-size: 0.9em;
	background: none !important;
	border: none !important;
	outline: none !important;
	outline-style: none;
	text-decoration: none;
}

.application-more-info-link:hover{
	color: #258391;
	text-decoration: none;
}

.toggle-show-purchasable-button{
	color: #36b9cc;
}

.toggle-show-purchasable-button:hover {
    color: #258391;
}

.toggle-show-purchasable-button input{
	display: none;
}

.machine-img-container {
    display: flex;
    max-height: 400px;
    padding-bottom: 2rem;
}

/*Machine image css*/
.machine-img{
    align-self: flex-start;  
    vertical-align: top;
    margin-top: 0%;
    padding : 1px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/*Label info css*/
.machine-label-info
{
    display : flex;
    margin-top : 0%;
}

.machine-section-title{
	color: #1B5FA7 !important;
    align-self: flex-start;
    vertical-align: top;
    max-width : 100%;
    min-width: auto;
    margin : 0px;
    display:flex;
    margin-bottom: 10px;
}

.card-machine {
    
    transition: 0.6s;
    width: 33%;
    border-radius: 10px;
    margin-left: 1%;
    margin-right: 1%;
    margin-top: 1%;
    margin-bottom: 4rem;
    display: inline-flex;
    text-align: center;
}

.card-machine img {
    pointer-events: none;
    max-height: 150px;
    height: 100%;
    width: 100%;
}

.card-machine:hover {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 255, 0.6);
}

.machineinfo-table {
    width: 100%;
}

.machineinfo-table th{
    border-radius: 5px;
}

.machineinfo-rightside {
    padding-right: 0;
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                    Styles for the Machine Location Card View                                           */
/*========================================================================================================================*/

.machine-list-location-container{
    display: flex;
    flex-wrap:wrap;
    
}

.machine-list-location-wrapper{
    padding-right: 0.40rem;
    margin-bottom: 0.5rem;
    min-width: 100%;
    width: 0;
}

.machine-list-location-wrapper:not(:only-child){
    min-width: 50%;
}

.machine-list-location-wrapper:not(:only-child).full-line{
    min-width: 100%;
}

.machine-list-location-machines{
    padding-left:1rem;
    padding-top:0.5rem;
    line-height: 2.2rem;
}

.machine-list-location-machines .draggable-link{
    border: 1px solid #e3e6f0;
    border-radius: 5px;
    padding: 4px;
}

.machine-list-location-machines .draggable-link:hover{
    text-decoration: none;
}

.machine-list-location-machines .draggable-link i{
    border-right:1px solid #e3e6f0;
    margin-right:0.3rem;
    margin-left:-4px;
    padding:0.5rem;
    padding-right:0.3rem;
    padding-left:0.3rem;
    cursor: grab;
}

.machine-list-location-machines .draggable-link.drop-shadow{
    border: 1px solid #e3e6f0bb;
    color: #4e73dfbb;
}

.machine-list-location-card{
    border-top: 1px solid #e3e6f0;
}

.machine-list-location-card .card-header{
    text-align: left;
    padding: 0.5rem;
    color: white;
}

.machine-list-location-card .card-header[aria-expanded=true] .fa-chevron-right {
display: none;
}

.machine-list-location-card .card-header[aria-expanded=false] .fa-chevron-down {
display: none;
}

.machine-list-location-card .card-header span{
    margin-bottom: 0;
}

.machine-list-location-card .card-header a{
    color: white;
    float: right;
    margin-right: 0.25rem;
}

.machine-list-location-card .card-header a:hover{
    color: rgba(255, 255, 255, 0.603);
}

.machine-list-location-card .card-body{
    display:flex;
    flex-wrap:wrap;
    padding: 0.50rem;
    padding-right: 0;
}

.machine-list-location-card .card-body.collapse{
    display:none;
}

.machine-list-location-card .card-body.collapse.show{
    display:flex;
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                      Styles for the Badge Management Page                                              */
/*========================================================================================================================*/

.badge-tutorial {
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 15px;
    padding: 10px;

    border-radius: 5px;
    border: 1px solid lightgray;
    background-color: white;
}

.badge-tutorial .tutorial-title {
    width: 100%;
    text-align: center;
}

.badge-element {

    margin-bottom: 8px;
    padding: 10px;
    border: 2px solid #1b5fa7;
    border-radius: 5px;
    cursor: grab;

    display: flex;
    flex-wrap: wrap;
}

.badge-element:hover{
    text-decoration: none;
    background-color: #c5e8fc;
}

.badge-element-buttons {
    width: 100px;
}

.badge-element-btn {
    width: 100%;
    margin-bottom: 5px;
}

.badge-element-info {
    width: calc(100% - 100px);
}

.badge-element-line {
    width: 100%;
    flex-basis: 100%;
    display: inline-block;
}

.machine-badge-name {
    width: calc(100% - 40px);
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                        Styles for the Weld Details page                                                */
/*========================================================================================================================*/
.welding-detail-card{
    height: 100%;
}

.welding-detail-card .card-header{
    padding: 5px;
}

.welding-detail-card .card-header h5{
    margin: 0;
}

.welding-detail-card.dynamic-average .card-body{
    text-align: center;
    padding: 0.25rem;
}

.welding-detail-card.dynamic-average .card-footer{
    color: white;
    text-align: center;
    border-top:0;
    padding: 0.25rem;
}

.welding-detail-card.dynamic-average.avg-current{
    border-top: 4px solid #FF6B00;
    border-left: 2px solid #FF6B00;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.welding-detail-card.dynamic-average.avg-voltage{
    border-top: 4px solid #128ECC;
    border-right: 2px solid #128ECC;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.welding-detail-card.dynamic-average.avg-current .card-body{
    background-color: #FF6B0044;
    color: black;
}

.welding-detail-card.dynamic-average.avg-voltage .card-body{
    background-color: #128ECC44;
    color: black;
}

.welding-detail-card.dynamic-average.avg-current .card-footer{
    background-color: #FF6B00;
    border-bottom-right-radius: 0;
}

.welding-detail-card.dynamic-average.avg-voltage .card-footer{
    background-color: #128ECC;
    border-bottom-left-radius: 0;
}

.alarm-box{
    background-color: #ff000066;
    border: 2px solid #ee0000;
    border-radius: 5px;
    padding: 0.6rem;
}

.alarm-box h4, .alarm-box h5{
    text-align: center;
}

.alarm-box-desc{
    background-color: #ff000066;
    border: 2px solid #ee0000;
    /* border-radius: 5px; */
    padding: 0.4rem;
    margin-bottom: 1rem;
}

.alarm-box.good{
    background-color: #00801166;
    border: 2px solid #008011;
    border-radius: 5px;
    color: #008011;
    padding: 0.6rem;
}

.button-close-card{
    width:100%;
    background-color: #1b5fa7;
    color: white;
    font-size: 1.35rem;
    margin: 0;
    padding:0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.15rem;
    border-bottom-right-radius: 0.15rem;
}

.button-close-card:hover{
    background-color: #164F8C;
    color: white;
}

.button-close-card[aria-expanded=true] .fa-angle-double-down {
    display: none;
}
    
.button-close-card[aria-expanded=false] .fa-angle-double-up { 
    display: none;
}

.weld-quality{
    color:white;
    padding-right:0.5rem;
    padding-left:0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 5px;
}

.weld-quality.good{
    background-color: #1f8616;
}

.weld-quality.average{
    background-color: #eef12b;
}

.weld-quality.bad{
    background-color: #ee3312;
}

.diagnostic-quality{
    color:white;
    padding-right:0.5rem;
    padding-left:0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    border-radius: 5px;
}

.diagnostic-quality.good{
	background-color: #1f8616;
}
.diagnostic-quality.average{
	background-color: #ff9914;
}
.diagnostic-quality.bad{
	background-color: #ee3312;
}
.diagnostic-quality-date{
	font-size:10;
}

.rangeslider-rangeplot{
    display:none;
}

.weld-detail-param-set{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.weld-detail-param-set.vertical{
    flex-direction: column;
}

.weld-detail-param-set.horizontal{
    flex-direction: row;
}

.weld-detail-param-set.horizontal .weld-detail-param-block{
    flex-basis: 20%;
    flex-grow: 1;
}

.weld-detail-param-block{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 120px;
    min-width: 70px;
    align-self: stretch;
    margin: 1.5%;
    border:2px solid #1B5FA7;
    border-radius:5px;
    background-color: #4F83CC;
}

.weld-detail-param-block img{
    width:50%;
    align-self: center;
    justify-self: center;
    flex-grow: 0;
    height: auto;
    object-fit: cover;
    padding-top: 5px;
    padding-bottom: 5px;
    
    filter: invert(81%) sepia(100%) saturate(0%) hue-rotate(85deg) brightness(107%) contrast(103%);
}

.weld-detail-param-block .text{
    border-top: 2px solid #1B5FA7;
    color: white;
    display: flex;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top:0.3rem;
    margin-bottom:0.3rem;
    font-size: 1rem;
}

/*________________________________________________________________________________________________________________________*/

/*========================================================================================================================*/
/*                                        Styles for the Weld List page                                                */
/*========================================================================================================================*/

.search-welds-button-container {
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    justify-self: end;
}

.search-welds-button {
    width: 100%;
}

/*________________________________________________________________________________________________________________________*/
.weld-chart-legend label{
    margin-right: 5px;
}

.weld-data-table th {
    background-color: #1B5FA7;
    color: #E3E6F0;
    text-align: center;
}

/***************************************** credit card ************************************************************************/
.checkout{
	width: 80%;
	margin-bottom: 0.5rem;
}

.card-selected{
	background-color: #e7e7e7;
}

.dispaly-card{
	display: contents !important;
}

.display-item{
	display: block !important;
}

.display-none{
	display: none !important;
}
/****************************************  style for my orders page *********************************************************/
.order-card-header{
    background-color: #f6f6f6;
    color: #444444;
    text-align: left;
}

.order-card-header:hover, .card .card-header[aria-expanded=true] {
    background-color: #1b5fa7;
    color: white;
}
/**************************************** style for error  *********************************************************/
.general-error{
	color: red !important;
}

.btn-modal{
    cursor: pointer;
}

.undermodal{
	z-index: 1049;
}

/**************************************** Cloud Settings Pages *****************************************************/

.cloud-setting-add{
    color:#00d21c;
}

.cloud-setting-remove{
    color: #f42c19;
}

.cloud-setting-component-block{
    margin-bottom: 5px;
}

.cloud-setting-component-text{
    border: 1px solid #e3e6f0;
    border-radius: 5;
    padding: 4px;
    margin-bottom: 5px;
}


/********** style chart button **************************************************/


/* g.updatemenu-button { */
/* 	 pointer-events: none !important; */
/* } */

g.updatemenu-button > rect.updatemenu-item-rect  {
/* 	fill: #1B5FA7 !important; */
/*     color: #FFF !important; */
/*     border: #1B5FA7 !important; */
}

g.updatemenu-button > text.updatemenu-item-text {
	font-weight: 600!important; 
}

.fa-exclamation-triangle {
  color: #e74a3b;
}

.fa-bell:before  {
  color: #f6c23e;	
}


.w-40 {
    width: 40% !important;
}

/*========================================================================================================================*/
/*                                                 Style for mobile view                                                  */
/*========================================================================================================================*/


	@media screen and (max-width: 700px) {


		.kv-table-wrap th, .kv-table-wrap td { 
         	display:table-cell !important;  
 /*         width: 100% !important; */ 
 /*         text-align: center; */ 
 		    font-size: 1.2em !important; 
     	}
		
		.kv-table-wrap th, .kv-table-wrap td { 
         	display:table-cell !important;  
 /*         width: 100% !important; */ 
 /*         text-align: center; */ 
 		    font-size: 1.2em !important; 
     	}  
     	
      .kv-table-wrap tr > td:first-child {  
    	   display:table-row !important;  
/*         border-top: 3px double #ccc; */ 
/*         margin-top: 10px; */ 
           font-size: 0.8em !important; 
      	}
      	
      	.kv-align-center.w0 a {
    		font-size: 19px !important;
		}
		
		.kv-align-middle.w0 {
    		font-size: 19px !important;
		}
		
		.w0 {
    		font-size: 19px !important;
		}
		
		.filters.skip-export {
			display: none !important;
		}
		
		
		td.view-mobile.kv-align-center.w0 {
			display: none !important;
		}
		
		th.view-mobile.kv-align-center{
			display: none !important;
		}
		
		view-mobile { 
 			display: none !important; 
 		} 
		
 		th.view-mobile { 
 			display: none !important; 
 		} 
		
 		td.view-mobile.w0 { 
     		display: none !important; 
 		} 
 		
 		.view-mobile{
 			display: none;
 		}
 		
 		.view-mobile-table{
 			display: block;
 		}
 		
 		.statistics-graph-cost{
 			width: 80%;
 		}
		
		
	}


