:root {
  --space: 2rem;
  --space-xs: calc(var(--space) / 3);
  --space-sm: calc(var(--space) / 2);
  --space-md: calc(var(--space) * 2);

  --color-primary: lightgray;
  --color-accent: whitesmoke;
  --color-dark: black;
  --color-mid: gray;
  --color-light: white;
  --color-highlight: dodgerblue;

  --radius: 0.125rem;
}
.sidebar {
  --offset: var(--space);
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-preferred-size: 300px;
  flex-basis: 300px;
  -ms-flex-item-align: start;
  -ms-grid-row-align: start;
  align-self: start;
  position: sticky;
  top: 0;
  background: white;
}
.component .header {
  background-color: #eb4923 !important;
  padding: 10px;
  text-align: center;
  color: #fff !important;
  font-weight: 700;
}
.button_prompt {
  display: none;
}
.fixed-event-data {
  display: block;
  width: 300px;
  min-height: 500px;
  background-color: #fafafa;
  position: fixed;
  left: 0;
  padding: 0px;
  top: 200px;
}
.fixed-event-data .header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  background-color: #eee;
  width: 100%;
  text-align: center;
  color: #06A22F;
  font-weight: 700;
}
.fixed-event-data .content p {
  font-size: 14px;
}
.no_event {
  text-align: center;
  width: 100%;
  display: block;
  padding: 10px !important;
  background-color: #dbd4d4;
}

.event-flex-4 .content {
  height: auto;
  overflow-y: scroll;
  max-height: 335px;
  min-height: 335px;
}
.event-flex-4 .content ul {
  padding-left: 0px !important;
}
.fixed-event-data .content {
  position: absolute;
  top: 60px;
  left: 0;
  padding: 10px;
  background-color: transparent;
  width: 100%;
  text-align: left;
}
.close-interest {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 10px;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: var(--color-primary);
  pointer-events: all;
  cursor: pointer;
}
.text-control {
  display: -webkit-box !important;
  /* overflow: hidden; */
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  white-space: break-spaces !important;
}

.eapp-events-calendar-button-component button {
  border-color: rgb(255, 255, 255);
  background-color: #08a130;
  font-size: 13px;
  color: rgb(255, 255, 255);
  border-radius: 4px;
  float: none;
  margin: 0 auto;
  display: block;
  min-width: 200px;
}

.eapp-events-calendar-button-component button.ev_standby {
  border-color: rgb(255, 255, 255);
  background-color: #08a130;
  font-size: 13px;
  color: rgb(255, 255, 255);
  border-radius: 4px;
}

.sub_ev_info .deal_name {
  font-size: 16px;
}
ul.sub_ev_info_list li {
  display: inline-block;
  margin-bottom: 20px;
  white-space: pre-line;
  width: 33%;
}
ul.sub_ev_info_list {
  list-style-type: none;
  word-wrap: break-word;
}



ul.sub_ev_info_list li span > :first-child::before {
  display: inline-block;
  margin-left: -40px;
  min-width: 40px;
  text-align: right;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-right: 10px;
  content: "\2022";
  white-space: pre;
}
.submitted_event_container {
  display: block;
  margin-top: 30px;
  padding: 20px;
  background-color: #fafafa;
}

.fixed-event-data_form {
  position: relative;
  height: auto;
  width:100%;
  min-height: 400px;
}

.fixed-event-data_form form {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.eapp-events-calendar-grid-item-component {
  cursor: unset !important;
}

.submitted-message {
  background-color: red;
  color: #fff;
  padding: 10px;
}

#hsForm_d8ce19fb-8d1c-4adc-9982-9545aeb52605 {
  margin: 30px 0px !important;
  padding: 30px !important;
  background-color: #eee !important;
  border-radius: 3px !important;
}

#hsForm_d8ce19fb-8d1c-4adc-9982-9545aeb52605 .hs-button {
  background-color: #1a1a1a !important;
  border: 1px solid #1a1a1a !important;
  color: #fff !important
}

@media (max-width: 768px) {
  
  .sidebar {
        background-color: rgb(238, 238, 238);
  }

  .fixed-event-data .header {
    position: relative;
  }
  .button_prompt {
    display: block;
  }
  .fixed-event-data {
    position: fixed;
    visibility: visible;
    z-index: 2000000000;
    overflow: hidden auto;
    pointer-events: none;
    inset: 0px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    transition: 0.3s ease all;
    pointer-events: all !important;
  }
  .fixed-event-data_form {
    margin-top: 100px;
    opacity: 1;
    position: relative;
    z-index: 2;
    pointer-events: all;
    -ms-flex-preferred-size: 680px;
    flex-basis: 680px;
    min-width: 0px;
    -ms-flex-item-align: start;
    align-self: flex-start;
    -webkit-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    transition: 0.3s ease all;
    margin-bottom: 100px;
  }
  .component {
    display: block;
    background-color: rgb(255, 255, 255);
    color: rgb(29, 33, 41);
    max-width: 800px;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
  }
  .fixed-event-data .content {
    background-color: transparent;
    padding: 10px;
    position: relative;
    text-align: left;
    width: 100%;
  }
}
.event-flex-1 {
  width: 100% !important;
  position: fixed;
  visibility: visible;
  z-index: 2000000000;
  overflow: hidden auto;
  pointer-events: none;
  inset: 0px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: 0.3s ease all;
  -o-transition: 0.3s ease all;
  transition: 0.3s ease all;
  pointer-events: all !important;
}
.event-flex-2 {
  margin-right: 0px;
  position: relative;
  z-index: 1;
  pointer-events: all;
  inset: 0px;
  opacity: 1;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  -ms-flex-preferred-size: 680px;
  flex-basis: 680px;
  border-radius: 4px;
  background-color: rgba(17,17,17,0.06);
  box-shadow: 3px 7px 20px -6px rgb(0 0 0 / 50%);
}
.event-flex-3 {
  position: relative;
  z-index: 2;
  pointer-events: all;
  min-width: 0px;
  margin-top: 0px;
  opacity: 1;
  -webkit-align-self: flex-start;
  -ms-flex-item-align: start;
  align-self: flex-start;
  margin-bottom: 20px;
}
.event-flex-4 {
  background-color: #fafafa;
  color: rgb(29, 33, 41);
  width: 100%;
  padding: 0px;
  border-radius: 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  font-size: 16px;
  min-height: 400px;
    max-height: 400px;
}

