/*
Copyright 2020 immersight GmbH.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* 
    Created on : Oct 26, 2020, 10:52:58 AM
    Author     : Waldemar Albach
*/

.textfield-container {
    margin-bottom: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0;
    position:relative; 
    z-index:2; 
}

.textfield-container i {
    font-weight: bold !important;
}

.textfield-container .btn:focus, .textfield-container .btn-flat:focus{
/*    background-color: #006e9d !important;
    color: white !important;*/
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
}

.textfield-container .btn:hover, .textfield-container .btn-flat:hover{
/*    background-color: #006e9d !important;
    color: white !important;*/
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
}

.textfield-container .btn, .textfield-container .btn-flat {
    padding: 0 8px;
    background-color: #009fe3;
    color: white;
}

.textfield-container .step-down {
    border-radius: 5px 0 0 5px;
}

.textfield-container .step-up {
    border-radius: 0 5px 5px 0;
}

.textfield-container input, .textfield-container input:focus {
    border: 2px solid #009fe3 !important;
    margin: 0 !important;
    height: 32px !important; 
    max-width: 4rem !important; 
    font-size: 2rem !important; 
    font-weight: bold !important;
    vertical-align: top !important;
    color: #009fe3;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    
}

.selected .textfield-container input {
    border: 2px solid white !important;
    color: white !important;
}

.selected .textfield-container .btn, .selected .textfield-container .btn-flat {
    background-color: white;
    color: #009fe3;
}