﻿@import url("wup_icons.css");


:root {
    --radius: 4px;
    --color-bg: #ffffff;
    --color-bg-gray: #efefef;
    --color-red: #e11b22;
    --color-darkred: #c50009;
    --color-black: #000000;
    --color-yellow: #f0ab00;
    --color-green: #7ab800;
    --color-skyblue: #5eb9e4;
    --color-cadetblue: #0083a9;
    --color-blue: #0039a6;
    --color-navy: #003f72;
    --color-purple: #6e267b;
    --color-darkolive: #4f4525;
    --color-khaki: #d3cd8b;
    --color-lightgray: #c9cac8;
    --color-gray: #4d4f53;
    --color-text: #000000;
    --color-text-inv: #ffffff;
}

/* 
    Helper generici 
    Si potrebbero spostare in un file globale
*/
.interruttore{
    top: 0;
    left: 50%;
    position: absolute;
    z-index: 9999;
}

.float-right {
    float: right;
}

body{
    overflow: hidden;
}

.flat-well{
    margin: 0.5em 0;
    padding: 1em;
    background-color: white;
    border-radius: 0.5em;
    border-left: 0.5em solid #73d354;
    box-shadow:  1px 1px 5px 1px rgba(0,0,0,.1);
}

/*.mlivestate */
.status-upcoming {
    border-left: 0.5em solid #dc3545;
}

.status-past {
    border-left: 0.5em solid #f5f7fa;
    /*0.5em solid #808080;*/
}

/*.mstatedefault {*/
.status-future{
        border-left: 0.5em solid #2dc76d;
}

.confirmButton {
    background-color: #2dc76d;
    color: white;
    width: 200px;
    border: none;
    border-radius: 10px;
}

.popupTitle {
    color: #264e7c;
    text-align: center;
    font-size: 3em;
    font-weight: 600;
    margin-bottom: 1em
}

.popupMainContent{
    padding: 3em;
}

.popupLine {
    border: 0.1em solid lightgray;
    border-radius: 1em;
    padding: 0.5em 1.5em;
    margin-bottom: 1em;
    display: inline-flex;
    height: 4em;
}

.popupLineLeft {
    border: 0.1em solid lightgray;
    border-bottom-left-radius: 1em;
    border-top-left-radius: 1em;
    padding: 0.5em 1.5em;
    margin-bottom: 1em;
    display: inline-flex;
    height: 4em;
}

.popupLineRight {
    border: 0.1em solid lightgray;
    border-bottom-right-radius: 1em;
    border-top-right-radius: 1em;
    border-left: none;
    padding: 0.5em 1.5em;
    margin-bottom: 1em;
    display: inline-flex;
    height: 4em;
}

.captionLabel{
    margin-left: 1em;
    font-size: 1.3em;
    font-weight: 500;
    margin-top: 0.2em;
    width:40%;
}

.popupEditors{
    border: none !important;
    color: #73d354 !important;
}

    .popupEditors:hover .dx-dropdowneditor-icon {
        color: #fff;
    }

.dx-dropdowneditor.dx-dropdowneditor-active .dx-dropdowneditor-icon {
    color: #fff !important;
}
/*
    Per l'uso vedi https://stackoverflow.com/a/20548578
    Prestare attenzione agli spazi tra gli element

*/
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.api-selector {
    position: fixed;
    bottom: 8em;
    left: -14em;
    background-color: rgba(0,0,0,0.5);
    padding: 0.5em;
    border-radius: 0.5em;
    border-right: 20px solid #2dc76d;
    transition-duration: 0.8s;
}

.api-selector:hover{
    left: 0em;
    transition-duration: 0.8s;
}

body, html, form {
    height: 100%;
}

body {
    background-color: #f5f7fa;
}

.nobr {
    white-space: nowrap;
}

.e_hidden {
    visibility: hidden;
}

.dx-empty-message {
    text-align: center;
    margin-top: 15%;
}


.wupswitch .dx-checkbox-container {
    height: 100%;
    width: 100%;
    padding: 5px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.wupswitch.dx-checkbox .dx-checkbox-icon {
    background-color: var(--color-lightgray);
    border: 0;
    border-radius: 26px;
    height: 26px;
    width: 48px;
    margin: auto 0;
}

.wupswitch.dx-checkbox .dx-checkbox-icon:before {
        content: '';
        background-color: var(--color-bg);
        border-radius: 20px;
        display: block;
        margin: 3px;
        height: 20px;
        width: 20px;
        top: 0;
}