#pycomfa      {border-color: #267b2b}
#pyalign      {border-color: #b92727}
#pygraph      {border-color: #800000}
#pyconfsearch {border-color: #2770b9}
#pymoledit    {border-color: #c7740e}
#pycombine    {border-color: #03a9f4}
#pyqsar       {border-color: #009688}
#pydocking    {border-color: #684fcc}
#pypdb        {border-color: #8b0968}
#pypharm      {border-color: #009688}
#pycomfa:hover      {background: rgba( 38, 123,  43, 0.50)}
#pyalign:hover      {background: rgba(185,  39,  39, 0.54)}
#pygraph:hover      {background: rgba(128,  0,  0, 0.54)}
#pyconfsearch:hover {background: rgba( 39, 112, 185, 0.40)}
#pymoledit:hover    {background: rgba(199, 116,  14, 0.50)}
#pycombine:hover    {background: rgba( 33, 150, 243, 0.50)}
#pyqsar:hover       {background: rgba(  0, 150, 136, 0.42)}
#pydocking:hover    {background: rgba(104,  79, 204, 0.42)}
#pypdb:hover        {background: rgba(139,   9, 104, 0.50)}
#pypharm:hover       {background: rgba(  0, 150, 136, 0.42)}

#apps_list {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

#apps_list a {
    position: relative;
    padding: 20px 0;     
    width: 30%;
    min-width: 150px;
    margin: 10px;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    /* background-color: rgba(255, 255, 255, 0.8); */
    transition: background-color .2s;
}

#apps_list a > * {
    width: 100%;
    margin-bottom: -7px;
}

.newapp::after{
    content:"NEW";
}
.closedapp::after{
    content:"SOON";
}

.closedapp::after, .newapp::after{
    position: absolute;
    bottom: 0px;
    right: 10px;
    color: #901313;
    font-size: 1rem;
    font-weight: bold;
}
#MainBanner {
    display: none;
    position: fixed;
    width: 600px;
    left: calc(50% - 300px);
    top: 15vh;

    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0px 3px 5px -0.5px black;
    font-size: 1.8rem;
}

#MainBanner h2 {
    font-size: 4.0rem;
}
#MainBanner p {
    text-align: center;
}
#MainBanner > article {
    margin: 30px;
}

#MainBanner #close_banner {
    position: absolute;
    top: 10px; right: 10px;
    cursor: pointer;
}
html {
    font-size: 67.5%;
    font-family: var(--font-simple);
    line-height: 1.2;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 1.6rem;
    line-height: 2.8rem;
}

* {box-sizing: border-box}
h2 {
    font-family: var(--font-highlight);
    line-height: initial;
}

ul { 
    list-style-type: none;
    padding: 0;
}
a {color: inherit}

span.agreeTaC {
    display: block;
    margin: 5px 0;
    line-height: 2rem;
    text-align: center;
}
.block {
    display: flex;
    position: relative;
    justify-items: center;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-dark-bkg);
    color: var(--clr-dark-fg);
    padding: 120px 50px;
}
.block.light_mode {
    --clr-dark-accent: var(--clr-light-accent);
    background-color: var(--clr-light-bkg);
    color: var(--clr-light-fg);
}
.block.light_mode .text,
.block.light_mode input
{
    --clr-dark-accent: var(--clr-light-accent);
    --clr-dark-fg: var(--clr-light-fg);
    --clr-dark-bkg: var(--clr-light-bkg);
}

.block:nth-child(3) { padding-bottom: 0; }
.block:nth-child(3)::before {
    background-color: transparent;
}

.block:nth-child(odd) {
    flex-direction: row-reverse;
}

/* A default block is preview+text */
.block > *:first-child {
    flex-basis: 45vw;
    /* background-color: var(--clr-dark-bkg); */
    max-width: 45vw;
    border-radius: 5px;
}


.block > article {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    margin: 70px 100px;
    border-radius: 5px;
}

.block h2 {
    font-size: 3.2rem;
}
.block p {
    max-width: 400px;
    margin: 30px 0 60px 0;
}


/* Decoration */
.block::before {
    content: '';
    position: absolute;
    top: 45px; left: 30vw;
    width: 40vw; height: 2px;
    background-color: var(--clr-dark-accent);
    border-radius: 5px;
}



