
/* ---- Basic Styling ---- */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    outline: 0;
}
html{
    height: 100%;
    font-family: "CLAASCultivaWeb", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body{
    height: 100%;
    /* max-width: 1280px; */
    margin: 0 auto;
    font-family: "CLAASCultivaWeb", Arial, sans-serif;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    line-height: 20px;
}
h1{
    font-size: 25px;
    line-height: 30px;
    font-weight: normal;
    margin-bottom: 25px;
}
h2{
    font-size: 22px;
    line-height: 27px;
    font-weight: normal;
    margin-bottom: 6px;
}
h3{
    font-family: "CLAASCultivaWeb", Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    margin: 0 0 5px 0;
}
a{
    color: #000;
    text-decoration: underline;
}
a:hover{
    color: #888;
}
p{
    margin-bottom: 16px;
}
b, strong{
    font-family: "CLAASCultivaWeb", Arial, sans-serif;
    font-weight: normal;
}

/* ---- Forms ---- */
.form-2-column:after {
    display: table;
    content: '';
    clear: both;
}
.form-column-left{
    width: 48%;
    float: left;
}
.form-column-right{
    width: 48%;
    float: left;
    margin-left: 4%;
}
.form-column-left-phone{
    width: 110px;
    float: left;
    margin-right: 2%;
}
.form-column-right-phone {
    width: calc(98% - 100px);
    float: right;
}
.form-column-street-nr div {
    display: inline-block;
}
.form-column-street-nr div + div {
    margin-left: 4%;
}
.form-column-street-nr div:first-of-type {
    width: calc(96% - 110px);
}
.form-column-street-nr div:last-of-type {
    width: 110px;
}
.form-row {
    display: block;
    margin-bottom: 20px;
}
.form-row-no-margin {
    display: block;
    margin-bottom: 0;
}

.form-row-operating-data .form-column-left {
    width: 50%;
}

.form-row-operating-data .form-column-right {
    margin-left: 2%;
}

.form-3-column,
.form-4-column {
    display: flex;
    justify-content: space-between;
}

.form-3-column > *,
.form-4-column > * {
    flex: 1;
}

.form-4-column > * {
    padding-right: 1rem;
}

.form-4-column > div:last-of-type {
    padding-right: 0;
}

@media only screen and (max-width: 959px) {
    .form-4-column {
        flex-wrap: wrap;
    }

    .form-4-column > * {
        min-width: 230px;
        padding-right: 0;
    }
}

.form-row-existing-machinery {
    margin-bottom: 1.5rem;
}

.form-row-existing-machinery .form-3-column {
    justify-content: space-between;
}

.form-3-column-number {
    flex: 0 1 8%;
    max-width: 100px;
}

@media only screen and (min-width: 641px) {
    .form-row-existing-machinery .form-3-column-number input {
        padding: 6px 3px;
        text-align: center;
    }
}

.form-3-column-brand {
    flex: 0 1 40%;
}

.form-3-column-model {
    flex: 0 1 48%;
}

.form-column-wrapper {
    margin-bottom: 30px;
}

.form-column-wrapper h3 {
    margin-bottom: 20px;
}

@media only screen and (max-width: 640px) {
    .form-row-existing-machinery .form-3-column > * {
        display: block;
        max-width: none;
        margin-bottom: 20px;
    }
}

.form-column-left-housenumber {
    width: calc(96% - 100px);
    float: left;
    margin-right: 4%;
}

.form-column-right-housenumber {
    width: 100px;
    float: left;
}
.form-column-right-zip {
    width: calc(96% - 100px);
    float: left;
}

.form-column-left-zip {
    width: 100px;
    float: left;
    margin-right: 4%;
}

.form-column-left-phone {
    width: 100px;
    float: left;
}

.form-column-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-column-50 {
    flex: 0 1 50%;
}

@media screen and (max-width: 899px) {
    .form-column-50 {
        flex: 0 1 100%;
    }
}

.form-column-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: auto 1fr;
    grid-template-rows: repeat(5, auto);
    grid-gap: 0 2em;
    max-width : 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.form-column-grid .checkboxContainer label {
    white-space: nowrap;
}

.form-column-50:nth-child(2) .form-column-grid {
    grid-template-columns: auto;
}

@media screen and (max-width: 899px) {
    .form-column-grid {
        grid-auto-flow: row;
    }

    .form-column-50 .form-column-grid,
    .form-column-50:nth-child(2) .form-column-grid {
        grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    }
}

.form-column-left-products {
    width: 66%;
    float: left;
    margin-bottom: 30px;
}

.form-column-left-products .form-column-left {
    width: auto;
}

.form-column-right-products {
    width: 30%;
    margin-left: 4%;
    margin-bottom: 30px;
    float: left;
}

.form-column-left-products .form-column-right {
    margin-left: 4%;
}

@media screen and (max-width: 640px)  {
    .form-3-column,
    .form-column-left-products,
    .form-column-right-products,
    .accordion .form-column-left,
    .accordion .form-column-right {
        display: block;
        width: 100%;
        float: none;
        clear: both;
        margin-left: 0;
    }
}

/* ---- Form Elements ---- */

label{
    display: block;
}
input, select, textarea{
    font-family: "CLAASCultivaWeb", Arial, sans-serif;
    color: #000;
    font-size: 16px;
    line-height: 24px;
}
input[type="text"],
input[type="email"]{
    width: 100%;
    background: #eee;
    border: 1px solid #eee;
    padding: 6px 12px;
}
input[type="text"]:invalid,
input[type="email"]:invalid,
select:invalid{
    box-shadow: none;
}
input[type="text"]:-moz-submit-invalid,
input[type="email"]:-moz-submit-invalid,
select:-moz-submit-invalid {
    box-shadow: none;
}
input[type="text"]:-moz-ui-invalid,
input[type="email"]:-moz-ui-invalid,
select:-moz-ui-invalid {
    box-shadow: none !important;
}
select{
    width: 100%;
    background: #eee;
    border: 1px solid #eee;
    padding: 7px 12px;
    height: 38px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='11px' width='18px'%3E%3Ctext x='0' y='7' fill='gray'%3E%E2%8C%84%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 2em 0.75em;
    background-position: right center;
}
option{
    width: 100%;
    background: #eee;
    padding: 4px 0 0 0;
}
input[type="radio"]{
    background: transparent;
    margin-right: 6px;
}
input[type="checkbox"]{
    background: transparent;
    margin-right: 6px;
}
textarea{
    width: 100%;
    background: #eee;
    border: 1px solid #eee;
    padding: 6px 12px;
    min-height: 120px;
}

/* ---- Template ---- */
#wrapper{
    min-height: 100%;
    margin-bottom: -100px;
}

