
* {
    box-sizing: border-box;
}

body {
    background-color: #f3f3f3;
    font-family: "adobe-garamond-pro", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4em;
    padding: 0px;
    margin: 0px;
}

.italic {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 400;
    font-style: italic;
}

.semi-bold {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 600;
    font-style: normal;
}

.semi-bold-italic {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 600;
    font-style: italic;
}

.bold {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 700;
    font-style: normal;
}

.bold-italic {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 700;
    font-style: italic;
}

h1, h2, h3, h4 {
    color: #181818;
}

p, label, textarea, input, select {
    color: #282828;
}

select {
    font-family: "adobe-garamond-pro", serif;
    font-weight: 400;
    font-style: normal;
}

button {
    background: none;
    border: none;
    font-weight: 600;
    font-size: 0.75em;
    cursor: pointer;
}

    button.bordered {
        min-height: 54px;
        border: 2px solid #e97c52;
        justify-self: center;
        width: 275px;
        color: #E97C52;
        margin-top: 20px;
    }


.translation.color {
    color: #8A8A8A;
}


.truncate {
    display: inline-block; /* or block/flex — must define a box */
    white-space: nowrap; /* prevent wrapping */
    overflow: hidden; /* hide overflowing text */
    text-overflow: ellipsis; /* show ... when clipped */
}


.action button {
    border: none;
    background: none;
}

.card {
    background-color: #fefefe;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    display: grid;
    padding: 0px;
}

.card.borderless {
    border:none;
}

.shadow {
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.shadow-selected {
    box-shadow: 0 4px 8px rgba(0,0,0,0.07);
}

.long-shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none !important;
}

.controller {
    position: fixed;
    bottom: 9px;
    left: 207px;
    width: calc(100% - 220px);
    background-color: #fefefe;
    border-radius: 0px 0px 6px 6px;
    display: grid;
    align-content: center;
}


a.button {
    align-content: center;
    text-align: center;
    padding: 1px 6px;
}



span.error {
    color: #b83873;
    font-size: 0.75em;
    font-weight: 500;
    padding-left: 3px;
}

input.error {
    border: 1px solid #db5184;
}

ul.error {
    color: #b83873;
}






.form-group {
    position: relative;
    margin: 20px 0;
    display:grid;
}

    .form-group input {
        width: 100%;
        max-width:500px;
        padding: 12px;
        font-size: 0.8em;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
    }

    .form-group label {
        position: absolute;
        left: 12px;
        top: 12px;
        color: #999;
        background: white;
        padding: 0 4px;
        transition: 0.2s ease all;
        pointer-events: none;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label {
        top: -8px;
        left: 8px;
        font-size: 0.7em;
        color: #3f51b5;
    }









@media (max-width:1024px) {
    .controller {
        left: 13px;
        width: calc(100% - 26px);
    }
}


.switch {
    grid-gap: 0px;
    margin-bottom: 24px;
    justify-self: center;
    border-radius: 6px;
    display: grid;
    grid-template-columns: auto auto;
}

    .switch.rounded {
        border-radius: 25px;
    }

    .switch button {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 9px;
        padding-bottom: 9px;
        background-color: #f3f3f3;
        color: #181818;
        border-top: 1px solid #ededed;
        border-bottom: 1px solid #ededed;
        border-left: none;
        border-right: none;
        min-width: 63px;
    }

        .switch button.left {
            border-radius: 6px 0px 0px 6px;
            border-left: 1px solid #ededed;
        }

    .switch.rounded button.left {
        border-radius: 25px 0px 0px 25px;
    }

    .switch button.right {
        border-radius: 0px 6px 6px 0px;
        border-right: 1px solid #ededed;
    }


    .switch.rounded button.right {
        border-radius: 0px 25px 25px 0px;
    }


    .switch button.selected {
        background-color: #E97C52;
        border-color: #E97C52;
        color: #fefefe;
    }
/* Target the range input itself */
input[type="range"] {
    accent-color: #181818;
}
/* Style the track (the line behind the thumb) */
/*input[type="range"]::-webkit-slider-runnable-track {
        height: 6px;
        background: #ccc;
        border-radius: 3px;
    }

    input[type="range"]::-moz-range-track {
        height: 6px;
        background: #ccc;
        border-radius: 3px;
    }*/
/* Style the thumb (the circle) */
/*input[type="range"]::-webkit-slider-thumb {
        appearance: none;
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background: #333;
        cursor: pointer;
        margin-top: -5px;*/ /* Centers thumb vertically on the track */
/*}

    input[type="range"]::-moz-range-thumb {
        height: 16px;
        width: 16px;
        border-radius: 50%;
        background: #333;
        cursor: pointer;
    }*/
