
.tradeshow-modal {
  z-index: 10;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255,255,255,0.8);
  display: none;
  justify-content: center;
  align-items: flex-start;
}

#edit-tradeshow-modal-content, #export-tradeshow-modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%), 0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
  border: 1px solid #e8e8e8;
  min-width: 600px;
  max-width: 800px;
  width: 800px;
  margin-top: 100px;
}

#export-tradeshow-modal-content {
  max-width: 900px;
  width: 900px;
}

#edit-tradeshow-modal-header, #export-tradeshow-modal-header {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#edit-tradeshow-modal-close-btn, #export-tradeshow-modal-close-btn{
  cursor: pointer;
}

#edit-tradeshow-modal label, #export-tradeshow-modal label {
  width: 100%;
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 300;
  text-transform: uppercase;
}

#edit-tradeshow-modal input, #edit-tradeshow-modal select, #edit-tradeshow-modal textarea,
#export-tradeshow-modal input, #export-tradeshow-modal select, #export-tradeshow-modal textarea {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
}

#edit-tradeshow-modal .form-item, #export-tradeshow-modal .form-item {
  margin-top: 10px;
}

#edit-tradeshow-modal-footer-buttons, #export-tradeshow-modal-footer-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.tradeshow-modal .two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#edit-tradeshow-modal-companies-search-wrapper {
  display: flex;
}

.edit-tradeshow-modal-footer-btn {
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.2rem 0.75rem;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: background-color 100ms ease-in;
  color: #fff;
  cursor: pointer;
  position: relative;
}

.button-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}

#edit-tradeshow-modal-footer-btns, #export-tradeshow-modal-footer-btns  {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

#edit-tradeshows-back-and-delete-wrapper {
  display: flex;
  gap: 10px;
}

#export-tradeshows-copy-and-export-wrapper {
  display: flex;
  gap: 10px;
}

#edit-tradeshow-modal-delete-btn {
  background-color: #dc3545;
  border-color: #dc3545; 
}

#edit-tradeshow-modal-delete-btn:hover {
  background-color: #c92233;
}

#edit-tradeshow-modal-back-btn, #export-tradeshow-modal-back-btn  {
  background-color: gray;
  border-color: gray; 
}

#edit-tradeshow-modal-back-btn:hover, #export-tradeshow-modal-back-btn:hover {
  background-color: rgb(90, 90, 90);
}

#edit-tradeshow-modal-save-btn {
  background-color: #007bff;
  border-color: #007bff;
}

#edit-tradeshow-modal-save-btn:hover {
  background-color: #3669b3;
}

#export-tradeshow-modal-copy-btn, #export-tradeshow-modal-export-btn {
  background-color: #007bff;
  border-color: #007bff;
}

#export-tradeshow-modal-copy-btn:hover, #export-tradeshow-modal-export-btn:hover {
  background-color: #3669b3;
}


.export-tradeshow-table-single-header:nth-child(1), .export-tradeshow-table-single-cell:nth-child(1) {
  width: 200px;
}

.export-tradeshow-table-single-header:nth-child(2), .export-tradeshow-table-single-cell:nth-child(2) {
  width: calc(100% - 220px);
}


.export-tradeshow-table-single-header:nth-child(3), .export-tradeshow-table-single-cell:nth-child(3) {
  width: 20px;
}






#edit-tradeshow-modal-attending-companies-wrapper {
  min-height: 300px;
  border: 1px solid lightgray;
  margin-top: 10px;

}

#edit-tradeshow-modal-attending-companies {
  width: 100%;
  
  padding: 4px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 6px;
}

#edit-tradeshow-modal-attending-companies-remove-all {
  white-space: nowrap;
  display: flex;
  align-items: center;
  margin-left: 10px;
  border: 2px solid;
  background-color: gray;
}

#edit-tradeshow-modal-attending-companies-remove-all:hover {
  background-color: rgb(90, 90, 90);
}

.edit-tradeshow-modal-attending-company-chip {
  padding: 8px 10px;
  background-color: #f6f6f6;
  font-size: 12px;
  line-height: 12px;
  position: relative;
  padding-right: 18px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  box-shadow: 0px 0px 1px 1px rgb(0 0 0 / 20%), 0px 1px 4px 0px rgb(0 0 0 / 0%), 0px 1px 8px 0px rgb(0 0 0 / 0%);
}

