/* Form Elements */
TEXTAREA,
INPUT,
BUTTON,
SELECT {
    resize: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    -webkit-font-smoothing: inherit;
    font: 16px Arial, Verdana, Sans-serif;
    color: #666;
    padding: 10px;
    border: 0;
    border-bottom: 1px solid #d6d6d6;
    background: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

TEXTAREA {
    border: 1px solid #d6d6d6;
}

SELECT {
    position: relative;
    cursor: pointer;
    outline: none;
    -o-text-overflow: "";
    text-overflow: "";
}

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

BUTTON {
    border: none;
    cursor: pointer;
}

INPUT[type="text"],
TEXTAREA,
INPUT[type="password"],
INPUT[type="email"],
SELECT,
BUTTON {
    width: 100%;
}

INPUT[type="checkbox"] {
    border: 1px solid #d6d6d6;
    padding: 0;
    width: 25px;
    height: 25px;
    overflow: hidden;
}

INPUT[type="checkbox"]:focus {
    border-bottom-color: #d6d6d6;
}

INPUT[type="checkbox"]:checked {
    border-color: #000;
    position: relative;
}

INPUT[type="checkbox"]:checked:after,
INPUT[type="checkbox"]:checked:before {
    content: "";
    display: block;
    width: 1px;
    height: 19px;
    background: #000;
    position: absolute;
    top: 2px;
    left: 11px;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

INPUT[type="checkbox"]:checked:before {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

INPUT[type="radio"] {
    padding: 4px;
    line-height: normal;
    vertical-align: middle;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

INPUT[type="submit"],
INPUT[type="reset"],
.button,
.modal-btn {
    text-transform: uppercase;
    display: inline-block;
    background: #000000;
    border-radius: 50px;
    color: #ffffff;
    padding: 15px 40px;
}

INPUT[type="submit"]:hover,
INPUT[type="reset"]:hover,
.button:hover,
.modal-btn:hover {
    color: #ffffff;
    background: #000000;
    opacity: 0.8;
    text-decoration: none;
    cursor: pointer;
}

INPUT:focus,
SELECT:focus {
    border-bottom-color: #000;
}

INPUT:-webkit-autofill,
TEXTAREA:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset;
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #000;
}

::-webkit-input-placeholder {
    color: #666;
}

:-moz-placeholder {
    opacity: 1;
    color: #666;
}

::-moz-placeholder {
    opacity: 1;
    color: #666;
}

:-ms-input-placeholder {
    color: #666;
}

/* External Links */
a[href*="//"]
{
    position: relative;
}
a[href*="//"]:before
{
    content: "";
    display: inline-block;
    position: relative;
    top: 2px;
    width: 15px;
    height: 15px;
    min-width: 15px;
    background: url("../img/external-link.svg") no-repeat center left;
    background-size: 100% auto;
    margin-right: 10px;
}

/* Transitions */
.facebook,
.instagram,
.button,
#kontaktform {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
