body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

.logo {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.container {
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
}

.blue-block {
    width: 100%;
    background: #0072ce;
    padding-top: 50px;
    padding-bottom: 52px;
    text-align: center;
}

.blue-block .headline {
    font-size: 44px;
    line-height: 50px;
    color: #fff;
    font-weight: 700;
}

.blue-block .subcopy {
    font-size: 22px;
    line-height: 28px;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 25px;
}

.blue-block .form-fields {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}

input[type="text"] {
    border: 2px solid #000;
    width: 405px;
    height: 50px;
    text-indent: 15px;
    font-size: 22px;
    color: #000;
    box-sizing: border-box;
    
}

.error {
    color: #fff;
    padding-top: 3px;
}

.selectdiv {

    position: relative;
    width: 405px;
    height: 50px;
    display: inline-block;
 
}

.selectdiv select {
    
    color: #000;
    box-sizing: border-box;
    background: #fff;
    font-weight: 500;
    font-size: 22px;
    width: 405px;
    text-indent: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 50px;
    border: 2px solid #000;
     
}

.selectdiv:after {

    content: '▼';
    color: #000;
    right: 6px;
    top: 16px;
    font-size: 13px;
    position: absolute;
    pointer-events: none; 
}

select::-ms-expand {

   display: none;
}

@-moz-document url-prefix() { 

    .selectdiv select {
   
      padding-top: 5px;
        padding-bottom: 5px;
   
    }
}

textarea,
input.text,
input[type="text"],
input[type="button"],
.input-checkbox {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

::-webkit-input-placeholder {
    color: #000;
    font-size: 22px;
}
  
:-ms-input-placeholder {
    color: #000;
    font-size: 22px;
}
  
::placeholder {
    color: #000;
    font-size: 22px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
      outline: none;
}

.preference-section {
    padding-top: 40px;
    padding-bottom: 80px;
    border-bottom: 2px solid #b7b7b7;
}

.preference-section .headline {
    font-size: 35px;
    line-height: 42px;
    color: #0072ce;
    font-weight: 700;
}

.preference-section .subcopy {
    font-size: 22px;
    line-height: 28px;
    color: #000;
    padding-top: 10px;
    padding-bottom: 50px;
}

/*** Checkbox/Radio ***/

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked, [type="radio"]:not(:checked),
[type="radio"]:checked {
    position: absolute;
    left: -9999px;
}

[type="checkbox"]:not(:checked)+label,
[type="checkbox"]:checked+label, [type="radio"]:not(:checked)+label,
[type="radio"]:checked+label {
    position: relative;
    cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked)+label:before,
[type="checkbox"]:checked+label:before, [type="radio"]:not(:checked)+label:before,
[type="radio"]:checked+label:before {
    width: 23px;
    height: 23px;
    top: 3px;
    left: 0px;
    position: relative;
    background-color: #FFFFFF;
    content: "";
    display: inline-block;
    visibility: visible;
    border: 2px solid #0072ce;
    border-radius: 100px;
}

/* checked mark aspect */
[type="checkbox"]:not(:checked)+label:after,
[type="checkbox"]:checked+label:after, [type="radio"]:not(:checked)+label:after,
[type="radio"]:checked+label:after {
    width: 23px;
    height: 23px;
    top: -29px;
    position: relative;
    background-color: #0072ce;
    content: "";
    display: inline-block;
    visibility: visible;
    border-radius: 100px;
    border: 2px solid #0072ce;
}

/* checked mark aspect changes */
[type="checkbox"]:not(:checked)+label:after, [type="radio"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}

[type="checkbox"]:checked+label:after, [type="radio"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
}

.radio-labels {
    color: #0072ce;
    font-weight: 700;
    font-size: 22px;
    padding-left: 5px;
    width: 100%;
}

.sub-label {
    font-size: 18px;
    line-height: 24px;
    color: #000;
    font-weight: 400;
}

input.submit {
    cursor: pointer;
    background-color: #0072ce;
    margin: 0 auto;
    color: #fff;
    width: 90%;
    max-width: 375px;
    height: 65px;
    line-height: 48px;
    font-weight: 700;
    font-size: 27px;
    margin-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
    -webkit-appearance: none;
    border: none;
    display: block;
}

.footer {
    background: #2e2e2e;
    color: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 75px;
}

.footer-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}

@media only screen and (max-width: 820px) {
    .blue-block .form-fields {
        display: block;
    }

    .social {
        padding-top: 20px;
    }
}

@media only screen and (max-width: 500px) {
    .blue-block .headline {
        font-size: 28px;
        line-height: 34px;
    }

    input[type="text"] {
        width: 100%;
    }

    .full-width {
        width: 100% !important;
    }

    input.submit {
        font-size: 24px;
    }

    .top-padding {
        padding-top: 20px;
    }
}