.content p {
  padding: 5px 30px 10px 10px;
  border-bottom: 1px solid #ccc;
  position: relative;
  font-size: 14px !important;
}
.form-after {
  font-size: 12px;
  text-align: center;
  position: relative;
  padding: 15px;
}
.form_unknown form {
  margin-left: 10px !important;
  margin-right: 10px !important;
}  
.form_unknown hs-input:not([type=file]) {
  font-size: 14px!important;
  padding: 2px 5px!important;
  height: 30px!important;
}  
.form_unknown form label {
  font-size: 14px!important;
  margin-bottom: 5px !important;
}  
.event-flex-5 {
  position: relative;
  display: block;

}
.eapp-events-calendar-popup-item-close {
  position: absolute;
  right: 10px;
  top: 10px;
}
.eapp-events-calendar-close-component {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(17,17,17,0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  -webkit-transition: 0.3s ease all;
  -o-transition: 0.3s ease all;
  transition: 0.3s ease all;
  position: relative;
}

.event-flex-2 .hs-submit {
  position: relative;
  width: 100%;
}

.event-flex-2 .hs-button {
  background-color: #eb4923 !important;
  border: 1px solid #eb4923;
  width: 200px;
  border-radius: 4px;
  float: none;
  margin: 0 auto;
  display: block;
  font-size: 14px;
}
.event-flex-2 .hs-button:hover {
  border: 1px solid #eb4923;
}

.eapp-events-calendar-grid-group:first-child {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(150px, 25%) 1fr;
  grid-template-columns: minmax(150px, 25%) 1fr;
}

.right-content {
  overflow-y: scroll !important;
  max-height: 800px;
}
.sub-list-outer {
  width: 100%;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 57px;
  flex: 0 0 57px;
  position: relative;
}

.sub-list-inner {
  width: 100% !important;
  z-index: 999;
}

#myBtn {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
}

#mobile-close {
  border: none;
  -webkit-appearance: none;
}

@media (max-width: 1300px) {
  .eapp-events-calendar-grid-item {
    width: 50%;
  }

}

@media (max-width: 768px) {
  .right-content {
    overflow-y: unset !important;
    max-height: unset !important;
  }
  .sub-list-outer .sidebar .items.list {
    display: none;
  }

  /* 
  .sub-list-outer.mobile-is-visible {
  top: 0;
  right: revert;
  bottom: 0;
  display: flex !important;
  align-items: center;
}

  .sub-list-outer.mobile-is-visible .sidebar .items.list {
  display: block;
} */

  /*   .sub-list-outer.mobile-is-visible #mobile-close {
  display: block;
}
  */


  .eapp-events-calendar-grid-item {
    width: 100% !important;
  }
  .sub-list-outer {
    width: 100%;
    /* order: -1; */
    /* flex: 0 0 57px; */
    position: fixed;
    bottom: -155px;
    z-index: 999999;
    left: 0;
    background-color: rgba(0,0,0,0.5);
  }
  .event-flex-2 { 
    z-index: 9999;
    border-radius: 4px;
    background-color: transparent;
  }
  .event-flex-4 {
    background-color: transparent;
    min-height: auto;
  }
  .component {
    background-color: transparent;
    padding: 20px;
    border-radius: 4px;

  }
  .component .header {
    background-color: #eb4923 !important;
    color: #fff !important;
    z-index: 99999999999999;
    font-size: 16px;
    padding: 20px 10px;
  }

  .sidebar {
    --offset: unset;
    -webkit-box-flex: unset;
    -ms-flex-positive: unset;
    flex-grow: unset;
    -ms-flex-preferred-size: unset;
    flex-basis: unset;
    -ms-flex-item-align: unset;
    -ms-grid-row-align: unset;
    align-self: unset;
    position: unset;
    top: unset;
    background-color: transparent;
  }
  .form_unknown {
    height: 70px;
    visibility: hidden;
  }
  .form_unknown form {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }  
  .event-flex-4 .content {
    max-height: 400px;
    min-height: 0;
    padding-right: 10px;
        box-shadow: 0px -5px 15px -10px black inset;
  }
  
  ul.sub_ev_info_list li {
    width: 100%;
  }

}

.mobile-modal .sub-list-outer {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
}
.mobile-modal .sub-list-inner {
  position: relative;
  height: 100vh;
}
.mobile-modal .sidebar {
  position: absolute;
  top: 10%;
  min-height: 80%;
}
.mobile-modal .event-flex-2 {
  z-index: 9999;
  border-radius: 4px;
  background-color: #eee;
}

.mobile-modal .event-flex-4 {
  min-height: 320px;
  max-height: unset;
}

.mobile-modal .event-flex-4 .content {
  min-height: 400px;
  max-height: unset;
}

#mobile-close {
  display: none;
  position: absolute;
  top: -60px;
  right: 0;
  width: 50px;
  height: 50px;
  /* display: flex; */
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* justify-content: flex-end; */
  padding: 10px;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: #000;
  pointer-events: all;
  cursor: pointer;
  background-color: #eee;
}