form { font-size: 16px; } input[type="text"] { border: 0 none; } input[type="submit"] { min-width: 180px; padding: 15px; color: $color-main; background-color: transparent; font-weight: bold; text-align: center; text-transform: uppercase; border: 1px solid $color-main; } .newsletter input[type="text"], input[type="submit"] { border-radius: 30px; } input[type="submit"] { cursor: pointer; &:hover { color: $color-light; background-color: $color-main; } } input[type="text"], input[type="number"], input[type="mail"] { padding: 15px; font-size: 15px; border: 0 none; outline-color: #efefef; } textarea { width: 100%; max-width: 100%; margin-top: 30px; margin-bottom: 30px; } .form-row { display: flex; padding-top: 30px; padding-bottom: 30px; } .form-group { display: flex; padding-bottom: 2px; width: 100%; max-width: 100%; border-bottom: solid 1px $color-dark; input[type="text"], input[type="number"], input[type="mail"] { flex-grow: 2; } &:first-of-type { margin-left: 0; } &:last-of-type { margin-right: 0; } } .country, .drom { width: 50%; select { width: 100%; border: none; border-bottom-color: currentcolor; border-bottom-style: none; border-bottom-width: medium; border-bottom: 1px solid black; padding-bottom: 1rem; } } .country { margin-right: 15px; } fieldset { margin-top: 45px; border: 0 none; legend { margin-bottom: 30px; font-weight: bold; } } /*CUSTOM RADIO*/ .radio-label { position: relative; padding-left: 20px; margin-right: 25px; // color:#999999; cursor: pointer; } /* Hide the browser's default radio button */ .radio-label input { appearance: none; } /* Create a custom radio button */ .checkmark { position: absolute; top: 3px; left: 0; right: 10px; height: 12px; width: 12px; background-color: $color-light; border: solid 1px $color-main; border-radius: 50%; } /* On mouse-over, add a grey background color */ .radio-label:hover input ~ .checkmark { background-color: $color-main; } /* When the radio button is checked, add a blue background */ .radio-label input:checked ~ .checkmark { background-color: $color-light; } /* Create the indicator (the dot/circle - hidden when not checked) */ .checkmark:after { content: ""; position: absolute; display: none; } /* Show the indicator (dot/circle) when checked */ .radio-label input:checked ~ .checkmark:after { display: block; } /* Style the indicator (dot/circle) */ .radio-label .checkmark:after { top: 2px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background-color: $color-main; } /*CUSTOM CHECKBOX*/ .ck-button { margin-bottom: 45px; } .ck-button label { margin-right: 10px; &:last-child { margin-right: 0; } } .ck-button label span { padding: 10px; margin-right: 10px; border: 1px solid $color-dark; border-radius: 40px; cursor: pointer; &:last-child { margin-right: 0; } &:hover { color: $color-light; border-color: $color-main; background-color: $color-main; } } .ck-button label input { position: absolute; left: -20px; } .ck-button input:checked + span { background-color: $color-main; color: $color-light; border-color: $color-light; } /*CUSTOM FORM*/ .swap { visibility: hidden; } .swap:after { cursor: pointer; visibility: visible; content: ""; font-size: calc(var(--swap-size) - 2.5rem); display: inline-block; width: var(--swap-size); height: var(--swap-size); padding: 0.5rem; border: 1px solid $color-main; border-radius: 0.4em; background-color: $color-light; display: flex; justify-content: center; align-items: center; } .swap:checked:after { content: ""; background-color: $color-main; } @media screen and (min-width: 800px) { .newsletter input[type="text"] { width: 430px; } .form-group { align-items: center; margin-left: 15px; margin-right: 15px; } } @media screen and (max-width: 799px) { input[type="text"], input[type="submit"] { display: block; margin-left: auto; margin-right: auto; } form, input[type="text"] { width: 100%; max-width: 100%; } input[type="submit"] { margin-top: 25px; } .form-row, .form-group { flex-direction: column; } .form-group { margin-bottom: 25px; &:last-child { margin-bottom: 0; } } .ck-button label span { display: inline-block; margin-bottom: 5px; } }