@charset "UTF-8";
@import 'variables.scss';

/* reset
------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    text-size-adjust: none;
    overflow-x: hidden; /* for ios*/
}

html, body {
    height:auto;
    min-height:100%;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;

    &:hover {
        text-decoration: none;
    }

    @media (min-width: 1025px) {
        &[href^="tel"] {
            pointer-events: none;
        }
    }
}

li {
    list-style: none;
}

p + p {
    margin-top: 16px;
}

img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
}

svg:not(:root) {
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    pointer-events: none;
}

[class*="icon--"] {
    width: 1em;
    height: 1em;
    user-select: none;
    fill: currentColor;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: inherit;
    font-weight: normal;
}

iframe {
    vertical-align: bottom;
    border: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

textarea {
    display: inline-block;
    overflow: auto;
    vertical-align: bottom;
    resize: vertical;
}

textarea,
[type="url"],
[type="text"],
[type="email"],
[type="search"],
[type="password"] {
    vertical-align: bottom;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-appearance: none;
}

label,
[type="radio"],
[type="submit"],
[type="checkbox"],
button:not(:disabled) {
    cursor: pointer;
}

button,
[type="submit"] {
    color: inherit;
    font-size: inherit;
    background: none;
    border: 0;
    -webkit-tap-highlight-color: transparent;
}

::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.readonly,
[readonly] {
    pointer-events: none;
}

.disabled,
[disabled] {
    /* opacity: .3;*/
    pointer-events: none;
}

::-webkit-search-decoration,
::-webkit-search-cancel-button,
::-webkit-search-results-button,
::-webkit-search-results-decoration {
    display: none;
}

label {
    margin: 0;
}

textarea, input {
    background-color: $color-white;
}
