*, *::before, *::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-size: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #FFF;
    color: #7f7f7f;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.1;
    color: #000;
}

h1 {
  font-size: 38px; }

h2 {
  font-size: 30px; }

h3 {
  font-size: 24px; }

h4, {
  font-size: 20px; }

h5 {
  font-size: 16px; }

h6 {
  font-size: 14px; }

p {
  margin: 0 0 11px; }

.logo {
    margin: 0 auto;
    text-align: center;
}
.logo img {
    max-width: 450px;
}
.wrapper {
    margin: 0 auto;
    overflow: hidden;
    padding: 20px;
    position: relative;
    max-width: 992px;
    background-color: #f8f8f8;
}

.container, .amf-form-header {
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
}
.amf-form-header h2 {
    margin-left: 20px;
}
.amf-el {
    margin-left: 20px;
    clear: both;
}

.footer {
    min-height: 0;
    clear: both;
    color: #7f7f7f;
    text-align: right;
}
.footer .wrapper {
    background-color: #F2F2F2;
}
.footer a {
    color: #f0efec;
}

.hidden {
    display: none;
}

.checkbox, .radio {
    margin: 0px 10px 0 0 !important;
}

.amf-type-button {
    margin-top: 20px;
}

.amf-el .amf-el-inner label {
    width: auto;
    display: inline;
    text-align: left;
    float: none;
    font-weight: normal;
}

input, textarea, select {
    background: #FFF;
    border: 1px solid #333;
    padding: 10px 10px;
    font-size: 15px;
    line-height: 1.375;
    color: #333;
    display: block;
    width: 100%;
    max-width: 550px;
    margin-bottom: 15px;
}

.small {
    font-size: 80%;
}

.hw {
    width: 265px;
    float: left;
    clear: none;
}

.cLeft { clear: left; }
.cRight { clear: right; }

input[type='radio'], input[type='checkbox'] {
    width: auto;
    display: inline-block;
}

.amf-error input, .amf-error select {
    border: 1px solid #a94442;
}

.amf-error-message, .parsley-errors-list li {
    color: #a94442;
    font-size: 11px;
    margin-top: -15px;
    font-style: italic;
}
.amf-type-checkbox .amf-error-message, .amf-type-checkbox .parsley-errors-list li {
    margin-top: 0;
}
.parsley-errors-list {
    padding: 0;
    list-style: none;
    margin: 0 0;
}
.parsley-error {
    border: 1px solid #a94442;
}
.parsley-success {
    border: 1px solid #11713c;
}
.amf-type-checkbox .parsley-error, .amf-type-checkbox .parsley-success {
    border: none;
}

.chkbxList .amf-type-checkbox {
    margin-bottom: 20px;
}

.amf-type-list {
    margin-bottom: 20px;
}

.amf-el.amf-type-button {
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
}
    
.button {
    background-color: #fff;
    border: 1px solid #000;
    color: #333;
    display: inline-block;
    min-width: 200px;
    max-width: 245px;
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.375;
    border-radius: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button:hover {
    color: #000;
    background-color: #f8f8f8;
    border-color: #000;
}

.input {
  display: block;
}
.input span {
  position: absolute;
  z-index: 1;
  cursor: text;
  pointer-events: none;
  padding: 8px;
  margin-left: 2px;
}
.input input, .input textarea, .input select {
  z-index: 0;
  padding: 8px;
  vertical-align: middle;
}

.intl-tel-input {
    display: block !important;
}

.intl-tel-input .flag-container {
    position: relative !important;
    padding: 0 !important;
}

.intl-tel-input .selected-flag .iti-flag {
    position: absolute !important;
    top: 0 !important;
}

.intl-tel-input .selected-flag {
    position: absolute !important;
    height: 38px !important;
}

.intl-tel-input.allow-dropdown input, .intl-tel-input.allow-dropdown input[type=text] {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
}

@-ms-viewport {
    width: device-width;
}

@media only screen and (max-width: 992px) {
    .wrapper {
        -moz-box-shadow: 0 0 0;
        -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0;
        margin-bottom: 0;
        padding: 10px;
    }
}

@media only screen and (max-width: 606px) {
    .amf-el, .amf-form-header {
        margin-left: 5px;
    }
    .logo img {
        max-width: 100% !important;
    }
    .amf-el label {
        width: 100%;
        display: block;
        float: none;
        text-align: left;
    }
    .hw {
        width: 99% !important;
    }
    .amf-el .amf-el-inner {
        margin-left: 0px;
    }
    
    .amf-el.amf-type-button, .amf-error-message {
        margin-left: 10px;
    }
}