.remove-attending-company-btn {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.remove-attending-company-btn:hover {
  opacity: 0.7;
}

/* search bar autocomplete */
.autocomplete {
  position: relative;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}
.search-option:hover {
  background-color: rgb(245, 245, 245)
}

#edit-tradeshow-modal-companies-search {
  padding-left: 30px !important;
  min-width: 300px;
}

#add-tradeshow-btn {
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  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: 14px;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: background-color 100ms ease-in;
  color: #fff;
  cursor: pointer;
  position: relative;
  background-color: #007bff;
  border-color: #007bff;
  margin-right: 10px;
  display: inline-block;
}

#add-tradeshow-btn:hover {
  background-color: #3669b3;
}


#tradeshow-table-wrapper {
  margin-top: 10px;
  min-width: 1000px;
}

.tradeshow-table-header {
  display: flex;
  background-color: #EDEEF4;
  border-radius: 4px;
  border: 1px solid #F3F3F3;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.tradeshow-table-row, .export-tradeshow-table-row {
  display: flex;
  align-items: center;
  margin-top: 1px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #F3F3F3;
  box-sizing: border-box;
  padding: 0 10px;

}

#tradeshow-table-no-data, #export-tradeshow-table-no-data {
  padding: 10px;
  margin-top: 1px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #F3F3F3;
  box-sizing: border-box;
  font-size: 13px;
  color: gray;
}


.tradeshow-table-tools-cell {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tradeshow-table-single-header, .export-tradeshow-table-single-header, .add-tradeshow-table-single-header {
  padding: 10px 6px;
  box-sizing: border-box;
  font-weight: bold;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 12px;
  position: relative;
  padding-right: 24px;
  display: flex;
  align-items: center;
  line-height: 13px;
  /* border-right: 1px solid white; */
}

.tradeshow-table-single-header:last-of-type {
  border-right: 0;
}

.tradeshow-table-single-cell,  .export-tradeshow-table-single-cell, .add-tradeshow-table-single-cell{
  padding: 10px 6px;
  box-sizing: border-box;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 13px;
  border-right: 1px solid lightgray;
}

.add-tradeshow-table-single-cell input, .add-tradeshow-table-single-cell select {
  padding: 4px 6px !important;
}

.tradeshow-table-single-cell:last-of-type, .export-tradeshow-table-single-cell:last-of-type {
   border-right: 0;
}

.tradeshow-table-single-cell a {
  text-decoration: none;
  border-bottom: 0;
  cursor: pointer;
  color: var(--main-color-192342);
  font-weight: bold;
  
}


.tradeshow-table-single-cell a:hover {
  text-decoration: underline;
}

.tradeshow-table-single-header:nth-child(1), .tradeshow-table-single-cell:nth-child(1) {
  width: 80px;
}
.tradeshow-table-single-header:nth-child(2), .tradeshow-table-single-cell:nth-child(2) {
  width: 90px;
}
.tradeshow-table-single-header:nth-child(3), .tradeshow-table-single-cell:nth-child(3) {
  width: 90px;
}

.tradeshow-table-single-header:nth-child(4), .tradeshow-table-single-cell:nth-child(4) {
  width: 200px;
}
.tradeshow-table-single-header:nth-child(5), .tradeshow-table-single-cell:nth-child(5) {
  width: calc(100% - 460px);
}

#tradeshow-table-company-names-cell {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tradeshows-table-company-chip {
  border-radius: 1000px;
  background-color: #EDEEF4;
  padding: 4px 12px;
  white-space: nowrap;
}


.add-tradeshow-table-single-header:nth-child(1), .add-tradeshow-table-single-cell:nth-child(1) {
  width: 40px;
}
.add-tradeshow-table-single-header:nth-child(2), .add-tradeshow-table-single-cell:nth-child(2) {
  width: 240px;
}

.add-tradeshow-table-single-header:nth-child(3), .add-tradeshow-table-single-cell:nth-child(3) {
  width: 100px;
}
.add-tradeshow-table-single-header:nth-child(4), .add-tradeshow-table-single-cell:nth-child(4) {
  width: calc((100% - 370px) / 2);
}
.add-tradeshow-table-single-header:nth-child(5), .add-tradeshow-table-single-cell:nth-child(5) {
  width: calc((100% - 370px) / 2);
}

