﻿
/*
  Base styles for Feedback Form
*/

#openModalButton, #surveyModal {
  z-index: 999;
}

#openModalButton {
  position: fixed;
  padding: 6px 34px;
  right: -57px;
  bottom: 90px;
  background-color: #003A5D;
  transform: rotate(270deg);
  margin: 1px;
  border-radius: 4px 4px 0px 0px;
  border: 1px solid var(--primary-colors-white, #FFF);
  background: var(--primary-colors-bosfed-blue, #003A5D);
  border-bottom-color: #003A5D;
}

#openModalButton:hover {
  transition: 0.2s ease-in-out;
  background-color: #4D86A0;
}

#openModalButtonText {
  position: relative;
  background: none;
  border: 1px;
  padding: 2px;
  color: white;
  font-size: 1.2em;
  font-family: Open Sans, Arial, Helvetica, sans-serif;
}

#buttonText span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.6em;
  color: #877875;
  margin-bottom: 5px;
  padding-bottom: 5px;
  font-weight: bold;
  padding-top: 5px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #877875;
}

#surveyModal.hidden {
  display: none;
}

#surveyContent {
  position: fixed;
  right: 12px;
  bottom: 48px;
  width: 450px;
  height: 620px;
  overflow-y: scroll;
  border-radius: 4px;
  background: white;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.30);
  z-index: 1000;
  padding-top: 60px
}


.frb-surveymonkey-close {
  height: 20px;
  width: 20px;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.close-banner {
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  height: 40px;
  width: 100%;
}


/*
    Overrides for surveymonkey content
*/

.smcx-embed {
  max-width: 100%;
  border: none;
}

/* Maximize scroll area of iframe to height of container modal */
#surveyContent .smcx-embed,
#surveyContent .smcx-iframe-container {
  height: 560px !important;
}
/* Hide Scrollbar */
#surveyContent::-webkit-scrollbar {
  width: 0px;
}

#surveyContent::-webkit-scrollbar-track {
  display: none;
}


#patas.survey-body .survey-submit-actions {
  text-align: left !important;
}

#patas.survey-body button[type="submit"] {
  max-width: fit-content;
}

@media only screen and (max-width: 780px) {
  #surveyContent {
    width: calc(100% - 10px);
    margin: 5px;
    right: 0px;
    bottom: 0px;
  }

}
