* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Zen Kaku Gothic Antique', sans-serif;

}

*:focus{
    outline: none;
}

body {
    background: url('../img/white-waves.png');
}

body.high-contrast-mode * {
    background: white !important;
    color: black !important;
    border-color: black !important;
}

body.high-contrast-mode *:not(i){
    font-family: Arial !important;
}

body.high-contrast-mode a,
body.high-contrast-mode p,
body.high-contrast-mode h1,
body.high-contrast-mode h2,
body.high-contrast-mode h3,
body.high-contrast-mode h4,
body.high-contrast-mode td,
body.high-contrast-mode th {
    font-family: Arial !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;
}

body.high-contrast-mode #save,
body.high-contrast-mode #high-contrast,
body.high-contrast-mode #help,
body.high-contrast-mode .paper-download,
body.high-contrast-mode .login-icon,
body.high-contrast-mode .login-container form,
body.high-contrast-mode .nav-item,
body.high-contrast-mode .outer-container,
body.high-contrast-mode table,
body.high-contrast-mode tbody,
body.high-contrast-mode td,
body.high-contrast-mode th,
body.high-contrast-mode .document,
body.high-contrast-mode .bib-code,
body.high-contrast-mode .year-tag,
body.high-contrast-mode .read-more {
    border: 2px solid black;
}

body.high-contrast-mode table {
    overflow: auto;
}

body.high-contrast-mode table:after,
body.high-contrast-mode th:before {
    content: none;
}

body.high-contrast-mode * {
    box-shadow: none !important;
    text-shadow: none !important;
}

body.high-contrast-mode h1:after{
    content: none;
}

h1, h2, h3, h4 {
	font-family: 'MuseoModerno', cursive;
	font-style: normal;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.main-container h1:after {
    width: 100%;
    height: 5px;
    content: "";
    display: block;
    background: #F6AC3E;
    margin-top: -19px;
    border-radius: 10px;
}

iframe {
    display: block;
    margin: auto;
}

.body-cfp h1:after {
    background: #F27D61;
}

.body-committee h1:after {
    background: #ED4E85;
}

.body-schedule h1:after {
    background: #E91FA8;
}

.body-archive h1:after {
    background: #7768CE;
}

.body-database h1:after {
    background: #05B0F4;
}

hr {
    margin: 10px;
    background: #F6AC3E;
    border: none;
    height: 3px;
}

.body-database hr {
    background: #05B0F4;
}

.body-archive hr {
    background: #7768CE;
}

.body-schedule hr {
    background: #E91FA8;
}

.body-committee hr {
    background: #ED4E85;
}

.body-cfp hr {
    background: #F27D61;
}


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: #212121;
    font-size: 3em;
    margin-bottom: -9px;
    text-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff;
}

.header-title h1:after{
    background: #e0e0e0;
    position: absolute;
    width: 100vw;
    height: 8px;
    content: "";
    display: block;
    left: 0;
    z-index: -1;
    top: 73px;
    box-shadow: inset 1px 1px 2px #868686, inset -1px -1px 2px #ffffff;
}

.outer-container{
    background: #2d2d2d;
    color: white;
    max-width: 1100px;
    width: 90%;
    margin: 0px auto;
    flex-grow: 1;
    border-radius: 30px;
    background: #e0e0e0;
    overflow: hidden;
    /*box-shadow: 20px 20px 60px #bebebe,*/
                /*-20px -20px 60px #ffffff;*/
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    box-shadow: 5px 5px 20px #bebebe, 
                -5px -5px 20px #ffffff;
}

.main-container {
    /*background: #f3f3f3;*/
    color: #212121;
    max-width: 1100px;
    width: 100%;
    padding: 25px 50px;
    margin: 0px auto;
}

.editable {
    position: relative;
    padding: 20px;
    background: white;
    color: #212121;
    border-radius: 20px;
    margin: 10px -23px;
    border: 3px solid #e2e3ee;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.editable * {
    color: #212121 !important;
}

.editable td,
.editable td * {
    color: #212121 !important;
}

.subtitle.editable {
    padding: 5px 20px;
    margin-top: 0;
}

