/**************************************************/
/* Side-tabs: General                             */
/**************************************************/

.side-tab-content-wrapper
  {
    width: calc(100% - 40px);
  }

.side-tab
  {
    height: 150px;
    z-index: 100;
    position: fixed;
    right: 0;
  }

.side-tab-transition
  {
    transition-property: bottom, width, height, transform, z-index;
    transition-duration: 0.15s;
    transition-timing-function: ease-in;
  }

.side-tab.open
  {
    transform: translateX(0) !important;
  }

.side-tab .resize-handle, .side-tab .fa-close
  {
    display: none;
  }

.side-tab.open .resize-handle, .side-tab.open .fa-close
  {
    display: block;
  }

.side-tab-icon, .fa.side-tab-icon
  {
    background-color: #fff;
    color: #1e4969;
    padding: 4px;
    font-size: 12px;
    margin: 10px;
    cursor: pointer;
  }

.side-tab-label-wrapper, .side-tab-content-wrapper
  {
    float: left;
  }

.side-tab-label-wrapper
  {
    font-size: 18px;
    width: 40px;
    font-weight: bold;
    height: 100%;
    text-align: center;
    color: #fff;
    cursor: pointer;
  }

.side-tab-label-wrapper .tag
  {
    user-select: none;
    -ms-writing-mode: tb-lr;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    line-height: 40px;
    position: absolute;
    bottom: 15px;
    left: 0;
    transform: rotate(180deg);
  }

.side-tab-content-wrapper
  {
    height: 100%;
    border-left: 2px solid #fff;
  }

/**************************************************/
/* Side-tab: Feedback                              */
/**************************************************/

#feedback-side-tab
  {
    background-color: #cccccc;
    width: 400px;
    color: #1E4969;
    bottom: calc(20% + 300px + 4px);
    -ms-transform: translateX(360px);
    transform: translateX(calc(400px - 40px));
  }

#feedback-side-tab .side-tab-icon
  {
    color: #1e4969;
  }

#feedback-side-tab .side-tab-label-wrapper:hover .side-tab-icon {
    background-color: #e8e8e8;
  }

#feedback-side-tab .side-tab-content-wrapper
  {
    position: relative;
    background-color: #ADC0DA;
    overflow: auto;
    text-align: center;
  }

#feedback-side-tab.open
  {
    height: 500px;
    z-index: 110;
    bottom: 15em;
  }

.side-tab-content-wrapper #feedback-info-message
  {
    padding: 1em;
  }

#feedback-text-area
  {
    width: 80%;
    height: calc(95% - 250px);
    margin-bottom: 1em;
  }

#feedback-text-area2
  {
    width: 80%;
    height: calc(95% - 250px);
    margin-bottom: 1em;
    display:none
  }

#feedback-submit-button
  {
    float: right;
    margin: 10px 10px 0 0;
    padding: 10px !important;
    border: none !important;
    background-color: #1B4872;
    color: #fff !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 85%;
  }

#feedback-submit-button:hover
  {
    background-color: #496D8E !important;
  }

.feedback-radio-wrapper
  {
    margin-bottom: 0.5em;
  }

.feedback-status-message
  {
    padding-top: 0.5em;
  }

/**************************************************/
/* Side-tab: Support                              */
/**************************************************/

/* side-tab-height: 150px*/
#support {
  background-color: #ffa858;
  width: 600px;
  /*150px is side-tab-height */
  height: 150px;
  color: white;
  /*150px is side-tab-height */
  bottom: calc(20% + 150px + 2px);
  /*support-width - label-wrapper-width */
  -ms-transform: translateX(560px);
  /* Keep the calc to explicitly show to the programmer where the values come from*/
  transform: translateX(calc(600px - 40px));
}

#support .side-tab-icon {
  color: #ffa858;
}

#support .side-tab-content-wrapper {
  position: relative;
  width: calc(600px - 40px);
  background-color: #ffefe1;
  overflow: auto;
}

#support.open {
  bottom: 0;
  height: 100%;
  transform: translateX(0);
  z-index: 110;  
}

/* Not needed in XSL */
#support .side-tab-label-wrapper:hover .side-tab-icon {
  background-color: #ffddbf;
}

/* Accordion inside Support -> How to*/
#howto-accordion {
  width: 100%;
}

.accordion {
  margin: 10px 0;
  width: 100%;
}

.accordionButton {
  background-color: #1b4872;
  opacity: 0.7;
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.accordionButton:hover {
  opacity: 0.9;
}

.panel {
  background-color: #ffefe1;
  display: flex;
  height: auto;
  overflow: hidden;
  width: 100%;
  padding: 10px 5px 10px 5px;
}

.accordionButton:before {
  content: "\02795"; /* Unicode character for "plus" sign (+) */
  font-size: 15px;
  color: transparent;
  text-shadow: 0 0 0 white;
  float: right;
  margin-left: 5px;
}

.accordionButton.active:before {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
  color: transparent;
  text-shadow: 0 0 0 white;
}

/* Slideshow inside accordion */
#features-carousel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  width: 558px;
}

