/* Show it is fixed to the top */
body {
  /*min-height: 75rem;*/
  padding-top: 4.5rem;
}

h3 {
	font-weight: 300;
    font-size: 30px;
}
h4{
    font-weight: 300;
    font-size: 25px;
}

a {
	cursor: pointer;
}

.message-box {
	position: fixed;
	top: 75px;
	right: 20px;
	z-index: 1060;
	color: white;
}

#search {
	cursor: pointer;
}

table#deviceValues .odd.selected, table#deviceValues .even.selected {
	background-color: #B0BED9;
}

.btn {
	cursor: pointer;
}

.message-box .message-title, .message-box .message-text {
	margin: 10px 20px 10px 0;
}

.message-box i, .message-box .me-container {
	float: left;
}

.message-box i {
	margin: 10px 20px;
}

.message-box .message-title {
	font-weight: bold;
}

.me-success {
	background: #51a351;
}

.me-info {
	background: #2f96b4;
}

.me-warning {
	background: #f89406;
}

.me-error {
	background: #bd362f;
}

.max-w-50 {
	max-width: 50%;
}

.max-w-90 {
	max-width: 90%;
}

#droppable-wrapper, #dropsortable-wrapper {
	width: 700px;
	min-height: 200px;
	border: 1px solid black;
	padding: 5px;
}

.clear {
	clear: both;
}

.ui-elem {
	width: 100px;
	height: 100px;
	padding: 0.5em;
	float: left;
	margin: 5px;
	border: 1px solid black;
	cursor: move;
}

#dropsortable-wrapper input {
	width: 100%;
}

.item {
	border: 1px solid black;
	width: 100px;
	margin: 5px;
	padding: 10px;
	float: left;
	cursor: move;
}

.item-container {
	border: 1px solid red;
	width: 100px;
	margin: 5px;
	padding: 5px;
	cursor: move;
}

.ui-container {
	width: 300px;
	min-height: 150px;
	padding: 5px;
	float: left;
	margin: 5px;
	border: 1px solid blue;
}

.drop-container {
	width: 300px;
	min-height: 150px;
	padding: 5px;
	border: 1px solid blue;
}

.ui-selected {
	color: blue;
}
.dropdown-item.disabled{
    background-color: #E8E8E8;
	color: #989898 !important;
}

#sidebar .list-group-item {
    border-radius: 0;
    background-color: #222222;
    color: #CCCCCC;
    border-left: 0;
    border-right: 0;
    border-color: #2c2c2c;
    /* white-space: nowrap; */
	transition: all ease 0.1s;
    padding-right: 50px;
}
#sidebar .list-group-item.layer-2{
	background-color: #3d3d3d;
	color: #CDCDCD;
	padding-left:25px;
	transition: all ease 0.1s;
}
#sidebar .list-group-item.layer-3{
	background-color: #525252;
	color: #CFCFCF;
	padding-left:30px;
	transition: all ease 0.1s;
}
#sidebar .list-group-item.layer-4{
	background-color: #686868;
	color: #D5D5D5;
	padding-left:35px;
	transition: all ease 0.1s;
}
#sidebar .list-group-item.highlighted-light{
	background-color: #488f48;
	color: #F0F0F0;
	transition: all ease 0.1s;
}
#sidebar .list-group-item.highlighted{
	background-color: #3d7a3d;
	color: #F0F0F0;
	transition: all ease 0.1s;
}
#sidebar .list-group-item.highlighted-dark{
	background-color: #30502f;
	color: #F0F0F0;
	transition: all ease 0.1s;
}
#sidebar .list-group-item.inactive{
	background-color: #909090;
	color: #C0C0C0;
	transition: all ease 0.1s;
	cursor: no-drop;
}
#sidebar .list-group .list-group-item::after{
	right: 32px;
	position: absolute;
}
/* highlight active menu */
/* #sidebar .list-group-item:not(.collapsed) {
    background-color: #222;
} */

/* closed state */
#sidebar .list-group .list-group-item[aria-expanded="false"]::after {
  content: " \f0d7";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}
#sidebar .to-state{
	margin-right:10px;
	padding: 5px;
	padding-right: 10px;
	border-right: 1px dotted #CDCDCD;
}
#sidebar .to-state-title:hover{
	text-decoration: underline;
}

/* open state */
/* #sidebar .list-group .list-group-item[aria-expanded="true"] {
  background-color: #222;
} */
#sidebar .list-group .list-group-item[aria-expanded="true"]::after {
  content: " \f0da";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* level 1*/
