
.button1.green{
    background-color: #0dbf11;
}

.button1.green:hover{
    background-color: #35db5c;
}

.button1.white{
    background-color: white;
    color: #8e8e8e;
}

.button1.disabled{
    opacity: 0.5;
    pointer-events: none;
}

/*---------------------------------------------------*/
table.datatable2 th{
    background-color: #F7F7F7;
    text-align: left;
    font-weight: normal;
}

/*---------------------------------------------------*/
.diagram_window.window{
    width: 960px;
    top: 120px;
    margin: 0 0 0 -480px;
}

.diagram_window .result_container{
    margin: 0 -16px;
}

.diagram_window .diagram{

}

.diagram_window .diagram img{
    max-width: 100%;
}

/*---------------------------------------------------*/
.panel_left .devices .device_item .head .ico_status{
    margin-right: 5px;
}

.panel_left .devices .device_item .head .name{
    width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

.panel_left .devices .device_item .head .buttons .button.battery{
    background-color: transparent;
    width: 25px;
    cursor: default;
}

.panel_left .devices .device_item .head .buttons .button.gprs{
    background-color: transparent;
    width: 18px;
    cursor: default;
}

.panel_left .devices .device_item .content table.datatable1 td{
    vertical-align: top;
}

.panel_left .devices .device_item.opened .content nav.menu ul li{
    position: relative;
}

.panel_left .devices .device_item.opened .content nav.menu ul li .info{
    background-color: #21a7ef;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 2;
}

.panel_left .devices .device_item.opened .content nav.menu ul li .info svg{
    width: 8px;
    height: 8px;
    fill: white;
}

.panel_left .devices .device_item.opened .content nav.menu ul li.light a{
    opacity: 0.3;
}

.panel_left .menu_content .item.messages{

}

.panel_left .menu_content .item.messages ul.list_switch{
    display: flex;
    margin: 15px 0;
}

.panel_left .menu_content .item.messages ul.list_switch li{
    background-color: #f7f7f7;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ebebeb;
    cursor: pointer;
    color: #21a7ef;
    flex: 0 0 50%;
}

.panel_left .menu_content .item.messages ul.list_switch li:last-child{
    border-left: 0;
}

.panel_left .menu_content .item.messages ul.list_switch li.active{
    background-color: white;
    color: #5e5e5e;
}

.panel_left .menu_content .item.messages .filter{
    text-align: center;
    margin-bottom: 15px;
}

.panel_left .menu_content .item.messages .filter a{
    color: #21a7ef;
}

.panel_left .menu_content .item.messages table.messagestable{
    width: 100%;
    border-spacing: 0;
    margin-bottom: 20px;
}

.panel_left .menu_content .item.messages table.messagestable tr{
    cursor: pointer;
}

.panel_left .menu_content .item.messages table.messagestable td{
    border-bottom: 1px solid #ececec;
    padding: 10px 4px;
}

.panel_left .menu_content .item.messages table.messagestable td:nth-child(2){
    text-align: right;
    padding-right: 10px;
}

.panel_left .menu_content .item.messages table.messagestable tr.active td{
    background-color: #EBF8FF;
    border-bottom-color: #EBF8FF;
}

.panel_left .menu_content .item.messages table.messagestable .type{
    display: block;
    padding-left: 15px;
    position: relative;
}

.panel_left .menu_content .item.messages table.messagestable .type.new{
    font-weight: bold;
}

.panel_left .menu_content .item.messages table.messagestable .type.new:before{
    background-color: #21a7ef;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: absolute;
    margin-top: -4px;
    left: 0;
    top: 50%;
    content: '';
}

.panel_left .devices .device_item .content .field input[type=text]{
    width: 100%;
    box-sizing: border-box;
}

.panel_left .menu_content .item.alert .button_container{

}

.panel_left .menu_content .item.alert .button_container .button1{
    width: 100%;
	box-sizing: border-box;
}

.panel_left .menu_content .item.alert ul.options{

}

.panel_left .menu_content .item.alert ul.options > li{
	margin-bottom: 5px;
}

.panel_left .menu_content .item.alert ul.options > li .option_header{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.panel_left .menu_content .item.alert ul.options > li .option_header .opener{
	cursor: pointer;
	display: flex;
	align-items: center;
}

.panel_left .menu_content .item.alert ul.options > li .option_header .opener .name{
	font-weight: bold;
	color: #434343;
	display: block;
	position: relative;
	font-size: 12px;
}

.panel_left .menu_content .item.alert ul.options > li .option_header .opener .ico{
	display: block;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	fill: #444444;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

.panel_left .menu_content .item.alert ul.options > li.opened .option_header .opener .ico{
	fill: #08A5F2;
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.panel_left .menu_content .item.alert ul.options > li .option_header .opener .ico svg{
	width: 100%;
	height: 100%;
}

.panel_left .menu_content .item.alert ul.options > li .option_content{
	display: none;
}

.panel_left .menu_content .item.alert ul.options > li.opened .option_content{
	display: block;
}

.panel_left .menu_content .item.alert ul.options > li.opened .option_content .checkbox1{
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
}

.switch{

}
.switch label{
	cursor: pointer;
	display: block;
}
.switch input{
	display: none;
}
.switch .format{
	width: 40px;
	height: 26px;
	border: 3px solid #21a7ef;
	border-radius: 20px;
	transition: all ease-in-out 0.2s;
	position: relative;
	box-sizing: border-box;
}

.switch .format:before{
	width: 24px;
	height: 24px;
	border: 3px solid #21a7ef;
	border-radius: 15px;
	position: absolute;
	left: -2px;
	top: -2px;
	content: '';
	display: block;
	transition: all ease-in-out 0.2s;
	box-sizing: border-box;
}

.switch input:checked + .format{
	background-color: #2fc452;
	border-color: #2fc452;
}
.switch input:checked + .format:before{
	background-color: white;
	border-color: #2fc452;
	left: 13px;
}
/*---------------------------------------------------*/
.message_window.window{
    width: 520px;
    top: 120px;
    margin: 0 0 0 -260px;
}

.message_window table.options{
    width: 100%;
}

.message_window table.options td{
    padding: 10px 0;
}

.message_window table.options td strong{
    color: #21a7ef;
}

.message_window textarea{
    resize: vertical;
}

.message_window .button_container .button1{
    width: 140px;
    box-sizing: border-box;
    margin-right: 10px;
}

.message_window ul.files{

}

.message_window ul.files > li{
    margin-top: 8px;
}

.message_window ul.files > li a{
    color: #21a7ef;
}

.message_window .voicebar{
    margin-top: 15px;
    font-size: 14px;
}

.message_window .voicebar .bar{
    background-color: #dddddd;
    height: 6px;
    margin: 10px 0;
}

.message_window .voicebar .bar .progress{
    background-color: #e02020;
    height: 100%;
    width: 0;
}

.message_window .voicebar .time.light{
    color: #e3e3e3;
}

.message_window .voicebar.recording,
.message_window .voicebar.recording .time{
    color: #e02020;
}

.message_window .voicebar a{
    color: #21a7ef;
}

.message_window .view_message{
    border: 1px solid #e7e7e7;
}

.message_window .view_message .head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e7e7e7;
    padding: 20px;
}

.message_window .view_message .head .name{
    color: #21a7ef;
}

.message_window .view_message .head .time{
    color: #a0a0a0;
}

.message_window .view_message .content{
    line-height: 1.4;
    padding: 20px;
}

.message_window .view_message .buttons{
    text-align: right;
    margin-top: 15px;
}

.message_window .view_message .button_circle{
    background-color: #21a7ef;
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 13px;
    text-align: center;
    line-height: 26px;
    color: white;
    margin-left: 5px;
}

.message_window .view_message .button_circle.red{
    background-color: #dc2028;
}

.message_window .view_message .image{
    max-height: 500px;
}

.message_window .view_message .image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.message_window .view_message .voice{
    display: flex;
    align-items: center;
}

.message_window .view_message .voice .playbutton{
    background-color: #21a7ef;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    display: inline-block;
    flex: 0 0 48px;
    margin-top: 10px;
    margin-right: 20px;
}

.message_window .view_message .voice .voicebar{
    flex: 1 1 auto;
}

.message_window .view_message .voice.playing .playbutton{
    background-color: #2fc452;
}

.message_window .view_message .voice.playing .voicebar .bar .progress{
    background-color: #2fc452;
}

.message_window .view_message .voice.playing .voicebar .time{
    color: #2fc452;
}

/*---------------------------------------------------*/
.bottom_section{
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.bottom_section ul.buttons{
    position: absolute;
    right: 0;
    bottom: 100px;
}

.bottom_section ul.buttons > li{
    margin-bottom: 10px;
}

.bottom_section ul.buttons button{
    background-color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.bottom_section ul.buttons button svg{
    width: 18px;
    height: 18px;
    display: inline-block;
    transition: all ease-in-out 0.2s;
}

.bottom_section ul.buttons button.active svg{
    fill: #08A5F2;
}

/*---------------------------------------------------*/
.dataform .field .label a.right{
    color: #08A5F2;
    font-weight: bold;
    float: right;
}

/*---------------------------------------------------*/
.system_window table.datatable2.taskstable{
    width: auto;
}
.system_window table.datatable2.taskstable td:nth-child(1){ width: 25px; padding: 0; text-align: center;}

.system_window table.datatable2.taskstable td:nth-child(2){ width: 95px; }

.system_window table.datatable2.taskstable td:nth-child(3){ width: 70px; }

.system_window table.datatable2.taskstable td:nth-child(4){ width: 110px; }

.system_window table.datatable2.taskstable td:nth-child(5){ width: 45px; }

.system_window table.datatable2.taskstable td:nth-child(6){ width: 100px; }

.system_window table.datatable2.taskstable td:nth-child(7){ width: 160px; white-space: nowrap }

.system_window table.datatable2.taskstable td:nth-child(8){ width: 80px; }

.system_window table.datatable2.taskstable td:nth-child(9){ width: 80px; }



/*---------------------------------------------------*/
.scheduling_settings_window{
    width: 1000px !important;
    margin-left: -500px !important;
}

.scheduling_settings_window .setup{
    display: flex;
}

.scheduling_settings_window .setup .typeselect{
    flex: 0 0 300px;
}

.scheduling_settings_window .setup .typeselect .radiobutton{
    display: block;
    margin-bottom: 10px;
}

.scheduling_settings_window .field{
    float: left;
    width: 500px;
    margin: 5px 0;
}

.scheduling_settings_window .setup .field .label.left{
    width: 90px;
}

.scheduling_settings_window input{
    width: auto;
}

.scheduling_settings_window input.date{
    width: 105px;
}

.scheduling_settings_window input.time{
    width: 35px;
    text-align: center;
}

.scheduling_settings_window .select_wrapper{
    width: 190px;

}

.scheduling_settings_window .view_heti,
.scheduling_settings_window .view_havi{
    display: none;
}

.scheduling_settings_window.type_heti .view_heti{
    display: block;
}

.scheduling_settings_window.type_havi .view_havi{
    display: block;
}

.scheduling_settings_window .multi_selector{
    position: relative;
    overflow: visible;
}

.scheduling_settings_window .multi_selector .text{
    display: flex;
    align-items: center;
    padding: 3px 30px 3px 10px;
    min-height: 33px;
    cursor: pointer;
    box-sizing: border-box;
}

.scheduling_settings_window .multi_selector .panel{
    background-color: #F6F6F6;
    padding: 10px;
    position: absolute;
    left: -1px;
    top: 34px;
    width: 100%;
    z-index: 2;
    display: none;
}

.scheduling_settings_window .multi_selector.open .panel{
    display: block;
}

.scheduling_settings_window .multi_selector .panel ul{

}

.scheduling_settings_window .multi_selector .panel ul li{
    display: flex;
    align-items: center;
    margin-bottom: 7px;
    white-space: nowrap;
}

.scheduling_settings_window .multi_selector .panel ul li:last-child{
    margin-bottom: 0;
}

.scheduling_settings_window .multi_selector .panel ul li input{
    margin: 0 5px 0 0;
}

.scheduling_settings_window .multi_selector.multi_selector_days .panel ul{
    columns: 7;
    column-gap: 0;
}



.infocircle{
    background-color: #21a7ef;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
	cursor: help;
}

.infocircle svg{
    width: 8px !important;
    height: 8px !important;
    fill: white;
}
/*---------------------------------------------------*/
.mdtimepicker .mdtp__wrapper{
	bottom: auto !important;
	top: 50%;
	margin-top: -210px;
	border-radius: 0;
}

.mdtp__wrapper[data-theme='blue'] .mdtp__time_holder{
	background-color: #22a7ef;
}

.mdtp__wrapper[data-theme='blue'] .mdtp__clock .mdtp__am.active,
.mdtp__wrapper[data-theme='blue'] .mdtp__clock .mdtp__pm.active,
.mdtp__wrapper[data-theme='blue'] .mdtp__clock .mdtp__clock_dot{
	background-color: #22a7ef;
}

.mdtp__wrapper[data-theme='blue'] .mdtp__clock .mdtp__digit.active span,
.mdtp__wrapper[data-theme='blue'] .mdtp__clock .mdtp__digit:not(.digit--disabled) span:hover{
	background-color: #22a7ef !important;
}

.mdtp__wrapper[data-theme='blue'] .mdtp__clock .mdtp__digit.active:before{
	background-color: #22a7ef;
}
/*
.mdtimepicker .mdtp__buttons{
	display: flex;
	justify-content: space-between;
}

.mdtp__wrapper[data-theme='blue'] .mdtp__button,
.mdtp__wrapper[data-theme='blue'] .mdtp__button:hover{
	background-color: #22a7ef;
	color: white;
	border-radius: 0;
	height: 42px;
	line-height: 42px;
	flex: 0 0 47%;
	box-sizing: border-box;
	text-transform: none;
	font-weight: normal;
}

.mdtp__wrapper[data-theme='blue'] .mdtp__button.cancel{
	background-color: #999999;
}*/


/* ISTVAN EXT */
nav.main_menu.opened {
    width: 98px !important;
    height: 447px !important;;
}
nav.main_menu ul li:nth-of-type(2n) {
    float: left !important;
}
nav.main_menu ul li {

    margin: 1px  !important;

}

nav.main_menu .content {

    width: 76px!important;

}

table.datatable2 thead td {
      min-width: 100px;
}

.clored_dot
{

    display: inline-block;
    vertical-align: middle;
    width: 10px;
    height: 10px;
    line-height: 10px;
    color: white;
    text-align: center;
    font-size: 5px;
    cursor: pointer;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.diagram_window .scrollactive{
  overflow-y: auto;
  height: 300px;
  padding-right: 11px;
}
/* ISTVAN EXT ORIDE */
.poi_window .pois .poi_item .head .buttons .button.edit {
    background: #E8E8E8;
    color: #444444;
    font-size: 40px;
    line-height: 23px;
    cursor: pointer;
}

.poi_window .poi_item .head .buttons .button.edit img,
.poi_window .poi_item .poi_item .head .buttons .button.edit svg{
	width: 17px;
	margin: -6px -3px 0 0;
	vertical-align: middle;
}

.poi_window .poi_item .head .buttons .button.delete img,
.poi_window .poi_item .poi_item .head .buttons .button.delete svg{
	width: 17px;
	margin: -6px -3px 0 0;
	vertical-align: middle;
}

.poi_window .poi_item .head .buttons .button.remove img,
.poi_window .poi_item .poi_item .head .buttons .button.remove svg{
	width: 17px;
	margin: -6px -3px 0 0;
	vertical-align: middle;
}

input.date_input{
	background: white no-repeat 10px center;
	background-image: url("../images/calendar.svg");
	padding-left: 40px !important;
}

input.time_input{
	background: white no-repeat 10px center;
	background-image: url("../images/clock.svg");
	padding-left: 40px !important;
}

.system_window.window {
    width: 960px !important;
}

.system_window .scrollbox {
   
    min-height: 590px;
}