@media (max-width: 1000px) {
    .block {
        flex-direction: column-reverse !important;
        padding: 70px 0;
    }
    .block > article {margin: 70px 60px}
    .block::before {
        top: 10px; left: 10vw;
        width: 80vw;
    }
    .block > *:first-child {
        flex-basis: initial;
        border-radius: 0;
        max-width: none;
        width: 90%;
    }
}

/* Block Text Only */
.block.block_text > *:first-child {
    flex-basis: initial;
    max-width: initial;

}
.block.block_text p {
    text-align: left;
    max-width: 800px;
    padding: 0 30px;
}
/* Form */
#contact_form {
    display: flex;
    flex-direction: column;
    padding: 50px;
    max-width: 500px;
    align-items: center;
    margin: 0 auto;
}

#contact_form > * {
    width: 100%;
    margin-bottom: 20px;
}

#contact_form #id_msg {
    height: 100px;
    font: inherit;
    resize: none;
}

#id_captcha > div { margin: 0 auto }
#contact_submit {width: 100px}

#contact_form .text {
    font-size: 1.4rem !important;
}

/* Team */
#team {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    padding: 100px 50px;
    background-color: var(--clr-dark-bkg);
    color: var(--clr-dark-fg);
    font-size: 1.4rem;
}
#team.light_mode {
    --clr-dark-accent: var(--clr-light-accent);
    background-color: var(--clr-light-bkg);
    color: var(--clr-light-fg);
}

#team > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    width: 300px;
    line-height: 2.0rem
}

#team > * > h2 {font-weight: normal}
#team > * > img {
    width: 170px;
    height: 170px;
    border-radius: 200px;
    border: 3px solid #cfcfcf;
}

#team > * > span {
    margin-top: -15px;
    font-style: italic;
}
#team > * > p {
    margin: 15px 0 0 0;
}

#team > * > span,
#team > * > p:last-child {
    opacity: 0.75;
    font-size: 1.3rem;
}
footer {
    color: var(--clr-dark-fg);
}
footer > section {
    padding: 3px;
    text-align: center;
}

footer a {
    color: inherit;
    text-decoration: none;
}

#ft_basics {
    background-color: var(--clr-alt-dark-bkg);
    font-size: 1.2rem;
}
#ft_basics > *{
    margin: 0 10px;
}
.form_block {
    display: flex;
    height: 100vh;
    text-align: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--clr-dark-bkg);
    color: var(--clr-dark-fg);
    padding: 150px 40px;
    overflow-y: auto;
}

.form_block.light_mode {
    --clr-dark-accent: var(--clr-light-accent);
    background-color: var(--clr-light-bkg);
    color: var(--clr-light-fg);
}

.form_block.light_mode .text,
.form_block.light_mode input
{
    --clr-dark-accent: var(--clr-light-accent);
    --clr-dark-fg: var(--clr-light-fg);
    --clr-dark-bkg: var(--clr-light-bkg);
}

.form_block h2 {
    font-size: 4.0rem;
    margin: 0
}

.form_block form {
    padding: 20px 0;
    max-width: 300px;
}

.form_block form > * {
    width: 100%;
    margin: 10px 0;
}

.form_block .f50 {
    width: calc(50% - 3px);
}

.form_block input[type=submit] {
    padding: 12px 40px;
    margin: 50px;
    width: initial;
}
header {
    position: fixed;
    display: flex;
    align-items: center;
    color: var(--clr-dark-fg);
    font-size: 0.8rem;
    top: 0;
    width: 100vw;
    padding: 12px 25px;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    transition: all .5s;
}

#logo {
    width: 140px;
    margin-right: 25px;
}


h1 {
    font-weight: initial;
    opacity: 0.8;
    display: none;
}

nav {
    margin-left: auto;
}

nav.open {
    visibility: visible; 
    opacity: 0.97;
}

nav > ul {
    display: flex;
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
}
nav > ul > li {
    margin-right: 7px;
    cursor: pointer;
    min-width: 80px;
}
nav > ul > li > a {
    color: inherit;
    text-decoration: none;
    padding: 10px 12px;
}
nav > ul > li.selected {
    border-bottom: solid 3px var(--clr-dark-accent);
}
nav > ul > li.selected:hover:after {transform: none}


