@import 'views/login-view.css';
@import 'components/sideNav.css';
@import 'components/datePicker.css';
@import 'components/grid.css';
@import 'components/toolbar.css';
@import 'components/form.css';
@import 'components/card.css';
@import 'components/vaadin-button.css';
@import 'components/weather-card.css';
@import 'components/week-events.css';
@import 'components/week-event-manager.css';
@import 'components/last-week-prod-card.css';

:root{
    --theme-color : #31859C;/*#e95d19; */
}

@media all and (max-width: 1100px) {

	.list-view.editing .toolbar,
	.list-view.editing .contact-grid {
		display: none;
	}

	.list-view {
        padding: 0px !important;
    }
}
@media all and (min-width: 1100px) {

    .drawerFilterMobile{
        display : none;
    }
}
html {
	--lumo-primary-color: var(--theme-color);
	--lumo-secondary-color: var(--theme-color);
	--lumo-tertiary-color: var(--theme-color);
	--lumo-primary-text-color: var(--theme-color);
	--lumo-font-size-m : 12pt;

	/*--lumo-header-text-color :#2fcacc;*/

    --vaadin-app-layout-drawer-width : 14em;

    /*COULEURS */
    --heading-text : #252526;
    --body-text : #323233;
    --secondary-text:#696969;
    --tertiary-text:#8d8d8e;
    --app-background-color : #f4f5f7;
    --border-color : #b4b4b4;
    --header-color : black;
    /*--error-text-color:#ca150c;*/


}
.main{
    padding: 0;
    margin: 0;
    height: 100%;
    gap: 0;
    background-color: #FCFCFC;
}

/*------------------------------------------------------*/
/*------------       TEMPLATE DE BASE       ------------*/
/*------------------------------------------------------*/
.template-header{
    width: 100%;
    height: 20vh;
    align-items:center;
}


.title-and-icon{
    width: 80%;
    height: 80%;
    border-radius:70px;
    align-items:center;
    justify-content: center;
    gap: 0;
    h1{
        color: #FFF;
        font-weight: bold;
        font-size: 3.5vw;
    }
    white-space: nowrap;
    background-color:var(--theme-color);
}

.date-and-hour{
    height: 100%;
    white-space: nowrap;
    right: 0%;
    align-items: center;
    justify-content: center;
    gap: 0;
    span{
        font-size: 1.4vw;
        font-weight: 500;
    }
}

.logo-bih{
    gap: 0;
    width: 10%;
    justify-content: flex-start;
}

.template-footer{
    display: flex;
    width:100%;
    justify-content: center;
    align-items: center;
}

/*------------------------------------------------------*/
/*------------       GateStatusScreen       ------------*/
/*------------------------------------------------------*/


.list-of-gates{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: center;
}

.gate-status-list-item{
    display: flex;
    width: 100%;
    height: 10vh;
    border-radius: 2.5vh;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color:#EDEDED;
    span{
        font-size: 3vw;
        margin-left: 2vw;
    }
    margin: 2.5vh 0;
}

.gate-status-indicator{
    width: 10vw;
    height: 5vh;
    border-radius: 2.5vh;
    margin: 0 2vh
}

.gate-status-indicator-green{
    background-color: #58A55C;
}

.gate-status-indicator-red{
    background-color: #B23A48;
}

.chartsLine{
    width: 100%;
    height: 100%;
}

/*------------------------------------------------------*/
/*------------     CommandStatusScreen      ------------*/
/*------------------------------------------------------*/

.slingsLayout{
    align-items:center;
    padding: 0 16px 0 0;
    gap:0;

}

.slingsLabelBox{
    display: flex;
    height: 4vh;
    justify-content: center;
    align-items: center;
}

.nbSlingsBox{
    display:flex;
    justify-content: center;
    align-items:center;
    height: 3vh;
    font-size: 2.5vh;
    font-weight: bold;
    padding: 0 4vh;
    border-radius: 5vh;
    border: solid 1px #B0B0B2;
    box-shadow: 5px 5px 15px #B0B0B2;
}

.highcharts-background{
    fill:#FCFCFC;
}