@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');

.c-web-form {
    border: 1px solid #DBE1E5;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: white;
    border-radius: 3px;
    padding: 25px;
    line-height: 22px;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
}

.c-web-form--hosted {
	width: 360px;
}

.c-web-form__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.c-web-form__description {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 15px;
}

.c-web-form__control-group {
    margin-bottom: 15px;
}

.c-web-form__control-group .c-web-form__label {
    font-size: 14px;
    font-weight: 600;
}

.c-web-form-uppercase-text {
    text-transform: uppercase;
}

.c-web-form-semibold-text {
    font-weight: 600;
}

.c-web-form__control-group .c-web-form__input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 48px;
    margin-top: 5px;
    border-radius: 3px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #C4C8CC;
    font-size: 16px;
    padding: 10px;
    font-family: "Open Sans", sans-serif;
}

.c-web-form__checkbox {
    position: absolute;
    opacity: 0;
}

.c-web-form__checkbox + .c-web-form__label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 0;
    line-height: 1rem;
    font-size: 16px;
    font-weight: normal;
}

.c-web-form__checkbox + .c-web-form__label::before,
.c-web-form__checkbox + .c-web-form__label::after {
    content: '';
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    left: 0;
    top: 2px;
    border-radius: 2px;
}

.c-web-form__checkbox + .c-web-form__label::before {
    position: relative;
    margin-right: .5rem;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: white;
    border: 1px solid #B3B2B2;
    -moz-transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
}

.c-web-form__checkbox + .c-web-form__label::after {
    position: absolute;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='square' stroke-linejoin='arcs'><polyline points='20 6 9 17 4 12'></polyline></svg>") no-repeat center / 85%;
    -o-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
    color: white;
    opacity: 0;
    -moz-transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
}

.c-web-form__checkbox + .c-web-form__label:empty::before {
    margin-right: 0;
}

.c-web-form__checkbox + .c-web-form__label:hover::before {
    background-color: rgb(243, 245, 249);
}

.c-web-form__checkbox:checked + .c-web-form__label::before {
    background-color: #008AD4;
    border-color: #008AD4;
}

.c-web-form__checkbox:checked + .c-web-form__label::after {
    opacity: 1;
    -o-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.c-web-form__checkbox:focus + .c-web-form__label::before {
    -moz-box-shadow: 0 0 0 3px rgba(140, 140, 140, .12);
    -o-box-shadow: 0 0 0 3px rgba(140, 140, 140, .12);
    -webkit-box-shadow: 0 0 0 3px rgba(140, 140, 140, .12);
    box-shadow: 0 0 0 3px rgba(140, 140, 140, .12);
}

.c-web-form__submit {
    display: block;
    margin: 5px auto 0;
    padding: 12px 18px;
    width: 100%;
    background-color: #2185D0;
    border: 2px solid #2185D0;
    border-radius: 3px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: rgb(255, 255, 255);
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
    -moz-transition: background-color .3s, color .3s;
    -o-transition: background-color .3s, color .3s;
    -webkit-transition: background-color .3s, color .3s;
    transition: background-color .3s, color .3s;
}

.c-web-form__submit:hover {
    color: #2185D0;
    background-color: transparent;
}

.c-web-form__submit:focus {
    outline: 0;
    -moz-box-shadow: 0 0 6px rgb(133, 138, 155);
    -o-box-shadow: 0 0 6px rgb(133, 138, 155);
    -webkit-box-shadow: 0 0 6px rgb(133, 138, 155);
    box-shadow: 0 0 6px rgb(133, 138, 155);
}

.c-web-form__submit:active {
    outline: 0;
    -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    -o-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.c-web-form__footer {
    font-size: 12px;
    line-height: 16px;
    color: #3d3e40;
}

.c-web-form__text-block--success {
    width: 100%;
    padding: 25px;
    margin-bottom: 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3px;
    font-size: 16px;
    background: #F3F5F9;
}

.c-alert-block {
    background-color: #f2dede;
    border-color: #f2dede;
    color: #b94a48;
    padding: 14px 35px 14px 14px;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    border-radius: 3px;
    font-size: 13px;
    line-height: 20px;
    text-align: left;
}

.c-alert-block ul {
    list-style: none;
    padding: 0;
}

.c-success-message {
    color: #0c960c;
    text-align: center;
    display: none;
}

.c-web-form__submit:disabled {
	color: white !important;
	background-color: #d4d4d4;
	border-color: #d4d4d4;
	cursor: not-allowed;
}

.c-web-form__error {
	font-size: .75rem;
	color: #CB5B5D;
	display: none;
}

.c-web-form__be-errors {
    display: none;
    list-style: none;
    padding: 0;
}

.c-web-form__be-errors li {
    font-size: .75rem;
    color: #CB5B5D;
}

.c-web-form__terms-link {
    color: #3d3e40;
}

.c-web-form__agree-line {
    width: 100%;
    height: 1px;
    border-top: 1px solid #C4C8CC;
    margin-bottom: 1rem;
}
