body {
    font-size:100%;
    font-family: sans-serif;
    color: forestgreen;
    background-color: #F5F5F5;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

.content {
    min-height: 100%;
    height: 100%;
}

.spacing-wrapper {
    margin-left: 1em;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    color: #000000;
    transition: all 0.3s;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: floralwhite;
}

#sidebar ul.components {
    padding: 0 0 20px 0;
    /*border-bottom: 1px solid #47748b;*/
}

#sidebar ul h5 {
    padding-left:20px;
    padding-top:20px;
    color: #000000;
}

#sidebar ul li a {
    padding-left:40px;
    display: block;
    text-underline: none;
}
#sidebar ul li a:hover {
    color: #000000;
    background: #fff;
    text-underline: none;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #000000;
    background: #6d7fcc;
}
ul ul a {
   /* padding-left: 40px !important;*/
    background: #6d7fcc;
}

/***** MODAL DIALOG ****/
#modal {
	/* Underlay covers entire screen. */
	position: fixed;
	top:0px;
	bottom: 0px;
	left:0px;
	right:0px;
	background-color:rgba(0,0,0,0.5);
	z-index:1000;

	/* Flexbox centers the .modal-content vertically and horizontally */
	display:flex;
	flex-direction:column;
	align-items:center;

	/* Animate when opening */
	animation-name: fadeIn;
	animation-duration:150ms;
	animation-timing-function: ease;
}

#modal > .modal-underlay {
	/* underlay takes up the entire viewport. This is only
	required if you want to click to dismiss the popup */
	position: absolute;
	z-index: -1;
	top:0px;
	bottom:0px;
	left: 0px;
	right: 0px;
}

#modal > .modal-content {
	/* Position visible dialog near the top of the window */
	margin-top:10vh;

	/* Sizing for visible dialog */
	width:80%;
	max-width:600px;

	/* Display properties for visible dialog*/
	border:solid 1px #999;
	border-radius:8px;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
	background-color:white;
	padding:20px;

	/* Animate when opening */
	animation-name:zoomIn;
	animation-duration:150ms;
	animation-timing-function: ease;
}

#modal.closing {
	/* Animate when closing */
	animation-name: fadeOut;
	animation-duration:150ms;
	animation-timing-function: ease;
}

#modal.closing > .modal-content {
	/* Aniate when closing */
	animation-name: zoomOut;
	animation-duration:150ms;
	animation-timing-function: ease;
}

@keyframes fadeIn {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes fadeOut {
	0% {opacity: 1;}
	100% {opacity: 0;}
}

@keyframes zoomIn {
	0% {transform: scale(0.9);}
	100% {transform: scale(1);}
}

@keyframes zoomOut {
	0% {transform: scale(1);}
	100% {transform: scale(0.9);}
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

#id_additional_jsonform {
	height: auto;
}

#id_state_jsonform {
	height: auto;
}

.errorlist {
	list-style-type: none;
	color: #720000;
	background: #FFBABA;
	padding-left: 5px;
	border-radius: 4px;

}

.ul.errorlist {
	text-transform: capitalize;
}

tr[has_error="true"] {
    background-color: #ffd0d0;
}