/* Simulator CSS */
/* Version 3.0.37 */

/* =============================== */
/* ========== VARIABLES ========== */
/* =============================== */

:root {
	--button-enabled-background-image: linear-gradient(180deg, #00AEFF 0%, #0076FF 100%);
	--button-enabled-box-shadow: 0 3px 5px -1px rgba(0,138,255,0.60);
	--button-disabled-background-image: linear-gradient(180deg, #D4D4D4 0%, #828282 100%);
	--button-disabled-box-shadow: 0 3px 5px -1px #BDBDBD;
	--main-border-radius-canvas-box: 4px;
	--main-background-box: #FFF;
	--main-max-width-box: 1366px;
	--logo-area-height: 60px;
	--main-button-color: #0069d9;	/* #3D6FE4 */
	--main-background-color-body: #fff;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

/* ========================== */
/* ========== TAGS ========== */
/* ========================== */

body {
	/*position: absolute;*/
	/*height: 100%;*/
	/*width: 100%;*/
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	color: #000 !important;
	font-weight: 400 !important;
	line-height: 135%;
	text-rendering: optimizeLegibility;
}

body > p:nth-child(1) {	margin: 0 0 0 0 !important;	}	/* Workaround to handle p tags set by bootstrap link css */

*, ::after, ::before {
    box-sizing: border-box;
}

.h1,h1 {
    font-size: 2.5rem
}

.h2,h2 {
    font-size: 2rem
}

.h3,h3 {
    font-size: 1.75rem
}

.h4,h4 {
    font-size: 1.5rem
}

.h5,h5 {
    font-size: 1.25rem
}

.h6,h6 {
    font-size: 1rem
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
}

p {
	line-height: 1.7 !important;
	font-weight: 300 !important;
}

a:link { text-decoration: none !important; }	/* Applies to all visited links */
a:hover { text-decoration: none !important;	}	/* Applies to all visited links */

details summary {
    color: var(--main-button-color);
    cursor: pointer;
}

ul { margin-left: 0px; }
ol { margin-left: 0px; }

button, input {
    overflow: visible;
}

select {
    word-wrap: normal;
}

button, select {
    text-transform: none;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

textarea {
    color: #000;
    resize: vertical;
}

textarea:not([name="broadcast-message"]):not([name="remark"]):not(.discovery-plans) {
	border: none !important;
	overflow: auto;
	outline: none !important;
	padding-left: 10px;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	width: 100%;
}
textarea[name="broadcast-message"], textarea[name="remark"] {
	overflow: auto;
	outline: none !important;
	-moz-box-shadow: none;
	box-shadow: none;
}
textarea.textarea-readonly {
	background: #f5f5f5;
	color: #000;
	cursor: default;
}

/* ============================================= */
/* ========== TEXT COLORS (BOOTSTRAP) ========== */
/* ============================================= */

.text-primary {
    color: var(--primary);
}
.text-secondary {
    color: var(--secondary);
}
.text-success {
    color: var(--success);
}
.text-info {
    color: var(--info);
}
.text-warning {
    color: var(--warning);
}
.text-danger {
    color: var(--danger);
}

/* ================================ */
/* ========== CONTAINERS ========== */
/* ================================ */

#main {
	position: relative;
	margin-top: 40px;
	padding: 20px 40px 40px 40px;
	margin-right: 40px;
	transition: margin-right 0.5s;
	height: calc(100vh - 80px);
	z-index: 1;
}
#main-no-menu {
	position: relative;
	margin-top: 40px;
	padding: 20px 40px 40px 40px;
	height: calc(100vh - 80px);
	z-index: 1;
}
.main-content-outer {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* =================================== */
/* ========== MISCELLANEOUS ========== */
/* =================================== */

.clickable { cursor: pointer; }
.capitalize-first { text-transform: lowercase; }
.capitalize-first:first-letter { text-transform: uppercase; }
.capitalize-all { text-transform: uppercase; }
.link-text {
	color: var(--main-button-color);
	cursor: pointer;
}

.line-clamp1 {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}	

/* Cut text after two lines and add dots */
.line-clamp2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
	pointer-events: none;
}

/* ============================= */
/* ========== TOP BAR ========== */
/* ============================= */

#topBar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background-color: #111;
	color: #fff;
	/*padding: 8px;*/
	z-index: 2;
}

.topbar-grid {
	display: grid;
	grid-template-columns: 40px 1fr 1fr 1fr 1fr 1fr 40px;
	grid-template-rows: 40px;
	grid-gap: 0px;
}
.topbar-grid > div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

#topBarArea4 {
	text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    #topBarArea2, #topBarArea3, #topBarArea5, #topBarArea6 {
        display: none;
    }
 
    .topbar-grid {
        grid-template-columns: 40px 1fr 40px;
    }
}
	
