#dat-implant-survey-questionnaire {
    background-color: #a6a099;
    padding: 20px 40px;
    min-height:435px;
}
.implantSurveyForm {
    position: relative;
    /*min-height:400px;*/
    min-height: 380px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 10px;
}
.implantSurveyForm h4 {
    line-height:1.4 !important;    
    margin-bottom:25px;
    /*height:50px;*/
}
.implantSurveyForm .followup h4 {
    /*height:auto;*/
}

/* Hide all steps by default: */
.implantSurveyForm .tab {      
    position: relative; 
    display: none;
}

.implantSurveyForm .tab p.input {
    margin:5px 0;
}

.implantSurveyForm .state {        
    display: none;
}

.implantSurveyForm div.form div {
    margin: 10px 0;
}

.implantSurveyForm div.question {
    position: relative;
    margin: 20px 0;
}

#dat-implant-survey-report {
    text-align: center;
}

#reportletter div.letter {
    text-align: left;
    margin: 40px 0 40px 0;
    padding: 30px 40px 50px 40px;
    background-color: #fff !important;
    color: #777 !important;
}
#reportletter div.letter, #reportletter div.letter p, #responsesContent, #responsesContent p {
    color: #777 !important;
    font-weight: 400 !important;
}
#userDetailsContent p, #userDetailsContent b {
    color: #333 !important;
}
#reportletter .reportbuttons {
    text-align: center;
    margin: 60px 0 30px 0;
}
#reportletter .reportbuttons p {
    margin: 20px 0;
}

#errorMessage, #bookingErrorMessage {
    color: #E31C79;
    display: none;
    margin: 20px 0;
}

#successMessage {
    display: none;
    margin: 20px 0;
    color: #E31C79;
}

.implantSurveyForm .validation-error {
    border: 1px solid #E31C79 !important;
}
.implantSurveyForm div.validation-error {
    padding:0 20px;
}

/* Style the input fields */
.implantSurveyForm input[type="text"], .implantSurveyForm input[type="email"], .implantSurveyForm input[type="tel"], .implantSurveyForm input[type="file"], .implantSurveyForm textarea, .implantSurveyForm select {
    width: 100%;
    background-color: #fff !important;
    color: #7B7B7B !important;
}
.implantSurveyForm input[type="file"] {
    padding:10px 15px;
}
::-webkit-input-placeholder {
    color: #AFAFAF !important;
}
:-ms-input-placeholder {
    color: #AFAFAF !important;
}
::placeholder {
    color: #AFAFAF !important;
}
.implantSurveyForm .container input[type="checkbox"] {
    width:unset;
    margin:0 10px;
    transform:scale(1.5);
}

/* Mark input boxes that gets an error on validation: */
.implantSurveyForm input.invalid {
  background-color: #ffeeee;
}

.implantSurveyForm .finishbutton {
    text-align: center;
    margin: 50px 0;
}
.implantSurveyForm .buttons {
    margin:40px 0;
}

.implantSurveyForm .centered {
    text-align:center;
}

/* The container */
.implantSurveyForm .container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    padding-right:30px;
    margin: 15px 0;
    cursor: pointer;
    font-size: 1.1em;
    line-height:24px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.implantSurveyForm .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.implantSurveyForm .container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fafafa;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.implantSurveyForm .container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.implantSurveyForm .container input:checked ~ .checkmark {
    background-color: #DA1879;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.implantSurveyForm .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.implantSurveyForm .container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.implantSurveyForm .container .checkmark:after {
	    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Customize the label (the container) */
.implantSurveyForm .checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
    line-height:22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.implantSurveyForm .checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.implantSurveyForm .checkbox-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fafafa;
}

/* On mouse-over, add a grey background color */
.implantSurveyForm .checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.implantSurveyForm .checkbox-container input:checked ~ .checkmark {
  background-color: #DA1879;
}

/* Create the checkmark/indicator (hidden when not checked) */
.implantSurveyForm .checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.implantSurveyForm .checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.implantSurveyForm .checkbox-container .checkmark:after {
  left: 8px;
  top: 5px;
  width: 8px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#bookingform h4, #bookingform p, #bookingform label {
    color: #fff !important;
}




/* Mobile */
@media (max-width:601px) {
    .implantSurveyForm .container {
        display: block;
    }
    .implantSurveyForm .buttons input.btn {
        padding: 13px 13px !important;
    }
    #reportletter div.letter {
        /*margin: 40px -50px 40px -50px;*/        
        padding: 10px 20px;
    }
    .double-block-padding {
        padding: 20px 20px 54px 20px !important;
    }
    .col-custom-width {
        margin-left: -40px !important;
        margin-right: -40px !important;
    }
}