form > .row-fluid {
	display: flex;
	flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

form div.webform_row {
	flex: 1 1 50%;
	max-width: 50%;
}

form div.webform_row .hint {
    display: block;
	color: #81909d;
	font-style: italic;
	font-size: 12px;
	line-height: 1.33;
}

form div.webform_row > label {
	color: #81909d;
}

form div.webform_row > label:not(.radio-label), form div.webform_row > .webform_msg_error > label:not(.radio-label) {
	position: absolute;
    z-index: 6;
    white-space: nowrap;
    padding: 35px;
	margin-top: 5px;
    transition: all 0.2s ease;
}

form div.webform_row > .webform_msg_error {
	color: #f00;
	position: relative;
    margin-top: -80px;
	margin-right: -210px;
	display: table-row;
}

form div.webform_row > label[for^="captchaphrase"], form div.webform_row > .webform_msg_error > label[for^="captchaphrase"] {
	position: relative;
    padding: 0;
    margin-left: -238px;
}

form div.webform_row > img#form_captcha_id {
	margin-left: -174px;
	transition: all 0.2s ease;
}

form div.webform_row > input, 
form div.webform_row > textarea, 
form div.webform_row > .cc-select {
	font-size: 18px;
    line-height: 1.3;
    border: 0 none;
    border-bottom: 1px solid #f2f2f2;
    border-radius: 8px;
    padding: 16px 36px 16px 24px;
	margin: 20px 12px;
    width: 95%;
    flex: 1 1 auto;
    outline: none;
    position: relative;
    box-shadow: none;
    z-index: 2;
	background-color: #f2f2f2;
}

form div.webform_row .cc-select {
	color: #81909d;
	cursor: pointer;
	margin-top: 4px;
	z-index: 10;
}

form div.webform_row .cc-select .options>div {
	overflow-y: scroll;
	max-height: 350px;
}

form div.webform_row .cc-select:focus .options {
	max-height: 370px;
}

form div.webform_row .cc-select:after {
	font-size: 22px;
	top: 12px;
}

form div.webform_row .cc-select .placeholder {
	font-weight: 400;
	margin-left: -10px;
	font-size: 14px;
}

form div.webform_row .webform_msg_error + .cc-select {
	margin-top: 20px;
}

form div.webform_row .cc-select + .webform_label_error {
	margin-left: 24px;
}

form div.webform_row > input:focus, form div.webform_row > textarea:focus {
	border-bottom-color: #b9b9b9;
}

form div.webform_row label.radio-label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

form div.webform_row label.radio-label:not(:last-child) {
	margin-right: 45px;
}

form div.webform_row label:hover input[type='radio'] + span.icon {
	background-color: #d4dee7;
}

form div.webform_row label input[type='radio']:checked + span.icon {
	background-color: #075da7;
}

form div.webform_row input[type='radio'] {
	width: auto;
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

form div.webform_row input[type='radio'] + span.icon {
	position: absolute;
	top: 25%;
	left: 18px;
	height: 16px;
	width: 16px;
	border-radius: 50%;
	transform: translate(-52%);
	background-color: #f2f2f2;
}

form div.webform_row input[type='radio'] + span.icon:after {
	top: 4px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	content: "";
	position: absolute;
	display: none;
	background-color: #fff;
}

form div.webform_row input[type='radio']:checked + span.icon:after {
	display: block;
}

form div.webform_row label.select {
	display: flex;
    margin-left: 12px;
    position: unset;
    padding: 0px;
}

form div.webform_row input[type="checkbox"] {
    opacity: 0;
    height: 24px;
    width: 24px;
    left: -12%;
    top: -3%;
    position: absolute;
    z-index: 5;
}

form div.webform_row input[type="checkbox"] + span.icon {
    position: absolute;
    height: 24px;
    width: 24px;
    background-color: #f2f2f2;
    border-radius: 5px;
    margin: 0px 0px 0px -20px;
}

form div.webform_row input[type="checkbox"]:checked + span.icon {
    background-color: #075da7;
}

form div.webform_row input[type="checkbox"]:checked + span.icon:after {
    display: block;
}

form div.webform_row input[type="checkbox"] + span.icon:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
	content: "";
    position: absolute;
	display: none;
}

form div.webform_row > textarea {
    width: 97%;
}

form div.webform_row > input.typeahead-countryAreaCode {
	margin-right: 0;
	border-top-right-radius: 0;
    border-bottom-right-radius: 0;
	/*text-overflow: ellipsis;*/
}

form div.webform_row > input.phone {
	margin-left: 0;
	padding-left: 0;
	border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

form div.footer {
	width: 100%;
}

form ul.typeahead.dropdown-menu {
	position: absolute;
    width: 48%;
    background-color: #f2f2f2;
    padding: 0;
    margin: 15px 0 0 12px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: 1px solid #ccc;
    box-shadow: 0 1px 5px 0 #ccc;
    z-index: 11;
}

form ul.typeahead.dropdown-menu li {
	padding: 5px 20px;
}

form ul.typeahead.dropdown-menu li a {
	color: #81909d;
}

form ul.typeahead.dropdown-menu li:hover {
	background-color: #ddd;
}

form div.webform_subfields {
	flex: 1;
}

form .webform_label_error {
	color: red;
	margin-left: 12px;
	top: -20px;
    position: relative;
}

p .webform_msg_error {
	color:red;
	position: relative;
    top: 25px;
}

@media screen and (max-width: 1026px) {
		
	form div.webform_row label[for^="captchaphrase"] {
		margin-left: -150px;
		margin-top: -60px;
		margin-bottom: 60px;
	}

	form div.webform_row > img#form_captcha_id {
		margin-left: 0;
		transition: none;
	}

	form div.webform_row > .webform_msg_error {
		margin-top: -100px;
		margin-right: -138px;
		margin-bottom: 60px;
	}
	
}

@media screen and (max-width: 768px) {

	form div.webform_row {
		flex: 1 1 100%;
		max-width: 100%;
	}
	
	form div.webform_row label.select {
		margin-top: 24px;
	}

	form div.webform_row input[name^="captchaphrase"],
	form div.webform_row input.card-number {
		margin-top: 25px;
	}

	form div.webform_row > img#form_captcha_id + br {
		display: none;
	}
	
}