:root{
    --footer_width: 50px;
    --footer_color: hsl(200,0%,20%);
    --hover_color: rgba(0,0,0,0.06);
	scrollbar-width: thin;
}

@font-face{
    font-family: 'Montserrat';
    font-weight: 400;
    src: url('apis/Montserrat/Montserrat-Regular.ttf') format('truetype');
}

* {
    //font-family: 'Karla', sans-serif;
    font-family: Avenir, 'Montserrat', sans-serif;
	scrollbar-width: thin;
	scrollbar-color: transparent transparent !important;
}

*:hover{
	transition: scrollbar-color 200ms ease;
	scrollbar-color: rgba(0,0,0,0.2) transparent !important;
}


h1{
	margin:10px 0 5px 0;
}

body{
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap:wrap;
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: auto;
}

.center {
    min-height: calc(100% - var(--footer_width));
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow:auto;
}

div.card {
	overflow: hidden;
    max-width: 300px;
	width: 300px;
    background-color: #eee;
    /*background: rgba(17,89,109,0.05);*/
    margin: 20px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.9);
}

.add_choice{
	width: 400px;
	margin: 0 20px 0 20px;
	padding: 15px;
	max-width: calc(100% - 70px);
}

.hover:hover{
    background: var(--hover_color);
}

.tabbar{
	display:flex;
	width:100%;
	justify-content: space-between;
}

.tabbar .item{
	width:100%;
	text-align: center;
	padding: 10px;
	font-weight: bold;
	font-size: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.tabbar .item img{
	width: 50px;
	height: 50px;
}
.tabbar .item.inactive{
	cursor: pointer;
    background: var(--hover_color);
}
.tabbar .item.inactive:hover{
    background: rgb(232,232,232);
}
.button{
    font-size: 15px;
    cursor: pointer;
    -webkit-appearance: none;
	color: rgb(0,0,0);
	
	border: 1px;
	border-style: solid;
	border-color: var(--border_color);
    border-radius: 5px;
	background-color: rgba(256,256,256);
	
	border-color: rgba(0,0,0,0.1);
	background-color: rgba(0,0,0,0.08);
}
.button:hover{
	background-color: rgb(232,232,232);
}
.footer {
    background: var(--footer_color);
    color: rgb(255,255,255);
    width: calc(100% - 10px);
    min-height: calc(var(--footer_width) - 15px);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 16px;
    padding: 5px 5px 10px 5px;
    margin: 0;
}

.footer a{
    margin: 0;
    padding: 5px 5px 0px 5px;
    max-width: fit-content;
}
.footer div{
    margin: 0;
    padding: 5px 5px 0px 5px;
    max-width: fit-content;
}


@media (hover:hover){
::-webkit-scrollbar {
	background-color: rgba(0,0,0,0);
	width: 5px;
}
::-webkit-scrollbar-thumb {
	background: var(--hover_color);
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(0,0,0,0.12);
}
}

a{
    color: inherit;
    text-decoration: inherit;
	cursor: pointer;
}

i{
	border: solid white;
	display: inline-block;
	border-width: 0 3px 3px 0;
	padding: 6px;
	border-color: rgb(100,100,100);
	//margin: 0 2px 2px 0;
}

/* TODO: move this to input_style.css */
.editor-toolbar:before{
	margin-bottom: 4px;
}
.editor-toolbar:after{
	margin-top: 4px;
}

.editor-toolbar{
	padding: 0 5px;
}

.editor-toolbar button{
	margin: 0 2px;
	width: 30px;
	height: 30px
}

button .fa{
	font-size:16px;
	color: rgb(50,50,50);
}

button i{
	font-size: 17;
	border-width: 0;
}

.rangle {
	transform: translateX(-3px) translateY(-3px) rotate(-45deg);
	-webkit-transform: translateX(-3px) translateY(-3px) rotate(-45deg);
}

.uangle {
	border: solid black;
	border-width: 0 3px 3px 0;
	transform: translateY(5px) rotate(-135deg);
	-webkit-transform: translateY(5px) rotate(-135deg);
}
.dangle {
	border: solid black;
	border-width: 0 3px 3px 0;
	transform: translateY(-2px) rotate(45deg);
	-webkit-transform: translateY(-2px) rotate(45deg);
}

.remark{
    color:red;
    min-width:100%;
    font-size:13px;
}