.topbar-label {
	font-size: 60%;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	line-height: 1;
	text-align: center;
}
.topbar-content {
	letter-spacing: 0.1em;
	line-height: 1.1;
	font-family: 'Roboto Mono';
	text-align: center;
}
/* Logout icon */
.topbar-logout-container {
    position: relative;
}

/* ============================== */
/* ========== SIDE BAR ========== */
/* ============================== */

.sidebar {
    position: fixed;
    top: 40px;
    right: 40px;
    height: calc(100vh - 40px);
    width: calc(100% - 40px);
    z-index: 10;
    background: #fff;
    overflow: hidden;
    transition: transform 0.5s ease;
    padding: 20px;
    border-left: 1px solid #000;
    transform: translateX(100%);
    
}

/* Sidebar Open State */
.sidebar.open {
    transform: translateX(0); /* Slide into view */
}

.sidebar-content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.sidebar .closebtn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    color: #111;
    z-index: 100;
    cursor: pointer;
}

.step-header {
	font-size: 70%;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #797979;
}
.sidebar-title {
	font-size: 24px;
	padding: 20px 0;
}

/*==========================*/
/*========== MENU ==========*/
/*==========================*/

/* Slide menu bar in and out */
.menubar {
	height: calc( 100vh - 40px);
	width: 40px;
	position: fixed;
	z-index: 20;
	top: 40px;
	right: 0;
	background-color: #111;
	transition: 0.5s;
	overflow-x: hidden;
	display: none;
}
.menubar a {
	text-decoration: none;
	font-size: 16px;
	color: #818181;
	display: block;
}
.menubar a:hover {
	color: #f1f1f1;
}
#main .menubar {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 16px;
	margin-left: 50px;
}

/* Menu button */
.grid-menu-button {
	display: grid;
	grid-template-columns: 40px 1fr;
	grid-row-gap: 5px;
}

.grid-menu-button:hover {
	background: grey;
	color: #000;
}

.menu-btn, .info-btn, .menu-outline, .menu-settings, .menu-results, .menu-statistics, .menu-league {
	cursor: pointer;
	margin: 5px 0 5px 0;
	color: #fff;
}

.button-icon-container {
	position: relative;
	padding: 10px;
}

.button-badge {
	background-color: #fa3e3e;
	border-radius: 50%;
	color: white;
	padding: 1px 1px;
	width: 8px;
	height: 8px;
	position: absolute;
	top: 8px;
	right: 8px;
}
.button-badge-obj {
	background-color: #609EE7;
	border-radius: 50%;
	color: white;
	padding: 1px 1px;
	width: 8px;
	height: 8px;
	position: absolute;
	top: 8px;
	right: 8px;
}
.menu-icons,
.icon-text {
	vertical-align: middle;
}
.menu-icons {
	text-align: center;
	margin: auto;
}
.menu-text {
	margin-top: auto;
	margin-bottom: auto;
	padding: 0 10px 0 10px;
	white-space: nowrap;
}

/* Menu button separator */
.menu-separator {
	padding: 20px 0 0 10px;
	font-size: 90%;
	letter-spacing: .1rem;
}
.menu-separator-text { color: #b4b4b4; }

/* ============================= */
/* ========== BUTTONS ========== */
/* ============================= */

/* Bootstrap button */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62
}

.btn-secondary.focus,.btn-secondary:focus {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
    box-shadow: 0 0 0 .2rem rgba(130,138,145,.5)
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130
}

.btn-danger.focus,.btn-danger:focus {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
    box-shadow: 0 0 0 .2rem rgba(225,83,97,.5)
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34
}

.btn-success.focus,.btn-success:focus {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
    box-shadow: 0 0 0 .2rem rgba(72,180,97,.5)
}

/* Standard button */
.std-btn {
	border-radius: 4px;
	display: inline-block;
	color: #fff;
	font-family: Arial;
	padding: 5px 20px 5px 20px;
	text-decoration: none;
	border: 0px;
	text-align: center;
}
.std-btn-enabled {
	background-image: var(--button-enabled-background-image) !important;
	cursor: pointer;
}
.std-btn-disabled {
	background-image: var(--button-disabled-background-image) !important;
}
.std-btn-enabled:hover {
	transform: scale(1.05);
}
.std-btn-enabled:active {
	position:relative;
	top:1px;
}