#add-tradeshow-table-wrapper.disabled {
  opacity: 0.4;
  pointer-events: none;
}

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

#add-tradeshow-table-body, #export-tradeshow-table-body {
  max-height: 46vh;
  overflow: auto;
  border-bottom: 1px solid #edeef4;
}

.radio-group-wrapper > div {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.radio-group-wrapper > div:last-of-type {
  margin-bottom: 0;
}

.radio-group-wrapper label {
  width: unset !important;
  display: inline-block !important;
}

.radio-group-wrapper input {
  margin-left: unset !important;
  margin-right: 6px !important;
  width: unset !important;
  padding: unset !important;
}

.radio-group-wrapper input[type="color"] {
  width: 30px !important;
}

.form-item.extender-section {
  margin-top: -2px !important;
}

.radio-group-wrapper legend {
  font-size: 12px;
  color: #727272;
  text-transform: uppercase;
  font-weight: 700;
}

.form-item.extender-section fieldset {
  border-top-color: white;
}

.radio-group-wrapper h4 {
  margin-top: 0;
  margin-bottom: 6px;
  color: #727272;
  text-transform: uppercase;
  font-size: 12px;
}

#tradeshow-setup-form-stage-2 {
  max-height: 75vh;
  overflow: auto;
}

.priority-client-chip {
  background-color: lightgray;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 1000px;
}

#tradeshow-news-priority-company-list-wrapper {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.priority-client-chip-x-btn {
  cursor: pointer;
  margin-left: 4px;
  opacity: 0.6;
}

.priority-client-chip-x-btn:hover {
  opacity: 1;
}

#news-priority-companies-searchautocomplete-list,
#projects-priority-companies-searchautocomplete-list,
#edit-tradeshow-modal-companies-searchautocomplete-list {
  border-top: 1px solid lightgray;
  box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%), 0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
  max-height: 200px;
  overflow-y: auto;
  max-width: 500px;
}

#news-priority-companies-searchautocomplete-list > div,
#projects-priority-companies-searchautocomplete-list > div,
#edit-tradeshow-modal-companies-searchautocomplete-list > div {
  padding: 6px 10px;
}

#news-priority-companies-searchautocomplete-list::-webkit-scrollbar,
#projects-priority-companies-searchautocomplete-list::-webkit-scrollbar, 
#edit-tradeshow-modal-companies-searchautocomplete-list::-webkit-scrollbar 
{
  width: 10px;
}

#news-priority-companies-searchautocomplete-list::-webkit-scrollbar-track,
#projects-priority-companies-searchautocomplete-list::-webkit-scrollbar-track, 
#edit-tradeshow-modal-companies-searchautocomplete-list::-webkit-scrollbar-track 
{
  background: #f1f1f1;
}

#news-priority-companies-searchautocomplete-list::-webkit-scrollbar-thumb,
#projects-priority-companies-searchautocomplete-list::-webkit-scrollbar-thumb,
#edit-tradeshow-modal-companies-searchautocomplete-list::-webkit-scrollbar-thumb
 {
  background: #888;
}

#news-priority-companies-searchautocomplete-list::-webkit-scrollbar-thumb:hover,
#projects-priority-companies-searchautocomplete-list::-webkit-scrollbar-thumb:hover,
#edit-tradeshow-modal-companies-searchautocomplete-list::-webkit-scrollbar-thumb:hover
 {
  background: #555;
}

#tradeshow-map-wrapper {
  width: 100%;
  height: 600px;
  position: relative;
  border: 1px solid lightgray;
  box-sizing: border-box;
}

#tradeshow-map-bounds-map {
  width: 100%;
  height: 100%;
}

.radio-group-wrapper label {
  text-transform: unset !important;
}

#tradeshow-branding-image-preview-wrapper {
  position: relative;
  display: block;
}

#tradeshow-branding-image-preview {
  width: 300px;
  border: 1px solid lightgray;
}

#tradeshow-branding-image-reset {
  font-size: 12px;
  padding: 4px 8px;
  background-color: gray;
  color: white;
  cursor: pointer;
  width: max-content;
}