.subtitle p{
    font-family: 'MuseoModerno', cursive;
    color: #212121;
    font-size: 1.2em;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.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";
    text-transform: uppercase;
    position: absolute;
    bottom: -6px;
    right: 30px;
    font-family: 'MuseoModerno', cursive;
    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: 20px 0 0;
    margin: 0;
}

.nav-bar{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0;
    margin: auto;
    max-width: 1100px;
    width: calc(100% - 40px);
}

.nav-item {
    overflow: hidden;
    color: #212121;
    text-decoration: none;
    font-family: 'MuseoModerno', cursive;
    text-transform: uppercase;
    font-size: 1.2em;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    background: linear-gradient(145deg, #f0f0f0, #cacaca);
    box-shadow: inset 0px 0px 0px #868686, 
                inset 0px 0px 0px #ffffff, 
                5px 5px 10px #bebebe,
                -5px -5px 10px #ffffff;
}

.nav-item.selected,
.nav-item:hover {
	/*color: #9fd4ff;*/
    color: #212121;
	cursor: pointer;
}

.nav-item:hover,
.nav-item:focus {
    box-shadow: inset 4px 4px 8px #868686,
                inset -4px -4px 8px #ffffff,
                0px 0px 0px #bebebe,
                0px 0px 0px #ffffff;
}

.nav-item:after {
    background: #F6AC3E;
    content: "";
    bottom: 6px;
    left: 6px;
    height: 4px;
    position: absolute;
    z-index: 0;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    width: 0;
    border-radius: 10px;
}

.nav-item::before {
    content: "";
    width: calc(100% - 10px);
    position: absolute;
    bottom: 5px;
    left: 5px;
    height: 6px;
    overflow: hidden;
    z-index: 0;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    border-radius: 10px;
    background: #e0e0e0;
    box-shadow: inset 1px 1px 2px #868686, inset -1px -1px 2px #ffffff;
}

.nav-item * {
    transform: scale(1);
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
}

.nav-item:hover *, .nav-item:hover:before, .nav-item:hover:after {
    transform: scale(0.95);
}

#database:after {
    background: #05B0F4;
}
#past:after {
    background: #7768CE;
}
#schedule:after {
    background: #E91FA8;
}
#committee:after {
    background: #ED4E85;
}
#call:after {
    background: #F27D61;
}

.nav-item.selected:after,
.nav-item:hover:after {
	width: calc(100% - 12px);
}

.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: #e0e0e0;
    position: absolute;
    right: 50px;
    width: 255px;
    height: 40px;
    border-radius: 12px;
    z-index: 90;
    transform-origin: 100% 50%;
    transform: rotateX(90deg);
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    box-shadow: inset 4px 4px 8px #868686, inset -4px -4px 8px #ffffff;
}

.login-container form.open {
    transform: rotateX(0deg);
}

#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 {
    max-width: 60px;
    width: 100%;
    background: #212121;
    border: none;
    color: white;
    font-family: 'MuseoModerno', cursive;
    height: 20px;
    border-radius: 3px;
    margin: 5px;
    transition: all 0.3s;
    font-weight: bold;
}

#login:hover {
    background: white;
    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;
    border-radius: 30%;
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    /*border: 5px solid #e0e0e0;*/
    background: #e0e0e0;
    box-shadow: box-shadow: inset 0px 0px 0px #868686,
                inset 0px 0px 0px #ffffff,
                4px 4px 8px #bebebe,
                -4px -4px 8px #ffffff;
}

.login-icon:hover {
	cursor: pointer
}

.login-icon i {
    transform: scale(1);
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
	z-index: 1;
}

.login-icon:hover i{
    transform: scale(0.95);
}

.login-icon:before,
.login-icon:after {
    content: none;
}

#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: black !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    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 black;
}

#high-contrast-container:hover #high-contrast-tooltip {
    display: block;
}

#high-contrast-container i,
#help i,
#save i {
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    transform: scale(1);
}


#high-contrast-container:hover i,
#help:hover i,
#save:hover i {
    transform: scale(0.95);
}

#help,
#high-contrast,
#save {
    position: fixed;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    right: 60px;
    top: 5px;
    font-size: 26px;
    text-decoration: none;
    font-weight: normal;
    color: #212121;
    overflow: hidden;
    border-radius: 30%;
    background: #e0e0e0;
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    box-shadow: inset 0px 0px 0px #868686,
                inset 0px 0px 0px #ffffff,
                4px 4px 8px #bebebe,
                -4px -4px 8px #ffffff;
}