@media (max-width: 950px) {
    nav {
        visibility: hidden;
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--clr-dark-bkg);
        opacity: 0;
        transition: all .2s;
        overflow-y: auto;
    }

    header.scrolled.light_mode nav {
        background-color: var(--clr-light-bkg);
    }


    nav > ul {
        flex-direction: column;
        width: 130px;
        margin: 120px auto;
    }
    nav > ul > li {
        padding: 20px 0; 
        margin: 20px 0;
    }
    .menu_btn {
        display: flex !important;
    }
}


/* After scroll */
header.scrolled {
    background-color: var(--clr-dark-bkg);
    color: var(--clr-dark-fg);
    padding: 0 25px;
    border-bottom: 2px solid #555;
}


/* Light Mode */
header.light_mode.scrolled {
    background-color: var(--clr-light-bkg);
    color: var(--clr-light-fg);
    border-color: transparent;
    box-shadow: 0 2px 3px 1px #bbb;
}

header.scrolled.light_mode .menu_btn_icon,
header.scrolled.light_mode .menu_btn_icon::before,
header.scrolled.light_mode .menu_btn_icon::after {
    background-color: var(--clr-light-fg);
}
input[type=button],
.button {
    display: inline-block;
    border: 1px solid var(--clr-dark-accent);
    /* background-color: var(--clr-dark-accent); */
    background-color: transparent;
    color: var(--clr-dark-accent);
    border-radius: 2px;
    padding: 8px 20px;
    text-align: center;
    font-size: 1.8rem;
    outline: none;
    min-width: 130px;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
}

/* input[type=button].empty, */
/* .button.empty { */
/*     background-color: transparent; */
/*     border-color: var(--clr-dark-accent); */
/*     color: var(--clr-dark-accent); */
/* } */

input[type=button]:hover,
.button:hover {
    background-color: var(--clr-dark-accent);
    color: var(--clr-alt-dark-fg);
}

input[type=button]:disabled,
.button:disabled {
    background-color: var(--clr-alt-dark-bkg);
    border: 1px solid var(--fg-clr);
    cursor: not-allowed;
}




input[type=text],
.text {
    padding: 8px 15px; 
    border: 1px solid var(--clr-dark-accent);
    background-color: transparent;
    color: var(--clr-dark-fg);
    outline: none;
    min-width: 100px;
    border-radius: 20px;
    transition: all .2s;
}

input[type=text]:hover,
.text:hover {
    background-color: var(--clr-dark-accent);
}

input[type=text]:focus,
.text:focus {
    background-color: var(--clr-dark-bkg);
	/* box-shadow: var(--main-shadow); */
}

input[type=text]:disabled,
.text:disabled {
    background-color: var(--clr-alt-dark-bkg);
    color: var(--clr-alt-dark-fg);
    cursor: not-allowed;
}




input[type=checkbox] {
    -webkit-appearance: none;
    height: 2rem;
    width: 2rem;
    vertical-align: middle;
    background-color: transparent;
    border: 1.5px solid var(--clr-dark-accent);
    border-radius: 5px;
    margin-left: 7px;
    outline: none;
    cursor: pointer;
    transition: all .15s;
}
input[type=checkbox]:checked {
    background-color: var(--clr-dark-accent);
    box-shadow: inset 0 0 0 2px white;
}
.line-animation > * {position: relative}
.line-animation > *:after {
    position: absolute;
    content: "";
    display: block;
    bottom: 0;
    left: 0;
    height: 2px;
    line-height: 1;
    width: 100%;
    background-color: var(--clr-dark-accent);
    transform-origin: right bottom;
    transform: scaleX(0);
    transition: transform 0.15s linear;
}
.line-animation > *:hover:after,
.line-animation > *:active:after {
    transform: scaleX(1);
    transform-origin: left bottom;
    transition: transform 0.15s linear;
}
/* Menu Icon */
.menu_btn {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    cursor: pointer;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
}

.menu_btn_icon,
.menu_btn_icon::before,
.menu_btn_icon::after {
    background-color: var(--clr-dark-fg);
    width: 35px; height: 4px;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}

.menu_btn_icon::before,
.menu_btn_icon::after {
    content: '';
    position: absolute;
}
.menu_btn_icon::before {transform: translateY(-10px)}
.menu_btn_icon::after {transform: translateY(10px)}


