/*
    Created on : 26 nov. 2015, 09:49:32
    Author     : xavier
*/

a.flatmenubar, a.flatmenubar:hover
{
    float:left;
    font-weight:normal;
    vertical-align:middle;
    border-radius: 6px;
    min-width: 170px;
    padding:6px 19px;
    line-height:30px; /* centrage vertical */
    text-align:center; /* centrage horizontal */
    margin-left:3px;
    margin-right:3px;
    white-space: nowrap;
}

a.flatmenubarsmall, a.flatmenubarsmall:hover
{
    float:left;
    font-weight:normal;
    font-size:.75em;
/*    vertical-align:middle; */
    min-width: 80px;
    padding: 5px 10px;
    height: 20px;
/*    line-height:20px;*/ /* centrage vertical */
/*    text-align:center;*/ /* centrage horizontal */
    white-space: nowrap;
    border-radius: 14px;
    margin-right:5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.flatmenubarmini, a.flatmenubarmini:hover
{
    float:left;
    font-weight:normal;
    vertical-align:middle;
    padding: 2px 5px;
    line-height:20px; /* centrage vertical */
    text-align:center; /* centrage horizontal */
    white-space: nowrap;
    border-radius: 4px;
}

a.flatmenubartop, a.flatmenubartop:hover
{
    float:left;
    font-weight:normal;
    vertical-align:middle;
    min-width: 100px;
    height:30px;
    padding:5px 15px;
    line-height:30px; /* centrage vertical */
    text-align:center; /* centrage horizontal */
    white-space: nowrap;
}

a.flatbtn, a.flatbtn:hover
{
    float:left;
    font-weight:normal;
    vertical-align:middle;
    padding:3px;
    line-height:20px; /* centrage vertical */
    text-align:center; /* centrage horizontal */
    margin-left:3px;
    margin-right:3px;
    white-space: nowrap;
}

span.flatmenubar
{
    font-size: 12px;
    line-height: 12px;
}

a.button_color
{
    background-color: var(--button_background_color);
    color: var(--button_text_color);
}


a.button_color.disabled
{
    opacity:0.5;
    cursor: wait;
}

a.button_color:hover
{
    background-color: var(--button_color_hover);
    color: var(--button_text_color_hover);
}

a.button_color:active
{
    background: var(--button_background_color_active);
    color: white;
}

a.button_active
{
    background-color: red;
    color:white;
}

div.uploadbutton
{
    height:30px;
    line-height:30px;
    background-color: var(--button_background_color);
    color: var(--button_text_color);
    border-radius: 14px;
    cursor: pointer;
    display:flex;
    justify-content:center;
    position:absolute;
    left:0;
    top:0;
    width:8em;
}

div.uploadbutton:hover
{
    background-color: var(--button_background_color_hover);
}

div.uploadbutton span.lnr
{
    color: white !important;
}

.actionmenu_on
{
    background-color: rgba(133, 62, 165, 0.8) !important;
    color: white !important;
}

.filtermenu_on
{
    background-color: rgba(133, 62, 165, 0.8) !important;
    color: white !important;
}

a.button_previous, a.button_previous:hover {
    border-radius: 14px 4px 4px 14px;
    display: initial;
}

a.button_previous .lnr-button {
    display: initial;
    font-weight: bold;
}

a.button_next, a.button_next:hover {
    border-radius: 4px 14px 14px 4px;
    display: initial;
}

a.button_next .lnr-button {
    display: initial;
    font-weight: bold;
}

a.button_filter .lnr-button {
    display: initial;
    margin-right: 0;
}

a.button_action .lnr-button {
    display: initial;
    margin-right: 0;
}

a.button_custom .lnr-button {
    display: initial;
}

a.button_copy-to-clipboard .lnr-button {
    display: initial;
}

a.button_calendar-week .lnr-button,
a.button_calendar-day .lnr-button {
    display: initial;
}

button.flatMenubarSmall
{
/*    font-size:.75em;*/
/*    min-width: 80px; */
    padding: 5px 10px;
    height: 20px;
    white-space: nowrap;
    border-radius: 14px;
    margin-right:5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

button.button_color
{
    background-color: var(--button_background_color);
    color: var(--button_text_color);
}

button.button_color:hover
{
    background-color: var(--button_color_hover);
    color: var(--button_text_color_hover);
}

button.disabled {
    opacity:0.5;
    cursor: not-allowed;
}
