:root{
    --c-contract: #e5ae37;
    --c-record: #a362ea;
    --c-test: #ea6762;
    --c-price: #00bfd5;
    --c-payment: #00d50b;
    --bg-card-light: var(--bg-card);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
    color: inherit;
}

body{
    background-color: #eee;
}

#banner{
    width: 100%;
    height: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 3px #333;
    overflow-x: auto;
}
#banner::-webkit-scrollbar{
    display: none;
}
#menu{
    display: flex;
    flex-direction: row;
}
#banner .menu-item{
    margin-left: 6px;
    margin-right: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: Verdana;
    font-size: 14px;
    white-space: nowrap;
}

#banner span.menu-item{
    background-color: #444;
    color: #fff;
}

#banner span.menu-item.btn-menu-item,
#banner a.menu-item.btn-menu-item{
    background-color: rgb(194, 221, 208) !important;
    color: #444 !important;
    cursor: pointer;
    transition: box-shadow 200ms ease-in;
}

#banner span.menu-item.btn-menu-item:hover,
#banner a.menu-item.btn-menu-item:hover{
    background-color: rgb(185, 225, 207) !important;
    box-shadow: 0 0 2px #000;
}

.menu-item.menu-item-submit{
    /* position: absolute;
    right: 4px;
    cursor: pointer; */
    margin-left: auto;
    cursor: pointer;
    background-color: rgba(0, 128, 0, 0.75) !important;
}

.menu-item.menu-item-submit:hover{
    background-color: green !important;
}

#banner a.menu-item{
    background-color: blanchedalmond;
}

#banner .menu-item.active{
    border: 1px solid #000;
    box-shadow: 0 0 1px #000;
}

#banner input.dp{
    font-size: 16px;    
    width: 100px;
    border: none;
    outline: none;
    box-shadow: 0 0 3px #333;
}

#main{
    width: 100%;
}

#container{
    position: relative;
    width: 100%;
    padding-bottom: 40px;
}

#footer{
    width: 100%;
    height: 40px;
    font-size: 19px;
    background-color: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100;
    position: fixed;
    bottom: 0;
    left: 0;
    /* border: 1px solid; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#footer a{
    color: #555;
    padding: 6px;
}

.cool-btn{
    display: block;
    padding: 4px 12px;
    background-color: #666;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    outline: none;
    border: none;
}

#textarea-bar{
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
}

#textarea-bar button.copy-btn{
    margin-top: 10px;
}

textarea.copy-textara{
    width: 100%;
    border: 1px solid #666;
    box-shadow: 0 0 3px #666;
    padding: 5px;
    border-radius: 10px;
    background-color: transparent;    
    font-size: 18px;
}

textarea.copy-textara::-webkit-scrollbar{
    display: none;
}

#controls-bar{
    /* width: 100%; */
    margin-left: auto;
    position: fixed;
    bottom: 50px;
    /* border: 1px solid red; */
    right: 5px;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.control-area{
    /* width: 100%; */
    width: fit-content;
    margin-left: auto;
    margin-right: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: space-evenly; */
    height: 40px;
    /* border: 1px solid; */
}

.control-area .control-btn{
    margin-left: 10px;
    padding: 2px 8px;
    border-radius: 7.5px;
    white-space: nowrap;
    font-size: 14px;
    background-color: wheat;
    color: #333;
    font-family: Verdana;
}

.control-area .control-btn.active{
    background-color: sandybrown;
    color: #fff;
    box-shadow: 0 0 3px orange;
}

.center-row{
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-row .btn{
    cursor: pointer;
    width: 80%;
    height: 30px;
    font-size: 17px;
    font-family: Verdana;
    white-space: nowrap;
    background-color: wheat;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.center-row #submit-save.btn{
    background-color: #666;
    color: #fff;
}

.c-contract{
    color: var(--c-contract) !important;
}
.c-record{
    color: var(--c-record) !important;
}
.c-test{
    color: var(--c-test) !important;
}
.c-price{
    color: var(--c-price) !important;
}

#date-range-area{
    width: 200px;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: 50px;
    /* border: 1px solid; */
}

.menu-item#to-range{
    font-size: 14px;
    white-space: nowrap;
    background-color: wheat !important;
    color: #333 !important;
}

#date-range-area label,
#date-range-area input#date-from{
    display: none;
}

#date-range-area.on-range label,
#date-range-area.on-range input#date-from{
    display: block !important;
}

#date-range-area.on-range{
    width: 320px;
}

.hidden{
    display: none !important;
}

.flex-row{
    display: flex;
    flex-direction: row;
    align-items: center;
}

#footer-bell{
    position: relative;
}

#footer-bell-counter{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    color: #fff;
    background-color: gray;
    border-radius: 100%;
    white-space: nowrap;
    font-size: 10px;
}

#footer-bell-counter.active{
    background-color: #fc4f30;
}

.just-btn{
    padding: 2px 8px;
    border-radius: 3px;
    margin: 4px;
    background-color: rgb(56, 57, 58);
    color: #eee;
    width: fit-content;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 200ms ease-in;
}

.just-btn:hover{
    opacity: 0.7;
}

/* responsive */
@media screen and (max-width: 550px) {
    #banner{
        height: 25px;
    }
    #banner .menu-item{
        margin-left: 2px;
        margin-right: 1px;
        padding: 1px 2px;
        border-radius: 2px;
        font-family: Verdana;
        font-size: 9px;
        white-space: nowrap;
    }
}