#termsAndConditionsModal .modal-header .modal-close {
  background: #ffffff;
  position: absolute;
  top: -5rem;
  width: 108px;
  height: 48px;
  margin-right: 0;
  font-size: 16px !important;
  line-height: 20px;
  color: #002C5E;
  font-family: "HyundaiSansHeadOffice-Medium";
  letter-spacing: 1px;
}
#termsAndConditionsModal .modal-header {
  border-bottom: 0;
  padding: 0;
}
#termsAndConditionsModal .modal-footer {
  border-top: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#termsAndConditionsModal .modal-dialog {
  max-width: 646px;
  width: 100%;
  margin-top: 75px !important;
}
#termsAndConditionsModal .modal-content {
  padding: 30px 60px;
  background-color: #F3F3F3;
}
#termsAndConditionsModal .modal-footer::before,
#termsAndConditionsModal .modal-footer::after{
  display: none;
}
#termsAndConditionsModal h3 {
  font-size: 30px;
  line-height: 36px;
  color: #333333;
  margin-bottom: 20px;
  font-family: "HyundaiSansHeadOffice-Medium";
}
#termsAndConditionsModal p {
  font-size: 16px;
  line-height: 22.4px;
}
#termsAndConditionsModal input {
  width: auto;
  padding: 0 30px !important;
  margin: 0 5px;
}
#termsAndConditionsModal .terms-cancel {
  background: #ffffff;
  border: 1px solid #666666;
  color: #666666;
}
#termsAndConditionsModal .terms-and-conditions-scrollable {
  max-height: 320px;
  overflow-y: scroll;
  border: 1px solid #666666;
  padding: 25px;
  background-color: #ffffff;
  font-family: "HyundaiSansTextOffice-Regular";
  color: #666666;
}
#termsAndConditionsModal .terms-and-conditions-scrollable::-webkit-scrollbar {
  width: 10px
}

#termsAndConditionsModal .terms-and-conditions-scrollable::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #F9FBFD;
  background-color: #F9FBFD;
  padding: 0 5px;
  border-radius: 10px;
}

#termsAndConditionsModal .terms-and-conditions-scrollable::-webkit-scrollbar-thumb {
  background: #D9D9D9;
  border-radius: 10px;
}

#termsAndConditionsModal .terms-and-conditions-scrollable h2{
  font-size: 25px;
  display: block;
}

#termsAndConditionsModal .scroll-error {
  color: #C40612;
  font-family: "HyundaiSansTextOffice-Regular";
  flex-basis: 100%;
  text-align: left;
}

#termsAndConditionsModal .cta-buttons {
  flex-basis: 100%;
}

#termsAndConditionsModal .terms-checkbox .checkbox-item {
  margin-top: 25px;
  padding-right: 0;
}
#termsAndConditionsModal .terms-checkbox .checkbox-item label:before {
  width: 20px !important;
  height: 20px !important;
  border: 1px solid #BABABA !important;
  margin-right: 10px !important;
  top: -2px !important;
}
#termsAndConditionsModal .terms-checkbox .checkbox-item label {
	padding-left: 30px;
	line-height: 23px;
  font-family: 'HyundaiSansTextOffice-Regular';
  color: #666666;
  font-size: 14px;
}
#termsAndConditionsModal .terms-checkbox .checkbox-item label:after {
  font-size: 12px !important;
  top: -4px !important;
  left: 4px !important;
  color: #fff;
}
#termsAndConditionsModal .terms-checkbox .checkbox-item input[type='checkbox']:checked + label:before{
  background: #00AAD2;
  border-color: #00AAD2 !important;
}
#termsAndConditionsModal .terms-checkbox .checkbox-item label:before {
	top:-3px;
	left:0;
	position:absolute;
}

#termsAndConditionsModal .no-style-list {
    list-style: none !important;
}
#termsAndConditionsModal ol > li > ol > li > a {
    text-transform: none !important;
    cursor: default !important;
}

#termsAndConditionsModal ol > li > a {
    text-transform: none !important;
    cursor: default !important;
  }

#termsAndConditionsModal ol > li > a:hover {
  color: initial;
  background: none;
  background-color: initial;
}

@media only screen and (max-width:767px){
  #termsAndConditionsModal .modal-content{
    padding: 30px 15px;
  }
  #termsAndConditionsModal .modal-dialog  {
    margin: 75px auto 0 auto !important;
  }
  #termsAndConditionsModal .cta-buttons {
    display: flex;
    justify-content: center;
  }
  #termsAndConditionsModal .scroll-error {
    margin-bottom: 20px;
  }
}