#help:hover,
#help:focus,
#high-contrast:hover,
#high-contrast:focus,
.login-icon:hover,
.login-icon:focus,
#save:hover,
#save:focus {
    outline: none;
    cursor: pointer;
    box-shadow: inset 4px 4px 8px #868686,
                inset -4px -4px 8px #ffffff,
                0px 0px 0px #bebebe,
                0px 0px 0px #ffffff;
}

#high-contrast {
    position: absolute;
    left: 0px;
    top: 0px;
}

#save {
    top: 5px;
    right: 110px;
    border: none;
}

#save i {
    z-index: 1;
}

.hiddenForm textarea {
	display: none;
}

table {
    border-collapse: collapse;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
    color: #212121;
    border-radius: 12px;
    background: #e0e0e0;
    position: relative;
    width: 100%;
}

table:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    box-shadow: inset 4px 4px 8px #868686,
                inset -4px -4px 8px #ffffff,
                0px 0px 0px #bebebe,
                0px 0px 0px #ffffff;
}

tr:nth-child(even) {
    background: #e0e0e0;
}

tr:nth-child(odd) {
    background: #cecece;
}

th {
    /*background: #F6AC3E;*/
    /*color: #212121;*/
    padding: 10px 20px;
    font-family: 'MuseoModerno', cursive;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

th:before {
    content: "";
    background: #F6AC3E;
    position: absolute;
    width: calc(100% - 20px);
    height: 20px;
    top: 13px;
    left: 10px;
    z-index: -1;
    border-radius: 10px;
    box-shadow: inset 2px 2px 4px #b9812f,
            inset -2px -2px 4px #ffd74e;
}

.body-database th:before {
    background: #05B0F4;
    box-shadow: inset 2px 2px 4px #0484b7,
            inset -2px -2px 4px #06dcff;
}

.body-archive th:before {
    background: #7768CE;
    box-shadow: inset 2px 2px 4px #594e9b,
            inset -2px -2px 4px #9582ff
}

.body-schedule th:before {
    background: #E91FA8;
    box-shadow: inset 2px 2px 4px #af177e,
            inset -2px -2px 4px #ff27d2
}

.body-committee th:before {
    background: #ED4E85;
    box-shadow: inset 2px 2px 4px #b23b64,
            inset -2px -2px 4px #ff62a6;
}

.body-cfp th:before {
    background: #F27D61;
    box-shadow: inset 2px 2px 4px #b65e49,
            inset -2px -2px 4px #ff9c79;
}

td {
    padding: 10px 20px;
}

.archive-organisers * {
    text-align: center;
}

.footer {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    font-size: 0.6em;
    color: #212121;
    font-weight: bold;
}

.footer:before {
    background: #e0e0e0;
    position: absolute;
    width: 100vw;
    height: 8px;
    content: "";
    display: block;
    left: 0;
    z-index: -1;
    margin-top: -30px;
    box-shadow: inset 1px 1px 2px #868686, inset -1px -1px 2px #ffffff;
}

.footer a {
    font-weight: normal;
    color: #F6AC3E;
}
.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: space-evenly;
    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 {
    background: #05B0F4;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    border-radius: 8px;
    color: #212121;
    padding: 0 20px;
    font-family: 'MuseoModerno', cursive;
    font-weight: initial;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.8em;
}

.tag.selected,
.year-tag.selected,
.dropdown-nav.selected {
    background: #ffffff;
    color: #212121;
}

.tag.selected:hover,
.year-tag.selected:hover,
.dropdown-nav.selected:hover {
    cursor: pointer;
    background: #f5f5f5;
    border-color: #05B0F4;
}

.tag:hover,
.year-tag:hover,
.clear-tags:hover,
.dropdown-nav:hover {
    cursor: pointer;
    color: #212121;
    background: white;
}

.document.hidden,
.document-accordion.hidden {
    display: none;
}

.document {
    position: relative;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #e0e0e0;
    box-shadow: inset 4px 4px 8px #868686,
                inset -4px -4px 8px #ffffff,
                0px 0px 0px #bebebe,
                0px 0px 0px #ffffff;
}

.document .year {
    position: absolute;
    position: absolute;
    top: 20px;
    right: 22px;
    font-family: 'MuseoModerno', cursive;
    font-size: 1em;
}

.document .title,
.document .authors {
    margin: 0;
    padding-right: 50px;
}

.document .title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 1.2em;
    text-transform: capitalize;
}

