html, body {
	font-size: 11pt;
	background: #ffffff;
}

body.external {
	background: #e0e0e0;
	padding-bottom: 16px;
}

body.iframe {
	margin: 10px;
}

body.Admin {
}

body.Admin.login, body.Admin.forgot, body.Admin.reset {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background-color: #f5f5f5;
}

.Admin .form-login {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

#menu-sidebar {
	background: #00589B;
	color: white;
}
#menu-sidebar .active {
	background: #43B3E6;
}
#menu-sidebar h1 {
	font-size: 18pt;
	color: white;
}

#content {
	flex-grow: 1;
}

#content h1 {
	font-size: 24pt;
	color: #00589B;
}

#content h3 {
	font-size: 18pt;
	font-weight: bold;

}

#right-sidebar {
	background: #e0e0e0;
}

#right-sidebar-inner {
	width: 100%;
}

.quick_reports {
	display: flex;
	flex-direction: row;
        gap: 5px;
}
.quick_reports > * {
	flex-grow: 1;
}

@media (min-width: 1200px) {
	#menu-sidebar, #right-sidebar, #right-sidebar-inner {
		width: 240px;
                min-width: 240px;
	}
        #right-sidebar-inner {
            top: 0;
            position: sticky;
        }
        .quick_reports {
		flex-direction: column;
	}
}

.table thead th {
	vertical-align: middle;
}

.edit-box, .table-box {
    min-height: 50px;
}

.delete-exhibitor-contact, .delete-exhibitor-user, .delete-exhibitor-note {
	cursor: pointer;
}

a.email-link:before, a.phone-link:before, a.file-link:before, a.external-link:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    display: inline-block;
    width: 1.5em;
    text-align: center;
    padding-right: 3pt;
}
a.email-link:before {
    content: '\f0e0';
}
a.phone-link:before {
    content: '\f095';
}
a.file-link:before {
    content: '\f15c';
}
a.external-link:before {
    content: '\f35d';
}

.placeholder-row {
    background: #eeeeff !important;
}

#dummyform, #dummyform2, #dummyform3, #dummyform4 {
    display: none;
}

#layout-viewport {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 75vh;
    border: solid black 2px;
    overflow: hidden;
    background: #d0d0d0;
}

#layout-viewport-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 5px;
}

#map {
    position: absolute;
    background-size: cover;
    cursor: grab;
}

#map .layout-element {
    box-sizing: content-box;
    position: absolute;
    cursor: pointer;
}

#map .layout-booth, #map .layout-block, #map .layout-label {
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
}

#map .layout-inner {
    width: 100%;
    height: 100%;
}

#map .layout-booth, #map .layout-block {
    border-width: 2px;
    border-style: solid;
}

body.Admin #map .layout-label {
    border: 1px dashed #000000;
}

#map .layout-selected {
    box-shadow: 0px 0px 3px 3px #ffff00;
}

#map .layout-text {
    width: 100%;
    padding: 2px;
}

#layout-legend .layout-legend-entry {
    display: inline-block;
    font-size: 10px;
    font-weight: bold;
    margin: 5px 0;
    padding: 2px;
    border-style: solid;
    border-width: 2px;
}

.ui-resizable-se {
    width: 12px;
    height: 12px;
    max-width: 30%;
    max-height: 30%;
    aspect-ratio: 1 / 1;
    background-image: linear-gradient(135deg, transparent 0%, transparent 50%, black 50%, black 100%);
    opacity: 0.5;
}

#layout-snapshot {
    display: none;
}

#snapshot-frame {
    position: absolute;
    border: dashed 2px orange;
    background: rgba(255, 255, 0, 0.5);
}

.select2-container--default .select2-selection--single {
    border-color: #ced4da;
    padding: 0.375rem;
    height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}
