.__button {
  border-radius: $border-radius;
  cursor: pointer;
  display: inline-block;
  padding: 0.5rem 1rem;
  text-align: center;
}
.__button:hover {
  background-color: rgba(222, 222, 222, 0.25);
}
.__button.--block {
  display: block;
}
.__button.--link {
  background-color: unset;
  padding: 0;
}
.__button.--link:hover div {
  text-decoration: underline;
}

.__container {
  width: 100%;
}

.__flex {
  display: flex;
  flex-direction: column;
}
.__flex.--flex-col {
  flex-direction: column;
}
.__flex.--flex-end {
  justify-content: end;
}
.__flex.--flex-row {
  flex-direction: row;
}
.__flex.--flex-space-between {
  justify-content: space-between;
}
.__flex .--flex-01 {
  flex: 0.1;
}
.__flex .--flex-05 {
  flex: 0.5;
}
.__flex .--flex-1 {
  flex: 1;
}
.__flex .--flex-2 {
  flex: 2;
}
.__flex .--flex-3 {
  flex: 3;
}
.__flex .--flex-9 {
  flex: 9;
}


.sidebar {
  width: 200px;
}

.spinner {
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  overflow: auto;
  position: absolute;
  height: 100%;
  z-index: 9999;
  text-align: center;
  background-image: url(../img/spinner.gif);
  background-repeat: no-repeat;
  background-position: center 220px;
  background-color: rgba(255, 255, 255, 0.8);
}

.tui-full-calendar-time-schedule-content {
  padding: 0 !important;
  border-left: 0px !important;
}
.tui-full-calendar-time-schedule-content .q-congress__body {
  height: 100% !important;
}
.q-calendar-tool-picker__input {
  font-size: 1em;
  width: 7em;
}
.q-calendar-tool-picker__navigation:hover, .q-calendar-tool-picker__navigation:focus {
  text-decoration: none;
}

.q-grid-body-row-cell {
  border: 0;
  width: unset;
}
.q-grid-body-row-cell-text {
  padding: 0;
}


/* q-calendar */
.schedule-detail-header__label,
.schedule-detail-body__label,
.schedule-detail-footer__label {
	font-weight: bold;
}

.schedule-detail-header .round-btn {
	border-radius: 20px;
	display: inline-block;
	padding: 5px 20px;
}
.schedule-detail-header .login {
  background-color: blue;
	border-radius: 20px;
  color: #fff;
  cursor: pointer;
	display: inline-block;
	padding: 5px 20px;
}
.schedule-detail-header .login a {
  color: #fff;
  text-decoration: none;
}
.schedule-detail-header .login a:hover {
  color: #eee;
  text-decoration: underline;
}
.schedule-detail-header .reload {
  cursor: pointer;
  text-decoration: underline;
}
.schedule-detail-header .theme {
	font-weight: bold;
	font-size: 1.4em;
	padding: 1em 0;
}
.schedule-detail-header .synopsis {
  padding: 0 0 1em 0;
}

.schedule-detail-body {
  padding: 1em 0;
}
.schedule-detail-footer {
  padding: 1em 0;
}

.q-grid.chairs {
	border: 0;
	justify-content: start;
}
.q-grid-body.chair {
	border-radius: 20px;
	border: 1px solid #000;
	box-shadow: none;
	display: inline-block;
	padding: 5px 20px;
	width: unset;
}

.q-grid.topics {
	border: 0;
	justify-content: start;
}
.q-grid-body.topic {
	border-width: 1px 1px 1px 5px;
	border-color: #000;
	box-shadow: none;
	display: inline-block;
	margin: 4px;
	padding: 5px 20px;
	width: 48%;
}
.topic-name {
	font-weight: bold;
}
.topic-speaker {
	font-style: italic;
}
.q-grid-body.topic.no-file > .q-grid-body-row.topic-file {
  display: none;
}

.q-modal__dialog {
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
}
.q-modal-region-tool-video.q-modal-region-tool video {
	width: 70vw;
}
.q-modal-region--footer button {
  flex: 0 0 80%;
}

@media only screen and (max-width: 600px) {
  .q-calendar {
    flex-direction: column;
  }
  .q-grid-body.topic {
	  width: 100%;
  }
  .q-modal-region-tool-video.q-modal-region-tool video {
    width: 90vw;
  }
}