/* Menu Button Animation */
.menu_btn.open .menu_btn_icon {
  transform: translateX(-50px);
  background: transparent !important;
  box-shadow: none;
}
.menu_btn.open .menu_btn_icon::before {
  transform: rotate(45deg) translate(35px, -35px);
}
.menu_btn.open .menu_btn_icon::after {
  transform: rotate(-45deg) translate(35px, 35px);
}
.message {
    position: fixed;
    bottom: 20px; right: 20px;
    border-radius: 5px;
    box-shadow: var(--main-shadow);
    background-color: #f5f5f5;
    height: 150px;
    min-width: 350px;
    max-width: 400px;
    max-height: 150px;
    text-align: center;
    z-index: 1001;
    transition: bottom 0.3s;
}

.message > .msg_area {
    box-sizing: border-box;
    padding: 20px 20px 20px 60px;
    padding-bottom: 0;
    height: calc(100% - 50px);
    font-size: 17px;
    line-height: 2.0rem;
    overflow-y: auto;
}

.message > .buttons_area {
    padding: 5px;
}

.message > .buttons_area > input {
    background-color: transparent;
    border: 0;
    color: teal;
}
.message > .buttons_area > input:hover {
    background-color: initial;
    color: teal;
    opacity: 0.5;
}

.message > .icon {
    position: absolute;
    width: 55px;
    top: 0px; left: 5px;
    padding: 15px;
}

.message.simple > .buttons_area { display: none}
.message.simple > .msg_area { height: 100%; padding-bottom: 20px }
.message.error {background-color: #faefef}


#blocker {
    position: fixed;
    width: 100vw; height: 100vh;
    top: 0; left: 0;
    background-color: black;
    opacity: 0;
    z-index: 1000;
}


#presentation {
    position: relative;
    background-image: url('/static/resources/front/wallpaper.jpg');
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    border-bottom: 3px solid var(--clr-light-accent);
    color: var(--clr-dark-fg);
}

#presentation > * {
    position: absolute;
    width: 100%;    
    text-align: center;
}
#presentation > h2 {
    top: 10vh;
    padding: 30px;
    font-size: 5vw;
    font-weight: normal;
}
#presentation #rcmd_logo {
    display: block;
    margin: 0 auto;
    width: 500px;
}

#presentation > #buttons {
    bottom: 100px;
}
#presentation #buttons > * {
    padding: 10px 30px;
}

@media (max-width: 900px) {
    #presentation { height: calc(100vh - 55px) }
    #presentation > h2 {
        top: 20vh;
        font-size: 8vw;
    }
    #presentation #rcmd_logo {width: 300px}
}

/* Minified Version */
#presentation.mini {height: 25vh}
#presentation.mini > * { display: none !important; }
#refs_list {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    padding: 50px 0;
    /* justify-content: space-evenly; */
}

#refs_list > * {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    padding-right: 30px;
}
#refs_list > *:first-child {padding-left: 30px}

#refs_list a {
    text-decoration: none;
    color: inherit;
    font-size: 1.3rem;
    line-height: 2rem;
}

#refs_list img {
    max-height: 300px;
    margin: 20px auto;
    padding: 10px;
    background-color: white;
    border-radius: 2px;
}

#refs_list > * > span:nth-child(2) { font-weight: bold; }
#refs_list > * > span:nth-child(3) { font-size: 1.2rem; }

/*************************/
#ext_refs_list {
    padding: 70px;
    line-height: 2rem;
    overflow-y: auto;
    max-height: 450px;
}

#ext_refs_list > a {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}
#ext_refs_list > * > span {
    display: block;
    margin-bottom: 5px;
}
#ext_refs_list > * > span:nth-child(1) {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--clr-dark-accent);
}
#ext_refs_list > * > span:nth-child(2) {
    font-size: 1.3rem;
}
#ext_refs_list > * > span:nth-child(3) {
    font-size: 1.3rem;
    opacity: 0.7;
}


:root {
    /* --clr-dark-accent:   #6ba0cf; */
    /* --clr-light-accent:  #427886; */
    --clr-dark-accent:   #62cb8f;
    --clr-light-accent:  #007c46;


    --clr-dark-bkg:      #1b1b1b;
    --clr-light-bkg:     white;
    --clr-dark-fg:       #cfcfcf;
    --clr-light-fg:      black;
    --clr-alt-dark-bkg:  #333;
    --clr-alt-light-bkg: #cfcfcf;
    --clr-alt-dark-fg:   white;
    --clr-alt-light-fg:  #cfcfcf;

    --font-highlight: "Zilla Slab", serif;
    --font-simple: "Helvetica", arial;
    --main-shadow: 0 2px 5px -2px #777;
}