.page-margin {
    max-width: 960px;
    margin: 0 auto;
}

@media screen and (max-width: 820px) {
    .page-margin {
        width: 100%;
    }
}

#content {
    margin-bottom: 80px;
}

/* ---- Header ---- */
header {
    position: relative;
    margin-bottom: 60px;
    padding: 30px 15px 0;
    overflow: visible;
    z-index: 100;
    background: white;
}

@media only screen and (max-width: 480px) {
    header {
        padding: 15px 15px 0;
    }
}

#logo {
    margin: 0;
    position: relative;
    padding-top: 0px;
    width: 100%;
    height: 60px;
}

#logo img {
    /*float: right;*/
    max-height: 100%;
}

@media only screen and (max-width: 480px) {
    #logo {
        margin: 0 0 10px 0;
        height: 30px;
    }
}

/* ---- Footer ---- */

footer {
    margin-top: auto;
    padding: 10px 15px 30px;
}


/* ---- Responsive Modifications ----*/

@media screen and (max-width: 640px){
    .form-2-column .form-column-left {
        width: 100%;
        float: none;
    }
    .form-2-column .form-column-right{
        width: 100%;
        float: none;
        margin-left: 0;
    }
}

.toggle {
    display: inline-block;
}

.accordion {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.toggle.active + .accordion {
    margin: 20px 0;
    max-height: 999px;
}

/* ---- Buttons ---- */
.button {
    padding: 10px 20px;
    background: #b3c618;
    display: inline-block;
    margin: 10px 0 30px 0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
.button:hover{
    background: #696969;
    color: #fff;
}

.button.btn-gray { 
    background: #f5f5f5;
    color: #303030;
}

.button.btn-gray:hover { 
    background: #dcdcdc;
}

.buttons-center {
    width:100%;
    height: 100%;
    display:flex;
    justify-content:center;
    align-items: center;
}

.buttons-wrapper {
    display:flex;
    flex-direction: column;
}

.buttons-wrapper > input.btn-margin {
    margin-top: 30px;
}

.buttons-wrapper input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.buttons-wrapper label {
    background-color: #999;
    border: 1px solid #999;
    line-height: 40px;
    color: #fff;
    padding: 0 11px;
    margin: 30px 0 0;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

@media (hover: hover) {
    .buttons-wrapper label:hover {
        color: #999;
        background-color: #fff;
        border: 1px solid #999;
    }
}

input[type="number"],
input[type="tel"] {
    width: 100%;
    background: #eee;
    border: 1px solid #eee;
    padding: 6px 12px;
}

.isRequired:after {
    content: "*";
    display: inline-block;
}

.checkboxContainer {
    display: flex;
    margin-bottom: 10px;
}
.forms-nested-checkbox input,
.checkboxContainer input {
    float: left;
    vertical-align: middle;
}

.forms-nested-checkbox label,
.checkboxContainer label {
    vertical-align: middle;
}


/** TRION CSS **/

small {
    color: #696969;
}

small.footnote {
    display: block;
    margin-left: 0.5rem;
    text-indent: -0.5rem;
}

input[type='radio'],
input[type='checkbox'],
input[type='submit'],
input[type='email'],
input[type='text'],
select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
input[type='text'],
input[type='tel'],
input[type='email'],
input[type='submit'],
input[type='checkbox'],
select {
    border-radius: 0 !important;
}
input[type='radio'] {
    border-radius: 100%;
    width: 20px;
    height: 20px;
    min-width: 20px;
}
input[type='checkbox'] {
    width: 100%;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
}
input[type='radio'],
input[type='checkbox'] {
    border: 1px solid rgb(105, 105, 105);
    margin-right: 8px;
    position: relative;
}
input[type='radio']:checked::before,
input[type='checkbox']:checked::before {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #b3c618;
    position: absolute;
    top: 2px;
    left: 2px;
}
input[type='radio']:checked::before {
    border-radius: 100%;
}
fieldset label {
    display: flex;
}

input[type='submit'].button,
.button-link {
    -webkit-appearance: none;
    background: #b3c618;
    border: 1px solid #d7d7d7;
    display: inline-block;
    width: auto;
    padding: 6px 12px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
input[type='submit'].button:hover,
.button-link:hover,
input[type='submit'].button:active,
.button-link:active,
input[type='submit'].button:focus,
.button-link:focus {
    color: #fff;
    background: #b3c618;
    border: 1px solid #b3c618;
    transition: background 0.25s ease-in-out;
}
input[type='submit'].button:disabled {
  opacity: .5;
}

.forms-radio-group-item {
    display: inline-flex;
    margin-right: 45px;
    margin-bottom: 0;
}

legend,
.forms-nested-checkbox-group-item {
    margin-bottom: 20px;
}
.forms-nested-checkbox-group {
    margin-top: 20px;
    margin-bottom: 0;
}
.form-2-column-split-content {
    display: flex;
    justify-content: space-between;
}
.form-2-column-split-content-item {
    width: 46%;
}
.forms-nested-checkbox-group-item {
    list-style: none;
    padding: 0;
    margin-left: 14px;

}

.forms-nested-checkbox-group > .forms-nested-checkbox-group-item:last-of-type {
    margin-bottom: 0;
}

@media only screen and (max-width: 640px) and (min-width: 480px) {
    .form-2-column-split-content {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .forms-radio-group-item {
        display: flex;
        margin-bottom: 20px;
    }
    .form-2-column-split-content {
        display: block;
    }
    .form-2-column-split-content-item {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* validation */
.validate select:invalid,
.validate input[type="text"]:not([name="dealerid"]):invalid,
.validate input[type="tel"]:invalid,
.validate input[type="email"]:invalid {
    border-color: #aa0b25;
}

.validate input[type="checkbox"]:not(:checked) + label:not(.not-required) {
    color: #aa0b25;
}

.validate input[type="date"]:invalid {
    color: #aa0b25;
}

.validate input[type="checkbox"]:not(:checked):is(:required) + span {
    color: #aa0b25;
}

.validate input.toggler[type="checkbox"]:not(:checked):not(:required) + label:not(.not-required) {
    color: inherit;
}

/* dialog */
dialog:not([open]) {
    display: none;
}

dialog {
    margin: auto;
    padding: 1em;
    max-width: 450px;
    font-size: 16px;
    line-height: 1.5rem;
    background: transparent;
}

dialog form {
    padding: 1rem;
    background: #fff;
}

.dialog-footer {
    height: 3rem;
    text-align: right;
}

dialog#privacyPolicy {
    max-width: 1000px;
    background-color: #fff;
    padding: 1rem;
    width: 90vw;
    height: 90vh;
    overflow: hidden;
}

dialog#privacyPolicy iframe {
    width: 100%;
    height: 100%;
}

.dialog-close {
    position: absolute;
    width: 2rem;
    height: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

/* Spinner */
dialog#spinner {
    background: transparent;
    overflow: hidden;
}
.loader {
    border: 12px solid #eee;
    border-radius: 50%;
    border-top: 12px solid #b3c618;
    border-bottom: 12px solid #b3c618;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide stepper on number input */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* list styles */
ul.arrows {
    list-style-type: none;
    margin: 14px 0 14px 0;
    padding: 0;
    overflow: hidden;
}

ul.arrows > li {
    padding: 10px 0 2px 20px;
    margin: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 7 10" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"%3E%3Cpath d="M0 0v2.077l3.84 2.426L0 6.97v2.036l6.959-4.503L0 0Z" fill="%23b2c600"/%3E%3C/svg%3E');
    background-size: 7px 10px;
    background-repeat: no-repeat;
    background-position: left 15px;
}

