body {
    /*font: 14px 'Lato', sans-serif;*/
}

/*
.sidebar-nav, #side-menu, body {
    background-color: white;
}*/


@media(min-width:767px) {
    .custom-text-input {
        width: 500px;
    }
}

@media(max-width:767px) {
    .content-custom {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.device-tile {
    margin-bottom: 0;
    height: 480px;
    padding-bottom: 470px;
}

.device-container {
    align-content: stretch;
    height: 100%;
    flex-wrap: wrap;
    display: flex;
}

.device-model-tile {
    margin-bottom: 0;
    height: 480px;
    padding-bottom: 470px;
}

img.device-tile-image {
    max-height:80px;
    display:block;
    margin:auto;
}


@media(min-width:1400px) and (max-width:1600px ) {
    img.device-tile-image {
        max-width: 50px;
    }
}

@media(min-width:1200px) and (max-width:1400px ) {
    img.device-tile-image {
        max-width: 50px;
    }
}

@media(min-width:1000px) and (max-width:1200px ) {
    img.device-tile-image {
        max-width: 50px;
    }
}

@media(min-width:750px) and (max-width:1000px ) {
    img.device-tile-image {
        max-width: 40px;
    }
}

@media(max-width:750px ) {
    img.device-tile-image {
        max-width: 60px;
    }
}

.infinite-scroll-div {
    margin-bottom: 2px;
}

.well {
    padding: 4px;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.red-collision-border {
    border-style: groove;
    border-width: 2px;
    border-color: darkred;
}

.text-bigger {
    font-size: 20px;
}

.column_center {
    display: inline-block;
}

#model-search-input, #variant-search-input {
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 14px; /* Increase font-size */
    padding: 12px 20px 12px 40px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
}

#model-search-wrapper, #variant-search-wrapper{
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#model-search-UL, #variant-search-UL {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    max-height: 500px;
}

#model-search-UL li a, #variant-search-UL li a {
    border: 1px solid #ddd; /* Add a border to all links */
    background-color: white; /* Grey background color */
    padding: 5px; /* Add some padding */
    text-decoration: none; /* Remove default text underline */
    font-size: 14px; /* Increase the font-size */
    color: black; /* Add a black text color */
    display: block; /* Make it into a block element to fill the whole list */
}

#model-search-UL li a:hover:not(.header), #variant-search-UL li a:hover:not(.header) {
    background-color: #eee; /* Add a hover effect to all links, except for headers */
}

.btn-picea {
    border-radius:0;
    background-color: rgb(82, 101, 143);
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    color: white;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.btn-picea-xs {
    padding: 3px 6px;
    margin: 2px;
}

.btn-picea:hover {
    background-color: white; /* Green */
    color: rgb(82, 101, 143);
    border-color: rgb(82, 101, 143);
    border-width: 1px;
}

.btn-picea:visited, .btn-picea:link, .btn-picea:focus:not(:active) {
    color: white;
}
.btn-picea:focus, .btn-picea:focus:active, .btn-picea:hover:not(:active) {
    color: rgb(82, 101, 143);
}

.btn-to-draft {
    color: white;
    background-color: #6B5B95;
    border-width: 0;
    border-radius:0;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.btn-to-draft:hover, .btn-to-draft:focus, .btn-to-draft:active .btn-to-draft:not(:visited) {
    color: white;
    background-color: #5b4e7e;
}

.btn-view {
    color: white;
    background-color: #6f9fd8;
    border-width: 0;
    border-radius:0;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.btn-view:hover, .btn-view:focus, .btn-view:active .btn-view:not(:visited) {
    color: white;
    background-color: #3778c8;
}

.btn-primary {
    border-radius:0;
    background-color:  #52658F;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active .btn-primary:not(:visited) {
    background-color: #415071;
}

.btn-success {
    border-radius:0;
    border: 0;
    background-color: #79C753;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.btn-warning {
    border-radius:0;
    border: 0;
    background-color: #F6D155;
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active .btn-warning:not(:visited) {
    background-color: #f4c325;
}

.btn-danger {
    border-radius:0;
    border: 0;
    background-color: #E94B3C;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.chart {
    width: 100%;
    min-height: 450px;
}

.content-custom {
    padding-top: 50px;
}

.badge {
    font-size: 15px;
}

.model-info-td {
    font-weight: bold;
}
.model-info-tr {
    border-bottom: 1px solid #ddd;
}

.filter-margin {
    margin-left: 10px;
    margin-bottom: 10px;
}

.variant-container {
    align-content: stretch;
    height: 100%;
    flex-wrap: wrap;
    display: flex;
}

.panel-picea-heading {
    background-image: none;
    color: white;
    background-color: #005c81;
}

.filter-col{
    padding-left:10px;
    padding-right:10px;
}

.select-model-btn {
}

.panel-device-info {
    font-size: 13px;
    overflow: hidden;
}

#download-modal {
    max-width: 800px;
    margin: 30px auto;
}

#download-bymanu-modal {
    max-width: 800px;
    margin: 30px auto;
}

.margin-5 {
    margin: 5px 5px 5px 5px;
}

.filter-panel {
    padding: 0px 0px 2px 0px;
    margin: 0px 10px 15px 0px;
    border-radius: 1px;
}

.filter-col {
    padding-left: 0;
}

@media(min-width:900px) and (max-width:1500px ) {
    .device-heading {
        font-size: 1em;
    }
    .device-info-text {
        font-size: 0.9em;
    }
}

.picea-navbar {
    background-color: #1d3e56;;
}

.panel > .picea-login-header {
    background-color: #1d3e56;
    color: white;
}

/*
.panel-default > .panel-picea-heading {
    background-color: #c5d6ea;
    color: black;
}*/

.content-custom {
    min-height:100vh; !important
}

td.battery_data_row {
    max-width: 500px;
    overflow: hidden;
}

.device-text-field {
    max-width: 200px;
    overflow: hidden;
}

/*.import-csv-container .loading{*/
    /*display:none;*/
/*}*/
.loading-csv{
    pointer-events: none;
    opacity:0.85;
}
/*.loading-csv .loading{*/
    /*display:initial;*/

/*}*/