@font-face {
    font-family: 'BebasNeueRegular';
    src: url('font/BebasNeueRegular.otf');
    font-weight: normal;
    font-style: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: black;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

img{
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.results img{
    max-width: 320px;
}

.bebas {
    font-family: 'BebasNeueRegular';
}

body {
    display: block;
    margin: auto;
    padding: 0;
    border: 0;
    overflow: auto;
    overflow-y: scroll;
}

header,
footer {
    display: block;
    width: 50%;
    height: auto;
    margin: auto;
    padding: 100px 10px 0 10px;
    border: 0;
    text-align: center;
}

section {
    display: block;
    width: auto;
    height: auto;
    margin: auto;
    padding: 50px 10px;
    border: 0;
    text-align: center;
}

.main-title {
    display: block;
    width: auto;
    height: auto;
    font-size: 50px;
    line-height: normal;
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0;
}

.main-title img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.tabs {
    display: block;
    width: 800px;
    height: auto;
    margin: 0 auto;
    padding: 10px 0;
    border: 0;
    letter-spacing: -0.5em;
}

.tabs>* {
    letter-spacing: normal;
}

.tabs .tabs-link {
    display: inline-block;
    vertical-align: middle;
    margin: 5px;
    width: auto;
    padding: 5px 10px;
    border: 0;
    background-color: #dddddd;
    color: #000000;
    outline: none;
    cursor: pointer;
    -webkit-appearance: normal;
    -moz-appearance: normal;
    appearance: normal;
    text-decoration: none;
}

.tabs .tabs-link:hover {
    opacity: 0.8;
}

.tabs .tabs-link.active {
    background-color: #E3003D;
    color: #ffffff;
}


/* Tabby animation */

.tabs-pane.active {
    -webkit-animation: fadeEffect 0.75s;
    -moz-animation: fadeEffect 0.75s;
    animation: fadeEffect 0.75s;
}

@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* ================= */


/* Tabby paramètres */

.js-tabby .tabs-pane {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.js-tabby .tabs-pane.active {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.js-tabby .tabs-pane:focus {
    outline: none;
}


/* ================= */

.content {
    display: block;
    width: 880px;
    height: auto;
    margin: 0 auto;
    padding: 0;
    border: 0;
    text-align: left;
}

.content .note{
    font-size: 80%;
    color: #E3003D;
}

.content form>div {
    display: block;
    width: auto;
    height: auto;
    margin: 20px 0;
    padding: 0;
    border: 0;
}

.content form label {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    border: 0;
}

.content form .info {
    position: absolute;
    font-size: 13px;
    font-style: italic;
    color: #555;
    margin-top: -16px;
}

.content form .inline-span {
    display: inline-block;
    vertical-align: middle;
}

.content form input {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: auto;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #333;
    background-color: white;
    font-size: 18px;
}

.content form input[type='text'] {
    font-size: 20px;
}

.content form input[type="file"] {
    border: 0;
    cursor: pointer;
}

.content form input[type="submit"] {
    background-color: #222222;
    color: white;
    margin-left: 10px;
    cursor: pointer;
}

.content .count-percent{
    padding: 5px 10px;
    border: 1px solid #dddddd;
    display: inline-block;
    vertical-align: middle;
}

.content button {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: auto;
    margin: 0;
    padding: 5px 10px;
    border: 0;
    text-decoration: none;
}

button {
    -webkit-appearance: normal;
    -moz-appearance: normal;
    appearance: normal;
    background: none;
    border: 0;
    cursor: pointer;
}

button[id*='lighten'] {
    background-color: #dddddd;
    color: black;
}

button[id*='darken'] {
    background-color: #222222;
    color: white;
}

button.dalto-reset {
    background-color: #222222;
    color: white;
}

.content form button:hover,
.content form input:hover {
    opacity: 0.8;
}

.square-bg-result {
    display: inline-block;
    vertical-align: middle;
    width: 35px;
    height: 35px;
    margin: 0 10px;
    border: 1px solid #dddddd;
}

.settings-title,
.results-title {
    display: block;
    width: auto;
    height: auto;
    font-size: 25px;
    line-height: normal;
    margin: 50px 0 25px 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #E3003D;
    color: #E3003D;
}

.results .result-line {
    display: block;
    width: auto;
    height: auto;
    margin: 20px 0;
    padding: 0;
    border: 0;
    text-align: left;
}

.results span {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #dddddd;
    background-color: white;
}

.results .buttons-dalto{
    margin: 5px 10px;
    padding: 0;
    border: 0;
    background: none;
}

.results i {
    font-style: normal;
    font-weight: bold;
}

.results-inline {
    letter-spacing: -0.5em;
}

.results-inline>* {
    letter-spacing: normal;
}

.results-inline .result-line {
    display: inline-block;
    vertical-align: middle;
    width: -webkit-calc(384px - 10px);
    width: -moz-calc(384px - 10px);
    width: calc(384px - 10px);
}

.results-inline .result-line:nth-child(2n+1) {
    margin-right: 20px
}

.results-inline span {
    width: 100%;
}

.results .results-dalto {
    margin-left: 10px;
    margin-right: 10px;
}

.results .dalto-image-result {
    display: block;
    width: 320px;
    height: auto;
    margin: 10px auto 0 auto;
}

#contrast-checker-example {
    border: 1px solid #dddddd;
}