label {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 26px;
    display: block;
    margin-top: 10px;
    position: relative;
    margin-bottom: 5px;
}

input:not([type='checkbox']) {
    width: 100%;
    border: 1px solid #a1a1a1;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
    padding: 9px 15px;
    font-size: 16px;
    line-height: 24px;
    color: #383737;
    margin-bottom: 10px;
    border-radius: 2px;
}

input:invalid{
    background-color: #FF8E8E;
    border: 1px solid #ED1C24;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}


input[type='checkbox'] {
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 5px;
    border: 1px solid #C6CCD2;
    background: #eee;
    border-radius: 0;
     -ms-transform: scale(2); /* IE */
      -moz-transform: scale(2); /* FF */
      -webkit-transform: scale(2); /* Safari and Chrome */
      -o-transform: scale(2); /* Opera */
      padding: 10px;
}

input[type='checkbox']:checked > div {
}

.terms-checkbox-label {
    font-weight: 300;
}

.terms-checkbox-label > a {
    text-decoration: underline;
}



.checkbox {
    position: relative;
    display: block;
    margin-top: 20px;
}

input[type="checkbox"] {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
    margin-left: -20px;
}
.helper {
    position: absolute;
    top: -4px;
    left: -4px;
    cursor: pointer;
    display: block;
    font-size: 16px;
    user-select: none;
    color: #e7e7e7;
}
.helper:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 4px;
    width: 40px;
    height: 40px;
    transition: transform 0.28s ease;
    border-radius: 2px;
    border: 1px solid #a1a1a1;
}
.helper:after {
  content: '';
    display: block;
    width: 20px;
    height: 8px;
    border-bottom: 2px solid #7bbe72;
    border-left: 2px solid #7bbe72;
    -webkit-transform: rotate(-45deg) scale(0);
    -moz-transform: rotate(-45deg) scale(0);
    -ms-transform: rotate(-45deg) scale(0);
    transform: rotate(-45deg) scale(0);
    position: absolute;
    top: 15px;
    left: 14px;
}
input[type="checkbox"]:checked ~ .helper::before {
    color: #7bbe72;
}

input[type="checkbox"]:checked ~ .helper::after {
    -webkit-transform: rotate(-45deg) scale(1);
    -moz-transform: rotate(-45deg) scale(1);
    -ms-transform: rotate(-45deg) scale(1);
    transform: rotate(-45deg) scale(1);
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    vertical-align: sub;
    padding: 5px 0;
    margin: 0;
    padding-left: 35px;
}
input[type="checkbox"]:focus + label::before {
    outline: rgb(59, 153, 252) auto 5px;
}

@media (min-width:1025px) and (min-width:1281px) {

    input:focus::-webkit-input-placeholder { /* WebKit browsers */
        color: transparent;
    }
    input:focus:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
       color: transparent;
    }
    input:focus::-moz-placeholder { /* Mozilla Firefox 19+ */
       color: transparent;
    }
    input:focus:-ms-input-placeholder { /* Internet Explorer 10+ */
       color: transparent;
    }

}