@font-face {
  font-family: OpenSans;
  src: url("https://zh.amtrak.com/etc.clientlibs/tickets/clientlibs/clientlib-akamai/etc/designs/tickets/angular/styles/css/OpenSans-Regular.woff");
  font-weight: 400;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: OpenSans, sans-serif;
  color: #002436;
}

body {
  margin: 0;
}

.sec-modal-container {
  margin: 30px 60px;
  max-width: 600px;
}

.custom-message-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.sec-heading {
  color: #003a60;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin: 0;
}

@media (min-width: 768px) {
  .sec-heading {
    font-size: 28px;
  }
}

.sec-wrapper {
  border: 1px solid #d4d8d9;
  border-radius: 3px;
  width: 100%;
  border-radius: 8px;
  padding: 20px;
  min-height: 93px;
}

.custom-message-text {
  color: #002436;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  text-align: center;
}

@media (min-width: 768px) {
  .custom-message-text {
    text-align: left;
  }
}

#sec-if-cpt-container input {
  border: none;
  border-radius: 8px;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  -webkit-transition-duration: 0.2s;
  /* Safari */
  transition-duration: 0.2s;
  cursor: pointer;
}

#sec-if-cpt-container input:hover {
  background-color: white;
  color: black;
}

.behavioral-content {
  flex-direction: column;
}

@media (min-width: 768px) {
  .behavioral-content {
    flex-direction: row;
  }
}

.adaptive-button-parent {
  width: 100%;
}

@media (min-width: 768px) {
  .adaptive-button-parent {
    width: unset;
  }
}

@media (min-width: 768px) {
  .mobile-privacy-link {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .desktop-privacy-link {
    display: none !important;
  }
}

#sec-if-cpt-container .timer-container {
  display: none;
}
#sec-if-cpt-container #sec-if-behaviours {
  display: flex;
  justify-content: center;
}

#sec-if-cpt-container .behavioral-checkbox-text {
  padding-left: 5px;
}
#sec-if-cpt-container #robot-checkbox {
  height: 42px;
  width: 25px;
}
#sec-if-cpt-container #robot-checkbox-message {
  display: block;
  width: max-content;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0;
  color: #002436;
}

/**

Button

*/
#sec-if-cpt-container .behavioral-button {
  text-align: center;
  box-sizing: border-box;
  background-color: #167fa6;
  color: white;
  font-weight: 600;
  min-width: 132px;
  min-height: 40px;
  padding: 16px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;

  width: 100%;
  max-width: 200px;
}

#sec-if-cpt-container .behavioral-button.progress-btn-disabled {
  background-color: #737575;
  cursor: not-allowed;
}

.behavioral-button.progress-btn.active {
  display: none;
}

/* utils  */
.flex {
  display: flex;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.pb-5 {
  padding-bottom: 20px;
}

.mb-5 {
  margin-bottom: 20px;
}

.mb-10 {
  margin-bottom: 40px;
}

.border-b {
  border-bottom: 1px solid;
  border-color: #d4d8d9;
}

.link {
  color: #167fa6;
  font-size: 14px;
  line-height: 140%;
  text-decoration: underline;
}

.link:hover {
  text-decoration: none;
}

.gap-2 {
  gap: 8px;
}

.gap-5 {
  gap: 20px;
}

.text-bold {
  font-weight: 600;
}

.w-full {
  width: 100%;
}

.mt-5 {
  margin-top: 20px;
}

/**

Loader

**/

.loader {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  position: relative;
  animation: rotate 1s linear infinite;
}
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 2px solid #00537e;
  animation: prixClipFix 5s linear infinite;
}

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

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}

.hidden {
  display: none;
}

/**

checkbox

*/

.custom-checkbox {
  display: flex;
  position: relative;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}

.checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 1px solid #00283c;
  border-radius: 4px;
  box-sizing: border-box;
  position: relative;
  transition: background-color 0.2s ease;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #00283c;
}

.custom-checkbox input:disabled + .checkmark {
  background-color: #737575;
  border: 1px solid #737575;
}

.custom-checkbox input:disabled ~ #robot-checkbox-message {
  color: #737575 !important;
}

.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(39deg);
}