.document .authors {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 1em;
    text-transform: capitalize;
}

.read-more {
    background: #05B0F4;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    border-radius: 8px;
    color: #212121;
    padding: 0 20px;
    font-family: 'MuseoModerno', cursive;
    font-weight: initial;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.8em;
}

.read-more:hover {
    cursor: pointer;
    color: #212121;
    background: white;
}

.document-accordion {
    margin-top: 20px;
    font-size: 0.9em;
}

.label {
    display: none !important;
    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 {
    display: inline-block;
    font-family: monospace;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    background: #d0d0d0;
    box-shadow: inset 4px 4px 8px #868686, 
                inset -4px -4px 8px #ffffff, 
                0px 0px 0px #bebebe,
                0px 0px 0px #ffffff;
}

.pc img,
.organisers img {
    max-width: 250px;
    display: inline;
    float: left;
    margin-right: 10px;
}

.paper-download {
    position: absolute;
    right: 20px;
    top: 62px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    font-size: 26px;
    text-decoration: none;
    font-weight: normal;
    color: #212121;
    overflow: hidden;
    border-radius: 30%;
    background: #e0e0e0;
    border-top: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    box-shadow: inset 0px 0px 0px #868686, inset 0px 0px 0px #ffffff, 4px 4px 8px #bebebe, -4px -4px 8px #ffffff;
}

.paper-download:hover {
    outline: none;
    cursor: pointer;
    color: #212121;
    box-shadow: inset 4px 4px 8px #868686,
                inset -4px -4px 8px #ffffff,
                0px 0px 0px #bebebe,
                0px 0px 0px #ffffff;
}

.paper-download i {
    transition: all 0.3s cubic-bezier(.75,0,.35,1);
    transform: scale(1);
}

.paper-download:hover i {
    transform: scale(0.95);
}

@media only screen and (max-width: 1150px) {
    .nav-item li {
        letter-spacing: -1px;
    }
}

@media only screen and (max-width: 1070px) {
    .nav-item {
        font-size:  1.1em;
    }
}

@media only screen and (max-width: 1000px) {
    .nav-item {
        font-size:  1em;
    }
}

@media only screen and (max-width: 900px) {
    .outer-container {
        width: 100%;
    }
}


@media only screen and (max-width: 820px) {
    body.high-contrast-mode #save,
    body.high-contrast-mode #high-contrast,
    body.high-contrast-mode #help,
    body.high-contrast-mode .login-icon,
    body.high-contrast-mode .login-container form,
    body.high-contrast-mode .nav-item,
    body.high-contrast-mode .outer-container {
        border: unset;
    }

    body.high-contrast-mode #save,
    body.high-contrast-mode #high-contrast,
    body.high-contrast-mode #help,
    body.high-contrast-mode .login-icon,
    body.high-contrast-mode .login-container form,
    body.high-contrast-mode .outer-container {
        border: 1px solid black;
    }

    body.high-contrast-mode .nav-item{
        border-bottom: 1px solid black;
    }

    .outer-container{
        width: calc(100% - 20px);
        box-shadow: 4px 4px 8px #868686, -4px -4px 8px #ffffff;
        border-radius: 20px;
        overflow: hidden;
    }
    .header-title{
        height: 80px
    }

    .header-title h1 {
        margin-top: -10px;
    }

    .header-title h1:after{
        content: none;
    }

    .nav{
        padding: 0;
    }

    .nav-bar {
        height: 300px;
        width: 100%;
        flex-direction: column;
    }

    .nav-item:not(.login-icon) {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #ababab;
    }
    .login-icon{
        width: 40px;
    }

    .subtitle p{
        font-size: 1em;
        margin-top: -5px;
    }

    .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;
    }
    #help,
    #save,
    #high-contrast,
    .login-icon,
    .login-container {
        border: 1px solid #b7b7b7;
        box-shadow: none;
    }

    .footer {
        margin-top: 20px;
    }
}