body{
	width: 75%;
	margin: auto;
	color: #000000;
	font: 14px Arial, sans-serif;
	background-color: #fcfcff;
	word-break: keep-all;
	overflow-wrap: break-word;
}

main{
	background-color: #fdfffd;
	padding: 30px;
	border-radius: 30px;
	border: 1px solid black;
	min-height: 640px;
	line-height: 1.5em;
    overflow-wrap: anywhere;
}

a{
    text-decoration: none;
    display: inline;
	color: #0000ff;
}

a:hover{
	text-decoration: underline;
}

/* MENU */
/* OVERALL */

li.mhrz, li.mvrt, nav ul li {
    position: relative;
    min-width: 150px;
}

li.mhrz > ul, li.mvrt > ul {
    display: none;
    position: absolute;
}

nav ul li{
    text-align: center;
}

nav ul{
    z-index: 5;
}

nav ul{
    z-index: 5;
}

nav ul li ul{
    z-index: 10;
}

nav ul li ul li ul{
    z-index: 15;
}

nav ul li ul li ul li ul{
    z-index: 20;
}

li.mhrz > ul > li:hover, li.mvrt > ul > li:hover, nav ul li:hover {
    background-color: #fcfcff;
}

li.mhrz:hover > ul, li.mvrt:hover > ul {
    display: flex;
}

li.mhrz > ul > li, li.mvrt > ul > li {
    display: block;
    padding: 10px;
}

li.mhrz a, li.mvrt a, nav ul li a {
    text-decoration: none;
    display: block;
	color: #000000;
    font-size: 16px;
	text-align: left;
	padding: 5px 5px;
	margin: 0px;
}

/* LV1 */

nav ul {
    list-style-type: none;
	padding: 0px;
	background-color: #cff5ff;
}

nav > ul > li {
    display: inline-block;
    position: relative;
    padding: 5px 5px;
    cursor: pointer;
}

/* H -> H */

li.mhrz ul li.mhrz:hover > ul {
    flex-direction: row;
    top: 100%;
    left: 0%;
}

/* H -> V (+LV1) */

li.mhrz ul li.mvrt:hover > ul,  nav ul li.mvrt:hover > ul {
    flex-direction: column;
    top: 100%;
    left: 0%;
    width: 100%;
}

/* V -> H */

li.mvrt ul li.mhrz:hover > ul {
    flex-direction: row;
    top: 0;
    left: 100%;
}

/* V -> V */

li.mvrt ul li.mvrt:hover > ul {
    flex-direction: column;
    top: 0;
    left: 100%;
}

/* *** */

header{
    background-color: #fdfffd;
    padding: 10px;
    border-radius: 50px;
}

header h1{
	display: block;
	text-align: center;
	font-family: "Brush Script MT", cursive;
	font-size: 36px;
	font-style: normal;
	font-variant: normal;
	margin: 0px;
}

main h1{
    font-size: 24px;
}

h1{
    margin-bottom: 40px;
}
h2{
    font-size: 20px;
    margin: 10px;
    margin-left: 0px;
}

header div{
	display: block;
	text-align: center;
	font-family: "Brush Script MT", cursive;
	font-size: 12px;
	font-style: normal;
	font-variant: normal;
	margin: 0px;
}

section{
    margin: 0px 0px 30px 0px;
}

footer, .clear{
	clear: both;
	height: 50px;
	margin: auto;
	margin-top: 30px;
	text-align: center;
}

table.deadline{
    width: 90%;
    max-width: 300px;
    border-spacing: 10px;
    border-collapse: collapse;
}

table.deadline td{
    padding: 5px;
}

table.team{
    width: 90%;
    max-width: 600px;
    border-spacing: 10px;
    border-collapse: collapse;
}

table.team td{
    padding: 5px;
}

td.td100{
    width: 100px;
}

td.td50{
    width: 50px;
}

td.td20{
    width: 20px;
}

table thead tr td{
    font-weight: bold;
}

div{
    margin: 0px;
    padding: 5px;
}

li.li_flags{
    min-width: 0px;
    float: right;
    display: flex;
    flex-direction: row;
}

li.li_flags a{
    display: block-inline;
}

button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

#presentations_options, #presentations_view {
    text-align: center;
    margin: 20px;
}

#presentations_options a button, #presentations_view button{
    min-width: 100px;
    padding: 5px;
    margin: 10px;
}

#presentations_options select{
    padding: 5px;
}

#presentations_view{
    display: none;
}

#presentations_view img{
    width: 90%;
    margin: 10px;
}

/* useful classes */

.clear{
    clear: both;
}

.vtop{
    vertical-align: top;
}

.vmiddle{
    vertical-align: middle;
}

.vbottom{
    vertical-align: bottom;
}

.center{
    text-align: center;
}

.mini{
    font-size: 10px;
}

.bold{
    font-weight: bold;
}

.small{
    font-size: 10px;
    font-weight: normal;
}

.sub{
    vertical-align: sub;
}

.sup{
    vertical-align: super;
}

.nowrap{
    white-space: nowrap;
}

.red{
    color: red;
    font-weight: normal;
}

.red_small{
    color: red;
    font-size: 10px;
    font-weight: normal;
}

.green{
    color: green;
    font-weight: normal;
}

.green_small{
    color: green;
    font-size: 10px;
    font-weight: normal;
}

.black{
    color: black;
    font-weight: normal;
}

.blue2_title{
    color: #0070C0;
    font-weight: bold;
}

.block{
    display: block;
}

.inline{
    display: inline;
}

.hidden{
    display: none;
}

/* */

@media all and (max-width: 1000px){
    body{
        width: 80%;
    }
}

@media all and (max-width: 600px){
    body{
        width: 90%;
    }
}

@media all and (max-width: 350px){
    body{
        width: 100%;
    }
}
