/*
   CSS styling examples for the Vaadin app.
   Visit https://vaadin.com/docs/flow/theme/theming-overview.html and
   https://vaadin.com/themes/lumo for more information.
*/

/* List view */
html{
	    --_vaadin-app-layout-drawer-offset-size: 4em;
}

.list-view .content {
    display: flex;
}

.list-view .building-grid {
    flex: 2;
}

.list-view .alert-grid {
    flex: 2;
}

@media all and (max-width: 1100px) {
    .list-view.editing .toolbar,
    .list-view.editing .building-grid {
        display: none;
    }
}

/* Main layout */
a[highlight] {
    font-weight: bold;
    text-decoration: underline;
}

.header {
    background: -o-linear-gradient(left, #1b74af, #319bba);
  background: -webkit-gradient(linear, left top, right top, from(#1b74af), to(#319bba));
  background: linear-gradient(to right, #1b74af, #319bba);
  padding-left:20px;
}

.header h1.logo {
    font-size: 1em;
    margin: var(--lumo-space-m);
}

/* Dashboard view */
.dashboard-view .contact-stats {
    font-size: 4em;
    margin: 1em 0;
}

body {
  font-family: Helveticaneuecyr-Light,Sans-Serif;
  font-weight: 100;
}
.wc2 {
  color: #fff;
}

.h-header {
  font-size: 24px;
  line-height: 1;
}
p {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  margin-top: 20px;
}

.logout-btn{
	height:75px;
	background-color:#ff4200;
	color:#fff;
	padding:0 30px;
	font-size:14px;
	line-height: 75px;
	font-family: Helveticaneuecyr-Light,Sans-Serif;
}

.logout-btn:hover, .logout-btn:focus{
    cursor: pointer;
}

.border-x{
	border-left:1px solid #fff;
	border-right:1px solid #fff;
}

.notifywrapper{
	padding:0 15px;
}

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

.avatar{
	border-radius:50%;
	background-color:#fff;
	height:35px;
	width:35px;
	overflow:hidden;
	display:flex;
	align-items:center;
	justify-content:center;
	margin-right:10px;
}

.avatar>img{
	margin-top:10px;
}

.title-wrapper{
	padding:0px 20px;
	border-left:1px solid #fff;
	margin-left:22px;
}

.title{
	margin:0px;
	font-size:24px;
	font-weight:100;
	font-family: Helveticaneuecyr-Light,Sans-Serif;
}

.subtitle{
	margin:0px;
	font-size:12px;
	text-transform: uppercase;
	font-weight:100;
	font-family: Helveticaneuecyr-Light,Sans-Serif;
}

.card-item{
	position:relative;
	min-height:345px;
	background-color:#fff;
	border-radius:5px;
	overflow:hidden;
	cursor:pointer;
	flex-wrap:wrap;
	padding:45px 10px 30px;
	box-shadow: 0px 0px 4px 0px rgb(24 24 24 / 17%);
}

.card-item:not(:first-child){
	margin-left: 0.4em;
}

.card-title{
	font-size:33px;
	line-height:36px;
	font-weight:400;
	color:#000;
	text-align:center;
	max-width:200px;
	margin:0 auto;
}

.chart-wrapper{
	max-height:250px;
	width:100%;
}

.chart-metric{
	position:absolute;
	top:53%;
	left:0;
	right: 0;
	margin:auto;
	display:flex;
	justify-content:center;
	align-items:center;
	color:#065e99;
	font-weight:700;
	font-size: var(--lumo-size-xl);
	text-align:center;
	line-height: 1;
	width:fit-content !important;
	padding:0px;
}

.chart-metric>img{
	height:50px;
}

.chart-metric>div{
	margin-top:0px;
}

:host(.stats-chart) .highcharts-title,
.card-title{
	font-size:33px;
	line-height:36px;
	color:#000;
	text-align:center;
	max-width:200px;
	margin:0 auto;
}

:host(.stats-chart) .purple-slice{
	fill:#065e99;
}

:host(.stats-chart) .yellow-slice{
	fill:#feb301;
}

:host(.stats-chart) .gray-slice{
	fill:gray;
}

:host(.stats-chart) .red-slice{
	fill:#fe4101;
}

:host(.stats-chart) .green-slice{
	fill:#36b46d;
}

.nav-icon{
	height: 30px;
}

.nav-menu{
	align-items: center;
	padding: 10px;
}

.nav-menu > .nav-menu-title{
	display: none;
}
.nav-menu:hover{
	background-color: blue;
	color: white;
	border-radius: 10%;
}
.nav-menu:hover > .nav-menu-title{
	display: flex;
	transition: 1s;
}

.login-view {
	background-color: #629cc5;
}

#company-info {
	color: #fff;
	/* font-size: 0.8rem; */
	font-size: 11pt;
}

.policy-text {
	color: #fff;
	/* font-size: 0.8rem; */
	font-size: 11pt;
}

.info-text {
	background-color: transparent;
	font-weight: 400px;
	color: #fff;
	border: none;
	padding: 0px;
}

.login-view-anchor {
	color: #fff;
	text-decoration: underline;
}

.login-view-anchor:hover, .login-view-anchor:focus {
	color: #000;
}

#logo-text{
	width: 50px;
	height: 50px;
	color: #375989;
	background-color: #fff;
	padding: 10px;
}

.wc2 {
  color: #fff;
}

#new-user-view{
    background-color:  #629cc5;
    height: 100%;
}

.new-user-form{
    color: #fff;
}

.alert-block{
    min-height: 20%;
    max-height: 100%;
    padding: 2em;
    margin: auto;
}

.alert-div-title{
   font-weight:200;
   	font-size: var(--lumo-size-s);
}

.alert-div-metric{
    color:#065e99;
    font-weight:700;
	font-size: var(--lumo-size-xl);
}

#new-alert-metric{
    color: var(--lumo-error-color);
}

#new-alert-subtitle{
font-size: var(--lumo-font-size-s);
}
