* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;

}

*:focus{
    outline: none;
}

body {
    background: url('../img/px_by_Gre3g.png');
}

body.high-contrast-mode * {
    background: white !important;
    color: black !important;
    border-color: black !important;
}

body.high-contrast-mode .tag.selected,
body.high-contrast-mode .clear-tags,
body.high-contrast-mode .year-tag.selected,
body.high-contrast-mode .dropdown-nav.selected {
    background: black !important;
    color: white !important;
}

body.high-contrast-mode #pass{
    border: 2px solid;
}

h1, h2, h3, h4 {
	font-family: 'Share Tech Mono', monospace;
	font-style: normal;
    margin-top: 0;
    margin-bottom: 20px
}

h1 {
  text-transform: uppercase;
  text-align: center;
}

h1:after {
    width: 100%;
    height: 5px;
    content: "";
    display: block;
    background: #218de2;
}

iframe {
    display: block;
    margin: auto;
}


.body-database h1:after {
    background: #f24e4e;
}

.body-archive h1:after {
    background: #f78145;
}

.body-schedule h1:after {
    background: #edb92e;
}

.body-committee h1:after {
    background: #a3a948;
}

.body-cfp h1:after {
    background: #009989;
}

hr {
    margin: 10px;
    background: #218de2;
    border: none;
    height: 3px;
}

.body-database hr {
    background: #f24e4e;
}

.body-archive hr {
    background: #f78145;
}

.body-schedule hr {
    background: #edb92e;
}

.body-committee hr {
    background: #a3a948;
}

.body-cfp hr {
    background: #009989;
}


blockquote {
	display: block;
	border-left: 3px solid #2196F3;
	padding-left: 10px;
	font-size: 1.2em;
	margin-bottom: 20px;
}

p {
	margin-bottom: 20px;
	text-align: justify;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

a {
    color: #2196F3;
    font-weight: bold;
    transition: all 0.3s;
}

a:hover {
	cursor: pointer;
	color: #FF9800;
}

img {
    width: 50%;
    min-width: 200px;
    margin: 0 auto;
    display: block;
}

.pseudo-body{
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.header-title {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-title h1{
    color: white;
    font-size: 3em;
    border: 5px solid white;
    padding: 5px 10px;
    background: #212121;
    margin-bottom: 15px;
}

.header-title h1:after{
    background: white;
    position: absolute;
    width: 100vw;
    top: 55px;
    height: 5px;
    content: "";
    display: block;
    left: 0;
    z-index: -1;
}

.outer-container{
    background: #2d2d2d;
    color: white;
    max-width: 1100px;
    width: 90%;
    margin: 0px auto;
    box-shadow: 0 0 10px 10px rgba(0,0,0,0.5);
    flex-grow: 1;
}

.outer-container:before {
    content: "";
    width: 100%;
    height: 50px;
    background: #212121;
    display: block;
    position: absolute;
    left: 0;
    z-index: -1;
    top: 180px;
}

.main-container {
    background: #2d2d2d;
    color: white;
    max-width: 1100px;
    width: 100%;
    padding: 25px 50px;
    margin: 0px auto;
}

.editable {
    position: relative;
    padding: 20px;
    background: white;
    color: #212121;
    border-radius: 5px;
    margin: 10px -23px;
    border: 3px solid #e2e3ee;
    transition: all 0.3s;
}

.editable * {
    color: #212121 !important;
}

.editable td,
.editable td * {
    color: #ffffff !important;
}

.subtitle.editable {
    padding: 5px 20px;
    margin-top: 0;
}

.subtitle p{
    font-family: 'Share Tech Mono', monospace;
    color: white;
    font-size: 1.2em;
    margin: 0;
    text-align: center;
}

.medium-editor-placeholder:after{
	color: #a5a7b8 !important;
	margin: 0 !important;
}

.editable:focus{
	outline: none;
	border: 3px solid #2196f3;
}

.modified {
	border: 3px solid #9e4d4d;
	background: #eee2e2;
}

.modified:after {
    content: "unsaved changes";
    position: absolute;
    bottom: -6px;
    right: 30px;
    font-family: 'Share Tech Mono', monospace;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    color: #9e4d4d;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    background: white;
    line-height: 8px;
}

.nav {
    background: #212121;
    padding: 0;
    margin: 0;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}

.nav-bar{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0;
    margin: auto;
    max-width: 1100px;
    width: 90%;
}

.nav-item {
    overflow: hidden;
    color: white;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2em;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
}

.nav-item.selected,
.nav-item:hover {
	/*color: #9fd4ff;*/
    color: #212121;
	cursor: pointer;
}

.nav-item:after {
    background: #218de2;
    content: "";
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    height: 60px;
    overflow: hidden;
    z-index: 0;
    transition: all 0.3s cubic-bezier(.75,0,.35,1.5);
}

.nav-item::before {
    background: #218de2;
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    overflow: hidden;
    z-index: 0;
}

#database:before,
#database:after {
    background: #f24e4e;
}
#past:before,
#past:after {
    background: #f78145;
}
#schedule:before,
#schedule:after {
    background: #edb92e;
}
#committee:before,
#committee:after {
    background: #a3a948;
}
#call:before,
#call:after {
    background: #009989;
}

