:root {
  --themeMainColor: #000000;
  --themeInverseColor: #FFFFFF;
  --themeAccent: #3f4bad;
}

@font-face{
    font-family: 'Lato';
    src: url(/fonts/Lato-Italic.woff);
    font-style: italic;
    font-weight: normal;
}

@font-face{
    font-family: 'Lato';
    src: url(/fonts/Lato-Bold.woff);
    font-style: normal;
    font-weight: bold;
}

@font-face{
    font-family: 'Lato';
    src: url(/fonts/Lato-Light.woff);
    font-style: normal;
    font-weight: 100;
}

@font-face{
    font-family: 'Lato';
    src: url(/fonts/Lato-Regular.woff);
    font-style: normal;
    font-weight: normal;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Lato';
    overscroll-behavior-y: contain;
    height: 100%; 
    background: linear-gradient(#dde, #FEFEFE, #dde); 
    background-size: cover; 
    background-repeat: no-repeat;
    transition-duration: 1s;
}

button{
    background-color: #3d66b6;
    border: 1px #ccc solid;
    font-family: 'Lato';
    font-size: 18px;
    color: #fff;
    padding: 5px;
    transition-duration: 0.3s;
    border-radius: 5px;
}

button:active{
    background-color: #4575d2;
}

button:active:after{
    background-color: #3d66b6;
}

input[type="text"] {
    font-family: 'Lato'; 
    font-size: 20px; 
    font-weight: lighter; 
    border-radius: 5px;
    border-width: 1px;
}

input[type="password"] {
    font-family: 'Lato'; 
    font-size: 20px; 
    font-weight: lighter; 
    border-radius: 5px;
    border-width: 1px;
}

.btnSwitch{
    width: 48px;
    height: 48px;
    border: 1px var(--themeAccent) solid;
    opacity: 0.5;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 40px;
    box-sizing: border-box;
}

.btnSwitch:active{
    background-color: var(--themeAccent);
}

.btnSwitchActive{
    background-color: var(--themeInverseColor);
    opacity: 1 !important;
    
}

.uiHomeTile{
    transition-duration: 0.2s;
}

.uiHomeTile:active{
    opacity: 0.6;
    border-radius: 0px !important;
    border-color: rgba(0,0,0,0) !important;
}

.buttonFlex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.buttonFlex::before,
.buttonFlex::after {
    content: '';
    flex: 1;
}

.buttonFlex > .item {
    display: block;
}

.buttonFlex > .item:only-child {
    margin-left: auto;
    margin-right: auto;
}

.iconButton{
    width: 72px;
    height: 72px;
    color: #fff;
    background-repeat: no-repeat;
    background-size: 32px 32px;
    background-position: 20px 5px;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    padding-top: 40px;
    box-sizing: border-box;
    border-radius: 5px;
    transition-duration: 0.3s;
    margin: 10px;
    box-shadow: 0px 0px 8px #888;
}

.iconButton:active{
    background-color: #263238 !important;
    border-radius: 20px;
    box-shadow: 0px 0px 0px #888;
}

.divImgButton{
    background-color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: 1px #888 solid;
    border-radius: 5px;
    height: 36px;
    width: 120px;
    padding-top: 10px;
    padding-left: 40px;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: 6px 6px;
}

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 128px;
    height: 128px;
    color: #fff;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.loader:after {
    color: #3f4bad;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}

.smoothTransition{
    transition-duration: 0.3s;
}
      
.navButton{
    transition-duration: 0.3s;
}

.billItemHightlight{
    transition-duration: 0.1s;
}

.billItemHightlight:active{
    background-color: var(--themeAccent) !important;
    color: #fff;
}

.billsetListItem{
    background-color: rgba(255, 255, 255, 0.3);
    transition-duration: 0.1s;
}

.billsetListItem:active{
    background-color: #fff;
    border: 1px solid #2196F3 !important;
}

.btnNewTask{
    width: 72px; 
    height: 72px; 
    background-color: var(--themeAccent);
    color: var(--themeInverseColor);
    border-radius: 36px; 
    position: relative; 
    top: -100px; 
    left: calc(100% - 92px);
    opacity: 0.75;
    transition-duration: 0.3s;
}

.btnNewTask:active{
    opacity: 1;
}

.uiMenuLine_table{
    width: calc(100% - 20px); 
    height: 64px; 
    margin-left: 10px; 
    display: table; 
    border-top: 1px #888 solid; 
    border-bottom: 1px #888 solid; 
    background-color: var(--themeInverseColor);
    transition-duration: 0.1s;
    color: var(--themeMainColor);
}

.uiMenuLine_table:active{
    color: var(--themeInverseColor);
    background-color: var(--themeAccent);
}

.hghOnActive{
    transition-duration: 0.1s;
}

.hghOnActive:active{
    background-color: #EDE7F6 !important;
}

        .placeholder-wrapper {
            position: relative;
        }

        .placeholder-text {
            position: absolute;
            top: 50%;
            left: 10px;
            transform: translateY(-50%);
            color: #999;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .placeholder-input:focus + .placeholder-text,
        .placeholder-input:not(:placeholder-shown) + .placeholder-text {
            opacity: 0;
        }