
:root {
    --top-bar-lower-width: 5%;
}

body{
	background-color: #17242d;
    color: #efefef;
    font-family: "Sans-serif", Verdana, "Lucida Console";
}

#layout {
	width: 500px;
	height: auto;
	top: 8%;
	left: 50%;
    transform: translateX(-50%);
    position: absolute;
    display: block;
    align-items: middle;
    font-size: 18px;
    font-weight: normal;
}
#layout-center {
	width: 500px;
	height: auto;
	top: 40%;
	left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: block;
    align-items: middle;
    font-size: 18px;
    font-weight: normal;
}


#title {
	text-align: center;
	font-size: 35px;
}

.news-title {
	text-align: center;
	font-size: 35px;
}


.flex-line {
    /* background-color: cadetblue; */
    display: flex;
    width: 100%;
    align-items: center;
    min-height: 230px;
}
.flex-cell {
    display:inline-flex;
    margin: auto;
    text-align: start;
    width: auto;
    height: auto;
}
.flex-cell2 {
    display:inline-flex;
}
.flex-cell3 {
    display:inline-block;
    margin: auto;
}

.top-bar {
    width: 500px;
    min-height: 2em;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    display: flex;
    background-color: #2b495e;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - var(--top-bar-lower-width)) 100%, var(--top-bar-lower-width) 100%);
    /* clip-path: polygon(0% 0%, 100% 0%, calc(100% - var(--top-bar-lower-width)) 99%, calc(101% - var(--top-bar-lower-width)) 100%, calc(1% + var(--top-bar-lower-width)) 100%, var(--top-bar-lower-width) 99%); */
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.top-bar-btn{
    min-width: 80px;
    height: 100%;
    display:inline-block;
    margin: auto;
    padding: 5px;
    text-align: center;
    /* Makes text none selectable */
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}
.top-bar-btn:hover{
    background-color: #597a94;
    font-weight: bold;
}


button {
	background-color: rgba(30, 30, 30, 1);
	border-color: rgba(30, 30, 30, 1);
	color: #fefefe;
	border-radius: 5px;
    overflow: hidden;
    min-width: 50px;
    min-height: 50px;
    padding-left: 7px;
    cursor: pointer;
}
button:hover {
	background-color: rgba(40, 40, 40, 1);
	border-color: rgba(40, 40, 40, 1);
}
button:disabled {
	background-color: rgb(136, 0, 0);
    border-color: rgba(40, 40, 40, 1);
    cursor: not-allowed;
}

a {
    color: #add8e6;
}
a:hover{
    color: #8a2be2;
}

label {
    text-align: start;
    height: 1.5em;
}
space {
    font-size: 1px;
}