/* session-detail */
.wp-q-congress-program .session-detail .session-detail__row .session-detail__subspecialty {
  color: white;
}
.wp-q-congress-program .session-detail .chairman-list .chairman-list__item {
  background-color: rgba(211, 218, 230, 1);
}
.wp-q-congress-program .session-detail .topic-list {
  background-color: rgba(211, 218, 230, 0.35);
}
.wp-q-congress-program .session-detail .topic-list .topic-item {
  border: 1px solid rgba(119, 151, 209, 1); 
}

/* wp-q-congress-delegate */
.wp-q-congress__delegate .wp-q-congress-dropdown {
  margin: 1rem 0;
}
.wp-q-congress-delegate-session {
	box-shadow: 0px 2px 10px #cecece;
	border-color: #fff;
	border-radius: 0.5rem;
	cursor: pointer;
	padding: 1rem 1.5rem;
	margin-bottom: 1.2rem;
}
.wp-q-congress-delegate .wp-q-congress-delegate-session .session-item__theme {
	font-size: 1.5rem;
	font-weight: bold;
}
.wp-q-congress-delegate .wp-q-congress-delegate-session .wp-q-congress-delegate-session-topic .__topic-title {
	font-size: 1.1rem;
	margin-top: 0.2rem;
	padding-right: 3rem;
}
.wp-q-congress-delegate .wp-q-congress-delegate-session .wp-q-congress-delegate-session-topic .__topic-body {
	font-size: 1.2rem;
	font-weight: bold;
}
/* all add to calendar */
.wp-q-congress-program .wp-q-congress-button-group a {
	border-radius: 0;
	border: 1.5px solid #29447b;
  cursor: pointer;
	margin: 0.6rem 0.5rem 0.5rem 0rem;
  text-decoration: none;
}
.wp-q-congress-program .wp-q-congress-button-group a:hover {
	background-color: #29447b;
  color: #fff;
}

/* wp-q-congress-registration-group -- start */


.wp-q-congress__registration-group {
  .q-list {
    word-break: break-word;
  }
  .wp-q-congress-registration-group-header {
    .__group div {
      padding: 0 1rem;
      .--value {
        font-weight: bold;
      }
    }
  }
  .__check-out {
    background-color: #fff;
    border: 1px #4b4638 solid;
    border-radius: .2rem;
    color: #4b4638;
    cursor: pointer;
    font-weight: bold;
    margin: 1rem 0;
    padding: .2rem .5rem;
  }
  .wp-q-congress-pagemenu ul {
    display: flex;
    flex-direction: row;
  }
  .wp-q-congress-pagemenu ul > li {
    margin-right: 20px;
    list-style: none; 
  }
  .wp-q-congress-registration-group__loading {
    z-index: 999;
    .q-modal__dialog {
      border-radius: 6px;
      height: 50%;
      width: 50%;
      transform: translate(50%, 50%);
      z-index: 999;
      .close {
        cursor: pointer;
      }
      .q-modal-region-body {
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
  .wp-q-congress-registration-group__modal {
    z-index: 999;

    .q-modal__dialog {
      border-radius: 6px;
      height: 80%;
      width: 80%;
      transform: translate(10%, 10%);
      z-index: 999;
      .close {
        cursor: pointer;
      }
    }
    &.error {
      .q-modal__dialog {
        height: 50%;
        width: 50%;
        transform: translate(50%, 50%);
      }
    }
    .q-modal-region-header {
      border-radius: 6px 6px 0 0;
      border-bottom: 1px dotted #eee;
      font-weight: bold;
      padding: 0.5rem;
    }
    .q-modal-region-body {
    }
    .q-modal-region-footer {
      border-radius: 0 0 6px 6px;
      border-top: 1px dotted #eee;
      padding: 0.5rem;
      .q-modal-region-tool-button {
        padding: 0 1rem;
      }
    }
  }

  .q-form-input-single-file .q-form-tool-file-viewer__container {
    max-height: 100px;
    overflow: scroll;
  }
  .q-form-dynamic-rows__btn {
    display: flex;
    justify-content: end;
    span {
      display: inline-block;
      background-color: red;
      padding: 2px;
    }
  }
  .q-form-dynamic.q-form-dynamic-row {
    border-bottom: 1px dotted #999;
    padding: 4px 0;
    .q-form-dynamic-rows__btn {
      span {
        background-color: unset;
      }
    }
  }
}

/* wp-q-congress-registration-group -- end */


/* loading -- animation start*/
.loading-box {
  background-color: #DDDBDD;
  display: inline-block;
  /* height: 1em; */
  overflow: hidden;
  position: relative;
}
.loading-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0.2) 20%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0));
  animation: shimmer 1.5s infinite;
  content: '';
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
/* loading -- animation end*/

