/* TEXT INPUT & TEXTAREA */
select,
textarea,
input[type="text"],
input[type="number"],
input[type="url"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="tel"],
input[type="search"] {
	color: #000;
	font-size: 18px;
	line-height: 48px;
	font-family: 'Montserrat', sans-serif;

	box-sizing: border-box;
	height: 48px;
	width: 100%;
	padding: 0 20px;
	background: #fff;

	border-radius: 5px;
	border: 1px solid rgba(9,16,24,0.1);

	position: relative;

	transition: box-shadow 0.25s;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

select {
	padding: 0 35px 0 20px;
	background: #fff no-repeat right 8px center url('./../img/ui-select.svg');
	background-size: 18px 30.43px;
}
select.categories {
	border: 1px solid #CACAD9;
	background: #fff no-repeat right 8px center url();
}

input[type="search"] {
	padding: 0 57px 0 20px;
	background-color: #F6F6FB;
	background-repeat: no-repeat;
	background-image: url('./../img/ui-search.svg');
	background-position: calc(100% - 20px) 50%;
}

textarea {
	display: block;
	line-height: 24px;
	padding: 10px 20px;
	height: 160px;
	resize: vertical;
}


select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="search"] {
	outline: none;
	box-shadow: inset 0 0 0 1px #999;
}


select::-ms-expand { display: none; }


/* SELECT */

.select-wrapper { position: relative; }

.select-wrapper > svg {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	cursor: pointer;
	pointer-events: none;
	transition: 0.2s;
}
.select-wrapper > select { background-image: none; }

.select-wrapper > select:focus ~ svg { transform: translateY(-50%) rotate(180deg); }






/* CHECKBOX */

.b-checkbox,
.b-radio,
.gfield_checkbox,
.gfield_radio,
.ginput_container_consent,
.copy_values_option_container {
	position: relative;
	overflow: hidden;
}

.b-checkbox input,
.b-radio input,
.gfield_checkbox input,
.gfield_radio input,
.ginput_container_consent input,
.copy_values_option_container input {
	position: absolute;
	top: 0;
	left: -9999px;
}

.b-checkbox input + span,
.b-radio input + span,
.gfield_checkbox input + label,
.gfield_radio input + label,
.ginput_container_consent input + label,
.copy_values_option_container input + label {
	display: block;
	position: relative;
	padding: 0 0 0 30px;
}

.b-checkbox input + span::before,
.b-radio input + span::before,
.gfield_checkbox input + label::before,
.gfield_radio input + label::before,
.ginput_container_consent input + label::before,
.copy_values_option_container input + label::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px #ccc;
	background: #fff;
}

.b-checkbox input:checked + span::before,
.b-radio input:checked + span::before,
.gfield_checkbox input:checked + label::before,
.gfield_radio input:checked + label::before,
.ginput_container_consent input:checked + label::before,
.copy_values_option_container input:checked + label::before {background:#ccc no-repeat center url();}





.mktoErrorMsg {
	font-size: 16px;
	margin: 6px 0 0 16px;
	color: red;
}





/** MARKETO **/

/** MARKETO: Global **/
.mktoForm { width: 100% }

.mktoAsterix { display: none; }

.mktoForm .mktoFormRow,
.mktoForm .mktoButtonRow { width: 100% }

.mktoForm .mktoButtonRow .mktoButtonWrap,
.mktoForm .mktoFormRow .mktoFieldDescriptor { margin: 0; width: inherit; display: block; }
.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap { width: inherit; }

.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoOffset,
.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap label:not([for='GDPR_Consent__c']),
.mktoForm .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap .mktoGutter { display: none; }

.mktoForm .mktoButtonRow .mktoButtonWrap button { height: 60px; width: 100%; }

label[for='GDPR_Consent__c'] {
	width: calc(100% - 25px);
	float: right;
	margin-bottom: 30px;
}

label[for='GDPR_Consent__c'] ~ .mktoLogicalField.mktoCheckboxList {
	height: 20px;
	width: 20px;
	float: left;
}

/** MARKETO: Contact form **/
.mktoForm.alt-contact .mktoFormRow:not(:last-of-type) { margin-bottom: 30px; }

.mktoForm.alt-contact .mktoButtonRow  {
	max-width: 190px;
	margin: 0 auto;
}



/** MARKETO: Newsletter form **/
.mktoForm.alt-newsletter {
	flex: 1 0 55%;
	max-width: 100%;
    display: flex;
    align-items: center;
}
.mktoForm.alt-newsletter .mktoFormRow { flex: 0 0 100%; }
.mktoForm.alt-newsletter .mktoFormRow:not(:first-of-type) { display: none; }

.mktoForm.alt-newsletter .mktoButtonRow {
    flex: 0 0 33%;
    margin-left: calc(-33% - 7px);
	position: relative;
}

.mktoForm.alt-newsletter .mktoFormRow .mktoFieldDescriptor { margin-bottom: 0 !important; }
.mktoForm.alt-newsletter .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap { position: relative; }
.mktoForm.alt-newsletter .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap .mktoError {
	position: absolute;
	left: 16px;
}
.mktoForm.alt-newsletter .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap input {
	height: 74px;
    padding: 22px calc(33% + 14px) 22px 30px;
	border: none;
    border-radius: 10px;
	box-shadow: 0 20px 40px 0 rgba(0,0,0,0.1);
    line-height: 30px;
	width: 100% !important;
}
.mktoForm.alt-newsletter .mktoButtonRow .mktoButtonWrap { margin-left: 0 !important; }

@media screen and (max-width: 900px) {
    .mktoForm.alt-newsletter  { flex-wrap: wrap; }

    .mktoForm.alt-newsletter .mktoFormRow .mktoFieldDescriptor .mktoFieldWrap input {
        padding: 15px 30px;
        height: 60px;
        border-radius: 10px 10px 0 0;
    }
    .mktoForm.alt-newsletter .mktoButtonRow {
        margin-left: 0;
        min-width: 100%;
    }
    .mktoForm.alt-newsletter .mktoButtonRow .mktoButtonWrap button {
        height: 60px;
        width: 100%;
        border-radius: 0 0 10px 10px;
		box-shadow: 0 20px 40px 0 rgba(0,0,0,0.1);
    }

}

/** Marketo: Request Demo **/
.mktoForm.alt-request-demo .mktoFormRow:not(:last-of-type) { margin-bottom: 30px; }

.mktoForm.alt-request-demo select,
.mktoForm.alt-request-demo input { background-color: #F6F6FB; }

.mktoForm.alt-request-demo .mktoInstruction { display: none; }
.mktoForm.alt-request-demo .mktoButtonRow  {
	max-width: 190px;
	margin: 0 auto;
}


/** Marketo: Partner **/
.mktoForm.alt-partners .mktoFormRow:nth-of-type(7),
.mktoForm.alt-partners .mktoFormRow:nth-of-type(8),
.mktoForm.alt-partners .mktoFormRow:nth-of-type(9),
.mktoForm.alt-partners .mktoFormRow:nth-of-type(10),
.mktoForm.alt-partners .mktoFormRow:nth-of-type(11),
.mktoForm.alt-partners .mktoFormRow:nth-of-type(12),
.mktoForm.alt-partners .mktoFormRow:nth-of-type(13) { display: none; }