.nav-item.selected:after,
.nav-item:hover:after {
	top: 0px;
}

.nav-item li {
    font-family: inherit;
    z-index: 1;
    margin: 0;
    text-align: center;
}

.login-container {
    position: fixed;
    right: 10px;
    top: 5px;
    z-index: 999;
}

.login-container form {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2d2d2d;
    position: absolute;
    right: 0;
    width: 286px;
    border-bottom-right-radius: 20px;
    height: 40px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    z-index: 90;
    padding-right: 40px;
    transform-origin: 100% 50%;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}

.login-container form.open {
    transform: scale(1);
}

#pass {
    max-width: 150px;
    width: 100%;
    display: inline-block;
    border-radius: 3px;
    height: 20px;
    text-align: center;
    margin: 5px;
    border: none;
}

#pass:focus {
    outline: none;
}

#login {
    font-weight: bold;
    max-width: 60px;
    width: 100%;
    background: #ff9800;
    border: none;
    color: #212121;
    font-family: 'Share Tech Mono', monospace;
    height: 20px;
    border-radius: 3px;
    margin: 5px;
    transition: all 0.3s;
}

#login:hover {
    background: #c87d0e;
    border: none;
    color: #212121;;
    cursor: pointer;
}

.login-icon {
    position: absolute;
    height: 40px;
    width: 40px;
    background: #212121;
    display: flex;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
    z-index: 99;
    right: 0;
    top: 0;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}

.login-icon:after{
    background: white;
}

.login-icon:before{
    background: none;
}

.login-icon:hover {
	cursor: pointer
}

.login-icon i {
	z-index: 1;
}

#save {
    overflow: hidden;
    border: none;
    border-radius: 30%;
    width: 40px;
    height: 40px;
    background: #FF9800;
    font-size: 20px;
    color: white;
    position: fixed;
    top: 105px;
    right: 10px;
    z-index: 999;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}

#save i {
	z-index: 1;
}

#save:hover,
#save:focus {
	outline: none;
	cursor: pointer;
	color: #FF9800;
}

#save:after {
    background: #ffffff;
    content: "";
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    height: 60px;
    overflow: hidden;
    z-index: -1;
    transition: all 0.3s cubic-bezier(.75,0,.35,1.5);
}

#save:hover:after,
#save:focus:after {
	top: 0px;
}

#high-contrast-container{
    position: fixed;
    left: 10px;
    top: 5px;
    width: 40px;
    height: 40px;
    z-index: 99;
    border-radius: 30%;
}

#high-contrast-tooltip{
    position: absolute;
    display: none;
    font-weight: bold;
    background: white;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px 2px rgb(0 0 0 / 50%);
    white-space: nowrap;
    top: 0;
    left: 55px;
}

#high-contrast-tooltip:before{
    content: "";
    position: absolute;
    width: 0px;
    left: -20px;
    display: block;
    height: 0px;
    border: 10px solid transparent;
    border-right: 10px solid white;
}

#high-contrast-container:hover #high-contrast-tooltip {
    display: block;
}

#help,
#high-contrast {
    position: fixed;
    height: 40px;
    width: 40px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
    z-index: 99;
    right: 10px;
    top: 55px;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
    font-size: 26px;
    text-decoration: none;
    font-weight: normal;
    color: #212121;
    overflow: hidden;
}

#help:hover,
#help:focus,
#high-contrast:hover,
#high-contrast:focus {
    outline: none;
    cursor: pointer;
    color: #ffffff;
}

#help:after,
#high-contrast:after {
    background: #212121;
    content: "";
    width: 100%;
    position: absolute;
    top: 50px;
    left: 0;
    height: 60px;
    overflow: hidden;
    z-index: -1;
    transition: all 0.3s cubic-bezier(.75,0,.35,1.5);
}

#help:hover:after,
#help:focus:after,
#high-contrast:hover:after,
#high-contrast:focus:after {
    top: 0px;
}