/* wp-q-congress-program loading -- start */
.wp-q-congress-program--loading {
  display: flex;
  flex-direction: column;
}
.wp-q-congress-program--loading .program-sticky-bar {
  border-radius: 0 0 1rem 1rem;
  height: 100px;
  width: 100%;
}
.wp-q-congress-program--loading .program-sticky-date {
  border-radius: 0 .3rem .3rem 0;
  height: 2rem;
  margin: 1rem 0;
  width: 10vw;
}
.wp-q-congress-program--loading .program-session-item {
  border-radius: .5rem;
  height: 200px;
  margin: 0 auto;
  width: 80%;
}
.wp-q-congress-program--loading .program-session-item--spacer {
  height: 1rem;
  width: 100vw;
}
/* wp-q-congress-program loading -- end */

/* wp-q-congress-delegate loading -- start */
.wp-q-congress__delegate--loading {
  display: flex;
  flex-direction: column;
}
.wp-q-congress__delegate--loading .program-sticky-bar {
  border-radius: 0 0 1rem 1rem;
  height: 100px;
  width: 100%;
}
.wp-q-congress__delegate--loading .program-sticky-date {
  border-radius: 0 .3rem .3rem 0;
  height: 2rem;
  margin: 1rem 0;
  width: 10vw;
}
.wp-q-congress__delegate--loading .program-session-item {
  border-radius: .5rem;
  height: 200px;
  margin: 0 auto;
  width: 80%;
}
.wp-q-congress__delegate--loading .program-session-item--spacer {
  height: 1rem;
  width: 100%;
}
/* wp-q-congress-delegate loading -- end */

/* wp-q-congress-speaker loading -- start */
.speaker-grid-loading {
  display: grid;
  grid-template-columns: 33% 33% 33%;
}
.speaker-grid-loading-body {
  background-color: #efefef;
  display: flex;
  margin: 1rem;
  padding: 1rem;
}
.speaker-grid-loading-body-row-cell-image {
  width: 100px;
  height: 150px;
}
.speaker-grid-loading-body-row--right {
  margin-left: 1rem;
  width: 60%;
}
.speaker-grid-loading-body-row-cell-text__label {
  width: 100%;
  height: 1.5rem;
  margin-bottom: 1.5rem;
}
.speaker-grid-body-row-cell-button {
  width: 100px;
  height: 2rem;
  border-radius: 5px;
}
.alphabet-list-loading {
  height: 1.5rem;
  width: 100%;
}
@media only screen and (max-width: 750px) {
  .speaker-grid-loading {
    display: grid;
    grid-template-columns: 100%;
  }
}
/* wp-q-congress-speaker loading -- end */

/* wp-q-congress-abstract loading -- start */
.abstract-loading-bar {
  border-radius: 0 0 0.5rem 0.5rem;
  height: 8rem;
  width: 100%;
}
.abstract-loading-list {
  padding: 1rem;
}
.abstract-loading-item {
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  height: 10rem;
  width: 100%;
}
/* wp-q-congress-abstract loading -- end */

/* wp-q-congress-registration-group loading -- start */
.wp-q-congress__registration-group--loading {
  display: flex;
  flex-direction: column;
}
.wp-q-congress__registration-group--loading .program-sticky-bar {
  border-radius: 0 0 1rem 1rem;
  height: 10px;
  width: 100%;
}
.wp-q-congress__registration-group--loading .program-sticky-date {
  border-radius: 0 .3rem .3rem 0;
  height: 2rem;
  margin: 1rem 0;
  width: 100%;
}
.wp-q-congress__registration-group--loading .program-session-item {
  border-radius: .5rem;
  height: 20px;
  margin: 0 auto;
  width: 100%;
}
.wp-q-congress__registration-group--loading .program-session-item--spacer {
  height: 1rem;
  width: 100%;
}
/* wp-q-congress-registration-group loading -- end */

.loading {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-bottom-color: #FF3D00;
  border-radius: 50%;
  display: block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
