:root{
    --theme-bg-more: rgb(240, 229, 210);
    --theme-bg: rgb(238, 212, 165);
    --theme-bg-less: rgb(216, 194, 152);
    --theme-bg-alt: #d4ab5d;
    --theme-mid: #d19421;
    --theme-fg: #3b1b07;
    --theme-fg-alt: #af5308;
    --theme-accent: rgb(20, 99, 172);
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

html, body {
    display: block;
    border: 0;
    overflow: hidden;
	position: relative;
	width: 100%;
    height: 100%;
    max-height: 100%;
	box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
	color: #333;
    background-color: var(--theme-bg);

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

a {
	color: rgb(0,100,200);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: rgb(0,80,160);
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

input[type="range"] {
	height: 0;
}

button {
    border: none;
    border-radius: 0;
	background: none;
	outline: none;
}

button:disabled {
	color: #999;
}

.col {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}

.end {
    justify-content: flex-end;
    flex-grow: 1;
}

.centered {
    text-align: center;
}

.shrink-0 {
    flex-shrink: 0;
}

.edge_button {
    background-color: var(--theme-bg-alt);
    border: 1px solid var(--theme-bg);
    border-right: none;
    width: 100%;
    height: 100%;
    border-top-left-radius: 999em;
    border-bottom-left-radius: 999em;
    display: flex;
    justify-content: center;
    align-items: center;
}

@font-face {font-family: "Good Times"; src: url("../font/GoodTimes.otf")}

@font-face {
    font-family: 'rings';
    src: url('../font/rings.eot?27974492');
    src: url('../font/rings.eot?27974492#iefix') format('embedded-opentype'),
         url('../font/rings.woff2?27974492') format('woff2'),
         url('../font/rings.woff?27974492') format('woff'),
         url('../font/rings.ttf?27974492') format('truetype'),
         url('../font/rings.svg?27974492#rings') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Scranji";
    src: url('../font/Skranji-Regular.ttf');
}

/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
    font-family: 'rings';
    src: url('./fonts/rings.svg?27974492#rings') format('svg');
}
}
*/

[class^="icon-"]:before, [class*=" icon-"]:before {
    font-family: "rings";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-lock:before { content: '\e800'; } /* '' */
.icon-edit:before { content: '\e801'; } /* '' */
.icon-trash:before { content: '\e802'; } /* '' */
.icon-copy:before { content: '\f0c5'; } /* '' */
.icon-login:before { content: '\e803'; } /* '' */
.icon-check:before { content: '\e804'; } /* '' */
.icon-plus:before { content: '\e805'; } /* '' */
.icon-cross:before { content: '\e806'; } /* '' */
.icon-cog:before { content: '\e807'; } /* '' */

.rhythm_name {
    font-size: 28px;
    line-height: 28px;
    font-family: "Scranji";
    color: var(--theme-fg);
    text-transform: uppercase;
}
