@import url("../fonts/sans.css");
@import url("../fonts/inconsolata.css");

:root {
    /* Colors */
    --foreground-default: #08090a;
    --foreground-secondary: #41474d;
    --foreground-tertiary: #797c80;
    --foreground-quaternary: #f4faff;
    --foreground-light: #41474d;

    --background-default: #ffffff;
    --background-secondary: #a3b9cc;
    --background-tertiary: #5c7d99;
    --background-light: #ffffff;

    --primary-default: #5dfdcb;
    --primary-dark: #24b286;
    --primary-light: #b2ffe7;

    --error-default: #ef3e36;
    --error-dark: #800600;
    --error-light: #ffcecc;

    /* Shadows */
    --background-tertiary-shadow: 0 1px 3px 0 rgba(92, 125, 153, 0.5);
}
html {
    position: relative;
    min-height: 100%;
}
body{
    background-color: #efefef;
    background: var(--background-default);
    margin: 0 0 50px;
    padding: 1rem 1rem 5rem;
    font-family: "PT Sans", sans-serif;
}
span.spacing{
    margin-right: 10px;
}
input.custom-width{
    width: 200px;
}
input.spacing{
    margin-right: 5px;
}
div.pad{
    padding-bottom: 5px;
    padding-top: 5px;
}
h2.center{
    text-align: center;
}
div.center{
    text-align: center;
}
header.header{
    background: lightblue;
    padding-top: 1px;
    padding-bottom: 10px;
}
div.link{
    margin-top: -14px;
}
div.alert{
    z-index: 1;
    right: 0;
}
meter.style{
    width: -webkit-fill-available;
    height: 25px;
}
.counter-container {
    position: relative;
}
.counter-container > span {
    -moz-transition: opacity 0.25s ease-in-out;
    -o-transition: opacity 0.25s ease-in-out;
    -webkit-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
    opacity: 0;
}
.counter-container input:focus ~ span {
    opacity: 1;
}
.counter-container textarea:focus ~ span {
    opacity: 1;
}
.footer {
    position: absolute;
    bottom: 0;
    background: #F2F2F2;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
}
.fab {
    padding: 5px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    color: black;
}
.fab:hover {
    opacity: 0.7;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #18216D;
}

input:focus + .slider {
    box-shadow: 0 0 1px #18216D;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle-label {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: -2rem;
}

.btn-calculate {
    width: 100%;
    color: #ffffff;
    background: #18216D;
    border-color: #18216D;
}

.value {
    border-bottom: thin double #18216D;
    text-align: center;
}

label {
    font-weight: normal;
}

.title {
    text-align: center;
}