
@font-face
{
    font-family:  OpenSans;
    src: url("fonts/OpenSans-Regular.ttf") format('truetype'),
         url("fonts/OpenSans-Bold.ttf") format('truetype')
}

body
{
    font-family: OpenSans, Arial;
    scrollbar-width: thin;
}

::placeholder
{
    color: #f0f0ff;
    opacity: 1;
}

.webpage
{
    display: grid;
    grid-template-rows: auto auto;
    height: 100%;
}
.headerleft
{
    margin-left: calc(50% - 200px);
    font-size: 300%;
    font-weight: bold;
    color: white;
}
.headerright
{
    font-size: 300%;
    font-weight: bold;
    color: #0D2C99;
}

.pagecontainer
{
    height: calc(100% - 20px);
    margin-top: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.mainwindow
{
    position: absolute;
    background-image:  url('/images/webpages/background1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    left: px;
    top: 0px;
    margin: 0px;
    height: 100vh;
    padding-bottom: 1rem;
}

.mainfooter
{
    position: absolute;
    font-size: 10px;
    bottom: 0;
    width: 100%;
    height: 1rem;
    color: white;
    text-align: center;
    background-color: #0D2C99;
}

.dataobject
{
    color: white;
    background-color: #0D2C99;
    border-radius: 15px;
}
.dataobjecttransparent
{
    color: white;
    background-color: rgba(13, 44, 153, 0.7);
    border-radius: 15px;
}
.img_darkmode
{
    filter: brightness(100%);
}

.flexcontainervertical
{
    display: 		  flex;
    flex-direction:	  row;
    justify-content:  space-between;
}
.flexcontainervertical > div
{
    flex-shrink:	  0;
    padding:		  0px 0px;
    margin:			  0px 0px;
    text-align:		  left;
    border:			  none;
    height:			  100%;
    overflow:		  hidden;
}
.flexcontainervertical_left
{
    display: 		  flex;
    flex-direction:	  row;
    justify-content:  start;
}

.noborder
{
    border: none;
    border-color: transparent;
    background-color: transparent;
}

a
{
    color: white;
}
a:hover
{
    color: yellow;
}
.no_underline
{
    text-decoration:none;
}

a.chart
{
    color: white;
    text-decoration:none;
}
a.chart:hover
{
    background-color: white;
    color: #0D2C99;
}

.textblock
{    
    white-space: pre-wrap;
    overflow-y: auto;
    scrollbar-width: thin;
    font-size: 14px;
    border: none;
}
.edittextblock
{
    color: black;
    background-color: #D7D7DC;
    white-space: pre-wrap;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    font-size: 14px;
    border: 3px #E93434;
    font-family: OpenSans;
}
.imageform
{
    margin: 10px;
}
.imagepreview
{
    width: 400px;
    border-radius: 5px;
    margin: 10px;
    display: none;
}

.editbuttonbg
{
    display: inline-block;
    height: 40px;
    width: 40px;
    vertical-align: middle;
    background-color: #2EC662;
    border-radius: 20px;
}
.editbutton
{
    margin: 7px 10px 10px 8px;
    width: 24px;
    cursor: pointer;
}
.savebutton
{
    color: white;
    background-color: #7EA2D6;
    border-radius: 7px;
    margin-left: 10px;
    cursor: pointer;
}
.uploadbutton
{
    color: white;
    background-color: #7EA2D6;
    border-radius: 7px;
    margin: 5px 0px;
    cursor: pointer;
}
.cancelbutton
{
    color: white;
    background-color: #2EC662;
    border-radius: 7px;
    cursor: pointer;
}
.deleteiconbg
{
    display: inline-block;
    height: 30px;
    width: 30px;
    vertical-align: middle;
    background-color: #E93434;
    border-radius: 20px;
}
.deleteicon
{
    margin: 6px 10px 10px 7px;
    color: white;
    width: 15px;
}
.deletebutton
{
    color: white;
    background-color: #E93434;
    cursor: pointer;
    border-radius: 7px;
}

.tooltip
{
    position: relative;
    display: inline-block;
}
.tooltip .tooltipwarningtext
{
    display:		  none;
	width:			  200px;
	background-color: #E93434;
	color:			  yellow;
	font-weight:	  bold;
	text-align:		  center;
	padding:		  3px 3px;
	border-radius:	  10px;
	left:			  105%;
	top:			  10%;
	position:		  absolute;
}
.tooltip:hover .tooltipwarningtext
{
    display: initial;
	transition-delay: 1s;
}
.tooltip .tooltiptext
{
    display:		  none;
	width:			  120px;
	background-color:  #0B131E;
	color:			  color: white;
	font-weight:	  bold;
	text-align:		  center;
	padding:		  3px 3px;
	border-radius:	  4px;
	left:			  90%;
	bottom:			  80%;
	position:		  absolute;
    z-index:          100;
}
.tooltip:hover .tooltiptext
{
    display: initial;
	transition-delay: 1.5s;
}

.onlinetable
{
    border: 1px solid white;
    border-radius: 7px;
    margin-bottom: 10px;
    font-size: 13px;
}
.th_left
{
    width: 80px;
    color: #0D2C99;
    background-color: white;
    border-radius: 3px 0 0 0;
}
.th_middle
{
    width: 60px;
    color: #0D2C99;
    background-color: white;
}
.th_right
{
    width: 76px;
    color: #0D2C99;
    background-color: white;
    border-radius: 0 3px 0 0;
}

.pointer
{
    cursor: pointer;
}

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