/* Round proceed button */
.proceed-button {
	width: 60px;
	height: 60px;
	transition: all 0.1s ease-in-out;
	border-radius: 50%;
	color: white;
	text-align: center;
	position: fixed;
	right: 60px;
	bottom: 20px;
	padding: 10px;
	z-index: 5;
	font-size: 40px;
}
.proceed-button-enabled {
	background-image: var(--button-enabled-background-image) !important;
	cursor: pointer;
}
.proceed-button-disabled {
	background-image: var(--button-disabled-background-image) !important;
}
.proceed-button-enabled:hover {
	transform: scale(1.05);
}

/* Round back button */
.back-button {
	width: 60px;
	height: 60px;
	transition: all 0.1s ease-in-out;
	border-radius: 50%;
	color: white;
	text-align: center;
	position: fixed;
	left: 20px;
	bottom: 20px;
	padding: 10px;
	z-index: 20;
	font-size: 40px;
}
.back-button-enabled {
	background-image: var(--button-enabled-background-image) !important;
	cursor: pointer;
}
.back-button-disabled {
	background-image: var(--button-disabled-background-image) !important;
}
.back-button-enabled:hover {
	transform: scale(1.05);
}

/* Countup or down box */
.timer-color-yellow {
	background-color: #f8dd5d;
	color: black;
}
.timer-color-red {
	background-color: #db605d;
	color: white;
}

/* Show tooltip on action button when disabled */
#btn_proceed_tool_tip {
	visibility:hidden;
	color: white;
	right: 60px;
	bottom: 90px;
	position: fixed;
	z-index: 20;
	width: 250px;
	background-color: black;
	color: #fff;
	border-radius: 6px;
	padding: 10px 10px;
}
#btn_proceed_tool_tip::after {
	content: " ";
	position: absolute;
	top: 100%; /* At the bottom of the tooltip */
	right: 25px;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: black transparent transparent transparent;
}
.proceed-button-disabled:hover + #btn_proceed_tool_tip {
    visibility: visible;
}

/* ============================ */
/* ========== MODALS ========== */
/* ============================ */

/* Modal Background */
.simulator-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
    outline: 0;
}

/* Modal Dialog */
.simulator-modal-dialog {
    position: relative;
    width: 50%;
    max-width: 800px;
    min-width: 540px;
    margin: 10% auto;
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 3rem auto;   
}

/* Modal Content */
.simulator-modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

/* Modal Header */
.simulator-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    background: #fff;
    border-bottom: 0px solid #fff;
}

.simulator-modal-title {
    text-transform: uppercase; 
    margin: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500; 
}

/* Close Button */
.simulator-modal-close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}

/* Modal Body */
.simulator-modal-body {
    padding: 2em 2em;
}

/* Modal Footer */
.simulator-modal-footer {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 0px solid #fff;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
    margin: .25rem;
    padding: 2em 3em;
}

/* Animation for opening */
.simulator-modal.simulator-show {
    opacity: 1;
    visibility: visible;
}

/* ================================= */
/* ========== INSTRUCTION ========== */
/* ================================= */

.grid-instruction {
	display: grid;
	grid-template-columns: 20px 1fr 20px;
	grid-gap: 10px;
	grid-template-rows: 20px minmax(0, auto);
	padding: 20px;
	border-radius: 4px;
	background-color: #ffff99;
	border-left: 20px solid red;
	grid-template-areas:
		"instr-icon instr-title instr-close"
		"instr-text instr-text instr-text"
}
.instr-icon {
	grid-area: instr-icon;
	font-size: 20px;
}
.instr-title {
	grid-area: instr-title;
	text-transform: uppercase;
}
.instr-close { grid-area: instr-close; }
.instr-text { grid-area: instr-text; }

/* ================================ */
/* ========== HELP / FAQ ========== */
/* ================================ */