.carousel-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 493px;
}

.carousel-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: medium !important;
}

.carousel-img {
  border-radius: 5px;
  width: 493px;
  margin: auto;
  margin-bottom: 10px;
}

.carousel-control {
  color: #1B4872;
  cursor: pointer;
  width: 20px;
  height: 30px;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none !important;
  padding: 2px 5px 5px 5px;
}

.carousel-control:hover {
  background-color: rgba(27, 72, 114, 0.2);
  border: none !important;
  color: #1B4872 !important;
}

.carousel-caption {
  text-align: center;
  width: 400px;
  height: 78px;
}

#dot-wrapper {
  text-align: center;
  margin-top: 10px;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #ffa858;
  opacity: 1;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.dot.active,
.dot:hover {
  background-color: #1b4872;
  opacity: 0.7;
}

/**************************************************/
/* Side-tab: OMB+ chat                            */
/**************************************************/

#mc-chat {
  bottom: 20%;
  /*mc-chat-width*/
  width: 425px;
  /*side-tab-height*/
  height: 150px;
  /*mc-chat-width - label-wrapper-width*/
  /*Keeping the calc to explicitly show where the values come from*/
  -ms-transform: translateX(385px);
  transform: translateX(calc(425px - 40px));
}

#mc-chat.open{
  /*mc-chat-height*/
  height: 500px !important;
  bottom: 0 !important;
  transform: translateX(0);
  z-index: 101;  
}

#mc-chat .side-tab-label-wrapper {
  /*ombp-dark-blue*/
  background-color: #1E4969;
}


/**************************************************/
/* Fake Chat window                               */
/**************************************************/

#mc-chat .side-tab-content-wrapper {
  /*label-wrapper-width*/
  width: calc(100% - 40px);
  background-color: #ADC0DA;
  position: relative
}

/* Not needed in XSL */
#mc-chat .side-tab-content {
  font-size: 10pt;
  line-height: 1.4em;
  padding: 10px;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

/* Not needed in XSL */
#mc-chat .side-tab-label-wrapper:hover .side-tab-icon {
  background-color: #ADC0DA;
}



/**************************************************/
/* Support window                                 */
/**************************************************/

#_MM_help_dialog, #_MM_help_dialog ul, #_MM_help_dialog ol {
  color: #1E4969;
  font-size: 16px;
}

#_MM_help_dialog ul.no-list-style {
  list-style-type: none;
  padding-left: 10px;
}

#_MM_help_dialog ul.no-list-style .flaticon {
  margin-right: 15px;
}

#_MM_help_dialog strong {
  font-weight: bold;
  font-style: normal;
}

#_MM_help_dialog p{
  margin: 0;
  padding: 0;
}

#_MM_help_dialog .fa{
  vertical-align: middle;
  font-size: 2em;
  width: 32px;
  height: 32px;
  text-align: center;
  margin-right: 10px;
}

#_MM_help_dialog .support-method {
  padding: 8px 0;
}

#_MM_help_dialog h1{
  letter-spacing: initial;
  font-size: 18pt;
  text-align: center;
  padding: 20px;
  margin: 0;
  line-height: 1.1em;
}

#_MM_help_dialog .opening-times{
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
}

#_MM_help_dialog ul.tabs li:hover a {
    color: #1E4969;
}

#_MM_help_dialog ul.tabs li.selected, #_MM_help_dialog > div.selected {
    background-color: #ffefe1;
}

#_MM_help_dialog ul.tabs a {
    color: #FFF;
    display: block;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
}

#_MM_help_dialog ul.tabs li.selected a {
    color: #1E4969;
    pointer-events: none;
}

#_MM_help_dialog .course-howto p {
  margin-bottom: 1em;
}

#_MM_help_dialog ul
{
  margin: 0;
  padding: 0px 30px 0px 25px;
  list-style-type: disc;
  height: initial;
}

#_MM_help_dialog li
{
  display: list-item;
  margin: 4px 0px;
}

#_MM_help_dialog .writing-math {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

#_MM_help_dialog .writing-math th, #_MM_help_dialog .writing-math td {
  text-align: left;
  padding: 10px;
  border: 1px solid #ffd6b3;
}

#_MM_help_dialog .info-message-wrapper {
  margin-top: 20px;
  background-color: #ffd6b3;
  padding: 15px;
  position: relative;
}

#_MM_help_dialog .small {
  font-size: 80%;
}


#_MM_help_dialog .info-message-wrapper .fa {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#_MM_help_dialog .info-message-wrapper .info-message {
  margin-left: 50px;
}