body {
  margin: 0px;
  overflow: hidden;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

main {
  position: relative;

  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #f5f6fa;
  color: white;
  text-align: center;
}

pre {
  height: 346px;
  overflow-x: auto;
  padding: 0 20px;
  text-align: justify;
}

header,
.container,
footer {
  width: 100%;
}

.container {
  max-height: 100%;
  overflow-y: auto;
}

.hidden {
  display: none !important;
}

.red {
  color: red;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.survey-private {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3em;
  flex-direction: column;
  margin-top: 2.5em;
}

.custom-label {
  font-weight: 600;
  font-size: 1.2rem;
}

.custom-input-box {
  background-color: rgb(255, 255, 255);
  color: rgb(67, 67, 66);
  text-indent: 0.2rem;
  border-radius: 2rem;
  height: 2.2rem;
  border: 0.5px solid rgb(211, 211, 211);
  text-align: left;
  width: 25rem;
  user-select: auto;
}

.primary-button {
  cursor: pointer;
  border-radius: 50px;
  border: transparent;
  color: #fff;
  opacity: 0.9;
  background: #ff5454;
  height: 2rem;
  min-width: 4.5rem;
  margin-left: -4.8rem;
}

.msg-color {
  background: #ffedede0;
  color: red;
  border-radius: 1em;
  padding: 0.5em 1em;
  max-width: 50%;
  width: fit-content;
  margin-inline: auto;
}

#emailId input:focus-visible {
  outline: #d0d0d0 auto 1px;
}

.logo {
  max-width: 100%;
  height: auto;
  display: block;
  max-height: max-content;
  /* object-fit: contain; */
}

.dialog-ovelay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.50);
  z-index: 999999
}

.dialog-ovelay .dialog {
  width: 36em;
  height: 8em;
  margin: 24% auto 0;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
  border-radius: 1rem;
  overflow: hidden;
}

.dialog-ovelay .dialog header .fa-close:hover {
  color: #b9b9b9
}


.dialog-ovelay .dialog .dialog-msg {
  padding: 1.2em;
  text-align: center;
}

.dialog-ovelay .dialog .dialog-msg p {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

.dialog-ovelay .dialog .dialog-footer {
  /* border-top: 1px solid #e5e5e5; */
  padding: 0.5em;
}

.dialog-ovelay .dialog .dialog-footer .controls {
  /* direction: rtl; */
  display: flex;
  width: 50%;
  margin: auto;
}

.dialog-ovelay .dialog .dialog-footer .controls button {
  margin: auto;
  padding: 0.5em 1em;
}

.save-icon {
  background: url(./save_icon.svg);
  border: none;
  background-size: 100%;
  height: 2em;
  width: 2em;
  cursor: pointer;
}

#surveyElement {
  max-height: 70vh;
  overflow-y: auto;
}

.sv_main.sv_default_css input[type="button"],
.sv_default_css button {
  color: white;
  background-color: rgb(217, 21, 23) !important;
}

input[type="date" i] {
  -webkit-text-fill-color: inherit !important;
}

#surveyElement .sv-dropdown__value {
  width: 15em !important;
}


@keyframes loader-animation {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

.loader {
  width: 100%;
  height: 4px;
  background-color: #ffffff;
  overflow: hidden;
}

.loader-bar {
  width: 100%;
  height: 100%;
  background-color: #FF6358;
  animation: loader-animation 2s linear infinite;
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #f3f6f4;
  /* off white */
  color: #333;
  /* dark text for contrast */
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  right: 30px;
  top: 30px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    right: 0;
    opacity: 0;
  }

  to {
    right: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    right: 0;
    opacity: 0;
  }

  to {
    right: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    right: 30px;
    opacity: 1;
  }

  to {
    right: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    right: 30px;
    opacity: 1;
  }

  to {
    right: 0;
    opacity: 0;
  }
}

.custom-alert {
  position: fixed;
  top: 20px; 
  left: 50%;
  transform: translateX(-50%); 
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1000; 
  width: 300px; 
}

.custom-alert h2 {
  margin: 0;
  padding: 0;
  font-size: 20px;
}

.custom-alert p {
  margin: 10px 0;
}

.custom-alert button {
  background-color: #4CAF50; 
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 20px; 
  font-size: 14px;
  right: 10px;
  bottom: 10px; 
  position: static;
  float: right;
}

.custom-alert button:hover {
  background-color: #45a049;  
}

.logo-container {
  display: flex;
  width: clamp(4rem, min(18rem, calc(8rem + 6.4vw)), 18vw);
  height: 6em;
  margin: 0.88em 0 0 0;
}

#multiLanguageDropdown {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    cursor: pointer;
    z-index: 1000;
  }
  #multiLanguageDropdown:focus {
    outline: none;
    border-color: #007bff;
  }

	.cotec_survey_banner {
    width: 100%;
    object-fit: cover;
    object-position: 0% 9%;
    margin-top: 0;
}
.sd-header__text .sd-title{
	color:var(--sjs-font-surveytitle-color, var(--sjs-primary-backcolor, var(--primary, #000000))) !important;
}

.sd-table.sd-table--columnsautowidth .sd-table__cell:not(.sd-table__cell--actions):not(.sd-table__cell--action):not(.sd-table__cell--empty.sd-table__cell--error) {
    border: .1px solid #ccc !important;
    padding: 15px !important;
}

.div-powered-by{
	position:absolute;
	bottom:10px; 
	left:0; 
	right:0; 
	display:flex; 
	justify-content:center;
	align-items:center;
	gap:8px;
}

	.btn-pdf-download{
		font-family: 'Montserrat', sans-serif;
    font-size: 0.93em;
    padding: .75em;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.7em;
}
