
.drawing-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 720px;
}


.side-panel {
    overflow-y: scroll;
    min-width: 240px;
    max-width: 320px;
    padding-top: 6px;
}

.side-panel-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #2f3133;
    color: white;
    padding: 0 2px;
    cursor: pointer;
}


.drawing-area {
    background-color: steelblue;
    padding: 10px;
    flex-grow: 1;
}

.drawing {
    margin: 0;
    padding: 0;
	cursor: crosshair;
}

.selected {
    color: orangered;
}

.deselected {
	/*border-bottom: 1px dashed black;*/
}

#alert-messages {
    display: inline-block;
    margin-left: 50px;
}

/*//////////////////////////////////////////////////////////////////////////*/

.black-heading {
	background-color: #000000;
	font-size: 18pt;
    color: #fff;
}

.padding-6 {
    padding: 6px;
}

.heading {
	padding: 0;
	text-align: left;
}

.selectable-heading {
	font-weight: bold;
    background-color: rgb(0, 64, 128);
	background-color: rgba(0, 64, 128, 0.2);
	cursor: pointer;
}

/*//////////////////////////////////////////////////////////////////////////*/

.form-attr {
	padding: 3px;
	line-height: 2;
	color: #000000;
	border-top: 3px solid #000000;
	min-height: 64px;
    white-space: nowrap;
}

.form-attr:last-child {
    margin-bottom: 9px;
}

.attr {
	display: table;
	width: 100%;
}
.attr div {
	display: table-cell;
	width: 50%;
	text-align: right;
}
.attr div:last-child {
	text-align: center;
}

.form-attr input[type=text],
.form-attr button {
	padding: 3px;
	width: 40px;
	border: 1px solid steelblue;
	border-radius: 3px;
	font-size: 12pt;
	color: steelblue;
	background-color: #FFFFFF;
}

.form-attr button {
	width: 48px;
	background-color: aliceblue;
	box-shadow: 3px 3px rgba(0,0,0, 0.2);
	transition: box-shadow 0.2s;
}
.form-attr button:active {
	box-shadow: 0 0 transparent;
	transition: box-shadow 0.2s;
}

/*select {
	width: 90%;
    margin-bottom: 6px;
}*/

/*//////////////////////////////////////////////////////////////////////////*/

input[type="range"] {
    width: 100%;
    height: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    -moz-appearance: none;
    -webkit-appearance: none;
}

input[type="range"]:focus {
    outline: none;
    border: 1px solid #337AB7;
}

input[type="range"]::-moz-range-track {
    background: #F5F5F5;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    width: 100%;
    height: 25%;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #F5F5F5;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    width: 100%;
    height: 25%;
}

input[type="range"]:active::-moz-range-track {
    outline: none;
    background: #ddd;
    border: 1px solid #337AB7;
    border-left: none;
    border-right: none;
}

input[type="range"]:active::-webkit-slider-runnable-track {
    outline: none;
    background: #ddd;
    border: 1px solid #337AB7;
    border-left: none;
    border-right: none;
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border: 1px solid #23527C;
    border-radius: 12px;
    background-image: linear-gradient(to bottom, #337AB7 0, #23527C 100%);
}

input[type="range"]::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    border: 1px solid #23527C;
    border-radius: 12px;
    background-image: linear-gradient(to bottom, #337AB7 0, #23527C 100%);
    -moz-appearance: none;
    -webkit-appearance: none;
}

/*//////////////////////////////////////////////////////////////////////////*/

.on-off input[type="radio"] {
    cursor: pointer;
    width: 32px;
    padding: 0;
    font-size: 1em;
    opacity: 0;
    margin: 0;
}

.on-off input[type="radio"] + label {
    display: inline-block;
    cursor: pointer;
    margin-left: -32px;
    line-height: 1.5em;
    font-size: 0.9em;
    padding: 0;
    border: 2px solid steelblue;
    background: white;
    width: 32px;
    border-radius: 6px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    box-shadow: -2px 1px rgba(0,0,0,0.2);
    transition: box-shadow 0.2s;
}

.on-off input[type="radio"] + label:last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 6px;
    border: 2px solid steelblue;
    border-left: none;
    box-shadow: 2px 1px rgba(0,0,0,0.2);
}

.on-off input[type=radio]:checked + label {
    background: white;
    border: 2px solid orangered;
    box-shadow: -1px 0 rgba(0,0,0,0.2);
    transition: box-shadow 0.2s;
}

.on-off input[type=radio]:checked + label:last-child {
    border: 2px solid orangered;
    box-shadow: 1px 0 rgba(0,0,0,0.2);
}

/*
input[type="radio"] {
    opacity: 0;
    display: none;
}

input[type="radio"]:label {
    display: block;
    background: steelblue;
}*/