/* LIBRARY STYLES ==================== */

h1 {
	font-size: 16pt;
	margin: 0;
	font-weight: lighter;
}

h2 {
	font-size: 14pt;
	font-weight: lighter;
}

h3 {
	font-size: 13pt;
	font-weight: 400;
}

h1 span {
	color: white;
}

h2 span {
	color: black;
}

.fltR {
	float: right;
	margin: 10px;
	margin-right: 0;
	max-width: 100%;
	clear: both;
	display: inline-block;
}

.fltL {
	float: left;
	margin: 10px;
	margin-left: 0;
	max-width: 100%;
	clear: both;
	display: inline-block;
}

.fltC {
	display: block;
	margin: 10px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.col2, .col2-pad, .col3, .col3-pad, .col4, .col-2thirds, .col-2thirds-pad, .col-most, .col4-pad {
	display: inline-block;
	vertical-align: top;
}

.col2 {
	width: calc(50% - 2px);
}

.col2-pad {
	padding: 10px;
	width: calc(50% - 23px);
}

.col3 {
	width: calc(33.33% - 3px);
}

.col3-pad {
	padding: 10px;
	width: calc(33.33% - 23px);
}

.col-2thirds-pad {
	padding: 10px;
	width: calc(66.67% - 23px);
}

.col2 img {
	max-width: 100%;
}

.col4 {
	width: calc(25% - 30px);
}

.col4-pad {
	width: calc(25% - 23px);
	padding: 10px;
}

.col-2thirds {
	width: calc(66.7% - 2px);
}

.col-most {
	width: calc(75% - 30px);
}

.full {
	width: 100%;
	display: inline-block;

}

label.full {
	text-align: left;
	margin-right: 0;
}

label {
	text-align: right;
	color: #606060;
	display: inline-block;
	width: 115px;
	margin-right: 10px;
	font-size: 13pt;
	font-weight: 300;
	vertical-align: top;
	margin-top: 5px;
}

.check {
	text-align: center;
}

.check label {
	width: auto;
	text-align: left;
}

.xsm-label label {
	width: 80px;
}

.sm-label label {
	width: 115px;
}

.med-label label {
	width: 150px;
}

.lg-label label {
	width: 180px;
}

.xlg-label label {
	width: 210px;
}

input, button, select, textarea, div.data-box {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

	padding: 5px;
	margin-bottom: 10px;
	width: calc(100% - 125px);
	font-size: 13pt;
	color: #202020;
	border: 1px solid #a0a0a0;
	display: inline-block;
	text-align: left;
	vertical-align: top;
}

input.required, select.required, textarea.required {
	border-left: 3px solid #FF6666;
}

.xsm-label input, .xsm-label select, .xsm-label textarea, .xsm-label div.data-box {
	width: calc(100% - 90px);
}

.sm-label input, .sm-label select, .sm-label textarea, .sm-label div.data-box {
	width: calc(100% - 125px);
}

.med-label input, .med-label select, .med-label textarea, .med-label div.data-box {
	width: calc(100% - 165px);
}

.lg-label input, .lg-label select, .lg-label textarea, .lg-label div.data-box {
	width: calc(100% - 195px);
}

.xlg-label input, .xlg-label select, .xlg-label textarea, .xlg-label div.data-box {
	width: calc(100% - 225px);
}

div.data-box{
	min-height: 33px;
	text-align: left;
}

.flow {
	display: inline-block;
	width: auto!important;
}

.custom-combobox input {
	width: calc(100% - 165px);
}

.custom-combobox a {
	min-height: 31px;
	position: relative;
	top: -2px;
}

textarea {
	resize: vertical;
	min-height: 100px;
	font-size: 11pt!important;
}

input[type=checkbox], input[type=radio] {
	width: 20px;
	height: 20px;
	position: relative;
	top: 3px;
}

input[type=submit], input[type=button], input[type=reset], .button, button {
	font-family: inherit;

	cursor: pointer;
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	display: inline-block;
	background-color: #f27132;
	color: white;
	width: auto;
	border: none;

	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 5px;
	font-size: 11pt;
	font-weight: 400;

	box-shadow: inset 0 0 8px rgba(30,30,30,0.4);

	color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.button-small {
	font-family: inherit;

	cursor: pointer;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	display: inline-block;

	width: auto;
	border: none;

	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 5px;
	font-size: 12pt;
	font-weight: 400;

	box-shadow: inset 0 0 5px rgba(30,30,30,0.4);
}

input[type=submit] {
	background-image: url('../images/check-32.png');
	background-repeat: no-repeat;
	background-position: 5px 7px;
    padding-left: 40px;
    background-size: 24px 24px;
}

.fltR input[type=submit], .fltR input[type=button], .fltR input[type=reset], button {
	margin-left: 10px;
}

input[type=submit]:hover, input[type=button]:hover, button:hover, input[type=reset]:hover, .button:hover, .button-small:hover {
	background-color: #8FE985;
	color: #202020;
}

.message {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px;
	display: none;
	font-weight: 300;
}

.msg-success, .msg-fail {
	padding: 10px;
	margin: 10px;
	margin-left: 0;
	margin-right: 0;
	text-align: center;
	font-size: 14pt;
	border-radius: 4px;
}

.msg-success {
	background-color: #ccffcc;
	color: #009900;
}

.msg-fail {
	background-color: #ffcccc;
	color: #990000;
}

.msg-working {
	background-color: #FFE5CC;
	color: #cc6600;
}

.overflow-x {
	overflow-x: auto;
}

footer {
	text-align: center;
}

.flex {
	display: flex!important;
	flex-wrap: wrap;
}

.flex * {
	margin: 0;
	margin-right: 5px;
	margin-left: 5px;
}

.flex-row {
	flex-direction: row;
}

.align-items-center {
	align-items: center;
}

.justify-content-between {
	justify-content: space-between;
}