/* START accordion for faq */
.accordion {
	background-color: #eee;
	color: #444;
	cursor: pointer;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	transition: 0.4s;
}
.active, .accordion:hover {
	background-color: #ccc;
}
.accordion:after {
	content: '\002B';
	color: #777;
	font-weight: bold;
	float: right;
	margin-left: 5px;
}
.active:after {
	content: "\2212";
}
.panel {
	padding: 2px 18px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

/* =========================================== */
/* ========== FORM AND INPUT FIELDS ========== */
/* =========================================== */

.case-field {
	border-radius: 2px;
	border: 1px solid #c5c5c5;
}
.case-field-readonly {
	border-radius: 2px;
	border: 1px solid #c5c5c5;
	background-color: #f5f5f5;
	cursor: default;
}
.case-field-no-border {
	border-radius: 2px;
	border: 1px solid #fff;
}
.case-label {
	font-size: 70%;
	width: auto;
	margin: 0 0 0 1em;
	padding: 0 2px;
	color: #6F6F6F;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.case-edit {
	padding: 10px;
	min-height: 24px;
	cursor: text;
}
.case-edit-disabled {
	padding: 10px;
	min-height: 24px;
}
.case-edit:focus {
	outline: none !important;
	/*border-color: #fff !important;*/
}
.case-item-clickable {
	padding: 12px 10px 8px 10px;
	min-height: 44px;
	cursor: pointer;
}
.case-item {
	padding: 12px 10px 8px 10px;
	min-height: 44px;
}
.case-item-clickable:hover { outline: none !important; }
.case-field-not-editable {	background: #F5F5F5; }

/* ======================================= */
/* ========== EXERCISE COMPLETE ========== */
/* ======================================= */

.grid-complete {
	display: grid;
	grid-gap: 4em;
	grid-template-columns: minmax(400px, 600px);
	grid-template-rows: 300px minmax(60px, auto);
	justify-items: center;
	align-items: center;
}
.complete-box-style {
	padding: 2em;
	background: var(--main-background-box);
	border-radius: var(--main-border-radius-canvas-box);
}

/* =========================== */
/* ========== VIDEO ========== */
/* =========================== */

.video-container {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #fff;
    width: 100%;
}

.video-container video {
    position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    border: 0;
}

/* ================================= */
/* ========== INFO SOURCE ========== */
/* ================================= */

.simulator-info-source {
	position: absolute;
	top: 0;
	left: -9999px; /* Offscreen */
	width: 100%;
	opacity: 0;
	transition: opacity 0.5s ease, right 0.5s ease;
    padding: 40px 40px 0 40px;
    background: #fff;
    overflow-y: auto;
    height: 100%;
}

.simulator-info-source.active {
	left: 0; /* Bring back to view */
	opacity: 1;
}

.simulator-info-source.active::after {
    content: ""; /* Remove unwanted content */
    display: none; /* Ensure the pseudo-element is hidden */
}

/* ================================================== */
/* ========== ALERT / DIALOG / CONFIRM BOX ========== */
/* ================================================== */

/* Overlay background */
.simulator-confirm-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1100;
}

/* Dialog box */
.simulator-confirm-box {
	background: white;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
	/*font-family: "Segoe UI", Arial, Helvetica, sans-serif;*/
}

/* Column class sizes */
.simulator-confirm-box.small {
	width: 300px;
}

.simulator-confirm-box.medium {
	width: 500px;
}

.simulator-confirm-box.large {
	width: 700px;
}

/* Title */
.simulator-confirm-title {
	font-size: 22px;
	margin-bottom: 10px;
}

/* Content */
.simulator-confirm-content {
	font-size: 14px;
	margin-bottom: 20px;
}

/* Close icon */
.simulator-confirm-close-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 18px;
	font-weight: bold;
	color: #333;
	cursor: pointer;
}

/* Top border for dialog types */
.simulator-confirm-box[data-type="success"],
.simulator-confirm-box[data-type="green"] {
	border-top: 10px solid #4caf50;
}

.simulator-confirm-box[data-type="error"],
.simulator-confirm-box[data-type="red"] {
	border-top: 10px solid #f44336;
}

.simulator-confirm-box[data-type="warning"],
.simulator-confirm-box[data-type="orange"],
.simulator-confirm-box[data-type="yellow"] {
	border-top: 10px solid #ff9800;
}

.simulator-confirm-box[data-type="info"],
.simulator-confirm-box[data-type="blue"] {
	border-top: 10px solid #2196f3;
}

/* Buttons */
.simulator-confirm-box .confirm-buttons {
	display: flex;
	justify-content: right;
	flex-wrap: wrap;
}

.simulator-confirm-box .confirm-btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	margin: 5px;
}

/* Button classes */
.simulator-confirm-box .btn-default {
	background-color: #ddd;
	color: #333;
	text-transform: uppercase;
	font-weight: bold;
}

.simulator-confirm-box .btn-blue {
	background-color: #3498db;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
}

/* ============================================== */
/* ========== FORMS BASED ON BOOTSTRAP ========== */
/* ============================================== */

.form-row>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.col-6, .col-12 {
    position: relative;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media (min-width: 576px)
.mr-sm-2 {
    margin-right: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.input-group-prepend {
    display: flex;
    margin-right: -1px;
}

.input-group>.input-group-prepend>.input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-group>.form-control {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    margin-bottom: 0;
}

.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

input[type=date].form-control {
    appearance: none;
}

textarea.form-control {
    height: auto;
}