#high-contrast {
    position: absolute;
    left: 0px;
    top: 0px;
}

.hiddenForm textarea {
	display: none;
}

table {
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
}

tr:nth-child(even) {
    background: #2d2d2d;
}

tr:nth-child(odd) {
    background: #212121;
}

th {
    background: #218de2;
    color: #212121;
    padding: 10px 20px;
    font-family: 'Share Tech Mono', monospace;
}

.body-database th {
    background: #f24e4e;
}

.body-archive th {
    background: #f78145;
}

.body-schedule th {
    background: #edb92e;
}

.body-committee th {
    background: #a3a948;
}

.body-cfp th {
    background: #009989;
}

td {
    padding: 10px 20px;
}

.archive-organisers * {
    text-align: center;
}

.footer {
    background: #212121;
    padding: 20px;
    text-align: center;
    margin: 0;
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
    font-size: 0.6em;
    color: white;
}

.footer a {
    font-weight: normal;
    color: #abdaff;
}
.footer a:hover {
    cursor: pointer;
    color: #FF9800;
}

.dropdown-drawer {
    display: flex;
    justify-content: space-evenly;
}

.dropdown {
    /*position: relative;*/
}

.database-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.tags-dropdown {
    position: absolute;
    background: #2d2d2d;
    /* flex-direction: column; */
    border-radius: 5px;
    padding: 10px;
    border: 2px solid #ffffff;
    z-index: 100;
    left: 50%;
    transform: translate(-50%, 0);
    box-shadow: 0 0 5px 2px rgba(0,0,0,0.5);
    max-width: 1000px;
    width: 100%;
}

.tags-dropdown.hidden {
    display: none;
}

.tag-title,
.year-tag-title {
    margin: 10px auto;
    display: block;
    text-align: center;
}

.tag,
.clear-tags,
.year-tag,
.dropdown-nav {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    background: #212121;
    color: #ffffff;
    border-radius: 3px;
    border: 2px solid #ffffff;
    text-align: center;
}

.tag.selected,
.clear-tags,
.year-tag.selected,
.dropdown-nav.selected {
    background: #ffffff;
    color: #212121;
}

.tag.selected:hover,
.clear-tags:hover,
.year-tag.selected:hover,
.dropdown-nav.selected:hover {
    cursor: pointer;
    background: #f24e4e;
    border-color: #f24e4e;
}

.tag:hover,
.year-tag:hover,
.dropdown-nav:hover {
    cursor: pointer;
    background: #495157;
}

.document.hidden,
.document-accordion.hidden {
    display: none;
}

.document {
    position: relative;
    border-radius: 5px;
    border: 2px solid #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    background: #212121;
}

.document .year {
    position: absolute;
    top: 20px;
    right: 20px;
}

.document .title,
.document .authors {
    margin: 0;
    padding-right: 40px;
}

.read-more {
    color: #f24e4e;
    font-weight: bold;
    transition: all 0.3s;
}

.read-more:hover {
    cursor: pointer;
    color: #ffffff;
}

.document-accordion {
    margin-top: 20px;
}

.label {
    padding: 3px 10px;
    margin: 10px 5px;
    display: inline-block;
    background: #495157;
    color: white;
    border-radius: 8px;
    border: 2px solid #495157;
    font-size: 0.8em;
}

.label:first-of-type{
    margin-left: 0;
}

.bib-code {
    background: #2d2d2d;
    display: inline-block;
    font-family: monospace;
    border-radius: 8px;
    padding: 10px;
    box-shadow: inset 0 0 5px 2px rgba(0,0,0,0.5);
}

.pc img,
.organisers img {
    max-width: 250px;
    display: inline;
    float: left;
    margin-right: 10px;
}

@media only screen and (max-width: 900px) {
    .outer-container {
        width: 100%;
    }
}


@media only screen and (max-width: 700px) {
    .nav-bar {
        height: 300px;
        width: 100%;
        flex-direction: column;
    }

    .nav-item {
        width: 100%;
    }
    .login-icon{
        width: 40px;
    }

    .subtitle p{
        font-size: 1em;
    }

    .header-title h1 {
        font-size: 2.5em;
    }
    .main-container{
        padding: 25px 50px 25px 25px;
    }
    .dropdown-drawer{
        flex-wrap: wrap;
    }
    #high-contrast-container {
        right: 0;
        left: auto;
        top: 130px;
    }
    .login-container {
        position: fixed;
        right: 0px;
        top: 175px;
        z-index: 999;
    }
    #help{
        top: 220px;
        right: 0;
    }
    #save{
        right: 0;
        top: 265px;
    }
}