#sidebar .list-group .collapse .list-group-item  {
  /* padding-left: 20px; */
}

/* level 2*/
#sidebar .list-group .collapse > .collapse .list-group-item {
  /* padding-left: 30px; */
}

/* level 3*/
#sidebar .list-group .collapse > .collapse > .collapse .list-group-item {
  /* padding-left: 40px; */
}

@media (max-width:48em) {
    /* overlay sub levels on small screens */
	/* CHANGED */
	/* #sidebar .list-group .collapse.in, #sidebar .list-group .collapsing {
        position: absolute;
        z-index: 1;
        width: 190px;
    }
    #sidebar .list-group > .list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    } */

    /* hide caret icons of top level when collapsed */

   /* #sidebar .list-group > .list-group-item[aria-expanded="true"]::after,
    #sidebar .list-group > .list-group-item[aria-expanded="false"]::after {
        display:none;
    } */
}

/*DATATABLE STYLES*/

table#deviceValues tfoot {
	display: none;
}

table#deviceValues .odd {
	background-color: #f0f0f1;
}


.tablefocus {
	border: 1px dashed grey;
	border-radius: 7px;
}

.statelist {
	min-height: 15px;
}

.statediv {
	width: 100%;
}

.handleicon, .handlestateicon {
	float: right;
	cursor: move;
}

.deleteicon, .sortNameIcon, .sortDateIcon {
	float: right;
	cursor: pointer;
	margin-right: 20px;
}
.mt-table{
    margin-top: 125px;
}

.right-black-border{
    border-right: 2px solid rgba(0,0,0,0.3);
}
.left-black-border{
    border-left: 2px solid rgba(0,0,0,0.3);
}

.bottom-black-border{
    border-bottom: 2px solid rgba(0,0,0,0.3);
}
.grey{
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px;
}
.white{
    background-color: rgba(255,255,255,1);
    border-radius: 5px;
}
.lowercase{
    text-transform: lowercase;
}
.pull-bottom {
    display: inline-block;
    vertical-align: bottom;
    float: none;
}

.formedit {
	width: 25%;
	display: inline;
	margin-left: 10px;
	min-width: 200px;
	display: none;
}

.openEdit, .enterEdit, .closeEdit {
	cursor: pointer;
}

footer {
	background-color: #42893b;
	color: #fff;
}

footer a {
	color: #fff;
	text-decoration: underline;
}

footer a:hover {
	color: #000;
}

/*.mq-textarea textarea {
	display: block;
}*/

#formulaArea {
	width: 100%;
	min-height: 100px;
	background: #eceeef;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 5px;
}

#newFormula {
	display: none;
}

.isoperator {
	font-size: 30px;
}

#formulaResult {
	margin-top: 8px;
}

.ui-datepicker {
	z-index: 1051 !important;
}

.operator_list {
	padding: 0 15px;
}

.operator_list .operator_item {
	float: left;
	width: 60px;
	margin-bottom: 10px;
}

.device-btn {
	margin-right: 10px;
}

@media (max-width: 1024px) {
	.max-w-50 {
		max-width: 90%;
	}
}

@media (max-width: 991px) {
	.device-btn {
		margin: 0 15px;
	}
}

@media (max-width: 760px) {
	#addParameter {
		margin-top: 10px;
	}
}

@media (max-width: 991px) {
	.btn-margin {
		margin: 5px 0;
	}
}

@media (max-width: 530px) {
	#noAssignedDevices .card-header, #projectSortable .card-header {
		font-size: 20px;
	}

	.resp-header {
		font-size: 22px;
	}
}

@media (max-width: 420px) {
	#noAssignedDevices .card-header, #projectSortable .card-header {
		font-size: 15px;
	}

	.resp-header {
		font-size: 19px;
	}
}
.grey-text,
a.grey-text:hover{
	color: rgba(0,0,0,0.3);
}

.pulsebtn {
	  animation: shadow-pulse 1s;
}

.pulsebtn:hover {
	animation: none;
}

table.dataTable tr.selected td.select-checkbox::after, 
table.dataTable tr.selected th.select-checkbox::after {
	margin-top: -5px !important;
}

table.dataTable tbody td.select-checkbox:before, 
table.dataTable tbody th.select-checkbox:before {
    margin-top: 4px !important;
}


@keyframes shadow-pulse
{
     0% {
          box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
     }
     100% {
          box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
     }
}

@media (min-width: 576px) {

	.labelbutton {
		margin-top: 32px;
	}
}